/* Tropicana IT workspace. Load after the existing application stylesheet. */
@media screen {
  :root { --bg-main:#0d1723; --surface:#152333; --surface-hover:#1b3042; --border:#2b3d4f; --primary:#168779; --primary-hover:#106d62; --text-main:#edf4f8; --text-sub:#b0c0ce; --glow:0 4px 12px #0002; --sidebar-width:252px; }
  body { line-height:1.6; }
  button, input, textarea { font:inherit; }
  a { text-decoration:none; }
  button, a, input { -webkit-tap-highlight-color:transparent; }
  :focus-visible { outline:3px solid #5ee0cb; outline-offset:4px; }
  input:focus-visible, textarea:focus-visible { outline-offset:1px; }
  .top-bar { background:#101d2b; box-shadow:none; padding:0 28px; }
  .brand-title h1 { font-size:17px; font-weight:600; letter-spacing:-.3px; }
  .brand-title p { color:var(--text-sub); }
  .brand-divider { color:#99b1bf; font-weight:400; }
  .top-bar-right label { font-size:12px; color:var(--text-sub); }
  .date-picker { color-scheme:dark; min-height:42px; }
  .sidebar { background:#101d2b; }
  .menu-container { gap:5px; }
  .nav-caption { font-size:10px; letter-spacing:1.8px; color:#91a7b9; padding:18px 14px 8px; }
  .menu-item { min-height:46px; text-align:left; }
  .menu-item.dashboard-link { background:transparent; margin-bottom:4px; color:var(--text-sub); }
  .menu-item.active, .menu-item.dashboard-link.active { background:#173c3b; color:#8eebd9; }
  .menu-item:hover { background:#1d3040; color:#edf4f8; }
  .menu-item-left { display:flex; align-items:center; gap:10px; }
  .logout-link { border-top:1px solid var(--border); border-radius:0; margin-top:24px!important; }
  .view { max-width:1280px; }
  .main-content { padding:32px; padding-bottom:130px; }
  .workspace-welcome { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:12px 0 28px; }
  .eyebrow { display:block; font-size:10px; letter-spacing:2px; font-weight:600; color:#7ddcc9; }
  .workspace-welcome h2 { font-size:30px; font-weight:500; letter-spacing:-.8px; margin:10px 0 8px; }
  .workspace-welcome p { margin:0; font-size:13px; color:var(--text-sub); }
  .btn-save, .btn-login { border-radius:8px; box-shadow:none; }
  .btn-save:hover, .btn-login:hover { transform:none; box-shadow:none; }
  .workspace-shortcuts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:36px; }
  .backup-panel { padding:24px; border:1px solid var(--border); border-radius:12px; background:var(--surface); margin-bottom:36px; }
  .backup-panel-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:12px; }
  .backup-panel-heading h2 { margin:7px 0 0; font-size:18px; font-weight:500; }
  .backup-message { margin:0; color:var(--text-sub); font-size:12px; }
  .backup-report-list { display:grid; gap:1px; margin-top:16px; background:var(--border); border:1px solid var(--border); border-radius:9px; overflow:hidden; }
  .backup-report-row { display:grid; grid-template-columns:minmax(0,2fr) 110px minmax(0,1fr); align-items:center; gap:12px; padding:13px 16px; background:var(--surface); font-size:12px; }
  .backup-report-row strong { font-weight:500; font-size:13px; overflow-wrap:anywhere; }
  .backup-report-row small { color:var(--text-sub); text-align:right; }
  .backup-result { font-weight:600; }
  .backup-result.success { color:#86dfb4; }
  .backup-result.error { color:#ff9d94; }
  .backup-result.stale { color:#ffd18b; }
  .backup-result.missing { color:#b7c6d3; }
  .backup-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:18px; }
  .backup-summary.is-history { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .backup-metric { display:flex; flex-direction:column; gap:2px; padding:14px 16px; border:1px solid var(--border); border-radius:9px; background:#102031; }
  .backup-metric strong { font-size:23px; line-height:1.2; font-weight:600; }
  .backup-metric span { color:var(--text-sub); font-size:11px; }
  .backup-metric.is-good strong { color:#86dfb4; }
  .backup-metric.is-error strong { color:#ff9d94; }
  .backup-metric.is-stale strong { color:#ffd18b; }
  .backup-metric.is-missing strong { color:#b7c6d3; }
  .backup-report-missing { background:#172533; }
  .backup-footnote { margin:14px 0 0; color:#aabcca; font-size:11px; line-height:1.7; }
  .backup-detail-panel { margin-top:0; }
  .backup-detail-panel h3 { margin:7px 0 0; font-size:18px; font-weight:500; }
  .backup-detail-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; flex-wrap:wrap; }
  .backup-detail-actions label { color:var(--text-sub); font-size:11px; }
  .backup-detail-actions .date-picker { width:160px; }
  .backup-history-note { padding:14px 18px; border:1px solid var(--border); border-radius:9px; color:var(--text-sub); font-size:12px; }
  .badge-neutral { display:inline-block; padding:4px 8px; border-radius:6px; background:#2b4051; color:#c8d9e4; font-size:11px; }
  .shortcut { display:flex; flex-direction:column; gap:14px; padding:24px; border:1px solid var(--border); border-radius:12px; background:var(--surface); color:var(--text-main); text-align:left; cursor:pointer; transition:border-color .2s, background .2s; }
  .shortcut:hover { background:#1c3140; border-color:#548b84; }
  .shortcut-number { font-size:10px; letter-spacing:1.6px; color:#90b6b5; }
  .shortcut strong { display:flex; justify-content:space-between; gap:8px; font-size:16px; font-weight:500; }
  .shortcut strong span { color:#7ddcc9; }
  .shortcut small { color:var(--text-sub); font-size:12px; }
  .page-header { gap:18px; flex-wrap:wrap; align-items:center; padding-bottom:20px; }
  .page-header h2 { font-size:19px; font-weight:500; }
  .page-header > div { max-width:100%; }
  .chart-box { box-shadow:none; }
  .chart-box:hover { transform:none; box-shadow:none; }
  .dashboard-table-wrapper { scrollbar-color:#52677a #152333; }
  .dashboard-table-wrapper table { min-width:820px; }
  th { font-weight:500; color:var(--text-sub); padding:18px 14px; }
  td { padding:16px 12px; }
  .check-item { padding:20px; }
  .toggle { flex-shrink:0; margin-left:16px; }
  .section-subtitle { margin:6px 0 0; color:var(--text-sub); font-size:12px; line-height:1.7; }
  .checklist-overview { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:0 0 24px; }
  .checklist-overview > div { display:grid; grid-template-columns:auto 1fr; column-gap:12px; align-items:center; padding:16px 18px; background:#112638; border:1px solid var(--border); border-radius:10px; }
  .overview-icon { grid-row:1 / 3; display:grid; place-items:center; width:38px; height:38px; background:#1b463f; border-radius:9px; color:#8eebd9; font-size:19px; }
  .checklist-overview strong { font-size:14px; font-weight:600; }
  .checklist-overview small { color:var(--text-sub); font-size:11px; }
  .task-card { display:flex; width:100%; flex-direction:column; align-items:flex-start; text-align:left; padding:24px; box-shadow:none; }
  .task-card p { margin:10px 0 18px; color:var(--text-sub); font-size:12px; line-height:1.6; }
  .task-card-action { margin-top:auto; color:#8eebd9; font-size:12px; font-weight:600; }
  .task-card-auto { background:linear-gradient(140deg,#153a39,#152333 75%); border-color:#357469; }
  .auto-pill { display:inline-block; padding:3px 7px; margin-left:5px; border-radius:5px; background:#276a5d; color:#bff8e3; font-size:10px; letter-spacing:1px; vertical-align:middle; }
  .global-footer[style*="display: none"], .global-footer[style*="display:none"] { display:none!important; }
  .global-footer { box-shadow:0 -8px 24px #0002; }
  .sidebar-overlay { display:none; position:fixed; inset:var(--topbar-height) 0 0; background:#020b16aa; z-index:899; }
  .login-overlay { background:#0c1824; padding:40px; overflow-y:auto; }
  .login-layout { width:100%; max-width:1100px; display:grid; grid-template-columns:1.2fr 1fr; gap:90px; align-items:center; margin:auto; }
  .workspace-brand { display:flex; align-items:center; gap:12px; font-size:15px; letter-spacing:2px; margin-bottom:64px; }
  .brand-mark { display:grid; place-items:center; width:36px; height:36px; border-radius:10px; color:#092c26; background:#87d6b2; font-weight:700; font-size:23px; }
  .login-intro h1 { font-size:clamp(32px,4vw,48px); line-height:1.4; font-weight:500; letter-spacing:-1.5px; margin:18px 0; }
  .login-intro p { color:var(--text-sub); font-size:14px; line-height:1.9; }
  .login-services { margin:36px 0; display:grid; gap:12px; }
  .login-services a { padding:16px 0; border-top:1px solid var(--border); color:var(--text-main); }
  .login-services a:hover strong { color:#7ddcc9; }
  .login-services span { display:block; font-size:10px; letter-spacing:1.5px; color:#8facae; margin-bottom:6px; }
  .login-services strong { display:flex; justify-content:space-between; font-size:14px; font-weight:400; }
  .login-intro > small { color:#8198ac; font-size:11px; }
  .login-box { width:100%; max-width:none; padding:40px; border-radius:16px; text-align:left; box-shadow:0 24px 80px #0003; }
  .login-box h2 { font-size:25px; font-weight:500; margin:14px 0 8px; text-shadow:none; }
  .login-box p { font-size:12px; line-height:1.8; }
  .login-box label { display:block; font-size:12px; margin-bottom:8px; color:#c2d0db; }
  .login-input { min-height:48px; margin-bottom:20px; }
  .btn-login { display:flex; justify-content:space-between; align-items:center; min-height:48px; font-size:14px; padding:12px 18px; }
  .login-box .login-note { font-size:11px; color:#91a7b9; text-align:center; margin:24px 0 0; }
  @media(min-width:1024px) { .sidebar.collapsed { left:calc(-1 * var(--sidebar-width)); } .main-content.expanded { margin-left:0; } .global-footer.expanded { left:0; } }
  @media(max-width:1023px) { .sidebar { left:calc(-1 * var(--sidebar-width)); } .sidebar.open { left:0; } .sidebar-overlay.active { display:block; } .main-content { margin-left:0; padding:24px 20px 120px; } .login-layout { gap:40px; } .workspace-shortcuts { gap:10px; } .shortcut { padding:18px; } }
  @media(min-width:1024px) { .sidebar:not(.collapsed) { left:0; } }
  @media(max-width:1023px) { .sidebar-overlay.open { display:block; } }
  @media(max-width:700px) { .login-overlay { padding:24px 18px; align-items:flex-start; } .login-layout { grid-template-columns:1fr; gap:28px; max-width:460px; } .workspace-brand { margin-bottom:28px; } .login-intro h1 { font-size:30px; } .login-intro p br { display:none; } .login-services { margin:20px 0 0; } .login-intro > small { display:none; } .login-box { padding:26px; } .workspace-shortcuts { grid-template-columns:1fr; } .shortcut { gap:8px; } .workspace-welcome { align-items:flex-start; flex-direction:column; gap:18px; } .workspace-welcome h2 { font-size:25px; } .top-bar { padding:0 12px; } .top-bar-left { gap:8px; } .brand-title h1 { font-size:14px; } .brand-title h1 .brand-divider { display:none; } .brand-title p { font-size:9px; } .top-bar-right { gap:0; } #checkDate { width:145px; font-size:12px; } .page-header input { max-width:100%; } .global-footer .btn-save { padding:10px 14px; } .global-footer .btn-nav { padding:10px 8px; font-size:11px; } .action-bar { flex-wrap:wrap; } }
  @media(max-width:700px) { .backup-panel-heading { align-items:flex-start; flex-direction:column; } .backup-detail-actions { justify-content:flex-start; } .backup-report-row { grid-template-columns:1fr auto; } .backup-report-row small { grid-column:1 / -1; text-align:left; } .backup-summary { grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; } .backup-summary.is-history { grid-template-columns:repeat(2,minmax(0,1fr)); } .backup-metric { padding:11px; } .backup-metric strong { font-size:19px; } .backup-metric span { font-size:10px; } .checklist-overview { grid-template-columns:1fr; } }
  .internet-check-panel { padding:18px 20px; margin-bottom:18px; border:1px solid var(--border); border-radius:10px; background:var(--surface); }
  .internet-check-panel .action-bar { margin:0 0 10px; display:flex; gap:10px; flex-wrap:wrap; }
  .internet-check-panel button[hidden] { display:none!important; }
  .internet-check-panel button:disabled { opacity:.55; cursor:wait; }
  #internetCheckMessage[data-state="success"] { color:#86dfb4; }
  #internetCheckMessage[data-state="warning"], #internetCheckMessage[data-state="error"] { color:#ffd18b; }
  @media(prefers-reduced-motion:reduce) { *, *::before, *::after { animation:none!important; transition:none!important; } }
}
