@media screen{
body:has(.ov-dashboard) #m1PageHeading{display:none!important}
.ov-dashboard{padding:22px 0 8px;color:#14263d}
.ov-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px;padding:0;background:transparent;border:0}
.ov-heading h2{font-size:27px!important;line-height:1.2;margin:0 0 5px!important;letter-spacing:-.6px;color:#11253e}
.ov-heading p{font-size:13px;color:#667c97;margin:0}
.ov-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.ov-btn,.ov-select,.ov-filters input,.ov-filters select{height:36px;min-height:36px!important;border:1px solid #d8e4f1!important;border-radius:7px!important;background:#fff!important;color:#304962!important;padding:7px 12px!important;font:500 12px Inter,'Segoe UI',sans-serif!important;box-shadow:none!important}
.ov-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;white-space:nowrap}
.ov-btn.primary{background:#0878f9!important;border-color:#0878f9!important;color:white!important}
.ov-btn:disabled{opacity:.45;cursor:not-allowed}.ov-btn:hover{filter:brightness(.97)}
.ov-icon{width:36px;padding:7px!important}.ov-btn svg,.ov-panel h3 svg{width:20px;height:20px;flex:0 0 auto}
.ov-select{max-width:240px}
.ov-more{position:relative}.ov-more>summary{list-style:none}.ov-more>div{position:absolute;right:0;top:42px;z-index:30;min-width:220px;background:white;border:1px solid #d8e4f1;padding:10px;border-radius:9px;box-shadow:0 10px 28px #12334a20}
.ov-more:not([open])>div{display:none}.ov-more .quick-actions{display:flex;flex-direction:column;margin:0;gap:8px}.ov-more .btn,.ov-more .ov-btn{width:100%;margin:3px 0;justify-content:flex-start}
.ov-tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:18px}
.ov-tile{display:flex;align-items:center;gap:13px;border:1px solid var(--ov-border)!important;background:linear-gradient(120deg,var(--ov-bg),#ffffffc9)!important;color:var(--ov-color)!important;border-radius:9px!important;padding:16px 14px!important;min-height:91px;cursor:pointer;text-align:left;box-shadow:none!important}
.ov-tile-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:40px}.ov-tile svg{width:32px;height:32px}
.ov-tile strong{display:block;font-size:26px;line-height:1.2;letter-spacing:-.6px;white-space:nowrap}.ov-tile small{display:block;margin-top:5px;font-size:11px;line-height:1.4;font-weight:550}
.blue{--ov-bg:#e0f0ff;--ov-border:#bfddff;--ov-color:#0876f3}.red{--ov-bg:#ffe6eb;--ov-border:#ffd1dc;--ov-color:#ec204b}.amber{--ov-bg:#fff1d4;--ov-border:#ffe0a0;--ov-color:#d78b00}.teal{--ov-bg:#dcf9ee;--ov-border:#b8edde;--ov-color:#009d7f}.violet{--ov-bg:#f1e7ff;--ov-border:#ddc9ff;--ov-color:#8a38e8}.cyan{--ov-bg:#dff8fc;--ov-border:#b9e9f0;--ov-color:#009aaf}
.ov-columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:18px}.ov-columns>div{min-width:0}
.ov-panel{background:#fff;border:1px solid #dbe6f2;border-radius:9px;overflow:hidden;margin-bottom:18px;min-width:0}
.ov-panel h3{display:flex;align-items:center;gap:9px;font-size:16px;margin:0;padding:17px 18px;color:#14263d;border-bottom:1px solid #e9eff7}.ov-panel h3 svg{color:#087aff}
.ov-tabs{display:flex;gap:20px;border-bottom:1px solid #dfE8f2;padding:0 18px;overflow:auto}
.ov-tabs button{border:0!important;border-radius:0!important;border-bottom:3px solid transparent!important;background:transparent!important;box-shadow:none!important;color:#536b88;font-size:12px;font-weight:550;padding:15px 0;cursor:pointer;white-space:nowrap}
.ov-tabs button.active{color:#0876f3!important;border-bottom-color:#0876f3!important}.ov-tabs b{background:#edf2f7;padding:2px 5px;border-radius:6px;font-size:10px}
.ov-table-scroll{overflow:auto;max-height:380px}.ov-table{border-collapse:collapse;width:100%;background:white;white-space:normal!important;table-layout:auto}
.ov-table th{font-size:11px;background:#f6f9fc;padding:12px;text-align:left;color:#536b88;border-bottom:1px solid #e8eff6;position:sticky;top:0;z-index:1}
.ov-table td{padding:14px 12px;font-size:12px;line-height:1.45;border-bottom:1px solid #e8eff6;max-width:240px;white-space:normal!important}.ov-table tbody tr{cursor:pointer}.ov-table tbody tr:hover td,.ov-table tr.selected td{background:#eaf4ff}
.ov-table td small{display:block;color:#74869b;font-size:10px;margin-top:4px}.ov-table input[type=checkbox]{appearance:auto!important;display:inline-block!important;width:15px!important;height:15px!important;min-height:15px!important;border-radius:3px!important;padding:0!important;accent-color:#087aff}
.ov-client,.ov-blue{color:#087aff!important}.ov-teal{color:#00a185!important}.ov-red{color:#e42c4b!important}
.ov-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--ov-color,#087aff);margin-right:7px;flex:0 0 auto}
.ov-agenda-row{display:flex;align-items:flex-start;gap:10px;border:0;border-bottom:1px solid #e8eff6;background:white;width:100%;padding:18px;text-align:left;cursor:pointer;color:#243952}.ov-agenda-row time{font-size:12px}.ov-agenda-row strong{display:block;font-size:13px}.ov-agenda-row small{display:block;font-size:11px;margin-top:5px}.ov-agenda-row .ov-dot{margin-top:4px}
.ov-link{display:block;padding:12px 18px;background:transparent;border:0;color:#0876f3;cursor:pointer;font-size:12px;text-align:left}
.ov-chart{padding:12px 16px 15px}.ov-chart svg{display:block;width:100%;height:auto;max-height:225px}.ov-chart text{font-family:inherit;font-size:11px;fill:#6a8099}.ov-chart p{margin:4px;text-align:center;font-size:12px}.ov-chart p span{margin:0 12px}.ov-chart small{display:block;text-align:center;color:#70849b;font-size:10px}
.ov-backup{padding:18px;color:#314b67;font-size:12px}.ov-backup strong{font-size:13px}.ov-progress{height:12px;background:#e5edf5;border-radius:4px;overflow:hidden}.ov-progress i{display:block;background:#00a78b;height:100%}.ov-backup small{color:#6b8098}
.ov-empty{padding:25px 18px;text-align:center;color:#71849a;font-size:12px}
.ov-legacy{margin:8px 0 20px;border:1px solid #dbe6f2;border-radius:8px;background:white;padding:12px}.ov-legacy>summary{cursor:pointer;font-weight:600;color:#4a6482;font-size:12px}.ov-legacy[open]>summary{margin-bottom:15px}.ov-legacy .hero{display:none}.ov-legacy .global-dashboard-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
html body #reminderDialog.ov-reminders{width:calc(100vw - 264px)!important;max-width:1600px!important;height:calc(100dvh - 132px)!important;max-height:none!important;position:fixed!important;inset:94px 16px 38px 248px!important;margin:0!important;border:1px solid #d6e3f1;border-radius:10px;padding:22px!important;background:#f3f8fd!important;overflow:auto!important;color:#14263d;box-shadow:0 18px 60px #10283e30}
html body #reminderDialog.ov-reminders::backdrop{background:#102c4325}
.ov-rem-inner{display:block}.ov-four{grid-template-columns:repeat(4,minmax(0,1fr))}.ov-four .ov-tile{min-height:96px}.ov-four .ov-tile-icon{width:50px;height:50px;flex-basis:50px;border-radius:11px;background:var(--ov-bg)}
.ov-filters{display:flex;gap:12px;padding:12px;background:white;border:1px solid #dbe6f2;border-radius:9px;margin-bottom:18px}.ov-filters input{flex:1;min-width:100px}.ov-filters select{max-width:28%;min-width:100px}
.ov-rem-columns{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:18px}.ov-rem-columns .ov-table-scroll{max-height:calc(100dvh - 440px);min-height:150px}.ov-rem-columns .ov-table th{background:#fff}.ov-row-title{border:0;background:none;padding:0;color:#314c68;cursor:pointer;text-align:left;font:inherit}
.ov-rem-detail{padding:18px}.ov-rem-detail h3{padding:0 0 14px;border:0}.ov-rem-detail h4{font-size:17px;line-height:1.4;margin:14px 0 20px}.ov-rem-detail h5{font-size:12px;margin:20px 0 8px}.ov-rem-detail dl{display:grid;grid-template-columns:90px 1fr;gap:14px 8px;font-size:12px;margin:0}.ov-rem-detail dt{color:#6a7f98}.ov-rem-detail dd{margin:0;overflow-wrap:anywhere}
.ov-tag{display:inline-block;border:1px solid var(--ov-border);background:var(--ov-bg);color:var(--ov-color);border-radius:6px;padding:5px 8px;font-size:11px}.ov-note{background:#f4f7fb;border:1px solid #e3eaf3;border-radius:7px;padding:12px;font-size:12px;color:#566e89;white-space:pre-wrap;max-height:150px;overflow:auto}.ov-rem-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.ov-rem-actions .ov-btn{flex:1}.ov-footnote{font-size:11px;color:#72879e}.ov-reminders [data-rem-error]{color:#c52e48}
@media(max-width:1200px){.ov-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.ov-four{grid-template-columns:repeat(4,minmax(0,1fr))}.ov-rem-columns{grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr)}.ov-tile{gap:8px;padding:12px!important}.ov-tile strong{font-size:23px}.ov-four .ov-tile-icon{width:32px;flex-basis:32px}}
@media(max-width:900px){.ov-columns,.ov-rem-columns{grid-template-columns:1fr}.ov-heading{align-items:flex-start;flex-direction:column}.ov-toolbar{justify-content:flex-start}.ov-rem-detail{display:block}.ov-filters{flex-wrap:wrap}.ov-four{grid-template-columns:repeat(2,minmax(0,1fr))}html body #reminderDialog.ov-reminders{inset:116px 8px 40px 64px!important;width:calc(100vw - 72px)!important;height:calc(100dvh - 156px)!important;padding:12px!important}.ov-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.ov-legacy .global-dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.ov-tile-icon{display:none}.ov-tile strong{font-size:22px}.ov-tiles{gap:7px}.ov-heading h2{font-size:23px!important}.ov-filters select{max-width:100%;flex:1}.ov-select{max-width:100%}.ov-table td{padding:10px 8px}.ov-dashboard{padding-top:14px}}
body.dark-mode .ov-panel,body.dark-mode .ov-legacy{background:#142b40;color:#e0edf8;border-color:#314b64}body.dark-mode .ov-heading h2,body.dark-mode .ov-panel h3{color:#e0edf8}body.dark-mode .ov-table,body.dark-mode .ov-table td,body.dark-mode .ov-agenda-row{background:#142b40;color:#dceaf7}body.dark-mode .ov-table th{background:#203a51;color:#c8dbea}body.dark-mode .ov-table tbody tr:hover td{background:#23435e}
}
@media print{.ov-dashboard .ov-toolbar,.ov-reminders .ov-toolbar,.ov-rem-actions{display:none!important}.ov-table-scroll{max-height:none;overflow:visible}}

@media screen{.ov-legacy{background:transparent!important;border:0!important;padding:0!important}.ov-legacy>h3{font-size:17px;color:#233d58;padding:12px 0}.ov-legacy>.grid-2{gap:18px}.ov-legacy .panel{border:1px solid #dbe6f2;border-radius:9px;box-shadow:none}.ov-legacy .panel-head{background:#fff;border-bottom:1px solid #e6eef6;padding:16px 18px}.ov-legacy .panel-head h3{font-size:16px}.ov-legacy .dashboard-stat{border-radius:9px!important;box-shadow:none!important;min-height:105px!important}.ov-legacy .hero{display:block}.ov-legacy .hero:has(#clientPicker){display:none}.ov-legacy .security{font-size:11px}.ov-legacy .workload-list b{background:linear-gradient(90deg,#00a78b,#1685ff)}.ov-legacy .dashboard-client-link{color:#087aff}.ov-legacy .cards{gap:10px}.ov-reminders .ov-panel{margin-bottom:0}}

@media screen{.ov-legacy .hero{display:none!important}.ov-backup-results{padding:18px}.ov-backup-row{display:grid;grid-template-columns:80px minmax(40px,1fr) 46px;gap:12px;align-items:center;border:0;background:none;padding:8px 0;width:100%;text-align:left;cursor:pointer;font-size:12px;color:#314b67}.ov-backup-row strong{text-align:right}.ov-backup-results>small{display:block;margin-top:12px;color:#73869c;font-size:10px}.ov-app-backup{border-top:1px solid #e8eff6;font-size:11px;padding:12px 18px;color:#637b94}.ov-app-backup summary{cursor:pointer}.ov-app-backup .ov-backup{padding:12px 0}.ov-legacy .dashboard-main-actions{display:flex;flex-wrap:wrap}.ov-legacy .dashboard-stat:nth-child(6n+1){background:#e6f3ff!important}.ov-legacy .dashboard-stat:nth-child(6n+2){background:#e2f8f1!important}.ov-legacy .dashboard-stat:nth-child(6n+3){background:#eaf2ff!important}.ov-legacy .dashboard-stat:nth-child(6n+4){background:#fff0df!important}.ov-legacy .dashboard-stat:nth-child(6n+5){background:#f4eaff!important}.ov-legacy .dashboard-stat:nth-child(6n){background:#e4f8fb!important}}

@media screen{html body .ov-dashboard #clientPicker{width:220px!important;max-width:240px!important;min-width:0!important;flex:0 1 220px!important}html body .ov-heading>.ov-toolbar{flex:0 1 auto!important;width:auto!important;max-width:none!important;flex-direction:row!important}html body #reminderDialog.ov-reminders>.ov-heading{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;margin-bottom:20px!important}html body #reminderDialog.ov-reminders .ov-more:not([open])>div{display:none!important}.ov-legacy .dashboard-maintenance-actions{display:flex;flex-wrap:wrap;gap:6px}@media(max-width:900px){html body #reminderDialog.ov-reminders>.ov-heading{flex-direction:column!important;align-items:flex-start!important}}}

/* Pastel cards keep a dark foreground, including custom and dark themes. */
@media screen {
 html body #content .ov-legacy .global-dashboard-cards .dashboard-stat[data-metric-tone] {
  --metric-ink:#18354f!important;
  color:#18354f!important;
 }
 html body #content .ov-legacy .global-dashboard-cards .dashboard-stat[data-metric-tone] > :is(.label,.value,.hint,.metric-action) {
  color:#18354f!important;
  -webkit-text-fill-color:#18354f!important;
  opacity:1!important;
  text-shadow:none!important;
 }
 html body #content .ov-legacy .global-dashboard-cards .dashboard-stat[data-metric-tone] > .label {font-weight:650}
 html body #content .ov-legacy .global-dashboard-cards .dashboard-stat[data-metric-tone] > .metric-action {
  color:#075594!important;-webkit-text-fill-color:#075594!important;
 }
 html body #content .ov-legacy .global-dashboard-cards .dashboard-stat[data-metric-tone]:focus-visible {outline:3px solid #075594!important;outline-offset:3px!important}
}

/* Approved centered reminder modal; its header follows company branding. */
@media screen{
 html body #reminderDialog.ov-reminders,html body.m1-unpinned #reminderDialog.ov-reminders{
  inset:0!important;margin:auto!important;width:min(64vw,1120px)!important;max-width:calc(100vw - 32px)!important;
  height:74dvh!important;max-height:calc(100dvh - 32px)!important;min-width:0!important;
  padding:0!important;overflow:hidden!important;border:1px solid var(--line)!important;border-radius:12px!important;
  background:#f5f8fc!important;box-shadow:0 24px 80px #0007!important;box-sizing:border-box!important;
 }
 html body #reminderDialog.ov-reminders[open]{display:flex!important;flex-direction:column!important}
 html body #reminderDialog.ov-reminders::backdrop{background:rgba(8,16,25,.58)!important}
 html body #reminderDialog.ov-reminders>.ov-heading{
  flex:0 0 auto;display:flex!important;flex-direction:row!important;align-items:center!important;
  gap:16px;padding:16px 20px!important;margin:0!important;background:linear-gradient(110deg,var(--navy),var(--teal))!important;
  color:var(--nav-text,#fff)!important;border-bottom:1px solid #ffffff30;
 }
 html body #reminderDialog.ov-reminders>.ov-heading :is(h2,p){color:inherit!important;margin:0!important}
 html body #reminderDialog.ov-reminders>.ov-heading h2{font-size:23px!important;line-height:1.25!important}
 html body #reminderDialog.ov-reminders>.ov-heading p{font-size:12px!important;margin-top:4px!important}
 html body #reminderDialog.ov-reminders>.ov-heading .ov-btn{color:inherit!important;background:#ffffff12!important;border:1px solid #ffffff80!important;min-height:34px!important;box-shadow:none!important}
 html body #reminderDialog.ov-reminders>.ov-heading .ov-more>div{color:var(--ink);background:white}
 html body #reminderDialog.ov-reminders>.ov-heading .ov-more>div .ov-btn{color:var(--ink)!important;background:white!important}
 html body #reminderDialog.ov-reminders .ov-rem-close{white-space:nowrap;font-weight:650}
 #reminderDialog.ov-reminders .ov-modal-hint{flex:none;margin:0;padding:8px 16px;text-align:center;font-size:11px;color:#526780;background:#fff}
 #reminderDialog.ov-reminders .ov-rem-inner{flex:1;min-height:0;overflow:auto;padding:14px 20px 12px}
 #reminderDialog.ov-reminders .ov-four{gap:12px;margin-bottom:14px}
 #reminderDialog.ov-reminders .ov-four .ov-tile{min-height:78px;padding:12px!important}
 #reminderDialog.ov-reminders .ov-four .ov-tile strong{font-size:26px}
 #reminderDialog.ov-reminders .ov-four .ov-tile-icon{width:36px;height:36px;flex-basis:36px}
 #reminderDialog.ov-reminders .ov-rem-columns{gap:14px;grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr)}
 #reminderDialog.ov-reminders .ov-rem-columns .ov-table-scroll{max-height:30dvh;min-height:120px;overflow:auto}
 #reminderDialog.ov-reminders .ov-rem-detail{padding:14px}
 #reminderDialog.ov-reminders .ov-rem-detail h4{font-size:15px;margin:12px 0}
 #reminderDialog.ov-reminders .ov-rem-detail dl{gap:8px;font-size:12px}
 #reminderDialog.ov-reminders .ov-rem-detail h5{margin:12px 0 6px}
 #reminderDialog.ov-reminders .ov-note{max-height:80px;padding:9px}
 #reminderDialog.ov-reminders .ov-tabs button.active{border-bottom-color:var(--blue);color:var(--blue)}
 @media(max-width:1000px){
  html body #reminderDialog.ov-reminders,html body.m1-unpinned #reminderDialog.ov-reminders{width:92vw!important;height:84dvh!important}
  #reminderDialog.ov-reminders .ov-rem-columns{grid-template-columns:1fr}
 }
 @media(max-width:600px){
  html body #reminderDialog.ov-reminders,html body.m1-unpinned #reminderDialog.ov-reminders{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;height:90dvh!important;max-height:calc(100dvh - 16px)!important}
  html body #reminderDialog.ov-reminders>.ov-heading{flex-wrap:wrap!important;padding:12px!important;gap:10px}
  #reminderDialog.ov-reminders .ov-rem-inner{padding:12px}
  #reminderDialog.ov-reminders .ov-four{grid-template-columns:repeat(2,minmax(0,1fr))}
 }
}

/* Consistent compact controls in the reminder header. */
@media screen{
 html body #reminderDialog.ov-reminders>.ov-heading>.ov-toolbar{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important}
 html body #reminderDialog.ov-reminders>.ov-heading>.ov-toolbar>.ov-more{display:flex!important;align-items:center!important;margin:0!important;padding:0!important}
 html body #reminderDialog.ov-reminders>.ov-heading>.ov-toolbar>.ov-btn,html body #reminderDialog.ov-reminders>.ov-heading>.ov-toolbar>.ov-more>summary.ov-btn{
  height:34px!important;min-height:34px!important;max-height:34px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  font:500 12px/1.2 Inter,'Segoe UI',sans-serif!important;padding:6px 10px!important;margin:0!important;align-self:center!important;flex:0 0 auto!important;width:auto!important;
 }
 html body #reminderDialog.ov-reminders>.ov-heading>.ov-toolbar>.ov-btn.ov-icon{width:34px!important;padding:6px!important}
}

/* Keep the narrower reminder readable before the mobile breakpoint. */
@media screen and (min-width:1001px) and (max-width:1300px){#reminderDialog.ov-reminders .ov-rem-columns{grid-template-columns:minmax(0,1fr)}}
