.st_translations {
    max-width: 1200px;
    padding: 28px;
    color: #302b40;
}
.st_translations h1 { font-size: 28px; margin: 0 0 12px; }
.st_translations > p { line-height: 1.6; color: #655d77; }
.st_translations .st_translation_filters {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 16px;
    margin: 24px 0;
}
.st_translations label { color: #514366; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.st_translations input,
.st_translations select,
.st_translations textarea {
    box-sizing: border-box;
    border: 1px solid #c9c3d8;
    border-radius: 8px;
    background: #fff;
    color: #302b40;
    padding: 12px;
    font: inherit;
    width: 100%;
}
.st_translations select { min-width: 170px; }
.st_translations input { min-width: 240px; }
.st_translations button {
    cursor: pointer;
    border: 1px solid #7a64c4;
    background: #59409b;
    color: #fff;
    border-radius: 8px;
    padding: 12px 18px;
    font: inherit;
}
.st_translations button:disabled { opacity: .45; cursor: default; }
.st_translations :is(button, input, select, textarea):focus-visible { outline: 2px solid #bda7ff; outline-offset: 2px; }
.st_translations .st_translation_edit {
    margin: 0 0 22px;
    padding: 24px;
    border: 1px solid #ded8e9;
    border-radius: 12px;
    background: #f7f5fb;
}
.st_translations h2 { color: #3f285d; margin: 0 0 8px; font-size: 18px; }
.st_translations h3 { color: #514366; margin: 0 0 8px; font-size: 14px; font-weight: 400; }
.st_translations .st_translation_meta,
.st_translations details,
.st_translations .st_translation_hint { font-size: 13px; color: #655d77; overflow-wrap: anywhere; }
.st_translations details { margin: 12px 0 18px; }
.st_translations summary { cursor: pointer; }
.st_translations .st_translation_columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.st_translations .st_translation_columns > * { min-width: 0; }
.st_translations pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 14px; line-height: 1.6; margin: 0; }
.st_translations textarea { resize: vertical; line-height: 1.6; min-height: 120px; }
.st_translations .st_translation_actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 18px; }
.st_translations .st_translation_discard { background: transparent; color: #59409b; }
.st_translations .st_translation_result { font-size: 13px; flex: 1 1 240px; line-height: 1.5; }
.st_translations .st_translation_pagination { display: flex; gap: 20px; align-items: center; }
@media(max-width: 900px) {
    .st_translations { padding: 18px; }
    .st_translations .st_translation_columns { grid-template-columns: 1fr; }
    .st_translations .st_translation_edit { padding: 18px; }
}
.st_connection {
    --st-purple: #59409b;
    --st-ink: #302b40;
    --st-muted: #706780;
    --st-line: #e6e0ee;
    box-sizing: border-box;
    max-width: 1240px;
    margin: 24px 0;
    padding: 28px;
    border: 1px solid var(--st-line);
    border-radius: 18px;
    background: #fff;
    color: var(--st-ink);
    font-size: 14px;
    line-height: 1.55;
}
.st_connection *, .st_connection *::before, .st_connection *::after { box-sizing: border-box; }
.st_connection [hidden] { display: none !important; }
.st_connection :is(h2, h3, h4, p) { margin: 0; }
.st_connection h2 { font-size: 25px; font-weight: 600; color: #3f285d; line-height: 1.3; }
.st_connection h3 { font-size: 18px; font-weight: 600; color: #443351; }
.st_connection h4 { font-size: 15px; font-weight: 600; color: #443351; overflow-wrap: anywhere; }
.st_connection p { color: var(--st-muted); }
.st_connection_header, .st_connection_section_heading, .st_connection_footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.st_connection_header p { margin-top: 8px; }
.st_connection_eyebrow { display: block; margin-bottom: 6px; color: var(--st-purple); font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.st_connection button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 42px;
    border: 1px solid var(--st-purple);
    border-radius: 9px;
    padding: 10px 16px;
    background: var(--st-purple);
    color: #fff;
    font: inherit;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
}
.st_connection button:hover { background: #48317f; }
.st_connection button:disabled { opacity: .55; cursor: default; }
.st_connection button.st_secondary, .st_connection button.st_connection_remove { color: var(--st-purple); background: #fff; border-color: #d7cce9; }
.st_connection button.st_secondary:hover, .st_connection button.st_connection_remove:hover { background: #f5f1fb; }
.st_connection :is(button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid #9875d9; outline-offset: 3px; }
.st_connection_status { margin: 18px 0; padding: 11px 14px; border-radius: 9px; background: #f5f2fb; color: #65507f; font-size: 13px; }
.st_connection_status.st_connection_error { background: #fff1ef; color: #a23f32; }
.st_connection_steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 4px 0 24px; border-bottom: 1px solid var(--st-line); }
.st_connection_steps > div { display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; align-content: start; }
.st_connection_steps > div > span { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #eee7f8; color: var(--st-purple); font-size: 12px; font-weight: 600; }
.st_connection_steps strong { padding-top: 2px; font-size: 13px; font-weight: 600; }
.st_connection_steps p { grid-column: 2; margin-top: 4px; font-size: 12px; line-height: 1.55; }
.st_connection code { font-size: 12px; color: #5d4384; overflow-wrap: anywhere; }
.st_connection_domains:empty { display: none; }
.st_connection_domains { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.st_connection_domains > div { border: 1px solid var(--st-line); border-radius: 12px; padding: 18px; background: #fcfbfe; }
.st_connection_domains p, .st_connection_domains details { margin: 10px 0; font-size: 12px; }
.st_connection_domains pre { padding: 12px; border: 1px solid var(--st-line); border-radius: 8px; white-space: pre-wrap; overflow-wrap: anywhere; background: #fff; color: #635276; font-size: 12px; }
.st_connection_domains a { display: inline-block; margin: 8px 0; color: var(--st-purple); }
.st_connection_domains button { font-size: 12px; min-height: 34px; margin-top: 6px; }
.st_connection .st_pilot { margin: 28px 0; }
.st_connection_section_heading p { margin-top: 4px; font-size: 13px; }
.st_connection_count { background: #f0eaf9; color: #634391; border-radius: 20px; padding: 5px 12px; font-size: 12px; white-space: nowrap; }
.st_connection_summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0; }
.st_connection_summary > div { display: flex; flex-direction: column; padding: 15px 18px; border: 1px solid var(--st-line); border-radius: 10px; background: #fcfbfe; }
.st_connection_summary strong { font-size: 24px; font-weight: 600; line-height: 1.3; color: #514068; }
.st_connection_summary > div:first-child strong { color: #257151; }
.st_connection_summary span { font-size: 12px; color: var(--st-muted); margin-top: 3px; }
.st_connection label { display: flex; flex-direction: column; gap: 7px; color: #514366; font-size: 12px; font-weight: 500; }
.st_connection :is(input, select, textarea) { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid #d7d0e1; border-radius: 8px; background: #fff; color: var(--st-ink); font: inherit; font-size: 14px; font-weight: 400; }
.st_connection input::placeholder { color: #9b93a6; }
.st_connection textarea { min-height: 100px; resize: vertical; }
.st_connection .st_connection_search { max-width: 420px; margin-bottom: 14px; }
.st_connection .st_pilot_table { max-height: 500px; overflow: auto; border: 1px solid var(--st-line); border-radius: 10px; }
.st_connection .st_pilot table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; line-height: 1.5; }
.st_connection .st_pilot thead th { position: sticky; top: 0; z-index: 1; background: #f4f0fa; color: #665577; text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .3px; }
.st_connection .st_pilot :is(th, td) { padding: 13px 16px; border-bottom: 1px solid #eee9f4; vertical-align: top; white-space: nowrap; }
.st_connection .st_pilot tbody th { font-weight: 500; text-align: left; color: #43334f; }
.st_connection .st_pilot tbody tr:last-child > * { border-bottom: 0; }
.st_connection .st_pilot tbody tr:hover > * { background: #fcfaff; }
.st_language_code { display: inline-block; padding: 1px 6px; margin-left: 8px; border-radius: 4px; background: #f2edf8; color: #8a779c; font-size: 10px; text-transform: uppercase; }
.st_hostname { color: #5f526d; font-size: 12px; }
.st_connection_note { display: block; white-space: normal; max-width: 300px; color: #9a6b33; font-size: 11px; line-height: 1.5; }
.st_connection_note:empty { display: none; }
.st_state { display: inline-flex; align-items: center; gap: 6px; border-radius: 20px; padding: 3px 9px; font-size: 11px; font-weight: 500; white-space: nowrap; }
.st_state::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.st_state_ready { background: #eaf6ef; color: #257151; }
.st_state_pending { background: #fff4e0; color: #92621f; }
.st_state_attention { background: #fceceb; color: #aa4237; }
.st_state_neutral { background: #f0edf4; color: #8a8196; }
.st_connection .st_pilot_form { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.st_pilot_result, .st_settings_result { color: #5b4971; font-size: 12px; line-height: 1.5; }
.st_connection .st_connection_hint { margin-top: 10px; font-size: 12px; }
.st_connection_add { padding: 24px 0; border-top: 1px solid var(--st-line); }
.st_connection_add > p { margin-top: 4px; font-size: 13px; }
.st_connection .st_connect_form { display: grid; grid-template-columns: minmax(100px, 150px) minmax(200px, 1fr) auto; align-items: end; gap: 14px; margin-top: 18px; }
.st_connect_form .st_settings_result { grid-column: 1 / -1; }
.st_connection_footer { padding: 18px 0; border-top: 1px solid var(--st-line); }
.st_connection_footer p { font-size: 12px; }
.st_connection_context { margin-top: 8px; padding: 16px 18px; border: 1px solid var(--st-line); border-radius: 10px; background: #fcfbfe; }
.st_connection summary { cursor: pointer; color: #5c4775; font-size: 13px; font-weight: 500; }
.st_connection .st_settings_form { display: grid; gap: 16px; max-width: 740px; margin-top: 20px; }
.st_settings_form > p { font-size: 12px; }
.st_settings_form > button { justify-self: start; }
@media(max-width: 950px) {
    .st_connection { padding: 20px; }
    .st_connection_steps { grid-template-columns: 1fr; }
    .st_connection .st_connect_form { grid-template-columns: 130px 1fr; }
    .st_connect_form button { justify-self: start; }
}
@media(max-width: 600px) {
    .st_connection { padding: 16px; border-radius: 12px; }
    .st_connection h2 { font-size: 22px; }
    .st_connection_summary { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .st_connection_summary > div { padding: 12px; }
    .st_connection .st_connect_form { grid-template-columns: 1fr; }
    .st_connection_header { align-items: start; }
    .st_connection .st_pilot :is(th, td) { padding: 10px 12px; }
}

/* Translation engine, reusable page guidance and prompt history. */
.st_prompt_settings { box-sizing: border-box; max-width: 1180px; padding: 28px; margin: 24px 0; color: #302b40; border: 1px solid #e3dced; border-radius: 16px; background: #fff; }
.st_prompt_settings [hidden] { display: none !important; }
.st_prompt_header, .st_prompt_history_header { display: flex; justify-content: space-between; align-items: start; gap: 24px; }
.st_prompt_eyebrow { color: #8b75b4; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 600; }
.st_prompt_settings h2 { font-size: 25px; margin: 8px 0; color: #4e3386; }
.st_prompt_settings h3 { font-size: 18px; margin: 0 0 8px; color: #4e3386; overflow-wrap: anywhere; }
.st_prompt_settings h4 { font-size: 13px; margin: 20px 0 8px; color: #65537e; }
.st_prompt_settings p { color: #776b86; font-size: 13px; line-height: 1.65; margin: 0 0 12px; }
.st_prompt_tabs { display: flex; gap: 8px; border-bottom: 1px solid #e8e1f1; margin: 26px 0; padding-bottom: 10px; }
.st_prompt_settings button, .st_prompt_settings .st_prompt_secondary { font: inherit; font-size: 13px; cursor: pointer; border: 1px solid #7151ad; border-radius: 8px; padding: 11px 16px; background: #604198; color: #fff; text-decoration: none; }
.st_prompt_settings button:disabled { opacity: .5; cursor: default; }
.st_prompt_settings .st_prompt_secondary { background: #fff; color: #604198; white-space: nowrap; }
.st_prompt_tabs button { background: transparent; color: #80728f; border-color: transparent; }
.st_prompt_tabs button[aria-selected="true"] { color: #593992; background: #f0e9fa; border-color: #e6dbf6; }
.st_prompt_grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 22px 0; }
.st_prompt_settings label { display: flex; flex-direction: column; gap: 9px; font-size: 13px; color: #514064; font-weight: 500; }
.st_prompt_settings label > span { font-weight: 400; font-size: 12px; line-height: 1.5; color: #8b7e98; }
.st_prompt_settings :is(select, textarea) { box-sizing: border-box; width: 100%; border: 1px solid #d9cfe5; border-radius: 8px; padding: 12px; font: inherit; color: #3e3051; background: #fff; }
.st_prompt_settings textarea { resize: vertical; line-height: 1.65; min-height: 100px; }
.st_prompt_settings :is(button, select, textarea, a):focus-visible { outline: 2px solid #b39bd5; outline-offset: 3px; }
.st_prompt_flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; background: #f7f4fc; border: 1px solid #e9e0f5; padding: 20px; border-radius: 12px; margin: 24px 0; }
.st_prompt_flow span { display: block; color: #b19bcf; font-size: 12px; margin-bottom: 12px; }
.st_prompt_flow strong { display: block; color: #604198; font-size: 13px; margin-bottom: 7px; }
.st_prompt_flow p { margin: 0; font-size: 12px; }
.st_prompt_settings .st_prompt_google, .st_prompt_notice { padding: 16px 18px; background: #f6f3fa; border-left: 3px solid #b69bd6; border-radius: 6px; font-size: 12px; line-height: 1.65; color: #756585; }
.st_prompt_actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.st_prompt_save_status, .st_prompt_history_status { font-size: 12px; line-height: 1.6; color: #715c8c; }
.st_prompt_rules { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e8e1f1; font-size: 13px; }
.st_prompt_rules summary, .st_prompt_card summary { cursor: pointer; color: #71539b; margin-bottom: 14px; }
.st_prompt_card, .st_prompt_empty { margin-top: 20px; padding: 24px; background: #fbf9fe; border: 1px solid #e6ddef; border-radius: 12px; }
.st_prompt_card pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 12px; line-height: 1.7; background: #fff; border: 1px solid #ece5f3; border-radius: 8px; padding: 14px; }
.st_prompt_card form { border-top: 1px solid #e5dcee; margin-top: 22px; padding-top: 20px; }
.st_prompt_meta { font-size: 12px !important; color: #8d7d9b !important; }
@media (max-width: 760px) { .st_prompt_settings { padding: 20px; } .st_prompt_header, .st_prompt_history_header { flex-direction: column; gap: 10px; } .st_prompt_grid, .st_prompt_flow { grid-template-columns: 1fr; } .st_prompt_actions { flex-wrap: wrap; } }
.st_prompt_modes { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.st_prompt_modes legend { font-size: 13px; font-weight: 500; color: #514064; margin-bottom: 14px; }
.st_prompt_settings .st_prompt_mode { position: relative; display: block; cursor: pointer; }
.st_prompt_mode input { position: absolute; top: 19px; left: 16px; accent-color: #6944a3; }
.st_prompt_mode_content { display: block; height: 100%; min-height: 164px; box-sizing: border-box; border: 1px solid #e3d9ec; border-radius: 12px; padding: 18px 16px 18px 42px; background: #fff; }
.st_prompt_mode input:checked + .st_prompt_mode_content { border-color: #8965bb; background: #f5effc; box-shadow: inset 0 0 0 1px #8965bb; }
.st_prompt_mode input:focus-visible + .st_prompt_mode_content { outline: 2px solid #b39bd5; outline-offset: 3px; }
.st_prompt_mode_content strong { display: block; font-size: 15px; color: #4f337b; margin-bottom: 7px; }
.st_prompt_mode_content em { display: block; font-size: 11px; font-style: normal; color: #9276b2; margin-bottom: 13px; }
.st_prompt_mode_content > span { font-size: 12px; font-weight: 400; color: #82728e; line-height: 1.6; }
.st_prompt_context { margin: 24px 0; max-width: 350px; }
.st_prompt_addition { margin-top: 24px; }
.st_prompt_rules pre { white-space: pre-wrap; font: inherit; font-size: 12px; line-height: 1.7; color: #796b86; padding: 18px; background: #f8f5fc; border-radius: 8px; }
@media (max-width: 900px) { .st_prompt_modes { grid-template-columns: 1fr; } .st_prompt_mode_content { min-height: auto; } }
.st_prompt_settings .st_prompt_mode input[type="radio"] { width: 18px !important; height: 18px !important; right: auto; margin: 0 !important; padding: 0 !important; }
.st_prompt_settings textarea::placeholder { color: #a093ad; opacity: 1; }

.st_prompt_settings { scroll-margin-top: 85px; }
.st_prompt_settings .st_prompt_rules input[type="radio"] { width: 18px !important; height: 18px !important; }
