/*
 * MediMeet — Claude NEON Batch 2 (2026-11-15)
 * Approved screenshot ONLY, not a recreation or marketing design.
 * Scoped to html[data-theme="neon"]. Load AFTER Batch 1 CSS.
 * Admin current source selectors: medimeet-admin/dashboard/index.html,
 * styles.css, dashboard/app/*.html at repository main (OLDER than live).
 * Does not alter patient/timer/acknowledgement/permission/HR calculations.
 */
html[data-theme="neon"] body[data-page="dashboard"] {
  --bg:#060a13;--panel:#0a101b;--ink:#f3f6fa;--muted:#a9b4c2;
  --line:#1f2a3a;--accent:#22d3ee;--accent-hover:#1ab4cf;
  --rail:#080e18;--rail-ink:#d5dce5;
  --accent-soft:rgba(34,211,238,.13);
  --neon-bg:#060a13;--neon-panel:#0a101b;--neon-tile:#0d1422;
  --neon-popover:#101a2b;--neon-line:#1f2a3a;--neon-control:#3a475a;
  --neon-text:#f3f6fa;--neon-body:#d5dce5;--neon-muted:#a9b4c2;
  --neon-cyan:#22d3ee;--neon-lime:#c4f82a;--neon-violet:#b667ff;
  --neon-purple-text:#cfa5ff;--neon-blue:#4c8dff;
  --neon-blue-text:#8fb8ff;--neon-amber:#ffb020;--neon-red:#ff5d6c;
  --neon-radius-panel:22px;--neon-radius-tile:16px;
  background:
    radial-gradient(800px 460px at 0 0,rgba(20,110,130,.28),transparent 62%),
    radial-gradient(800px 600px at 100% 22%,rgba(120,50,190,.26),transparent 62%),
    #060a13;
  color:var(--neon-text);
  font-family:Inter,system-ui,sans-serif;
  color-scheme:dark;
}
/* Existing admin shell: same content & original logo; no replacement pixels. */
html[data-theme="neon"] body[data-page="dashboard"] :is(h1,h2,h3) {
  font-family:Outfit,system-ui,sans-serif;
  color:var(--neon-text);letter-spacing:-.012em;
}
html[data-theme="neon"] body[data-page="dashboard"] #app-view.layout {
  grid-template-columns:minmax(200px,236px) minmax(0,1fr);
  background:transparent;max-width:none;min-width:0;
}
html[data-theme="neon"] body[data-page="dashboard"] #app-view > .rail {
  background:#080e18;border-right:1px solid var(--neon-line);
  padding:18px 12px;min-width:0;position:sticky;top:0;
  max-height:100dvh;overflow-y:auto;
}
html[data-theme="neon"] body[data-page="dashboard"] #app-view .brand {
  padding:4px 8px 18px;color:var(--neon-text);
}
html[data-theme="neon"] body[data-page="dashboard"] #app-view .brand img {
  display:block;max-width:100%;max-height:62px;object-fit:contain;
  object-position:left center;filter:none; /* never redraw approved logo */
}
html[data-theme="neon"] body[data-page="dashboard"] #nav {
  display:grid;gap:3px;padding:0;margin:0;
}
html[data-theme="neon"] body[data-page="dashboard"] #nav li {
  min-width:0;margin:0;list-style:none;
}
html[data-theme="neon"] body[data-page="dashboard"] #nav a {
  display:flex;align-items:center;min-height:44px;
  padding:9px 13px;border:1px solid transparent;border-radius:12px;
  color:var(--neon-body);font:600 14px/1.4 Inter,system-ui,sans-serif;
  text-decoration:none;overflow-wrap:anywhere;
}
html[data-theme="neon"] body[data-page="dashboard"] #nav a:is(.active,[aria-current="page"]) {
  color:var(--neon-cyan);border-color:var(--neon-cyan);
  background:rgba(34,211,238,.11);box-shadow:none;
}
html[data-theme="neon"] body[data-page="dashboard"] #nav a:hover {
  background:#101a2b;color:#f3f6fa;
}
html[data-theme="neon"] body[data-page="dashboard"] #app-view .content {
  width:100%;max-width:none;min-width:0;padding:clamp(14px,1.5vw,26px);
  color:var(--neon-body);background:transparent;
}
html[data-theme="neon"] body[data-page="dashboard"] .panel {
  background:transparent;color:var(--neon-body);min-width:0;
}
html[data-theme="neon"] body[data-page="dashboard"] .panel[hidden],
html[data-theme="neon"] body[data-page="dashboard"] #app-view[hidden] {
  display:none!important;
}
html[data-theme="neon"] body[data-page="dashboard"] :is(.card,.pane,.room-details,#users-summary,.outbox li,.rooms>li) {
  background:var(--neon-panel);color:var(--neon-body);
  border:1px solid var(--neon-line);
  border-radius:var(--neon-radius-tile);box-shadow:none;
}
html[data-theme="neon"] body[data-page="dashboard"] :is(input,select,textarea) {
  min-height:44px;background:#060a13;color:var(--neon-text);
  border:1px solid #3a475a;border-radius:10px;
  font:400 14px/1.45 Inter,system-ui,sans-serif;
}
html[data-theme="neon"] body[data-page="dashboard"] input::placeholder {
  color:var(--neon-muted);
}
html[data-theme="neon"] body[data-page="dashboard"] label {
  color:var(--neon-body);font-size:14px;
}
html[data-theme="neon"] body[data-page="dashboard"] :is(button,a.button,summary) {
  min-height:44px;font-family:Inter,system-ui,sans-serif;
}
html[data-theme="neon"] body[data-page="dashboard"] :is(button,a.button) {
  background:var(--neon-panel);color:var(--neon-body);
  border:1px solid #3a475a;border-radius:999px;
  font-weight:600;
}
html[data-theme="neon"] body[data-page="dashboard"] :is(button,a.button):is(:hover,:focus-visible) {
  border-color:var(--neon-cyan);
}
html[data-theme="neon"] body[data-page="dashboard"] :is(button,a,input,textarea,select,summary,[tabindex]):focus-visible {
  outline:2px solid var(--neon-cyan);outline-offset:2px;
}
html[data-theme="neon"] body[data-page="dashboard"] :is(.muted,small,.small) {
  color:var(--neon-muted);
}
html[data-theme="neon"] body[data-page="dashboard"] :is(table,.account-table-wrap,.feedback-table-wrap) {
  width:100%;max-width:100%;min-width:0;
}
html[data-theme="neon"] body[data-page="dashboard"] :is(.account-table-wrap,.feedback-table-wrap,.mm-neon-table-scroll) {
  overflow-x:auto;border:1px solid var(--neon-line);
  border-radius:16px;background:var(--neon-panel);
}
html[data-theme="neon"] body[data-page="dashboard"] table {
  border-collapse:collapse;color:var(--neon-body);background:transparent;
  font:400 14px/1.45 Inter,system-ui,sans-serif;
}
html[data-theme="neon"] body[data-page="dashboard"] table th {
  text-align:left;background:#0d1422;color:var(--neon-muted);
  font-size:12px;font-weight:700;letter-spacing:.03em;
}
html[data-theme="neon"] body[data-page="dashboard"] table :is(th,td) {
  padding:12px 10px;min-height:48px;border-bottom:1px solid #1f2a3a;
}
html[data-theme="neon"] body[data-page="dashboard"] table tr:focus-within {
  outline:1px solid var(--neon-cyan);outline-offset:-1px;
}
html[data-theme="neon"] body[data-page="dashboard"] :is(.msg,.maintenance-banner) {
  border-radius:12px;
}
html[data-theme="neon"] body[data-page="dashboard"] .msg.error {
  background:rgba(255,93,108,.12);color:#ff8f99;border-color:#ff5d6c;
}
/* Claude Batch 2: Admin screen 1, dashboard overview and Users & access */
html[data-theme="neon"] body[data-page="dashboard"] #panel-neon-home .mm-neon-home-layout {
  display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,.95fr);
  gap:16px;align-items:start;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-neon-home .mm-neon-home-stack {
  display:grid;gap:14px;min-width:0;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-neon-home .mm-neon-home-section {
  padding:16px;border:1px solid #1f2a3a;border-radius:22px;
  background:#0a101b;min-width:0;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-neon-home .mm-neon-home-section h2 {
  margin:0 0 12px;font-size:17px;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-neon-home .mm-neon-home-section[data-tone="warning"] {
  border-color:#ffb020;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-neon-home .mm-neon-home-section[data-tone="warning"] h2 {
  color:#ffb020;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-neon-home .mm-neon-home-section[data-tone="ai"] {
  border-color:#b667ff;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-neon-home .mm-neon-home-section[data-tone="ai"] h2 {
  color:#cfa5ff;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-neon-home .mm-neon-home-section[data-tone="clinic"] h2 {
  color:#c4f82a;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-neon-home .mm-neon-home-section[data-tone="accounts"] h2 {
  color:#22d3ee;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-neon-home .mm-neon-home-section[data-tone="announcements"] {
  border-color:#4c8dff;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-neon-home .mm-neon-home-section[data-tone="announcements"] h2 {
  color:#8fb8ff;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-neon-home .mm-neon-home-metrics {
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-neon-home .mm-neon-metric {
  background:#0d1422;border:1px solid #243044;border-radius:12px;
  padding:12px;min-width:0;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-neon-home .mm-neon-metric strong {
  display:block;color:#f3f6fa;font-size:20px;line-height:1.1;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-neon-home .mm-neon-metric span {
  display:block;color:#a9b4c2;font-size:12px;margin-top:5px;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-neon-home .mm-neon-home-line {
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:10px 0;border-bottom:1px solid #243044;
  font-size:14px;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-neon-home .mm-neon-home-line:last-child {
  border-bottom:0;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-neon-home .mm-neon-home-line a {
  color:#22d3ee;min-height:44px;display:inline-flex;align-items:center;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-users #users-filter,
html[data-theme="neon"] body[data-page="dashboard"] #panel-users #create-form {
  display:flex;flex-wrap:wrap;gap:12px;
  background:#0a101b;border:1px solid #1f2a3a;
  padding:14px;border-radius:16px;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-users #users-filter label {
  flex:1 1 170px;min-width:0;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-users #users-summary {
  padding:12px;margin-block:14px;border-color:#22d3ee;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-users #accounts-table tbody tr:hover {
  background:#101a2b;
}
html[data-theme="neon"] body[data-page="dashboard"] #panel-users #outbox-list>li {
  border-color:#1f2a3a;margin-block:7px;
}
/* Batch 2 HR Reporting: selector-based styling; the current live R2 HR
 * implementation owns all data, CSV, access, retention and calculations. */
html[data-theme="neon"] body[data-page="dashboard"] :is(#panel-reporting,.hr-reporting,.hr-report-panel,[data-mm-page="hr"]) {
  min-width:0;color:#d5dce5;
}
html[data-theme="neon"] body[data-page="dashboard"] :is(.hr-reporting,.hr-report-panel,[data-mm-page="hr"]) :is(.hr-toolbar,.report-controls,.filter-row) {
  display:flex;flex-wrap:wrap;align-items:end;gap:10px;
  background:#0a101b;border:1px solid #1f2a3a;
  padding:12px;border-radius:16px;
}
html[data-theme="neon"] body[data-page="dashboard"] :is(.hr-reporting,.hr-report-panel,[data-mm-page="hr"]) :is(.hr-table,.report-table) {
  width:100%;border-collapse:collapse;
}
html[data-theme="neon"] body[data-page="dashboard"] :is(.hr-reporting,.hr-report-panel,[data-mm-page="hr"]) :is(.hr-table,.report-table) tr:is([aria-selected="true"],.selected) {
  outline:1px solid #22d3ee;outline-offset:-1px;
  background:rgba(34,211,238,.10);
}
html[data-theme="neon"] body[data-page="dashboard"] :is(.hr-reporting,.hr-report-panel,[data-mm-page="hr"]) :is(.detail-pane,.hr-person-detail,.pinned-panel) {
  border:1px solid #22d3ee;border-radius:20px;background:#0a101b;
  padding:16px;min-width:0;
}
html[data-theme="neon"] body[data-page="dashboard"] :is(.hr-reporting,.hr-report-panel,[data-mm-page="hr"]) :is(.evidence-room,.room-dot) {color:#22d3ee;}
html[data-theme="neon"] body[data-page="dashboard"] :is(.hr-reporting,.hr-report-panel,[data-mm-page="hr"]) :is(.evidence-brb,.brb-dot) {color:#f756aa;}
html[data-theme="neon"] body[data-page="dashboard"] :is(.hr-reporting,.hr-report-panel,[data-mm-page="hr"]) :is(.evidence-lunch,.lunch-dot) {color:#22ccac;}
html[data-theme="neon"] body[data-page="dashboard"] :is(.hr-reporting,.hr-report-panel,[data-mm-page="hr"]) :is(.evidence-camera-off,.evidence-tech-unavailable,.offline-dot) {color:#96a5c1;}
/* Batch 2 announcements (approved electric-blue treatment). */
html[data-theme="neon"] :is(body[data-page="announcements"],body[data-page="admin-announcements"],body[data-page="dashboard"] #panel-announcements) {
  color:#d5dce5;background:#060a13;
}
html[data-theme="neon"] :is(#mm-announcements-page,.mm-announcements-page,[data-mm-page="announcements"]) {
  --notice-blue:#4c8dff;--notice-blue-text:#8fb8ff;
  color:#d5dce5;min-width:0;
}
html[data-theme="neon"] :is(#mm-announcements-page,.mm-announcements-page,[data-mm-page="announcements"]) :is(.notice-list,.notice-editor,.notice-details,.notice-acknowledgements,.notice-preview) {
  background:#0a101b;border:1px solid #1f2a3a;
  border-radius:22px;padding:16px;min-width:0;
}
html[data-theme="neon"] :is(#mm-announcements-page,.mm-announcements-page,[data-mm-page="announcements"]) :is(.notice-details,[data-selected="true"]) {
  border-color:#4c8dff;
}
html[data-theme="neon"] :is(#mm-announcements-page,.mm-announcements-page,[data-mm-page="announcements"]) :is(.notice-unread,[data-unread="true"]) {
  box-shadow:0 0 30px rgba(76,141,255,.24);
}
html[data-theme="neon"] :is(#mm-announcements-page,.mm-announcements-page,[data-mm-page="announcements"]) :is(.notice-heading,.notice-header,h2) {
  color:#8fb8ff;
}
html[data-theme="neon"] :is(#mm-announcements-page,.mm-announcements-page,[data-mm-page="announcements"]) :is(.notice-row,.recipient-row) {
  min-height:48px;border-bottom:1px solid #243044;
  padding:10px 0;
}
html[data-theme="neon"] :is(#mm-announcements-page,.mm-announcements-page,[data-mm-page="announcements"]) .notice-ack-progress {
  accent-color:#4c8dff;min-height:8px;
}
/* Claude colour coding: personal=ring, shared label=dot. Never a tile or button fill. */
html[data-theme="neon"] :is(.mm-staff-colour,.mm-person-colour,[data-person-colour]) {
  --mm-person-colour:#22d3ee;
  outline:2px solid var(--mm-person-colour);
  outline-offset:2px;border-radius:50%;
}
html[data-theme="neon"] :is(.mm-visit-label-dot,[data-mm-label-colour])::before {
  content:"";display:inline-block;vertical-align:middle;
  inline-size:8px;block-size:8px;border-radius:50%;
  margin-inline-end:6px;background:var(--mm-label-colour,#4c8dff);
}
html[data-theme="neon"] :is(.mm-label-colour-picker,.mm-profile-colour-picker) .mm-colour-swatch {
  inline-size:44px;block-size:44px;display:inline-flex;
  border:2px solid #d5dce5;border-radius:50%;
  align-items:center;justify-content:center;cursor:pointer;
}
html[data-theme="neon"] :is(.mm-label-colour-picker,.mm-profile-colour-picker) [data-colour="amber"],
html[data-theme="neon"] :is(.mm-label-colour-picker,.mm-profile-colour-picker) [data-colour="red"] {
  display:none; /* Reserved for clinical alerts, not personal colours. */
}
@media(max-width:1100px) {
 html[data-theme="neon"] body[data-page="dashboard"] #panel-neon-home .mm-neon-home-layout {grid-template-columns:1fr;}
 html[data-theme="neon"] body[data-page="dashboard"] #panel-neon-home .mm-neon-home-metrics {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px) {
 html[data-theme="neon"] body[data-page="dashboard"] #app-view.layout {grid-template-columns:minmax(0,1fr);}
 html[data-theme="neon"] body[data-page="dashboard"] #app-view > .rail {
  position:static;max-height:none;padding:8px 12px;
 }
 html[data-theme="neon"] body[data-page="dashboard"] #nav {
  grid-template-columns:repeat(2,minmax(0,1fr));
 }
 html[data-theme="neon"] body[data-page="dashboard"] #app-view .content {padding:12px;}
 html[data-theme="neon"] body[data-page="dashboard"] .inline-form {gap:8px;}
}
@media(prefers-reduced-motion:reduce) {
 html[data-theme="neon"] :is(.notice-unread,[data-unread="true"],.mm-neon-home-section) {
  animation:none!important;transition:none!important;
 }
}
/* Current native canvas7260/f7b4 frame. Preserve native geometry, visibility,
 * controls, handlers and logo; replace its explicit light surfaces only. */
html[data-theme="neon"] body[data-page="dashboard"] #app-view.canvas-app,
html[data-theme="neon"] body[data-page="dashboard"] #app-view.canvas-app :is(.canvas-workarea,.canvas-center) {
  background:var(--neon-bg);color:var(--neon-body);
}
html[data-theme="neon"] body[data-page="dashboard"] #app-view.canvas-app :is(.canvas-topbar,.canvas-footer) {
  background:var(--rail);color:var(--neon-body);border-color:var(--neon-line);
}
html[data-theme="neon"] body[data-page="dashboard"] #app-view.canvas-app :is(.canvas-pane,.canvas-context,.canvas-pane-heading,.canvas-quick-navigation) {
  background:var(--neon-panel);color:var(--neon-body);border-color:var(--neon-line);
  box-shadow:none;
}
html[data-theme="neon"] body[data-page="dashboard"] #app-view.canvas-app .canvas-topbar .practice-subtitle {
  color:var(--neon-muted);
}
html[data-theme="neon"] body[data-page="dashboard"] #app-view.canvas-app .canvas-workspace-name {
  color:var(--neon-text);border-color:var(--neon-line);
}
html[data-theme="neon"] body[data-page="dashboard"] #app-view.canvas-app :is(.canvas-search,.canvas-search-results,.canvas-panel-menu,.canvas-page-heading .canvas-create,.canvas-notice-draft) {
  background:var(--neon-tile);color:var(--neon-body);border-color:var(--neon-control);
}
html[data-theme="neon"] body[data-page="dashboard"] #app-view.canvas-app :is(input,select,textarea) {
  background:var(--neon-bg);color:var(--neon-text);border-color:var(--neon-control);
}
html[data-theme="neon"] body[data-page="dashboard"] #app-view.canvas-app .canvas-search input {
  background:transparent;
}
html[data-theme="neon"] body[data-page="dashboard"] #app-view.canvas-app .canvas-button {
  background:var(--neon-tile);color:var(--neon-body);border-color:var(--neon-control);
}
html[data-theme="neon"] body[data-page="dashboard"] #app-view.canvas-app .canvas-button:hover {
  background:var(--neon-popover);
}
html[data-theme="neon"] body[data-page="dashboard"] #app-view.canvas-app :is(.canvas-quick-navigation a[aria-current="page"],.canvas-pane #nav a.active,.canvas-chip) {
  background:var(--accent-soft);color:var(--neon-cyan);border-color:var(--neon-cyan);
}
html[data-theme="neon"] body[data-page="dashboard"] #app-view.canvas-app .canvas-tabs button[aria-selected="true"] {
  color:var(--neon-cyan);border-bottom-color:var(--neon-cyan)!important;
}
/* The native canvas sets these row surfaces !important. Match only those
 * background declarations; keep its selection state and interaction intact. */
html[data-theme="neon"] body[data-page="dashboard"] #app-view.canvas-app .canvas-selection-row {
  background:var(--neon-tile)!important;color:var(--neon-body);
}
html[data-theme="neon"] body[data-page="dashboard"] #app-view.canvas-app .canvas-selection-row[aria-pressed="true"] {
  background:var(--accent-soft)!important;box-shadow:inset 4px 0 0 var(--neon-cyan);
}
html[data-theme="neon"] body[data-page="dashboard"] #app-view.canvas-app .canvas-selection-row:hover {
  background:var(--neon-popover)!important;
}
html[data-theme="neon"] body[data-page="dashboard"] #app-view.canvas-app .canvas-selected,
html[data-theme="neon"] body[data-page="dashboard"] #app-view.canvas-app #staff-hr-report .hr-summary p {
  background:var(--neon-tile);color:var(--neon-body);
}
html[data-theme="neon"] body[data-page="dashboard"] #app-view .unit-chip {
  background:var(--neon-tile);color:var(--neon-body);border-color:var(--neon-line);
}
