.guide-pilot__switch {
    margin: 0 0 14px;
    font: 13px/1.5 "Segoe UI", Arial, sans-serif;
    text-align: right;
}

.guide-pilot__switch a { color: #135b9f; text-decoration: underline; }

.guide-pilot {
    --guide-ink: #192b3d;
    --guide-blue: #1c5da0;
    color: var(--guide-ink);
    font-family: "Segoe UI", Arial, sans-serif;
}

.guide-pilot__intro {
    margin-bottom: 30px;
    padding: 28px 32px;
    border: 1px solid #d7e5f0;
    border-left: 5px solid var(--guide-blue);
    border-radius: 8px;
    background: #f4f8fc;
}

.guide-pilot__eyebrow {
    color: var(--guide-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.guide-pilot__intro h2 {
    margin: 9px 0 10px;
    color: #142a3d;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
}

.guide-pilot__intro p {
    max-width: 900px;
    margin: 0;
    line-height: 1.65;
}

.guide-pilot__intro a { color: #135b9f; text-decoration: underline; }
.guide-pilot__steps { list-style: none; margin: 0; padding: 0; }

.guide-pilot__step {
    display: grid;
    grid-template-columns: minmax(230px, 32%) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    margin: 0 0 26px;
    padding: 26px;
    border: 1px solid #dde5eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(28, 51, 76, .07);
}

.guide-pilot__number {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--guide-blue);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.guide-pilot__copy h3 { margin: 17px 0 10px; color: #1a3348; font-size: 21px; line-height: 1.3; }
.guide-pilot__copy p { margin: 0; line-height: 1.65; }
.guide-pilot__data { margin: 22px 0 0; border-top: 1px solid #e0e8ef; }
.guide-pilot__data div { padding: 9px 0; border-bottom: 1px solid #e0e8ef; }
.guide-pilot__data dt { color: #526779; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.guide-pilot__data dd { margin: 3px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.guide-pilot__visual { min-width: 0; overflow-x: auto; }
.guide-pilot__scroll-hint { display: none; }

.tb-screen,
.tb-screen * { box-sizing: border-box; }

.tb-screen {
    position: relative;
    min-height: 290px;
    overflow: hidden;
    border: 3px solid #215ed0;
    border-radius: 7px 7px 2px 2px;
    background: #ecebdc;
    color: #151515;
    font: 11px/1.35 Tahoma, "Segoe UI", sans-serif;
    box-shadow: 0 7px 18px rgba(22, 46, 77, .18);
}

.tb-titlebar {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 25px;
    padding: 3px 5px;
    background: linear-gradient(#3085ed, #0750bd 54%, #0b66d8);
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 1px #154080;
}

.tb-titlebar__icon { display: grid; width: 16px; height: 16px; place-items: center; border-radius: 3px; background: #f6f6ed; color: #1e5bb2; text-shadow: none; }
.tb-titlebar__close { display: grid; width: 19px; height: 19px; margin-left: auto; place-items: center; border: 1px solid #fff; border-radius: 4px; background: #d85138; font-size: 15px; line-height: 1; }
.tb-menubar, .tb-toolbar { display: flex; gap: 13px; padding: 6px 9px; border-bottom: 1px solid #b9b8aa; background: #f3f1e7; }
.tb-menubar__active { background: #c9dcf6; }
.tb-toolbar { gap: 18px; padding: 8px 12px; }
.tb-app { display: grid; grid-template-columns: 26% 1fr; min-height: 210px; }
.tb-app__sidebar, .tb-settings__nav { display: flex; flex-direction: column; gap: 9px; padding: 12px 9px; border-right: 1px solid #b9b8aa; background: #f8f7ed; overflow-wrap: anywhere; }
.tb-app__sidebar strong, .tb-settings__nav strong { color: #164d91; }
.tb-app__empty { padding: 22px; font-size: 18px; font-weight: 700; }

.tb-dropdown {
    position: absolute;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-width: 195px;
    padding: 4px;
    border: 1px solid #929caa;
    background: #fff;
    box-shadow: 3px 4px 6px rgba(0, 0, 0, .22);
}
.tb-dropdown span, .tb-dropdown strong { padding: 5px 8px; font-weight: 400; }
.tb-dropdown__divider { border-top: 1px solid #d6d6d6; }
.tb-dropdown .tb-selected { background: #2669be; color: #fff; }
.tb-dropdown--menu { top: 50px; left: 32%; }
.tb-dropdown--account { bottom: 42px; left: 16px; }
.tb-account-action { position: absolute; bottom: 10px; left: 9px; padding: 5px 8px; border: 1px solid #7a92ab; border-radius: 3px; background: #f3f3ed; }

.tb-settings { display: grid; grid-template-columns: 27% 1fr; min-height: 250px; }
.tb-settings__content { padding: 12px 16px; min-width: 0; }
.tb-settings__content > strong { display: block; padding: 6px 10px; background: #3569bc; color: #fff; font-size: 13px; }
.tb-settings__content p { margin: 12px 0; }
.tb-settings__nav-active { padding: 3px 4px; background: #c6d8f6; }
.tb-settings__section { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; padding: 12px; border: 1px solid #d4d2c1; overflow-wrap: anywhere; }

.tb-identity { display: grid; gap: 7px; margin: 22px 22px 14px; padding: 16px; border: 1px solid #d5d2bc; border-radius: 3px; }
.tb-field { display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 10px; align-items: center; min-width: 0; }
.tb-field__label { text-align: right; }
.tb-field__value, .tb-value, .tb-select { display: block; padding: 5px 7px; border: 1px solid #8fa5b7; background: #fff; overflow-wrap: anywhere; }
.tb-check { display: inline-flex; gap: 5px; align-items: center; }
.tb-identity .tb-check { margin-left: 135px; }
.tb-check__box { display: inline-grid; width: 13px; height: 13px; place-items: center; border: 1px solid #7b8793; background: #fff; color: #216c3e; }
.tb-screen .tb-menubar__active,.tb-screen .tb-selected,.tb-screen .tb-settings__nav-active,.tb-screen .tb-focus,.tb-screen .tb-warning__risk,.tb-screen .tb-guide-highlight { outline: 2px solid #df2636; outline-offset: 2px; }
.tb-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 15px 18px; }
.tb-actions--split { justify-content: space-between; }
.tb-button { display: inline-block; padding: 4px 11px; border: 1px solid #7890a6; border-radius: 3px; background: linear-gradient(#fff, #e2e5e5); white-space: nowrap; }
.tb-button--primary { border-color: #3060a8; box-shadow: inset 0 0 0 1px #c4d5ee; }
.tb-search { min-height: 100px; padding: 20px 25px; font-weight: 700; }
.tb-spinner { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border: 2px dotted #526678; border-radius: 50%; vertical-align: middle; }

.tb-screen--manual .tb-identity { margin: 12px 15px; padding: 10px; }
.tb-server { margin: 10px 15px; overflow-x: auto; border: 1px solid #d5d2bc; }
.tb-server__header, .tb-server__row { display: grid; grid-template-columns: 60px 55px minmax(120px, 1.5fr) 53px 86px minmax(110px, 1fr); gap: 5px; align-items: center; min-width: 550px; padding: 5px; }
.tb-server__header { color: #65737e; font-size: 10px; }
.tb-server__row strong { text-align: right; }
.tb-server__user { display: flex; align-items: center; gap: 10px; min-width: 550px; padding: 8px 12px; }
.tb-server__user strong { min-width: 210px; font-weight: 400; }
.tb-server .tb-select, .tb-server .tb-value { padding: 4px; }

.tb-warning { display: flex; gap: 16px; margin: 18px; min-height: 235px; padding: 20px; border: 1px solid #e7b1a9; border-radius: 8px; background: #792b29; color: #fff; }
.tb-warning__icon { display: grid; flex: 0 0 40px; height: 40px; place-items: center; border: 2px solid #5c3b00; border-radius: 4px; background: #ffdb21; color: #503800; font-size: 28px; font-weight: 900; }
.tb-warning__content { flex: 1; min-width: 0; }
.tb-warning__content > strong { display: block; padding-bottom: 5px; border-bottom: 1px solid #d5968f; font-size: 18px; }
.tb-warning__content p { margin: 13px 0; color: #fff; }
.tb-warning__details { display: flex; flex-direction: column; gap: 5px; overflow-wrap: anywhere; }
.tb-warning__details > span:nth-child(even) { color: #f7d058; font-size: 11px; }
.tb-warning__risk { display: flex; align-items: center; gap: 5px; border: 1px solid #a75a55; padding: 3px 5px; color: #fff; font-size: 12px; }
.tb-warning__risk input { width: 13px; height: 13px; margin: 0; accent-color: #13a994; }
.tb-warning__actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 25px; }
.tb-warning__actions .tb-button { color: #151515; }

@media (max-width: 900px) {
    .guide-pilot__step { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
    .guide-pilot__intro { padding: 20px; }
    .guide-pilot__step { padding: 16px; }
    .guide-pilot__scroll-hint { display: block; margin: 0 0 8px; color: #536a7e; font-size: 12px; }
    .tb-screen { min-width: 580px; }
}
