:root{--navy:#071426;--navy2:#0e223b;--gold:#c99a3d;--gold2:#e8c36a;--cream:#f7f3ea;--paper:#fffdfa;--ink:#0a1525;--muted:#657083;--line:#e2e5e9;--green:#267a5b;--danger:#9b3434}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:linear-gradient(180deg,#f7f3ea,#fffdfa);color:var(--ink);font:15px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}.shell{display:grid;grid-template-columns:270px 1fr;min-height:100vh}.side{position:sticky;top:0;height:100vh;background:radial-gradient(circle at 30% 5%,#153c61,var(--navy) 40%,#030d17);color:#fff;padding:28px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-weight:950;letter-spacing:.09em}.mark{width:46px;height:46px;border-radius:50%;border:3px solid var(--gold2);display:grid;place-items:center;color:var(--gold2);font-size:26px;font-weight:1000;background:radial-gradient(circle at 35% 28%,#15334f,var(--navy));box-shadow:0 0 0 2px #071426,0 0 20px #d7a84a22}.tagline{font-size:27px;font-weight:900;line-height:1.05;margin:34px 0;color:#fff}.side nav{display:grid;gap:7px}.side nav a{color:#bdc9d3;text-decoration:none;padding:11px 12px;border-radius:11px}.side nav a:hover{background:#ffffff10;color:#fff}.sidefoot{margin-top:auto;display:flex;gap:7px;flex-wrap:wrap}.main{padding:38px clamp(18px,4vw,60px);max-width:1400px;width:100%}.top{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.eyebrow,.kicker{color:#a46d20;font-weight:900;letter-spacing:.15em;font-size:11px}.top h1{font-size:clamp(38px,5vw,62px);line-height:.98;letter-spacing:-.045em;margin:6px 0}.top p{color:var(--muted);font-size:18px;margin:0}.card{background:#fff;border:1px solid var(--line);border-radius:23px;padding:24px;box-shadow:0 16px 50px #0714260b;margin-bottom:18px}.heroCard{border-top:4px solid var(--gold)}.cardhead{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.card h2{font-size:26px;letter-spacing:-.03em;margin:3px 0}.badge,.pill{display:inline-flex;padding:7px 10px;border-radius:999px;background:#eef2f5;color:#4c5868;font-size:12px;font-weight:800}.pill.ok{background:#e9f7ef;color:var(--green)}.pill.warn{background:#fff0d5;color:#94651a}.timeline{display:grid}.event,.task{display:grid;grid-template-columns:74px 1fr;gap:12px;padding:13px 4px;border-bottom:1px solid #edf0f2}.time{color:var(--green);font-weight:900}.tag{color:var(--muted);font-size:12px}.empty{padding:22px;color:var(--muted);background:#faf9f6;border-radius:14px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.stack{display:grid;gap:10px;margin:14px 0}.source{background:#faf9f6;border:1px solid #ece7dd;border-radius:15px;padding:14px}.sourceGrid,.two,.settingsGrid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.settingsGrid{grid-template-columns:repeat(4,1fr);margin:12px 0}.toggle,.toggles label{display:flex;align-items:center;justify-content:space-between;gap:16px}.toggles{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:12px 0}.toggles label{background:#faf9f6;padding:14px;border-radius:14px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:13px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 17px;border:1px solid transparent;border-radius:13px;font-weight:900;cursor:pointer;text-decoration:none}.gold{background:linear-gradient(135deg,#f0cc72,#c99636);color:#071426}.ghost{background:#fff;border-color:#d9dee5;color:#071426}.full{width:100%;margin-top:10px}.file{position:relative}label{display:grid;gap:5px;color:#556170;font-size:12px;font-weight:800}input,select{width:100%;min-height:46px;border:1px solid #d6dce2;border-radius:11px;padding:0 11px;background:#fff;color:#111;font:14px inherit}input[type=range]{padding:0}input[type=checkbox]{width:auto;min-height:auto;accent-color:var(--gold)}.muted{color:var(--muted)}.status{display:flex;gap:7px;flex-wrap:wrap}footer{text-align:center;color:#8a94a0;padding:20px}.headrow{display:flex}.side .pill{background:#ffffff10;color:#cbd5df}@media(max-width:980px){.shell{grid-template-columns:1fr}.side{position:relative;height:auto;display:block}.side nav{display:flex;overflow:auto;margin-top:20px}.side nav a{white-space:nowrap}.sidefoot{margin-top:20px}.main{padding:24px 16px}.settingsGrid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.top{align-items:flex-start;flex-direction:column}.top .btn{width:100%}.grid,.settingsGrid,.sourceGrid,.two,.toggles{grid-template-columns:1fr}.card{padding:18px;border-radius:18px}.side{padding:20px 16px}.tagline{font-size:22px;margin:20px 0 8px}}
.providerGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.providerCard{appearance:none;width:100%;border:1px solid #e1e5e9;background:linear-gradient(180deg,#fff,#fbfaf7);border-radius:18px;padding:16px;display:grid;grid-template-columns:48px 1fr 24px;align-items:center;gap:13px;text-align:left;color:var(--ink);cursor:pointer;box-shadow:0 8px 24px #07142608;transition:.18s transform,.18s border-color,.18s box-shadow}
.providerCard:hover{transform:translateY(-1px);border-color:#d6af61;box-shadow:0 12px 30px #07142610}
.providerCard strong{display:block;font-size:15px}.providerCard small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.providerIcon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;font-size:20px;font-weight:950;background:#eef2f5;color:#071426}
.providerIcon.google{background:#fff3d6;color:#a66c16}.providerIcon.microsoft{background:#eaf3ff;color:#195ca8}.providerIcon.icloud{background:#eef5ff;color:#60718a}.providerIcon.device{background:#edf7f2;color:#267a5b}
.providerArrow{font-size:28px;color:#9aa4af;text-align:right}.providerMessage{margin:10px 0 14px;padding:14px 16px;border-radius:14px;background:#fff7e5;border:1px solid #eed8a7;color:#6f5421}
.advancedConnect{margin-top:18px;border-top:1px solid #ece8df;padding-top:14px}.advancedConnect summary{cursor:pointer;font-weight:850;color:#576274}
@media(max-width:650px){.providerGrid{grid-template-columns:1fr}}

.smartGuide{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;margin:12px 0 16px;border-radius:18px;background:linear-gradient(135deg,#0b2037,#133b60);color:#fff;border:1px solid #d6ad5d55;box-shadow:0 14px 34px #07142618}
.smartGuide>div{display:grid;gap:3px}.smartGuide strong{font-size:16px}.smartGuide small{color:#cad5df}.smartEyebrow{font-size:10px;letter-spacing:.15em;font-weight:900;color:#e8c36a}
.providerCard.recommended{border-color:#d1a449;box-shadow:0 0 0 2px #d8ad5740,0 16px 36px #07142612;position:relative}
.providerCard.recommended:after{content:"Consigliato";position:absolute;top:8px;right:36px;font-size:9px;letter-spacing:.08em;font-weight:900;text-transform:uppercase;color:#8d621d;background:#fff2cf;padding:4px 7px;border-radius:999px}
.providerCard.connected{border-color:#69a98d;background:linear-gradient(180deg,#fff,#f4fbf7)}
@media(max-width:650px){.smartGuide{align-items:stretch;flex-direction:column}.smartGuide .btn{width:100%}}

[hidden]{display:none!important}

.agendaCard{overflow:hidden}
.agendaHead{margin-bottom:8px}
.agendaToolbar,.agendaPeriodRow{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.segmented{display:inline-flex;border:1px solid #d9dee5;border-radius:14px;padding:4px;background:#f8f9fa;gap:4px}
.seg{border:0;background:transparent;color:#596579;min-height:40px;padding:0 14px;border-radius:10px;font-weight:850;cursor:pointer}
.seg.active{background:#071426;color:#fff}
.agendaNav{display:flex;gap:8px}.compact{min-width:44px;padding:0 12px}
.agendaPeriodRow{margin:18px 0 14px;padding:14px 0;border-top:1px solid #edf0f2;border-bottom:1px solid #edf0f2}
.agendaPeriodRow strong{font-size:18px}
.agendaVisual{margin-bottom:14px}
.agendaList{display:grid;gap:10px}
.agendaGroup{border:1px solid #e5e8ec;border-radius:16px;overflow:hidden;background:#fff}
.agendaGroupHead{display:flex;justify-content:space-between;align-items:center;padding:11px 14px;background:#faf9f6;border-bottom:1px solid #eceff1}
.agendaGroupHead strong{font-size:14px}.agendaGroupHead span{font-size:12px;color:var(--muted)}
.agendaItem{display:grid;grid-template-columns:74px 1fr auto;gap:12px;align-items:start;padding:13px 14px;border-bottom:1px solid #eef1f3}
.agendaItem:last-child{border-bottom:0}.agendaItemTime{font-weight:900;color:var(--green);font-variant-numeric:tabular-nums}
.agendaItemTitle{font-weight:850}.agendaItemMeta{font-size:12px;color:var(--muted);margin-top:2px}
.agendaItemKind{font-size:10px;padding:4px 7px;border-radius:999px;background:#eef2f5;color:#596579;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.monthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.monthDow{text-align:center;font-size:10px;font-weight:900;color:#7b8793;text-transform:uppercase;padding:5px 0}
.monthCell{min-height:86px;border:1px solid #e6e8eb;border-radius:13px;padding:8px;background:#fff;cursor:pointer;text-align:left}
.monthCell.out{opacity:.35}.monthCell.today{border-color:#c99a3d;box-shadow:0 0 0 1px #c99a3d inset}.monthCell.selected{background:#fff7e5;border-color:#d3aa58}
.monthNum{font-size:12px;font-weight:900}.monthDots{display:flex;gap:3px;flex-wrap:wrap;margin-top:8px}.monthDot{width:6px;height:6px;border-radius:50%;background:#267a5b}.monthMore{font-size:9px;color:#8b96a1;margin-top:5px}
.weekStrip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
.weekDay{border:1px solid #e3e6ea;border-radius:13px;padding:10px;text-align:center;background:#fff;cursor:pointer}.weekDay strong{display:block;font-size:18px}.weekDay span{display:block;font-size:10px;color:#7c8792;text-transform:uppercase}.weekDay.today{border-color:#c99a3d}.weekDay.selected{background:#fff7e5;border-color:#d3aa58}.weekDay b{display:block;margin-top:5px;font-size:10px;color:#267a5b}
.voicePlayer{position:sticky;bottom:12px;z-index:30;margin:18px 0;background:linear-gradient(135deg,#071426,#113556);color:#fff;border:1px solid #d7ad5d55;border-radius:19px;padding:15px 16px;box-shadow:0 18px 50px #0005}
.voicePlayerTop{display:flex;align-items:center;justify-content:space-between;gap:12px}.voicePlayerText{display:grid;gap:2px}.voicePlayerText small{color:#c9d5df}
.voicePlayerControls{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.playerIcon,.playerMain,.playerAction{border:1px solid #ffffff25;background:#ffffff0d;color:#fff;border-radius:12px;min-height:44px;padding:0 14px;font-weight:850;cursor:pointer}.playerMain{background:linear-gradient(135deg,#f0cc72,#c99636);color:#071426;border:0}.playerAction:hover,.playerIcon:hover{background:#ffffff18}
.voiceProgressTrack{height:5px;border-radius:99px;background:#ffffff1a;margin-top:12px;overflow:hidden}.voiceProgressTrack span{display:block;height:100%;width:0;background:#e8c36a;transition:width .2s ease}
@media(max-width:760px){.agendaItem{grid-template-columns:58px 1fr}.agendaItemKind{grid-column:2}.monthCell{min-height:65px;padding:6px}.weekStrip{grid-template-columns:repeat(4,1fr)}}
@media(max-width:520px){.agendaToolbar,.agendaPeriodRow{align-items:stretch;flex-direction:column}.segmented,.agendaNav,.agendaListenActions{width:100%}.seg{flex:1}.agendaListenActions .btn{flex:1}.monthGrid{gap:3px}.monthCell{min-height:54px;border-radius:9px}.monthDow{font-size:8px}.voicePlayerControls{display:grid;grid-template-columns:repeat(2,1fr)}.playerIcon,.playerMain,.playerAction{width:100%}}

.voiceProfiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:10px 0 12px}
.voiceProfile{appearance:none;border:1px solid #dfe3e8;background:linear-gradient(180deg,#fff,#fbfaf7);border-radius:16px;padding:15px;text-align:left;cursor:pointer;color:var(--ink);min-height:108px;display:grid;align-content:start;gap:4px;transition:.18s transform,.18s border-color,.18s box-shadow}
.voiceProfile:hover{transform:translateY(-1px);border-color:#d5ad5c;box-shadow:0 10px 28px #0714260d}
.voiceProfile.active{border-color:#c99a3d;background:#fff7e5;box-shadow:0 0 0 2px #c99a3d28}
.voiceProfile strong{font-size:16px}.voiceProfile small{color:var(--muted);min-height:36px}.voiceProfile span{color:#8c621c;font-size:11px;font-weight:900;margin-top:4px}
@media(max-width:980px){.voiceProfiles{grid-template-columns:repeat(3,1fr)}}@media(max-width:650px){.voiceProfiles{grid-template-columns:1fr 1fr}}

/* Delancar Compact UI 4.1.1 */
:root{--compact-gap:10px}
body{font-size:14px;line-height:1.42}
.shell{grid-template-columns:224px 1fr}
.side{padding:18px 14px}
.brand{gap:9px;font-size:13px}
.mark{width:38px;height:38px;border-width:2px;font-size:21px}
.tagline{font-size:20px;line-height:1.08;margin:20px 2px 14px}
.side nav{gap:3px}
.side nav a{padding:8px 9px;border-radius:9px;font-size:13px}
.sidefoot{gap:5px}.side .pill{padding:5px 8px;font-size:10px}
.main{padding:22px clamp(14px,2.6vw,34px);max-width:1520px}
.top{margin-bottom:15px;gap:14px;align-items:center}
.top h1{font-size:clamp(30px,3.7vw,46px);margin:3px 0}
.top p{font-size:14px}
.eyebrow,.kicker{font-size:9px;letter-spacing:.13em}
.card{border-radius:16px;padding:16px;box-shadow:0 8px 28px #07142608;margin-bottom:11px}
.heroCard{border-top-width:3px}
.cardhead{gap:10px;margin-bottom:9px}
.card h2{font-size:20px;margin:1px 0}
.badge,.pill{padding:5px 8px;font-size:10px}
.grid{gap:11px}
.stack{gap:7px;margin:8px 0}
.source{border-radius:11px;padding:10px}
.sourceGrid,.two,.settingsGrid{gap:8px}
.settingsGrid{margin:8px 0;grid-template-columns:repeat(4,minmax(0,1fr))}
.toggles{gap:7px;margin:8px 0}
.toggles label{padding:9px;border-radius:10px}
.actions{gap:7px;margin-top:8px}
.btn{min-height:38px;padding:0 12px;border-radius:10px;font-size:12px}
input,select{min-height:39px;border-radius:9px;padding:0 9px;font-size:13px}
.event,.task{grid-template-columns:62px 1fr;gap:9px;padding:8px 3px}
.tag{font-size:11px}
.empty{padding:13px;border-radius:10px}
.providerGrid{gap:8px;margin:10px 0}
.providerCard{border-radius:13px;padding:10px;grid-template-columns:38px 1fr 18px;gap:9px}
.providerCard strong{font-size:13px}.providerCard small{font-size:10px}
.providerIcon{width:38px;height:38px;border-radius:10px;font-size:17px}
.providerArrow{font-size:22px}
.providerMessage{margin:7px 0 9px;padding:10px 12px;border-radius:10px;font-size:12px}
.smartGuide{gap:12px;padding:11px 12px;margin:7px 0 10px;border-radius:13px}
.smartGuide strong{font-size:14px}.smartGuide small{font-size:11px}
.smartEyebrow{font-size:8px}
.agendaToolbar,.agendaPeriodRow{gap:8px}
.segmented{border-radius:11px;padding:3px;gap:2px}
.seg{min-height:34px;padding:0 10px;border-radius:8px;font-size:11px}
.agendaNav{gap:5px}.compact{min-width:36px;padding:0 9px}
.agendaPeriodRow{margin:10px 0 9px;padding:9px 0}
.agendaPeriodRow strong{font-size:15px}
.agendaList{gap:7px}
.agendaGroup{border-radius:11px}
.agendaGroupHead{padding:8px 10px}
.agendaGroupHead strong{font-size:12px}.agendaGroupHead span{font-size:10px}
.agendaItem{grid-template-columns:58px 1fr auto;gap:8px;padding:8px 10px}
.agendaItemTime{font-size:12px}
.agendaItemTitle{font-size:13px}
.agendaItemMeta{font-size:10px;margin-top:1px}
.agendaItemKind{font-size:8px;padding:3px 5px}
.monthGrid{gap:3px}
.monthDow{font-size:8px;padding:3px 0}
.monthCell{min-height:60px;border-radius:9px;padding:5px}
.monthNum{font-size:10px}.monthDots{gap:2px;margin-top:5px}.monthDot{width:5px;height:5px}.monthMore{font-size:8px;margin-top:3px}
.weekStrip{gap:4px}
.weekDay{border-radius:9px;padding:7px 4px}.weekDay strong{font-size:15px}.weekDay span,.weekDay b{font-size:8px}
.voicePlayer{bottom:7px;margin:9px 0;border-radius:14px;padding:10px 11px}
.voicePlayerControls{gap:5px;margin-top:8px}
.playerIcon,.playerMain,.playerAction{min-height:36px;padding:0 10px;border-radius:9px;font-size:11px}
.voiceProgressTrack{height:4px;margin-top:8px}
.voiceProfiles{gap:7px;margin:7px 0 8px}
.voiceProfile{border-radius:11px;padding:10px;min-height:78px;gap:2px}
.voiceProfile strong{font-size:13px}.voiceProfile small{font-size:10px;min-height:28px}.voiceProfile span{font-size:9px;margin-top:2px}
footer{padding:12px;font-size:10px}
@media(max-width:1100px){.shell{grid-template-columns:196px 1fr}.main{padding:18px 12px}.settingsGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){
  .shell{grid-template-columns:1fr}
  .side{position:sticky;z-index:40;height:auto;top:0;padding:8px 10px;display:grid;grid-template-columns:auto 1fr;align-items:center;border-bottom:1px solid #ffffff14}
  .side .tagline,.sidefoot{display:none}
  .side nav{margin:0 0 0 8px;display:flex;gap:2px;overflow-x:auto;scrollbar-width:none}
  .side nav::-webkit-scrollbar{display:none}
  .side nav a{padding:7px 8px;font-size:11px}
  .mark{width:32px;height:32px;font-size:18px}
  .main{padding:12px 9px}
  .top{align-items:center;flex-direction:row;margin-bottom:9px}
  .top h1{font-size:27px}.top p{font-size:12px}.top .btn{width:auto}
  .grid{grid-template-columns:1fr}
  .card{padding:12px;border-radius:13px;margin-bottom:8px}
  .card h2{font-size:18px}
  .providerGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .voiceProfiles{grid-template-columns:repeat(5,minmax(108px,1fr));overflow-x:auto;padding-bottom:3px}
  .voiceProfile{min-width:108px}
}
@media(max-width:560px){
  body{font-size:13px}
  .side{grid-template-columns:auto 1fr}.brand span:last-child{display:none}
  .main{padding:9px 7px}
  .top h1{font-size:23px}.eyebrow{font-size:8px}
  .top .btn{min-height:35px;padding:0 9px;font-size:10px}
  .card{padding:10px}
  .cardhead{align-items:flex-start}.card h2{font-size:17px}
  .providerGrid{grid-template-columns:1fr 1fr;gap:6px}
  .providerCard{grid-template-columns:32px 1fr 12px;padding:8px;gap:6px}.providerIcon{width:32px;height:32px;font-size:15px}
  .providerCard strong{font-size:11px}.providerCard small{font-size:9px}
  .settingsGrid,.sourceGrid,.two,.toggles{grid-template-columns:1fr 1fr}
  .agendaToolbar,.agendaPeriodRow{align-items:stretch;flex-direction:row}
  .agendaToolbar{flex-wrap:wrap}.segmented{flex:1}.agendaNav{flex:0 0 auto}
  .agendaListenActions{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .agendaItem{grid-template-columns:50px 1fr;gap:6px;padding:7px 8px}.agendaItemKind{grid-column:2}
  .monthCell{min-height:48px;padding:4px}.monthDots{margin-top:3px}
  .weekStrip{grid-template-columns:repeat(7,minmax(42px,1fr));overflow-x:auto}
  .voicePlayerControls{display:grid;grid-template-columns:repeat(3,1fr)}
}
@media(max-width:390px){
  .settingsGrid,.sourceGrid,.two,.toggles{grid-template-columns:1fr}
  .providerGrid{grid-template-columns:1fr}
  .agendaToolbar,.agendaPeriodRow{flex-direction:column}
  .voicePlayerControls{grid-template-columns:repeat(2,1fr)}
}

/* Delancar compact density pass */
.shell{grid-template-columns:220px 1fr}
.side{padding:20px 16px}
.mark{width:40px;height:40px;font-size:22px}
.tagline{font-size:22px;margin:24px 0 14px}
.side nav{gap:3px}.side nav a{padding:8px 10px;border-radius:9px;font-size:13px}
.main{padding:24px clamp(14px,2.4vw,34px);max-width:1560px}
.top{margin-bottom:18px}.top h1{font-size:clamp(34px,4vw,48px)}.top p{font-size:15px}
.card{border-radius:17px;padding:17px;margin-bottom:12px;box-shadow:0 9px 28px #07142608}
.cardhead{margin-bottom:9px}.card h2{font-size:21px}.eyebrow,.kicker{font-size:9px}
.grid{gap:12px}.stack{gap:7px;margin:9px 0}
.btn{min-height:40px;padding:0 13px;border-radius:10px;font-size:13px}
input,select{min-height:40px;border-radius:9px;font-size:13px}
.badge,.pill{padding:5px 8px;font-size:10px}
.source{padding:10px;border-radius:11px}.actions{gap:7px;margin-top:9px}
.providerGrid{gap:8px;margin:11px 0}.providerCard{border-radius:13px;padding:11px;grid-template-columns:38px 1fr 18px;gap:9px}
.providerIcon{width:38px;height:38px;border-radius:10px;font-size:16px}.providerCard strong{font-size:13px}.providerCard small{font-size:10px}.providerArrow{font-size:21px}
.smartGuide{padding:11px 13px;margin:8px 0 10px;border-radius:13px}.smartGuide strong{font-size:14px}.smartGuide small{font-size:11px}
.agendaToolbar,.agendaPeriodRow{gap:9px}.segmented{border-radius:11px;padding:3px}.seg{min-height:34px;padding:0 11px;border-radius:8px;font-size:12px}
.agendaPeriodRow{margin:11px 0 9px;padding:9px 0}.agendaPeriodRow strong{font-size:16px}
.agendaList{gap:7px}.agendaGroup{border-radius:11px}.agendaGroupHead{padding:8px 10px}.agendaItem{grid-template-columns:62px 1fr auto;gap:9px;padding:9px 10px}
.agendaItemTitle{font-size:13px}.agendaItemMeta{font-size:10px}.agendaItemKind{font-size:8px;padding:3px 5px}
.monthGrid{gap:4px}.monthCell{min-height:66px;border-radius:9px;padding:6px}.weekStrip{gap:4px}.weekDay{padding:7px;border-radius:9px}
.voiceProfiles{gap:7px;margin:7px 0 9px}.voiceProfile{border-radius:12px;padding:10px;min-height:82px}.voiceProfile strong{font-size:14px}.voiceProfile small{min-height:28px;font-size:10px}.voiceProfile span{font-size:9px}
.voicePlayer{bottom:8px;margin:10px 0;border-radius:14px;padding:10px 12px}.voicePlayerControls{gap:6px;margin-top:8px}.playerIcon,.playerMain,.playerAction{min-height:38px;padding:0 11px;border-radius:9px;font-size:12px}
.externalConnect{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(280px,1.7fr);gap:8px}
.urlConnect{display:grid;grid-template-columns:1fr auto;gap:6px}.pasteBtn{min-width:78px}
.inlineStatus{margin-top:7px;padding:8px 10px;border-radius:9px;background:#eef3f7;color:#425165;font-size:11px;font-weight:700}
.inlineStatus[data-type="ok"]{background:#eaf7ef;color:#267a5b}.inlineStatus[data-type="warn"]{background:#fff5df;color:#8a621f}.inlineStatus[data-type="error"]{background:#fff0ef;color:#9b3434}
.compactHelp{margin:6px 0 8px;font-size:11px}.compactActions{margin-top:7px}
.advancedConnect{margin-top:12px;padding-top:10px}.advancedConnect summary{font-size:13px}
@media(max-width:980px){.shell{grid-template-columns:190px 1fr}.main{padding:18px 12px}.side{padding:16px 12px}.tagline{font-size:18px}.side nav a{font-size:12px;padding:7px 8px}.externalConnect{grid-template-columns:1fr}}
@media(max-width:760px){.shell{grid-template-columns:1fr}.side{position:sticky;z-index:50;height:auto;top:0;padding:9px 10px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px}.brand{gap:7px}.mark{width:34px;height:34px;font-size:18px}.tagline{display:none}.side nav{grid-column:1/-1;margin:4px 0 0;display:flex;gap:4px;overflow-x:auto}.side nav a{padding:6px 8px}.sidefoot{display:none}.main{padding:12px 9px}.top{margin-bottom:10px}.top h1{font-size:31px}.card{padding:12px;border-radius:13px}.grid{grid-template-columns:1fr}.settingsGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.voiceProfiles{grid-template-columns:repeat(5,minmax(120px,1fr));overflow-x:auto}.voiceProfile{min-width:120px}.externalConnect{grid-template-columns:1fr}.urlConnect{grid-template-columns:1fr auto}}
@media(max-width:520px){.settingsGrid,.sourceGrid,.two,.toggles{grid-template-columns:1fr}.agendaItem{grid-template-columns:54px 1fr}.agendaItemKind{display:none}.monthCell{min-height:48px}.top .btn{width:auto}.top{flex-direction:row;align-items:center}.top p{display:none}.top h1{font-size:27px}.voicePlayerControls{grid-template-columns:repeat(3,1fr)}}


/* Delancar 4.2 — resilient compact system */
:root{--focus:#c89533;--panel:#fff;--panel-soft:#faf9f6}
html{scroll-behavior:smooth}
body{font-size:13.5px;line-height:1.38}
.shell{grid-template-columns:190px minmax(0,1fr)}
.side{padding:14px 11px}
.main{padding:14px clamp(10px,1.8vw,24px);max-width:1600px}
.tagline{font-size:18px;margin:16px 2px 10px}
.side nav a{padding:7px 8px;font-size:12px}
.top{margin-bottom:10px;gap:10px}
.top h1{font-size:clamp(28px,3vw,40px)}
.card{padding:13px;border-radius:14px;margin-bottom:9px}
.card h2{font-size:18px}
.grid{gap:9px}
.btn{min-height:36px;padding:0 10px;font-size:11px;border-radius:9px}
input,select{min-height:38px;font-size:12px;border-radius:8px}
input:focus,select:focus,button:focus-visible,summary:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.providerGrid{gap:7px;margin:8px 0}
.providerCard{padding:9px;border-radius:11px;grid-template-columns:34px 1fr 16px}
.providerIcon{width:34px;height:34px;border-radius:9px;font-size:15px}
.providerCard strong{font-size:12px}.providerCard small{font-size:9.5px}
.smartGuide{padding:9px 10px;margin:6px 0 8px;border-radius:11px}
.smartGuide strong{font-size:13px}.smartGuide small{font-size:10px}
.providerMessage{font-size:11px;padding:8px 10px;margin:6px 0 8px}
.calendarConnectBar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px;padding-top:9px;border-top:1px solid #ece8df}
.calendarDialog{width:min(640px,calc(100vw - 24px));max-height:min(760px,calc(100vh - 24px));border:1px solid #d8dde3;border-radius:15px;padding:0;background:#fff;color:var(--ink);box-shadow:0 24px 80px #0005}
.calendarDialog::backdrop{background:#07142688;backdrop-filter:blur(2px)}
.dialogHead{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 15px 8px;border-bottom:1px solid #edf0f2}
.dialogHead h3{margin:2px 0;font-size:18px}
.dialogClose{appearance:none;width:34px;height:34px;border:1px solid #d8dde3;border-radius:9px;background:#fff;color:#071426;font-size:22px;cursor:pointer}
.calendarDialog>.compactHelp{padding:0 15px;margin:10px 0 6px}
.connectForm{display:grid;grid-template-columns:1fr 1.25fr;gap:9px;padding:4px 15px 0}
.connectForm label{font-size:11px}
.connectUrlLabel{grid-column:1/-1}
.urlConnect{display:grid;grid-template-columns:1fr auto;gap:6px}
.pasteBtn{min-width:72px}
.dialogActions{display:flex;gap:7px;padding:10px 15px 0}
.dialogActions .btn{flex:1}
.connectHelp{margin:10px 15px 15px;padding-top:9px;border-top:1px solid #edf0f2;font-size:11px;color:#596579}
.connectHelp summary{cursor:pointer;font-weight:850;color:#071426}
.inlineStatus{margin:9px 15px 0}
.feedSource{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px}
.feedMain{display:flex;align-items:center;gap:9px;min-width:0}
.feedMain>div{min-width:0}.feedMain strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.providerMini{display:inline-flex;align-items:center;justify-content:center;min-width:66px;height:25px;padding:0 7px;border-radius:999px;background:#eef2f5;color:#596579;font-size:8.5px;font-weight:900;white-space:nowrap}
.providerMini.google{background:#fff3d6;color:#9a6819}.providerMini.microsoft{background:#eaf3ff;color:#195ca8}.providerMini.icloud{background:#eef5ff;color:#60718a}.providerMini.ics{background:#edf7f2;color:#267a5b}
.feedActions{display:flex;gap:5px;flex:0 0 auto}.tiny{min-height:31px;padding:0 8px}
.compactEmpty{padding:10px}
.voiceProfiles{grid-template-columns:repeat(5,minmax(96px,1fr))}
.voiceProfile{min-height:68px;padding:8px}.voiceProfile small{min-height:24px}
.agendaItem{padding:7px 9px;grid-template-columns:54px 1fr auto}
.agendaGroupHead{padding:7px 9px}
.monthCell{min-height:54px}
.settingsGrid{gap:7px}.toggles{gap:6px}
.source{padding:9px}
.empty{padding:10px}
footer{padding:8px}
html.native-desktop body{font-size:13px}
html.native-desktop .side{padding-top:10px}
html.native-desktop .main{padding-top:10px}
html.native-desktop .top h1{font-size:32px}
@media(max-width:1100px){
  .shell{grid-template-columns:172px minmax(0,1fr)}
  .side{padding:11px 9px}.tagline{font-size:16px}
  .main{padding:10px}
}
@media(max-width:820px){
  .shell{grid-template-columns:1fr}
  .side{position:sticky;z-index:50;height:auto;top:0;padding:7px 8px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:6px}
  .tagline,.sidefoot{display:none}.brand{gap:6px}.mark{width:31px;height:31px;font-size:17px}
  .side nav{grid-column:1/-1;margin:2px 0 0;display:flex;gap:3px;overflow-x:auto}
  .side nav a{white-space:nowrap;padding:5px 7px}
  .main{padding:8px 7px}
  .top{margin-bottom:7px}.top h1{font-size:25px}.top p{display:none}
  .card{padding:10px;border-radius:11px}
  .providerGrid{grid-template-columns:1fr 1fr}
  .voiceProfiles{display:flex;overflow-x:auto}.voiceProfile{min-width:112px}
}
@media(max-width:560px){
  .providerGrid{grid-template-columns:1fr}
  .connectForm{grid-template-columns:1fr}.connectUrlLabel{grid-column:auto}
  .calendarConnectBar{align-items:stretch;flex-direction:column}
  .calendarConnectBar .btn{width:100%}
  .feedSource{align-items:flex-start;flex-direction:column}.feedActions{width:100%}.feedActions .btn{flex:1}
  .settingsGrid,.sourceGrid,.two,.toggles{grid-template-columns:1fr}
  .agendaPeriodRow{align-items:stretch;flex-direction:column}
  .agendaListenActions{width:100%}.agendaListenActions .btn{flex:1}
}


/* Delancar 4.3 — final density + resilient calendar editor */
.calendarConnectPrimary{display:flex;align-items:center;gap:6px;min-width:0}
.calendarDialog{overflow:auto;overscroll-behavior:contain}
.calendarDialog input,.calendarDialog select{width:100%;min-width:0;box-sizing:border-box}
.connectForm>*{min-width:0}
.urlConnect{min-width:0}.urlConnect input{min-width:0}
.feedToggle{appearance:none;width:28px;height:28px;flex:0 0 28px;border-radius:999px;border:1px solid #ccd4dc;background:#fff;color:#7d8996;font-weight:950;cursor:pointer;display:grid;place-items:center}
.feedToggle.on{background:#eaf7ef;border-color:#86bda4;color:#267a5b}
.feedToggle.off{background:#f5f6f7;color:#98a2ac}
.feedDisabled{opacity:.64}.feedDisabled .providerMini{filter:saturate(.45)}
.dangerLite{color:#934646!important}.dangerLite:hover{background:#fff1f1!important;border-color:#e2b0b0!important}
html.density-compact .main{padding-top:9px;padding-bottom:9px}
html.density-compact .card{padding:10px;margin-bottom:7px;border-radius:11px}
html.density-compact .cardhead{margin-bottom:6px}
html.density-compact .card h2{font-size:17px}
html.density-compact .top{margin-bottom:6px}
html.density-compact .top h1{font-size:clamp(25px,2.8vw,35px)}
html.density-compact .btn{min-height:33px;padding:0 9px;font-size:10.5px}
html.density-compact input,html.density-compact select{min-height:35px}
html.density-compact .providerGrid{margin:6px 0;gap:5px}
html.density-compact .providerCard{padding:7px 8px}
html.density-compact .smartGuide{padding:8px 9px;margin:5px 0 6px}
html.density-compact .agendaPeriodRow{margin:8px 0 7px;padding:7px 0}
html.density-compact .agendaItem{padding:6px 8px}
html.density-compact .agendaGroupHead{padding:6px 8px}
html.density-compact .voiceProfile{min-height:61px;padding:7px}
html.density-compact .source{padding:7px}
html.density-compact .calendarConnectBar{margin-top:6px;padding-top:6px}
html:not(.density-compact) .main{max-width:1500px}
html:not(.density-compact) .card{padding:16px}
html:not(.density-compact) .btn{min-height:39px;font-size:12px}
html:not(.density-compact) input,html:not(.density-compact) select{min-height:40px;font-size:13px}
@media(max-width:820px){
  .calendarDialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:12px}
  .dialogHead{position:sticky;top:0;background:#fff;z-index:2}
  .dialogActions{position:sticky;bottom:0;background:#fff;padding-bottom:12px;border-top:1px solid #edf0f2}
}
@media(max-width:560px){
  .calendarConnectPrimary{width:100%;display:grid;grid-template-columns:1fr auto}
  .calendarConnectPrimary .btn{width:auto}
  .connectForm{padding-left:11px;padding-right:11px}
  .calendarDialog>.compactHelp,.inlineStatus,.connectHelp{margin-left:11px;margin-right:11px}
  .dialogHead{padding-left:11px;padding-right:11px}
  .dialogActions{padding-left:11px;padding-right:11px}
  .urlConnect{grid-template-columns:minmax(0,1fr) auto}
  .pasteBtn{min-width:64px}
}


/* Delancar 4.5 — compact precision + Electron-safe form controls */
:root{--content-max:1460px}
.main{max-width:var(--content-max);padding:10px clamp(8px,1.25vw,18px)}
.shell{grid-template-columns:164px minmax(0,1fr)}
.side{padding:10px 8px}
.brand{gap:6px}.mark{width:34px;height:34px;font-size:18px}.brand strong{font-size:12px}
.tagline{font-size:15px;line-height:1.12;margin:12px 2px 8px}
.side nav{gap:1px}.side nav a{padding:6px 7px;font-size:11px;border-radius:7px}
.card{padding:10px;border-radius:11px;margin-bottom:7px}
.cardhead{margin-bottom:6px}.card h2{font-size:17px}.kicker{font-size:8.5px}
.top{margin-bottom:6px}.top h1{font-size:clamp(25px,2.5vw,34px)}.top p{font-size:11px}
.grid{gap:7px}
.btn{min-height:33px;padding:0 9px;font-size:10.5px}
input,select{min-height:35px;font-size:12px}
.providerGrid{gap:5px;margin:6px 0}.providerCard{padding:7px 8px}.providerIcon{width:31px;height:31px}
.smartGuide{padding:8px 9px;margin:5px 0 6px}
.agendaToolbar{gap:6px}.agendaPeriodRow{margin:7px 0 6px;padding:6px 0}
.agendaItem{padding:6px 8px;grid-template-columns:50px 1fr auto}.agendaGroupHead{padding:6px 8px}
.agendaItemTitle{font-size:12.5px}.agendaItemMeta{font-size:9.5px}
.weekDay{padding:6px}.monthCell{min-height:48px}
.voiceProfile{min-height:58px;padding:7px}.voiceProfile strong{font-size:13px}.voiceProfile small{font-size:9px}
.settingsGrid{gap:5px}.source{padding:7px}.empty{padding:8px}
.calendarConnectBar{margin-top:5px;padding-top:6px}
.calendarDialog{z-index:2147483000;pointer-events:auto;-webkit-app-region:no-drag}
.calendarDialog *{pointer-events:auto}
.calendarDialog input,.calendarDialog select,.calendarDialog button,.calendarDialog summary{
  -webkit-app-region:no-drag!important;
}
.calendarDialog input,.calendarDialog select{
  user-select:text!important;
  -webkit-user-select:text!important;
  cursor:text;
  opacity:1!important;
}
.calendarDialog select{cursor:pointer}
.connectForm label{font-size:10px;font-weight:800}
.feedSource{padding:7px}.feedMain{gap:6px}.providerMini{min-width:58px;height:22px;font-size:8px}
.feedActions{gap:4px}.tiny{min-height:29px;padding:0 7px}
.voicePlayer{position:fixed;left:calc(164px + 12px);right:12px;bottom:10px;max-width:calc(var(--content-max) - 20px);margin:0 auto;padding:9px 11px}
html.native-desktop .main{max-width:1480px}
html.native-desktop .calendarDialog input:focus,
html.native-desktop .calendarDialog select:focus{outline:2px solid #c89533!important;outline-offset:1px}
@media(max-width:1000px){
  .shell{grid-template-columns:150px minmax(0,1fr)}
  .side{padding:8px 6px}.tagline{font-size:14px}
  .voicePlayer{left:158px}
}
@media(max-width:820px){
  .shell{grid-template-columns:1fr}
  .voicePlayer{left:7px;right:7px;bottom:7px}
  .side{padding:6px 7px}.main{padding:6px}
  .card{padding:8px}.providerCard{padding:7px}
}


/* Delancar 4.6 — compact total, readable, cache-safe */
:root{
  --content-max:1560px;
  --compact-card-gap:6px;
  --compact-radius:10px;
}
body{font-size:13px;line-height:1.4}
.shell{grid-template-columns:148px minmax(0,1fr)}
.side{padding:8px 7px}
.brand{gap:5px}.mark{width:31px;height:31px;font-size:16px}.brand strong{font-size:11px;letter-spacing:.07em}
.tagline{font-size:13px;line-height:1.1;margin:9px 1px 7px}
.side nav{gap:0}.side nav a{padding:5px 6px;font-size:10.5px;border-radius:6px}
.main{max-width:var(--content-max);padding:7px clamp(6px,1vw,14px)}
.top{margin-bottom:5px;align-items:center}.top h1{font-size:clamp(23px,2.2vw,31px);margin:2px 0}.top p{font-size:10px}
.card{padding:8px 9px;border-radius:var(--compact-radius);margin-bottom:var(--compact-card-gap);box-shadow:0 8px 24px #07142608}
.cardhead{margin-bottom:5px}.card h2{font-size:15.5px;line-height:1.15}.kicker,.eyebrow{font-size:8px}
.grid{gap:6px}
.badge,.pill{padding:4px 7px;font-size:9.5px}
.btn{min-height:31px;padding:0 8px;border-radius:8px;font-size:10px}
input,select{min-height:33px;border-radius:8px;font-size:11.5px;padding:0 8px}
label{gap:3px;font-size:10px}
.actions{gap:5px;margin-top:7px}
.stack{gap:6px;margin:7px 0}
.source{padding:6px;border-radius:9px}
.empty{padding:7px;border-radius:8px}
.providerGrid{gap:5px;margin:5px 0}
.providerCard{padding:6px 7px;border-radius:10px;grid-template-columns:29px 1fr 16px;gap:7px}
.providerIcon{width:29px;height:29px;border-radius:9px;font-size:13px}
.providerCard strong{font-size:11px}.providerCard small{font-size:9px}.providerArrow{font-size:18px}
.smartGuide{padding:7px 8px;margin:4px 0 5px;border-radius:10px}
.smartGuide strong{font-size:12px}.smartGuide small{font-size:9px}
.segmented{padding:2px;border-radius:8px}.seg{min-height:30px;padding:0 9px;border-radius:6px;font-size:10px}
.agendaToolbar{gap:5px}
.agendaPeriodRow{margin:6px 0 5px;padding:5px 0}.agendaPeriodRow strong{font-size:14px}
.weekStrip{gap:4px}.weekDay{padding:5px;border-radius:9px}.weekDay strong{font-size:14px}.weekDay span,.weekDay b{font-size:8px}
.monthGrid{gap:3px}.monthCell{min-height:43px;padding:4px;border-radius:8px}.monthNum{font-size:10px}.monthMore{font-size:7px}
.agendaGroup{border-radius:9px}.agendaGroupHead{padding:5px 7px}.agendaGroupHead strong{font-size:11px}.agendaGroupHead span{font-size:9px}
.agendaItem{grid-template-columns:45px 1fr auto;gap:7px;padding:5px 7px}.agendaItemTime{font-size:11px}.agendaItemTitle{font-size:11.5px}.agendaItemMeta{font-size:8.5px}.agendaItemKind{font-size:7px;padding:3px 5px}
.calendarConnectBar{margin-top:4px;padding-top:5px}
.feedSource{padding:6px;border-radius:9px}.feedMain{gap:5px}.providerMini{min-width:52px;height:20px;font-size:7.5px}
.voiceProfiles{gap:5px;margin:6px 0}.voiceProfile{min-height:52px;padding:6px;border-radius:9px}.voiceProfile strong{font-size:11.5px}.voiceProfile small{font-size:8.5px;min-height:24px}.voiceProfile span{font-size:8.5px}
.settingsGrid,.sourceGrid,.two{gap:5px}
.toggles{gap:5px;margin:6px 0}.toggles label{padding:7px;border-radius:8px}
.voicePlayer{left:158px;right:8px;bottom:7px;padding:7px 9px;border-radius:11px}
.voicePlayerControls{gap:4px;margin-top:7px}.playerIcon,.playerMain,.playerAction{min-height:32px;padding:0 8px;border-radius:8px;font-size:9.5px}
.calendarDialog{width:min(620px,calc(100vw - 16px));max-height:min(720px,calc(100dvh - 16px));border-radius:12px}
.dialogHead{padding:10px 11px 5px}.dialogHead h3{font-size:16px;margin:2px 0}
.connectForm{padding:7px 11px;gap:6px}.compactHelp{font-size:10px}
.dialogActions{padding:7px 11px 10px}
.urlConnect{gap:5px}
html.density-compact .main{padding:5px 6px}
html.density-compact .card{padding:7px;margin-bottom:5px}
html.density-compact .btn{min-height:29px}
html.density-compact input,html.density-compact select{min-height:31px}
@media(max-width:1000px){
  .shell{grid-template-columns:138px minmax(0,1fr)}
  .voicePlayer{left:146px}
  .side nav a{font-size:10px}
}
@media(max-width:820px){
  .shell{grid-template-columns:1fr}
  .side{padding:5px 6px}
  .main{padding:5px}
  .voicePlayer{left:5px;right:5px;bottom:5px}
  .card{padding:7px}
  .providerGrid{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  body{font-size:12px}
  .top h1{font-size:22px}
  .providerGrid{grid-template-columns:1fr}
  .settingsGrid,.sourceGrid,.two,.toggles{grid-template-columns:1fr}
  .calendarDialog{width:calc(100vw - 8px);max-height:calc(100dvh - 8px)}
  .agendaItem{grid-template-columns:42px 1fr}.agendaItemKind{display:none}
}


/* Delancar 4.7 — Ultra Precision visual refinement */
:root{
  --ultra-line:color-mix(in srgb,var(--line,#cad7e6) 78%,transparent);
  --ultra-glow:0 14px 38px #07142612,0 2px 10px #2d6cdf0a;
  --ultra-glow-active:0 18px 46px #07142619,0 0 0 1px #4f8cff22;
}
body{
  background:
    radial-gradient(900px 520px at 12% -8%,#62a8ff13,transparent 62%),
    radial-gradient(760px 460px at 96% 5%,#e5ae4712,transparent 60%),
    var(--bg);
  background-attachment:fixed;
}
.side{backdrop-filter:saturate(130%) blur(10px);box-shadow:8px 0 34px #07142608}
.side nav a{position:relative;transition:transform .16s ease,background .16s ease,border-color .16s ease,color .16s ease}
.side nav a:hover{transform:translateX(2px)}
.side nav a.active::before,.side nav a[aria-current="page"]::before{content:"";position:absolute;left:-4px;top:22%;bottom:22%;width:2px;border-radius:2px;background:currentColor}
.card{border-color:var(--ultra-line);box-shadow:var(--ultra-glow);transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease}
.card:hover{border-color:color-mix(in srgb,var(--accent,#2d6cdf) 20%,var(--ultra-line));box-shadow:var(--ultra-glow-active)}
.providerCard,.voiceProfile,.weekDay,.monthCell,.source,.feedSource,.toggles label{transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}
.providerCard:hover,.voiceProfile:hover,.weekDay:hover{transform:translateY(-1px);box-shadow:0 7px 20px #07142610}
.btn{font-weight:760;letter-spacing:.005em;transition:transform .13s ease,box-shadow .13s ease,filter .13s ease}
.btn:hover{transform:translateY(-1px);filter:saturate(1.06)}
.btn:active{transform:translateY(0)}
:where(button,a,input,select,textarea):focus-visible{outline:2px solid color-mix(in srgb,var(--accent,#2d6cdf) 70%,white);outline-offset:2px}
.top{position:sticky;top:0;z-index:8;padding:5px 2px 6px;background:linear-gradient(180deg,color-mix(in srgb,var(--bg) 94%,transparent) 74%,transparent);backdrop-filter:blur(8px)}
.badge,.pill{border:1px solid color-mix(in srgb,currentColor 18%,transparent);box-shadow:inset 0 1px 0 #ffffff66}
.calendarDialog{box-shadow:0 28px 90px #0714263d,0 0 0 1px #ffffff2a}
.voicePlayer{box-shadow:0 16px 55px #07142626,0 0 0 1px #ffffff1e}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Delancar 4.8 — Blue Gold Pro responsive compact system */
:root{--navy:#06183a;--navy2:#092d68;--gold:#f2b705;--gold2:#ffd740;--cream:#f3f7fd;--paper:#f8fbff;--ink:#071b38;--muted:#60708a;--line:#d8e2f0;--green:#1f9d68;--accent:#0868ff;--bg:#f3f7fd}
body{background:radial-gradient(780px 400px at 80% -10%,#0a68ff10,transparent 65%),linear-gradient(180deg,#f7faff,#edf3fb)}
.side{background:linear-gradient(180deg,#04132f,#061f4b 70%,#082b63);border-right:1px solid #2d72d733;color:#fff}
.brandLogoApp{display:block;width:128px;height:auto;max-width:100%}.side .tagline{color:#b9c8df}.side nav a{color:#c9d7eb}.side nav a:hover{background:#0b3b81;color:#fff}.side nav a.active,.side nav a[aria-current="page"]{background:#0a56ca;color:#fff;box-shadow:inset 3px 0 #ffd740}
.gold{background:linear-gradient(135deg,#fff066,#ffd21f 48%,#e29a00);color:#06183a;box-shadow:0 7px 18px #f2b70526}.ghost{border-color:#cdd9e8;background:#fff;color:#071b38}
.heroCard{border-top-color:#0868ff}.card{border-color:#d8e2f0;background:#fff}.kicker,.smartEyebrow{color:#b98500}.seg.active{background:#075fd8}.time,.agendaItemTime{color:#087bdc}
.providerCard.recommended{border-color:#f2b705}.providerCard.connected{border-color:#38a87a}.monthCell.today,.weekDay.today{border-color:#f2b705}.monthCell.selected,.weekDay.selected{background:#fff8d6;border-color:#f2b705}
.voiceProfile.active{border-color:#f2b705;background:#fff9dc}.voicePlayer{background:linear-gradient(135deg,#06183a,#0a3d88);border-color:#ffd74066}.playerMain{background:linear-gradient(135deg,#fff066,#f2b705);color:#06183a}
.proControl{border:1px solid #246fe355;background:linear-gradient(180deg,#fff,#f6f9ff)}.proBadge{background:#06183a;color:#ffd740;border-color:#ffd74055}.proActionGrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.proAction{appearance:none;border:1px solid #d7e2f0;border-radius:9px;background:linear-gradient(180deg,#fff,#f2f6fc);padding:8px;text-align:left;cursor:pointer;color:#071b38;min-height:58px}.proAction:hover{border-color:#0a68ff;box-shadow:0 6px 18px #0868ff12}.proAction b{display:block;font-size:10.5px}.proAction small{display:block;color:#60708a;font-size:8.5px;margin-top:3px}
@media(max-width:1100px){.proActionGrid{grid-template-columns:repeat(3,1fr)}}@media(max-width:680px){.proActionGrid{grid-template-columns:repeat(2,1fr)}.brandLogoApp{width:118px}}
@media(max-width:430px){.main{padding:4px}.card{padding:7px}.btn{min-height:34px}.proActionGrid{grid-template-columns:1fr 1fr}.proAction{min-height:54px}.providerCard{grid-template-columns:28px 1fr 14px}.agendaItem{grid-template-columns:40px 1fr}.voiceProfiles{grid-template-columns:1fr 1fr}}

/* Delancar 5.0 — Voice Lab + entitlement */
.voiceCatalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:6px;margin:7px 0}
.realVoice{appearance:none;border:1px solid #d8e2f0;background:#fff;border-radius:9px;padding:8px;text-align:left;color:#071b38;cursor:pointer;display:grid;gap:3px}
.realVoice.active{border-color:#f2b705;background:#fff8d8;box-shadow:0 0 0 1px #f2b70533 inset}.realVoice b{font-size:11px}.realVoice small{font-size:8.5px;color:#60708a}.realVoice span{font-size:8.5px;color:#075fd8;font-weight:800}
.licenseOverlay{position:fixed;inset:0;z-index:2147483600;background:#020b1de8;backdrop-filter:blur(10px);display:grid;place-items:center;padding:14px}.licenseOverlay[hidden]{display:none}.licenseCard{width:min(520px,100%);background:#fff;border:1px solid #ffd74066;border-radius:16px;padding:22px;box-shadow:0 35px 110px #0008}.licenseCard img{width:190px;max-width:70%;margin-bottom:14px}.licenseCard h2{font-size:24px;margin:5px 0}.licenseCard p{color:#52647d;line-height:1.55}.licenseStores{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.storeBtn{display:grid;place-items:center;min-height:48px;border-radius:10px;background:#06183a;color:white;text-decoration:none;font-weight:900}.storePending{grid-column:1/-1;padding:10px;border-radius:9px;background:#eef4fb;color:#60708a;font-size:11px}.licenseId{padding:10px;background:#f6f9fd;border:1px solid #d8e2f0;border-radius:9px;font-size:10px;color:#60708a;word-break:break-all}.licenseId b{color:#071b38}
@media(max-width:560px){.voiceCatalog{grid-template-columns:1fr}.licenseStores{grid-template-columns:1fr}}


/* =========================================================
   DELANCAR ONE — V6 high-density native workspace
   ========================================================= */
:root{
  --one-bg:#f2f6fb;--one-surface:#ffffff;--one-surface-2:#f7f9fc;
  --one-navy:#071a3d;--one-navy-2:#0b2d67;--one-blue:#0876ff;
  --one-gold:#f2b705;--one-gold-2:#ffd84a;--one-ink:#071426;
  --one-muted:#6d7b91;--one-line:#dde5ef;--one-good:#1d8b66;
  --one-shadow:0 12px 32px rgba(7,26,61,.07);
  --one-radius:14px;--one-rail:72px;
}
[hidden]{display:none!important}
html{background:var(--one-bg)}
body{
  background:
    radial-gradient(circle at 68% -10%,rgba(8,118,255,.09),transparent 30rem),
    linear-gradient(180deg,#f8fbff 0,#f2f6fb 45%,#edf3f9 100%);
  color:var(--one-ink);font-size:13px;overflow-x:hidden
}
.shell{grid-template-columns:var(--one-rail) minmax(0,1fr);min-height:100vh}
.side{
  width:var(--one-rail);padding:10px 9px;position:fixed;inset:0 auto 0 0;height:100vh;
  background:linear-gradient(180deg,#061735,#071e45 55%,#05132d);
  border-right:1px solid rgba(255,255,255,.08);box-shadow:6px 0 28px rgba(2,14,35,.12);
  display:flex;align-items:center;z-index:100
}
.brand{width:52px;height:52px;margin:0 auto 12px;display:grid;place-items:center;border-radius:14px;background:#ffffff0b;border:1px solid #ffffff12}
.brandLogoApp{content:url('/icon.svg');width:38px!important;height:38px!important;object-fit:contain}
.tagline,.sidefoot{display:none!important}
.side nav{width:100%;display:grid;gap:6px;margin-top:2px}
.side nav a{
  position:relative;width:52px;height:48px;margin:auto;padding:0;border-radius:12px;
  display:grid;place-items:center;font-size:0;color:#b8c6dc;background:transparent;
  transition:.16s ease;border:1px solid transparent
}
.side nav a::before{font-size:19px;line-height:1}
.side nav a[href="#oggi"]::before{content:"⌂"}
.side nav a[href="#agenda"]::before{content:"▦"}
.side nav a[href="#calendari"]::before{content:"◫"}
.side nav a[href="#task"]::before{content:"✓"}
.side nav a[href="#voce"]::before{content:"◉"}
.side nav a[href="#team"]::before{content:"∞"}
.side nav a[href="#backup"]::before{content:"↺"}
.side nav a[href="#pro"]::before{content:"⚙"}
.side nav a:hover,.side nav a.oneActive{background:#ffffff12;color:#fff;border-color:#ffffff16}
.side nav a.oneActive::after{content:"";position:absolute;left:-9px;width:3px;height:24px;border-radius:0 4px 4px 0;background:var(--one-gold-2)}
.side nav a::marker{display:none}
.side nav a[data-one-label]:hover span{display:block}
.side nav a::after{}
.side nav a[data-one-tip]::before{}
.side nav a[data-one-label] > *{display:none}

.main{
  grid-column:2;max-width:none;width:auto;margin:0;padding:12px 16px 30px;
  min-height:100vh
}
.top{
  position:sticky;top:0;z-index:85;margin:0 0 10px;padding:8px 10px 8px 12px;min-height:58px;
  align-items:center;background:rgba(247,250,254,.86);backdrop-filter:blur(18px) saturate(1.25);
  border:1px solid rgba(215,225,237,.86);border-radius:14px;box-shadow:0 7px 24px rgba(7,26,61,.06)
}
.top>div:first-child{min-width:0}
.eyebrow{font-size:8px;letter-spacing:.18em;color:#7e8da2}
.top h1{font-size:20px;line-height:1.05;letter-spacing:-.025em;margin:2px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top p{display:none}
.top .btn{min-height:38px;border-radius:10px;padding:0 13px;font-size:11px}
.card{
  background:rgba(255,255,255,.94);border:1px solid var(--one-line);border-radius:var(--one-radius);
  padding:13px 14px;margin-bottom:10px;box-shadow:var(--one-shadow)
}
.card:hover{border-color:#ced9e7}
.cardhead{margin-bottom:8px;gap:10px}
.card h2{font-size:16px;letter-spacing:-.02em;margin:1px 0}
.kicker,.smartEyebrow{font-size:8px;letter-spacing:.14em;color:#8d6a00}
.badge,.pill{padding:4px 7px;border-radius:7px;font-size:9px}
.muted,.tag{font-size:10.5px;line-height:1.45;color:var(--one-muted)}
.btn{min-height:36px;padding:0 11px;border-radius:9px;font-size:10.5px}
.gold{background:linear-gradient(135deg,var(--one-gold-2),var(--one-gold));box-shadow:0 5px 14px rgba(242,183,5,.18)}
.ghost{background:#fff;border-color:#d8e1ed}
input,select{min-height:36px;border-radius:8px;padding:0 9px;font-size:11px;border-color:#d8e1ed;background:#fbfdff}
label{font-size:9px;gap:3px;color:#627188}
.actions{gap:6px;margin-top:8px}
.grid{gap:10px}
.stack{gap:7px;margin:8px 0}
.source{padding:10px;border-radius:10px;background:#f8fafc;border-color:#e2e8f0}
.timeline .event,.timeline .task,.event,.task{grid-template-columns:58px 1fr;gap:8px;padding:8px 2px}
.time{font-size:10px}
.heroCard{border-top:1px solid var(--one-line)}
#oggi{padding:11px 14px}
#oggi .actions{display:none}
#oggi .timeline{max-height:170px;overflow:auto;scrollbar-width:thin}
#agenda{min-height:calc(100vh - 176px)}
.agendaToolbar{margin:5px 0 8px}
.segmented{padding:2px;border-radius:9px}
.seg{min-height:30px;padding:0 10px;font-size:9px;border-radius:7px}
.agendaPeriodRow{padding:8px 0}
.agendaPeriodRow strong{font-size:13px}
.agendaVisual{margin-top:5px}
.agendaList{margin-top:7px}
.agendaGroup{border-radius:10px;margin-bottom:7px}
.agendaGroupHead{padding:7px 9px}
.agendaItem{grid-template-columns:68px 1fr auto;padding:7px 9px}
.agendaItemTime,.agendaItemTitle{font-size:10px}
.agendaItemMeta,.agendaItemKind{font-size:8.5px}
.weekStrip{gap:4px}
.weekDay{min-height:46px;border-radius:9px}
.providerGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.providerCard{padding:9px;border-radius:10px;min-height:66px}
.providerCard strong{font-size:10px}.providerCard small{font-size:8px}
.providerIcon{width:32px;height:32px;border-radius:9px}
.smartGuide{padding:10px 11px;border-radius:10px}
.calendarConnectBar{padding:8px 0}
.voiceProfiles{grid-template-columns:repeat(3,1fr);gap:7px}
.voiceProfile{padding:10px;border-radius:10px;min-height:66px}
.voiceProfile strong{font-size:11px}.voiceProfile small,.voiceProfile span{font-size:8.5px}
.voiceCatalog{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:6px}
.realVoice{min-height:54px}
.settingsGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:8px 0}
.toggles{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:8px 0}
.toggles label{padding:8px 9px;border-radius:9px;font-size:9px}
.proActionGrid{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.proAction{min-height:58px;padding:8px;border-radius:9px}
.proAction b{font-size:10px}.proAction small{font-size:8px}
footer{padding:10px 0 0;font-size:9px}

/* live overview */
.oneOverview{
  display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(120px,.65fr));gap:8px;
  margin-bottom:10px
}
.oneMetric{
  min-height:72px;padding:11px 12px;border:1px solid var(--one-line);border-radius:12px;background:rgba(255,255,255,.92);
  box-shadow:0 8px 22px rgba(7,26,61,.045);display:grid;align-content:center;gap:2px
}
.oneMetric.primary{background:linear-gradient(135deg,#071a3d,#0b377c);border-color:#164c96;color:white}
.oneMetric span{font-size:8px;text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:#8290a5}
.oneMetric.primary span{color:#aebfd8}
.oneMetric strong{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oneMetric.primary strong{color:#fff}
.oneMetric small{font-size:9px;color:#758399;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oneMetric.primary small{color:#c5d2e5}
.oneMetric .oneValue{font-size:23px;letter-spacing:-.04em;color:var(--one-navy)}
.oneMetric.primary .oneValue{color:var(--one-gold-2)}

/* compact app actions */
.oneTopActions{display:flex;align-items:center;gap:5px;margin-left:auto}
.oneIconBtn{
  width:36px;height:36px;padding:0;border:1px solid #d8e1ed;border-radius:9px;background:#fff;color:#173052;
  display:grid;place-items:center;cursor:pointer;font-size:14px
}
.oneIconBtn:hover{border-color:#b8c9df;background:#f8fbff}
.onePrimaryAction{min-width:132px}
.oneCommandHint{font-size:8px;margin-left:4px;padding:2px 5px;border:1px solid #dce4ef;border-radius:5px;color:#74849a}

/* page/workspace visibility */
body[data-one-view="home"] #calendari,
body[data-one-view="home"] #voce,
body[data-one-view="home"] #team,
body[data-one-view="home"] #backup,
body[data-one-view="home"] #pro,
body[data-one-view="calendar"] #oggi,
body[data-one-view="calendar"] #agenda,
body[data-one-view="calendar"] #task,
body[data-one-view="calendar"] #voce,
body[data-one-view="calendar"] #team,
body[data-one-view="calendar"] #backup,
body[data-one-view="calendar"] #pro,
body[data-one-view="voice"] #oggi,
body[data-one-view="voice"] #agenda,
body[data-one-view="voice"] #task,
body[data-one-view="voice"] #calendari,
body[data-one-view="voice"] #team,
body[data-one-view="voice"] #backup,
body[data-one-view="voice"] #pro,
body[data-one-view="system"] #oggi,
body[data-one-view="system"] #agenda,
body[data-one-view="system"] #task,
body[data-one-view="system"] #calendari,
body[data-one-view="system"] #voce{display:none!important}
body[data-one-view="home"] .grid:has(#calendari){display:block}
body[data-one-view="home"] #task{display:block!important}
body[data-one-view="calendar"] .grid:has(#calendari){display:block}
body[data-one-view="calendar"] #calendari{display:block!important}
body[data-one-view="system"] .grid:has(#backup){display:grid;grid-template-columns:1fr 1fr}
body[data-one-view="system"] #team,
body[data-one-view="system"] #backup,
body[data-one-view="system"] #pro{display:block!important}
body[data-one-view="home"] #agenda{display:block!important}
body[data-one-view="home"] #oggi{display:block!important}
body[data-one-view="voice"] #voce{display:block!important}

/* Home cockpit: timeline + agenda + tasks */
body[data-one-view="home"] .main{
  display:grid;grid-template-columns:minmax(0,1fr) 310px;grid-template-areas:
  "top top"
  "overview overview"
  "today tasks"
  "agenda tasks"
  "player player"
  "foot foot";
  gap:0 10px
}
body[data-one-view="home"] .top{grid-area:top}
body[data-one-view="home"] .oneOverview{grid-area:overview}
body[data-one-view="home"] #oggi{grid-area:today}
body[data-one-view="home"] #agenda{grid-area:agenda}
body[data-one-view="home"] #task{grid-area:tasks;position:sticky;top:80px;align-self:start;max-height:calc(100vh - 96px);overflow:auto}
body[data-one-view="home"] #voicePlayer{grid-area:player}
body[data-one-view="home"] footer{grid-area:foot}
body[data-one-view="home"] .grid:has(#calendari){display:contents}
body[data-one-view="home"] #calendari{display:none!important}

/* full workspaces */
body[data-one-view="calendar"] .main,
body[data-one-view="voice"] .main,
body[data-one-view="system"] .main{max-width:1280px;margin:0 auto;padding-left:18px}
body[data-one-view="calendar"] #calendari,
body[data-one-view="voice"] #voce{min-height:calc(100vh - 92px)}
body[data-one-view="calendar"] .providerGrid{grid-template-columns:repeat(4,1fr)}
body[data-one-view="system"] #pro{margin-bottom:10px}

/* command palette */
.oneCommand{
  width:min(660px,calc(100vw - 24px));max-height:min(680px,calc(100vh - 40px));padding:0;border:0;border-radius:16px;
  background:#fff;box-shadow:0 35px 110px rgba(2,13,34,.32);overflow:hidden
}
.oneCommand::backdrop{background:rgba(3,13,31,.50);backdrop-filter:blur(7px)}
.oneCommandHead{display:flex;gap:8px;align-items:center;padding:10px;border-bottom:1px solid var(--one-line)}
.oneCommandHead input{border:0;background:#f3f7fb;font-size:13px;min-height:42px}
.oneCommandHead button{width:42px;height:42px;border:0;border-radius:9px;background:#edf2f8;cursor:pointer}
.oneCommandList{display:grid;gap:3px;padding:8px;overflow:auto;max-height:540px}
.oneCommandItem{
  display:grid;grid-template-columns:34px 1fr auto;gap:9px;align-items:center;padding:9px;border-radius:10px;border:0;background:#fff;text-align:left;cursor:pointer;color:var(--one-ink)
}
.oneCommandItem:hover,.oneCommandItem:focus{background:#f2f6fb;outline:none}
.oneCommandItem .ico{width:32px;height:32px;border-radius:8px;background:#edf4ff;color:#075fd8;display:grid;place-items:center}
.oneCommandItem b{display:block;font-size:10.5px}.oneCommandItem small{font-size:8.5px;color:#79879a}.oneCommandItem kbd{font-size:8px;color:#8a97a8}

/* mobile bottom dock */
.oneMobileDock{display:none}

/* Desktop native — even denser */
.native-desktop .main{padding-top:8px}
.native-desktop .top{min-height:52px}
.native-desktop .card{box-shadow:0 8px 20px rgba(7,26,61,.05)}
.native-desktop body[data-one-view="home"] #agenda{min-height:calc(100vh - 160px)}

@media(max-width:1080px){
  .oneOverview{grid-template-columns:1.4fr repeat(3,.6fr)}
  body[data-one-view="home"] .main{grid-template-columns:minmax(0,1fr) 270px}
  .providerGrid{grid-template-columns:repeat(2,1fr)}
  .proActionGrid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:820px){
  :root{--one-rail:0px}
  .shell{display:block}.side{display:none!important}
  .main{grid-column:auto;padding:8px 9px 78px!important;margin:0!important}
  .top{top:6px;border-radius:12px;min-height:52px}
  .top h1{font-size:17px}
  .top #speak{display:none}
  .oneCommandHint{display:none}
  .oneOverview{grid-template-columns:1fr 1fr;gap:6px}
  .oneMetric{min-height:62px;padding:9px}.oneMetric.primary{grid-column:1/-1}
  body[data-one-view="home"] .main{display:block}
  body[data-one-view="home"] #task{position:static;max-height:none}
  #agenda{min-height:0}
  .settingsGrid,.toggles{grid-template-columns:repeat(2,1fr)}
  .providerGrid{grid-template-columns:1fr 1fr}
  .proActionGrid{grid-template-columns:repeat(2,1fr)}
  .oneMobileDock{
    position:fixed;z-index:120;display:grid;grid-template-columns:repeat(4,1fr);left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));
    min-height:58px;padding:5px;background:rgba(6,24,58,.94);backdrop-filter:blur(15px);border:1px solid #ffffff18;border-radius:16px;box-shadow:0 15px 45px rgba(0,0,0,.24)
  }
  .oneMobileDock button{border:0;background:transparent;color:#9fb0c8;border-radius:11px;display:grid;place-items:center;gap:1px;font-size:16px}
  .oneMobileDock button small{font-size:7.5px}.oneMobileDock button.active{background:#ffffff12;color:#fff}.oneMobileDock button.active::after{content:"";width:16px;height:2px;background:var(--one-gold-2);border-radius:2px}
}
@media(max-width:520px){
  .oneOverview{grid-template-columns:1fr 1fr}
  .oneMetric.primary{grid-column:1/-1}
  .oneMetric strong{font-size:13px}.oneMetric .oneValue{font-size:19px}
  .card{padding:10px;border-radius:12px}
  .card h2{font-size:15px}
  .settingsGrid,.toggles,.providerGrid,.proActionGrid{grid-template-columns:1fr}
  .agendaListenActions .btn{padding:0 8px}
  .agendaItem{grid-template-columns:54px 1fr}.agendaItemKind{display:none}
  .oneTopActions .oneIconBtn:nth-child(2){display:none}
}

/* Delancar One dark mode */
html.one-dark body{
  --one-bg:#030914;--one-surface:#071426;--one-surface-2:#0a1930;--one-ink:#edf5ff;--one-muted:#8fa2bc;--one-line:#183052;
  background:
    radial-gradient(circle at 70% -10%,rgba(8,118,255,.14),transparent 32rem),
    linear-gradient(180deg,#050c18,#07101f 55%,#040a13);
  color:#edf5ff
}
html.one-dark .top,
html.one-dark .card,
html.one-dark .oneMetric,
html.one-dark .oneCommand{background:rgba(7,20,38,.95);border-color:#183052;color:#edf5ff}
html.one-dark .top{background:rgba(5,14,29,.86)}
html.one-dark .oneMetric.primary{background:linear-gradient(135deg,#09265a,#071a3d);border-color:#204d8f}
html.one-dark .oneMetric .oneValue,
html.one-dark .card h2,
html.one-dark .top h1,
html.one-dark .agendaItemTitle{color:#f3f7fd}
html.one-dark .oneMetric span,
html.one-dark .oneMetric small,
html.one-dark .muted,
html.one-dark .tag{color:#8fa2bc}
html.one-dark input,
html.one-dark select,
html.one-dark .ghost,
html.one-dark .realVoice,
html.one-dark .oneCommandItem{background:#0a1930;border-color:#203958;color:#eef5ff}
html.one-dark .oneCommandItem:hover,
html.one-dark .oneCommandItem:focus{background:#102443}
html.one-dark .oneCommandHead{border-color:#183052}
html.one-dark .oneCommandHead input{background:#0b1b34}
html.one-dark .oneIconBtn{background:#0a1930;color:#dfeaff;border-color:#203958}
html.one-dark .oneIconBtn:hover{background:#102443}
html.one-dark .source,
html.one-dark .toggles label,
html.one-dark .empty,
html.one-dark .smartGuide,
html.one-dark .agendaGroup{background:#09182d;border-color:#193454}
html.one-dark .providerCard{background:#09182d;border-color:#193454;color:#eef5ff}
html.one-dark .segmented{background:#071426;border-color:#193454}
html.one-dark .seg{color:#9eb0c9}
html.one-dark .seg.active{background:#16396c;color:#fff}
html.one-dark .voiceProfile{background:#09182d;border-color:#193454;color:#eef5ff}
html.one-dark .voiceProfile.active,
html.one-dark .realVoice.active{background:#2e2708;border-color:#d3a91a}
html.one-dark footer{color:#71849f}

body[data-one-view="home"] #oneStatusCard,
body[data-one-view="calendar"] #oneStatusCard,
body[data-one-view="voice"] #oneStatusCard{display:none!important}
body[data-one-view="system"] #oneStatusCard{display:block!important}

/* Delancar One — setup/health center */
.oneIconBtn[data-state="ok"]{border-color:#b9e2d2;background:#effaf6;color:#176a4e}
.oneIconBtn[data-state="warn"]{border-color:#f1d58c;background:#fff9e9;color:#8a6200}
.oneHealth{
  width:min(760px,calc(100vw - 24px));max-height:min(760px,calc(100vh - 32px));padding:0;border:0;border-radius:16px;
  background:#fff;box-shadow:0 35px 120px rgba(2,13,34,.34);overflow:hidden
}
.oneHealth::backdrop{background:rgba(3,13,31,.52);backdrop-filter:blur(8px)}
.oneHealthHead{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px 16px 12px;border-bottom:1px solid var(--one-line)}
.oneHealthHead h2{font-size:19px;margin:2px 0}.oneHealthHead p{font-size:10px;color:var(--one-muted);margin:0}
.oneHealthHead>button{width:38px;height:38px;border:0;border-radius:9px;background:#edf2f8;color:#173052;cursor:pointer;font-size:18px}
.oneHealthList{display:grid;gap:5px;padding:9px;overflow:auto;max-height:560px}
.oneHealthRow{
  display:grid;grid-template-columns:38px minmax(0,1fr) auto 18px;align-items:center;gap:9px;padding:9px 10px;
  border:1px solid var(--one-line);border-radius:10px;background:#fff;text-align:left;color:var(--one-ink);cursor:pointer
}
.oneHealthRow:hover{background:#f7faff}.oneHealthIcon{width:34px;height:34px;border-radius:9px;background:#edf4ff;color:#075fd8;display:grid;place-items:center;font-weight:900}
.oneHealthRow b{display:block;font-size:10.5px}.oneHealthRow small{display:block;margin-top:2px;font-size:8.7px;color:#76859a;line-height:1.4}
.oneHealthState{font-size:8.5px;font-weight:900;padding:4px 6px;border-radius:6px;white-space:nowrap}
.oneHealthRow.ok .oneHealthState{background:#e8f7f0;color:#176a4e}.oneHealthRow.warn .oneHealthState{background:#fff3ce;color:#8b6500}.oneHealthRow.soft .oneHealthState{background:#eef2f7;color:#67768b}
.oneHealthArrow{color:#8d9caf;font-size:17px}.oneHealthFoot{display:flex;justify-content:flex-end;gap:7px;padding:10px;border-top:1px solid var(--one-line);background:#fafcff}
.oneHealthFoot .btn{min-height:38px}
html.one-dark .oneHealth{background:#071426;color:#eef5ff}
html.one-dark .oneHealthHead,html.one-dark .oneHealthFoot{border-color:#183052;background:#08162a}
html.one-dark .oneHealthHead>button{background:#0b1b34;color:#dce8f7}
html.one-dark .oneHealthRow{background:#09182d;border-color:#193454;color:#eef5ff}
html.one-dark .oneHealthRow:hover{background:#102443}
html.one-dark .oneHealthRow small{color:#8fa2bc}
html.one-dark .oneHealthRow.ok .oneHealthState{background:#0e352b;color:#7bd7b7}
html.one-dark .oneHealthRow.warn .oneHealthState{background:#342b0b;color:#f0cf62}
html.one-dark .oneHealthRow.soft .oneHealthState{background:#14243b;color:#91a4bf}
@media(max-width:620px){
  .oneHealthRow{grid-template-columns:34px minmax(0,1fr) 16px}.oneHealthState{grid-column:2/3;justify-self:start}.oneHealthArrow{grid-column:3;grid-row:1/3}
  .oneHealthFoot{display:grid;grid-template-columns:1fr}.oneHealthFoot .btn{width:100%}
}


/* =========================================================
   DELANCAR ONE 6.1 — EXECUTIVE PROFESSIONAL UI
   Readability-first, high-density, professional agenda
   ========================================================= */
:root{
  --exec-bg:#f3f6f9;
  --exec-panel:#ffffff;
  --exec-panel-2:#f8fafc;
  --exec-ink:#101828;
  --exec-muted:#667085;
  --exec-subtle:#98a2b3;
  --exec-line:#d9e1ea;
  --exec-line-strong:#c7d2df;
  --exec-navy:#081525;
  --exec-navy-2:#0d2138;
  --exec-blue:#1769d2;
  --exec-blue-soft:#eaf2fd;
  --exec-gold:#d9a72d;
  --exec-gold-2:#f1c84b;
  --exec-green:#23785c;
  --exec-danger:#a13b45;
  --exec-radius:10px;
  --exec-sidebar:184px;
  --exec-shadow:0 4px 16px rgba(16,24,40,.045);
}
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
body{
  font-family:"Segoe UI Variable Text","Segoe UI Variable","Segoe UI",-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  font-size:14px;line-height:1.45;font-weight:400;letter-spacing:0;
  background:var(--exec-bg);color:var(--exec-ink)
}
.shell{grid-template-columns:var(--exec-sidebar) minmax(0,1fr)}
.side{
  width:var(--exec-sidebar);padding:14px 10px 12px;align-items:stretch;
  background:linear-gradient(180deg,#081525 0%,#0a1a2e 56%,#07131f 100%);
  border-right:1px solid rgba(255,255,255,.075);box-shadow:none
}
.brand{
  width:100%;height:54px;margin:0 0 12px;padding:0 10px;display:flex;align-items:center;justify-content:flex-start;
  border-radius:8px;background:transparent;border:0
}
.brandLogoApp{content:url('/delancar-logo-blue-gold.svg');width:144px!important;height:auto!important;max-height:42px;object-fit:contain}
.side nav{gap:4px}
.side nav a{
  width:100%;height:42px;margin:0;padding:0 10px;border-radius:8px;
  display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;justify-items:start;
  font-size:12.5px;font-weight:500;letter-spacing:.005em;color:#b7c3d4;border:1px solid transparent
}
.side nav a::before{font-size:15px;width:20px;text-align:center;color:#8fa2bc}
.side nav a:hover{background:#ffffff0b;color:#eef4fb;border-color:#ffffff08}
.side nav a.oneActive{background:#ffffff0d;color:#fff;border-color:#ffffff0b;font-weight:600}
.side nav a.oneActive::before{color:var(--exec-gold-2)}
.side nav a.oneActive::after{left:-10px;width:2px;height:24px;background:var(--exec-gold-2)}
.main{padding:12px 16px 28px}
.top{
  min-height:66px;padding:10px 12px;margin-bottom:10px;border-radius:10px;
  background:rgba(255,255,255,.9);border:1px solid var(--exec-line);box-shadow:var(--exec-shadow);
  display:grid;grid-template-columns:minmax(200px,.7fr) minmax(320px,1.35fr) auto;gap:12px;align-items:center
}
.top>div:first-child{min-width:0}
.eyebrow{font-size:9px;font-weight:700;letter-spacing:.14em;color:#7a8798}
.top h1{font-size:26px;line-height:1.08;font-weight:650;letter-spacing:-.025em;margin:2px 0 0;color:var(--exec-ink)}
.top p{display:none}
.oneCommandBar{
  min-height:40px;padding:0 11px;border:1px solid var(--exec-line);border-radius:8px;background:var(--exec-panel-2);
  display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;color:var(--exec-muted);
  cursor:pointer;text-align:left
}
.oneCommandBar:hover{border-color:var(--exec-line-strong);background:#fff}
.oneCommandBar .oneCommandSearchIcon{font-size:14px;color:#75859a}
.oneCommandBar strong{font-size:12.5px;font-weight:450;color:#738197;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oneCommandBar kbd{font:600 9px/1 "Segoe UI",sans-serif;padding:4px 6px;border:1px solid #d5dde7;border-bottom-color:#c4cfdb;border-radius:5px;background:#fff;color:#667085}
.oneTopActions{gap:5px}
.oneIconBtn{width:38px;height:38px;border-radius:8px;font-size:13px;background:#fff;border-color:var(--exec-line);color:#344054}
.oneIconBtn:hover{background:#f8fafc;border-color:#bfcbd9}
.onePrimaryAction{min-width:118px!important;min-height:38px!important;font-size:11.5px!important;font-weight:650!important;border-radius:8px!important}
.oneCommandHint{display:none}
.card{
  border-radius:var(--exec-radius);padding:14px 15px;margin-bottom:10px;
  border:1px solid var(--exec-line);box-shadow:var(--exec-shadow);background:var(--exec-panel)
}
.card:hover{border-color:#cfd9e4}
.cardhead{margin-bottom:10px}
.card h2{font-size:18px;line-height:1.2;font-weight:650;letter-spacing:-.018em;color:var(--exec-ink)}
.kicker,.smartEyebrow{font-size:9px;line-height:1.2;font-weight:700;letter-spacing:.11em;color:#8a6813}
.muted,.tag{font-size:11.5px;line-height:1.5;color:var(--exec-muted)}
.badge,.pill{font-size:10px;font-weight:600;padding:4px 7px;border-radius:6px;background:#eef2f6;color:#536274}
.btn{
  min-height:38px;padding:0 12px;border-radius:8px;font-size:11.5px;font-weight:600;letter-spacing:0
}
.gold{background:linear-gradient(180deg,#f4cf58,#d9a72d);color:#1c2430;box-shadow:none;border-color:#c69622}
.ghost{background:#fff;border-color:var(--exec-line);color:#344054}
input,select{
  min-height:38px;border-radius:7px;padding:0 10px;font-size:12px;font-weight:400;
  border-color:var(--exec-line);background:#fff;color:var(--exec-ink)
}
label{font-size:10.5px;font-weight:600;color:#59687b;gap:4px}
.settingsGrid{gap:10px;margin:10px 0}
.toggles{gap:8px;margin:10px 0}
.toggles label{padding:10px;border-radius:8px;font-size:10.5px;background:#f8fafc;border:1px solid #e3e8ef}

/* Executive summary metrics */
.oneOverview{
  grid-template-columns:minmax(300px,1.45fr) repeat(3,minmax(150px,.62fr));gap:8px;margin-bottom:10px
}
.oneMetric{
  min-height:78px;padding:12px 13px;border-radius:9px;border-color:var(--exec-line);
  background:#fff;box-shadow:var(--exec-shadow);gap:3px
}
.oneMetric.primary{
  background:linear-gradient(135deg,#0b2038,#102d4f);border-color:#234668;color:#fff
}
.oneMetric span{font-size:9px;font-weight:700;letter-spacing:.1em;color:#78879a}
.oneMetric strong{font-size:17px;font-weight:650;letter-spacing:-.015em}
.oneMetric small{font-size:10.5px;color:#748297}
.oneMetric .oneValue{font-size:26px;font-weight:650;letter-spacing:-.025em}
.oneMetric.primary span{color:#aab8ca}
.oneMetric.primary small{color:#c2cedd}
.oneMetric.primary .oneValue,.oneMetric.primary strong{color:#fff}

/* Home executive cockpit */
body[data-one-view="home"] .main{
  grid-template-columns:minmax(0,1fr) 332px;gap:0 10px
}
body[data-one-view="home"] #task{
  top:88px;max-height:calc(100vh - 104px);border-left:2px solid #d6a72f
}
#oggi .timeline{max-height:220px}
.timeline .event,.timeline .task,.event,.task{
  grid-template-columns:68px minmax(0,1fr);gap:10px;padding:9px 2px;border-bottom-color:#e6ebf1
}
.time{font-size:11.5px;font-weight:650;color:#2f6da8}
.event strong,.task strong{font-size:12.5px;font-weight:600;color:#182230}
.event .tag,.task .tag{font-size:10.5px}
.empty{padding:14px;border-radius:8px;font-size:11.5px;background:#f7f9fb;color:#7a8797}
#task .cardhead{margin-bottom:8px}
#task .stack{margin:8px 0}
#task .two{gap:8px}
#task .full{margin-top:8px}

/* Agenda: designed for people with full calendars */
#agenda{min-height:calc(100vh - 190px)}
.agendaToolbar,.agendaPeriodRow{gap:10px}
.segmented{padding:3px;border-radius:8px;background:#f4f6f8;border-color:#d9e1ea}
.seg{min-height:32px;padding:0 11px;border-radius:6px;font-size:10.5px;font-weight:600}
.agendaPeriodRow{padding:9px 0}
.agendaPeriodRow strong{font-size:14px;font-weight:650}
.weekStrip{gap:5px}
.weekDay{
  min-height:56px;border-radius:8px;border:1px solid var(--exec-line)!important;background:#f8fafc!important;color:#344054!important;
  box-shadow:none!important
}
.weekDay:hover{border-color:#b7c5d5!important;background:#fff!important}
.weekDay.active{border-color:#d3a326!important;background:#fff7da!important;box-shadow:inset 0 0 0 1px #d3a326!important}
.weekDay b{font-size:10px!important;font-weight:650!important;color:#3b4a5d!important}
.weekDay strong{font-size:13px!important;font-weight:650!important;color:#1f2937!important}
.weekDay small{font-size:9.5px!important;color:#667085!important}
.agendaGroup{border:1px solid var(--exec-line);border-radius:8px;overflow:hidden;background:#fff}
.agendaGroupHead{padding:8px 10px;background:#f2f5f8;border-bottom:1px solid #dce4ed}
.agendaGroupHead strong{font-size:11.5px!important;font-weight:650;color:#334155}
.agendaItem{
  grid-template-columns:72px minmax(0,1fr) auto;padding:8px 10px;min-height:42px;border-bottom:1px solid #e5eaf0
}
.agendaItemTime{font-size:11px;font-weight:650;color:#2b6aa3}
.agendaItemTitle{font-size:12.5px;font-weight:600;line-height:1.3;color:#172033}
.agendaItemMeta{font-size:10px;line-height:1.3;color:#667085}
.agendaItemKind{font-size:9px;font-weight:600;color:#59687b}

/* Calendar/voice/system surfaces */
.providerGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.providerCard{
  min-height:72px;padding:10px;border-radius:9px;background:#fff;border-color:var(--exec-line);box-shadow:none
}
.providerCard:hover{transform:none;border-color:#b8c6d6;box-shadow:none;background:#fbfcfe}
.providerCard strong{font-size:12px;font-weight:600}.providerCard small{font-size:10px;line-height:1.35}
.providerIcon{width:34px;height:34px;border-radius:8px;font-size:15px}
.smartGuide{padding:12px 13px;border-radius:9px;background:linear-gradient(135deg,#10253e,#163652);box-shadow:none}
.smartGuide strong{font-size:13px;font-weight:600}.smartGuide small{font-size:10.5px}
.voiceProfiles{gap:8px}
.voiceProfile{min-height:76px;padding:11px;border-radius:9px;background:#fff}
.voiceProfile strong{font-size:12.5px;font-weight:650}.voiceProfile small{font-size:10px;line-height:1.35}.voiceProfile span{font-size:9px}
.realVoice{min-height:62px;padding:10px;border-radius:8px}.realVoice b{font-size:11.5px}.realVoice small,.realVoice span{font-size:9.5px}
.proActionGrid{gap:8px}.proAction{min-height:66px;padding:10px;border-radius:8px}.proAction b{font-size:11.5px}.proAction small{font-size:9.5px}

/* Health Center: no toy badges, stronger reading hierarchy */
.oneHealth{
  width:min(760px,calc(100vw - 30px));max-height:min(790px,calc(100vh - 40px));
  border-radius:12px;background:#fff;box-shadow:0 28px 90px rgba(15,23,42,.28)
}
.oneHealthHead{padding:18px 18px 14px}
.oneHealthHead h2{font-size:21px;font-weight:650;letter-spacing:-.02em}
.oneHealthHead p{font-size:11px;color:#667085}
.oneHealthHead>button{width:36px;height:36px;border-radius:7px;font-size:16px}
.oneHealthList{gap:6px;padding:10px 12px}
.oneHealthRow{
  grid-template-columns:36px minmax(0,1fr) auto 16px;gap:10px;padding:10px 11px;border-radius:8px;
  border-color:#dce4ed;background:#fff
}
.oneHealthRow:hover{background:#f8fafc;border-color:#c8d3df}
.oneHealthIcon{width:32px;height:32px;border-radius:7px;font-size:13px;background:#edf3fa;color:#2f67a4}
.oneHealthRow b{font-size:12px;font-weight:650;color:#1d2939}
.oneHealthRow small{font-size:10.5px;line-height:1.4;color:#667085}
.oneHealthState{
  font-size:9.5px;font-weight:600;padding:4px 7px;border-radius:5px;letter-spacing:0
}
.oneHealthRow.ok .oneHealthState{background:#eaf6f0;color:#276d56}
.oneHealthRow.warn .oneHealthState{background:#fff5d9;color:#805d0e}
.oneHealthRow.soft .oneHealthState{background:#eef2f6;color:#59687b}
.oneHealthFoot{padding:11px 12px;background:#f8fafc}
.oneHealthFoot .btn{min-height:38px}

/* Command palette */
.oneCommand{border-radius:12px;box-shadow:0 30px 100px rgba(15,23,42,.30)}
.oneCommandHead{padding:11px}.oneCommandHead input{min-height:42px;font-size:13px;background:#f6f8fb}
.oneCommandItem{grid-template-columns:34px 1fr auto;padding:9px 10px;border-radius:8px}
.oneCommandItem .ico{width:30px;height:30px;border-radius:7px;font-size:13px}
.oneCommandItem b{font-size:11.5px;font-weight:600}.oneCommandItem small{font-size:9.5px;line-height:1.35}.oneCommandItem kbd{font-size:9px}

/* Executive dark — navy/slate, readable, minimal glow */
html.one-dark body{
  --one-bg:#07101b;--one-surface:#0b1624;--one-surface-2:#101d2d;--one-ink:#f1f5f9;--one-muted:#9aa9ba;--one-line:#263548;
  background:#07101b;color:#eaf0f6
}
html.one-dark .side{background:linear-gradient(180deg,#07111e,#0a1828 62%,#07121f)}
html.one-dark .top,
html.one-dark .card,
html.one-dark .oneMetric,
html.one-dark .oneCommand,
html.one-dark .oneHealth{background:#0b1727;border-color:#26364a;color:#eaf0f6;box-shadow:none}
html.one-dark .top{background:rgba(10,22,38,.94)}
html.one-dark .top h1,
html.one-dark .card h2,
html.one-dark .agendaItemTitle,
html.one-dark .oneHealthRow b{color:#f4f7fb}
html.one-dark .eyebrow,
html.one-dark .oneMetric span,
html.one-dark .oneMetric small,
html.one-dark .muted,
html.one-dark .tag,
html.one-dark .oneHealthRow small{color:#9aa9ba}
html.one-dark .oneMetric.primary{background:linear-gradient(135deg,#102a49,#17395f);border-color:#31557d}
html.one-dark .oneCommandBar{background:#0f1d2f;border-color:#2b3d53;color:#9fb0c4}
html.one-dark .oneCommandBar strong{color:#9fb0c4}
html.one-dark .oneCommandBar kbd{background:#132238;border-color:#30435a;color:#aebdd0}
html.one-dark .oneIconBtn,
html.one-dark input,
html.one-dark select,
html.one-dark .ghost,
html.one-dark .realVoice,
html.one-dark .oneCommandItem,
html.one-dark .oneHealthRow{background:#101d2e;border-color:#2a3b50;color:#eaf0f6}
html.one-dark .oneIconBtn:hover,
html.one-dark .oneCommandItem:hover,
html.one-dark .oneHealthRow:hover{background:#142438;border-color:#3a4d63}
html.one-dark .weekDay{background:#101d2e!important;border-color:#2a3b50!important;color:#dbe5ef!important}
html.one-dark .weekDay:hover{background:#142438!important;border-color:#3a4d63!important}
html.one-dark .weekDay.active{background:#302812!important;border-color:#bd922c!important;box-shadow:inset 0 0 0 1px #bd922c!important}
html.one-dark .weekDay b{color:#b7c6d7!important}
html.one-dark .weekDay strong{color:#f2f6fa!important}
html.one-dark .weekDay small{color:#96a6b9!important}
html.one-dark .agendaGroup{background:#0d1928;border-color:#293a50}
html.one-dark .agendaGroupHead{background:#122137;border-color:#2b3d52}
html.one-dark .agendaGroupHead strong{color:#dce6f0}
html.one-dark .agendaItem{border-color:#233449}
html.one-dark .agendaItemTime{color:#70b7f2}
html.one-dark .agendaItemMeta{color:#91a3b7}
html.one-dark .providerCard,
html.one-dark .voiceProfile,
html.one-dark .source,
html.one-dark .toggles label,
html.one-dark .empty,
html.one-dark .smartGuide{background:#0f1d2d;border-color:#293a50;color:#eaf0f6}
html.one-dark .providerCard:hover{background:#132438;border-color:#3b4d63}
html.one-dark .oneHealthHead,html.one-dark .oneHealthFoot{background:#0d1928;border-color:#26364a}
html.one-dark .oneHealthIcon{background:#152a43;color:#87bff0}
html.one-dark .oneHealthRow.ok .oneHealthState{background:#123429;color:#88d1b5}
html.one-dark .oneHealthRow.warn .oneHealthState{background:#352d17;color:#e1bf5b}
html.one-dark .oneHealthRow.soft .oneHealthState{background:#182538;color:#a7b6c8}

/* Better density scaling without micro-type */
html.density-comfortable body{font-size:14.5px}
html.density-comfortable .card{padding:16px}
html.density-comfortable .agendaItem{padding-top:10px;padding-bottom:10px}
html.density-compact body{font-size:13.5px}
html.density-compact .agendaItem{padding-top:7px;padding-bottom:7px}

/* Responsive executive shell */
@media(max-width:1220px){
  :root{--exec-sidebar:158px}
  .side nav a{font-size:11.5px;padding-left:8px}
  .brandLogoApp{width:132px!important}
  .top{grid-template-columns:minmax(180px,.7fr) minmax(240px,1fr) auto}
  body[data-one-view="home"] .main{grid-template-columns:minmax(0,1fr) 300px}
  .oneOverview{grid-template-columns:minmax(250px,1.25fr) repeat(3,minmax(125px,.55fr))}
}
@media(max-width:960px){
  .top{grid-template-columns:1fr auto}
  .oneCommandBar{grid-column:1/-1;grid-row:2}
}
@media(max-width:820px){
  :root{--exec-sidebar:0px}
  .main{padding:8px 9px 78px!important}
  .top{grid-template-columns:1fr auto;gap:8px;min-height:58px}
  .top h1{font-size:20px}
  .oneCommandBar{display:none}
  .oneOverview{grid-template-columns:1fr 1fr}
  .oneMetric{min-height:70px}
  body[data-one-view="home"] .main{display:block}
  body[data-one-view="home"] #task{position:static;max-height:none;border-left:1px solid var(--exec-line)}
}
@media(max-width:560px){
  body{font-size:13px}
  .card{padding:12px}
  .card h2{font-size:17px}
  .oneOverview{grid-template-columns:1fr 1fr}
  .oneMetric.primary{grid-column:1/-1}
  .agendaItem{grid-template-columns:60px minmax(0,1fr);padding:8px}
  .agendaItemKind{display:none}
  .oneHealth{width:calc(100vw - 14px);max-height:calc(100vh - 20px)}
}


/* =========================================================
   DELANCAR 7 — COMMAND OS ULTRA
   One coherent professional interaction system
   ========================================================= */
:root{
  --v7-task-width:340px;
  --v7-side-width:202px;
  --v7-side-mini:74px;
  --v7-bg:#07111d;
  --v7-bg-soft:#0b1726;
  --v7-panel:#0d1a2a;
  --v7-panel-2:#111f31;
  --v7-line:#22354a;
  --v7-line-2:#2f455d;
  --v7-text:#eef4fa;
  --v7-muted:#91a4b8;
  --v7-blue:#5ba8ea;
  --v7-gold:#e0b64a;
  --v7-gold-2:#f1cf70;
  --v7-green:#61c89d;
  --v7-red:#de7a82;
  --v7-shadow:0 24px 80px rgba(0,0,0,.28);
  --v7-ease:cubic-bezier(.2,.78,.2,1);
}
body{
  transition:background .24s ease,color .24s ease;
}
html.one-dark body{
  background:
    radial-gradient(circle at 76% -18%,rgba(68,125,186,.14),transparent 34rem),
    radial-gradient(circle at 8% 100%,rgba(224,182,74,.055),transparent 30rem),
    linear-gradient(180deg,#06101b 0,#091522 46%,#06101a 100%);
}
html.one-dark body::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.16;
  background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.014) 1px,transparent 1px);
  background-size:32px 32px;
}
.shell{grid-template-columns:var(--v7-side-width) minmax(0,1fr);transition:grid-template-columns .22s var(--v7-ease)}
.side{
  width:var(--v7-side-width);transition:width .22s var(--v7-ease),padding .22s var(--v7-ease);
  background:linear-gradient(180deg,#071421 0%,#0a1d31 56%,#07131f 100%);
  border-right:1px solid rgba(255,255,255,.07)
}
.side nav a{position:relative;transition:background .16s ease,color .16s ease,transform .16s ease}
.side nav a:hover{transform:translateX(2px)}
.v7SideCollapsed .shell{grid-template-columns:var(--v7-side-mini) minmax(0,1fr)}
.v7SideCollapsed .side{width:var(--v7-side-mini);padding-left:9px;padding-right:9px}
.v7SideCollapsed .brandLogoApp{content:url('/icon.svg');width:38px!important}
.v7SideCollapsed .side nav a{width:52px;height:44px;margin:auto;padding:0;grid-template-columns:1fr;justify-items:center;font-size:0}
.v7SideCollapsed .side nav a::before{font-size:16px}
.v7SideCollapsed .side nav a.oneActive::after{left:-9px}

/* Command deck / live day pulse */
.v7CommandDeck{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:8px;align-items:center;
  min-height:58px;margin:-1px 0 10px;padding:8px 9px;
  border:1px solid var(--one-line);border-radius:12px;background:rgba(255,255,255,.88);
  backdrop-filter:blur(20px) saturate(1.18);box-shadow:0 10px 32px rgba(15,23,42,.06)
}
.one-dark .v7CommandDeck{background:rgba(9,21,36,.9);border-color:#263a50;box-shadow:0 14px 40px rgba(0,0,0,.18)}
.v7DeckBtn{
  width:38px;height:38px;border:1px solid var(--one-line);border-radius:9px;background:#fff;color:#344054;
  font:650 12px "Segoe UI Variable Text","Segoe UI",sans-serif;cursor:pointer;transition:.15s ease
}
.v7DeckBtn:hover,.v7DeckBtn.active{border-color:#c69b31;background:#fff9e7;color:#72510a;transform:translateY(-1px)}
.one-dark .v7DeckBtn{background:#102034;border-color:#2e435a;color:#d7e2ee}
.one-dark .v7DeckBtn:hover,.one-dark .v7DeckBtn.active{background:#302916;border-color:#bd9434;color:#f3d77b}
.v7CaptureBtn{font-size:20px;line-height:1}
.v7Pulse{display:grid;grid-template-columns:1fr auto;gap:4px 14px;align-items:center;min-width:0;padding:0 6px}
.v7PulseMain{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;min-width:0}
.v7PulseMain strong{font-size:18px;font-weight:700;letter-spacing:-.025em;color:var(--one-ink)}
.v7PulseMain span{font-size:11.5px;color:var(--one-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v7PulseStats{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.v7PulseStats span{
  padding:4px 7px;border:1px solid #dce4ed;border-radius:999px;background:#f8fafc;
  font-size:8.5px;font-weight:650;color:#65758a;white-space:nowrap
}
.v7PulseStats span.warn{background:#fff0e9;border-color:#f0c4af;color:#a04d2a}
.v7Pulse>i{grid-column:1/-1;height:3px;background:#e7ecf2;border-radius:999px;overflow:hidden}
.v7Pulse>i b{display:block;height:100%;width:0;background:linear-gradient(90deg,#d39f24,#f1ce68);transition:width .42s ease}
.one-dark .v7PulseMain strong{color:#eef4fa}.one-dark .v7PulseMain span{color:#97aabd}
.one-dark .v7PulseStats span{background:#102034;border-color:#2b4056;color:#9eb0c4}
.one-dark .v7PulseStats span.warn{background:#3a211d;border-color:#6e3b31;color:#f0aa8e}
.one-dark .v7Pulse>i{background:#1c2c40}

/* Core panels */
.card,.oneMetric,.providerCard,.voiceProfile,.realVoice,.agendaGroup,.oneCommandItem,.oneHealthRow{
  transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease
}
.card:hover{box-shadow:0 10px 28px rgba(15,23,42,.065)}
.one-dark .card:hover{box-shadow:0 12px 32px rgba(0,0,0,.18)}
body[data-one-view="home"] .main{grid-template-columns:minmax(0,1fr) var(--v7-task-width)}
#task{position:relative}
.v7Resize{position:absolute;left:-7px;top:0;bottom:0;width:12px;cursor:col-resize;z-index:5}
.v7Resize::after{content:"";position:absolute;left:5px;top:16px;bottom:16px;width:2px;border-radius:2px;background:transparent;transition:background .15s ease}
.v7Resize:hover::after{background:#b99438}

/* Agenda canvas */
.agendaGroup{position:relative;overflow:visible}
.agendaGroupHead{position:sticky;top:132px;z-index:4;backdrop-filter:blur(12px)}
.agendaItem,.v7TodayEvent,.v7TodayTask,.v7TaskRow{
  appearance:none;width:100%;border:0;background:transparent;text-align:left;color:inherit;cursor:pointer;position:relative
}
.agendaItem{grid-template-columns:74px minmax(0,1fr) auto 26px;min-height:48px}
.agendaItem::before,.v7TodayEvent::before,.v7TodayTask::before,.v7TaskRow::before{
  content:"";position:absolute;left:0;top:8px;bottom:8px;width:2px;border-radius:2px;background:#5d9ed8;opacity:.62
}
.v7TaskAgenda::before,.v7TodayTask::before,.v7TaskRow::before{background:#d5a933}
.agendaItem:hover,.v7TodayEvent:hover,.v7TodayTask:hover,.v7TaskRow:hover{background:rgba(84,162,232,.055)}
.agendaItem:focus-visible,.v7TodayEvent:focus-visible,.v7TodayTask:focus-visible,.v7TaskRow:focus-visible{outline:2px solid rgba(84,162,232,.52);outline-offset:-2px}
.agendaItemKind{transition:background .15s ease,color .15s ease}
.agendaItem:hover .agendaItemKind{background:#e8f2ff;color:#2d68a0}
.one-dark .agendaItem:hover .agendaItemKind{background:#17314d;color:#9ec8ef}
.v7RowCue{font-size:14px;color:#9aa7b6;opacity:0;transition:opacity .15s ease;align-self:center}
.agendaItem:hover .v7RowCue,.v7TodayTask:hover .v7RowCue,.v7TaskRow:hover>span:last-child{opacity:1}
.v7NowRail{
  position:relative;display:grid;grid-template-columns:74px auto minmax(20px,1fr);gap:8px;align-items:center;
  min-height:28px;padding:0 10px;color:#bf8e18
}
.v7NowRail span{font-size:8px;font-weight:800;letter-spacing:.12em}.v7NowRail b{font-size:10px}.v7NowRail i{height:1px;background:linear-gradient(90deg,#d9aa37,transparent)}
.v7NowRail::before{content:"";position:absolute;left:3px;width:7px;height:7px;border-radius:50%;background:#ddb23f;box-shadow:0 0 0 4px rgba(221,178,63,.11)}
.v7NowRail.end{margin-top:2px}
.v7TaskRow{
  display:grid!important;grid-template-columns:58px minmax(0,1fr) 22px!important;gap:9px;align-items:center;
  min-height:50px;padding:8px 6px 8px 10px!important;border-bottom:1px solid #e8edf2!important;border-radius:7px
}
.v7TaskRow b{display:block;font-size:11.5px;font-weight:620}.v7TaskRow small{display:block;margin-top:1px;font-size:9px;color:#7a8899}
.v7TaskRow.done{opacity:.58}.v7TaskRow.done b{text-decoration:line-through}
.one-dark .v7TaskRow{border-bottom-color:#223449!important}.one-dark .v7TaskRow small{color:#8fa2b6}
.v7TodayTask{grid-template-columns:62px minmax(0,1fr) 22px!important;border-radius:7px}
.v7TodayTask label{min-width:0}.v7TodayTask label span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v7Dragging [data-v7-drop-date]{transition:box-shadow .12s ease,border-color .12s ease,background .12s ease}
.v7Dragging [data-v7-drop-date]{box-shadow:inset 0 0 0 1px rgba(84,162,232,.18)}
.v7DropTarget{border-color:#d5a632!important;background:#fff6d8!important;box-shadow:inset 0 0 0 2px rgba(213,166,50,.22)!important;transform:translateY(-1px)}
.one-dark .v7DropTarget{background:#312914!important;border-color:#c39a35!important}

/* Inspector — editable task drawer */
.v7Inspector{
  position:fixed;z-index:160;top:10px;right:10px;bottom:10px;width:min(420px,calc(100vw - 20px));
  display:grid;grid-template-rows:auto 1fr auto;transform:translateX(calc(100% + 30px));
  transition:transform .23s var(--v7-ease);background:#fff;border:1px solid #d8e1eb;border-radius:14px;
  box-shadow:0 28px 100px rgba(15,23,42,.26);overflow:hidden
}
.v7Inspector.open{transform:translateX(0)}
.v7InspectorHead{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #e4eaf0}
.v7InspectorHead span{font-size:9px;font-weight:800;letter-spacing:.13em;color:#7b8796}
.v7InspectorHead button{width:32px;height:32px;border:0;border-radius:8px;background:#f2f5f8;color:#445268;font-size:18px;cursor:pointer}
.v7InspectorBody{padding:18px 16px;overflow:auto}
.v7InspectorType{font-size:9px;font-weight:800;letter-spacing:.12em;color:#8a6714}
.v7InspectorBody h2{font-size:25px;line-height:1.14;letter-spacing:-.025em;margin:7px 0 14px;color:#142033}
.v7InspectorTime{font-size:13px;font-weight:620;color:#334155;margin-bottom:8px}
.v7InspectorMeta{font-size:11.5px;line-height:1.55;color:#6b7789}
.v7InspectorForm{display:grid;gap:12px;margin:10px 0 14px}
.v7InspectorForm label{font-size:10px}.v7InspectorForm input{min-height:42px;font-size:12.5px}
.v7InspectorGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.v7InspectorActions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:12px;border-top:1px solid #e3e9ef;background:#f8fafc}
.v7InspectorActions .dangerSoft{background:#fff1f2;border:1px solid #efc8cd;color:#9c3b47}
.one-dark .v7Inspector{background:#0b1726;border-color:#27394e;color:#edf4fa;box-shadow:0 30px 100px rgba(0,0,0,.46)}
.one-dark .v7InspectorHead{border-color:#27394e}.one-dark .v7InspectorHead button{background:#13243a;color:#dce6f1}
.one-dark .v7InspectorBody h2{color:#f3f7fb}.one-dark .v7InspectorTime{color:#c4d0dd}.one-dark .v7InspectorMeta{color:#93a5b8}
.one-dark .v7InspectorActions{background:#0d1929;border-color:#27394e}
.one-dark .v7InspectorForm input{background:#102034;border-color:#2e435a;color:#eef4fa}
.one-dark .v7InspectorActions .dangerSoft{background:#341c22;border-color:#68313b;color:#ef9aa4}

/* Quick Capture */
.v7Capture{
  width:min(720px,calc(100vw - 24px));padding:0;border:0;border-radius:15px;background:#fff;color:#172033;
  box-shadow:0 34px 120px rgba(7,17,29,.36);overflow:hidden
}
.v7Capture::backdrop{background:rgba(3,11,20,.62);backdrop-filter:blur(10px)}
.v7CaptureHead{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #e4eaf0}
.v7CaptureHead span{font-size:9px;font-weight:800;letter-spacing:.14em;color:#7a8798}
.v7CaptureHead button{width:32px;height:32px;border:0;border-radius:8px;background:#f1f4f7;color:#445268;font-size:18px}
.v7CaptureBody{padding:18px}
.v7CaptureBody>input{height:56px;font-size:18px!important;font-weight:520;letter-spacing:-.01em;border-radius:10px!important;padding:0 14px!important}
.v7CapturePreview{
  margin-top:10px;padding:11px 12px;border:1px solid #dce5ee;border-radius:9px;background:#f8fafc;
  display:flex;align-items:center;justify-content:space-between;gap:12px
}
.v7CapturePreview b{font-size:12px}.v7CapturePreview span{font-size:10px;color:#68788c}
.v7CaptureHints{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.v7CaptureHints span{padding:4px 6px;border-radius:5px;background:#f1f4f7;color:#78879a;font-size:8.5px}
.v7CaptureActions{display:flex;justify-content:flex-end;gap:7px;padding:11px 12px;border-top:1px solid #e4eaf0;background:#fafbfd}
.one-dark .v7Capture{background:#0b1726;color:#eef4fa}
.one-dark .v7CaptureHead,.one-dark .v7CaptureActions{border-color:#27394e;background:#0d1929}
.one-dark .v7CaptureHead button{background:#13243a;color:#dce6f1}
.one-dark .v7CaptureBody>input,.one-dark .v7CapturePreview{background:#102034;border-color:#2d4258;color:#eef4fa}
.one-dark .v7CapturePreview span{color:#98aabd}.one-dark .v7CaptureHints span{background:#13243a;color:#9fb0c3}

/* Toast / undo */
.v7Toast{
  position:fixed;z-index:220;left:50%;bottom:24px;transform:translate(-50%,18px);opacity:0;pointer-events:none;
  display:flex;align-items:center;gap:12px;min-height:48px;max-width:min(620px,calc(100vw - 24px));padding:9px 10px 9px 14px;
  border:1px solid #263a50;border-radius:10px;background:#091827;color:#eef4fa;box-shadow:0 18px 55px rgba(0,0,0,.28);
  transition:opacity .18s ease,transform .18s var(--v7-ease)
}
.v7Toast.show{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.v7Toast span{font-size:11px}.v7Toast button{border:0;border-radius:7px;padding:7px 9px;background:#e2b543;color:#16202d;font-size:10px;font-weight:700}

/* Focus mode */
.v7Focus .side,.v7Focus .oneOverview,.v7Focus #oggi,.v7Focus #task,.v7Focus footer{display:none!important}
.v7Focus .shell{grid-template-columns:1fr!important}
.v7Focus .main{grid-column:1!important;max-width:1220px!important;margin:0 auto!important;padding:12px 18px!important;display:block!important}
.v7Focus .top{position:sticky;top:8px}
.v7Focus #agenda{display:block!important;min-height:calc(100vh - 140px);border-color:#b89437}
.v7Focus .v7CommandDeck{position:sticky;top:86px;z-index:70}
.v7Focus .agendaCard{box-shadow:0 18px 60px rgba(15,23,42,.10)}
.one-dark.v7Focus .agendaCard{box-shadow:0 22px 70px rgba(0,0,0,.26)}

/* Command search */
.oneCommand{width:min(780px,calc(100vw - 24px));border-radius:14px}
.oneCommandList{max-height:640px}
.oneCommandItem{min-height:56px;border-radius:9px}
.oneCommandItem b{font-size:12px}.oneCommandItem small{font-size:10px}
.oneCommandItem:hover{transform:translateX(2px)}

/* Calendar hover */
.weekDay,.monthCell{transition:transform .14s ease,border-color .14s ease,background .14s ease,box-shadow .14s ease}
.weekDay:hover,.monthCell:hover{transform:translateY(-1px)}

/* Mobile command OS */
@media(max-width:900px){
  :root{--v7-side-width:0px}
  .v7SideCollapsed .shell,.shell{grid-template-columns:1fr}
  .v7Resize{display:none}
  body[data-one-view="home"] .main{display:block}
  .v7CommandDeck{grid-template-columns:auto minmax(0,1fr) auto auto}
  .v7PulseStats{display:none}
  .v7InspectorGrid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .v7CommandDeck{margin-top:0;padding:6px}
  .v7PulseMain strong{font-size:16px}.v7PulseMain span{font-size:9.5px}
  .v7Inspector{top:6px;right:6px;bottom:6px;width:calc(100vw - 12px);border-radius:12px}
  .v7Capture{width:calc(100vw - 12px);border-radius:12px}
  .v7CaptureBody{padding:13px}.v7CaptureBody>input{height:50px;font-size:15px!important}
  .v7CapturePreview{align-items:flex-start;flex-direction:column}
  .v7CaptureActions{display:grid;grid-template-columns:1fr}
  .v7Toast{bottom:76px;width:calc(100vw - 18px)}
}



/* DELANCAR 8 — FLOW OS VISUAL REFINEMENT */
:root{--v8-navy:#06172d;--v8-navy2:#0a2851;--v8-blue:#1768d6;--v8-gold:#f2bd3e;--v8-paper:#eef3f8;--v8-line:#d7e1ed}
body{background:linear-gradient(180deg,#eef3f8,#f7f9fc)!important;color:#0a1930!important}
.side{background:linear-gradient(180deg,#06172d,#081e3b)!important;border-right:1px solid #1d4068!important}
.side nav a{border-radius:7px!important;color:#c5d3e4!important}.side nav a:hover,.side nav a.active{background:#153960!important;color:#fff!important}
.main{background:transparent!important}.top{border-bottom:1px solid #d9e3ee!important}
.card,.heroCard,.agendaCard,.proControl{border-radius:11px!important;border-color:#d7e1ed!important;box-shadow:0 8px 28px rgba(7,30,60,.055)!important}
.btn,.seg,.providerCard,.proAction,.voiceProfile,.playerMain,.playerIcon,.playerAction{border-radius:8px!important}
input,select,textarea{border-radius:7px!important;background:#fff!important;color:#101b2e!important;border-color:#c7d5e6!important}
input:focus,select:focus,textarea:focus{border-color:#1768d6!important;box-shadow:0 0 0 3px rgba(23,104,214,.1)!important}
.btn.gold{background:linear-gradient(135deg,#ffd95d,#f2bd3e)!important;color:#06172d!important;box-shadow:0 8px 22px rgba(242,189,62,.16)!important}
.kicker,.smartEyebrow{color:#1768d6!important}.badge{border-radius:6px!important}
.v8ModeBanner{min-height:40px;margin:0 0 14px;padding:9px 12px;display:flex;align-items:center;gap:12px;background:#071a35;color:#d4dfec;border:1px solid #24476f;border-left:4px solid #f2bd3e;border-radius:8px;font-size:12px}
.v8ModeBanner b{color:#ffd95d;letter-spacing:.08em}.v8ModeBanner span{flex:1}.v8ModeBanner a{color:#fff;font-weight:700}
.providerCard{border-color:#d1ddeb!important;background:#fff!important}.providerCard:hover{border-color:#1768d6!important}
.voicePlayer{border-radius:11px!important;box-shadow:0 24px 60px rgba(5,20,42,.22)!important}
@media(max-width:700px){.v8ModeBanner{align-items:flex-start;flex-direction:column;gap:4px}.v8ModeBanner span{flex:none}.card{border-radius:9px!important}}


/* =========================================================
   DELAN 8 SUPREME UI 2026-10-02
   Visual-only modernization layer. Keeps runtime IDs/flows intact.
   ========================================================= */
:root{
  --sup-bg:#eef2f6;
  --sup-surface:#ffffff;
  --sup-surface-2:#f7f9fc;
  --sup-surface-3:#edf2f7;
  --sup-ink:#101828;
  --sup-muted:#667085;
  --sup-faint:#98a2b3;
  --sup-line:#d6dee8;
  --sup-line-strong:#bcc8d6;
  --sup-navy:#071625;
  --sup-navy-2:#0a2038;
  --sup-blue:#1668d8;
  --sup-blue-deep:#0d4ba0;
  --sup-blue-soft:#eaf2ff;
  --sup-gold:#d6a32c;
  --sup-gold-2:#f1cc61;
  --sup-green:#16785a;
  --sup-red:#a63f4d;
  --sup-radius:12px;
  --sup-radius-sm:9px;
  --sup-shadow:0 1px 2px rgba(16,24,40,.035),0 8px 26px rgba(16,24,40,.055);
  --sup-shadow-float:0 22px 65px rgba(6,24,45,.16);
  --sup-side:204px;
}
html{background:var(--sup-bg)}
body{
  background:
    radial-gradient(circle at 76% -10%,rgba(22,104,216,.075),transparent 32rem),
    linear-gradient(180deg,#f3f6f9 0%,#edf1f5 100%);
  color:var(--sup-ink);
  font-size:14px;
  line-height:1.45;
  letter-spacing:0;
}
.shell{grid-template-columns:var(--sup-side) minmax(0,1fr)}
.side{
  width:var(--sup-side);
  padding:14px 10px 12px;
  background:
    radial-gradient(circle at 24% 0%,rgba(41,112,185,.22),transparent 17rem),
    linear-gradient(180deg,#071625 0%,#081a2d 55%,#06121e 100%);
  border-right:1px solid rgba(255,255,255,.08);
  box-shadow:none;
}
.brand{
  height:52px;
  padding:0 9px;
  margin:0 0 5px;
  border-radius:9px;
}
.brandLogoApp{width:146px!important;max-height:39px}
.tagline{
  margin:0 10px 15px;
  font-size:10px;
  line-height:1;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:#768ba6;
}
.side nav{gap:5px}
.side nav a{
  min-height:43px;
  padding:0 10px;
  border-radius:9px;
  grid-template-columns:22px minmax(0,1fr);
  font-size:12.5px;
  font-weight:560;
  color:#afbdcf;
}
.side nav a::before{
  width:18px;
  font-size:14px;
  color:#8295ad;
}
.side nav a:hover{
  transform:none;
  background:rgba(255,255,255,.055);
  color:#fff;
}
.side nav a.oneActive{
  color:#fff;
  background:linear-gradient(90deg,rgba(255,255,255,.10),rgba(255,255,255,.045));
  border-color:rgba(255,255,255,.07);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025);
}
.side nav a.oneActive::before{color:var(--sup-gold-2)}
.side nav a.oneActive::after{
  left:-10px;
  width:2px;
  height:22px;
  background:var(--sup-gold-2);
}
.sidefoot{
  margin-top:auto;
  padding:9px 7px 0;
  border-top:1px solid rgba(255,255,255,.06);
}
.sidefoot .pill{
  border:0;
  background:rgba(255,255,255,.055);
  color:#8294aa;
  font-size:8px;
  padding:4px 6px;
}
.main{
  max-width:none;
  padding:12px 16px 30px;
}
.v8ModeBanner{
  min-height:34px;
  margin:0 0 8px;
  padding:5px 9px;
  border-radius:8px;
  border:1px solid #d8e0e9;
  background:rgba(255,255,255,.74);
  box-shadow:none;
  color:#69788b;
  font-size:9px;
}
.v8ModeBanner b{color:#2a3c51;font-size:9px;letter-spacing:.09em}
.v8ModeBanner a{color:#345b89;font-weight:650}
.top{
  position:sticky;
  top:8px;
  z-index:35;
  min-height:64px;
  padding:9px 10px;
  margin:0 0 8px;
  border:1px solid rgba(197,208,220,.92);
  border-radius:11px;
  background:rgba(250,252,254,.93);
  backdrop-filter:blur(18px) saturate(1.25);
  box-shadow:0 6px 24px rgba(16,24,40,.055);
  display:grid;
  grid-template-columns:minmax(180px,.68fr) minmax(330px,1.38fr) auto;
  gap:10px;
  align-items:center;
}
.top>div:first-child{min-width:0}
.top .eyebrow{
  font-size:8.5px;
  letter-spacing:.14em;
  color:#7b899a;
}
.top h1{
  margin:1px 0 0;
  font-size:24px;
  line-height:1.06;
  font-weight:650;
  letter-spacing:-.028em;
  color:var(--sup-ink);
}
.top p{display:none}
.oneCommandBar{
  min-height:41px;
  padding:0 10px;
  border-radius:8px;
  border:1px solid #d5dde7;
  background:#fff;
  box-shadow:inset 0 1px 0 #fff;
  color:#657487;
}
.oneCommandBar:hover{
  border-color:#b8c5d5;
  background:#fff;
  box-shadow:0 3px 12px rgba(16,24,40,.045);
}
.oneCommandBar strong{
  font-size:12px;
  font-weight:500;
  color:#738196;
}
.oneCommandBar kbd{
  border-radius:5px;
  border-color:#d3dbe5;
  background:#f6f8fa;
  color:#69788a;
}
.oneTopActions{gap:5px}
.oneIconBtn{
  width:38px;height:38px;
  border-radius:8px;
  background:#fff;
  border:1px solid #d5dde7;
  color:#30435a;
  box-shadow:none;
}
.oneIconBtn:hover{
  background:#f8fafc;
  border-color:#bfcbd8;
  transform:none;
}
.onePrimaryAction{
  min-width:112px!important;
  min-height:38px!important;
  border-radius:8px!important;
  font-size:11.5px!important;
}
.v7CommandDeck{
  min-height:52px;
  margin:0 0 8px;
  padding:7px 8px;
  gap:7px;
  border-radius:10px;
  border:1px solid #d5dee8;
  background:rgba(255,255,255,.86);
  box-shadow:0 4px 14px rgba(16,24,40,.035);
}
.v7DeckBtn{
  width:36px;height:36px;
  border-radius:8px;
  border-color:#d6dee8;
  color:#3a4a5d;
}
.v7DeckBtn:hover,.v7DeckBtn.active{
  transform:none;
  background:#fff8e7;
  border-color:#d8b45d;
  color:#745818;
}
.v7PulseMain strong{font-size:17px}
.v7PulseMain span{font-size:11px;color:#66768a}
.v7PulseStats span{
  padding:3px 7px;
  border-radius:6px;
  background:#f7f9fb;
  border-color:#dde4ec;
  color:#68788b;
  font-size:8.5px;
}
.v7Pulse>i{height:2px;background:#e6ebf0}
.v7Pulse>i b{background:linear-gradient(90deg,#c89520,#efcb63)}

/* Executive overview */
.oneOverview{
  gap:8px;
  margin:0 0 8px;
  grid-template-columns:minmax(310px,1.45fr) repeat(3,minmax(145px,.58fr));
}
.oneMetric{
  min-height:76px;
  padding:11px 12px;
  border-radius:10px;
  border:1px solid var(--sup-line);
  background:rgba(255,255,255,.95);
  box-shadow:0 2px 10px rgba(16,24,40,.035);
}
.oneMetric:hover{
  border-color:#c1ccd8;
  box-shadow:0 5px 15px rgba(16,24,40,.05);
}
.oneMetric.primary{
  background:
    radial-gradient(circle at 90% 0%,rgba(48,119,202,.20),transparent 14rem),
    linear-gradient(135deg,#08192b,#0b2a4a);
  border-color:#1d3f62;
  box-shadow:0 8px 22px rgba(8,25,43,.12);
}
.oneMetric span{
  font-size:8.5px;
  font-weight:700;
  letter-spacing:.12em;
  color:#7f8da0;
}
.oneMetric strong{
  font-size:16px;
  font-weight:650;
  letter-spacing:-.01em;
}
.oneMetric .oneValue{font-size:25px}
.oneMetric small{font-size:9.5px;color:#778599}
.oneMetric.primary span{color:#9eb0c4}
.oneMetric.primary small{color:#b8c5d5}

/* Surfaces */
.card{
  margin-bottom:8px;
  padding:13px 14px;
  border-radius:11px;
  border:1px solid var(--sup-line);
  background:rgba(255,255,255,.96);
  box-shadow:0 2px 10px rgba(16,24,40,.035);
}
.card:hover{
  border-color:#cad4df;
  box-shadow:0 3px 13px rgba(16,24,40,.045);
}
.cardhead{margin-bottom:9px}
.card h2{
  margin:2px 0 0;
  font-size:17px;
  line-height:1.18;
  font-weight:650;
  letter-spacing:-.017em;
  color:#152033;
}
.kicker,.smartEyebrow{
  font-size:8.5px;
  font-weight:750;
  letter-spacing:.12em;
  color:#8a6714;
}
.muted,.tag{font-size:11.25px;line-height:1.5;color:#67768a}
.badge,.pill{
  padding:4px 7px;
  border-radius:6px;
  background:#eef2f6;
  color:#58687a;
  font-size:9.5px;
  font-weight:650;
}
.btn{
  min-height:37px;
  padding:0 11px;
  border-radius:8px;
  font-size:11.25px;
  font-weight:650;
  box-shadow:none;
}
.gold{
  color:#1d2530;
  background:linear-gradient(180deg,#f2ce5f,#d8a832);
  border-color:#c99927;
}
.gold:hover{filter:brightness(.99)}
.ghost{
  background:#fff;
  color:#344054;
  border-color:#d4dde7;
}
.ghost:hover{background:#f8fafc;border-color:#bdc9d6}
input,select,textarea{
  border-radius:7px;
  border-color:#d5dee8;
  background:#fff;
  color:#182230;
  box-shadow:none;
}
input:focus,select:focus,textarea:focus{
  border-color:#7ca6d6;
  outline:3px solid rgba(22,104,216,.10);
}
label{color:#59697b;font-size:10.5px}

/* Home = one operational cockpit */
body[data-one-view="home"] .main{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(290px,340px);
  grid-template-areas:
    "banner banner"
    "top top"
    "deck deck"
    "overview overview"
    "today tasks"
    "agenda tasks"
    "player player"
    "foot foot";
  gap:0 8px;
}
body[data-one-view="home"] .v8ModeBanner{grid-area:banner}
body[data-one-view="home"] .top{grid-area:top}
body[data-one-view="home"] .v7CommandDeck{grid-area:deck}
body[data-one-view="home"] .oneOverview{grid-area:overview}
body[data-one-view="home"] #oggi{grid-area:today}
body[data-one-view="home"] #agenda{grid-area:agenda}
body[data-one-view="home"] #task{
  grid-area:tasks;
  position:sticky;
  top:84px;
  align-self:start;
  max-height:calc(100vh - 98px);
  overflow:auto;
  border-top:2px solid #d7a82f;
}
body[data-one-view="home"] #voicePlayer{grid-area:player}
body[data-one-view="home"] footer{grid-area:foot}
#oggi{
  min-height:0;
  background:linear-gradient(180deg,#fff,#fbfcfd);
}
#oggi .timeline{max-height:205px;overflow:auto}
#oggi .actions{
  padding-top:7px;
  border-top:1px solid #edf0f3;
}
.timeline .event,.timeline .task,.event,.task{
  padding:8px 2px;
  border-bottom:1px solid #e9edf2;
}
.event strong,.task strong{font-size:12px;font-weight:620;color:#1d2939}
.time{font-size:11px;font-weight:700;color:#2e6ea8}

/* Agenda gets visual priority */
#agenda{
  min-height:calc(100vh - 252px);
  border-color:#cfd8e3;
}
.agendaToolbar{
  align-items:center;
  padding:7px 0;
  border-top:1px solid #edf0f3;
  border-bottom:1px solid #edf0f3;
}
.segmented{
  padding:3px;
  border-radius:8px;
  border:1px solid #d8e0e9;
  background:#f4f6f8;
}
.seg{
  min-height:31px;
  padding:0 10px;
  border-radius:6px;
  color:#5e6c7c;
  font-size:10.5px;
  font-weight:650;
}
.seg.active{
  background:#fff;
  color:#173a62;
  box-shadow:0 1px 3px rgba(16,24,40,.08);
}
.agendaPeriodRow{padding:9px 0}
.agendaPeriodRow strong{font-size:13.5px}
.weekStrip{gap:5px}
.weekDay{
  min-height:54px!important;
  border-radius:8px!important;
  background:#f8fafc!important;
  border:1px solid #d9e1ea!important;
  box-shadow:none!important;
}
.weekDay:hover{background:#fff!important;border-color:#bcc8d6!important}
.weekDay.active{
  background:#fff9e8!important;
  border-color:#d7b154!important;
  box-shadow:inset 0 0 0 1px #e0bd68!important;
}
.agendaGroup{
  border:1px solid #d9e1ea;
  border-radius:8px;
  background:#fff;
  overflow:hidden;
}
.agendaGroupHead{
  top:126px;
  padding:8px 10px;
  border-bottom:1px solid #dfe5eb;
  background:rgba(245,247,250,.96);
}
.agendaItem{
  min-height:42px;
  padding:8px 10px;
  border-bottom:1px solid #e8edf2;
}
.agendaItem:hover{background:#f8fbff}
.agendaItemTime{color:#2d699f;font-weight:700}
.agendaItemTitle{font-size:12.25px;font-weight:620;color:#1c2737}
.agendaItemMeta{font-size:9.75px;color:#6b7889}
.agendaItemKind{
  font-size:8.5px;
  padding:3px 6px;
  border-radius:5px;
  background:#f1f4f7;
  color:#5f6c7c;
}

/* Task rail */
#task .cardhead{
  position:sticky;
  top:0;
  z-index:3;
  padding:2px 0 8px;
  background:linear-gradient(180deg,#fff 78%,rgba(255,255,255,.88));
}
#task .stack{margin:6px 0 10px}
.v7TaskRow{
  border-radius:7px;
  border:1px solid transparent;
  padding:7px 7px;
}
.v7TaskRow:hover{
  background:#f7faff;
  border-color:#dbe4ee;
}
#task input{min-height:36px}
#task .full{margin-top:7px}

/* Calendars */
body[data-one-view="calendar"] .main,
body[data-one-view="voice"] .main,
body[data-one-view="system"] .main{
  max-width:1360px;
  margin:0 auto;
  padding-left:16px;
}
body[data-one-view="calendar"] #calendari,
body[data-one-view="voice"] #voce{
  min-height:calc(100vh - 104px);
}
.providerGrid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.providerCard{
  min-height:76px;
  padding:10px;
  border-radius:9px;
  background:#fff;
  border-color:#d6dee8;
  box-shadow:none;
}
.providerCard:hover{
  transform:none;
  background:#fbfdff;
  border-color:#b7c4d2;
}
.providerCard strong{font-size:11.75px}
.providerCard small{font-size:9.7px;color:#6d7b8c}
.providerIcon{width:34px;height:34px;border-radius:8px}
.smartGuide{
  margin-bottom:10px;
  padding:11px 12px;
  border-radius:9px;
  background:
    radial-gradient(circle at 92% 10%,rgba(50,122,204,.20),transparent 10rem),
    linear-gradient(135deg,#0a2037,#103557);
  box-shadow:none;
}
.source,.feedConnection{
  border-radius:8px;
  border-color:#dde4ec;
}
.calendarDialog{
  border-radius:13px;
  box-shadow:var(--sup-shadow-float);
}

/* Voice */
.voiceProfiles{gap:8px}
.voiceProfile{
  min-height:74px;
  padding:10px;
  border-radius:9px;
  border-color:#d8e0e8;
  background:#fff;
}
.voiceProfile:hover{transform:none;border-color:#b9c6d4}
.voiceProfile.active{
  background:#fff9e7;
  border-color:#d6b04e;
  box-shadow:inset 0 0 0 1px rgba(214,176,78,.25);
}
.realVoice{
  border-radius:8px;
  border-color:#dae2eb;
  background:#fff;
}
.realVoice.active{
  border-color:#cda83e;
  background:#fffaf0;
}

/* System */
.proActionGrid{
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:7px;
}
.proAction{
  min-height:62px;
  padding:9px;
  border-radius:9px;
  border-color:#d8e0e8;
  background:#fff;
}
.proAction:hover{transform:none;background:#f8fbff;border-color:#bdc9d6}
.proAction b{font-size:10.5px}
.proAction small{font-size:8.5px;color:#758396}

/* Dialogs / overlays */
.oneCommand,.oneHealth,.v7Capture,.v7Inspector{
  border-radius:13px!important;
  box-shadow:0 28px 90px rgba(5,21,41,.28)!important;
}
.oneCommand::backdrop,.oneHealth::backdrop,.v7Capture::backdrop,.v7Inspector::backdrop{
  background:rgba(5,15,29,.46);
  backdrop-filter:blur(6px);
}
.oneCommandItem{
  border-radius:8px;
  padding:8px;
}
.oneCommandItem:hover,.oneCommandItem:focus{background:#f4f7fb}
.oneHealthRow{
  border-radius:8px;
  padding:8px 9px;
}
.v7Toast{
  border-radius:9px;
  box-shadow:0 18px 55px rgba(5,20,40,.18);
}

/* Voice player: utility, not a huge floating card */
.voicePlayer{
  border-radius:10px;
  border:1px solid #d6dee8;
  background:rgba(255,255,255,.97);
  box-shadow:0 12px 38px rgba(16,24,40,.12);
}
.voicePlayerTop{padding:9px 10px}
.voicePlayerControls{gap:6px;padding:8px 10px}

/* Better focus states */
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:2px solid rgba(22,104,216,.72);
  outline-offset:2px;
}

/* Dark mode */
html.one-dark body{
  --sup-bg:#050a12;
  --sup-surface:#091321;
  --sup-surface-2:#0c1928;
  --sup-ink:#eff5fb;
  --sup-muted:#96a6ba;
  --sup-line:#203247;
  background:
    radial-gradient(circle at 74% -10%,rgba(30,105,190,.15),transparent 30rem),
    linear-gradient(180deg,#050a12,#07101b 60%,#050b13);
}
html.one-dark .top,
html.one-dark .v7CommandDeck,
html.one-dark .card,
html.one-dark .oneMetric,
html.one-dark .providerCard,
html.one-dark .voiceProfile,
html.one-dark .realVoice,
html.one-dark .oneCommand,
html.one-dark .oneHealth,
html.one-dark .voicePlayer{
  background:rgba(8,20,34,.96);
  border-color:#203449;
  color:#edf4fb;
}
html.one-dark .v8ModeBanner{
  background:#081421;
  border-color:#1d3044;
  color:#8ea0b4;
}
html.one-dark .v8ModeBanner b{color:#d9e5f1}
html.one-dark .top h1,
html.one-dark .card h2,
html.one-dark .agendaItemTitle,
html.one-dark .oneMetric strong{color:#f2f7fc}
html.one-dark .oneCommandBar,
html.one-dark .oneIconBtn,
html.one-dark .v7DeckBtn,
html.one-dark .ghost,
html.one-dark input,
html.one-dark select,
html.one-dark textarea{
  background:#0c1a2a;
  border-color:#253b52;
  color:#e8f0f8;
}
html.one-dark .oneCommandBar strong{color:#91a3b8}
html.one-dark .agendaGroup,
html.one-dark .weekDay,
html.one-dark .source,
html.one-dark .feedConnection{
  background:#091827!important;
  border-color:#22384f!important;
}
html.one-dark .agendaGroupHead{
  background:rgba(11,28,46,.96);
  border-color:#22384f;
}
html.one-dark .agendaItem{border-color:#1d3044}
html.one-dark .agendaItem:hover{background:#0d2035}
html.one-dark .segmented{background:#07131f;border-color:#21374d}
html.one-dark .seg.active{background:#173a64;color:#fff}
html.one-dark .providerCard:hover,
html.one-dark .proAction:hover{background:#0e2136}
html.one-dark .voiceProfile.active,
html.one-dark .realVoice.active{
  background:#2a240f;
  border-color:#a88732;
}
html.one-dark #task .cardhead{
  background:linear-gradient(180deg,#081422 78%,rgba(8,20,34,.88));
}
html.one-dark .oneMetric.primary{
  background:
    radial-gradient(circle at 90% 0%,rgba(49,123,207,.22),transparent 14rem),
    linear-gradient(135deg,#071a2d,#0a2e54);
}

/* Responsive */
@media(max-width:1180px){
  :root{--sup-side:184px}
  .oneOverview{grid-template-columns:1.35fr repeat(3,.62fr)}
  body[data-one-view="home"] .main{grid-template-columns:minmax(0,1fr) 292px}
  .top{grid-template-columns:minmax(160px,.58fr) minmax(260px,1.2fr) auto}
  .proActionGrid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:900px){
  .top{grid-template-columns:minmax(150px,.7fr) minmax(230px,1.3fr) auto}
  .oneTopActions .oneIconBtn:nth-child(3){display:none}
  .oneOverview{grid-template-columns:1.5fr repeat(3,.62fr)}
}
@media(max-width:820px){
  .shell{display:block}
  .side{display:none!important}
  .main{padding:7px 8px 76px!important}
  .v8ModeBanner{display:none}
  .top{
    position:sticky;
    top:5px;
    min-height:54px;
    padding:7px 8px;
    grid-template-columns:minmax(110px,.55fr) minmax(0,1fr) auto;
  }
  .top h1{font-size:17px}
  .top .eyebrow{display:none}
  .oneCommandBar{min-height:38px}
  .oneCommandBar strong{font-size:10.5px}
  .oneCommandBar kbd{display:none}
  .oneTopActions .oneIconBtn{display:none}
  .oneTopActions .oneIconBtn:first-child,
  .oneTopActions .oneIconBtn:last-child{display:grid}
  .oneOverview{grid-template-columns:1fr 1fr;gap:6px}
  .oneMetric.primary{grid-column:1/-1}
  .v7CommandDeck{grid-template-columns:auto minmax(0,1fr) auto auto}
  .v7PulseStats{display:none}
  body[data-one-view="home"] .main{display:block}
  body[data-one-view="home"] #task{position:static;max-height:none}
  #agenda{min-height:0}
  .providerGrid{grid-template-columns:1fr 1fr}
  .settingsGrid,.toggles{grid-template-columns:repeat(2,1fr)}
  .oneMobileDock{
    left:7px;right:7px;
    min-height:58px;
    border-radius:13px;
    background:rgba(6,20,36,.95);
    border-color:rgba(255,255,255,.10);
    box-shadow:0 15px 42px rgba(0,0,0,.24);
  }
  .oneMobileDock button{border-radius:9px}
}
@media(max-width:560px){
  body{font-size:13.5px}
  .main{padding-left:7px!important;padding-right:7px!important}
  .top{grid-template-columns:minmax(92px,.5fr) minmax(0,1fr) auto}
  .top h1{font-size:16px}
  .top>div:first-child{overflow:hidden}
  .oneCommandBar{padding:0 8px}
  .oneCommandBar strong{font-size:0}
  .oneCommandBar strong::after{content:"Cerca o esegui…";font-size:10.5px}
  .oneOverview{grid-template-columns:1fr 1fr}
  .oneMetric{min-height:62px;padding:8px 9px}
  .oneMetric.primary{grid-column:1/-1}
  .oneMetric strong{font-size:13px}
  .oneMetric .oneValue{font-size:20px}
  .v7CommandDeck{min-height:48px;padding:6px}
  .v7DeckBtn{width:34px;height:34px}
  .v7PulseMain strong{font-size:15px}
  .v7PulseMain span{font-size:9.5px}
  .card{padding:10px;border-radius:10px}
  .card h2{font-size:15px}
  .providerGrid,.settingsGrid,.toggles,.proActionGrid{grid-template-columns:1fr}
  .agendaListenActions .btn{padding:0 8px}
  .agendaItem{grid-template-columns:52px minmax(0,1fr)}
  .agendaItemKind{display:none}
}


/* =========================================================
   DELAN 8.1 FULL REGIME — FINAL VISUAL SYSTEM 2026-10-02
   Single final override: preserves V8 logic, normalizes hierarchy.
   ========================================================= */
:root{
  --v81-bg:#edf3f8;--v81-surface:#ffffff;--v81-surface-soft:#f6f9fc;
  --v81-navy:#061426;--v81-navy-2:#0a2b50;--v81-blue:#176fcb;
  --v81-blue-soft:#e8f2fc;--v81-gold:#d6a32b;--v81-gold-2:#f0ca57;
  --v81-ink:#111b2b;--v81-muted:#66758a;--v81-line:#d5dfe9;
  --v81-good:#1f7a59;--v81-warn:#9a6d13;--v81-danger:#a13a46;
  --v81-radius:12px;--v81-control-radius:8px;--v81-rail:78px;
  --v81-shadow:0 8px 28px rgba(9,30,56,.07);
}
html{background:var(--v81-bg)}
body{
  background:
    radial-gradient(900px 520px at 92% -10%,rgba(23,111,203,.10),transparent 62%),
    linear-gradient(180deg,#f8fbfe 0,#eef4f9 44%,#eaf1f7 100%);
  color:var(--v81-ink);font-size:13.5px;letter-spacing:0;
}
.shell{grid-template-columns:var(--v81-rail) minmax(0,1fr)}
.side{
  width:var(--v81-rail);padding:12px 10px;background:linear-gradient(180deg,#061426,#08233f 58%,#06172c);
  border-right:1px solid rgba(255,255,255,.08);box-shadow:5px 0 24px rgba(4,18,35,.10)
}
.brand{width:56px;height:52px;border-radius:10px;background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.10)}
.brandLogoApp{width:40px!important;height:40px!important}
.side nav{gap:7px}.side nav a{width:56px;height:50px;border-radius:9px;color:#bac9da}
.side nav a:hover,.side nav a.oneActive{background:#0d335c;color:#fff;border-color:#33597d}
.side nav a.oneActive::after{left:-10px;width:3px;height:26px;background:var(--v81-gold-2)}
.main{grid-column:2;padding:12px 18px 34px;max-width:1540px;margin:0 auto}
.v8ModeBanner{
  min-height:36px;padding:7px 10px;margin:0 0 8px;border:1px solid #d4dee8;border-radius:9px;
  background:rgba(255,255,255,.78);backdrop-filter:blur(14px);color:#42536a;font-size:10px
}
.v8ModeBanner b{color:#102a4a;letter-spacing:.08em}.v8ModeBanner a{color:#125fae;font-weight:700}
.top{
  position:sticky;top:8px;z-index:85;min-height:64px;margin:0 0 8px;padding:9px 10px 9px 14px;
  border-radius:11px;border:1px solid rgba(207,220,233,.94);background:rgba(250,252,254,.92);
  backdrop-filter:blur(18px) saturate(1.2);box-shadow:0 8px 26px rgba(9,30,56,.07)
}
.eyebrow,.kicker,.smartEyebrow{font-size:8.5px;letter-spacing:.14em;color:#8b6a19}
.top h1{font-size:21px;font-weight:720;color:#0c1d33}.top .btn{min-height:38px}
.oneCommandBar{
  min-height:38px;border-radius:8px;border-color:#d5dfe9;background:#f7f9fc;box-shadow:none;
  color:#23364e
}
.oneCommandBar:hover{background:#fff;border-color:#b9c9da}
.oneCommandBar strong{font-size:10.5px;font-weight:620}.oneCommandBar kbd{font-size:8px}
.oneTopActions{gap:5px}.oneIconBtn,.v7DeckBtn{
  width:38px;height:38px;border-radius:8px;border:1px solid #d2dce7;background:#fff;color:#17304e;box-shadow:none
}
.oneIconBtn:hover,.v7DeckBtn:hover{background:#f5f8fc;border-color:#afc2d6}
.onePrimaryAction{min-width:116px;border-radius:8px}
.btn{border-radius:8px;font-size:10.8px;font-weight:700;min-height:37px}
.gold{background:linear-gradient(180deg,#f0ca57,#d7a42f);color:#102033;border-color:#c69422;box-shadow:0 4px 12px rgba(183,130,16,.14)}
.ghost{background:#fff;color:#19314e;border-color:#d2dde8}
.card{
  border:1px solid var(--v81-line);border-radius:var(--v81-radius);padding:14px 15px;margin-bottom:9px;
  background:rgba(255,255,255,.96);box-shadow:var(--v81-shadow)
}
.card:hover{border-color:#c5d3e1;box-shadow:0 9px 30px rgba(9,30,56,.075);transform:none}
.card h2{font-size:16.5px;font-weight:720}.cardhead{margin-bottom:9px}
.badge,.pill{border-radius:7px;padding:4px 7px;font-size:9.5px}
.muted,.tag{font-size:10.8px;color:var(--v81-muted);line-height:1.5}
.oneOverview{grid-template-columns:minmax(250px,1.45fr) repeat(3,minmax(130px,.65fr));gap:8px;margin-bottom:8px}
.oneMetric{
  min-height:76px;padding:12px;border-radius:10px;border-color:var(--v81-line);background:#fff;box-shadow:0 5px 18px rgba(9,30,56,.045)
}
.oneMetric.primary{background:linear-gradient(135deg,#07182c,#0b315b);border-color:#174267}
.oneMetric span{font-size:8.5px}.oneMetric strong{font-size:16px}.oneMetric .oneValue{font-size:24px}.oneMetric small{font-size:9.5px}
.v81StatusStrip{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:0 0 8px
}
.v81StatusItem{
  min-height:42px;padding:7px 9px;border:1px solid #d7e1eb;border-radius:9px;background:rgba(255,255,255,.82);
  display:flex;align-items:center;gap:7px;min-width:0
}
.v81StatusDot{width:8px;height:8px;border-radius:50%;background:#8796a8;box-shadow:0 0 0 3px #8796a818;flex:0 0 auto}
.v81StatusItem.ok .v81StatusDot{background:#21815e;box-shadow:0 0 0 3px #21815e18}
.v81StatusItem.warn .v81StatusDot{background:#b27b12;box-shadow:0 0 0 3px #b27b1218}
.v81StatusItem strong{display:block;font-size:9.8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v81StatusItem small{display:block;font-size:8.5px;color:#718095;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v7CommandDeck{
  min-height:46px;margin:0 0 8px;padding:4px 6px;border:1px solid #d4dee9;border-radius:10px;
  background:rgba(255,255,255,.86);box-shadow:0 5px 18px rgba(9,30,56,.045);backdrop-filter:blur(12px)
}
.v7Pulse{min-width:0}.v7PulseMain strong{font-size:13px;color:#10233d}.v7PulseMain span{font-size:9.5px;color:#53657b}
.v7PulseStats span{font-size:8.3px;color:#718095}.v7Pulse>i{height:2px;background:#e2e8f0}.v7Pulse>i b{background:#1a73c8}
body[data-one-view="home"] .main{
  grid-template-columns:minmax(0,1fr) var(--v7-task-width,332px);
  grid-template-areas:"top top" "overview overview" "today tasks" "agenda tasks" "player player" "foot foot";
  gap:0 9px
}
body[data-one-view="home"] #oggi{padding:12px 14px}
body[data-one-view="home"] #agenda{min-height:calc(100vh - 230px)}
body[data-one-view="home"] #task{
  position:sticky;top:82px;max-height:calc(100vh - 98px);border-radius:11px
}
.timeline .event,.timeline .task,.event,.task{padding:8px 3px;border-bottom-color:#e7edf3}
.timeline .event:hover,.v7TaskRow:hover,.agendaItem:hover{background:#f6f9fc}
.agendaToolbar{gap:7px}.segmented{border:1px solid #d4dfe9;background:#f4f7fa}
.seg{min-height:31px;border-radius:7px}.seg.active{background:#123b67;color:#fff}
.agendaGroup{border:1px solid #d9e2ec;border-radius:10px;overflow:hidden}
.agendaGroupHead{background:#f5f8fb;border-bottom:1px solid #e0e7ef}
.agendaItem{min-height:46px;padding:8px 9px}.agendaItemTitle{font-size:11.2px}.agendaItemMeta{font-size:9px}
.weekDay,.monthCell{border-radius:8px;border-color:#d7e1eb;background:#fff}
.monthCell.selected,.weekDay.selected{background:#edf5fd;border-color:#6ea1d4}
.monthCell.today,.weekDay.today{box-shadow:inset 0 0 0 1px #d5a62d;border-color:#d5a62d}
.providerGrid{gap:8px}.providerCard{
  min-height:70px;border-radius:9px;border-color:#d7e1eb;background:#fff;box-shadow:none
}
.providerCard:hover{transform:none;background:#f7fafe;border-color:#b9cadb}
.providerIcon{border-radius:8px}.smartGuide{border-radius:9px;background:#f6f9fc;border-color:#d7e2ed}
.feedSource,.source,.voiceProfile,.realVoice,.toggles label,.proAction{border-radius:9px}
.settingsGrid{gap:8px}.toggles{gap:7px}
input,select,textarea{border-radius:7px;border-color:#cfdbe7;background:#fff;color:#122238;min-height:37px;font-size:11px}
input:focus,select:focus,textarea:focus{outline:3px solid rgba(23,111,203,.11);border-color:#77a4cf}
.voicePlayer{border-radius:11px;background:linear-gradient(135deg,#07172a,#0c355e);border-color:#355b7f}
.playerIcon,.playerMain,.playerAction{border-radius:8px}
.oneCommand,.oneHealth,.calendarDialog{border-radius:12px}
.oneCommandItem,.oneHealthRow{border-radius:8px}
.oneMobileDock{background:rgba(6,20,38,.96);border-top:1px solid #1c3f61}
.oneMobileDock button{color:#b8c7d8}.oneMobileDock button.active{color:#fff;background:#113b64}
.v7Inspector{background:#fff;border-left-color:#d6e0ea}.v7InspectorHead{background:#f7f9fc}
.v7Capture{border-radius:12px}
footer{color:#7b889a}
html.one-dark body{
  background:radial-gradient(850px 450px at 92% -10%,rgba(28,116,205,.15),transparent 60%),linear-gradient(180deg,#09131f,#0b1724);
  color:#e7edf4
}
html.one-dark .top,html.one-dark .v8ModeBanner,html.one-dark .v7CommandDeck,html.one-dark .v81StatusItem,
html.one-dark .card,html.one-dark .oneMetric:not(.primary),html.one-dark .providerCard,html.one-dark .source,
html.one-dark .feedSource,html.one-dark .voiceProfile,html.one-dark .realVoice,html.one-dark .proAction,
html.one-dark input,html.one-dark select,html.one-dark textarea,html.one-dark .ghost{
  background:#0f1d2c;color:#e8eef5;border-color:#26394d;box-shadow:none
}
html.one-dark .oneCommandBar{background:#0b1927;color:#dbe5ef;border-color:#293c50}
html.one-dark .muted,html.one-dark .tag,html.one-dark .v81StatusItem small{color:#9fb0c2}
html.one-dark .agendaGroupHead,html.one-dark .smartGuide,html.one-dark .timeline .event:hover,
html.one-dark .v7TaskRow:hover,html.one-dark .agendaItem:hover{background:#122233}
html.one-dark .agendaGroup,html.one-dark .weekDay,html.one-dark .monthCell{background:#0f1d2c;border-color:#293b4d;color:#e8eef5}
@media(max-width:1120px){
  .main{padding-left:14px;padding-right:14px}
  .oneOverview{grid-template-columns:minmax(210px,1.25fr) repeat(3,minmax(105px,.65fr))}
  .v81StatusStrip{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .shell{grid-template-columns:1fr}.side{position:static;width:auto;height:auto;display:none}
  .main{grid-column:1;padding:8px 8px 82px}
  body[data-one-view="home"] .main{display:block}
  body[data-one-view="home"] #task{position:static;max-height:none}
  .top{top:5px;flex-wrap:wrap;gap:7px}
  .top>div:first-child{display:none}
  .oneCommandBar{order:1;flex:1 1 100%}
  .oneTopActions{order:0;width:100%;justify-content:flex-end}
  .oneOverview{grid-template-columns:1fr 1fr}
  .oneMetric.primary{grid-column:1/-1}
  .v81StatusStrip{grid-template-columns:1fr 1fr}
  .v7CommandDeck{display:grid;grid-template-columns:38px minmax(0,1fr) 38px 38px}
  .v7PulseStats{display:none}
}
@media(max-width:560px){
  body{font-size:13px}.main{padding:6px 6px 82px}
  .v8ModeBanner{font-size:9px}.top{padding:7px}
  .oneTopActions{gap:4px}.oneIconBtn,.v7DeckBtn{width:36px;height:36px}
  .onePrimaryAction{min-width:100px}
  .oneOverview{grid-template-columns:1fr 1fr;gap:6px}
  .oneMetric{min-height:68px;padding:9px}.oneMetric.primary{grid-column:1/-1}
  .v81StatusStrip{grid-template-columns:1fr 1fr;gap:5px}
  .v81StatusItem{min-height:39px;padding:6px 7px}
  .card{padding:11px;border-radius:10px}.card h2{font-size:15px}
  .providerGrid,.settingsGrid,.sourceGrid,.two,.toggles,.voiceProfiles,.proActionGrid{grid-template-columns:1fr!important}
  .agendaToolbar,.agendaPeriodRow{align-items:stretch}
  .agendaPeriodRow{display:grid;gap:7px}
  .agendaListenActions .btn{flex:1}
  .agendaItem{grid-template-columns:48px 1fr}
}


/* DELAN 8.1 QA — status strip explicit desktop grid row */
body[data-one-view="home"] .main{
  grid-template-areas:
    "top top"
    "overview overview"
    "status status"
    "today tasks"
    "agenda tasks"
    "player player"
    "foot foot";
}
body[data-one-view="home"] .v81StatusStrip{grid-area:status}
@media(max-width:900px){body[data-one-view="home"] .v81StatusStrip{grid-area:auto}}


/* =========================================================
   DELAN 8.1 — EXECUTIVE DESKTOP PROFESSIONAL PASS
   Native desktop only. Full-width workspace, stronger hierarchy,
   coherent dark mode, readable controls and compact voice utility.
   ========================================================= */
@media (min-width:1000px){
  html.native-desktop{
    --nd-side:190px;
    --nd-page-pad:20px;
    --nd-surface:#ffffff;
    --nd-surface-2:#f5f8fb;
    --nd-surface-3:#eef3f8;
    --nd-line:#d3dde7;
    --nd-ink:#112033;
    --nd-muted:#68798d;
    --nd-blue:#176fcb;
    --nd-navy:#071625;
    --nd-navy-2:#0b2948;
    --nd-gold:#e0ad31;
    --nd-shadow:0 10px 30px rgba(7,25,45,.07);
  }

  html.native-desktop body{
    min-width:1000px;
    font-size:14px;
    background:
      radial-gradient(900px 440px at 78% -8%,rgba(28,112,197,.08),transparent 58%),
      linear-gradient(180deg,#f6f9fc 0%,#eef3f7 100%);
  }

  html.native-desktop .shell{
    grid-template-columns:var(--nd-side) minmax(0,1fr)!important;
    min-height:100vh;
    width:100%;
  }

  html.native-desktop .side{
    width:var(--nd-side)!important;
    padding:14px 12px 12px!important;
    background:
      radial-gradient(260px 180px at 30% 0%,rgba(41,120,200,.22),transparent 72%),
      linear-gradient(180deg,#061423 0%,#071d33 58%,#061423 100%)!important;
    border-right:1px solid rgba(255,255,255,.08)!important;
    box-shadow:10px 0 32px rgba(5,18,32,.08)!important;
  }

  html.native-desktop .brand{
    width:100%!important;
    height:58px!important;
    padding:0 8px!important;
    justify-content:flex-start!important;
    border:0!important;
    background:transparent!important;
  }

  html.native-desktop .brandLogoApp{
    width:132px!important;
    height:auto!important;
    max-height:44px!important;
  }

  html.native-desktop .tagline{
    display:block!important;
    margin:2px 11px 14px!important;
    color:#7890aa!important;
    font-size:9px!important;
    font-weight:750!important;
    letter-spacing:.15em!important;
    text-transform:uppercase!important;
  }

  html.native-desktop .side nav{
    display:grid!important;
    gap:5px!important;
    width:100%;
  }

  html.native-desktop .side nav a{
    width:100%!important;
    height:44px!important;
    min-height:44px!important;
    padding:0 10px!important;
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr)!important;
    align-items:center!important;
    gap:8px!important;
    border:1px solid transparent!important;
    border-radius:9px!important;
    color:#b8c8d9!important;
    font-size:12px!important;
    font-weight:620!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  html.native-desktop .side nav a::before{
    width:20px!important;
    font-size:13px!important;
    text-align:center!important;
    color:#88a1bb!important;
  }

  html.native-desktop .side nav a:hover{
    background:rgba(255,255,255,.055)!important;
    border-color:rgba(255,255,255,.06)!important;
    color:#fff!important;
  }

  html.native-desktop .side nav a.oneActive{
    background:linear-gradient(90deg,rgba(36,111,182,.22),rgba(255,255,255,.045))!important;
    border-color:rgba(92,148,203,.18)!important;
    color:#fff!important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)!important;
  }

  html.native-desktop .side nav a.oneActive::after{
    left:-12px!important;
    width:3px!important;
    height:25px!important;
    background:var(--nd-gold)!important;
  }

  html.native-desktop .sidefoot{
    margin-top:auto!important;
    padding:12px 4px 2px!important;
    border-top:1px solid rgba(255,255,255,.055)!important;
  }

  html.native-desktop .sidefoot .pill{
    background:rgba(255,255,255,.05)!important;
    color:#8ca0b6!important;
    font-size:8px!important;
    border:0!important;
  }

  html.native-desktop .main,
  html.native-desktop body[data-one-view="calendar"] .main,
  html.native-desktop body[data-one-view="voice"] .main,
  html.native-desktop body[data-one-view="system"] .main{
    grid-column:2!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:14px var(--nd-page-pad) 92px!important;
  }

  html.native-desktop .v8ModeBanner{
    min-height:36px!important;
    padding:7px 11px!important;
    margin:0 0 9px!important;
    border:1px solid var(--nd-line)!important;
    border-left:3px solid var(--nd-gold)!important;
    border-radius:8px!important;
    background:rgba(255,255,255,.88)!important;
    color:#5c6d80!important;
    box-shadow:none!important;
    font-size:10px!important;
  }

  html.native-desktop .v8ModeBanner b{
    color:#14283f!important;
    font-size:10px!important;
    letter-spacing:.1em!important;
  }

  html.native-desktop .top{
    top:8px!important;
    min-height:70px!important;
    padding:10px 12px 10px 16px!important;
    margin:0 0 10px!important;
    display:grid!important;
    grid-template-columns:minmax(235px,.78fr) minmax(330px,1.35fr) auto!important;
    gap:12px!important;
    align-items:center!important;
    border:1px solid rgba(202,214,226,.96)!important;
    border-radius:12px!important;
    background:rgba(251,253,255,.94)!important;
    box-shadow:0 8px 26px rgba(9,30,54,.06)!important;
    backdrop-filter:blur(20px) saturate(1.18)!important;
  }

  html.native-desktop .top h1{
    font-size:25px!important;
    line-height:1!important;
    letter-spacing:-.035em!important;
    font-weight:740!important;
  }

  html.native-desktop .top .eyebrow{
    font-size:8.5px!important;
    letter-spacing:.15em!important;
  }

  html.native-desktop .oneCommandBar{
    min-height:42px!important;
    border-radius:8px!important;
    padding:0 12px!important;
    background:#f5f8fb!important;
    border:1px solid #d6e0ea!important;
  }

  html.native-desktop .oneCommandBar strong{
    font-size:11.5px!important;
    font-weight:610!important;
  }

  html.native-desktop .oneTopActions{gap:6px!important}
  html.native-desktop .oneIconBtn,
  html.native-desktop .v7DeckBtn{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    border-radius:8px!important;
  }

  html.native-desktop .onePrimaryAction{
    min-width:122px!important;
    min-height:40px!important;
    border-radius:8px!important;
    font-size:11px!important;
  }

  html.native-desktop .v7CommandDeck{
    min-height:50px!important;
    padding:5px 7px!important;
    margin-bottom:10px!important;
    border-radius:10px!important;
    border:1px solid var(--nd-line)!important;
    background:rgba(255,255,255,.92)!important;
    box-shadow:none!important;
  }

  html.native-desktop .v7PulseMain strong{font-size:14px!important}
  html.native-desktop .v7PulseMain span{font-size:10.5px!important}
  html.native-desktop .v7PulseStats span{font-size:9px!important}

  html.native-desktop .oneOverview{
    display:grid!important;
    grid-template-columns:minmax(360px,1.8fr) repeat(3,minmax(150px,.62fr))!important;
    gap:9px!important;
    margin:0 0 9px!important;
  }

  html.native-desktop .oneMetric{
    min-height:82px!important;
    padding:13px 14px!important;
    border-radius:10px!important;
    border:1px solid var(--nd-line)!important;
    box-shadow:0 5px 18px rgba(8,28,49,.04)!important;
  }

  html.native-desktop .oneMetric.primary{
    background:
      radial-gradient(circle at 90% -10%,rgba(45,126,209,.22),transparent 13rem),
      linear-gradient(135deg,#091c31,#0d355c)!important;
    border-color:#204b72!important;
  }

  html.native-desktop .oneMetric span{font-size:8.8px!important}
  html.native-desktop .oneMetric strong{font-size:16px!important}
  html.native-desktop .oneMetric .oneValue{font-size:26px!important}
  html.native-desktop .oneMetric small{font-size:10px!important}

  html.native-desktop .v81StatusStrip{
    grid-template-columns:repeat(5,minmax(140px,1fr))!important;
    gap:7px!important;
    margin-bottom:9px!important;
  }

  html.native-desktop .v81StatusItem{
    min-height:46px!important;
    padding:8px 10px!important;
    border-radius:9px!important;
  }

  html.native-desktop .v81StatusItem strong{font-size:10px!important}
  html.native-desktop .v81StatusItem small{font-size:9px!important}

  html.native-desktop .card{
    padding:17px 18px!important;
    margin-bottom:10px!important;
    border:1px solid var(--nd-line)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.96)!important;
    box-shadow:var(--nd-shadow)!important;
  }

  html.native-desktop .card:hover{
    transform:none!important;
    border-color:#c3d0dc!important;
    box-shadow:0 10px 32px rgba(7,25,45,.075)!important;
  }

  html.native-desktop .cardhead{margin-bottom:10px!important}
  html.native-desktop .card h2{
    margin:2px 0!important;
    font-size:18px!important;
    font-weight:720!important;
    letter-spacing:-.022em!important;
  }

  html.native-desktop .kicker,
  html.native-desktop .smartEyebrow{
    font-size:8.5px!important;
    letter-spacing:.14em!important;
  }

  html.native-desktop .muted,
  html.native-desktop .tag{
    font-size:11.5px!important;
    line-height:1.5!important;
  }

  html.native-desktop .btn{
    min-height:39px!important;
    padding:0 12px!important;
    border-radius:8px!important;
    font-size:11px!important;
    font-weight:680!important;
  }

  html.native-desktop input,
  html.native-desktop select,
  html.native-desktop textarea{
    min-height:40px!important;
    border-radius:7px!important;
    padding-left:10px!important;
    padding-right:10px!important;
    font-size:11.5px!important;
  }

  html.native-desktop label{
    font-size:9.5px!important;
    font-weight:680!important;
  }

  /* Calendar becomes a real desktop workspace */
  html.native-desktop body[data-one-view="calendar"] #calendari{
    width:100%!important;
    max-width:none!important;
    min-height:calc(100vh - 112px)!important;
    padding:20px!important;
  }

  html.native-desktop body[data-one-view="calendar"] #calendari>.cardhead{
    padding-bottom:11px!important;
    border-bottom:1px solid #e1e7ee!important;
  }

  html.native-desktop body[data-one-view="calendar"] #calendari>.muted{
    max-width:920px!important;
    margin:6px 0 13px!important;
    color:#69798c!important;
  }

  html.native-desktop .smartGuide{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:16px!important;
    margin:0 0 12px!important;
    padding:13px 14px!important;
    border:1px solid #2a5379!important;
    border-radius:10px!important;
    background:
      radial-gradient(circle at 92% 0%,rgba(57,135,215,.20),transparent 12rem),
      linear-gradient(135deg,#0a2138,#0d3458)!important;
    box-shadow:0 7px 20px rgba(7,28,50,.10)!important;
  }

  html.native-desktop .smartGuide strong{
    display:block!important;
    margin-top:2px!important;
    color:#fff!important;
    font-size:13px!important;
  }

  html.native-desktop .smartGuide small{
    display:block!important;
    margin-top:2px!important;
    color:#b8c8d8!important;
    font-size:10px!important;
  }

  html.native-desktop .providerGrid{
    grid-template-columns:repeat(4,minmax(190px,1fr))!important;
    gap:10px!important;
    margin:10px 0 12px!important;
  }

  html.native-desktop .providerCard{
    min-height:86px!important;
    padding:12px!important;
    display:grid!important;
    grid-template-columns:38px minmax(0,1fr) 16px!important;
    gap:10px!important;
    border:1px solid #d5dfe9!important;
    border-radius:10px!important;
    background:#fff!important;
    box-shadow:0 3px 12px rgba(7,27,47,.035)!important;
  }

  html.native-desktop .providerCard:hover{
    background:#f8fbfe!important;
    border-color:#9fb8d0!important;
    box-shadow:0 6px 18px rgba(7,27,47,.06)!important;
  }

  html.native-desktop .providerCard strong{
    font-size:12px!important;
    color:#16263a!important;
  }

  html.native-desktop .providerCard small{
    margin-top:3px!important;
    font-size:10px!important;
    color:#718196!important;
  }

  html.native-desktop .providerIcon{
    width:38px!important;
    height:38px!important;
    border-radius:9px!important;
    font-size:13px!important;
  }

  html.native-desktop #providerMessage{
    margin:3px 0 10px!important;
    padding:9px 11px!important;
    border-radius:8px!important;
    border:1px solid #e3cf92!important;
    background:#fff9e8!important;
    color:#624b13!important;
    font-size:10.5px!important;
  }

  html.native-desktop #calendari>.actions{
    margin:9px 0!important;
    padding:0!important;
    align-items:center!important;
  }

  html.native-desktop #sources,
  html.native-desktop #feedConnections{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(340px,1fr))!important;
    gap:8px!important;
    margin:10px 0!important;
  }

  html.native-desktop .source,
  html.native-desktop .feedConnection,
  html.native-desktop .feedSource{
    margin:0!important;
    padding:11px 12px!important;
    border:1px solid #d9e2eb!important;
    border-radius:9px!important;
    background:#f9fbfd!important;
    box-shadow:none!important;
  }

  html.native-desktop .source .toggle strong,
  html.native-desktop .feedMain strong{
    font-size:11.5px!important;
    color:#182a40!important;
  }

  html.native-desktop .sourceGrid{
    gap:7px!important;
    margin-top:8px!important;
  }

  html.native-desktop .calendarConnectBar{
    margin-top:10px!important;
    padding-top:10px!important;
    border-top:1px solid #e1e7ee!important;
  }

  html.native-desktop .feedActions{gap:5px!important}
  html.native-desktop .tiny{
    min-height:31px!important;
    padding:0 8px!important;
    font-size:9.5px!important;
  }

  /* Voice player is a compact utility bar instead of a floating panel */
  html.native-desktop .voicePlayer{
    left:calc(var(--nd-side) + var(--nd-page-pad))!important;
    right:var(--nd-page-pad)!important;
    bottom:12px!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    border-radius:11px!important;
    overflow:hidden!important;
    border:1px solid #27496a!important;
    background:rgba(8,29,50,.97)!important;
    box-shadow:0 16px 44px rgba(3,16,29,.24)!important;
    backdrop-filter:blur(16px)!important;
  }

  html.native-desktop .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.native-desktop .voicePlayerTop{
    grid-area:vtext!important;
    min-height:58px!important;
    padding:8px 12px!important;
    border:0!important;
  }

  html.native-desktop .voicePlayerText strong{font-size:12px!important}
  html.native-desktop .voicePlayerText small{font-size:9px!important;color:#aebed0!important}

  html.native-desktop .voicePlayerControls{
    grid-area:vcontrols!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:5px!important;
    margin:0!important;
    padding:8px 10px 8px 4px!important;
  }

  html.native-desktop .playerIcon,
  html.native-desktop .playerMain,
  html.native-desktop .playerAction{
    min-height:34px!important;
    height:34px!important;
    padding:0 9px!important;
    border-radius:7px!important;
    font-size:9.5px!important;
    white-space:nowrap!important;
  }

  html.native-desktop .voiceProgressTrack{
    grid-area:vprogress!important;
    height:3px!important;
    margin:0!important;
    border-radius:0!important;
  }

  /* Desktop dark mode: no white moat around a dark application */
  html.native-desktop.one-dark body{
    --nd-surface:#0d1926;
    --nd-surface-2:#101f2e;
    --nd-surface-3:#142536;
    --nd-line:#263a4e;
    --nd-ink:#edf4fb;
    --nd-muted:#98a9bc;
    background:
      radial-gradient(900px 440px at 78% -8%,rgba(35,111,190,.13),transparent 58%),
      linear-gradient(180deg,#09111a 0%,#0a141f 100%)!important;
    color:#edf4fb!important;
  }

  html.native-desktop.one-dark .main{
    background:transparent!important;
  }

  html.native-desktop.one-dark .v8ModeBanner,
  html.native-desktop.one-dark .top,
  html.native-desktop.one-dark .v7CommandDeck,
  html.native-desktop.one-dark .card,
  html.native-desktop.one-dark .oneMetric:not(.primary),
  html.native-desktop.one-dark .v81StatusItem{
    background:rgba(13,25,38,.96)!important;
    border-color:#263a4e!important;
    color:#eef5fb!important;
    box-shadow:none!important;
  }

  html.native-desktop.one-dark .v8ModeBanner{
    border-left-color:var(--nd-gold)!important;
    color:#95a6b8!important;
  }

  html.native-desktop.one-dark .v8ModeBanner b,
  html.native-desktop.one-dark .top h1,
  html.native-desktop.one-dark .card h2,
  html.native-desktop.one-dark .oneMetric strong{
    color:#f2f7fc!important;
  }

  html.native-desktop.one-dark .oneCommandBar,
  html.native-desktop.one-dark .oneIconBtn,
  html.native-desktop.one-dark .v7DeckBtn,
  html.native-desktop.one-dark input,
  html.native-desktop.one-dark select,
  html.native-desktop.one-dark textarea,
  html.native-desktop.one-dark .ghost{
    background:#101e2c!important;
    border-color:#2a4056!important;
    color:#e9f1f8!important;
  }

  html.native-desktop.one-dark .oneCommandBar:hover,
  html.native-desktop.one-dark .oneIconBtn:hover,
  html.native-desktop.one-dark .v7DeckBtn:hover{
    background:#15283a!important;
    border-color:#3b5670!important;
  }

  html.native-desktop.one-dark body[data-one-view="calendar"] #calendari{
    background:#0d1926!important;
    border-color:#263a4e!important;
  }

  html.native-desktop.one-dark body[data-one-view="calendar"] #calendari>.cardhead{
    border-bottom-color:#263a4e!important;
  }

  html.native-desktop.one-dark body[data-one-view="calendar"] #calendari>.muted{
    color:#98a9bc!important;
  }

  html.native-desktop.one-dark .providerCard,
  html.native-desktop.one-dark .source,
  html.native-desktop.one-dark .feedConnection,
  html.native-desktop.one-dark .feedSource{
    background:#101f2e!important;
    border-color:#293f55!important;
    color:#edf4fb!important;
  }

  html.native-desktop.one-dark .providerCard:hover,
  html.native-desktop.one-dark .source:hover,
  html.native-desktop.one-dark .feedSource:hover{
    background:#14283a!important;
    border-color:#3d5d79!important;
  }

  html.native-desktop.one-dark .providerCard strong,
  html.native-desktop.one-dark .source .toggle strong,
  html.native-desktop.one-dark .feedMain strong{
    color:#f0f6fc!important;
  }

  html.native-desktop.one-dark .providerCard small,
  html.native-desktop.one-dark .tag{
    color:#96a8bb!important;
  }

  html.native-desktop.one-dark #providerMessage{
    background:#2a2415!important;
    border-color:#66542a!important;
    color:#efd58b!important;
  }

  html.native-desktop.one-dark .calendarConnectBar{
    border-top-color:#263a4e!important;
  }

  html.native-desktop.one-dark .voicePlayer{
    background:rgba(7,24,41,.98)!important;
    border-color:#315574!important;
  }
}

@media (min-width:1450px){
  html.native-desktop{--nd-side:196px;--nd-page-pad:24px}
  html.native-desktop .oneOverview{
    grid-template-columns:minmax(420px,2fr) repeat(3,minmax(170px,.62fr))!important;
  }
  html.native-desktop .providerGrid{
    grid-template-columns:repeat(4,minmax(220px,1fr))!important;
  }
}


/* =========================================================
   DELAN 8.1.2 — WEB EXECUTIVE PROFESSIONAL PASS
   Desktop browser only. Mirrors the native professional layout
   without affecting native-desktop or mobile/tablet.
   ========================================================= */
@media (min-width:1000px){
  html:not(.native-desktop){
    --web-side:188px;
    --web-pad:22px;
    --web-line:#d3dde7;
    --web-surface:#ffffff;
    --web-surface-2:#f5f8fb;
    --web-ink:#112033;
    --web-muted:#697a8e;
    --web-gold:#e0ad31;
  }

  html:not(.native-desktop) body{
    min-width:1000px;
    font-size:14px;
    background:
      radial-gradient(900px 440px at 80% -8%,rgba(28,112,197,.08),transparent 58%),
      linear-gradient(180deg,#f6f9fc 0%,#eef3f7 100%);
  }

  html:not(.native-desktop) .shell{
    grid-template-columns:var(--web-side) minmax(0,1fr)!important;
    width:100%!important;
    min-height:100vh!important;
  }

  html:not(.native-desktop) .side{
    width:var(--web-side)!important;
    padding:14px 12px 12px!important;
    background:
      radial-gradient(260px 180px at 30% 0%,rgba(41,120,200,.22),transparent 72%),
      linear-gradient(180deg,#061423 0%,#071d33 58%,#061423 100%)!important;
    border-right:1px solid rgba(255,255,255,.08)!important;
    box-shadow:10px 0 32px rgba(5,18,32,.08)!important;
  }

  html:not(.native-desktop) .brand{
    width:100%!important;
    height:58px!important;
    padding:0 8px!important;
    justify-content:flex-start!important;
    border:0!important;
    background:transparent!important;
  }

  html:not(.native-desktop) .brandLogoApp{
    width:132px!important;
    height:auto!important;
    max-height:44px!important;
  }

  html:not(.native-desktop) .tagline{
    display:block!important;
    margin:2px 11px 14px!important;
    color:#7890aa!important;
    font-size:9px!important;
    font-weight:750!important;
    letter-spacing:.15em!important;
    text-transform:uppercase!important;
  }

  html:not(.native-desktop) .side nav{
    display:grid!important;
    width:100%!important;
    gap:5px!important;
  }

  html:not(.native-desktop) .side nav a{
    width:100%!important;
    height:44px!important;
    min-height:44px!important;
    padding:0 10px!important;
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr)!important;
    align-items:center!important;
    gap:8px!important;
    border:1px solid transparent!important;
    border-radius:9px!important;
    color:#b8c8d9!important;
    font-size:12px!important;
    font-weight:620!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  html:not(.native-desktop) .side nav a::before{
    width:20px!important;
    font-size:13px!important;
    text-align:center!important;
    color:#88a1bb!important;
  }

  html:not(.native-desktop) .side nav a:hover{
    background:rgba(255,255,255,.055)!important;
    border-color:rgba(255,255,255,.06)!important;
    color:#fff!important;
  }

  html:not(.native-desktop) .side nav a.oneActive{
    background:linear-gradient(90deg,rgba(36,111,182,.22),rgba(255,255,255,.045))!important;
    border-color:rgba(92,148,203,.18)!important;
    color:#fff!important;
  }

  html:not(.native-desktop) .side nav a.oneActive::after{
    left:-12px!important;
    width:3px!important;
    height:25px!important;
    background:var(--web-gold)!important;
  }

  html:not(.native-desktop) .main,
  html:not(.native-desktop) body[data-one-view="calendar"] .main,
  html:not(.native-desktop) body[data-one-view="voice"] .main,
  html:not(.native-desktop) body[data-one-view="system"] .main{
    grid-column:2!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:14px var(--web-pad) 92px!important;
  }

  html:not(.native-desktop) .v8ModeBanner{
    min-height:36px!important;
    padding:7px 11px!important;
    margin:0 0 9px!important;
    border:1px solid var(--web-line)!important;
    border-left:3px solid var(--web-gold)!important;
    border-radius:8px!important;
    background:rgba(255,255,255,.88)!important;
    color:#5d6d80!important;
    box-shadow:none!important;
    font-size:10px!important;
  }

  html:not(.native-desktop) .top{
    top:8px!important;
    min-height:70px!important;
    padding:10px 12px 10px 16px!important;
    margin:0 0 10px!important;
    display:grid!important;
    grid-template-columns:minmax(230px,.75fr) minmax(360px,1.45fr) auto!important;
    gap:12px!important;
    align-items:center!important;
    border:1px solid rgba(202,214,226,.96)!important;
    border-radius:12px!important;
    background:rgba(251,253,255,.94)!important;
    box-shadow:0 8px 26px rgba(9,30,54,.06)!important;
  }

  html:not(.native-desktop) .top h1{
    font-size:25px!important;
    line-height:1!important;
    letter-spacing:-.035em!important;
    font-weight:740!important;
  }

  html:not(.native-desktop) .oneCommandBar{
    min-height:42px!important;
    border-radius:8px!important;
    padding:0 12px!important;
    background:#f5f8fb!important;
    border:1px solid #d6e0ea!important;
  }

  html:not(.native-desktop) .oneCommandBar strong{
    font-size:11.5px!important;
    font-weight:610!important;
  }

  html:not(.native-desktop) .oneIconBtn,
  html:not(.native-desktop) .v7DeckBtn{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    border-radius:8px!important;
  }

  html:not(.native-desktop) .onePrimaryAction{
    min-width:122px!important;
    min-height:40px!important;
  }

  html:not(.native-desktop) .v7CommandDeck{
    min-height:50px!important;
    padding:5px 7px!important;
    margin-bottom:10px!important;
    border-radius:10px!important;
    border:1px solid var(--web-line)!important;
    background:rgba(255,255,255,.92)!important;
    box-shadow:none!important;
  }

  html:not(.native-desktop) .oneOverview{
    grid-template-columns:minmax(380px,1.8fr) repeat(3,minmax(150px,.62fr))!important;
    gap:9px!important;
    margin-bottom:9px!important;
  }

  html:not(.native-desktop) .oneMetric{
    min-height:82px!important;
    padding:13px 14px!important;
    border-radius:10px!important;
    border:1px solid var(--web-line)!important;
    box-shadow:0 5px 18px rgba(8,28,49,.04)!important;
  }

  html:not(.native-desktop) .oneMetric.primary{
    background:
      radial-gradient(circle at 90% -10%,rgba(45,126,209,.22),transparent 13rem),
      linear-gradient(135deg,#091c31,#0d355c)!important;
    border-color:#204b72!important;
  }

  html:not(.native-desktop) .oneMetric .oneValue{font-size:26px!important}
  html:not(.native-desktop) .oneMetric strong{font-size:16px!important}
  html:not(.native-desktop) .oneMetric small{font-size:10px!important}

  html:not(.native-desktop) .v81StatusStrip{
    grid-template-columns:repeat(5,minmax(145px,1fr))!important;
    gap:7px!important;
    margin-bottom:9px!important;
  }

  html:not(.native-desktop) .v81StatusItem{
    min-height:46px!important;
    padding:8px 10px!important;
    border-radius:9px!important;
  }

  html:not(.native-desktop) .card{
    padding:17px 18px!important;
    margin-bottom:10px!important;
    border:1px solid var(--web-line)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.96)!important;
    box-shadow:0 10px 30px rgba(7,25,45,.07)!important;
  }

  html:not(.native-desktop) .card h2{
    font-size:18px!important;
    font-weight:720!important;
  }

  html:not(.native-desktop) .muted,
  html:not(.native-desktop) .tag{
    font-size:11.5px!important;
    line-height:1.5!important;
  }

  html:not(.native-desktop) .btn{
    min-height:39px!important;
    padding:0 12px!important;
    border-radius:8px!important;
    font-size:11px!important;
  }

  html:not(.native-desktop) input,
  html:not(.native-desktop) select,
  html:not(.native-desktop) textarea{
    min-height:40px!important;
    border-radius:7px!important;
    font-size:11.5px!important;
  }

  /* Home: use the browser canvas instead of a narrow centered column */
  html:not(.native-desktop) body[data-one-view="home"] .main{
    grid-template-columns:minmax(0,1fr) minmax(300px,360px)!important;
    grid-template-areas:
      "top top"
      "overview overview"
      "status status"
      "today tasks"
      "agenda tasks"
      "player player"
      "foot foot"!important;
    gap:0 12px!important;
  }

  html:not(.native-desktop) body[data-one-view="home"] #oggi{
    min-height:150px!important;
  }

  html:not(.native-desktop) body[data-one-view="home"] #agenda{
    min-height:calc(100vh - 390px)!important;
  }

  html:not(.native-desktop) body[data-one-view="home"] #task{
    top:92px!important;
    max-height:calc(100vh - 110px)!important;
    padding:16px!important;
  }

  /* Full-width focused workspaces */
  html:not(.native-desktop) body[data-one-view="calendar"] #calendari,
  html:not(.native-desktop) body[data-one-view="voice"] #voce,
  html:not(.native-desktop) body[data-one-view="system"] #pro{
    width:100%!important;
    max-width:none!important;
  }

  html:not(.native-desktop) body[data-one-view="calendar"] #calendari{
    min-height:calc(100vh - 112px)!important;
    padding:20px!important;
  }

  html:not(.native-desktop) .smartGuide{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:16px!important;
    padding:13px 14px!important;
    margin-bottom:12px!important;
    border:1px solid #2a5379!important;
    border-radius:10px!important;
    background:
      radial-gradient(circle at 92% 0%,rgba(57,135,215,.20),transparent 12rem),
      linear-gradient(135deg,#0a2138,#0d3458)!important;
  }

  html:not(.native-desktop) .providerGrid{
    grid-template-columns:repeat(4,minmax(190px,1fr))!important;
    gap:10px!important;
    margin:10px 0 12px!important;
  }

  html:not(.native-desktop) .providerCard{
    min-height:86px!important;
    padding:12px!important;
    grid-template-columns:38px minmax(0,1fr) 16px!important;
    gap:10px!important;
    border:1px solid #d5dfe9!important;
    border-radius:10px!important;
    background:#fff!important;
    box-shadow:0 3px 12px rgba(7,27,47,.035)!important;
  }

  html:not(.native-desktop) .providerCard:hover{
    background:#f8fbfe!important;
    border-color:#9fb8d0!important;
    box-shadow:0 6px 18px rgba(7,27,47,.06)!important;
  }

  html:not(.native-desktop) .providerIcon{
    width:38px!important;
    height:38px!important;
    border-radius:9px!important;
  }

  html:not(.native-desktop) #sources,
  html:not(.native-desktop) #feedConnections{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(340px,1fr))!important;
    gap:8px!important;
    margin:10px 0!important;
  }

  html:not(.native-desktop) .source,
  html:not(.native-desktop) .feedConnection,
  html:not(.native-desktop) .feedSource{
    margin:0!important;
    padding:11px 12px!important;
    border:1px solid #d9e2eb!important;
    border-radius:9px!important;
    background:#f9fbfd!important;
    box-shadow:none!important;
  }

  /* Browser voice player: compact and useful, not a giant banner */
  html:not(.native-desktop) .voicePlayer{
    left:calc(var(--web-side) + var(--web-pad))!important;
    right:var(--web-pad)!important;
    bottom:12px!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    border-radius:11px!important;
    overflow:hidden!important;
    border:1px solid #27496a!important;
    background:rgba(8,29,50,.97)!important;
    box-shadow:0 16px 44px rgba(3,16,29,.24)!important;
  }

  html:not(.native-desktop) .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:not(.native-desktop) .voicePlayerTop{
    grid-area:vtext!important;
    min-height:58px!important;
    padding:8px 12px!important;
  }

  html:not(.native-desktop) .voicePlayerControls{
    grid-area:vcontrols!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:5px!important;
    margin:0!important;
    padding:8px 10px 8px 4px!important;
  }

  html:not(.native-desktop) .playerIcon,
  html:not(.native-desktop) .playerMain,
  html:not(.native-desktop) .playerAction{
    min-height:34px!important;
    height:34px!important;
    padding:0 9px!important;
    border-radius:7px!important;
    font-size:9.5px!important;
    white-space:nowrap!important;
  }

  html:not(.native-desktop) .voiceProgressTrack{
    grid-area:vprogress!important;
    height:3px!important;
    margin:0!important;
    border-radius:0!important;
  }

  html:not(.native-desktop).one-dark body{
    background:
      radial-gradient(900px 440px at 80% -8%,rgba(35,111,190,.13),transparent 58%),
      linear-gradient(180deg,#09111a 0%,#0a141f 100%)!important;
  }

  html:not(.native-desktop).one-dark .v8ModeBanner,
  html:not(.native-desktop).one-dark .top,
  html:not(.native-desktop).one-dark .v7CommandDeck,
  html:not(.native-desktop).one-dark .card,
  html:not(.native-desktop).one-dark .oneMetric:not(.primary),
  html:not(.native-desktop).one-dark .v81StatusItem{
    background:rgba(13,25,38,.96)!important;
    border-color:#263a4e!important;
    color:#eef5fb!important;
    box-shadow:none!important;
  }

  html:not(.native-desktop).one-dark .providerCard,
  html:not(.native-desktop).one-dark .source,
  html:not(.native-desktop).one-dark .feedConnection,
  html:not(.native-desktop).one-dark .feedSource{
    background:#101f2e!important;
    border-color:#293f55!important;
    color:#edf4fb!important;
  }
}

@media (min-width:1450px){
  html:not(.native-desktop){--web-side:194px;--web-pad:26px}
  html:not(.native-desktop) body[data-one-view="home"] .main{
    grid-template-columns:minmax(0,1fr) minmax(330px,390px)!important;
  }
  html:not(.native-desktop) .oneOverview{
    grid-template-columns:minmax(430px,2fr) repeat(3,minmax(175px,.62fr))!important;
  }
}


/* =========================================================
   DELANCAR 8.2 EXPERIENCE PASS — PRODUCT-GRADE FINAL LAYER
   ========================================================= */
:root{--v82-blue:#176fcb;--v82-gold:#d9a62d;--v82-ink:#122033;--v82-muted:#697a8e;--v82-line:#d4dee8;--v82-line-soft:#e6edf3}
.v82Skip{position:fixed;left:12px;top:8px;z-index:9999;padding:9px 12px;border-radius:8px;background:#fff;color:#07182a;border:2px solid #176fcb;transform:translateY(-160%);transition:transform .14s ease}.v82Skip:focus{transform:translateY(0)}
:where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:3px solid rgba(23,111,203,.26)!important;outline-offset:2px!important}
button:disabled,.btn:disabled{cursor:not-allowed;opacity:.55}.v82AllDownloads{margin-left:9px;color:#66788c;text-decoration:none;font-size:9px;font-weight:750}.v82AllDownloads:hover{color:#176fcb;text-decoration:underline}
.v82ActionRail{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;min-height:60px;margin:0 0 9px;padding:10px 12px 10px 14px;border:1px solid #cfdbe7;border-radius:11px;background:linear-gradient(100deg,#fff 0%,#f8fbfe 62%,#eef6fd 100%);box-shadow:0 5px 17px rgba(7,28,50,.035)}
.v82ActionText{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-width:0}.v82ActionMark{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#0b2d50;color:#f0c64e;font-size:14px;font-weight:900}
.v82ActionText strong{display:block;font-size:11.5px;color:#172a40;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v82ActionText small{display:block;margin-top:2px;font-size:9.5px;color:#718195;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v82ActionBtn{min-height:35px!important;padding:0 11px!important;white-space:nowrap}
.v82Empty{min-height:92px!important;padding:16px!important;border:1px dashed #c9d6e2!important;border-radius:10px!important;background:linear-gradient(135deg,#fafcfe,#f4f8fb)!important;color:#66788b!important;display:grid!important;place-items:center!important;text-align:center!important;line-height:1.45!important}
.v82Empty::before{content:"○";display:grid;place-items:center;width:30px;height:30px;margin:0 auto 7px;border-radius:50%;background:#eaf2f9;color:#48769f;font-size:14px;font-weight:800}
.v82ComposerLabel{display:flex;align-items:center;justify-content:space-between;margin:11px 0 7px;padding-top:11px;border-top:1px solid var(--v82-line-soft);font-size:9px;font-weight:850;letter-spacing:.12em;color:#7b6a3b;text-transform:uppercase}.v82ComposerLabel span{font-size:8px;font-weight:650;letter-spacing:0;color:#8a98a7;text-transform:none}
body[data-one-view="home"] .v82ActionRail{grid-area:action}body[data-one-view="home"] .main{grid-template-areas:"banner banner" "top top" "deck deck" "overview overview" "status status" "action action" "today tasks" "agenda tasks" "player player" "foot foot"!important}body:not([data-one-view="home"]) .v82ActionRail{display:none!important}
.top>div:first-child{min-width:0}.top>div:first-child .eyebrow{margin-bottom:3px}.top>div:first-child h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top>div:first-child p{max-width:580px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oneTopActions{align-items:center}
.agendaHead{padding-bottom:10px;border-bottom:1px solid var(--v82-line-soft)}.agendaToolbar{margin-top:9px;padding:7px;border:1px solid var(--v82-line-soft);border-radius:9px;background:#f8fafc}.agendaPeriodRow{margin:8px 0 10px;padding:9px 10px;border-radius:9px;background:#fbfcfe;border:1px solid var(--v82-line-soft)}
.agendaPeriodRow>div:first-child strong{font-size:13px;color:#1e3148}.agendaVisual{margin-bottom:9px}.agendaGroup{box-shadow:0 2px 9px rgba(9,31,54,.025)}.agendaGroupHead{min-height:38px}.agendaItem{position:relative;transition:background .12s ease,border-color .12s ease}.agendaItem::after{content:"";position:absolute;left:0;top:8px;bottom:8px;width:2px;border-radius:2px;background:#6ba6da;opacity:.45}.agendaItem:hover::after{opacity:1}.weekDay,.monthCell{transition:border-color .13s ease,background .13s ease,transform .13s ease}.weekDay:hover,.monthCell:hover{border-color:#a9bfd4;transform:translateY(-1px)}
#oggi .actions{margin-top:9px;padding-top:9px;border-top:1px solid var(--v82-line-soft)}body[data-one-view="home"] #task{scrollbar-width:thin;scrollbar-color:#b8c5d2 transparent}#task .cardhead{position:sticky;top:0;z-index:2;margin:-3px -3px 7px;padding:3px;background:inherit}.v7TaskRow{min-height:46px;padding:8px 4px!important}.v7TaskRow input[type=checkbox]{width:17px;height:17px}#task>label input,#task>.two input{background:#fbfcfe}
.providerCard{position:relative;overflow:hidden}.providerCard::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#9ab1c6}#googleProvider::before{background:#4285f4}#microsoftProvider::before{background:#2384d9}#icloudProvider::before{background:#8aa5bf}#deviceProvider::before{background:#d3a42d}.providerArrow{opacity:.48;transition:transform .13s ease,opacity .13s ease}.providerCard:hover .providerArrow{opacity:1;transform:translateX(2px)}.calendarConnectBar{padding-top:11px;border-top:1px solid var(--v82-line-soft)}.feedSource,.source{transition:border-color .12s ease,background .12s ease}.feedSource:hover,.source:hover{border-color:#b5c6d7!important;background:#fbfdff!important}
.voiceProfiles{grid-template-columns:repeat(3,minmax(0,1fr))!important}.voiceProfile{min-height:82px!important;padding:12px!important;border:1px solid var(--v82-line)!important;background:#fbfcfe!important}.voiceProfile strong{font-size:12.5px!important}.voiceProfile small{font-size:10px!important;line-height:1.4!important}.voiceProfile.active{border-color:#d4a638!important;background:#fff9e9!important}.voiceCatalog{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;gap:8px!important;margin:9px 0 12px!important}.realVoice{min-height:66px!important;background:#fbfcfe!important;border:1px solid var(--v82-line)!important}#voce .settingsGrid{padding:11px;border:1px solid var(--v82-line-soft);border-radius:10px;background:#f8fafc}#voce .toggles label{border:1px solid var(--v82-line-soft);background:#fafcfe}
body[data-one-view="system"] #pro{border-top:3px solid #d5a52d!important}body[data-one-view="system"] #pro .proActionGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.proAction{min-height:74px!important;padding:12px!important;background:#fbfcfe!important;border:1px solid var(--v82-line)!important}.proAction b{font-size:12px!important}.proAction small{font-size:9.5px!important;line-height:1.4!important}.proAction:hover{background:#f7fafe!important;border-color:#9ab8d5!important;box-shadow:none!important}
.oneCommand,.oneHealth,.calendarDialog,.v7Inspector,.v7Capture{border:1px solid #cdd9e4!important;box-shadow:0 24px 70px rgba(4,20,36,.20)!important}dialog::backdrop{background:rgba(4,15,28,.44);backdrop-filter:blur(2px)}.oneCommandHead input{font-size:14px!important}.oneCommandItem{min-height:48px}
html.one-dark .v82ActionRail{background:linear-gradient(100deg,#0f1d2c,#112235)!important;border-color:#2a4055!important;box-shadow:none}html.one-dark .v82ActionText strong{color:#eef5fb}html.one-dark .v82ActionText small{color:#95a8bb}html.one-dark .v82ActionMark{background:#183b5f;color:#f1ca5c}html.one-dark .v82Empty{background:#101e2c!important;border-color:#30465a!important;color:#99aabd!important}html.one-dark .v82Empty::before{background:#172b3e;color:#8fb9df}
html.one-dark .agendaHead,html.one-dark #oggi .actions,html.one-dark .calendarConnectBar,html.one-dark .v82ComposerLabel{border-color:#263a4e}html.one-dark .agendaToolbar,html.one-dark .agendaPeriodRow,html.one-dark #voce .settingsGrid,html.one-dark #voce .toggles label,html.one-dark .voiceProfile,html.one-dark .realVoice,html.one-dark .proAction{background:#101f2e!important;border-color:#293f55!important}html.one-dark .agendaPeriodRow>div:first-child strong,html.one-dark .voiceProfile strong,html.one-dark .proAction b{color:#eef5fb}html.one-dark .voiceProfile.active{background:#30280f!important;border-color:#806828!important}html.one-dark .feedSource:hover,html.one-dark .source:hover,html.one-dark .proAction:hover{background:#14283a!important;border-color:#3d5d79!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media(forced-colors:active){.oneMetric,.card,.providerCard,.v82ActionRail,.v81StatusItem{border:1px solid CanvasText!important}}
@media(max-width:1100px){.voiceProfiles{grid-template-columns:1fr 1fr!important}body[data-one-view="system"] #pro .proActionGrid{grid-template-columns:1fr 1fr!important}}
@media(max-width:900px){.v82ActionRail{grid-template-columns:1fr;gap:8px}.v82ActionBtn{width:100%}.v82ActionText small{white-space:normal}.top>div:first-child p{white-space:normal}}
@media(max-width:620px){.v82AllDownloads{display:none}.v82ActionRail{padding:9px}.voiceProfiles,.voiceCatalog,body[data-one-view="system"] #pro .proActionGrid{grid-template-columns:1fr!important}.agendaToolbar{display:grid!important;grid-template-columns:1fr!important}.agendaListenActions{display:grid!important;grid-template-columns:1fr 1fr!important}}
