:root {
  --ink: #171b27;
  --muted: #788092;
  --soft-muted: #a1a8b6;
  --line: #e8ebf1;
  --panel: #ffffff;
  --canvas: #f8f9fc;
  --blue: #315bdf;
  --blue-dark: #2349c6;
  --blue-pale: #eef2ff;
  --green: #15966e;
  --shadow: 0 16px 44px rgba(31, 43, 77, .075);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f5f7fb; color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: 14px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(49, 91, 223, .2); outline-offset: 2px; }
.app-shell { min-height: 100vh; display: flex; }
.sidebar { width: 264px; flex: 0 0 264px; background: #fff; border-right: 1px solid #e9ecf2; padding: 27px 19px 18px; display: flex; flex-direction: column; position: relative; z-index: 10; }
.brand { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 11px; padding: 0 8px; margin-bottom: 48px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(145deg, #242a39, #06080e); box-shadow: 0 5px 12px rgba(5, 10, 30, .16); position: relative; overflow: hidden; }
.brand-mark::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 45%, rgba(70, 108, 255, .65)); }
.brand-mark-inner { color: white; font-family: 'Space Grotesk', sans-serif; font-size: 24px; line-height: 1; font-weight: 700; position: relative; z-index: 1; font-style: italic; }
.brand-copy { display: flex; flex-direction: column; gap: 3px; }
.brand-copy strong { font-family: 'Space Grotesk', sans-serif; font-size: 14px; letter-spacing: .2px; }
.brand-copy strong span { color: var(--blue); font-size: 11px; }
.brand-copy small { color: #9aa1af; font-size: 9px; letter-spacing: 1.55px; font-weight: 700; }
.sidebar-section-label { color: #a0a7b4; font-size: 10px; font-weight: 800; letter-spacing: 1.4px; }
.sidebar > .sidebar-section-label { padding: 0 10px 12px; }
.workspace-nav { height: 42px; display: flex; align-items: center; gap: 10px; padding: 0 11px; color: #475064; font-weight: 600; border-radius: 9px; font-size: 12px; }
.workspace-nav.active { background: #f2f5ff; color: #294fc9; }
.nav-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px #e2e9ff; margin: 0 3px 0 1px; }
.nav-live { margin-left: auto; background: #e5edff; color: #315bdf; padding: 3px 6px; border-radius: 4px; font-size: 8px; letter-spacing: .8px; font-weight: 800; }
.sidebar-divider { height: 1px; background: #edf0f4; margin: 23px 2px 21px; }
.sidebar-section-head { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 0 5px 14px 10px; }
.sidebar-add { width: 25px; height: 25px; border: 1px solid #dfe5f1; background: white; border-radius: 7px; color: #415fd0; font-size: 19px; line-height: 1; display: grid; place-items: center; transition: .18s ease; }
.sidebar-add:hover { border-color: #b8c7fa; background: #f3f6ff; transform: translateY(-1px); }
.add-menu { position: absolute; top: 35px; right: 0; width: 244px; padding: 7px; background: #fff; border: 1px solid #e7eaf1; border-radius: 12px; box-shadow: 0 16px 38px rgba(26, 34, 58, .15); z-index: 30; }
.add-menu button { width: 100%; padding: 10px 9px; display: flex; text-align: left; align-items: center; gap: 10px; border: 0; border-radius: 8px; background: white; color: var(--ink); }
.add-menu button:hover { background: #f6f8fc; }
.add-menu b, .add-menu small { display: block; }
.add-menu b { font-size: 11px; font-weight: 700; }
.add-menu small { margin-top: 3px; color: #939aaa; font-size: 10px; }
.menu-icon { width: 29px; height: 29px; border-radius: 8px; background: #eef2ff; display: grid; place-items: center; color: #315bdf; font-size: 15px; flex: 0 0 auto; }
.clone-menu-icon { background: #eaf7f3; color: #138968; }
.work-area-hint { margin: 13px 5px 0; padding: 19px 10px; text-align: center; border: 1px dashed #e2e6ee; border-radius: 11px; color: #a3aab7; }
.hint-icon { height: 29px; width: 29px; margin: 0 auto 9px; border-radius: 9px; display: grid; place-items: center; background: #f5f7fb; color: #9ba4b3; font-size: 18px; }
.work-area-hint p { margin: 0; font-size: 10px; line-height: 1.6; }
.work-area-list { display: grid; gap: 5px; margin: 1px 3px; }
.work-list-item { width: 100%; display: flex; align-items: center; gap: 8px; padding: 9px 8px; text-align: left; border: 0; border-radius: 8px; background: transparent; color: #5d6575; font-size: 11px; }
.work-list-item:hover { background: #f6f8fc; }
.work-list-item .mini-machine { width: 24px; height: 24px; border-radius: 7px; background: #eef2ff; display: grid; place-items: center; color: #315bdf; font-size: 12px; flex: 0 0 auto; }
.work-list-item.clone-list-link .mini-machine { background: #eaf7f3; color: #15966e; }
.work-list-item span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-bottom { margin-top: auto; }
.help-card { background: linear-gradient(135deg, #f5f7ff, #fafbff); border: 1px solid #e9edfb; border-radius: 11px; padding: 13px 11px; display: flex; gap: 9px; margin: 0 2px 16px; }
.help-card-icon { width: 25px; height: 25px; border-radius: 8px; background: #e6ecff; color: #315bdf; display: grid; place-items: center; flex: 0 0 auto; }
.help-card b { font-size: 10px; }
.help-card p { margin: 4px 0 0; color: #8a93a5; font-size: 9px; line-height: 1.55; }
.sidebar-foot { border-top: 1px solid #eff1f5; padding: 15px 6px 0; font-size: 9px; color: #9ca4b1; display: flex; align-items: center; gap: 7px; }
.online-indicator { width: 6px; height: 6px; border-radius: 50%; background: #26ae80; box-shadow: 0 0 0 3px #e5f6ef; }
.main-content { min-width: 0; flex: 1; }
.topbar { height: 68px; padding: 0 42px; display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,.82); border-bottom: 1px solid #e9ecf2; }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #9aa1ad; font-size: 11px; }
.breadcrumb-slash { color: #d0d4dc; }
.breadcrumb strong { color: #51596a; font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 21px; }
.save-state { display: flex; align-items: center; gap: 7px; color: #8b93a2; font-size: 10px; }
.save-check { width: 16px; height: 16px; display: grid; place-items: center; background: #eaf7f1; color: #15966e; border-radius: 50%; font-size: 10px; font-weight: 800; }
.profile-chip { display: flex; align-items: center; gap: 8px; border-left: 1px solid #e8ebf0; padding-left: 19px; }
.profile-avatar { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(145deg, #434b63, #141a2b); font-size: 9px; font-weight: 800; letter-spacing: -.5px; }
.profile-name { color: #555e6e; font-size: 10px; font-weight: 700; }
.page-wrap { max-width: 1420px; padding: 42px 42px 20px; margin: 0 auto; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 35px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #929aaa; font-size: 9px; font-weight: 800; letter-spacing: 1.5px; margin-bottom: 11px; }
.eyebrow-line { display: inline-block; width: 19px; height: 2px; background: var(--blue); border-radius: 2px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-family: 'Space Grotesk', sans-serif; font-size: clamp(28px, 3vw, 39px); line-height: 1.14; letter-spacing: -1.5px; font-weight: 700; }
h1 span { color: var(--blue); }
.page-subtitle { color: #8c94a3; font-size: 12px; margin: 0; }
.workspace-stats { display: flex; align-items: center; gap: 20px; padding: 11px 16px; border: 1px solid #e8ebf1; background: rgba(255,255,255,.75); border-radius: 11px; flex: 0 0 auto; }
.stat-item { display: flex; flex-direction: column; gap: 3px; min-width: 45px; }
.stat-number { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; line-height: 1; }
.stat-label { font-size: 8px; letter-spacing: 1px; color: #9ba2af; font-weight: 800; }
.stat-separator { width: 1px; height: 27px; background: #e8ebf0; }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 13px; }
.section-kicker { color: #a0a7b4; font-weight: 800; font-size: 9px; letter-spacing: 1.3px; margin-bottom: 5px; }
h2 { font-family: 'Space Grotesk', sans-serif; font-size: 20px; letter-spacing: -.55px; margin: 0; }
.canvas-legend { display: flex; align-items: center; gap: 17px; color: #929aaa; font-size: 9px; }
.canvas-legend span { display: flex; align-items: center; gap: 6px; }
.canvas-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; }
.legend-host { background: #315bdf; }.legend-clone { background: #15966e; }
.machine-canvas { min-height: 390px; padding: 31px; position: relative; overflow: hidden; border: 1px solid #e8ebf1; border-radius: 15px; background-color: #fff; background-image: radial-gradient(#e8ebf1 0.85px, transparent 0.85px); background-size: 19px 19px; box-shadow: 0 8px 25px rgba(31,43,77,.025); }
.empty-state { min-height: 327px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; isolation: isolate; }
.empty-orbit { position: absolute; z-index: -1; border: 1px solid #edf0f8; border-radius: 50%; width: 220px; height: 220px; }
.orbit-two { width: 290px; height: 290px; border-color: #f1f3f8; }
.empty-console-icon { width: 45px; height: 77px; margin-bottom: 20px; border-radius: 11px 7px 8px 11px; background: linear-gradient(90deg, #f9faff 0 37%, #1d2330 38% 66%, #e5eaff 67%); border: 1px solid #d9deeb; box-shadow: 7px 8px 17px rgba(40,60,120,.12); transform: skewY(-5deg); position: relative; }
.empty-console-icon span:first-child { position: absolute; height: 1px; left: 0; right: 0; top: 43%; background: #343b4b; }.empty-console-icon span:last-child { position: absolute; top: 12%; right: 8px; width: 2px; bottom: 10%; background: #5675ed; }
.empty-overline { color: #9aa4b6; font-size: 8px; font-weight: 800; letter-spacing: 1.6px; margin-bottom: 7px; }
.empty-state h3 { font-family: 'Space Grotesk', sans-serif; font-size: 19px; letter-spacing: -.5px; margin-bottom: 7px; }
.empty-state p { color: #929aaa; font-size: 11px; line-height: 1.65; max-width: 365px; margin-bottom: 17px; }
.primary-button { border: 0; border-radius: 8px; color: white; background: var(--blue); padding: 11px 15px; font-size: 11px; font-weight: 700; box-shadow: 0 6px 13px rgba(49,91,223,.18); transition: .18s ease; }
.primary-button:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 8px 16px rgba(49,91,223,.24); }
.primary-button span { margin-right: 5px; font-size: 15px; vertical-align: -1px; }
.machine-tree { max-width: 920px; margin: 0 auto; position: relative; }
.machine-card { border: 1px solid #e7eaf1; background: rgba(255,255,255,.97); border-radius: 13px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.host-card { display: grid; grid-template-columns: minmax(260px, 42%) 1fr; min-height: 285px; }
.machine-visual { background: linear-gradient(140deg, #f7f8fc, #f0f3fb); display: flex; align-items: center; justify-content: center; min-height: 235px; padding: 15px; position: relative; overflow: hidden; }
.machine-visual::before { content: ''; position: absolute; width: 210px; height: 210px; border: 1px solid rgba(186,197,230,.28); border-radius: 50%; }
.machine-visual img { position: relative; z-index: 1; width: 100%; height: 255px; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 12px 10px rgba(23,32,65,.1)); }
.machine-content { padding: 24px 25px 21px; display: flex; flex-direction: column; min-width: 0; }
.machine-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.machine-kind { display: flex; align-items: center; gap: 7px; color: #315bdf; font-size: 8px; font-weight: 800; letter-spacing: 1.15px; }
.kind-icon { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 6px; background: #eef2ff; font-size: 11px; }
.machine-actions { display: flex; gap: 7px; }
.icon-action { width: 29px; height: 29px; border-radius: 7px; border: 1px solid #e7eaf0; background: white; color: #748096; font-size: 16px; display: grid; place-items: center; transition: .16s ease; }
.icon-action:hover { background: #f4f6ff; border-color: #ced8fa; color: var(--blue); }
.icon-action.more-action { font-size: 13px; font-weight: 700; }
.machine-name { font-family: 'Space Grotesk', sans-serif; font-size: 22px; letter-spacing: -.8px; font-weight: 700; margin: 0 0 5px; overflow-wrap: anywhere; }
.machine-subtitle { color: #939aaa; font-size: 10px; margin: 0 0 17px; }
.machine-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 18px; padding: 13px 0; border-top: 1px solid #edf0f4; border-bottom: 1px solid #edf0f4; }
.meta-label { color: #a0a7b4; font-size: 8px; letter-spacing: .9px; text-transform: uppercase; font-weight: 800; margin-bottom: 5px; }
.meta-value { font-size: 10px; color: #4f586a; font-weight: 700; overflow-wrap: anywhere; }
.machine-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 14px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; color: #168665; background: #eaf7f2; padding: 5px 8px; border-radius: 5px; font-size: 8px; font-weight: 800; letter-spacing: .55px; }
.status-pill i { width: 5px; height: 5px; background: #1aab7b; border-radius: 50%; }
.outline-button { border: 1px solid #e0e5ef; background: white; color: #586276; padding: 7px 11px; border-radius: 7px; font-size: 9px; font-weight: 700; transition: .16s ease; }
.outline-button:hover { color: var(--blue); border-color: #cbd6fc; background: #f8f9ff; }
.host-connector { width: 2px; height: 34px; background: linear-gradient(#b9c7f7, #dbe1f5); margin-left: 43px; position: relative; }
.host-connector::after { content: ''; position: absolute; bottom: -1px; left: -4px; width: 8px; height: 8px; border-right: 2px solid #b9c7f7; border-bottom: 2px solid #b9c7f7; transform: rotate(45deg); }
.clone-section-label { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 12px 42px; }
.clone-section-label strong { font-size: 9px; color: #798296; letter-spacing: 1.2px; }
.clone-section-label span { font-size: 9px; color: #a2a9b6; }
.clone-list { display: grid; gap: 12px; position: relative; padding-left: 42px; }
.clone-list::before { content: ''; position: absolute; top: -16px; bottom: 34px; left: 43px; width: 2px; background: #d8eee6; }
.clone-row { position: relative; }
.clone-row::before { content: ''; position: absolute; left: -41px; top: 50%; width: 41px; height: 2px; background: #d8eee6; }
.clone-row::after { content: ''; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #15966e; border: 3px solid #e8f7f1; left: -3px; top: calc(50% - 4px); }
.clone-card { display: grid; grid-template-columns: 190px 1fr; min-height: 154px; }
.clone-card .machine-visual { min-height: 154px; padding: 7px; }
.clone-card .machine-visual::before { width: 125px; height: 125px; }
.clone-card .machine-visual img { height: 140px; }
.clone-card .machine-content { padding: 15px 18px; }
.clone-card .machine-topline { margin-bottom: 7px; }
.clone-card .machine-kind { color: #168665; }
.clone-card .kind-icon { background: #eaf7f2; }
.clone-card .machine-name { font-size: 16px; margin-bottom: 2px; }
.clone-card .machine-subtitle { margin-bottom: 8px; font-size: 9px; }
.clone-card .machine-meta { padding: 8px 0; gap: 7px 16px; }
.clone-card .machine-footer { padding-top: 8px; }
.clone-game-tag { display: inline-flex; align-items: center; gap: 5px; background: #f2f5ff; color: #526bca; border-radius: 5px; padding: 5px 7px; font-size: 8px; font-weight: 700; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clone-game-tag::before { content: '◈'; font-size: 9px; }
.bottom-info-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 13px; margin-top: 17px; }
.info-panel { display: flex; align-items: flex-start; gap: 11px; padding: 15px 16px; border: 1px solid #e8ebf1; border-radius: 10px; background: rgba(255,255,255,.82); }
.panel-icon, .privacy-icon { flex: 0 0 auto; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; background: #eef2ff; color: #4164d6; font-size: 15px; }
.privacy-icon { background: #eaf7f2; color: #15966e; }
.info-panel h3 { font-size: 10px; margin: 1px 0 4px; font-weight: 800; }
.info-panel p { font-size: 9px; line-height: 1.55; color: #929aaa; margin: 0; }
.page-footer { display: flex; justify-content: space-between; color: #a8afbb; font-size: 8px; letter-spacing: 1.2px; font-weight: 700; padding: 22px 2px 0; }
.page-footer b { color: #b6bfce; padding: 0 4px; }
/* Modals */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; padding: 22px; background: rgba(19, 25, 41, .42); display: grid; place-items: center; backdrop-filter: blur(5px); }
.modal-backdrop[hidden] { display: none; }
.modal { width: min(100%, 465px); max-height: calc(100vh - 44px); overflow-y: auto; background: white; border-radius: 16px; box-shadow: 0 24px 80px rgba(10,18,40,.25); padding: 25px; animation: modalIn .18s ease-out; }
@keyframes modalIn { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.nested-backdrop { z-index: 120; background: rgba(19, 25, 41, .28); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 21px; }
.modal-eyebrow { color: #8c98ae; font-size: 8px; font-weight: 800; letter-spacing: 1.3px; margin-bottom: 6px; }
.modal h2 { font-size: 21px; margin-bottom: 5px; }
.modal-description { margin: 0; color: #929aaa; font-size: 10px; line-height: 1.55; }
.modal-close { width: 29px; height: 29px; flex: 0 0 auto; border: 1px solid #e8ebf1; border-radius: 8px; background: #fff; color: #858d9c; font-size: 18px; line-height: 1; }
.modal-close:hover { background: #f6f7fa; color: #353c4b; }
.form-grid { display: grid; gap: 14px; }
.form-field { display: grid; gap: 6px; }
.form-field label { color: #525c70; font-size: 10px; font-weight: 700; }
.form-field label em { color: #a1a8b5; font-style: normal; font-weight: 500; }
.form-field input, .form-field select { width: 100%; height: 41px; padding: 0 11px; border: 1px solid #e4e8ef; border-radius: 8px; background: #fbfcfe; color: #303747; font-size: 11px; outline: none; transition: .16s ease; }
.form-field input::placeholder { color: #b1b7c2; }
.form-field input:focus, .form-field select:focus { border-color: #9db1f7; background: white; box-shadow: 0 0 0 3px #eef2ff; }
.form-help { color: #a0a7b4; font-size: 9px; margin-top: -1px; }
.form-divider { border: 0; border-top: 1px solid #edf0f4; margin: 2px 0; }
.game-select-row { display: flex; align-items: center; gap: 7px; }
.game-select-row select { flex: 1; min-width: 0; }
.text-button { flex: 0 0 auto; border: 0; padding: 8px 4px; color: #315bdf; background: transparent; font-size: 9px; font-weight: 800; }
.text-button:hover { color: #183cbb; text-decoration: underline; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 21px; padding-top: 15px; border-top: 1px solid #edf0f4; }
.secondary-button, .modal-primary { border-radius: 8px; padding: 10px 14px; font-size: 10px; font-weight: 700; }
.secondary-button { color: #657084; border: 1px solid #e4e8ef; background: white; }
.secondary-button:hover { background: #f8f9fb; }
.modal-primary { color: white; border: 1px solid var(--blue); background: var(--blue); box-shadow: 0 5px 11px rgba(49,91,223,.15); }
.modal-primary:hover { background: var(--blue-dark); }
.details-banner { display: flex; align-items: center; gap: 12px; border-radius: 10px; background: #f5f7fc; padding: 12px; margin-bottom: 16px; }
.details-banner img { width: 52px; height: 52px; object-fit: contain; mix-blend-mode: multiply; }
.details-banner strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 14px; margin-bottom: 4px; overflow-wrap: anywhere; }
.details-banner span { color: #929aaa; font-size: 9px; }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.detail-cell { padding: 11px; border: 1px solid #edf0f4; border-radius: 8px; min-width: 0; }
.detail-cell small { display: block; color: #9ba3b1; font-size: 8px; font-weight: 800; letter-spacing: .8px; margin-bottom: 5px; text-transform: uppercase; }
.detail-cell strong { display: block; font-size: 10px; color: #50596b; overflow-wrap: anywhere; }
.toast-region { position: fixed; z-index: 200; right: 22px; bottom: 22px; display: grid; gap: 8px; pointer-events: none; }
.toast { color: white; background: #20283b; box-shadow: 0 10px 28px rgba(20,28,50,.2); padding: 11px 14px; border-radius: 9px; font-size: 10px; display: flex; gap: 8px; align-items: center; animation: toastIn .2s ease-out; max-width: min(360px, calc(100vw - 44px)); }
.toast::before { content: '✓'; color: #75e1b7; font-weight: 800; }
.toast.error::before { content: '!'; color: #ffd08b; }
@keyframes toastIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1050px) {
  .sidebar { width: 228px; flex-basis: 228px; }
  .page-wrap { padding: 34px 27px 20px; }
  .topbar { padding: 0 27px; }
  .host-card { grid-template-columns: 38% 1fr; }
  .machine-content { padding: 20px; }
}
@media (max-width: 760px) {
  .app-shell { display: block; }
  .sidebar { width: 100%; padding: 13px 16px; display: grid; grid-template-columns: 1fr auto; align-items: center; border-right: 0; border-bottom: 1px solid #e9ecf2; }
  .brand { margin: 0; padding: 0; }
  .sidebar > .sidebar-section-label, .workspace-nav, .sidebar-divider, .work-area-hint, .work-area-list, .sidebar-bottom { display: none; }
  .sidebar-section-head { grid-column: 2; grid-row: 1; padding: 0; }
  .sidebar-section-head > .sidebar-section-label { display: none; }
  .add-menu { top: 35px; }
  .topbar { height: 55px; padding: 0 18px; }
  .topbar-right { gap: 9px; }
  .save-state { font-size: 0; gap: 0; }
  .save-check { font-size: 10px; }
  .profile-chip { padding-left: 10px; }
  .profile-name { display: none; }
  .page-wrap { padding: 28px 16px 16px; }
  .page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 26px; }
  .workspace-stats { align-self: stretch; width: fit-content; }
  .section-heading-row { align-items: flex-start; gap: 15px; flex-direction: column; }
  .machine-canvas { padding: 15px; min-height: 360px; }
  .host-card { grid-template-columns: 1fr; }
  .host-card .machine-visual { min-height: 210px; }
  .host-card .machine-visual img { height: 220px; }
  .host-card .machine-content { padding: 18px; }
  .clone-card { grid-template-columns: 112px 1fr; }
  .clone-card .machine-visual { min-height: 145px; padding: 4px; }
  .clone-card .machine-visual img { height: 125px; }
  .clone-card .machine-content { padding: 12px; }
  .clone-card .machine-meta { grid-template-columns: 1fr 1fr; }
  .clone-card .machine-actions { gap: 4px; }
  .clone-card .icon-action { width: 26px; height: 26px; }
  .clone-list { padding-left: 25px; }
  .clone-list::before { left: 26px; }
  .clone-row::before { left: -24px; width: 24px; }
  .clone-section-label { margin-left: 25px; }
  .host-connector { margin-left: 26px; }
  .bottom-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .breadcrumb { font-size: 10px; }
  .machine-canvas { padding: 10px; }
  .clone-card { grid-template-columns: 1fr; }
  .clone-card .machine-visual { min-height: 140px; }
  .clone-card .machine-visual img { height: 130px; }
  .machine-meta { gap: 9px; }
  .page-footer { font-size: 7px; letter-spacing: .6px; }
  .modal { padding: 20px; }
}

.no-clones-note { margin: 0 0 0 42px; padding: 14px 15px; border: 1px dashed #e4e9f0; border-radius: 9px; background: rgba(255,255,255,.72); color: #9aa3b2; font-size: 10px; }
.no-clones-note b { color: #315bdf; font-size: 14px; vertical-align: -1px; }
