/* All in Term browser preview: source-informed shell and isolated sample interactions. */
.demo-intro-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 20px; padding: 13px 16px; border: 1px solid #4c4f51; border-bottom: 0; border-radius: 9px 9px 0 0; background: #232425; color: #c1c4c6; font: 690 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.demo-intro-bar > span:first-child { display: inline-flex; align-items: center; gap: 9px; }
.demo-intro-bar i { width: 6px; height: 6px; border-radius: 50%; background: #9ea5a2; box-shadow: 0 0 10px #9ea5a2; }
.demo-intro-bar > span:last-child { color: #989c9f; font-weight: 500; text-transform: none; letter-spacing: 0; }
.demo-shortcuts { display: flex; gap: 4px; padding: 8px 10px; border-inline: 1px solid #4c4f51; background: #1c1d1e; overflow-x: auto; }
.demo-shortcuts button { min-width: max-content; padding: 9px 14px; border: 1px solid transparent; border-radius: 5px; color: #afb2b4; background: transparent; font: 650 11px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; cursor: pointer; }
.demo-shortcuts button.active, .demo-shortcuts button:hover { border-color: #686c70; background: #454749; color: #f7f7f7; }
.demo-disclaimer { margin: 14px 0 0; color: #757e79; font-size: 11px; }
.ait-demo { position: relative; overflow: hidden; min-height: 640px; border: 1px solid #4c4f51; border-radius: 0 0 9px 9px; color: #e7e8e8; background: #18191a; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; box-shadow: 0 38px 80px #0008; }
.demo-loading { margin: 0; padding: 36px; color: #b2b5b8; font-size: 12px; }
.ait-demo * { box-sizing: border-box; }
.ait-demo svg { width: 15px; height: 15px; flex: none; }
.ait-demo button, .ait-demo input { font: inherit; }
.ait-demo button { cursor: pointer; }
.ait-demo button:disabled { cursor: wait; opacity: .55; }
.ait-demo button:focus-visible, .ait-demo input:focus-visible { outline: 2px solid #b9bcbe; outline-offset: -2px; }
.ait-demo-label { display: flex; justify-content: space-between; align-items: center; height: 26px; padding: 0 12px; border-bottom: 1px solid #424447; background: #2d2e30; color: #d0d2d3; font: 680 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .09em; }
.ait-demo-label span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.ait-demo-label i { width: 5px; height: 5px; border-radius: 50%; background: #9aa19d; }
.ait-demo-label span:last-child { color: #93979b; font-weight: 500; }
.ait-topbar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 9px; border-bottom: 1px solid #383a3d; background: #252628; }
.ait-topbar > button { display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 0 8px; border: 1px solid #424447; border-radius: 5px; color: #c3c5c7; background: #2b2d2f; font-size: 10px; }
.ait-topbar > button:hover { border-color: #707479; color: #f4f5f5; }
.ait-top-toggle { width: 31px; background: #585a5e !important; color: #f3f3f3 !important; }
.ait-session-tab { display: flex; align-items: center; gap: 7px; height: 28px; min-width: 118px; padding: 0 10px; border: 1px solid #45474a; border-radius: 5px; background: #232425; font-size: 10px; }
.ait-session-tab i, .ait-green-dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: #919895; box-shadow: 0 0 7px #53d69f77; }
.ait-session-tab span { margin-left: auto; color: #8e9296; }
.ait-local-tab { gap: 5px; }
.ait-local-tab svg { width: 12px; height: 12px; }
.ait-top-spacer, .ait-header-spacer, .ait-path-spacer { flex: 1; }
.ait-lang { color: #adb0b3; font: 750 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.ait-shortcut { gap: 6px; }
.ait-shortcut kbd { border: 1px solid #54575b; border-radius: 3px; padding: 1px 4px; color: #aeb1b4; font: 650 8px ui-monospace, SFMono-Regular, Menlo, monospace; }
.ait-pro { padding: 6px 8px; border: 1px solid #53514e; border-radius: 4px; color: #c7c5c2; background: #2c2c2f; font: 780 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.ait-shell { display: flex; min-height: 574px; height: 574px; }
.ait-rail { display: flex; flex-direction: column; flex: 0 0 139px; min-width: 0; border-right: 1px solid #383a3d; background: #242526; }
.ait-rail-brand { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 10px; border-bottom: 1px solid #383a3d; font-size: 10px; }
.ait-rail-brand b { font-weight: 720; }
.ait-rail-logo { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #6e7276; border-radius: 5px; background: #404345; color: #dfe0e1; font: 800 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.ait-rail-main { display: grid; align-content: start; gap: 3px; padding: 11px 6px; }
.ait-rail-item, .ait-rail-bottom button { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 30px; padding: 5px 9px; border: 1px solid transparent; border-radius: 5px; color: #abaeb0; background: transparent; text-align: left; font-size: 10px !important; }
.ait-rail-item:hover, .ait-rail-bottom button:hover { background: #37393a; color: #f5f6f6; }
.ait-rail-item.active { border-color: #5d6164; background: #424547; color: #ebeced; }
.ait-rail-item svg, .ait-rail-bottom svg { width: 13px; height: 13px; color: #a1a5a8; }
.ait-rail-rule { height: 1px; margin: 9px 4px; background: #3d4042; }
.ait-rail-bottom { display: grid; align-content: end; gap: 2px; margin-top: auto; padding: 11px 6px; border-top: 1px solid #37393b; }
.ait-workspace { position: relative; display: flex; flex-direction: column; flex: 0 0 211px; min-width: 0; padding: 12px 8px; border-right: 1px solid #383a3c; background: #232425; }
.ait-workspace-title { display: flex; flex-direction: column; gap: 4px; padding: 0 5px 13px; }
.ait-workspace-title span { color: #8a8e92; font: 710 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; }
.ait-workspace-title strong { font-size: 12px; font-weight: 680; }
.ait-search { display: flex; align-items: center; gap: 6px; min-width: 0; height: 29px; padding: 0 8px; border: 1px solid #494c4f; border-radius: 5px; background: #222325; color: #888d90; }
.ait-search svg { width: 12px; height: 12px; }
.ait-search input { min-width: 0; width: 100%; height: 100%; border: 0; outline: none; color: #e7e8e9; background: transparent; font-size: 10px; }
.ait-search input::placeholder { color: #808589; }
.ait-workspace-group { display: flex; justify-content: space-between; gap: 5px; margin: 18px 5px 10px; color: #92969a; font: 720 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .07em; }
.ait-workspace-group span { color: #bec0c2; white-space: nowrap; }
.ait-server-local, .ait-server-selected { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 42px; margin-bottom: 4px; padding: 7px; border: 1px solid #434648; border-radius: 6px; background: #2a2c2e; color: #e5e6e6; text-align: left; }
.ait-server-selected { border-color: #6a6e72; background: #353739; }
.ait-server-local svg, .ait-server-selected svg { width: 15px; height: 15px; color: #aeb1b3; }
.ait-server-local b, .ait-server-selected b { display: block; font-size: 10px; }
.ait-server-local small, .ait-server-selected small { display: block; margin-top: 3px; color: #9ea2a5; font: 520 8px ui-monospace, SFMono-Regular, Menlo, monospace; }
.ait-server-selected em { margin-left: 4px; color: #b5b8ba; font-size: 8px; font-style: normal; }
.ait-server-selected > i { width: 5px; height: 5px; margin-left: auto; border-radius: 50%; background: #9da4a1; }
.ait-server-vitals { margin-top: auto; padding: 11px; border: 1px solid #484b4e; border-radius: 7px; background: #292a2c; }
.ait-server-vitals > div:first-child { display: flex; justify-content: space-between; gap: 7px; margin-bottom: 11px; font-size: 9px; }
.ait-server-vitals strong { font-size: 8px; font-weight: 550; }
.ait-server-vitals strong i { display: inline-block; width: 5px; height: 5px; margin-right: 3px; border-radius: 50%; background: #949c99; }
.ait-server-vitals small { display: flex; justify-content: space-between; margin-top: 8px; color: #a9acae; font: 560 8px ui-monospace, SFMono-Regular, Menlo, monospace; }
.ait-server-vitals small b { color: #d5d7d8; font-weight: 570; }
.ait-mini-bar { height: 3px; margin-top: 3px; border-radius: 3px; background: #454749; }
.ait-mini-bar i { display: block; height: 100%; border-radius: 3px; background: #8d9492; }
.ait-mini-bar.purple i { background: #adacb2; }
.ait-mini-bar.blue i { background: #a3a7aa; }
.ait-main { flex: 1; min-width: 0; background: #18191a; }
.ait-view { display: flex; flex-direction: column; height: 100%; min-width: 0; }
.ait-view-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 43px; padding: 0 12px; border-bottom: 1px solid #393b3e; background: #1e1f20; }
.ait-breadcrumb { display: flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; }
.ait-breadcrumb strong { font-size: 10px; }
.ait-breadcrumb small { color: #909497; font: 520 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.ait-toolbar-actions { display: flex; align-items: center; gap: 3px; overflow-x: auto; }
.ait-toolbar-actions button, .ait-workspace-header button { display: inline-flex; align-items: center; gap: 5px; flex: none; padding: 6px 8px; border: 1px solid transparent; border-radius: 5px; color: #acafb1; background: transparent; font-size: 9px; }
.ait-toolbar-actions button:hover, .ait-workspace-header button:hover { border-color: #5f6265; background: #36383a; color: #f3f3f3; }
.ait-toolbar-actions svg { width: 11px; height: 11px; }
.ait-terminal-layout { display: flex; flex: 1; min-height: 0; }
.ait-terminal { position: relative; display: flex; flex-direction: column; flex: 1; min-width: 0; background: #131415; }
.ait-terminal-output { flex: 1; min-height: 0; padding: 23px 18px; overflow: auto; color: #b3b6b9; font: 560 11px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.ait-terminal-output > div { min-height: 17px; }
.ait-green { color: #a7acaa; }
.ait-prompt { color: #bcbec0; }
.ait-terminal-form { padding: 0 18px 19px; }
.ait-terminal-form label { display: flex; gap: 8px; align-items: center; color: #bcbec0; font: 560 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.ait-terminal-form label span { white-space: nowrap; }
.ait-terminal-form input { flex: 1; min-width: 0; border: 0; outline: none; color: #dbdcdd; background: transparent; font: 560 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.ait-terminal-form input::placeholder { color: #676b6e; }
.ait-terminal-status { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-top: 1px solid #343537; color: #888c90; font: 540 8px ui-monospace, SFMono-Regular, Menlo, monospace; }
.ait-terminal-status i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #99a09d; }
.ait-sftp { display: flex; flex-direction: column; min-width: 0; background: #232425; }
.ait-sftp-drawer { flex: 0 0 35%; max-width: 360px; border-left: 1px solid #434547; }
.ait-sftp-full { flex: 1; margin: 0 14px 14px; border: 1px solid #45474a; border-radius: 7px; overflow: hidden; }
.ait-sftp-heading { display: flex; justify-content: space-between; align-items: center; gap: 7px; padding: 11px 12px; border-bottom: 1px solid #434547; }
.ait-sftp-heading > div { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ait-sftp-heading svg { color: #adb0b2; }
.ait-sftp-heading strong { display: block; font-size: 10px; }
.ait-sftp-heading small { display: block; color: #9ea1a4; font-size: 8px; }
.ait-sftp-heading button, .ait-sftp-path button, .ait-sftp-tools > button, .ait-file-preview button { display: inline-flex; align-items: center; justify-content: center; gap: 3px; height: 23px; padding: 0 7px; border: 1px solid #54575a; border-radius: 4px; color: #c0c3c5; background: #343537; font-size: 9px; }
.ait-sftp-heading button:hover, .ait-sftp-path button:hover, .ait-sftp-tools > button:hover, .ait-file-preview button:hover { background: #4b4e51; }
.ait-sftp-heading button svg, .ait-sftp-path button svg { width: 11px; height: 11px; }
.ait-sftp-path { display: flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 9px; border-bottom: 1px solid #434547; color: #94989c; font: 580 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.ait-sftp-path b { color: #bcc1be; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ait-sftp-tools { display: flex; align-items: center; gap: 4px; padding: 8px; border-bottom: 1px solid #434547; }
.ait-sftp-tools .ait-search { flex: 1; }
.ait-sftp-tools > button { min-width: 24px; }
.ait-files-head, .ait-file-row { display: grid; grid-template-columns: minmax(0,1fr) 60px 52px; gap: 5px; align-items: center; }
.ait-files-head { padding: 7px 9px; border-bottom: 1px solid #434547; background: #292a2b; }
.ait-files-head button { padding: 0; border: 0; background: transparent; color: #969a9d; font: 710 8px ui-monospace, SFMono-Regular, Menlo, monospace; }
.ait-file-list { flex: 1; min-height: 0; overflow-y: auto; }
.ait-file-row { width: 100%; padding: 8px 9px; border: 0; border-bottom: 1px solid #363839; color: #c2c4c6; background: transparent; text-align: left; }
.ait-file-row:hover, .ait-file-row.selected { background: #3d4042; }
.ait-file-row > span { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ait-file-row svg { width: 12px; height: 12px; color: #a3a09c; }
.ait-file-row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; font-weight: 540; }
.ait-file-row small { color: #999da0; font-size: 8px; }
.ait-file-preview { max-height: 130px; border-top: 1px solid #5e6164; background: #232425; }
.ait-file-preview > div { display: flex; justify-content: space-between; align-items: center; padding: 5px 8px; border-bottom: 1px solid #414345; }
.ait-file-preview b { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; }
.ait-file-preview b svg { width: 11px; height: 11px; }
.ait-file-preview pre { max-height: 88px; margin: 0; padding: 8px; overflow: auto; color: #b9bdbe; font: 8px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.ait-sftp-footer { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-top: 1px solid #434547; color: #909598; font-size: 8px; }
.ait-new-folder { display: flex; gap: 5px; padding: 6px 9px; background: #37393b; }
.ait-new-folder input { flex: 1; min-width: 0; border: 1px solid #717579; border-radius: 3px; color: white; background: #262728; font-size: 9px; }
.ait-new-folder button { border: 0; border-radius: 3px; background: #7c8185; color: white; font-size: 9px; }
.ait-empty-small { padding: 16px; color: #909598; font-size: 10px; }
.ait-workspace-header { display: flex; align-items: center; gap: 10px; flex: none; min-height: 58px; padding: 9px 14px; border-bottom: 1px solid #3a3c3f; background: #222325; }
.ait-workspace-header > div:not(.ait-header-icon) > span { display: block; margin-bottom: 2px; color: #a0a4a7; font: 590 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.ait-workspace-header h3 { margin: 0; color: #f3f4f4; font-size: 16px; font-weight: 660; }
.ait-workspace-header p { margin: 3px 0 0; color: #9ea2a5; font-size: 10px; }
.ait-header-icon { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #595c5f; border-radius: 6px; background: #3c3f41; color: #c9cbcd; }
.ait-header-icon svg { width: 16px; height: 16px; }
.ait-subtabs { display: flex; gap: 4px; flex: none; min-height: 36px; padding: 4px 9px; border-bottom: 1px solid #383b3d; overflow-x: auto; background: #1e1f21; }
.ait-tab { flex: none; min-height: 26px; padding: 4px 10px; border: 1px solid transparent; border-radius: 5px; color: #aeb1b4; background: transparent; white-space: nowrap; font-size: 9px !important; font-weight: 610; }
.ait-tab:hover { background: #37393a; }
.ait-tab.active { border-color: #5e6164; color: #e2e3e3; background: #434547; }
.ait-content-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; background: #18191a; scrollbar-color: #4f5255 transparent; scrollbar-width: thin; }
.ait-care-hero { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 137px; overflow: hidden; padding: 17px 20px; border: 1px solid #515356; border-radius: 8px; background: linear-gradient(110deg,#2d2f31,#37393a); }
.ait-care-hero > div { position: relative; z-index: 1; }
.ait-care-hero span, .ait-panel-intro > span { color: #bbbec0; font: 730 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.ait-care-hero h4, .ait-panel-intro h4 { margin: 7px 0 5px; font-size: 18px; font-weight: 680; }
.ait-care-hero p, .ait-panel-intro p { max-width: 540px; margin: 0; color: #bcbec0; font-size: 10px; line-height: 1.55; }
.ait-care-hero button { display: inline-flex; align-items: center; gap: 7px; margin-top: 13px; padding: 7px 10px; border: 1px solid #909498; border-radius: 5px; color: #ffffff; background: #717579; font-size: 9px; font-weight: 680; }
.ait-care-hero button:hover { background: #82868a; }
.ait-care-hero button svg { width: 11px; height: 11px; }
.ait-care-hero img { align-self: stretch; width: 145px; height: 117px; object-fit: contain; filter: saturate(.7); }
.ait-metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; margin: 11px 0; }
.ait-metric-grid.ait-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ait-metric-grid > div { min-height: 101px; padding: 12px; border: 1px solid #3f4144; border-radius: 7px; background: #242527; }
.ait-metric-grid > div > span { display: block; color: #a2a6a9; font: 700 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.ait-metric-grid strong { display: block; margin-top: 15px; color: #f1f2f2; font-size: 23px; font-weight: 680; letter-spacing: -.06em; white-space: nowrap; }
.ait-metric-grid strong small { color: #9ca0a2; font-size: 10px; font-weight: 500; }
.ait-metric-grid .ait-warm { color: #b2afac; }
.ait-metric-grid p { margin: 3px 0 0; color: #979b9e; font-size: 9px; }
.ait-data-panel { overflow: hidden; margin-top: 11px; border: 1px solid #3f4144; border-radius: 7px; background: #242526; }
.ait-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 35px; padding: 8px 12px; border-bottom: 1px solid #3f4144; }
.ait-panel-head strong { font-size: 10px; font-weight: 680; }
.ait-panel-head span { color: #9da0a3; font-size: 9px; }
.ait-panel-head .ait-search { width: min(240px,60%); height: 25px; }
.ait-table { min-width: 0; overflow-x: auto; }
.ait-table-head, .ait-table-line { display: grid; grid-template-columns: 1.2fr 1fr 1fr .7fr .8fr .9fr; gap: 8px; min-width: 680px; padding: 9px 12px; align-items: center; }
.ait-table-head { background: #2d2f31; color: #a4a7aa; font: 750 8px ui-monospace, SFMono-Regular, Menlo, monospace; }
.ait-table-line { border-top: 1px solid #3f4144; color: #d0d2d4; font-size: 9px; }
.ait-table-line .ait-green { color: #a5aba8; }
.ait-care-columns { display: grid; grid-template-columns: 1.65fr 1fr; gap: 11px; }
.ait-list-line { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-top: 1px solid #3f4144; font-size: 9px; }
.ait-list-line:first-of-type { border-top: 0; }
.ait-severity { padding: 4px 5px; border-radius: 3px; color: #b9b7b3; background: #474543; font: 750 7px ui-monospace, SFMono-Regular, Menlo, monospace; font-style: normal; }
.ait-key-value { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 35px; padding: 9px 12px; border-top: 1px solid #3f4144; color: #b4b7ba; font-size: 10px; }
.ait-key-value:first-child { border-top: 0; }
.ait-key-value b { color: #e6e7e7; font-weight: 610; }
.ait-key-value button { padding: 4px 9px; border: 1px solid #63666a; border-radius: 4px; color: #dddedf; background: #424446; font-size: 9px; }
.ait-panel-intro { min-height: 98px; padding: 14px 18px; border: 1px solid #515356; border-radius: 7px; background: linear-gradient(110deg,#2f3133,#282a2b); }
.ait-panel-intro h4 { font-size: 20px; }
.ait-check-row { display: flex; align-items: center; gap: 10px; padding: 12px; border-top: 1px solid #3f4144; cursor: pointer; }
.ait-check-row input { accent-color: #898e91; }
.ait-check-row > span { flex: 1; }
.ait-check-row b, .ait-check-row small { display: block; }
.ait-check-row b { font-size: 10px; }
.ait-check-row small { margin-top: 3px; color: #9a9da0; font-size: 9px; }
.ait-check-row > strong { color: #d7d8d9; font-size: 10px; }
.ait-action-row { margin-top: 12px; }
.ait-action-row button, .ait-demo-options button { padding: 7px 11px; border: 1px solid #73777b; border-radius: 4px; color: #e9eaea; background: #505355; font-size: 10px; }
.ait-demo-options { display: flex; gap: 7px; padding: 13px; }
.ait-demo-options button { color: #b3b6b8; background: #343638; }
.ait-demo-options button.active { color: #ffffff; background: #717579; }
.ait-memory-bar { display: flex; height: 18px; margin: 14px; border-radius: 4px; overflow: hidden; background: #3a3d3f; }
.ait-memory-bar i:first-child { width: 36%; background: #a2a5a8; }
.ait-memory-bar i:nth-child(2) { width: 9%; background: #b5b5ba; }
.ait-memory-bar i:nth-child(3) { width: 55%; background: #434648; }
.ait-finding { display: grid; grid-template-columns: 65px 1fr; gap: 12px; padding: 12px; border-top: 1px solid #3f4144; }
.ait-finding > span { width: max-content; height: max-content; padding: 5px; border-radius: 3px; color: #cac9c7; background: #484644; font: 750 8px ui-monospace, SFMono-Regular, Menlo, monospace; }
.ait-finding b { font-size: 11px; }
.ait-finding p { margin: 5px 0 0; color: #aaadb0; font-size: 9px; line-height: 1.5; }
.ait-filter-row { display: flex; align-items: center; gap: 5px; margin: 12px 0; }
.ait-filter-row .ait-search { flex: 1; max-width: 330px; }
.ait-filter-row > button { padding: 7px 11px; border: 1px solid #474a4c; border-radius: 4px; color: #b4b7ba; background: #2a2c2d; font-size: 9px; }
.ait-filter-row > button.active { border-color: #787c80; color: #f3f3f3; background: #505355; }
.ait-tool-list { overflow: hidden; margin-top: 10px; border: 1px solid #47494c; border-radius: 6px; }
.ait-tool-item { display: flex; align-items: center; gap: 11px; min-height: 51px; padding: 8px 13px; border-bottom: 1px solid #3f4144; background: #252627; }
.ait-tool-item:last-child { border-bottom: 0; }
.ait-tool-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border: 1px solid #62666a; border-radius: 5px; color: #babdbf; background: #3d3f41; }
.ait-tool-item > div:nth-child(2) { flex: 1; min-width: 0; }
.ait-tool-item strong, .ait-tool-item small { display: block; }
.ait-tool-item strong { font-size: 11px; }
.ait-tool-item small { margin-top: 3px; color: #9fa2a5; font-size: 9px; }
.ait-tool-item > span { color: #9ea1a4; font: 590 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.ait-tool-item > button, .ait-container-row button { padding: 6px 11px; border: 1px solid #797d81; border-radius: 4px; color: #f2f3f3; background: #707478; font-size: 9px; }
.ait-tool-item > button.subtle, .ait-container-row button { border-color: #595d60; color: #c1c3c5; background: #37393b; }
.ait-db-layout { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 10px; margin-top: 12px; }
.ait-db-tree { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid #47494c; border-radius: 6px; background: #252627; }
.ait-db-tree > strong { margin-bottom: 7px; color: #e6e7e7; font-size: 11px; }
.ait-db-tree > button { display: flex; align-items: center; gap: 6px; padding: 7px; border: 1px solid transparent; border-radius: 4px; color: #b0b3b5; background: transparent; text-align: left; font-size: 9px; }
.ait-db-tree > button.active, .ait-db-tree > button:hover { border-color: #626669; color: #f0f1f1; background: #404244; }
.ait-db-tree .ait-search { margin-bottom: 7px; }
.ait-db-layout .ait-data-panel { margin: 0; }
.ait-db-cols { grid-template-columns: .5fr 1.4fr .8fr 1fr; min-width: 360px; }
.ait-code-block { margin: 0; padding: 20px; overflow: auto; color: #bdc1bf; font: 11px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }
.ait-runtime-bar { display: flex; align-items: center; gap: 9px; color: #a2a5a8; font: 600 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.ait-pill { display: inline-flex; align-items: center; padding: 4px 7px; border: 1px solid #525558; border-radius: 4px; color: #b4b8ba; background: #37393a; font: 620 9px ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.ait-pill.green { border-color: #555c59; color: #b3b9b6; background: #333635; }
.ait-pill.warm { border-color: #615e5b; color: #bcbab7; background: #413f3d; }
.ait-docker-hero { min-height: 90px; padding-block: 10px; }
.ait-docker-hero h4 { margin-top: 4px; font-size: 16px; }
.ait-docker-hero img { width: 100px; height: 72px; }
.ait-container-row { display: flex; align-items: center; gap: 11px; padding: 12px; border-top: 1px solid #3f4144; }
.ait-container-row > svg { width: 22px; height: 22px; color: #a9acaf; }
.ait-container-row > div { flex: 1; }
.ait-container-row b, .ait-container-row small { display: block; }
.ait-container-row b { font-size: 11px; }
.ait-container-row small { margin-top: 3px; color: #95999c; font-size: 9px; }
.ait-process-cols { grid-template-columns: .5fr 1.8fr .6fr .8fr .8fr; min-width: 480px; }
.ait-port-cols { grid-template-columns: .5fr .8fr 1fr 1.4fr; min-width: 400px; }
.ait-cron-cols { grid-template-columns: 1.3fr 1.3fr .7fr; min-width: 400px; }
.ait-performance-bars { display: flex; align-items: end; gap: 5px; height: 150px; padding: 16px; }
.ait-performance-bars i { flex: 1; max-width: 25px; border-radius: 2px 2px 0 0; background: linear-gradient(#b8bbbc,#757a7e); }
.ait-toast { position: absolute; z-index: 9; right: 14px; bottom: 14px; max-width: min(360px,calc(100% - 28px)); padding: 10px 13px; border: 1px solid #787e81; border-radius: 6px; color: #f2f3f3; background: #3d4042; box-shadow: 0 10px 30px #0007; font-size: 10px; }
.ait-modal-backdrop { position: absolute; z-index: 10; inset: 26px 0 0; display: grid; place-items: start center; padding-top: 75px; background: #050b10c9; backdrop-filter: blur(4px); }
.ait-palette, .ait-confirm { width: min(500px,calc(100% - 30px)); overflow: hidden; border: 1px solid #72777b; border-radius: 8px; background: #27292a; box-shadow: 0 25px 70px #0009; }
.ait-palette > label { display: flex; align-items: center; gap: 9px; padding: 13px; border-bottom: 1px solid #505355; color: #b9bbbd; }
.ait-palette input { flex: 1; min-width: 0; border: 0; outline: none; color: #f2f3f3; background: transparent; font-size: 13px; }
.ait-palette-hint, .ait-palette-foot { padding: 11px 13px; color: #9a9ea1; font: 680 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.ait-palette-foot { border-top: 1px solid #46494b; font-weight: 500; letter-spacing: 0; }
.ait-palette > button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 13px; border: 0; color: #e7e8e9; background: transparent; text-align: left; font-size: 11px; }
.ait-palette > button:hover { background: #45484b; }
.ait-palette > button kbd { margin-left: auto; color: #a2a6a8; }
.ait-confirm { padding: 22px; }
.ait-confirm > span { color: #bbbec0; font: 700 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em; }
.ait-confirm h4 { margin: 9px 0; font-size: 21px; }
.ait-confirm p { color: #b4b7ba; font-size: 11px; line-height: 1.65; }
.ait-confirm .ait-key-value { padding-inline: 0; }
.ait-confirm > button { margin-top: 18px; padding: 8px 15px; border: 1px solid #888c90; border-radius: 4px; color: white; background: #72777b; font-size: 10px; }
@media (max-width: 1190px) {
  .ait-workspace { flex-basis: 175px; }
  .ait-rail { flex-basis: 119px; }
  .ait-sftp-drawer { flex-basis: 38%; }
  .ait-toolbar-actions button { font-size: 0; }
  .ait-toolbar-actions svg { width: 14px; height: 14px; }
}
@media (max-width: 880px) {
  .ait-demo { min-height: 580px; }
  .ait-shell { height: 532px; min-height: 532px; }
  .ait-rail { flex-basis: 42px; }
  .ait-rail-brand { justify-content: center; padding: 0; }
  .ait-rail-brand b, .ait-rail-item span, .ait-rail-bottom span { display: none; }
  .ait-rail-item, .ait-rail-bottom button { justify-content: center; padding-inline: 0; }
  .ait-workspace { flex-basis: 160px; }
  .ait-server-vitals { padding: 7px; }
  .ait-sftp-drawer { flex-basis: 42%; }
  .ait-care-hero img { width: 105px; }
  .ait-metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ait-care-columns { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .demo-intro-bar { font-size: 8px; }
  .demo-intro-bar > span:last-child { display: none; }
  .ait-demo { min-height: 560px; }
  .ait-shell { height: 512px; min-height: 512px; }
  .ait-workspace { display: none; }
  .ait-topbar { height: 37px; }
  .ait-demo-label { font-size: 8px; }
  .ait-session-tab { min-width: 95px; }
  .ait-local-tab, .ait-lang { display: none !important; }
  .ait-topbar > button { padding-inline: 5px; }
  .ait-terminal-layout { position: relative; }
  .ait-sftp-drawer { position: absolute; z-index: 2; top: 0; right: 0; bottom: 0; width: min(75%,310px); max-width: none; box-shadow: -12px 0 25px #0008; }
  .ait-sftp-full { margin: 0 6px 6px; }
  .ait-workspace-header { min-height: 53px; padding: 7px; }
  .ait-workspace-header h3 { font-size: 14px; }
  .ait-workspace-header > div:not(.ait-header-icon) > span { font-size: 8px; }
  .ait-workspace-header > button { font-size: 0; }
  .ait-workspace-header > button svg { width: 14px; height: 14px; }
  .ait-content-scroll { padding: 8px; }
  .ait-care-hero { min-height: 105px; padding: 10px; }
  .ait-care-hero img { width: 65px; height: 80px; }
  .ait-care-hero h4 { font-size: 15px; }
  .ait-care-hero p { font-size: 9px; }
  .ait-care-hero button { font-size: 8px; }
  .ait-metric-grid > div { min-height: 82px; padding: 9px; }
  .ait-metric-grid strong { margin-top: 9px; font-size: 19px; }
  .ait-metric-grid > div > span { font-size: 7px; }
  .ait-metric-grid p { font-size: 8px; }
  .ait-db-layout { grid-template-columns: 1fr; }
  .ait-db-tree { flex-direction: row; overflow-x: auto; }
  .ait-db-tree > strong { display: none; }
  .ait-db-tree > button { flex: none; }
  .ait-db-tree .ait-search { min-width: 140px; }
  .ait-panel-head .ait-search { width: 150px; }
  .ait-container-row { gap: 5px; }
  .ait-container-row small { font-size: 8px; }
  .ait-filter-row { flex-wrap: wrap; }
  .ait-filter-row .ait-search { flex-basis: 100%; max-width: none; }
}
@media (max-width: 420px) {
  .ait-terminal-output { padding: 13px 9px; font-size: 9px; }
  .ait-terminal-form { padding-inline: 9px; }
  .ait-terminal-form label, .ait-terminal-form input { font-size: 8px; }
  .ait-file-row { grid-template-columns: minmax(0,1fr) 45px 40px; }
  .ait-file-row small { font-size: 7px; }
  .ait-metric-grid.ait-three { grid-template-columns: 1fr 1fr; }
  .ait-metric-grid.ait-three > div:last-child { grid-column: 1 / -1; }
  .ait-panel-intro h4 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .ait-demo * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
