/* Availability and mobile corrections for the original dashboard. */
.md-availability-notice {
  padding:12px 16px;margin:0 0 16px;border:1px solid var(--border,var(--line));
  border-radius:8px;background:var(--card,var(--bg));color:var(--foreground);
  font-size:14px;line-height:1.5;overflow-wrap:anywhere;
}
.md-availability-notice[data-disabled=true] {border-left:3px solid #b45b36;}
.md-unavailable-badge {font-size:10px!important;letter-spacing:0;opacity:.75;white-space:normal;}
html:root body .dash-cat-single:has(.md-unavailable-badge) {flex-wrap:wrap;}
html:root body .dash-cat-single>.md-unavailable-badge {margin-left:30px;margin-top:-8px;}
html:root body form[data-service-disabled=true] [type=submit],
html:root body #md-easy-toggle:disabled {opacity:.5;cursor:not-allowed;}
html:root body .md-select-content {max-width:calc(100vw - 24px);}
html:root body .md-select-content [role=option] {white-space:normal;overflow-wrap:anywhere;}
@media(max-width:900px) {
  html:root:has(body.dashboard-page) {height:100%;overflow:hidden;}
  html:root body.dashboard-page {
    height:100dvh!important;min-height:0!important;max-height:100dvh!important;
    overflow:hidden!important;padding-bottom:0;zoom:1;
  }
  html:root body.dashboard-page .dashboard-main {
    height:100dvh!important;min-height:0!important;overflow:hidden!important;
  }
  html:root body.dashboard-page .dash-workspace {height:100%;min-height:0;min-width:0;overflow:hidden;}
  html:root body.dashboard-page .dash-content {
    flex:1;min-height:0;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;
    padding-bottom:calc(76px + env(safe-area-inset-bottom))!important;overscroll-behavior-y:contain;
  }
  html:root body.dashboard-page .md-workspace-page {min-width:0;max-width:100%;}
  html:root body.dashboard-page .dash-welcome {zoom:1;}
  html:root body.dashboard-page .dash-welcome-head h1 {font-size:28px;overflow-wrap:anywhere;}
  html:root body.dashboard-page #md-easy-toggle {bottom:calc(12px + env(safe-area-inset-bottom));font-size:12px;}
}
@media(max-width:600px) {
  html:root body.dashboard-page .dash-content {padding-inline:12px!important;}
  html:root body.dashboard-page .dash-form-card {padding:16px;min-width:0;}
  html:root body.dashboard-page .dash-form-head {gap:12px;}
  html:root body.dashboard-page .dash-form-meta {min-width:0;flex:1;}
  html:root body.dashboard-page .dash-form-title {overflow-wrap:anywhere;}
  html:root body.dashboard-page .md-service-logo {flex-basis:56px;width:56px;min-height:36px;}
  html:root body.dashboard-page .md-service-logo img {max-width:56px;height:36px;}
  html:root body.dashboard-page .dash-stat-value {font-size:23px!important;overflow-wrap:anywhere;}
  html:root body.dashboard-page .dash-field {min-width:0;max-width:100%;}
  html:root body.dashboard-page :is(input,select,textarea) {font-size:16px;max-width:100%;}
}
