/* Carson Valley IT — Device workspace v4.2. Layout only; no third-party dependencies. */
.cvit-host-workspace{--host-border:#d6e5f2;--host-ink:#123455;--host-muted:#5b728c;--host-sky:#ecf6fc;color:var(--host-ink)}
.cvit-host-workspace .panel{border:1px solid var(--host-border);border-radius:14px;box-shadow:0 6px 20px rgba(12,49,81,.06);background:#fff;overflow:hidden}
.cvit-host-workspace .cvit-host-hero{padding:24px;background:linear-gradient(135deg,#fff 0%,#eef8ff 100%)}
.cvit-host-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap}
.cvit-host-top h2{margin:10px 0 4px;font-size:clamp(24px,3vw,34px);font-weight:750;letter-spacing:-.035em;color:#103653}
.cvit-host-back{color:#0369a1;font-weight:650;display:inline-block;margin-bottom:12px;text-decoration:none}
.cvit-host-status{text-align:right;display:flex;flex-direction:column;gap:10px;align-items:end}
.cvit-host-status small{color:var(--host-muted);font-size:.8rem}
.cvit-host-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:24px 0 20px}
.cvit-host-stat{border:1px solid var(--host-border);background:rgba(255,255,255,.85);padding:16px;border-radius:12px;min-width:0;display:flex;flex-direction:column;gap:8px}
.cvit-host-stat small{font-size:.75rem;color:var(--host-muted);text-transform:uppercase;letter-spacing:.075em;font-weight:700}
.cvit-host-stat strong{font-size:clamp(15px,1.6vw,23px);overflow-wrap:anywhere;line-height:1.15;color:#07375a}
.cvit-host-stat span{font-size:.76rem;color:var(--host-muted)}
.cvit-host-tabs{display:flex!important;flex-wrap:wrap;gap:6px!important;overflow:visible!important;padding:0!important;margin:0!important;border:0!important}
.cvit-host-tabs button{padding:9px 13px!important;border-radius:9px!important;background:transparent!important;color:#204867!important;border:1px solid transparent!important;font-weight:650;font-size:.83rem;cursor:pointer;white-space:nowrap}
.cvit-host-tabs button:hover,.cvit-host-tabs button.selected{background:#d8f1ff!important;border-color:#a6d9f5!important;color:#045a8b!important}
.cvit-host-workspace .rmm7-pane{margin-top:14px}
.cvit-host-workspace .rmm7-pane[hidden]{display:none!important}
.cvit-host-section{padding:20px 24px;margin-bottom:15px}
.cvit-host-section-title{border-bottom:1px solid var(--host-border);margin-bottom:18px;padding-bottom:12px}
.cvit-host-section-title h3{font-size:1.1rem;letter-spacing:-.02em;margin:0 0 4px;color:#153d5f}
.cvit-host-section-title p{margin:0;font-size:.83rem;color:var(--host-muted)}
.cvit-host-pairs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;gap:0 25px}
.cvit-host-pairs>div{display:flex;justify-content:space-between;align-items:baseline;gap:15px;border-bottom:1px solid #e6eff7;padding:12px 0;min-width:0}
.cvit-host-pairs dt{color:var(--host-muted);font-size:.83rem;flex:0 0 44%}
.cvit-host-pairs dd{margin:0;color:#1a3d59;font-weight:600;font-size:.84rem;text-align:right;overflow-wrap:anywhere;max-width:56%}
.cvit-host-indicators{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.cvit-host-indicators>div{border:1px solid var(--host-border);border-radius:10px;padding:15px;background:var(--host-sky);display:flex;flex-direction:column;gap:9px}
.cvit-host-indicators span{color:var(--host-muted);font-size:.8rem}
.cvit-host-indicators strong{font-size:1rem;color:#104669}
.cvit-host-alert-list p{padding:10px 0;border-bottom:1px solid #ecf0f7;margin:0;font-size:.87rem}
.cvit-host-alert-list small{display:inline-block;margin-left:10px;color:var(--host-muted)}
.cvit-host-volumes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.cvit-host-volume{padding:16px;border:1px solid var(--host-border);border-radius:12px;background:#f5faff}
.cvit-host-volume header{display:flex;justify-content:space-between;gap:16px}
.cvit-host-volume header strong{font-size:1.06rem}
.cvit-host-volume header span{font-size:.84rem;color:var(--host-muted)}
.cvit-host-meter{height:10px;border-radius:30px;background:#d5e4ee;margin:16px 0 10px;overflow:hidden}
.cvit-host-meter span{display:block;height:100%;background:linear-gradient(90deg,#1493d2,#00b8c9);border-radius:30px}
.cvit-host-volume small{color:var(--host-muted)}
.cvit-host-workspace .table-wrap{overflow:auto}
.cvit-host-workspace table{width:100%;border-collapse:collapse}
.cvit-host-workspace th{background:#eff7fc;color:#315572;text-transform:uppercase;letter-spacing:.05em;font-size:.72rem;white-space:nowrap}
.cvit-host-workspace td,.cvit-host-workspace th{padding:10px 14px;border-bottom:1px solid #e5edf5;text-align:left}
.cvit-host-software-search{display:block;margin:10px 0 16px;color:var(--host-muted);font-weight:600}
.cvit-host-software-search input{display:block;width:100%;max-width:440px;background:#fff;border:1px solid #bcd3e3;color:#102d47;margin-top:7px;border-radius:8px;padding:10px}
.cvit-host-workspace .rmm6-terminal .rmm6-screen{max-height:450px;overflow:auto}
.rmm42-confirm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:15px}
.rmm42-confirm-grid label{min-width:0}
.rmm42-confirm-grid input{width:100%;box-sizing:border-box}
@media(max-width:1150px){.cvit-host-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.rmm42-confirm-grid{grid-template-columns:1fr}}
@media(max-width:760px){.cvit-host-workspace .cvit-host-hero{padding:16px}.cvit-host-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.cvit-host-pairs{grid-template-columns:1fr}.cvit-host-indicators{grid-template-columns:repeat(2,minmax(0,1fr))}.cvit-host-volumes{grid-template-columns:1fr}.cvit-host-status{text-align:left;align-items:start}}
@media(max-width:430px){.cvit-host-summary{grid-template-columns:1fr}.cvit-host-indicators{grid-template-columns:1fr}}

/* v4.3 diagnostic output stays selectable and never spills past the viewport. */
.cvit-host-job-output{margin:6px 0;max-width:min(72vw,780px)}
.cvit-host-job-output summary{cursor:pointer;color:#0866a1;font-weight:700;padding:7px 0}
.cvit-host-job-output pre{margin:10px 0 0;padding:14px;background:#102943;color:#e5f5ff;border-radius:9px;max-height:560px;max-width:100%;box-sizing:border-box;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.55 Consolas,Monaco,monospace;user-select:text}
.cvit-host-job-error{color:#a61b1b;font-weight:600;margin:8px 0}
.cvit-host-job-status{display:flex;gap:9px;flex-wrap:wrap;white-space:normal;font-size:12px;color:#526b82}
.cvit-host-small{display:block;margin-top:4px;color:#5b728c;font-size:12px;line-height:1.35}
@media(max-width:740px){.cvit-host-job-output{max-width:75vw}}

/* v4.3.1: clean, consistent software/update/storage tables. */
.cvit-host-inventory-table{width:100%;border:1px solid #dbe8f2;border-radius:10px;overflow:hidden;background:#fff}
.cvit-host-inventory-table th{padding:0!important;background:#edf5fb!important;position:sticky;top:0;z-index:1}
.cvit-host-inventory-table .cvit-host-sort{width:100%;border:0;background:transparent;color:#315572;padding:13px 15px;text-align:left;font:inherit;font-weight:750;cursor:pointer;display:flex;justify-content:space-between;gap:16px;align-items:center;min-width:120px}
.cvit-host-inventory-table .cvit-host-sort:hover,.cvit-host-inventory-table .cvit-host-sort:focus-visible{background:#deeffa;color:#075b91;outline:2px solid #7ac9ec;outline-offset:-2px}
.cvit-host-inventory-table .cvit-sort-mark{font-size:.92rem;opacity:.65}
.cvit-host-inventory-table th[aria-sort=ascending] .cvit-sort-mark::after{content:' ↑'}
.cvit-host-inventory-table th[aria-sort=descending] .cvit-sort-mark::after{content:' ↓'}
.cvit-host-inventory-table td{padding:12px 15px!important;font-size:.9rem;vertical-align:middle}
.cvit-host-inventory-table tbody tr:nth-child(even){background:#f7fbfe}
.cvit-host-inventory-table tbody tr:hover{background:#eaf6fc}
.cvit-host-inventory-table tbody tr[hidden]{display:none!important}
.cvit-host-inventory-table td:first-child{font-weight:620;color:#173e5a}
.cvit-host-inventory-table td:nth-child(n+2){font-variant-numeric:tabular-nums}
@media(max-width:700px){.cvit-host-inventory-table{min-width:540px}.cvit-host-workspace .table-wrap{overscroll-behavior-x:contain}}

/* v4.3.7: clearly marked, narrow software uninstall column and job status. */
.cvit-sw-action{min-width:120px;width:135px;white-space:nowrap}
.cvit-sw-uninstall-form{display:inline-flex;margin:0;padding:0}
.cvit-sw-uninstall{display:inline-block;min-width:94px;border:1px solid #b5212d;border-radius:7px;background:#fff4f3;color:#a21d2a!important;font-size:13px;font-weight:800;padding:7px 10px;cursor:pointer;line-height:1.2}
.cvit-sw-uninstall:hover:not(:disabled),.cvit-sw-uninstall:focus-visible:not(:disabled){background:#a21d2a;color:#fff!important;outline:2px solid #d26b6b;outline-offset:2px}
.cvit-sw-uninstall:disabled{color:#677789!important;background:#eef2f5;border-color:#bcc8d0;cursor:not-allowed;opacity:1}
.cvit-sw-protected{display:inline-block;border:1px solid #d2d9df;border-radius:6px;background:#edf1f4;color:#3b5260;padding:6px 9px;font-size:12px;font-weight:700}
.cvit-sw-notice{margin:10px 0;padding:12px;border:1px solid #a9bed0;border-radius:7px;background:#f6f9fc;color:#24465a;font-weight:600}
.cvit-sw-jobs{margin-top:18px;border:1px solid #bfd1df;border-radius:9px;padding:14px;background:#f9fcff;color:#183a50}
.cvit-sw-jobs h4{margin:0 0 10px;font-size:15px;color:#153e58}
.cvit-sw-jobs th,.cvit-sw-jobs td{font-size:12px!important;padding:8px 10px!important;vertical-align:top}
.cvit-sw-state{display:inline-block;border:1px solid #a8b9c6;border-radius:6px;background:#eef3f7;color:#294455;padding:4px 7px;font-weight:750}
.cvit-sw-state-completed{color:#075b2b;background:#e7f7ec;border-color:#7bbb8c}
.cvit-sw-state-failed,.cvit-sw-state-expired{color:#961e22;background:#ffe9e9;border-color:#dda6a6}
.cvit-sw-state-claimed{color:#5a420e;background:#fff5d8;border-color:#e2cb7b}
.cvit-sw-job-details summary{cursor:pointer;text-decoration:underline;font-weight:700;color:#0c4f7a}
.cvit-sw-job-details pre{overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;max-width:600px;max-height:300px;background:#fff;border:1px solid #cedbe4;padding:8px;color:#132d3f}
