/* Axalyon Console — identité sombre, sobre, façon Linear/Vercel, rouge discret. */
:root {
  --bg: #08090a;
  --panel: #0b0c0e;
  --card: #111214;
  --card-2: #16181b;
  --raised: #1a1c1f;
  --border: rgba(255,255,255,.07);
  --border-2: rgba(255,255,255,.12);
  --text: #f4f5f6;
  --text-2: #c8ccd2;
  --muted: #868b94;
  --muted-2: #565b64;
  --accent: #e5484d;         /* rouge Axalyon, utilisé avec parcimonie */
  --accent-hover: #ef5a5f;
  --accent-soft: rgba(229,72,77,.10);
  --accent-line: rgba(229,72,77,.35);
  --green: #4cc38a; --green-soft: rgba(76,195,138,.12);
  --amber: #e2a13a; --amber-soft: rgba(226,161,58,.12);
  --red: #e5484d; --red-soft: rgba(229,72,77,.12);
  --blue: #6ea8fe;
  --radius: 9px; --radius-sm: 6px;
  --mono: ui-monospace,"SF Mono","JetBrains Mono",Menlo,monospace;
  --sans: system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.5);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html,body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; letter-spacing: -0.006em; }
h1 { font-size: 1.35rem; font-weight: 600; margin: 0 0 .25rem; letter-spacing: -0.02em; }
h2 { font-size: .95rem; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
h3 { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 .6rem; }
.muted { color: var(--muted); } .small { font-size: .8rem; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: .82rem; }
.num { font-variant-numeric: tabular-nums; }
code.k { font-family: var(--mono); font-size: .8rem; color: var(--text-2); background: var(--bg); padding: .1rem .35rem; border-radius: 4px; border: 1px solid var(--border); }
a { color: inherit; }

.demo-banner { position: sticky; top: 0; z-index: 50; background: linear-gradient(90deg, rgba(229,72,77,.14), rgba(229,72,77,.06)); border-bottom: 1px solid var(--accent-line); color: var(--text-2); text-align: center; font-size: .72rem; font-weight: 500; padding: .4rem 1rem; letter-spacing: .01em; }

/* ─── Marque + logo A ─── */
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 650; font-size: 1.05rem; letter-spacing: -0.02em; }
.brand.center { justify-content: center; }
.logo-a { width: 26px; height: 26px; border-radius: 7px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .95rem; flex: none; box-shadow: 0 2px 8px -2px rgba(229,72,77,.5); }
.brand-sub { color: var(--muted); font-weight: 500; font-size: .82rem; letter-spacing: 0; }
.brand-stack { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
/* Wordmark AXALYON : A rouge + XALYON métal argenté */
.wm { font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; line-height: 1; display: inline-flex; align-items: baseline;
  background: linear-gradient(180deg, #ffffff 0%, #d3d7dd 42%, #8b9099 60%, #eef0f3 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.5)); }
.wm-a { -webkit-text-fill-color: var(--accent); color: var(--accent); background: none; margin-right: .5px;
  text-shadow: 0 0 14px rgba(229,72,77,.55); font-size: 1.28em; line-height: 0; }
.brand-stack .wm { font-size: 1.5rem; }
.brand-stack .brand-sub { text-transform: uppercase; font-size: .64rem; letter-spacing: .22em; }

/* ─── Login / 2FA ─── */
.login-wrap { min-height: 100dvh; display: grid; place-items: center; padding: 1.5rem; background: var(--bg); }
.login-card { width: 100%; max-width: 360px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 2rem 1.85rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: var(--shadow); }
.login-card h2 { text-align: center; font-size: 1rem; }
label { display: flex; flex-direction: column; gap: .4rem; font-size: .76rem; color: var(--muted); font-weight: 500; }
input, select, textarea { background: var(--bg); border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: .55rem .7rem; color: var(--text); font: inherit; transition: border-color .12s, box-shadow .12s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.qr-frame { align-self: center; background: #fff; padding: 11px; border-radius: 10px; line-height: 0; }
.qr-frame img { display: block; width: 196px; height: 196px; }
.code-input { text-align: center; font-family: var(--mono); font-size: 1.5rem; letter-spacing: .45rem; text-indent: .45rem; }
.hint { font-size: .72rem; color: var(--muted-2); text-align: center; }
.hint code { color: var(--muted); font-family: var(--mono); }
.alert-error { background: var(--red-soft); border: 1px solid var(--accent-line); color: #ffb0b2; padding: .55rem .75rem; border-radius: var(--radius-sm); font-size: .82rem; }

/* ─── Boutons ─── */
button { cursor: pointer; font: inherit; border-radius: var(--radius-sm); border: 1px solid var(--border-2); background: var(--card-2); color: var(--text-2); padding: .42rem .7rem; font-size: .82rem; font-weight: 500; transition: background .12s, border-color .12s, color .12s; display: inline-flex; align-items: center; gap: .35rem; }
button:hover:not(:disabled) { background: var(--raised); border-color: rgba(255,255,255,.18); color: var(--text); }
button:disabled { opacity: .4; cursor: not-allowed; }
button:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.btn-primary { background: var(--accent); border-color: transparent; color: #fff; padding: .55rem .9rem; font-weight: 600; }
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); color: #fff; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover:not(:disabled) { background: var(--card-2); color: var(--text); }
.btn-danger { background: transparent; border-color: var(--border-2); color: var(--muted); }
.btn-danger:hover:not(:disabled) { background: var(--red-soft); border-color: var(--accent-line); color: #ffb0b2; }
.btn-sm { padding: .32rem .6rem; font-size: .78rem; }

/* ─── Shell ─── */
.app { display: grid; grid-template-columns: 232px 1fr; min-height: 100dvh; }
.sidebar { background: var(--panel); border-right: 1px solid var(--border); display: flex; flex-direction: column; padding: 1.25rem .85rem; gap: 1.5rem; }
.sidebar > .brand { padding: 0 .35rem; }
.sidebar nav { display: flex; flex-direction: column; gap: 1px; }
.navlink { display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: var(--radius-sm); color: var(--muted); font-size: .855rem; font-weight: 500; border: none; background: transparent; width: 100%; text-align: left; }
.navlink svg { width: 16px; height: 16px; flex: none; stroke: currentColor; opacity: .85; }
.navlink:hover { background: var(--card); color: var(--text); }
.navlink.active { background: var(--card); color: var(--text); }
.navlink.active svg { color: var(--accent); opacity: 1; }
.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.sidebar-foot .small { padding: 0 .35rem; }
.content { padding: 2rem 2.2rem; max-width: 1040px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.live { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; color: var(--muted); }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green-soft); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(76,195,138,.4); } 70% { box-shadow: 0 0 0 6px rgba(76,195,138,0); } 100% { box-shadow: 0 0 0 0 rgba(76,195,138,0); } }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(184px, 1fr)); gap: .8rem; margin-bottom: 1.4rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.15rem; margin-bottom: 1.4rem; }
.stat .stat-label { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.stat-value { font-size: 1.65rem; font-weight: 600; margin: .4rem 0 .1rem; letter-spacing: -0.02em; }
.stat-sub { font-size: .76rem; color: var(--muted); }
.bar { height: 4px; background: var(--bg); border-radius: 3px; overflow: hidden; margin: .55rem 0 .45rem; }
.bar-fill { height: 100%; background: var(--green); border-radius: 3px; transition: width .5s ease; }
.bar-fill.warn { background: var(--amber); } .bar-fill.danger { background: var(--red); }

.card-head { display: flex; align-items: center; justify-content: space-between; padding: .95rem 1.15rem; border-bottom: 1px solid var(--border); }
.card.flush { padding: 0; }
table { width: 100%; border-collapse: collapse; font-size: .855rem; }
thead th { text-align: left; color: var(--muted); font-weight: 500; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; padding: .65rem 1.15rem; border-bottom: 1px solid var(--border); }
tbody td { padding: .7rem 1.15rem; border-bottom: 1px solid var(--border); color: var(--text-2); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,.018); }
.actions { display: flex; gap: .3rem; justify-content: flex-end; flex-wrap: wrap; }
.state { display: inline-flex; align-items: center; gap: .4rem; padding: .18rem .55rem; border-radius: 5px; font-size: .74rem; font-weight: 500; }
.state::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.state-active, .state-running { background: var(--green-soft); color: var(--green); }
.state-inactive, .state-failed, .state-stopped { background: rgba(134,139,148,.12); color: var(--muted); }
.state-paused { background: var(--amber-soft); color: var(--amber); }
.state-unknown { background: rgba(134,139,148,.12); color: var(--muted); }

.seg { display: inline-flex; background: var(--bg); border: 1px solid var(--border); border-radius: 7px; padding: 2px; gap: 2px; flex-wrap: wrap; }
.seg button { border: none; background: transparent; color: var(--muted); padding: .3rem .65rem; border-radius: 5px; font-size: .8rem; }
.seg button.active { background: var(--card-2); color: var(--text); }
.logbox { background: #050506; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .9rem 1rem; font-family: var(--mono); font-size: .78rem; line-height: 1.6; color: #a7b0bb; white-space: pre-wrap; max-height: 60vh; overflow: auto; margin-top: 1rem; }

.vm-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: .75rem; }

.spice-steps { margin: .2rem 0 .4rem; padding-left: 1.1rem; font-size: .82rem; color: var(--text-2); display: flex; flex-direction: column; gap: .35rem; }
.spice-steps code { font-family: var(--mono); font-size: .78rem; color: var(--accent); }
.dns-note { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .7rem .85rem; font-size: .82rem; color: var(--text-2); line-height: 1.5; }
.dns-note code { font-family: var(--mono); font-size: .78rem; color: var(--accent); background: var(--bg); padding: .1rem .35rem; border-radius: 4px; }
.rec-table { width: 100%; border-collapse: collapse; }
.rec-table td { padding: .55rem .6rem; border-bottom: 1px solid var(--border); }
.rec-table tr:last-child td { border-bottom: none; }
.rec-type { font-weight: 700; font-size: .74rem; color: var(--accent); width: 60px; letter-spacing: .04em; }

/* ─── Passe premium : profondeur, dégradés subtils, glow maîtrisé ─── */
body { background:
  radial-gradient(120rem 60rem at 78% -12%, rgba(229,72,77,.05), transparent 55%),
  radial-gradient(90rem 50rem at -10% 108%, rgba(110,168,254,.035), transparent 55%),
  var(--bg); }
.sidebar { background: linear-gradient(180deg, #0c0d10, #0a0b0d); }
.logo-a { background: linear-gradient(160deg, #ef5a5f, #cf3439); box-shadow: 0 2px 10px -2px rgba(229,72,77,.55), inset 0 1px 0 rgba(255,255,255,.18); }
.navlink.active { background: linear-gradient(90deg, rgba(229,72,77,.10), rgba(229,72,77,.02)); box-shadow: inset 2px 0 0 var(--accent); }
.card { background: linear-gradient(180deg, #131417, #101113); box-shadow: 0 1px 0 rgba(255,255,255,.02) inset, 0 10px 30px -22px rgba(0,0,0,.7); }
.btn-primary { background: linear-gradient(180deg, #ec5257, #d93d42); box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 6px 16px -8px rgba(229,72,77,.55); }
.btn-primary:hover:not(:disabled) { background: linear-gradient(180deg, #ef6065, #e04347); }
.login-card { background: linear-gradient(180deg, #14151a, #101115); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02); }
.stat-value { background: linear-gradient(180deg, #ffffff, #cfd3da); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.page-head h1 { font-size: 1.45rem; letter-spacing: -0.025em; }
::selection { background: rgba(229,72,77,.28); }

/* ─── Animations ─── */
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.view-in { animation: viewIn .28s cubic-bezier(.2,.7,.2,1); }
@keyframes modalIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-fixed, #consoleModal, #rebootAnim { animation: modalIn .2s ease; }
.modal-fixed .login-card, .modal-fixed .console-win { animation: cardIn .26s cubic-bezier(.2,.8,.2,1); }
button { transition: background .12s, border-color .12s, color .12s, transform .05s; }
button:active:not(:disabled) { transform: translateY(1px) scale(.985); }
.navlink { transition: background .14s, color .14s, box-shadow .14s; }
.navlink:hover { transform: translateX(1px); }
.state, .bar-fill { transition: all .3s ease; }
.card { transition: border-color .15s, box-shadow .15s; }
.stat.card:hover { border-color: var(--border-2); }

/* Toasts */
#toastBox { position: fixed; bottom: 1.3rem; left: 50%; transform: translateX(-50%); z-index: 500; display: flex; flex-direction: column; gap: .5rem; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; background: var(--card-2); border: 1px solid var(--border-2); color: var(--text); padding: .6rem 1rem; border-radius: 9px; font-size: .84rem; font-weight: 500; box-shadow: var(--shadow); opacity: 0; transform: translateY(14px); transition: opacity .25s, transform .25s; max-width: 90vw; }
.toast.show { opacity: 1; transform: none; }
.toast-ok { border-color: var(--green); box-shadow: 0 8px 24px -12px rgba(76,195,138,.5); }
.toast-err { border-color: var(--accent); box-shadow: 0 8px 24px -12px rgba(229,72,77,.5); }
.pulse { transition: none; }

@media (prefers-reduced-motion: reduce) {
  *, .view-in, .modal-fixed, .modal-fixed .login-card { animation: none !important; transition: none !important; }
}

/* Upload ISO */
.upload-btn { cursor: pointer; }
.upload-btn .btn-primary { display: inline-block; }
.iso-drop { margin: 1rem 1.15rem; padding: 1.4rem; border: 1px dashed var(--border-2); border-radius: var(--radius-sm); text-align: center; color: var(--muted); font-size: .84rem; transition: border-color .15s, background .15s; }
.iso-drop b { color: var(--text-2); }
.iso-drop.drag { border-color: var(--accent-line); background: var(--accent-soft); color: var(--text); }
.iso-progress { margin: 0 1.15rem 1rem; display: flex; align-items: center; gap: .7rem; }
.iso-progress-bar-wrap { flex: 1; }
.iso-progress { flex-direction: column; align-items: stretch; }
.iso-progress-bar { height: 4px; background: var(--card-2); border-radius: 3px; overflow: hidden; position: relative; }
.iso-progress-bar::after { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: var(--pct, 0%); background: var(--accent); border-radius: 3px; transition: width .2s; }

.modal-fixed { position: fixed; inset: 0; background: rgba(4,5,6,.7); backdrop-filter: blur(3px); z-index: 200; }

/* Reboot animation */
#rebootAnim { position: fixed; inset: 0; z-index: 400; background: var(--bg); display: grid; place-items: center; text-align: center; }
.reboot-anim-inner { max-width: 400px; padding: 2rem; }
.reboot-anim-inner h2 { font-size: 1.05rem; margin: .5rem 0 .4rem; }
.reboot-spinner { width: 46px; height: 46px; margin: 0 auto 1.4rem; border: 3px solid var(--border-2); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.reboot-progress { height: 3px; background: var(--card-2); border-radius: 3px; overflow: hidden; margin-top: 1.4rem; }
.reboot-progress-bar { height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width .3s linear; }

/* Console noVNC — plein écran */
#consoleModal { position: fixed; inset: 0; z-index: 300; background: #050506; display: flex; flex-direction: column; }
.console-bar { display: flex; align-items: center; gap: .8rem; padding: .55rem .9rem; background: var(--card); border-bottom: 1px solid var(--border); flex: none; }
.console-hint { margin-left: auto; font-size: .68rem; color: var(--green); }
.console-body { flex: 1; display: flex; min-height: 0; }
#xtermHost { flex: 1; min-width: 0; padding: .5rem .6rem; overflow: hidden; }
#xtermHost .xterm { height: 100%; }
.console-screen { flex: 1; padding: 1.1rem 1.3rem; font-family: var(--mono); font-size: .84rem; line-height: 1.55; color: #cdd6df; overflow-y: auto; white-space: pre-wrap; outline: none; cursor: text; }
.console-screen .cprompt { color: #7fdca0; }
.console-screen .cursor { display: inline-block; width: 8px; height: 1em; background: #cdd6df; vertical-align: text-bottom; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.console-ai { width: 340px; max-width: 42vw; border-left: 1px solid var(--border); background: var(--card); display: flex; flex-direction: column; }
.console-ai .ai-messages { flex: 1; overflow-y: auto; padding: .9rem; display: flex; flex-direction: column; gap: .55rem; }
.console-ai .ai-input { display: flex; gap: .4rem; padding: .7rem; border-top: 1px solid var(--border); }
.console-ai .ai-input input { flex: 1; }
.ai-cmd { margin-top: .45rem; display: flex; align-items: center; gap: .5rem; background: var(--bg); border: 1px solid var(--border-2); border-radius: 6px; padding: .35rem .5rem; }
.ai-cmd code { flex: 1; font-family: var(--mono); font-size: .78rem; color: #9fe0b8; overflow-x: auto; }

/* Assistant IA */
#aiFab { position: fixed; bottom: 1.3rem; right: 1.3rem; z-index: 150; background: var(--card); color: var(--text); border: 1px solid var(--border-2); border-radius: 999px; padding: .6rem 1rem; font-weight: 500; box-shadow: var(--shadow); }
#aiFab:hover { border-color: var(--accent-line); }
#aiPanel { position: fixed; bottom: 1.3rem; right: 1.3rem; z-index: 160; width: 358px; max-width: calc(100vw - 2rem); height: 470px; max-height: calc(100vh - 3rem); background: var(--card); border: 1px solid var(--border-2); border-radius: var(--radius); display: flex; flex-direction: column; box-shadow: var(--shadow); }
#aiPanel .ai-head { display: flex; align-items: center; gap: .5rem; padding: .8rem 1rem; border-bottom: 1px solid var(--border); font-weight: 600; font-size: .88rem; }
.ai-badge { font-size: .6rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; background: var(--card-2); border: 1px solid var(--border-2); color: var(--muted); padding: .1rem .4rem; border-radius: 4px; }
.ai-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.ai-msg { padding: .55rem .75rem; border-radius: 9px; font-size: .84rem; line-height: 1.5; max-width: 86%; white-space: pre-wrap; }
.ai-msg.user { align-self: flex-end; background: var(--accent); color: #fff; }
.ai-msg.bot { align-self: flex-start; background: var(--card-2); border: 1px solid var(--border); color: var(--text-2); }
.ai-input { display: flex; gap: .4rem; padding: .7rem; border-top: 1px solid var(--border); }
.ai-input input { flex: 1; }

@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { flex-direction: row; align-items: center; flex-wrap: wrap; gap: .5rem; }
  .sidebar nav { flex-direction: row; flex-wrap: wrap; }
  .sidebar-foot { margin: 0 0 0 auto; border: none; padding: 0; }
  .content { padding: 1.1rem; }
}

/* Charge en direct des VM (CPU / RAM / disque) */
.vm-load { display: flex; flex-direction: column; gap: .22rem; min-width: 170px; }
.vm-load-row { display: grid; grid-template-columns: 34px 1fr 42px; align-items: center; gap: .4rem; font-size: .68rem; }
.vm-load-row .lbl { color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-size: .6rem; }
.vm-load-row .bar { margin: 0; height: 5px; }
.vm-load-row .pct { text-align: right; font-variant-numeric: tabular-nums; }
.vm-load .muted { font-size: .7rem; }

/* Vignettes en direct des VM allumées */
.vm-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.vm-thumb { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; cursor: pointer; transition: transform .15s ease, border-color .15s ease; }
.vm-thumb:hover { transform: translateY(-2px); border-color: var(--accent); }
.vm-thumb img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #000; }
.vm-thumb .ph { display: grid; place-items: center; width: 100%; aspect-ratio: 16/10; background: #000; color: var(--muted); font-size: .72rem; }
.vm-thumb .cap { display: flex; align-items: center; gap: .5rem; padding: .45rem .65rem; font-size: .76rem; }
.vm-thumb .cap .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); }
.vm-thumb .cap .open { margin-left: auto; color: var(--muted); font-size: .68rem; }
.vm-thumb:hover .cap .open { color: var(--accent); }
/* Plein écran réel de la console */
#consoleModal:fullscreen .console-bar { display: none; }
#consoleModal:fullscreen #vncHost { width: 100vw; height: 100vh; }
.console-fs-exit { display: none; position: fixed; top: 8px; right: 8px; z-index: 400; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.45); color: #fff; opacity: .15; transition: opacity .2s; cursor: pointer; }
.console-fs-exit:hover { opacity: 1; }
#consoleModal:fullscreen .console-fs-exit { display: block; }
