/* Sail QA - brand: E:\Sail Brand Package (Inter, Sea/Sky/Land palette, INGAGE Gold as a sparing accent) */
@font-face { font-family: 'Inter'; font-weight: 300; font-display: swap; src: url('brand/fonts/Inter-300.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('brand/fonts/Inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('brand/fonts/Inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('brand/fonts/Inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('brand/fonts/Inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 800; font-display: swap; src: url('brand/fonts/Inter-800.woff2') format('woff2'); }

:root {
    --sea-sail-navy: #013A63; --sea-yale-blue: #01497C; --sea-dusk-blue: #014F86; --sea-rich-cerulean: #2A6F97;
    --sea-cerulean: #2C7DA0; --sea-blue-green: #468FAF; --sea-pacific-blue: #61A5C2; --sea-surf: #89C2D9; --sea-foam: #E0F0F6;
    --land-shell: #F6EFE2; --land-sand: #EADFCB; --land-umber: #7A5E3A;
    --sky-cloud: #EEF2F5; --sky-mist: #DCE3E8; --sky-haze: #C2CDD6; --sky-overcast: #A0AEB9; --sky-steel: #788896;
    --sky-slate: #5B6A77; --sky-storm: #3E4B56; --sky-graphite: #27333D;
    --ingage-gold: #FFC62F; --ok: #198754; --warn: #E0A800; --danger: #DC3545;
    --shadow-sm: 0 1px 2px rgba(1,58,99,.06); --shadow-md: 0 2px 10px rgba(1,58,99,.08); --shadow-lg: 0 12px 28px rgba(1,58,99,.14);
    --font-mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;
}

html, body { font-family: 'Inter', system-ui, sans-serif; color: var(--sky-graphite); background: var(--sky-cloud); }
.mud-button-root { text-transform: none !important; letter-spacing: 0 !important; font-weight: 600 !important; }

/* ---------- App bar ---------- */
.qa-appbar { border-bottom: 1px solid var(--sky-mist); }
.qa-appbar-title { font-weight: 600; font-size: 1rem; color: var(--sky-slate); }
.qa-running-chip { max-width: 420px; }

/* ---------- Drawer ---------- */
.qa-drawer { background: linear-gradient(180deg, #013A63 0%, #01325A 55%, #0B1620 100%) !important; display: flex; flex-direction: column; }
.qa-drawer .mud-drawer-content { display: flex; flex-direction: column; height: 100%; }
.qa-brand { display: block; padding: 22px 24px 18px; text-decoration: none; }

/* Lockup: Sail logo + white product label */
.qa-lockup { display: inline-flex; align-items: center; gap: calc(var(--lockup-h) * .38); height: var(--lockup-h); }
.qa-lockup img { height: 100%; display: block; }
.qa-lockup-divider { width: 1px; align-self: stretch; margin: calc(var(--lockup-h) * .12) 0; background: rgba(255,255,255,.35); }
.qa-lockup-label { color: #fff; font-weight: 300; font-size: calc(var(--lockup-h) * .72); line-height: 1; letter-spacing: .01em; padding-bottom: calc(var(--lockup-h) * .06); }
.qa-nav { flex: 1; overflow-y: auto; padding: 0 10px; }
.qa-nav .mud-nav-link { border-radius: 8px; margin: 1px 0; color: var(--sea-foam); font-weight: 500; padding: 8px 12px; }
.qa-nav .mud-nav-link:hover { background: rgba(255,255,255,.07); }
.qa-nav .mud-nav-link.active { background: rgba(137,194,217,.18) !important; color: #fff !important; box-shadow: inset 3px 0 0 var(--ingage-gold); }
.qa-nav .mud-nav-link.active .mud-nav-link-icon { color: var(--ingage-gold) !important; }
.qa-nav-section { color: var(--sea-surf); opacity: .75; font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; padding: 18px 14px 6px; }
.qa-nav-planned { color: var(--sky-overcast); font-size: .85rem; padding: 6px 14px 6px 50px; }
.qa-drawer-foot { display: flex; align-items: center; gap: 10px; padding: 14px 22px; color: var(--sky-overcast); font-size: .72rem; border-top: 1px solid rgba(255,255,255,.08); }
.qa-drawer-foot img { height: 18px; background: #fff; padding: 4px 8px; border-radius: 6px; }

/* ---------- Page ---------- */
.qa-page { max-width: 1320px; margin: 0 auto; padding: 28px 32px 48px; }
.qa-page-header { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.qa-page-header h1 { font-size: 1.65rem; font-weight: 700; color: var(--sea-sail-navy); margin: 0; letter-spacing: -.01em; }
.qa-page-header .qa-sub { color: var(--sky-slate); margin-top: 4px; }
.qa-page-header .qa-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }

.qa-card { background: #fff; border: 1px solid var(--sky-mist); border-radius: 12px; box-shadow: var(--shadow-sm); padding: 20px 22px; }
.qa-card + .qa-card { margin-top: 0; }
.qa-card-title { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-steel); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.qa-card-title .qa-card-action { margin-left: auto; text-transform: none; letter-spacing: 0; }
.qa-grid { display: grid; gap: 18px; }
.qa-grid-2 { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }
.qa-grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.qa-grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* Hero: the installed release */
.qa-hero { background: radial-gradient(120% 140% at 100% 0%, #2A6F97 0%, #01497C 38%, #013A63 70%); color: #fff; border-radius: 14px; padding: 26px 28px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.qa-hero::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 300px; height: 300px; background: url('brand/logos/sail-mark-white.svg') no-repeat center / contain; opacity: .06; }
.qa-hero .qa-eyebrow { color: var(--sea-surf); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.qa-hero .qa-release { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 2px; }
.qa-hero .qa-meta { color: var(--sea-foam); opacity: .85; font-size: .88rem; }
.qa-hero .qa-hero-stats { display: flex; gap: 28px; margin-top: 18px; flex-wrap: wrap; }
.qa-hero .qa-stat-value { font-size: 1.35rem; font-weight: 700; }
.qa-hero .qa-stat-label { font-size: .75rem; color: var(--sea-surf); }
.qa-hero .mud-button-root.mud-button-outlined { border-color: rgba(255,255,255,.5); color: #fff; }

/* Status dots + rows */
.qa-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.qa-dot.ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(25,135,84,.15); }
.qa-dot.warn { background: var(--warn); box-shadow: 0 0 0 3px rgba(224,168,0,.18); }
.qa-dot.bad { background: var(--danger); box-shadow: 0 0 0 3px rgba(220,53,69,.15); }
.qa-dot.idle { background: var(--sky-overcast); }
.qa-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--sky-cloud); font-size: .88rem; }
.qa-row:last-child { border-bottom: none; }
.qa-row .qa-row-detail { margin-left: auto; color: var(--sky-steel); font-size: .8rem; font-variant-numeric: tabular-nums; flex: none; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.qa-muted { color: var(--sky-slate); }
.qa-small { font-size: .8rem; }
.qa-mono { font-family: var(--font-mono); font-size: .82rem; }

/* App tiles */
.qa-tile { background: #fff; border: 1px solid var(--sky-mist); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease; }
.qa-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); border-color: var(--sea-surf); }
.qa-tile-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--sea-foam); color: var(--sea-sail-navy); display: grid; place-items: center; }
.qa-tile-name { font-weight: 700; color: var(--sea-sail-navy); font-size: 1rem; }
.qa-tile-detail { color: var(--sky-slate); font-size: .82rem; flex: 1; }

/* Product cards (home) */
.qa-product { border-radius: 14px; overflow: hidden; border: 1px solid var(--sky-mist); background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.qa-product-band { background: linear-gradient(135deg, #013A63, #2A6F97); padding: 26px 24px; min-height: 96px; display: flex; align-items: center; }
.qa-product.planned .qa-product-band { background: linear-gradient(135deg, #3E4B56, #788896); }
.qa-product-body { padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

/* Logs */
.qa-log { background: #0B1620; color: #DCE3E8; font-family: var(--font-mono); font-size: .78rem; line-height: 1.5; border-radius: 10px; padding: 14px 16px; max-height: 560px; overflow: auto; white-space: pre-wrap; word-break: break-word; }
.qa-log .err { color: #ff8a8a; }
.qa-log .step { color: var(--ingage-gold); font-weight: 600; }
.qa-log .ok { color: #7ee2a8; }

/* Claude feed */
.qa-feed { display: flex; flex-direction: column; gap: 6px; max-height: 420px; overflow: auto; }
.qa-feed-item { font-size: .82rem; padding: 6px 10px; border-radius: 8px; background: var(--sky-cloud); }
.qa-feed-item.tool { font-family: var(--font-mono); font-size: .76rem; color: var(--sky-slate); background: transparent; border-left: 2px solid var(--sea-surf); border-radius: 0; }

/* Markdown output */
.qa-md { line-height: 1.6; }
.qa-md h1, .qa-md h2, .qa-md h3 { color: var(--sea-sail-navy); font-weight: 700; margin: 1.1em 0 .45em; }
.qa-md h1 { font-size: 1.4rem; } .qa-md h2 { font-size: 1.15rem; } .qa-md h3 { font-size: 1rem; }
.qa-md p, .qa-md ul, .qa-md ol { margin: .5em 0; }
.qa-md ul, .qa-md ol { padding-left: 1.4em; }
.qa-md table { border-collapse: collapse; margin: .8em 0; font-size: .86rem; width: 100%; }
.qa-md th, .qa-md td { border: 1px solid var(--sky-mist); padding: 6px 10px; text-align: left; vertical-align: top; }
.qa-md th { background: var(--sky-cloud); font-weight: 600; }
.qa-md code { font-family: var(--font-mono); background: var(--sky-cloud); padding: 1px 5px; border-radius: 4px; font-size: .84em; }
.qa-md pre { background: #0B1620; color: #DCE3E8; padding: 12px 14px; border-radius: 8px; overflow: auto; }
.qa-md pre code { background: none; padding: 0; color: inherit; }
.qa-md a { color: var(--sea-cerulean); }

/* Gallery */
.qa-shot { background: #fff; border: 1px solid var(--sky-mist); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.qa-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--sky-cloud); cursor: zoom-in; display: block; }
.qa-shot-body { padding: 10px 12px; display: flex; align-items: center; gap: 6px; }
.qa-shot.approved { border-color: var(--ok); }
.qa-shot.rejected { opacity: .55; }

/* Test data catalog rows */
.qa-td-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--sky-cloud); }
.qa-td-row:last-child { border-bottom: none; }
.qa-td-name { font-weight: 700; color: var(--sea-sail-navy); }
.qa-td-fields { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }
.qa-td-field { display: inline-flex; align-items: center; gap: 4px; background: var(--sky-cloud); border-radius: 8px; padding: 2px 4px 2px 10px; font-size: .84rem; }
.qa-td-label { color: var(--sky-steel); font-size: .74rem; }
.qa-td-value { font-family: var(--font-mono); font-size: .82rem; color: var(--sky-graphite); }
.qa-td-value.multi { font-family: inherit; white-space: pre-wrap; padding: 4px 6px 4px 0; }
.qa-tabs .mud-tabs-tabbar { background: transparent; margin-bottom: 14px; }

/* Flyout panels (right-hand drawers): light surface - the theme's drawer colours are for the navy sidebar */
.qa-flyout, .qa-flyout .mud-drawer-content { background: #fff !important; color: var(--sky-graphite) !important; }
.qa-flyout .mud-icon-button { color: var(--sky-slate); }

/* Docs: workflow steps + board */
.qa-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.qa-step { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--sky-mist); background: #fff; }
.qa-step.claude { background: linear-gradient(135deg, #F6EFE2, #FBF7EF); border-color: #EADFCB; }
.qa-step-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .8rem; flex: none; background: var(--sea-sail-navy); color: #fff; }
.qa-step.claude .qa-step-n { background: var(--land-umber); }
.qa-step.bookstack .qa-step-n { background: var(--sky-slate); }
.qa-step-title { font-weight: 700; color: var(--sea-sail-navy); }
.qa-step-where { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-steel); margin-top: 4px; }
.qa-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: start; }
.qa-board-col { background: #fff; border: 1px solid var(--sky-mist); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-height: 120px; }
.qa-board-head { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-steel); padding: 4px 6px; display: flex; justify-content: space-between; }
.qa-doc-card { border: 1px solid var(--sky-mist); border-radius: 10px; padding: 10px 12px; cursor: pointer; background: var(--sky-cloud); }
.qa-doc-card:hover { border-color: var(--sea-surf); background: var(--sea-foam); }
.qa-doc-preview img { border: 1px solid var(--sky-mist); border-radius: 8px; margin: 8px 0; }
.qa-missing-img { border: 1px dashed var(--danger); color: var(--danger); border-radius: 8px; padding: 12px; font-size: .82rem; margin: 8px 0; }
@media (max-width: 1100px) { .qa-steps { grid-template-columns: 1fr 1fr; } .qa-board { grid-template-columns: 1fr 1fr; } }

/* Gallery: app rail + groups */
.qa-gallery { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }
.qa-gallery-rail { position: sticky; top: 76px; background: #fff; border: 1px solid var(--sky-mist); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.qa-rail-title { font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--sky-steel); padding: 10px 10px 4px; }
.qa-rail-item { display: flex; align-items: center; gap: 10px; border: none; background: none; font: inherit; font-size: .88rem; color: var(--sky-graphite); padding: 7px 10px; border-radius: 8px; cursor: pointer; text-align: left; }
.qa-rail-item span { flex: 1; }
.qa-rail-item b { font-weight: 600; font-size: .76rem; color: var(--sky-steel); }
.qa-rail-item .mud-icon-root { color: var(--sea-cerulean); }
.qa-rail-item:hover:not(:disabled) { background: var(--sea-foam); }
.qa-rail-item.active { background: var(--sea-sail-navy); color: #fff; }
.qa-rail-item.active .mud-icon-root, .qa-rail-item.active b { color: var(--ingage-gold); }
.qa-rail-item:disabled { opacity: .45; cursor: default; }
.qa-gallery-group { display: flex; align-items: center; gap: 8px; margin: 18px 0 10px; font-weight: 700; color: var(--sea-sail-navy); }
.qa-gallery-group .mud-icon-root { color: var(--sea-cerulean); }
.qa-shot { cursor: pointer; transition: box-shadow .15s, transform .15s; }
.qa-shot:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
@media (max-width: 900px) { .qa-gallery { grid-template-columns: 1fr; } .qa-gallery-rail { position: static; } }

/* Tickets: list + detail */
.qa-ticket-layout { display: grid; grid-template-columns: minmax(340px, 5fr) 7fr; gap: 18px; align-items: start; }
.qa-ticket-detail { position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow-y: auto; padding-bottom: 8px; }
.qa-ticket-row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; cursor: pointer; border-left: 3px solid transparent; border-bottom: 1px solid var(--sky-cloud); }
.qa-ticket-row:hover { background: var(--sea-foam); }
.qa-ticket-row.selected { background: var(--sea-foam); border-left-color: var(--sea-sail-navy); }
.qa-ticket-title { font-weight: 600; font-size: .9rem; color: var(--sky-graphite); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.qa-devops-html img { max-width: 100%; height: auto; }
.qa-devops-html div { margin: .2em 0; }
@media (max-width: 1100px) { .qa-ticket-layout { grid-template-columns: 1fr; } .qa-ticket-detail { position: static; max-height: none; } }

/* Claude Code hint: prompts to copy into a conversation */
.qa-hint { background: linear-gradient(135deg, #F6EFE2, #FBF7EF); border: 1px solid #EADFCB; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.qa-hint-head { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--land-umber); }
.qa-hint-text { font-size: .84rem; color: var(--sky-storm); }
.qa-prompt { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: #fff; border: 1px solid #EADFCB; border-radius: 8px; padding: 8px 12px; font: inherit; font-size: .84rem; color: var(--sky-graphite); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.qa-prompt span { flex: 1; font-style: italic; }
.qa-prompt .mud-icon-root { color: var(--land-clay, #9C7E52); }
.qa-prompt:hover { border-color: var(--sea-cerulean); box-shadow: var(--shadow-sm); }

.qa-empty { text-align: center; padding: 48px 20px; color: var(--sky-slate); }
.qa-empty .mud-icon-root { font-size: 3rem; color: var(--sky-haze); }
.qa-empty h3 { color: var(--sea-sail-navy); font-weight: 700; margin: 10px 0 4px; }

.qa-step-list { list-style: none; padding: 0; margin: 0; }
.qa-step-list li { display: flex; gap: 10px; align-items: center; padding: 5px 0; font-size: .88rem; }

@media (max-width: 960px) { .qa-page { padding: 18px 16px 40px; } .qa-grid-2 { grid-template-columns: 1fr; } }

/* Release notes */
.qa-steps.qa-steps-4 { grid-template-columns: repeat(4, 1fr); }
.qa-rn-tile { text-decoration: none; color: inherit; gap: 6px; }
.qa-rn-chips, .qa-rn-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.qa-rn-meta { margin-top: 8px; }
.qa-rn-chip { display: inline-flex; align-items: center; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--sky-cloud); color: var(--sky-slate); text-decoration: none; white-space: nowrap; }
.qa-rn-chip.ok { background: #E3F4EA; color: var(--ok); }
.qa-rn-chip.warn { background: #FFF6DB; color: #8A6A00; }
.qa-rn-chip.tag { background: var(--land-shell); color: var(--land-umber); }
a.qa-rn-chip:hover { background: var(--sea-foam); color: var(--sea-sail-navy); }
.qa-rn-layout { display: grid; grid-template-columns: minmax(300px, 4fr) 8fr; gap: 18px; align-items: start; }
.qa-rn-layout.preview { grid-template-columns: 7fr minmax(320px, 5fr); }
.qa-rn-layout.send { grid-template-columns: minmax(300px, 5fr) 7fr; }
.qa-rn-sprint { position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow-y: auto; }
.qa-rn-wi { display: flex; gap: 8px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--sky-cloud); }
.qa-rn-wi:last-child { border-bottom: none; }
.qa-rn-wi-title { font-size: .86rem; font-weight: 500; line-height: 1.3; }
.qa-rn-section { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sea-sail-navy); margin: 18px 0 8px; display: flex; align-items: center; gap: 8px; }
.qa-rn-section::after { content: ""; flex: 1; height: 1px; background: var(--sky-mist); }
.qa-rn-section.out { color: var(--sky-steel); }
.qa-rn-item { padding: 12px 14px; margin-bottom: 10px; }
.qa-rn-item.out { background: var(--sky-cloud); box-shadow: none; }
.qa-rn-item.out .qa-rn-item-title { color: var(--sky-slate); font-weight: 500; }
.qa-rn-item-head { display: flex; align-items: center; gap: 6px; }
.qa-rn-item-title { flex: 1; font-weight: 700; color: var(--sea-sail-navy); cursor: pointer; }
.qa-rn-item-title:hover { text-decoration: underline; }
.qa-rn-item-actions { display: flex; align-items: center; flex: none; }
.qa-rn-body { font-size: .86rem; margin-top: 4px; }
.qa-rn-body ul { margin: .2em 0; }
.qa-rn-reason { margin-top: 8px; font-size: .8rem; color: var(--land-umber); background: var(--land-shell); border-radius: 8px; padding: 6px 10px; }
.qa-rn-reason::before { content: "Why: "; font-weight: 700; }
.qa-rn-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.qa-rn-thumb { position: relative; width: 120px; height: 76px; border: 1px solid var(--sky-mist); border-radius: 8px; overflow: hidden; background: var(--sky-cloud); }
.qa-rn-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.qa-rn-thumb .mud-icon-button { position: absolute; top: 2px; right: 2px; background: rgba(255,255,255,.85); padding: 2px; }
.qa-rn-highlight { background: #FFFBEB; border: 1px solid #F5E3A3; border-radius: 10px; padding: 6px 12px 10px; display: flex; flex-direction: column; gap: 8px; }
.qa-rn-frame-card { padding: 0; overflow: hidden; }
.qa-rn-frame { width: 100%; height: calc(100vh - 200px); min-height: 640px; border: 0; display: block; background: #fff; }
.qa-rn-recipients { max-height: 460px; overflow-y: auto; border-top: 1px solid var(--sky-cloud); padding-top: 6px; }
.qa-rn-rcpt-loc { font-weight: 600; font-size: .84rem; color: var(--sea-sail-navy); margin-top: 8px; }
.qa-rn-rcpt { font-size: .8rem; padding-left: 12px; }
.qa-rn-loc { display: flex; gap: 14px; align-items: flex-start; padding: 10px 18px; border-bottom: 1px solid var(--sky-cloud); cursor: pointer; }
.qa-rn-loc:hover { background: var(--sea-foam); }
.qa-rn-loc:last-child { border-bottom: none; }
.qa-rn-loc.former { opacity: .6; }
.qa-rn-loc-main { flex: 1; min-width: 0; }
.qa-rn-loc-name { font-weight: 700; color: var(--sea-sail-navy); }
.qa-rn-loc-side { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; flex: none; max-width: 40%; }
.qa-rn-server { font-size: .76rem; font-weight: 700; color: var(--sea-cerulean); min-width: 64px; text-align: right; }
.qa-rn-people { display: flex; flex-wrap: wrap; gap: 2px 16px; margin-top: 2px; }
.qa-rn-person { font-size: .8rem; }
.qa-rn-person.off { text-decoration: line-through; opacity: .6; }
.qa-rn-review { font-size: .8rem; color: #8A6A00; margin-top: 3px; }
.qa-rn-contact-edit { display: flex; gap: 8px; align-items: center; }
.qa-rn-contact-edit.inactive { opacity: .65; }
@media (max-width: 1100px) { .qa-rn-layout, .qa-rn-layout.preview, .qa-rn-layout.send { grid-template-columns: 1fr; } .qa-rn-sprint { position: static; max-height: 420px; } .qa-steps.qa-steps-4 { grid-template-columns: 1fr 1fr; } }

/* ---------- Sign in ---------- */
.qa-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--sky-cloud); }
.qa-login-card { width: 100%; max-width: 400px; background: #fff; border: 1px solid var(--sky-mist); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.qa-login-brand { background: linear-gradient(135deg, #013A63 0%, #01325A 60%, #0B1620 100%); padding: 26px 28px; }
.qa-login-body { padding: 26px 28px 30px; }
.qa-login-body h1 { font-size: 1.35rem; font-weight: 700; color: var(--sea-sail-navy); margin: 0 0 4px; }
.qa-login-hint { color: var(--sky-slate); font-size: .88rem; margin: 0 0 20px; }
.qa-login-form { display: flex; flex-direction: column; }
.qa-login-form label { font-size: .8rem; font-weight: 600; color: var(--sky-storm); margin-bottom: 6px; }
.qa-login-form input { font: inherit; padding: 10px 12px; border: 1px solid var(--sky-haze); border-radius: 8px; margin-bottom: 16px; outline: none; }
.qa-login-form input:focus { border-color: var(--sea-cerulean); box-shadow: 0 0 0 3px rgba(44,125,160,.18); }
.qa-login-form button { font: inherit; font-weight: 600; padding: 11px; border: 0; border-radius: 8px; background: var(--sea-sail-navy); color: #fff; cursor: pointer; margin-top: 4px; }
.qa-login-form button:hover { background: var(--sea-yale-blue); }
.qa-login-error { background: #FDECEE; color: #8A1C27; border-radius: 8px; padding: 10px 12px; font-size: .86rem; margin-bottom: 14px; }

/* ---------- Signed-in user ---------- */
.qa-user { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.qa-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--sea-foam); color: var(--sea-sail-navy); font-weight: 700; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; }
