.narda-browser-host,
.narda-conversation-host {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}
.narda-browser {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #fff;
    color: #293342;
    font-family: var(--sans, Arial, sans-serif);
    font-size: 13px;
}
.nb-tabs {
    display: flex;
    align-items: end;
    flex: 0 0 40px;
    min-width: 0;
    gap: 6px;
    padding: 6px 9px 0;
    background: #dce3ed;
}
.nb-tabs.nb-tabs-embedded {
    height: 34px;
    padding: 0;
    background: transparent;
}
.nb-tab-items {
    display: flex;
    align-items: end;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}
.nb-tab {
    display: flex;
    align-items: center;
    flex: 0 1 210px;
    min-width: 115px;
    max-width: 220px;
    height: 34px;
    margin-right: 4px;
    padding: 0 6px 0 9px;
    border-radius: 10px 10px 0 0;
    color: #526070;
}
.nb-tab.is-active {
    background: #f9fbff;
    color: #1a355c;
}
.nb-tab-select {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 12px;
    text-align: left;
}
.nb-favicon {
    display: grid;
    place-items: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: #244f83;
    color: #fff;
    font-weight: 800;
    font-size: 11px;
}
.nb-tab-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-tab-close,
.nb-new-tab {
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-size: 19px;
    line-height: 1;
}
.nb-tab-close { width: 24px; height: 24px; margin-left: 7px; }
.nb-new-tab { width: 30px; height: 30px; margin-bottom: 2px; }
.nb-tab-close:hover,
.nb-new-tab:hover,
.nb-icon:hover { background: #e1e7f0; }
.nb-toolbar {
    display: flex;
    align-items: center;
    flex: 0 0 49px;
    gap: 4px;
    min-width: 0;
    margin: 0;
    padding: 7px 10px;
    border-bottom: 1px solid #dde4ed;
    background: #f9fbff;
}
.nb-icon {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #43536a;
    font-size: 21px;
    line-height: 1;
}
.nb-icon:disabled,
.nb-tab-close:disabled,
.nb-new-tab:disabled { opacity: .35; cursor: not-allowed; }
.nb-address-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 8px;
    height: 33px;
    margin: 0 1px 0 5px;
    padding: 0 11px;
    border: 1px solid transparent;
    border-radius: 20px;
    background: #eaf0f8;
}
.nb-address-wrap:focus-within { border-color: #5783c4; background: #fff; box-shadow: 0 0 0 2px #e0eaf9; }
.nb-lock { color: #5c6f86; font-size: 13px; }
.nb-address {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: #354861;
    font-family: Arial, sans-serif;
    font-size: 12px;
    text-overflow: ellipsis;
}
.nb-status-line {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    justify-content: space-between;
    gap: 8px;
    min-height: 29px;
    padding: 5px 14px;
    border-bottom: 1px solid #e6edf4;
    background: #fff;
    color: #637389;
    font-size: 11px;
}
.nb-status { display: flex; align-items: center; gap: 7px; min-width: 0; overflow-wrap: anywhere; }
.nb-status::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #2b956c; }
.nb-status-line[data-state="loading"] .nb-status::before,
.nb-status-line[data-state="working"] .nb-status::before { background: #487ace; animation: nb-pulse 1.2s ease-in-out infinite; }
.nb-status-line[data-state="error"] { background: #fff6f5; color: #a5352b; }
.nb-status-line[data-state="error"] .nb-status::before { background: #c65243; }
.nb-status-line[data-state="review"] { background: #fffaf0; color: #92661a; }
.nb-status-line[data-state="review"] .nb-status::before { background: #cb982a; }
.nb-retry { flex-shrink: 0; padding: 3px 8px; border: 1px solid #d5a8a2; border-radius: 5px; background: #fff; color: #963a31; font-size: 11px; }
.nb-frames { position: relative; flex: 1 1 0; min-width: 0; min-height: 0; overflow: hidden; background: #f6f8fc; }
.nb-frame { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; border: 0; background: #fff; }
.nb-review {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex: 0 0 auto;
    padding: 13px 15px;
    border-bottom: 1px solid #e6cc90;
    background: #fff7e6;
    color: #614a1e;
}
.nb-review-copy { min-width: 0; }
.nb-review-copy strong { font-size: 13px; }
.nb-review-copy p { margin: 5px 0 0; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.nb-review-controls { display: flex; gap: 7px; flex-shrink: 0; }
.nb-review-cancel,
.nb-review-confirm { padding: 7px 10px; border: 1px solid #d4c39d; border-radius: 6px; background: #fff; color: #66532d; font-size: 12px; white-space: nowrap; }
.nb-review-confirm { border-color: #275dac; background: #275dac; color: #fff; }
.narda-browser button:focus-visible { outline: 2px solid #316dc9; outline-offset: -2px; }
@keyframes nb-pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .nb-status::before { animation: none !important; } }
@media (max-width: 900px) {
    .nb-toolbar { padding-inline: 6px; gap: 1px; }
    .nb-icon { flex-basis: 27px; width: 27px; }
    .nb-review { align-items: flex-start; flex-wrap: wrap; }
    .nb-review-controls { margin-left: auto; }
}
