/* Daily ERP: shared visual system. Functional shell behaviour stays in app.js. */
:root {
 --daily-blue:#315dcc;--daily-ink:#252a34;--daily-muted:#707782;--daily-green:#208366;
 --daily-line:#e0e3e8;--daily-navy:#20242e;--daily-sidebar:240px;
 --bs-primary:#315dcc;--bs-primary-rgb:49,93,204;
 --bs-body-font-family:"Segoe UI",Inter,-apple-system,BlinkMacSystemFont,Arial,sans-serif;
}
body.daily-shell {background:#f1f2f5!important;color:var(--daily-ink);font-size:13px;line-height:1.5;-webkit-font-smoothing:antialiased}
.daily-shell .daily-sidebar {width:var(--daily-sidebar);padding:22px 12px 14px;background:#20242e;border-right:1px solid #30343e;box-shadow:none;color:#b7bcc7}
.daily-sidebar-brand {padding:0 11px 22px}
.daily-brand {gap:11px;font-size:24px;letter-spacing:-.8px;font-weight:700}
.daily-brand img {width:38px;height:38px;box-shadow:0 0 0 3px #ffffff0b}
.daily-brand-sub {font-size:8px;font-weight:500;letter-spacing:2.5px;color:#969dab;margin-top:4px}
.daily-workspace-switch {display:flex;align-items:center;gap:10px;padding:12px 10px;margin:0 0 13px;border:1px solid #3b3f49;border-radius:7px;background:#292e39;flex-shrink:0}
.daily-workspace-switch>.daily-icon {width:19px;height:19px;color:#adb7cb}
.daily-workspace-switch>span:not(:last-child) {font-size:11px;font-weight:650;color:#eef0f5;flex:1;min-width:0}
.daily-workspace-switch small {display:block;font-size:9px;font-weight:400;color:#989fae;margin-top:3px}
.daily-workspace-monogram {width:24px;height:24px;display:grid;place-items:center;border-radius:5px;background:#3b4354;color:#c7d0e6;font-size:11px;font-weight:650}
.daily-nav {gap:3px;padding:0 1px;scrollbar-color:#4a4e59 transparent}
.daily-nav-label {padding:15px 10px 8px;min-height:35px;font-size:8.5px;letter-spacing:1.15px;font-weight:650;color:#787f8e}
.daily-nav-label:first-child {padding-top:4px;min-height:24px}
.daily-nav-link {min-height:39px;gap:11px;padding:8px 10px;border-radius:6px;font-size:12px;font-weight:500;color:#b6bdca;border:0}
.daily-nav-link>.daily-icon {width:18px;height:18px;color:#858fa3;stroke-width:1.7}
.daily-nav-link:hover {background:#2e3441;color:#fff}
.daily-nav-link.active {background:#343e52;color:#f5f7ff;box-shadow:none;font-weight:600;border:0}
.daily-nav-link.active:before {left:-1px;top:11px;bottom:11px;width:2px;background:#8ba8ff}
.daily-nav-link.active>.daily-icon {color:#afc3ff}
.daily-count {min-width:20px;height:20px;padding:0 5px;border-radius:5px;background:#dc354b!important;font-size:9px;box-shadow:none;font-weight:700}
.daily-sidebar-bottom {padding-top:11px;margin-top:12px;border-color:#343943}
.daily-workspace-note {padding:7px 10px 16px;gap:9px;color:#b3bac8;font-size:10px}
.daily-workspace-note>.daily-icon {width:18px;height:18px;color:#818b9d}
.daily-workspace-note strong {font-size:9px;font-weight:400;color:#777f8e;margin-top:3px}
.daily-signout {gap:11px;padding:10px;border-radius:6px;border-color:#42404a;background:#2c2c36;color:#ebc5ca;min-height:39px;font-size:11px;font-weight:500}
.daily-signout>.daily-icon {width:18px;height:18px;color:#df9aa7}
.daily-signout:hover {background:#40303a;border-color:#6d4050}
.daily-shell .daily-topbar {padding:12px 25px;min-height:70px;border-bottom:1px solid #dce0e7;background:#fff;backdrop-filter:none;box-shadow:none;gap:18px}
.daily-header-start {gap:11px}
.daily-breadcrumb {font-size:9px;color:#979da8;margin:0 0 3px;letter-spacing:.1px}
.daily-breadcrumb span {color:#c8cbd1}
.daily-page-title {color:#2b303b;font-size:16px;line-height:1.3;letter-spacing:-.25px;font-weight:650}
.daily-header-actions {gap:14px}
.daily-today {display:none}
.daily-command-toggle {display:flex;align-items:center;gap:9px;height:34px;min-width:220px;background:#f6f7f9;border:1px solid #e3e6ec;border-radius:6px;padding:0 10px;color:#8a909c;font-size:11px;cursor:pointer}
.daily-command-toggle .daily-icon {width:16px;height:16px;color:#8a909c}
kbd {background:#fff;color:#89909c;border:1px solid #e0e3e8;border-radius:3px;padding:1px 4px;font:9px/1.5 var(--bs-body-font-family);box-shadow:0 1px 0 #e4e6eb}
.daily-command-toggle kbd {margin-left:auto;font-size:8px;white-space:nowrap}
.daily-icon-button,.daily-menu-toggle {width:35px;height:35px;border-radius:6px;background:transparent;border-color:transparent;color:#777e8d;box-shadow:none}
.daily-icon-button:hover,.daily-icon-button[aria-expanded=true],.daily-menu-toggle:hover {background:#f1f3f8;border-color:#e5e8ef;box-shadow:none;color:#315dcc}
.daily-icon-button .daily-icon {width:20px;height:20px;stroke-width:1.65}
.daily-density-toggle[aria-pressed=true] {color:#315dcc;background:#edf2ff;border-color:#dce5fc}
.daily-bell-count {top:-2px;right:-4px;min-width:17px;height:17px;border:2px solid white;border-radius:5px;font-size:8px;padding:0 3px}
.daily-account {gap:9px;padding-left:17px;border-color:#e6e8ed}
.daily-account img,.daily-account-initial {width:35px;height:35px;border-radius:9px;border:1px solid #e0e3e8;box-shadow:none;background:#e8ecf2;object-fit:cover}
.daily-account-text strong {font-size:11px;font-weight:600;color:#3c4350;max-width:125px}
.daily-account-text small {font-size:9px;color:#9198a5;margin-top:1px}
.daily-account-arrow {width:12px;height:12px;color:#a4aab6}
.daily-notifications-panel {top:48px;width:370px;border:1px solid #dfe3eb;border-radius:9px;box-shadow:0 14px 48px #202a421f}
.daily-notifications-head {padding:17px 18px;background:#fff;border-color:#e7e9ef}
.daily-notifications-head strong {font-size:14px;color:#303642}
.daily-notifications-head small {font-size:10px;color:#9299a5}
.daily-notification-item {padding:15px 18px;border-color:#f0f1f4;color:#3b4453}
.daily-notification-item:hover {background:#f5f7fb}
.daily-notification-mark {width:35px;height:35px;border-radius:8px;background:#f1f3f8;color:#687c9a}
.daily-notification-mark .daily-icon {width:19px;height:19px}
.daily-notification-item strong {font-size:11px;font-weight:600}
.daily-notification-item small {color:#969dab;font-size:10px}
.daily-notifications-foot {background:#fafbfc;border-color:#edf0f4;color:#9098a5;font-size:10px;padding:11px 18px}
body.daily-shell>.container,body.daily-shell>.container-fluid,body.daily-shell>.page-shell {padding-left:25px;padding-right:25px;max-width:1800px}
.daily-shell .daily-section-head {margin:24px 0 21px;gap:18px}
.daily-shell .daily-section-head h2 {font-size:23px;letter-spacing:-.6px;line-height:1.25;font-weight:650;color:#2a303a;margin-bottom:6px}
.daily-shell .daily-section-head p {font-size:12px;color:#808793}
.daily-shell .card,.daily-shell .portal-card {border:1px solid #dfe3ea!important;border-radius:9px!important;box-shadow:0 1px 2px #15264204!important;background:#fff}
.daily-shell .card-body {padding:20px}
.daily-shell .card-header {padding:14px 20px;border-bottom:1px solid #e5e8ed;background:#fafbfc;color:#434c5b;font-size:12px;font-weight:600}
.daily-shell .card-header:first-child {border-radius:8px 8px 0 0}
.daily-shell .card-header.bg-success,.daily-shell .card-header.bg-danger,.daily-shell .card-header.bg-primary,.daily-shell .card-header.bg-info {background:#fafbfc!important;color:#434c5b!important}
.daily-shell .h4 {font-size:25px;font-weight:650;letter-spacing:-.7px;line-height:1.3;font-variant-numeric:tabular-nums}
.daily-shell .table {font-size:12px;color:#4b5361;--bs-table-color:#4b5361;--bs-table-hover-bg:#f7f9fc;line-height:1.5;margin-bottom:12px}
.daily-shell .table>:not(caption)>*>* {padding:13px 14px;border-bottom-color:#edf0f4;vertical-align:middle}
.daily-shell .table thead th {font-size:10px;font-weight:600;color:#77808f;background:#f7f8fa!important;border-bottom:1px solid #e4e7ed;letter-spacing:.1px;text-transform:none;padding-top:11px;padding-bottom:11px}
.daily-shell .table tbody tr:hover>* {--bs-table-accent-bg:#f8faff}
.daily-shell .table tbody tr:last-child>* {border-bottom:0}
.daily-shell .table-responsive {border-radius:5px;scrollbar-width:thin;scrollbar-color:#cbd2de #f8f9fc}
.daily-shell .table-primary {--bs-table-bg:#eef3ff;--bs-table-border-color:#dce5fa}
.daily-shell .table td.text-success {color:#288064!important}
.daily-shell .table td.text-danger {color:#bf4a5a!important}
.daily-shell .table td.text-primary {color:#4264ad!important}
.daily-shell .btn {border-radius:6px;font-size:12px;font-weight:550;padding:8px 13px;box-shadow:none;min-height:35px;line-height:1.45;letter-spacing:0}
.daily-shell .btn-sm {padding:5px 9px;min-height:29px;font-size:10.5px}
.daily-shell .btn>.daily-icon {display:inline-block;vertical-align:-3px;width:15px;height:15px;margin-right:5px;stroke-width:1.8}
.daily-shell .btn-primary {--bs-btn-bg:#315dcc;--bs-btn-border-color:#315dcc;--bs-btn-hover-bg:#264fad;--bs-btn-hover-border-color:#264fad;--bs-btn-active-bg:#21499f}
.daily-shell .btn-success {--bs-btn-bg:#267c62;--bs-btn-border-color:#267c62;--bs-btn-hover-bg:#20694f;--bs-btn-hover-border-color:#20694f}
.daily-shell .btn-danger {--bs-btn-bg:#c5485b;--bs-btn-border-color:#c5485b;--bs-btn-hover-bg:#ac3c4e;--bs-btn-hover-border-color:#ac3c4e}
.daily-shell .btn-outline-primary {--bs-btn-color:#4367b9;--bs-btn-border-color:#ccd7ec;--bs-btn-hover-bg:#eef3ff;--bs-btn-hover-color:#315dcc;--bs-btn-hover-border-color:#aabbdf;--bs-btn-active-bg:#e4ecfc;--bs-btn-active-color:#315dcc}
.daily-shell .btn-outline-secondary,.daily-shell .btn-light {--bs-btn-color:#646e7f;--bs-btn-bg:#fff;--bs-btn-border-color:#dbe0e8;--bs-btn-hover-bg:#f5f7fa;--bs-btn-hover-color:#333f53;--bs-btn-hover-border-color:#bac5d6}
.daily-shell .btn-group>.btn {border-radius:5px!important}
.daily-shell .form-label {font-size:11px;font-weight:550;color:#707887;margin-bottom:6px}
.daily-shell .form-control,.daily-shell .form-select {min-height:36px;border:1px solid #d8dee8;border-radius:6px;font-size:12px;color:#414b5e;background-color:#fff;padding-top:7px;padding-bottom:7px;box-shadow:none}
.daily-shell .form-control::placeholder {color:#a1a8b4;font-size:11px}
.daily-shell .form-control:focus,.daily-shell .form-select:focus {border-color:#89a3df;box-shadow:0 0 0 3px #315dcc0b}
.daily-shell .form-text {font-size:10px;color:#929aa8}
.daily-shell .form-check-input:checked {background-color:#315dcc;border-color:#315dcc}
.daily-shell .badge {font-size:9px;font-weight:550;border-radius:4px;padding:4px 6px;line-height:1.25}
.daily-shell .text-bg-success,.daily-shell .badge.bg-success {background:#e8f3ed!important;color:#368165!important}
.daily-shell .text-bg-warning,.daily-shell .badge.bg-warning {background:#fff3df!important;color:#a37b36!important}
.daily-shell .text-bg-danger,.daily-shell .badge.bg-danger {background:#fbecef!important;color:#bb5265!important}
.daily-shell .text-bg-secondary,.daily-shell .badge.bg-secondary {background:#edf0f5!important;color:#788396!important}
.daily-shell .badge.bg-primary {background:#edf2fe!important;color:#5578c1!important}
.daily-shell .daily-count {background:#dc354b!important;color:#fff!important}
.daily-shell .alert {border-radius:7px;padding:13px 16px;font-size:12px;border-color:#e4e8ef}
.daily-shell .alert-info {background:#f0f5ff;color:#60789f}
.daily-shell .alert-success {background:#f0f8f4;color:#4f806b}
.daily-shell .alert-danger {background:#fff3f5;color:#a25060;border-color:#f3dce2}
.daily-shell .alert-warning {background:#fffaef;color:#9b814e;border-color:#f0e7d3}
.daily-shell .nav-tabs {border-color:#e1e5ec;gap:14px}
.daily-shell .nav-tabs .nav-link {border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:#8891a0;padding:11px 3px;font-size:12px;font-weight:500}
.daily-shell .nav-tabs .nav-link.active {color:#315dcc;border-bottom-color:#315dcc;background:none;font-weight:600}
.daily-shell .pagination {gap:4px;--bs-pagination-border-color:#e0e5ee;--bs-pagination-active-bg:#315dcc;--bs-pagination-active-border-color:#315dcc}
.daily-shell .page-link {border-radius:5px!important;font-size:11px;min-width:28px;text-align:center}
.daily-shell .modal-content {border:1px solid #dce2ec;border-radius:12px;box-shadow:0 24px 90px #19243840}
.daily-shell .modal-header,.daily-shell .modal-header.bg-primary,.daily-shell .modal-header.bg-success,.daily-shell .modal-header.bg-info,.daily-shell .modal-header.bg-danger,.daily-shell .modal-header.bg-warning {padding:18px 22px;border-color:#e7eaf0;background:#fff!important;color:#313a49!important;border-radius:11px 11px 0 0}
.daily-shell .modal-header .modal-title,.daily-shell .modal-header.text-white .modal-title {color:#343e50!important;font-size:17px;font-weight:650;letter-spacing:-.3px}
.daily-shell .modal-header .btn-close-white {filter:none}
.daily-shell .modal-header .btn-close {width:.8em;height:.8em;opacity:.4;padding:8px;border-radius:5px}
.daily-shell .modal-body {padding:22px}
.daily-shell .modal-footer {padding:14px 22px;border-color:#e7eaf0;background:#fafbfc;gap:7px}
.daily-shell .modal-backdrop {background:#171f30;--bs-backdrop-opacity:.45}
.daily-shell.daily-compact .table>:not(caption)>*>* {padding-top:8px;padding-bottom:8px}
.daily-shell.daily-compact .table {font-size:11px}
.daily-empty {padding:44px 20px;color:#929baa;font-size:12px}
.erp-eyebrow {display:block;font-size:9px;font-weight:600;letter-spacing:1.3px;color:#969eab;margin-bottom:8px}
.erp-module-mark {width:43px;height:43px;border:1px solid #dce2ed;border-radius:9px;display:grid;place-items:center;color:#8392aa;background:#fff;flex-shrink:0}
.erp-module-mark .daily-icon {width:21px;height:21px}
.erp-employee {display:flex;align-items:center;gap:10px;min-width:170px}
.erp-employee-monogram {width:32px;height:32px;flex-shrink:0;border-radius:8px;display:grid;place-items:center;background:#edf1f8;color:#7183a1;font-size:11px;font-weight:600}
.erp-employee-name {color:#404a5a;font-weight:600}
.daily-shell .hero-card,.daily-shell .glass-card,.daily-shell .metric-card,.daily-shell .card-plan,.daily-shell .stat-card {border-radius:9px;box-shadow:none;border:1px solid #dfe3ea;background:#fff}
.daily-shell .hero-chip {border-radius:5px;background:#edf2fc;color:#5877b3;font-size:10px;padding:5px 8px;font-weight:550}
.daily-shell .metric-label,.daily-shell .stat-label {font-size:10px;letter-spacing:0;text-transform:none;color:#8a93a1;font-weight:500}
.daily-shell .metric-value,.daily-shell .stat-value {font-size:24px;font-weight:650;letter-spacing:-.6px;color:#354258}
.daily-shell .table-bordered {border-color:#e8ecf2}
.daily-shell .table-bordered td,.daily-shell .table-bordered th {border-color:#e8ecf2!important}
.daily-shell .dropdown-menu {border-color:#dfe5ee;border-radius:8px;padding:6px;box-shadow:0 8px 30px #26385315;font-size:12px}
.daily-shell .dropdown-item {padding:7px 10px;border-radius:4px;color:#657086;font-size:12px}
.daily-shell .dropdown-item:hover {background:#edf3ff;color:#315dcc}
.daily-loader {background:radial-gradient(ellipse at 50% 40%,#2f3b51 0,#1f2634 70%)}
.daily-loader-card {gap:24px}
.daily-loader-mark {width:144px;height:144px}
.daily-loader-mark img {width:106px;height:106px;box-shadow:0 12px 42px #0d152650,0 0 0 7px #ffffff04}
.daily-loader-orbit {border-color:#8fa7d026;border-top-color:#90abe4;border-right-color:#7dbaae;animation-duration:2.2s}
.daily-loader-spark {border-style:solid;border-color:#a8b6ce0c}
.daily-loader-copy strong {font-size:24px;font-weight:600;letter-spacing:-.6px}
.daily-loader-copy strong span {font-weight:300;color:#aebbd3}
.daily-loader-copy small {color:#8593ac;font-size:11px;margin-top:10px}
.daily-loader-track {width:140px;height:2px}
.daily-loader-track span {background:#7c9ddf}
.daily-loader.is-operation {background:#242f4740;backdrop-filter:blur(3px)}
.daily-loader.is-operation .daily-loader-card {border-radius:16px;border-color:#61739438;background:linear-gradient(150deg,#2c374b,#222c3f);box-shadow:0 25px 70px #131d3430}
.daily-progress:before {background:#6488db}
.daily-toast {background:#fff;border:1px solid #e2e7f0;border-left:3px solid #4877da;box-shadow:0 7px 30px #25355316;border-radius:8px;color:#4a566a;font-size:12px}
.daily-command-dialog {padding:0;border:1px solid #dbe2ef;border-radius:12px;width:540px;max-width:calc(100vw - 32px);max-height:80dvh;margin:15vh auto auto;box-shadow:0 30px 90px #14203940;color:#3a465b;background:#fff;overflow:hidden}
.daily-command-dialog::backdrop {background:#17223865;backdrop-filter:blur(3px)}
.daily-command-head {display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid #e8ecf3}
.daily-command-head>.daily-icon {width:21px;height:21px;color:#7890b6}
.daily-command-head input {flex:1;min-width:0;border:0;background:none;outline:none;font-size:14px;color:#364761}
.daily-command-head input::placeholder {color:#9aa5b6}
.daily-command-close {border:0;background:none;padding:0}
.daily-command-caption {font-size:9px;letter-spacing:1px;font-weight:600;color:#9aa4b4;padding:17px 20px 8px}
.daily-command-results {padding:0 9px 12px;max-height:45dvh;overflow:auto}
.daily-command-result {display:flex;align-items:center;gap:12px;padding:12px 11px;border-radius:6px;color:#58667d;font-size:12px}
.daily-command-result>.daily-icon {width:18px;height:18px;color:#8d9db5}
.daily-command-result>span {flex:1}
.daily-command-result:hover,.daily-command-result.is-selected {background:#edf3ff;color:#315dcc}
.daily-command-result.is-selected>.daily-icon {color:#6485c9}
.daily-command-result small {font-size:9px;color:#91a0b7}
.daily-command-footer {display:flex;align-items:center;gap:15px;background:#f9fafc;border-top:1px solid #edf0f5;padding:11px 20px;font-size:9px;color:#8f9aab}
.daily-command-footer span:last-child {margin-left:auto}
.daily-command-footer kbd {margin-right:3px}
.daily-login .login-story {background:radial-gradient(ellipse at 0 0,#34415b,#242b3b 70%)}
.daily-login .login-story h1 {font-size:clamp(34px,3.5vw,54px);letter-spacing:-1.8px;font-weight:550;line-height:1.2}
.daily-login .login-story p {color:#a2aec5;font-size:13px;line-height:1.85}
.daily-login .login-story .story-kicker {color:#b8c6e4;font-weight:600;font-size:9px;letter-spacing:1.8px}
.daily-login .login-logo {font-size:18px;font-weight:550;letter-spacing:-.2px}
.daily-login .login-logo img {width:43px;height:43px}
.daily-login .login-story footer {color:#828eaa;font-size:10px}
.daily-login .login-form h2 {font-size:28px;color:#2c374b;font-weight:650}
.daily-login .login-form .btn-primary {background:#315dcc;border-color:#315dcc;box-shadow:none;border-radius:7px}
.daily-login .login-form input {border-color:#dce1ec;border-radius:7px;font-size:13px}
.daily-login .login-form input:focus {border-color:#94abdb;box-shadow:0 0 0 3px #315dcc0a}
@media(max-height:800px) {
 .daily-shell .daily-sidebar {padding-top:17px}.daily-sidebar-brand {padding-bottom:17px}.daily-workspace-switch {padding:10px;margin-bottom:7px}.daily-workspace-note {display:none}.daily-nav-label {padding-top:12px;min-height:31px}.daily-nav-link {min-height:37px}
}
@media(max-width:1399.98px) {.daily-command-toggle {min-width:180px}.daily-density-toggle {display:none}}
@media(max-width:1199.98px) {
 .daily-shell .daily-topbar {padding:12px 22px}.daily-sidebar {box-shadow:10px 0 40px #10182926}.daily-command-toggle {min-width:160px}body.daily-shell>.container,body.daily-shell>.container-fluid,body.daily-shell>.page-shell {padding-left:22px;padding-right:22px}
}
@media(max-width:991.98px) {.daily-command-toggle {min-width:34px;width:34px;padding:8px;justify-content:center;border-color:transparent;background:none}.daily-command-toggle>span,.daily-command-toggle>kbd {display:none}.daily-command-toggle>.daily-icon {width:19px;height:19px}}
@media(max-width:575.98px) {
 .daily-shell .daily-topbar {padding:12px 14px;min-height:66px;gap:7px}.daily-header-actions {gap:6px}.daily-header-start {gap:6px}.daily-account {padding-left:9px}.daily-account img,.daily-account-initial {width:32px;height:32px}.daily-page-title {font-size:13px;max-width:calc(100vw - 205px)}.daily-breadcrumb {font-size:8px}.daily-menu-toggle,.daily-icon-button {width:31px;height:32px}.daily-command-toggle {width:29px;min-width:29px;padding:4px}.daily-notifications-panel {top:72px;right:12px;max-width:calc(100vw - 24px)}body.daily-shell>.container,body.daily-shell>.container-fluid,body.daily-shell>.page-shell {padding-left:14px;padding-right:14px}.daily-shell .daily-section-head {margin:21px 0 18px;gap:12px}.daily-shell .daily-section-head h2 {font-size:21px}.daily-shell .daily-section-head p {font-size:11px}.daily-shell .card-body {padding:16px}.daily-shell .table>:not(caption)>*>* {padding-left:11px;padding-right:11px}.daily-shell .modal-dialog {margin:12px}.daily-shell .modal-body {padding:18px}.daily-command-dialog {margin-top:12vh}.daily-command-head {padding:16px}.daily-command-head input {font-size:13px}.daily-command-footer {padding:11px 15px;gap:8px}.daily-command-footer span:last-child {display:none}
}
@media print {.daily-command-toggle,.daily-density-toggle,.daily-command-dialog {display:none!important}body.daily-shell{background:#fff!important}.daily-shell .card,.daily-shell .portal-card{box-shadow:none!important}}
