:root {
  color-scheme: dark;
  --paper:#27374b; --ink:#f3f7ff; --muted:#c7d5e6; --muted-strong:#d6e2f1;
  --accent-text:#d0e5ff; --line:#d3e4fa36; --raised:#3a4e68; --field:#2e4058;
  --green:#a8c2e7; --green-dark:#d0e1f8; --green-soft:#8ab1e231;
  --violet:#c0b6ef; --blue:#aed0f1; --mint:#b4cce9; --amber:#f0d2a7;
}
body {
  background:radial-gradient(ellipse at 76% -8%,#425b7b 0,transparent 44%),
    radial-gradient(ellipse at 3% 87%,#374c66 0,transparent 47%),var(--paper);
  color:var(--ink);
}
.ambient-one{background:radial-gradient(circle,#7292bc33 0%,transparent 72%)}.ambient-two{background:radial-gradient(circle,#607eaa30 0%,transparent 70%)}
.glass {
  background:linear-gradient(145deg,#bcd6f817,transparent 70%),#40536d96;
  border:1px solid var(--line);
  box-shadow:0 12px 34px #0c162727,inset 0 1px 0 #eef6ff1a;
  backdrop-filter:blur(24px) saturate(125%);
}
.sidebar{background:rgba(39,54,74,.8);border-color:var(--line)}.brand{color:#edf2f8}.brand-mark{background:linear-gradient(145deg,#526d98,#344866);box-shadow:0 4px 13px #0b111c99}.brand-dot{color:#9bb3d6}
.workspace-switch{background:rgba(255,255,255,.045);border-color:rgba(192,210,234,.11)}.workspace-icon{background:linear-gradient(145deg,#405674,#2c3c52);color:#d4e1f2}.workspace-switch strong,.user-row strong{color:#e1e9f3}.workspace-switch small,.user-row small{color:#8f9caf}.chevron,.more{color:#91a0b3}
.nav-label{color:#738196}.nav-item{color:#a8b4c4}.nav-item:hover{background:rgba(177,198,227,.08);color:#e7eef8}.nav-item.active{background:rgba(107,137,181,.2);color:#cad9ef}.nav-count{background:rgba(229,238,249,.1);color:#b8c9df}
.integration-row{color:#aab7c7}.outlook{background:rgba(91,145,201,.2);color:#a8cdf1}.book{background:rgba(186,139,105,.17);color:#dfb28d}.help-card{background:linear-gradient(145deg,rgba(65,85,115,.42),rgba(37,53,73,.48));border-color:rgba(176,201,234,.13)}.help-card:after{border-color:#b0c5e51e;box-shadow:0 0 0 12px #b0c5e510,0 0 0 24px #b0c5e507}.help-spark{color:#b4c8e5}.help-card strong{color:#e4ecf6}.help-card p{color:#a2b1c2}.help-card button{background:rgba(255,255,255,.09);color:#c9d8ed}
.topbar{background:rgba(15,22,32,.46);border-color:rgba(192,210,234,.09)}.breadcrumbs{color:#8998aa}.breadcrumbs strong{color:#d5dfec}.crumb-slash{color:#546276}.search-box{border-color:rgba(192,210,234,.13);background:rgba(255,255,255,.045);color:#9daec3}.search-box input{color:#e4ebf4}.search-box input::placeholder,.search-box kbd{color:#8796aa}.search-box kbd{border-color:rgba(192,210,234,.16)}.icon-button{color:#aab9cb}.icon-button i{border-color:#182230}
.eyebrow,.section-kicker{color:#8797aa}.welcome-row h1,.view-heading h1{color:#edf2f8}.subheading{color:#9ca9ba}.period{color:#a9c0e2}.primary-button{background:linear-gradient(140deg,#617ea9,#405b82);color:#f4f7fb;box-shadow:0 5px 17px rgba(19,31,49,.35)}.primary-button:hover{background:linear-gradient(140deg,#718eb7,#4d698f);box-shadow:0 7px 20px rgba(12,22,38,.48)}.secondary-button{color:#c3cfdd;background:rgba(255,255,255,.055);border-color:rgba(192,210,234,.14)}.secondary-button:hover{background:rgba(255,255,255,.1)}
.stat-top{color:#a0adbd}.stat-value{color:#e6edf6}.stat-foot{color:#95a2b1}.stat-foot b{color:#ced9e6}.trend-up{color:#afc3df}.stat-icon.violet{color:#c2baf1;background:rgba(137,120,204,.17)}.stat-icon.blue{color:#afd0ec;background:rgba(95,143,187,.18)}.stat-icon.mint{color:#b3c6dc;background:rgba(102,137,175,.2)}.stat-icon.amber{color:#e1bd94;background:rgba(178,137,95,.17)}.progress-track{background:rgba(231,240,250,.09)}.progress-track span{background:linear-gradient(90deg,#647fa9,#a9c0df)}.inbox-tag{color:#afd0ef;background:rgba(92,143,188,.18)}
.panel-heading h2{color:#e6edf5}.soft-count{background:rgba(231,240,250,.09);color:#a3b1c0}.text-button{color:#aec1dc}.task-tabs{border-color:rgba(205,219,238,.1)}.task-tab{color:#94a2b3}.task-tab.active{color:#c3d4ed}.task-tab.active:after{background:#92aed4}.task-tab span{color:#94a5b8}.focus-task,.project-row,.inbox-item{border-color:rgba(205,219,238,.09)}.focus-title{color:#dfe7f1}.focus-meta{color:#95a4b5}.meta-project{color:#aec0d5}.meta-sep{color:#59687a}.check-task{background:rgba(255,255,255,.025);border-color:#65768a}.check-task:hover{border-color:#a8c0e0}.focus-task.done .check-task{border-color:#7794ba;background:#7794ba}.focus-task.done .focus-title{color:#8997a7}.task-date{color:#9ba9b9}.panel-foot{border-color:rgba(205,219,238,.1)}.add-inline,.calendar-link{color:#b5c8e3}.foot-hint{color:#728095}
.today-label{color:#bbcae0!important}.week-header,.week-dates{color:#9aa8b8}.week-dates{color:#bec9d7}.today-date{background:#607da7;color:white}.agenda-event.event-violet{background:rgba(126,111,182,.18);border-color:#9b8bd5}.agenda-event.event-blue{background:rgba(94,137,174,.17);border-color:#83a9ce}.agenda-event.event-mint{background:rgba(90,123,153,.19);border-color:#8eabc8}.agenda-event strong{color:#d8e2ed}.agenda-event small{color:#a1afbe}.agenda-event>i{background:#aa9be0}.event-blue>i{background:#8eb6db}.event-mint>i{background:#a0bad4}.subtle{background:rgba(255,255,255,.06)}
.project-mark{filter:saturate(.75)}.mark-violet{color:#c2baf0;background:rgba(133,118,192,.18)}.mark-peach{color:#e0b79a;background:rgba(173,126,95,.19)}.mark-blue{color:#b1d0eb;background:rgba(92,139,179,.2)}.mark-green{color:#c0d2e4;background:rgba(104,137,168,.2)}.project-row strong,.mail-content strong{color:#d9e3ed}.project-row small,.mail-content span{color:#9ba9b8}.project-progress span{color:#a3b0bd}.project-progress .progress-track span{background:#829ebf}.project-team .avatar-mini{border-color:#273241}.sync-label{color:#9baaaa}.sync-label i{background:#9eb9d4}.mail-avatar{filter:saturate(.7)}.mail-a{background:rgba(172,119,98,.2);color:#e0b39c}.mail-b{background:rgba(94,133,174,.22);color:#b2d2ef}.mail-c{background:rgba(105,139,120,.2);color:#c2d2c1}.convert-button{border-color:rgba(192,210,234,.14);background:rgba(255,255,255,.04);color:#c1d1e5}.convert-button:hover{background:rgba(138,165,202,.17);border-color:rgba(177,201,231,.25)}.inbox-note{color:#a1adbb}.inbox-note>span{color:#c4b4ed}.inbox-note button{color:#b5c8e1}.page-footer{color:#8492a4}.page-footer b{color:#a8bfdc}
.segmented{background:rgba(7,13,21,.32)}.segmented button{color:#97a5b5}.segmented button.active{background:rgba(203,219,241,.15);color:#d4e0ef;box-shadow:0 1px 5px rgba(0,0,0,.18)}.toolbar select,.filter-button{border-color:rgba(192,210,234,.13);background:rgba(255,255,255,.045);color:#bcc8d6}.task-table-head{border-color:rgba(205,219,238,.1);color:#8795a8}.task-table-row{border-color:rgba(205,219,238,.09)}.task-name-cell strong{color:#dce5ef}.task-name-cell .task-note{color:#91a0b1}.task-project-cell{color:#aebfd2}.status-pill{background:rgba(108,145,172,.18);color:#b9cee0}.status-pill.completed{background:rgba(211,222,234,.08);color:#9ba8b7}.row-date,.row-priority{color:#9aa8b8}.row-priority:before{background:#8da9c9}.row-priority.Hoog:before{background:#d29c80}.board-column{background:rgba(6,13,23,.21)}.board-column h3{color:#ced8e5}.board-column h3 span{color:#91a0b1}.board-card{background:rgba(41,54,72,.8);border-color:rgba(192,210,234,.12)}.board-card strong{color:#dce5ef}.board-card small{color:#9aa9b9}.board-column.drag-over{background:rgba(106,135,174,.18)}
.calendar-toolbar strong{color:#d8e2ed}.cal-day-head{border-color:rgba(205,219,238,.1);color:#9aa8b8}.cal-day-head b{color:#c8d3df}.cal-day-head.is-today{background:rgba(112,145,187,.14);color:#c1d3ea}.cal-day-head.is-today b{color:#d8e6f7}.cal-time{color:#8493a5;border-color:rgba(205,219,238,.1)}.cal-cell{border-color:rgba(205,219,238,.1)}.cal-event.violet{background:rgba(129,111,184,.22);color:#d1c9f5;border-color:#a396d9}.cal-event.blue{background:rgba(91,139,180,.22);color:#c4ddf2;border-color:#8cb3d8}.cal-event.mint{background:rgba(92,126,158,.24);color:#cadaed;border-color:#9ab6d3}.calendar-legend{color:#a3b0bd}.violet-dot{background:#aa9be0}.blue-dot{background:#91b8dc}.mint-dot{background:#9db9d4}.demo-caption{color:#8290a1}
.project-card-top h3,.client-card h3{color:#e1e9f2}.project-card-top p,.client-card p{color:#a0adbc}.project-card-desc{color:#aab6c4}.project-card-meta,.project-card-bottom{color:#98a6b6}.project-card .progress-track span{background:linear-gradient(90deg,#657fa8,#a9c0df)}.project-card-bottom{border-color:rgba(205,219,238,.1)}.project-card-bottom button{color:#b5c9e3}.client-info{border-color:rgba(205,219,238,.1);color:#9eacbb}.client-info strong{color:#cad6e4}.client-last{color:#8493a5}
.hours-card>span{color:#a1adbb}.hours-card>strong{color:#e1e9f2}.hours-card>strong span,.hours-card small{color:#9ba9b8}.hours-card .not-connected{color:#b3bfce}.hours-row{border-color:rgba(205,219,238,.1);color:#a5b1bf}.hours-row strong{color:#d6e0eb}
.modal{background:#202b39;border-color:rgba(192,210,234,.16);color:#e3ebf5}.modal::backdrop{background:rgba(4,8,14,.68)}.modal h2{color:#e8eef6}.close-button{background:rgba(255,255,255,.08);color:#c2cfdd}.field-label{color:#aab8c8}.field-label input,.field-label select,.field-label textarea{background:rgba(8,14,22,.38);border-color:rgba(192,210,234,.17);color:#e1e9f2}.field-label input::placeholder,.field-label textarea::placeholder{color:#748397}.field-label input:focus,.field-label select:focus,.field-label textarea:focus{border-color:#8da9ce;box-shadow:0 0 0 3px rgba(111,143,188,.2)}.field-label option{background:#202b39;color:#e1e9f2}.toast{background:#dce7f4;color:#233147;box-shadow:0 8px 28px #0006}
.empty-state{color:#95a3b3}.hidden{display:none!important}

/* Account and Microsoft 365 views */
html[data-mode="real"] .demo-only, html[data-mode="demo"] .live-only, [hidden] { display: none !important; }
.topbar { position: relative; z-index: 5; }
.account-control { position: relative; flex: 0 1 auto; min-width: 0; }
.account-control summary { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 4px 9px 4px 5px; cursor: pointer; list-style: none; border: 1px solid rgba(178, 202, 235, .14); border-radius: 11px; background: rgba(161, 187, 223, .045); }
.account-control summary::-webkit-details-marker { display: none; }
.account-control:is([open], :hover) summary { background: rgba(161, 187, 223, .12); border-color: rgba(178, 202, 235, .26); }
.account-avatar { display: grid; place-items: center; flex: none; width: 27px; height: 27px; border-radius: 8px; background: linear-gradient(145deg, #3d5778, #293a54); color: #eef4fe; font: 700 10px var(--display); }
#account-name { min-width: 0; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.account-chevron { flex: none; width: 5px; height: 5px; margin: -2px 1px 0 3px; border: solid #9eafc5; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.account-control[open] .account-chevron { margin-top: 2px; transform: rotate(225deg); }
#account-name, .account-identity strong { color: #e1eaf7; font-size: 12px; }
.account-identity small { color: #a5b6cc; font-size: 11px; }
.account-popover { position: absolute; top: calc(100% + 12px); right: 0; width: min(280px, calc(100vw - 24px)); padding: 8px; border-radius: 12px; background: #202d3e; }
.account-identity { display: grid; gap: 4px; padding: 9px 10px 11px; overflow-wrap: anywhere; border-bottom: 1px solid #ffffff1a; margin-bottom: 5px; }
.account-action { display: block; width: 100%; padding: 9px 10px; text-align: left; border: 0; background: transparent; color: #dce7f7; text-decoration: none; border-radius: 7px; }
.account-action:is(:hover, :focus-visible) { background: #ffffff15; }
.account-link, .live-item-link { color: #b6d4ff; text-decoration: underline; text-underline-offset: 3px; }
.account-dialog h3 { margin: 18px 0 8px; font-size: 13px; }
.account-dialog p, .profile-fields dt { color: #aabbd1; }
.profile-fields { display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; margin: 0 0 18px; }
.profile-fields dd { margin: 0; overflow-wrap: anywhere; }
.workspace-source { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 13px; margin: 0 0 14px; }
#workspace-data-status { font-size: 11px; color: #adbdd1; }
.live-overdue { margin-top: 14px; }
.live-overdue h3, .live-calendar-day h3 { margin: 8px 0; font-size: 13px; color: #cbd8eb; }
.live-calendar-day h3 { text-transform: capitalize; }
.live-calendar-day + .live-calendar-day { margin-top: 16px; }
.live-list { list-style: none; padding: 0; margin: 0; }
.live-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #ffffff14; overflow-wrap: anywhere; }
.live-row:last-child { border-bottom: 0; }
.live-row-main { display: grid; gap: 3px; }
.live-row small, .live-row-meta, .source-empty { color: #a6b7cd; font-size: 11px; }
.live-row-meta { flex: none; }
.source-empty { margin: 10px 0; line-height: 1.5; }
.live-inbox { max-height: 360px; overflow-y: auto; }
.m365-history-dialog { width: min(740px, calc(100vw - 26px)); max-height: 86vh; }
.history-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; margin-bottom: 16px; }
.history-toolbar p { margin: 0; flex: 1 1 200px; }
.history-table { overflow-x: auto; }
.history-table table { width: 100%; border-collapse: collapse; text-align: left; }
.history-table th, .history-table td { padding: 9px 8px; border-bottom: 1px solid #ffffff14; }
.history-table th { color: #a9bdd7; font-weight: 600; font-size: 11px; }
.history-table td { font-size: 12px; }
.history-table td:first-child, .history-table td:nth-last-child(-n+2) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.history-table td:nth-last-child(-n+2), .history-table th:nth-last-child(-n+2) { text-align: right; }
.history-result { display: block; color: #e3c694; }
.history-result.is-ok { color: #a6d4be; }
.history-http { color: #aabbd1; font-size: 10px; }
.history-visible { display: block; color: #aabbd1; font-size: 10px; }
.task-source-settings { margin: 18px 0 0; padding: 12px; border: 1px solid #ffffff22; border-radius: 9px; min-width: 0; }
.task-source-settings legend { padding: 0 5px; font-weight: 600; }
.task-source-options { display: flex; flex-wrap: wrap; gap: 8px 13px; color: #d0def1; font-size: 12px; }
.task-source-options label { display: flex; align-items: center; gap: 4px; }
.task-source-options input { accent-color: #8bafd8; }
.task-source-settings .secondary-button { margin-top: 13px; }
.accounting-fields .field-label { margin: 5px 0 0; }
.accounting-results { display: grid; gap: 4px; color: #b7c4d5; margin-top: 7px; font-size: 12px; }
.outlook-access { display: grid; gap: 7px; }
.outlook-access p:empty { display: none; }
.mail-dialog-body { padding: 22px; }
.mail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 10px 0; }
.workspace-mail-items { list-style: none; padding: 0; margin: 0; }
.workspace-mail-items li { border-bottom: 1px solid #ffffff19; padding: 9px 0; }
.workspace-mail-items p { margin: 5px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.workspace-mail-items small { display: block; margin: 3px 0; color: #a9bed9; }
#workspace-mail-form { padding: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html[data-mode="real"] .integration-row .outlook ~ .status-dot { display: none; }
@media (max-width: 760px) {
  #account-name { max-width: 112px; }
}
@media (max-width: 400px) {
  #account-name { display: none; }
  .m365-history-dialog form { padding: 16px; }
}

/* Real workspace */
html[data-mode="real"] #view-dashboard .dashboard-layout { align-items: start; }
html[data-mode="real"] .dashboard-layout :is(.week-panel, .inbox-panel, .task-panel) { min-height: 0; }
.work-panel + .work-panel { margin-top: 13px; }
.work-panel h2, .workspace-today h3, .live-overdue h3 { margin: 3px 0 10px; font: 700 14px var(--display); color: #cbd8eb; }
.workspace-today > h3 { margin-top: 14px; }
.m365-task-preview { padding-top: 12px; margin-top: 13px; border-top: 1px solid #ffffff14; }
.work-table-wrap { overflow-x: auto; }
.work-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
.work-table :is(th,td) { padding: 10px 8px; border-bottom: 1px solid #ffffff15; overflow-wrap: anywhere; }
.work-table th { color: #a4b8d2; font-weight: 600; font-size: 11px; white-space: nowrap; cursor: grab; }
.work-table td { color: #dde7f4; min-width: 64px; }
.work-actions { display: flex; flex-wrap: wrap; gap: 3px 8px; align-items: center; }
.work-sort, .work-title, .work-inline-button { border: 0; background: transparent; padding: 0; color: inherit; text-align: left; }
.work-sort:hover, .work-title:hover, .work-inline-button:hover { color: #bad5fc; }
.work-title { font-weight: 700; overflow-wrap: anywhere; }
.work-title small { display: block; margin-top: 3px; color: #a8bbd4; font-weight: 500; }
.client-toggle { position: relative; padding-left: 15px; }
.client-toggle::before { content: ""; position: absolute; width: 5px; height: 5px; left: 0; top: .43em; border: solid #9cb9df; border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); }
.client-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.client-details-row > td { padding: 10px 12px 14px 21px; background: #8daed40b; }
.client-detail-section + .client-detail-section { margin-top: 16px; }
.client-detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.client-detail-heading h2 { margin: 0; }
.work-inline-button { color: #a9bbd3; padding: 3px 0; }
.work-delete:hover { color: #ffc0ba; }
.work-editor { max-height: 88vh; width: min(520px, calc(100vw - 28px)); }
.work-editor .field-label { font-size: 12px; }
.work-editor .field-label :is(input,select,textarea) { font-size: 13px; }
.work-editor-path { color: #a9c0de; font-size: 12px; margin: 5px 0 12px; }
.work-check { display: flex; gap: 6px; align-items: center; margin: 8px 0; color: #c4d4e9; }
.work-error { color: #ffb5ae !important; }
.work-report-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.work-task-cards, .outlook-list { padding: 0; margin: 0; list-style: none; }
.work-task-card { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #ffffff13; }
.work-task-card:last-child { border-bottom: 0; }
.work-task-card[draggable] { cursor: grab; }
.work-task-date { color: #a9bcd5; white-space: nowrap; font-size: 11px; }
.plan-days { display: flex; gap: 4px; flex-wrap: wrap; margin: 2px 0 8px; }
.plan-day { display: flex; align-items: center; gap: 4px; color: #a8bbd5; background: #ffffff04; border: 1px solid #b5cde326; border-radius: 7px; padding: 5px 6px; font-size: 10px; }
.plan-day small { color: #93b5e0; }
.plan-day:is([aria-pressed="true"],.is-drop-day) { background: #5483bd37; border-color: #84a9d9; color: #e2efff; }
.active-client-panel { background: linear-gradient(115deg,#27466a66,#172639bf); border-color: #82a9d44d; margin-bottom: 14px; }
.active-client + .active-client { margin-top: 15px; }
.active-client-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.active-client-heading :is(p,h2) { margin: 0 0 4px; }
.active-client-heading h2 { font: 700 18px var(--display); }
.active-until { color: #c7dcfa; font-size: 11px; border-radius: 20px; background: #466b9b44; padding: 6px 10px; }
.outlook-list { display: grid; gap: 5px; }
.outlook-event, .outlook-message { display: grid; align-items: center; min-width: 0; padding: 8px 9px; border: 1px solid #b4cdec14; border-radius: 8px; background: #90afd108; }
.outlook-event { grid-template-columns: minmax(96px, auto) minmax(0,1fr); gap: 0 10px; border-left: 2px solid #6e93c1; }
.outlook-event.in-progress { background: #789ccc21; border-left-color: #b8d6ff; }
.outlook-event-time { display: grid; gap: 3px; color: #b0c4de; font-size: 11px; font-variant-numeric: tabular-nums; }
.outlook-event-time small { color: #bcd8ff; }
.outlook-event-main { display: grid; justify-items: start; gap: 5px; min-width: 0; }
.outlook-list .live-item-link, .outlook-list strong { color: #dce7fb; font-size: 12px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.outlook-list .live-item-link:is(:hover,:focus-visible) { color: #bfdaff; text-decoration: underline; }
.calendar-client-button { padding: 2px 5px; border: 1px solid #b4cdec2b; border-radius: 5px; background: #789ccc14; color: #a9c8f0; font-size: 10px; max-width: 100%; overflow-wrap: anywhere; }
.calendar-client-button:hover { background: #789ccc37; }
.live-inbox { max-height: none; overflow: visible; }
.outlook-message { grid-template-columns: 27px minmax(0,1fr) auto; gap: 0 8px; }
.outlook-message.unread { border-color: #9dbdf540; }
.outlook-sender-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 7px; background: #3b567a5a; color: #c9dcf5; font-size: 11px; font-weight: 600; }
.outlook-message .live-row-main { min-width: 0; gap: 3px; }
.outlook-message .live-row-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.outlook-message-actions { display: grid; gap: 3px; justify-items: end; white-space: nowrap; }
.outlook-expand { border: 0; background: transparent; color: #b7cdea; margin-top: 8px; padding: 6px 2px; font-size: 11px; }
.outlook-expand:hover { color: #e0eeff; }
.calendar-view-toggle button { white-space: nowrap; }
#live-calendar.is-week-grid { padding: 0; }
.outlook-week-scroll { overflow-x: auto; border-radius: inherit; }
.outlook-week-grid { --hour-height: 52px; display: grid; grid-template-columns: 56px repeat(7,minmax(108px,1fr)); }
.week-corner, .week-column-label, .week-all-day-label, .week-all-day { border-bottom: 1px solid #b5cde325; background: #85a2c510; }
.week-column-label { padding: 13px 8px; color: #bccde4; font: 600 11px var(--display); text-transform: capitalize; border-left: 1px solid #b5cde319; }
.week-column-label[aria-current="date"] { color: #e2edff; background: #729bd83a; }
.week-all-day-label { padding: 6px; color: #a4b9d4; font-size: 10px; }
.week-all-day { min-height: 27px; padding: 4px; display: grid; align-content: start; gap: 3px; border-left: 1px solid #b5cde319; }
.week-hour-axis, .week-column-track { height: calc(var(--week-hours) * var(--hour-height)); }
.week-hour-label { height: var(--hour-height); padding: 5px 7px 0; text-align: right; color: #95aac5; font-size: 10px; font-variant-numeric: tabular-nums; }
.week-column-track { position: relative; border-left: 1px solid #b5cde319; background: repeating-linear-gradient(to bottom, transparent 0 calc(var(--hour-height) - 1px), #b5cde31a calc(var(--hour-height) - 1px) var(--hour-height)); }
.week-grid-event, .week-all-day-event { display: flex; flex-direction: column; padding: 4px 15px 4px 4px; border-left: 2px solid #8cabd5; border-radius: 5px; background: #30496c; color: #e0edff; overflow: hidden; }
.week-grid-event { position: absolute; min-height: 21px; }
.week-all-day-event { position: relative; }
.week-grid-event :is(a,strong), .week-all-day-event :is(a,strong) { color: inherit; min-width: 0; overflow: hidden; font-size: 10px; font-weight: 700; text-decoration: none; line-height: 13px; text-overflow: ellipsis; white-space: nowrap; }
.week-grid-event a:hover, .week-all-day-event a:hover { text-decoration: underline; }
.week-event-time { color: #bdd1eb; font-size: 9px; }
.week-grid-event .calendar-client-button, .week-all-day-event .calendar-client-button { position: absolute; top: 3px; right: 2px; padding: 0; width: 13px; height: 14px; font-size: 9px; }
.calendar-client-button.is-linked { color: #d0e5ff; }
.day-guidance { background: #6b8ab011; margin-top: 10px; border: 1px solid #b4cdee29; border-radius: 9px; padding: 8px; }
.day-guidance.inbox-proposals { margin: 0 0 8px; }
.day-guidance summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; cursor: pointer; list-style: none; }
.day-guidance summary::-webkit-details-marker { display: none; }
.day-guidance summary span::before { content: '›'; display: inline-block; color: #a3bdeb; margin-right: 6px; }
.day-guidance[open] summary span::before { transform: rotate(90deg); }
.day-guidance summary small { color: #b4c8e4; font-size: 10px; }
.day-guidance.is-overbooked { border-color: #d5ad6c66; }
.day-guidance.is-overbooked summary small, .guidance-warning { color: #e9c58d; }
.guidance-warning { font-size: 11px; line-height: 1.5; }
.guidance-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin-top: 8px; }
.guidance-figure { padding: 6px; border-radius: 6px; background: #8faeda16; }
.guidance-figure span, .guidance-action small { display: block; color: #afc0d8; margin-bottom: 2px; font-size: 10px; }
.guidance-figure strong { font-size: 12px; }
.guidance-meter { width: 100%; margin-top: 6px; }
.guidance-actions { list-style: none; margin: 5px 0 0; padding: 0; }
.guidance-action { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; }
.guidance-action strong { font-size: 11px; overflow-wrap: anywhere; }
.guidance-action button { flex: none; }
.workspace-today > .day-guidance { margin: 0 0 11px; }
.inbox-action-label { justify-self: start; color: #edcb95; background: #c0954d24; padding: 2px 5px; border-radius: 5px; font-size: 10px; }
.inbox-action-label.has-task { color: #bee2d0; background: #558a7030; }
@media (max-width: 760px) {
  .welcome-row > .primary-button.live-only, .view-heading .primary-button.live-only { font-size: 11px; }
  .work-table th, .work-table td { padding-inline: 5px; }
}
@media(max-width:760px){.workspace-switch{background:transparent}.nav-item.active{background:rgba(107,137,181,.2)}}

/* Shared application conventions: responsive navigation, glass surfaces and complete data lists. */
.menu-toggle{height:31px;width:32px;display:grid;place-items:center;border:1px solid rgba(192,210,234,.12);border-radius:8px;background:rgba(255,255,255,.045);color:#b9c9df;margin-right:15px;font-size:13px;flex:0 0 32px}.menu-toggle:hover{background:rgba(177,198,227,.12)}
.sidebar.collapsed{width:68px;flex-basis:68px;padding-left:7px;padding-right:7px}.sidebar.collapsed .brand{justify-content:center;padding:0}.sidebar.collapsed .brand>span:last-child,.sidebar.collapsed .workspace-switch>div:not(.workspace-icon),.sidebar.collapsed .workspace-switch .chevron,.sidebar.collapsed .nav-label,.sidebar.collapsed .integration-row>span:not(.integration-icon),.sidebar.collapsed .help-card,.sidebar.collapsed .user-row>div:not(.avatar),.sidebar.collapsed .user-row .more{display:none}.sidebar.collapsed .workspace-switch{justify-content:center;margin:28px 0 24px;padding:5px 0;background:transparent;border:0}.sidebar.collapsed .nav-item{justify-content:center;padding-left:0;padding-right:0;font-size:0}.sidebar.collapsed .nav-icon{font-size:17px}.sidebar.collapsed .nav-count{position:absolute;top:0;right:1px;font-size:8px;padding:1px 4px}.sidebar.collapsed .integration-row{justify-content:center;padding:8px 0}.sidebar.collapsed .status-dot{display:none}.sidebar.collapsed .user-row{justify-content:center;padding-left:0;padding-right:0}
.task-table-head,.task-table-row{grid-template-columns:minmax(190px,1.5fr) minmax(100px,1fr) 115px 110px 75px 66px}.standard-column-head{cursor:grab;user-select:none;white-space:nowrap}.standard-column-head:active{cursor:grabbing}.standard-column-head[data-sort]{cursor:pointer}.standard-column-head[data-sort]::after{content:'↕';font-size:9px;margin-left:5px;color:#7789a0;opacity:.8}.standard-column-head.sort-asc::after{content:'↑';color:#c6d8f0}.standard-column-head.sort-desc::after{content:'↓';color:#c6d8f0}.standard-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px}.row-action{width:23px;height:23px;border-radius:6px;border:1px solid rgba(192,210,234,.12);background:rgba(255,255,255,.04);color:#b8cbe4;font-size:12px;line-height:18px;padding:0}.row-action:hover{background:rgba(138,165,202,.19);border-color:rgba(177,201,231,.24)}.row-action.danger{color:#d59c9d}.row-action.danger:hover{background:rgba(175,92,99,.19);border-color:rgba(211,132,137,.25)}.task-table-row .task-name-cell{min-width:0}.task-table-row .task-name-cell>div{min-width:0}.task-table-row .task-name-cell strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hours-row{grid-template-columns:100px minmax(110px,.8fr) minmax(180px,1.5fr) 80px 66px;align-items:center}.hours-row .standard-column-head{color:#8795a8;font:700 8px var(--display);letter-spacing:.5px}.hours-row [data-col="duration"]{text-align:right}
@media(max-width:760px){.menu-toggle{margin-right:8px}.sidebar{transition:width .2s ease,flex-basis .2s ease}.sidebar.mobile-open{width:220px;flex-basis:220px;padding:18px 12px}.sidebar.mobile-open .brand{justify-content:flex-start;padding:0 8px}.sidebar.mobile-open .brand>span:last-child,.sidebar.mobile-open .workspace-switch>div:not(.workspace-icon),.sidebar.mobile-open .workspace-switch .chevron,.sidebar.mobile-open .nav-label,.sidebar.mobile-open .integration-row>span:not(.integration-icon),.sidebar.mobile-open .help-card,.sidebar.mobile-open .user-row>div:not(.avatar),.sidebar.mobile-open .user-row .more{display:block}.sidebar.mobile-open .workspace-switch{justify-content:flex-start;margin:25px 0 24px;padding:8px;border:1px solid rgba(192,210,234,.11);background:rgba(255,255,255,.045)}.sidebar.mobile-open .nav-item{font-size:12px;justify-content:flex-start;padding:10px 12px}.sidebar.mobile-open .nav-icon{font-size:16px}.sidebar.mobile-open .nav-count{position:static;font-size:9px;padding:2px 7px}.sidebar.mobile-open .integration-row{display:flex;justify-content:flex-start;padding:8px 12px}.sidebar.mobile-open .status-dot{display:block}.sidebar.mobile-open .help-card{display:block}.sidebar.mobile-open .user-row{justify-content:flex-start;padding:16px 7px 0}.task-table-head,.task-table-row{grid-template-columns:minmax(120px,1fr) 66px 62px 54px}.task-table-row [data-col="project"],.task-table-head [data-col="date"],.task-table-row [data-col="date"]{display:none}.task-table-head [data-col="task"],.task-table-row [data-col="task"]{grid-column:1}.task-table-head [data-col="status"],.task-table-row [data-col="status"]{grid-column:2}.task-table-head [data-col="priority"],.task-table-row [data-col="priority"]{grid-column:3}.task-table-head [data-col="actions"],.task-table-row [data-col="actions"]{grid-column:4}.task-table-row .standard-actions{gap:2px}.row-action{width:20px;height:21px}.hours-row{grid-template-columns:minmax(90px,1fr) 65px 48px}.hours-row [data-col="project"],.hours-row [data-col="description"]{display:none}.hours-row [data-col="date"]{grid-column:1}.hours-row [data-col="duration"]{grid-column:2}.hours-row [data-col="actions"]{grid-column:3}}
.status-dot,.sync-label i,.live-dot{background:#8daed4}.priority.normal{background:#8daed4}.mini-avatars .m1{background:#9d9cce}.mini-avatars .m2{background:#7897bd}.mini-avatars .m3{background:#93abc6}.page-footer b{color:#9eb8dc}

/* Today first, with a reorderable dashboard grid. */
#view-dashboard .dashboard-layout{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:dense;gap:14px;margin-bottom:14px}.dashboard-block{min-width:0;position:relative;transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease}.dashboard-block.drop-target{border-color:rgba(164,192,226,.58);box-shadow:0 0 0 2px rgba(113,148,192,.24),0 14px 40px rgba(0,0,0,.14)}.dashboard-layout .task-panel,.dashboard-layout .week-panel,.dashboard-layout .project-panel,.dashboard-layout .inbox-panel{grid-column:span 2}.dashboard-grip{width:24px;height:24px;flex:0 0 24px;display:grid;place-items:center;border:1px solid rgba(192,210,234,.12);border-radius:7px;background:rgba(255,255,255,.04);color:#9dafc7;font-size:14px;line-height:1;cursor:grab;margin-left:auto;touch-action:none}.dashboard-grip:hover{color:#d4e2f4;background:rgba(151,180,218,.14)}.dashboard-grip:active{cursor:grabbing}.stat-top .dashboard-grip{margin-left:6px;width:21px;height:21px;flex-basis:21px}.dashboard-layout .stat-card{cursor:pointer}.dashboard-layout .stat-card:hover{transform:translateY(-2px);border-color:rgba(173,198,229,.24)}.dashboard-layout .stat-card:focus-visible,.dashboard-layout .panel:focus-visible{outline:2px solid #8eaed4;outline-offset:2px}.dashboard-layout .panel-heading{gap:8px}.dashboard-layout .panel-heading .text-button{margin-left:auto}
@media(max-width:1100px){#view-dashboard .dashboard-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-layout .task-panel,.dashboard-layout .week-panel,.dashboard-layout .project-panel,.dashboard-layout .inbox-panel{grid-column:span 2}}
@media(max-width:760px){#view-dashboard .dashboard-layout{grid-template-columns:minmax(0,1fr);gap:10px}.dashboard-layout .task-panel,.dashboard-layout .week-panel,.dashboard-layout .project-panel,.dashboard-layout .inbox-panel{grid-column:1}.dashboard-grip{width:22px;height:22px;flex-basis:22px}}

.completion-task-title{margin:-10px 0 14px;color:#c5d3e4;font:600 12px var(--display)}.email-draft-toggle{display:flex;align-items:flex-start;gap:9px;margin:15px 0 8px;padding:11px 12px;border:1px solid rgba(192,210,234,.12);border-radius:8px;background:rgba(255,255,255,.035);cursor:pointer}.email-draft-toggle input{margin-top:2px;accent-color:#8daed4}.email-draft-toggle strong{display:block;color:#cbd8e8;font-size:10px}.email-draft-toggle small{display:block;margin-top:4px;color:#96a6b8;font-size:8px}.prototype-note{border-left:2px solid #8daed4;padding:8px 10px;background:rgba(110,143,184,.1);border-radius:0 6px 6px 0;color:#a6b4c4;font-size:8px;line-height:1.5}.focus-description{display:block;font-size:9px;line-height:1.4;color:#9eacbc;margin-top:4px;max-width:540px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-panel .focus-task{padding-top:10px;padding-bottom:10px}

/* Readable supporting text on glass surfaces. */
.topbar { background:#2d3e54b8; border-color:var(--line); }
.modal,.account-popover,.field-label option { background:var(--raised); }
.modal::backdrop { background:#121d2d8a; }
.field-label :is(input, select, textarea) { background:var(--field); border-color:var(--line); color:var(--ink); }
.field-label :is(input,textarea)::placeholder,.search-box input::placeholder { color:var(--muted); }
.eyebrow,.section-kicker { font-size:11px; }
.eyebrow,.section-kicker,.nav-label,.breadcrumbs,.stat-foot,.task-tab,
.account-identity small,.account-dialog p,.profile-fields dt,.work-title small,.empty-state,
.focus-meta,.focus-description,.week-hour-label,.live-row small,.live-row-meta,.source-empty { color:var(--muted); }
.nav-item,.subheading,.field-label,.work-table th,.history-table th,.plan-day,.work-task-date,.outlook-event-time,
#workspace-data-status,.guidance-figure span,.guidance-action small { color:var(--muted-strong); }
.nav-item.active,.secondary-button,.panel-heading h2,.outlook-list .live-item-link,
.outlook-list strong,.work-table td,.work-title { color:var(--ink); }
.sidebar .nav-item.active { background:#7da9e13d; }
.primary-button { background:linear-gradient(140deg,#4b6c94,#35557c); }
.primary-button:hover { background:linear-gradient(140deg,#54789f,#42658e); }
.secondary-button { background:#d5e7fd1a; border-color:var(--line); }
.secondary-button:hover { background:#d5e7fd29; }
.account-link,.live-item-link,.calendar-client-button,.work-inline-button { color:var(--accent-text); }
.outlook-event,.outlook-message { background:#bad3f218; }
.outlook-event.in-progress { background:#a9ccfa28; }
.week-grid-event,.week-all-day-event { background:#47688e; }
.active-client-panel { background:linear-gradient(115deg,#517aa18c,#354e6dbf); border-color:var(--line); }
.live-row small,.live-row-meta,.source-empty,.outlook-event-time,.work-task-date { font-size:12px; }
.outlook-list .live-item-link,.outlook-list strong,.work-table td,.work-title { font-size:13px; }
.work-table th,.calendar-client-button,.inbox-action-label { font-size:11px; }
:where(button,a,summary,input,select,textarea):focus-visible { outline:2px solid #b9d9ff; outline-offset:2px; }
