/* Dashboard flagship — scoped surfaces, actions, layout tools and dialogs. */
#nm109Dashboard,#ndDialog{
 --nd-bg:var(--nm247-panel,#fff);
 --nd-soft:var(--nm247-panel2,#f6f8fb);
 --nd-text:var(--nm247-text,#102233);
 --nd-muted:var(--nm247-muted,#53677a);
 --nd-line:var(--nm247-line,#d7e0e8);
 --nd-accent:#18745b;
 --nd-accent-ink:#17654e;
 --nd-tint:#edf7f2;
 --nd-amber-bg:#fff7e7;
 --nd-amber-ink:#815510;
 --nd-danger:#a94436;
 --nd-shadow:0 6px 24px rgba(15,40,50,.045);
 --nd-link:var(--nm33-link,#2478aa);
 color:var(--nd-text);font-size:14px;line-height:1.5;
}
:root[data-nm-theme="dark"] :is(#nm109Dashboard,#ndDialog){
 --nd-accent:#42b18b;--nd-accent-ink:#99e2c4;--nd-tint:#14372d;
 --nd-amber-bg:#342b1b;--nd-amber-ink:#efcf88;--nd-danger:#efafa5;
 --nd-shadow:0 8px 28px rgba(0,0,0,.12);
}
#nm109Dashboard *,#ndDialog *{box-sizing:border-box}
#nm109Dashboard{display:grid;gap:20px;min-width:0;width:100%;max-width:1440px;margin:0 auto;padding:22px 16px 28px}
#nm109Dashboard>.nd-hero{order:0}
#nm109Dashboard>.nd-metrics{order:1}
#nm109Dashboard>#nm140CompanyQueue{order:2}
#nm109Dashboard>.nd-toolbar{order:3}
#nm109Dashboard>.nd-filters,#nm109Dashboard>.nd-hint{order:4}
#nm109Dashboard>.nd-grid{order:5}
#nm109Dashboard>.nd-footnote{order:6}

/* A quiet evergreen anchor, with the day's primary routes kept within reach. */
#nm109Dashboard .nd-hero{
 position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;
 min-width:0;gap:30px;padding:30px 32px;margin:0;overflow:hidden;
 border:1px solid #285c50;border-radius:24px;
 background:radial-gradient(ellipse at 94% 10%,rgba(102,193,153,.17),transparent 50%),linear-gradient(115deg,#163a35,#183d37 60%,#234c42);
 color:#fff;box-shadow:0 6px 22px rgba(21,63,51,.07);
}
#nm109Dashboard .nd-hero::after{content:"";position:absolute;z-index:-1;pointer-events:none;width:300px;height:300px;right:-135px;bottom:-215px;border:1px solid #ffffff14;border-radius:50%;box-shadow:0 0 0 40px #ffffff05,0 0 0 80px #ffffff04}
#nm109Dashboard .nd-hero-copy{min-width:0;max-width:680px}
#nm109Dashboard .nd-kicker{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:750;letter-spacing:.1em;line-height:1.4;text-transform:uppercase;color:#c1e0d2!important}
#nm109Dashboard .nd-kicker::before{content:"";width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#86d9ad;box-shadow:0 0 0 4px #8dddb51a}
#nm109Dashboard .nd-hero h1{font-size:clamp(28px,3.1vw,40px);font-weight:760;line-height:1.13;letter-spacing:-.045em;margin:11px 0 9px;color:#fff!important;overflow-wrap:anywhere}
#nm109Dashboard .nd-hero p{font-size:14px;line-height:1.65;margin:0;color:#d2e5dd!important;max-width:62ch}
#nm109Dashboard .nd-hero-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;flex:0 1 auto;gap:9px;position:relative;max-width:370px}
#nm109Dashboard .nd-button,#ndDialog .nd-button{
 appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;
 font:inherit;font-size:13px;font-weight:650;line-height:1.35;text-decoration:none;
 min-height:44px;min-width:0;padding:11px 15px;border:1px solid var(--nd-line);border-radius:12px;
 background:var(--nd-bg);color:var(--nd-text);cursor:pointer;box-shadow:none;white-space:normal;
 transition:background .15s,border-color .15s,box-shadow .15s;touch-action:manipulation;
}
#nm109Dashboard .nd-button:hover,#ndDialog .nd-button:hover{background:var(--nd-soft);border-color:color-mix(in srgb,var(--nd-text) 27%,var(--nd-line))}
#nm109Dashboard .nd-button.primary,#ndDialog .nd-button.primary{background:var(--nd-accent)!important;color:#fff!important;border-color:var(--nd-accent)!important}
:root[data-nm-theme="dark"] :is(#nm109Dashboard,#ndDialog) .nd-button.primary{color:#092b22!important}
#nm109Dashboard .nd-button.primary:hover,#ndDialog .nd-button.primary:hover{box-shadow:0 0 0 3px color-mix(in srgb,var(--nd-accent) 14%,transparent)}
#nm109Dashboard .nd-hero .nd-button{background:#ffffff0b!important;color:#eef9f3!important;border-color:#9ecbb34d!important;min-height:46px;padding:12px 17px;white-space:nowrap}
#nm109Dashboard .nd-hero .nd-button:hover{background:#ffffff18!important;border-color:#c8e9d899!important}
#nm109Dashboard .nd-hero .nd-button.primary{background:#e8f6ec!important;color:#173e2f!important;border-color:#e8f6ec!important;box-shadow:0 3px 10px #071c1a18}
#nm109Dashboard .nd-button svg,#ndDialog .nd-button svg{width:16px;height:16px;flex:none}
#nm109Dashboard :is(button,summary,select,input):focus-visible,#ndDialog :is(button,select,input):focus-visible{outline:3px solid var(--nd-link);outline-offset:3px}
#nm109Dashboard .nd-hero button:focus-visible{outline-color:#b7edd2}
#nm109Dashboard button:disabled,#ndDialog button:disabled{cursor:not-allowed;opacity:.55}

/* Each metric is a route, with one clear value and supporting context. */
#nm109Dashboard .nd-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;min-width:0}
#nm109Dashboard .nd-metrics:has(.nd-metric:last-child:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}
#nm109Dashboard .nd-metric{
 appearance:none;display:flex;align-items:flex-start;gap:14px;min-width:0;padding:22px 20px;
 text-align:left;font:inherit;color:var(--nd-text);background:var(--nd-bg);border:1px solid var(--nd-line);
 border-radius:19px;box-shadow:var(--nd-shadow);cursor:pointer;transition:border-color .15s,box-shadow .15s;
}
#nm109Dashboard .nd-metric:hover{border-color:color-mix(in srgb,var(--nd-accent) 45%,var(--nd-line));box-shadow:0 7px 24px color-mix(in srgb,var(--nd-accent) 8%,transparent)}
#nm109Dashboard .nd-metric-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:var(--nd-soft);color:var(--nd-muted)}
#nm109Dashboard .nd-metric-icon svg{width:21px;height:21px}
#nm109Dashboard .nd-metric[data-tone="green"] .nd-metric-icon{background:var(--nd-tint);color:var(--nd-accent-ink)}
#nm109Dashboard .nd-metric[data-tone="amber"] .nd-metric-icon{background:var(--nd-amber-bg);color:var(--nd-amber-ink)}
#nm109Dashboard .nd-metric-copy{display:grid;gap:5px;min-width:0;flex:1}
#nm109Dashboard .nd-metric-copy>small{font-size:12px;font-weight:650;line-height:1.4;color:var(--nd-muted)!important}
#nm109Dashboard .nd-metric-copy>strong{font-size:clamp(25px,2.5vw,31px);font-weight:760;line-height:1.05;letter-spacing:-.045em;color:var(--nd-text)!important;overflow-wrap:anywhere}
#nm109Dashboard .nd-metric-copy>span{font-size:11px;line-height:1.45;color:var(--nd-muted)!important;overflow-wrap:anywhere}

/* The canonical signature queue stays intact and uses a compact loaded-state layout. */
#nm109Dashboard #nm140CompanyQueue{
 display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:20px;row-gap:5px;
 margin:0;padding:17px 20px;min-width:0;border:1px solid var(--nd-line);border-radius:16px;
 background:var(--nd-bg)!important;color:var(--nd-text)!important;box-shadow:none;
}
#nm109Dashboard #nm140CompanyQueue>h2{grid-column:1;grid-row:1;font-size:14px;font-weight:700;line-height:1.4;margin:0;color:var(--nd-text)!important}
#nm109Dashboard #nm140CompanyQueue>p{grid-column:1;grid-row:2;font-size:12px;line-height:1.55;margin:0;color:var(--nd-muted)!important;overflow-wrap:anywhere}
#nm109Dashboard #nm140CompanyQueue>#nm135RefreshCompanyQueue{grid-column:2;grid-row:1/3;align-self:center;margin:0;min-height:44px;font-size:12px;padding:10px 14px;border-radius:11px;background:var(--nd-soft)!important;color:var(--nd-text)!important;border:1px solid var(--nd-line)!important;white-space:normal}
#nm109Dashboard #nm140CompanyQueue:has(.nm135-review-reminder){border-color:color-mix(in srgb,var(--nd-amber-ink) 28%,var(--nd-line))}
#nm109Dashboard #nm140CompanyQueue>.nm135-review-reminder{grid-column:1/-1;margin:9px 0 0;padding:16px;gap:16px;border:1px solid color-mix(in srgb,var(--nd-amber-ink) 28%,var(--nd-line));border-radius:12px;background:var(--nd-amber-bg);color:var(--nd-amber-ink)}
#nm109Dashboard #nm140CompanyQueue .nm135-review-reminder>div{min-width:0;flex:1}
#nm109Dashboard #nm140CompanyQueue .nm135-review-reminder b{overflow-wrap:anywhere}
#nm109Dashboard #nm140CompanyQueue .nm135-review-reminder p{font-size:12px;color:var(--nd-amber-ink)!important;line-height:1.6;margin:5px 0 0;overflow-wrap:anywhere}
#nm109Dashboard #nm140CompanyQueue .nm135-review-reminder .btn{min-height:44px;max-width:100%;flex:none;border-radius:11px;white-space:normal}
#nm109Dashboard #nm140CompanyQueue>.nm135-notice{grid-column:1/-1;margin:8px 0;padding:12px 14px;font-size:13px}

/* Layout options are available without competing with the day's work. */
#nm109Dashboard .nd-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;padding:5px 2px 0}
#nm109Dashboard .nd-toolbar>div:first-child{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px;min-width:0}
#nm109Dashboard .nd-toolbar b{font-size:22px;font-weight:750;line-height:1.2;letter-spacing:-.025em;color:var(--nd-text)}
#nm109Dashboard .nd-toolbar>div:first-child>span{font-size:12px;line-height:1.5;color:var(--nd-muted)}
#nm109Dashboard .nd-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;flex:none}
#nm109Dashboard .nd-tools>.nd-button,#nm109Dashboard .nd-toolbar-more>summary{background:transparent;font-size:12px;padding:10px 13px}
#nm109Dashboard .nd-tools>.nd-button[aria-expanded="true"]{background:var(--nd-tint);border-color:var(--nd-accent);color:var(--nd-accent-ink)}
#nm109Dashboard .nd-toolbar-more{position:relative;padding:0;margin:0;border:0;background:transparent;z-index:8}
#nm109Dashboard .nd-toolbar-more>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;min-width:105px}
#nm109Dashboard .nd-toolbar-more>summary::-webkit-details-marker{display:none}
#nm109Dashboard .nd-toolbar-more[open]>summary{background:var(--nd-soft);border-color:color-mix(in srgb,var(--nd-text) 27%,var(--nd-line))}
#nm109Dashboard .nd-toolbar-more>div{position:absolute;top:calc(100% + 8px);right:0;width:236px;max-width:calc(100vw - 32px);padding:7px;background:var(--nd-bg);border:1px solid var(--nd-line);border-radius:15px;box-shadow:0 16px 46px #081a2529}
#nm109Dashboard .nd-toolbar-more>div .nd-button{display:flex;justify-content:flex-start;text-align:left;min-height:46px;width:100%;padding:11px 12px;border:0;background:transparent;font-size:13px;border-radius:9px}
#nm109Dashboard .nd-toolbar-more>div .nd-button:hover{background:var(--nd-soft)}
#nm109Dashboard .nd-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;background:var(--nd-bg);padding:18px 20px;border:1px solid var(--nd-line);border-radius:16px}
#nm109Dashboard .nd-filters label,#ndDialog .nd-view-tools label{display:grid;gap:7px;font-size:12px;font-weight:650;color:var(--nd-muted);min-width:0}
#nm109Dashboard select,#ndDialog select{appearance:auto;font:inherit;font-size:13px;font-weight:500;min-height:44px;width:100%;max-width:100%;background:var(--nd-soft);color:var(--nd-text);border:1px solid var(--nd-line);border-radius:10px;padding:10px 12px}
#nm109Dashboard .nd-hint{margin:0;font-size:12px;line-height:1.6;padding:12px 16px;color:var(--nd-muted)!important;background:var(--nd-soft);border:1px solid var(--nd-line);border-radius:12px}

/* Every section uses the same calm header, reading rhythm and action footer. */
#nm109Dashboard .nd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start;min-width:0}
#nm109Dashboard .nd-widget{min-width:0;overflow:hidden;border:1px solid var(--nd-line);border-radius:20px;background:var(--nd-bg);box-shadow:var(--nd-shadow)}
#nm109Dashboard .nd-widget.nd-wide{grid-column:1/-1}
#nm109Dashboard .nd-widget>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:21px 22px 17px;min-height:74px}
#nm109Dashboard .nd-section-title{display:flex;align-items:center;gap:11px;min-width:0}
#nm109Dashboard .nd-section-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border:1px solid var(--nd-line);border-radius:10px;background:var(--nd-soft);color:var(--nd-muted)}
#nm109Dashboard .nd-section-icon svg{width:17px;height:17px}
#nm109Dashboard .nd-section-title>div{min-width:0}
#nm109Dashboard .nd-widget h2{font-size:16px;line-height:1.35;font-weight:720;letter-spacing:-.015em;color:var(--nd-text)!important;margin:0;overflow-wrap:anywhere}
#nm109Dashboard .nd-section-title small{display:block;font-size:11px;line-height:1.5;font-weight:400;margin-top:3px;color:var(--nd-muted)!important}
#nm109Dashboard .nd-section-count{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:29px;min-height:27px;border-radius:8px;background:var(--nd-soft);color:var(--nd-muted);font-size:11px;font-weight:700;padding:4px 8px}
#nm109Dashboard .nd-body{padding:0 14px 14px;min-width:0}
#nm109Dashboard .nd-widget>footer{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:14px 22px;border-top:1px solid var(--nd-line);background:color-mix(in srgb,var(--nd-soft) 42%,var(--nd-bg))}
#nm109Dashboard .nd-widget>footer .nd-button{padding:10px 13px;font-size:12px;min-height:44px;background:var(--nd-bg)}
#nm109Dashboard .nd-row,#nm109Dashboard .nd-attention{
 appearance:none;display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px;min-width:0;
 padding:15px 9px;background:transparent;color:var(--nd-text);border:0;border-bottom:1px solid var(--nd-line);border-radius:0;
 font:inherit;text-align:left;cursor:pointer;transition:background .15s;
}
#nm109Dashboard .nd-row:last-child,#nm109Dashboard .nd-attention:last-child{border-bottom:0}
#nm109Dashboard .nd-row>span:not(.nd-arrow),#nm109Dashboard .nd-attention>span:not(.nd-arrow){display:grid;gap:4px;min-width:0;flex:1}
#nm109Dashboard .nd-row b,#nm109Dashboard .nd-attention b{font-weight:650;font-size:13px;line-height:1.5;color:var(--nd-text);overflow-wrap:anywhere}
#nm109Dashboard .nd-row small,#nm109Dashboard .nd-attention small{color:var(--nd-muted)!important;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
#nm109Dashboard .nd-row em,#nm109Dashboard .nd-attention em,#nm109Dashboard .nd-job em{flex:none;max-width:36%;font-style:normal;font-size:11px;font-weight:600;line-height:1.4;border:1px solid var(--nd-line);border-radius:8px;padding:5px 8px;background:var(--nd-soft);color:var(--nd-muted);white-space:normal;text-align:center;overflow-wrap:anywhere}
#nm109Dashboard .nd-arrow{display:grid;place-items:center;width:16px;height:16px;flex:0 0 16px;color:var(--nd-muted);opacity:.7}
#nm109Dashboard .nd-arrow svg{display:block;width:100%;height:100%}
#nm109Dashboard .nd-metric>.nd-arrow{align-self:center}
#nm109Dashboard .nd-row:hover,#nm109Dashboard .nd-attention:hover{background:var(--nd-soft);border-radius:10px}
#nm109Dashboard .nd-row:hover .nd-arrow,#nm109Dashboard .nd-attention:hover .nd-arrow,#nm109Dashboard .nd-job:hover .nd-arrow{color:var(--nd-accent-ink);opacity:1}
#nm109Dashboard .nd-widget[data-widget="attention"] .nd-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 20px 20px}
#nm109Dashboard .nd-widget[data-widget="attention"] .nd-attention{padding:14px 15px;border:1px solid var(--nd-line);border-radius:13px;background:var(--nd-soft);gap:10px}
#nm109Dashboard .nd-widget[data-widget="attention"] .nd-attention:hover{border-color:color-mix(in srgb,var(--nd-accent) 45%,var(--nd-line))}
#nm109Dashboard .nd-widget[data-widget="attention"] .nd-attention.urgent{border-left:3px solid var(--nd-danger);background:color-mix(in srgb,var(--nd-danger) 5%,var(--nd-bg));padding-left:13px}
#nm109Dashboard .nd-widget[data-widget="attention"] .nd-attention em{background:var(--nd-bg);color:var(--nd-amber-ink);max-width:none;padding:5px 7px;white-space:nowrap;overflow-wrap:normal}
#nm109Dashboard .nd-widget[data-widget="attention"] .nd-empty-state{grid-column:1/-1;min-height:126px;padding:20px;background:var(--nd-soft);border-radius:13px}

/* Schedule cards separate time, customer and status for quick scanning. */
#nm109Dashboard .nd-job-list{display:grid;gap:9px;min-width:0;padding:0 2px 2px}
#nm109Dashboard .nd-job{appearance:none;display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;min-width:0;text-align:left;font:inherit;padding:15px 14px;border:1px solid var(--nd-line);border-radius:13px;background:var(--nd-bg);color:var(--nd-text);cursor:pointer;transition:background .15s,border-color .15s}
#nm109Dashboard .nd-job:hover{background:var(--nd-soft);border-color:color-mix(in srgb,var(--nd-accent) 40%,var(--nd-line))}
#nm109Dashboard .nd-job-time{display:grid;align-content:center;gap:4px;padding-right:14px;border-right:1px solid var(--nd-line);min-width:0;align-self:stretch}
#nm109Dashboard .nd-job-time b{font-size:13px;font-weight:750;line-height:1.35;color:var(--nd-text);overflow-wrap:anywhere}
#nm109Dashboard .nd-job-time span{font-size:11px;line-height:1.4;color:var(--nd-muted)}
#nm109Dashboard .nd-job-copy{display:grid;gap:4px;min-width:0}
#nm109Dashboard .nd-job-copy>b{font-size:14px;font-weight:700;line-height:1.4;letter-spacing:-.01em;color:var(--nd-text);overflow-wrap:anywhere}
#nm109Dashboard .nd-job-copy>small{font-size:12px;line-height:1.4;color:var(--nd-muted)!important;overflow-wrap:anywhere}
#nm109Dashboard .nd-job-route{font-size:11px;line-height:1.5;color:var(--nd-muted);overflow-wrap:anywhere}
#nm109Dashboard .nd-job-meta{font-size:11px;line-height:1.5;color:var(--nd-muted);overflow-wrap:anywhere}
#nm109Dashboard .nd-job em{max-width:112px;align-self:start;background:var(--nd-tint);border-color:color-mix(in srgb,var(--nd-accent) 20%,var(--nd-line));color:var(--nd-accent-ink);font-size:10px;padding:5px 7px}
#nm109Dashboard .nd-job>.nd-arrow{display:none}
#nm109Dashboard .nd-list-more{font-size:11px;line-height:1.5;color:var(--nd-muted)!important;margin:5px 2px 0;padding:5px 0}
#nm109Dashboard .nd-duty-summary{display:flex;align-items:flex-start;gap:15px;padding:10px 8px 21px;min-width:0}
#nm109Dashboard .nd-duty-summary>span{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border-radius:14px;border:1px solid color-mix(in srgb,var(--nd-accent) 18%,var(--nd-line));background:var(--nd-tint);color:var(--nd-accent-ink);font-size:15px;font-weight:700;letter-spacing:-.02em}
#nm109Dashboard .nd-duty-summary>div{min-width:0;padding-top:1px}
#nm109Dashboard .nd-duty-summary b{font-size:15px;font-weight:700;line-height:1.5;color:var(--nd-text)}
#nm109Dashboard .nd-duty-summary p{font-size:12px;line-height:1.7;color:var(--nd-muted)!important;margin:6px 0 0;max-width:52ch;overflow-wrap:anywhere}
#nm109Dashboard .nd-empty{margin:0;padding:20px 10px;font-size:13px;line-height:1.65;color:var(--nd-muted)!important}
#nm109Dashboard .nd-empty-state{display:grid;justify-items:center;align-content:center;gap:7px;min-height:180px;padding:28px 22px;text-align:center}
#nm109Dashboard .nd-empty-icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:3px;border:1px solid var(--nd-line);border-radius:14px;color:var(--nd-muted);background:var(--nd-soft)}
#nm109Dashboard .nd-empty-icon svg{width:20px;height:20px}
#nm109Dashboard .nd-empty-state>b{font-size:13px;font-weight:650;line-height:1.5;color:var(--nd-text);overflow-wrap:anywhere}
#nm109Dashboard .nd-empty-state>p{font-size:12px;line-height:1.65;max-width:48ch;margin:0;color:var(--nd-muted)!important;overflow-wrap:anywhere}
#nm109Dashboard .nd-shift{display:grid;gap:6px;padding:19px 10px;margin:0;font-size:14px}
#nm109Dashboard .nd-shift b{color:var(--nd-text)}
#nm109Dashboard .nd-shift span{font-size:12px;color:var(--nd-muted)}
#nm109Dashboard .nd-footnote{font-size:11px;line-height:1.6;color:var(--nd-muted)!important;margin:0;padding:0 3px}
#nm109Dashboard .nd-move{display:flex;gap:5px;flex:none}
#nm109Dashboard .nd-move button{font:inherit;min-width:44px;min-height:44px;border:1px solid var(--nd-line);border-radius:10px;background:var(--nd-soft);color:var(--nd-text);cursor:pointer}
#nm109Dashboard .nd-move button:hover{border-color:var(--nd-accent)}
#nm109Dashboard .nd-move .nd-drag{cursor:grab;touch-action:none}
#nm109Dashboard .nd-dragging{opacity:.45}

/* The personal-layout dialog has its own scroll region and persistent save actions. */
#ndDialog{position:fixed;inset:0;z-index:100040;background:rgba(4,17,24,.65);backdrop-filter:blur(5px);display:flex;justify-content:center;align-items:center;padding:24px}
#ndDialog .nd-dialog{width:min(850px,100%);max-height:90dvh;overflow:auto;padding:24px;border:1px solid var(--nd-line);border-radius:22px;background:var(--nd-bg);box-shadow:0 28px 100px #0005;color:var(--nd-text);overscroll-behavior:contain}
#ndDialog .nd-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:-24px;background:var(--nd-bg);padding:10px 0 16px;z-index:1}
#ndDialog .nd-dialog h2{font-size:22px;font-weight:750;line-height:1.3;letter-spacing:-.025em;color:var(--nd-text)!important;margin:0;overflow-wrap:anywhere}
#ndDialog .nd-dialog>p{font-size:13px;color:var(--nd-muted)!important;line-height:1.65}
#ndDialog .nd-dialog>footer{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end;margin-top:22px}
#ndDialog .nd-customize-dialog{display:flex;flex-direction:column;height:min(820px,90dvh);overflow:hidden}
#ndDialog .nd-customize-dialog>header{position:static;flex:0 0 auto;gap:16px;padding:0 0 18px;background:var(--nd-bg);border-bottom:1px solid var(--nd-line)}
#ndDialog .nd-custom-scroll{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 4px 18px 0;scrollbar-gutter:stable}
#ndDialog .nd-custom-scroll>p{font-size:13px;line-height:1.65;color:var(--nd-muted)!important;margin:17px 0}
#ndDialog .nd-customize-dialog>footer{flex:0 0 auto;margin-top:0;padding-top:18px;border-top:1px solid var(--nd-line);background:var(--nd-bg)}
#ndDialog .nd-custom-row{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--nd-line);padding:15px 1px;min-width:0}
#ndDialog .nd-custom-row>label{display:flex;align-items:flex-start;gap:11px;font-size:13px;font-weight:600;line-height:1.6;flex:1;min-width:0;overflow-wrap:anywhere;color:var(--nd-text)}
#ndDialog .nd-custom-row>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap;flex:none}
#ndDialog .nd-custom-row input{width:19px;height:19px;margin:1px 0 0;accent-color:var(--nd-accent);flex:none}
#ndDialog .nd-custom-row input:disabled{opacity:.6;cursor:not-allowed}
#ndDialog .nd-custom-row>div label{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.6;color:var(--nd-muted);min-height:44px;cursor:pointer}
#ndDialog .nd-custom-row>div .nd-button{width:44px;padding:9px;font-size:16px}
#ndDialog .nd-view-tools{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;margin-top:22px;padding:17px;background:var(--nd-soft);border:1px solid var(--nd-line);border-radius:13px}
#ndDialog .nd-view-tools label{flex:1;min-width:160px}
#ndDialog .nd-view-tools select{max-width:350px;background:var(--nd-bg)}
#ndDialog .nd-view-tools input{font:inherit;font-size:13px;font-weight:500;min-height:44px;width:100%;max-width:100%;padding:10px 12px;border:1px solid var(--nd-line);border-radius:10px;background:var(--nd-bg);color:var(--nd-text)}
#ndDialog .nd-view-tools input::placeholder{color:var(--nd-muted);opacity:.85}
#ndDialog .nd-layout-feedback{flex-basis:100%;font-size:12px;line-height:1.55;color:var(--nd-accent-ink);overflow-wrap:anywhere}
#ndDialog .nd-layout-feedback:empty{display:none}
#ndDialog .nd-task-list article{padding:18px 0;border-bottom:1px solid var(--nd-line)}
#ndDialog .nd-task-list h3{font-size:16px;font-weight:700;color:var(--nd-text);line-height:1.4;margin:0 0 9px;overflow-wrap:anywhere}
#ndDialog .nd-task-list p{font-size:13px;line-height:1.65;margin:0 0 9px;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--nd-muted)!important}
#ndDialog .nd-task-list small{font-size:12px;color:var(--nd-muted)!important;overflow-wrap:anywhere}
#nm109Dashboard [hidden],#ndDialog [hidden]{display:none!important}

@media(min-width:1200px){
 #nm109Dashboard .nd-widget[data-widget="attention"].nd-wide .nd-body{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1100px){
 #nm109Dashboard .nd-hero{gap:22px;padding:27px}
 #nm109Dashboard .nd-hero-actions{max-width:235px}
 #nm109Dashboard .nd-metric{gap:11px;padding:19px 16px}
 #nm109Dashboard .nd-metric-icon{width:36px;height:36px;flex-basis:36px;border-radius:11px}
 #nm109Dashboard .nd-metric-icon svg{width:19px;height:19px}
 #nm109Dashboard .nd-job{grid-template-columns:67px minmax(0,1fr);gap:12px}
 #nm109Dashboard .nd-job em{grid-column:2;justify-self:start;align-self:auto;max-width:100%;margin-top:0}
 #nm109Dashboard .nd-job-time{grid-row:1/3}
}
@media(max-width:900px){
 #nm109Dashboard .nd-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 #nm109Dashboard .nd-metric{padding:19px 20px}
 #nm109Dashboard .nd-metric-icon{width:42px;height:42px;flex-basis:42px;border-radius:13px}
 #nm109Dashboard .nd-hero{align-items:flex-start}
 #nm109Dashboard .nd-hero-actions{max-width:145px;flex:0 0 145px}
 #nm109Dashboard .nd-hero-actions .nd-button{width:100%}
 #nm109Dashboard .nd-widget>header{padding:19px 18px 16px}
 #nm109Dashboard .nd-widget>footer{padding:13px 18px}
 #nm109Dashboard .nd-section-icon{width:31px;height:31px;flex-basis:31px}
 #nm109Dashboard .nd-move{gap:3px}
 #nm109Dashboard .nd-move button{min-width:44px}
 #nm109Dashboard .nd-widget:has(.nd-move)>header{flex-wrap:wrap}
}
@media(max-width:760px){
 #nm109Dashboard{gap:16px;padding:14px 6px 22px}
 #nm109Dashboard .nd-hero{display:block;padding:25px 23px;border-radius:21px}
 #nm109Dashboard .nd-hero h1{font-size:clamp(27px,5vw,34px);margin:10px 0 9px}
 #nm109Dashboard .nd-hero p{font-size:13px;line-height:1.65}
 #nm109Dashboard .nd-hero-actions{display:flex;justify-content:flex-start;max-width:none;width:100%;margin-top:20px;gap:8px}
 #nm109Dashboard .nd-hero-actions .nd-button{width:auto;flex:1;padding:11px 12px;font-size:12px}
 #nm109Dashboard .nd-metrics{gap:11px}
 #nm109Dashboard .nd-metric{padding:17px 16px;gap:12px;border-radius:16px}
 #nm109Dashboard .nd-metric-copy>strong{font-size:27px}
 #nm109Dashboard .nd-grid{grid-template-columns:1fr;gap:16px}
 #nm109Dashboard .nd-widget{border-radius:18px}
 #nm109Dashboard .nd-toolbar{gap:12px;align-items:center;padding:5px 1px 0}
 #nm109Dashboard .nd-toolbar>div:first-child{display:block}
 #nm109Dashboard .nd-toolbar b{font-size:20px}
 #nm109Dashboard .nd-toolbar>div:first-child>span{display:block;font-size:11px;margin-top:4px}
 #nm109Dashboard .nd-tools{gap:6px;flex-wrap:nowrap}
 #nm109Dashboard .nd-tools>.nd-button,#nm109Dashboard .nd-toolbar-more>summary{font-size:12px;padding:10px 11px;min-width:0}
 #nm109Dashboard .nd-filters{grid-template-columns:1fr;gap:13px;padding:17px}
 #nm109Dashboard .nd-widget[data-widget="attention"] .nd-body{grid-template-columns:1fr;padding:0 16px 16px;gap:8px}
 #nm109Dashboard .nd-widget[data-widget="attention"] .nd-attention{padding:14px;min-height:76px}
 #nm109Dashboard .nd-widget[data-widget="attention"] .nd-empty-state{min-height:132px;padding:19px 15px}
 #nm109Dashboard .nd-row,#nm109Dashboard .nd-attention{padding:15px 5px}
 #nm109Dashboard .nd-job{grid-template-columns:73px minmax(0,1fr) auto;padding:15px 13px}
 #nm109Dashboard .nd-job-time{grid-row:auto}
 #nm109Dashboard .nd-job em{grid-column:auto;align-self:start;justify-self:auto;max-width:94px}
 #nm109Dashboard .nd-empty-state{min-height:163px;padding:24px 18px}
 #nm109Dashboard #nm140CompanyQueue{padding:15px 17px;column-gap:13px}
 #nm109Dashboard #nm140CompanyQueue>#nm135RefreshCompanyQueue{max-width:145px;padding:10px;font-size:11px}
 #ndDialog{padding:12px}
 #ndDialog .nd-dialog{padding:20px;border-radius:18px;max-height:94dvh}
 #ndDialog .nd-dialog>header{top:-20px;gap:13px}
 #ndDialog .nd-dialog h2{font-size:20px}
 #ndDialog .nd-customize-dialog{height:94dvh}
 #ndDialog .nd-custom-row{align-items:flex-start;flex-direction:column;gap:8px;padding:14px 0}
 #ndDialog .nd-custom-row>div{padding-left:30px;gap:8px;width:100%}
 #ndDialog .nd-custom-row>div label{margin-right:auto}
 #ndDialog .nd-customize-dialog>footer{gap:7px;padding-top:14px}
 #ndDialog .nd-customize-dialog>footer .nd-button{font-size:12px;padding:10px 12px}
 #ndDialog .nd-view-tools{padding:14px;gap:12px}
 #ndDialog .nd-view-tools label{min-width:0;flex-basis:100%}
 #ndDialog .nd-view-tools select{max-width:none}
 #ndDialog .nd-view-tools .nd-button{width:100%}
}
@media(max-width:480px){
 #nm109Dashboard .nd-metrics:has(.nd-metric:last-child:nth-child(3)){grid-template-columns:repeat(2,minmax(0,1fr))}
 #nm109Dashboard .nd-metrics>.nd-metric:last-child:nth-child(3){grid-column:1/-1}
 #nm109Dashboard .nd-metric>.nd-arrow{display:none}
 #nm109Dashboard .nd-hero{padding:23px 19px}
 #nm109Dashboard .nd-kicker{font-size:10px;letter-spacing:.07em}
 #nm109Dashboard .nd-hero h1{font-size:29px}
 #nm109Dashboard .nd-hero-actions{gap:7px}
 #nm109Dashboard .nd-hero-actions .nd-button{padding:10px 7px;font-size:12px}
 #nm109Dashboard .nd-metric{padding:16px 13px;gap:10px}
 #nm109Dashboard .nd-metric-icon{width:32px;height:32px;flex-basis:32px;border-radius:10px}
 #nm109Dashboard .nd-metric-icon svg{width:17px;height:17px}
 #nm109Dashboard .nd-metric-copy>small{font-size:11px}
 #nm109Dashboard .nd-metric-copy>strong{font-size:25px}
 #nm109Dashboard .nd-metric-copy>span{font-size:10px}
 #nm109Dashboard .nd-widget>header{padding:18px 16px 15px;gap:10px}
 #nm109Dashboard .nd-section-title{gap:9px}
 #nm109Dashboard .nd-widget h2{font-size:15px}
 #nm109Dashboard .nd-body{padding:0 10px 10px}
 #nm109Dashboard .nd-widget>footer{padding:12px 16px}
 #nm109Dashboard .nd-job{grid-template-columns:63px minmax(0,1fr);gap:11px;padding:14px 11px}
 #nm109Dashboard .nd-job-time{grid-row:1/3;padding-right:11px}
 #nm109Dashboard .nd-job-time b{font-size:12px}
 #nm109Dashboard .nd-job em{grid-column:2;justify-self:start;align-self:auto;max-width:100%}
 #nm109Dashboard .nd-job-copy>b{font-size:13px}
 #nm109Dashboard .nd-job-copy>small{font-size:11px}
 #nm109Dashboard .nd-row em{font-size:10px;max-width:32%;padding:5px 6px}
 #nm109Dashboard #nm140CompanyQueue{grid-template-columns:1fr;gap:5px;padding:16px}
 #nm109Dashboard #nm140CompanyQueue>#nm135RefreshCompanyQueue{grid-column:1;grid-row:auto;justify-self:start;max-width:none;margin-top:7px;font-size:12px;padding:10px 13px}
 #nm109Dashboard #nm140CompanyQueue>.nm135-review-reminder{flex-wrap:wrap;padding:14px}
 #nm109Dashboard #nm140CompanyQueue .nm135-review-reminder .btn{width:100%}
 #ndDialog .nd-dialog{padding:17px}
 #ndDialog .nd-dialog h2{font-size:18px}
 #ndDialog .nd-customize-dialog>footer .nd-button.primary{flex:1}
}
@media(max-width:360px){
 #nm109Dashboard .nd-hero h1{font-size:26px}
 #nm109Dashboard .nd-hero-actions{flex-wrap:wrap}
 #nm109Dashboard .nd-hero-actions .nd-button{flex:1 1 40%}
 #nm109Dashboard .nd-hero-actions .nd-button:first-child{flex-basis:100%}
 #nm109Dashboard .nd-metric{display:block;padding:15px 12px}
 #nm109Dashboard .nd-metric-icon{margin-bottom:12px}
 #nm109Dashboard .nd-toolbar{flex-wrap:wrap;gap:10px}
 #nm109Dashboard .nd-tools{margin-left:auto;flex-wrap:wrap;max-width:100%}
 #nm109Dashboard .nd-tools>.nd-button{padding:10px}
 #nm109Dashboard .nd-row,#nm109Dashboard .nd-attention{gap:8px}
 #ndDialog .nd-customize-dialog>footer .nd-button{padding:10px 9px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){#nm109Dashboard *,#ndDialog *{transition:none!important;scroll-behavior:auto!important}}
