@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
    color-scheme: light;
    --bg: #f4f5f7;
    --surface: rgba(255, 255, 255, .88);
    --surface-solid: #ffffff;
    --surface-raised: #f8f9fb;
    --line: rgba(18, 27, 39, .09);
    --line-strong: rgba(18, 27, 39, .16);
    --text: #171b22;
    --muted: #747b86;
    --accent: #bdf5dc;
    --accent-strong: #15845f;
    --violet: #7667d8;
    --warning: #b47a00;
    --danger: #c84f4f;
    --shadow: 0 28px 75px rgba(22, 30, 42, .11);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background:
        linear-gradient(rgba(20,29,42,.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20,29,42,.026) 1px, transparent 1px),
        var(--bg);
    background-size: 44px 44px;
    color: var(--text);
    font-family: "Manrope", "Segoe UI", sans-serif;
}

button,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.ambient {
    position: fixed;
    z-index: -1;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(130px);
    opacity: .08;
    pointer-events: none;
}

.ambient-one {
    top: -260px;
    left: 12%;
    background: var(--accent);
}

.ambient-two {
    right: -240px;
    bottom: -260px;
    background: var(--violet);
}

.topbar {
    width: min(1380px, calc(100% - 48px));
    height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.identity {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--text);
    text-decoration: none;
}

.identity-mark {
    position: relative;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    background: rgba(255,255,255,.72);
    overflow: hidden;
}

.radar-ring {
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(21, 132, 95, .32);
    border-radius: 50%;
}

.radar-ring::after {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(21, 132, 95, .24);
    border-radius: 50%;
}

.radar-sweep {
    position: absolute;
    left: 18px;
    top: 8px;
    width: 1px;
    height: 14px;
    background: var(--accent-strong);
    transform: rotate(42deg);
    transform-origin: bottom center;
}

.radar-node {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-strong);
    box-shadow: 0 0 6px rgba(21, 132, 95, .55);
}

.node-one { top: 11px; right: 10px; }
.node-two { bottom: 10px; left: 12px; }
.node-three { bottom: 8px; right: 12px; opacity: .65; }

.identity-copy {
    display: grid;
    gap: 1px;
}

.identity-copy strong {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .17em;
}

.identity-copy small {
    color: var(--muted);
    font-family: "DM Mono", monospace;
    font-size: .51rem;
    letter-spacing: .13em;
}

.status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-family: "DM Mono", monospace;
    font-size: .72rem;
}

.status span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-strong);
    box-shadow: 0 0 15px var(--accent-strong);
}

.status > div {
    display: grid;
    gap: 1px;
}

.status strong,
.status small {
    display: block;
    font: inherit;
}

.status strong {
    color: #4e5763;
}

.status small {
    color: #8a929d;
    font-size: .62rem;
}

.app-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 52px 0 100px;
}

.team-strip {
    min-height: 142px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    margin-bottom: 26px;
}

.team-members {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
}

.member-avatar {
    width: 110px;
    display: grid;
    justify-items: center;
    gap: 9px;
    margin: 0;
}

.member-avatar img,
.placeholder-photo {
    width: 88px;
    height: 88px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--line-strong), 0 12px 30px rgba(20, 29, 42, .14);
    transition: transform .2s, box-shadow .2s;
}

.member-avatar img {
    object-fit: cover;
    object-position: center 28%;
}

.placeholder-photo {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 35% 28%, rgba(255,255,255,.8), transparent 25%),
        linear-gradient(145deg, #d9eee6, #b9d9cd);
    color: #32765f;
    font-family: "DM Mono", monospace;
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .08em;
}

.member-avatar:hover img,
.member-avatar:hover .placeholder-photo {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(21, 132, 95, .3), 0 17px 34px rgba(20, 29, 42, .18);
}

.member-avatar span {
    width: 145px;
    color: #555e69;
    font-size: .67rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.presentation-button {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 22px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: rgba(255,255,255,.86);
    color: #252b33;
    font-size: .75rem;
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(20,29,42,.08);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.presentation-button:hover {
    transform: translateY(-2px);
    border-color: rgba(21,132,95,.35);
    box-shadow: 0 15px 34px rgba(20,29,42,.13);
}

.presentation-icon {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #dff5eb;
    color: var(--accent-strong);
    font-size: .58rem;
}

.presentation-modal {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .22s, visibility .22s;
}

.presentation-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.presentation-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 23, 31, .56);
    backdrop-filter: blur(8px);
}

.presentation-dialog {
    position: relative;
    width: min(940px, 100%);
    height: min(760px, calc(100vh - 48px));
    max-height: calc(100vh - 48px);
    display: grid;
    grid-template-rows: 58px minmax(0, 1fr) 66px;
    overflow: visible;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 22px;
    background: #f7f8fa;
    box-shadow: 0 35px 100px rgba(12,18,26,.28);
    transform: translateY(16px) scale(.98);
    transition: transform .22s;
}

.presentation-modal.is-open .presentation-dialog {
    transform: translateY(0) scale(1);
}

.slide-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 50%;
    background: rgba(255,255,255,.93);
    color: #20262f;
    font-family: Arial, sans-serif;
    font-size: 2.45rem;
    font-weight: 300;
    line-height: 1;
    box-shadow: 0 14px 34px rgba(12,18,26,.2);
    transform: translateY(-50%);
    transition: transform .18s, background .18s, opacity .18s;
}

.slide-arrow:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.08);
}

.slide-arrow:disabled {
    cursor: default;
    opacity: .22;
}

.slide-arrow-left {
    left: -72px;
}

.slide-arrow-right {
    right: -72px;
}

.presentation-topbar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid var(--line);
    color: #747d88;
    font-family: "DM Mono", monospace;
    font-size: .65rem;
    letter-spacing: .12em;
}

.presentation-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 9px;
    background: #e9ecef;
    color: #333a44;
    font-size: 1.25rem;
    line-height: 1;
}

.slides {
    min-height: 0;
    max-height: none;
    overflow-y: auto;
}

.slide {
    min-height: 100%;
    display: none;
    padding: 48px 54px 40px;
    animation: slide-in .3s ease;
}

.slide.is-active {
    display: block;
}

@keyframes slide-in {
    from { opacity: 0; transform: translateX(14px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-kicker {
    display: block;
    margin-bottom: 21px;
    color: var(--accent-strong);
    font-family: "DM Mono", monospace;
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .16em;
}

.slide h2 {
    max-width: 780px;
    margin-bottom: 25px;
    color: #171b22;
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: .94;
    letter-spacing: -.065em;
}

.slide h2 em {
    display: block;
    color: #717984;
    font-style: normal;
    font-weight: 500;
}

.slide h3 {
    margin-bottom: 11px;
    color: #252b33;
    font-size: 1.15rem;
}

.slide p,
.slide li {
    color: #646d78;
    font-size: .95rem;
    line-height: 1.7;
}

.slide > ul {
    max-width: 720px;
    margin: 0;
    padding-left: 20px;
}

.slide > ul li {
    margin-bottom: 9px;
}

.slide-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}

.slide-columns section {
    min-height: 310px;
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 15px 38px rgba(20,29,42,.06);
}

.slide-columns section > b {
    display: block;
    margin-bottom: 22px;
    color: var(--accent-strong);
    font-family: "DM Mono", monospace;
    font-size: .65rem;
    letter-spacing: .1em;
}

.slide-columns section > strong {
    display: block;
    margin-top: 18px;
    color: #343b45;
    font-size: .78rem;
}

.slide-columns ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.tool-slide > p {
    max-width: 680px;
    margin-bottom: 26px;
}

.slide-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.slide-detail > div {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
}

.slide-detail strong {
    color: #303741;
    font-size: .82rem;
}

.slide-detail ul {
    margin: 12px 0 0;
    padding-left: 19px;
}

.command-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #20262f !important;
}

.command-card span {
    margin-bottom: 13px;
    color: #9aa5b2;
    font-family: "DM Mono", monospace;
    font-size: .62rem;
    letter-spacing: .13em;
}

.command-card code {
    color: #bdf5dc;
    font-family: "DM Mono", monospace;
    font-size: .83rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.slide-table {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #ffffff;
}

.slide-table > div {
    display: grid;
    grid-template-columns: .7fr 1.6fr;
    gap: 20px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    color: #5f6873;
    font-size: .84rem;
}

.slide-table > div:last-child {
    border-bottom: 0;
}

.slide-table .table-head {
    background: #20262f;
    color: #ffffff;
    font-family: "DM Mono", monospace;
    font-size: .67rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.slide-table strong {
    color: #252b33;
}

.final-slide ul {
    max-width: 760px;
}

.thank-you {
    margin-top: 38px;
    color: var(--accent-strong);
    font-size: clamp(2.6rem, 7vw, 5rem);
    font-weight: 800;
    letter-spacing: -.06em;
}

.slide-controls {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,.86);
    border-radius: 0 0 22px 22px;
}

.slide-controls > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

#slide-counter {
    flex: 0 0 auto;
    color: #69727d;
    font-family: "DM Mono", monospace;
    font-size: .65rem;
}

.slide-progress {
    width: min(260px, 60%);
    height: 3px;
    overflow: hidden;
    border-radius: 4px;
    background: #dde1e5;
}

.slide-progress i {
    display: block;
    width: 11.111%;
    height: 100%;
    border-radius: inherit;
    background: var(--accent-strong);
    transition: width .25s ease;
}

body.modal-open {
    overflow: hidden;
}

.composer {
    width: min(930px, 100%);
    margin: 0 auto;
}

.composer-compact {
    margin-bottom: 58px;
}

.composer-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 25px;
}

.kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--accent-strong);
    font-family: "DM Mono", monospace;
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .17em;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 9px;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: .98;
    letter-spacing: -.065em;
}

.composer-heading p {
    max-width: 690px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: .96rem;
}

.clear-button {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-family: "DM Mono", monospace;
    font-size: .73rem;
}

.clear-button:hover {
    color: var(--text);
}

.terminal {
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.8);
    backdrop-filter: blur(22px);
}

.terminal:focus-within {
    border-color: rgba(21, 132, 95, .35);
    box-shadow: var(--shadow), 0 0 0 4px rgba(21, 132, 95, .08);
}

.terminal-bar {
    height: 49px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 17px;
    border-bottom: 1px solid var(--line);
    background: #f1f3f5;
    color: #737b86;
    font-family: "DM Mono", monospace;
    font-size: .68rem;
}

.window-controls {
    display: flex;
    gap: 6px;
}

.window-controls i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #b2b8c0;
}

.window-controls i:first-child { background: #ff6d67; }
.window-controls i:nth-child(2) { background: #f1bd4b; }
.window-controls i:nth-child(3) { background: #48c86b; }

.line-count {
    margin-left: auto;
}

.terminal-input {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 2px;
    padding: 21px 22px 22px;
}

.prompt {
    padding-top: 2px;
    color: var(--accent-strong);
    font-family: "DM Mono", monospace;
}

textarea {
    width: 100%;
    min-height: 380px;
    resize: vertical;
    border: 0;
    outline: 0;
    background: transparent;
    color: #252b34;
    caret-color: var(--accent-strong);
    font-family: "DM Mono", Consolas, monospace;
    font-size: .82rem;
    line-height: 1.65;
}

.composer-compact textarea {
    min-height: 180px;
}

textarea::placeholder {
    color: #a2a8b0;
}

.composer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 17px;
}

.supported-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.supported-tools span {
    padding: 5px 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: #757d87;
    font-family: "DM Mono", monospace;
    font-size: .6rem;
}

.analyze-button {
    min-width: 142px;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border: 0;
    border-radius: 12px;
    background: #20262f;
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 14px 35px rgba(25, 32, 42, .16);
    transition: transform .2s, box-shadow .2s, background .2s;
}

.analyze-button:hover {
    transform: translateY(-2px);
    background: #11161d;
    box-shadow: 0 18px 42px rgba(25, 32, 42, .22);
}

.analyze-button span {
    font-size: 1rem;
}

.error-message {
    margin-bottom: 15px;
    padding: 12px 15px;
    border: 1px solid rgba(255,119,119,.25);
    border-radius: 10px;
    background: rgba(200,79,79,.07);
    color: #a93838;
    font-family: "DM Mono", monospace;
    font-size: .75rem;
}

.report {
    scroll-margin-top: 25px;
}

.report-titlebar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 21px;
    border-bottom: 1px solid var(--line);
}

.report-titlebar h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: -.055em;
}

.report-buttons {
    display: flex;
    gap: 8px;
}

.report-buttons button {
    padding: 9px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: rgba(255,255,255,.8);
    color: #555e6a;
    font-size: .72rem;
    font-weight: 700;
}

.report-buttons button:hover {
    border-color: rgba(21,132,95,.3);
    color: var(--accent-strong);
}

.report-meta {
    display: grid;
    grid-template-columns: 1.4fr 1.2fr .7fr .5fr;
    margin: 20px 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.72);
}

.report-meta article {
    min-width: 0;
    padding: 17px 19px;
    border-right: 1px solid var(--line);
}

.report-meta article:last-child {
    border-right: 0;
}

.report-meta span,
.report-meta strong {
    display: block;
}

.report-meta span {
    margin-bottom: 5px;
    color: #7a828d;
    font-family: "DM Mono", monospace;
    font-size: .6rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.report-meta strong {
    overflow-wrap: anywhere;
    color: #242a32;
    font-size: .83rem;
}

.report-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(310px, .68fr);
    gap: 18px;
    align-items: start;
}

.result-panel {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface);
    box-shadow: 0 16px 45px rgba(23,31,43,.07);
    backdrop-filter: blur(18px);
}

.panel-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.panel-label span {
    color: var(--accent-strong);
    font-family: "DM Mono", monospace;
    font-size: .61rem;
}

.panel-label h3 {
    margin-bottom: 0;
    font-size: .87rem;
    letter-spacing: -.01em;
}

.finding-list,
.insight-stack {
    display: grid;
    gap: 10px;
}

.finding {
    display: grid;
    grid-template-columns: minmax(180px, .72fr) 1fr;
    gap: 18px;
    padding: 16px;
    border: 1px solid var(--line);
    border-left: 2px solid #9aa3ad;
    border-radius: 10px;
    background: #f8f9fa;
}

.finding.is-success { border-left-color: var(--accent-strong); }
.finding.is-warning { border-left-color: var(--warning); }
.finding.is-info { border-left-color: #627dcc; }

.finding span,
.finding strong {
    display: block;
}

.finding span {
    margin-bottom: 7px;
    color: #7d858f;
    font-family: "DM Mono", monospace;
    font-size: .6rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.finding strong {
    overflow-wrap: anywhere;
    color: #252b33;
    font-family: "DM Mono", monospace;
    font-size: .76rem;
    font-weight: 500;
}

.finding p,
.result-panel li,
.result-panel > p {
    margin: 0;
    color: #68717c;
    font-size: .78rem;
    line-height: 1.65;
}

.result-panel ul {
    margin: 0;
    padding-left: 17px;
}

.result-panel li {
    margin-bottom: 9px;
}

.result-panel li:last-child {
    margin-bottom: 0;
}

.conclusion-panel {
    border-color: rgba(21,132,95,.18);
    background: linear-gradient(145deg, rgba(189,245,220,.3), rgba(255,255,255,.9));
}

.quiet {
    color: #78808a !important;
}

.empty-result {
    padding: 40px 20px;
    border: 1px dashed var(--line-strong);
    border-radius: 10px;
    text-align: center;
}

.empty-result strong,
.empty-result p {
    display: block;
}

.empty-result p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: .8rem;
}

@media (max-width: 850px) {
    .report-grid {
        grid-template-columns: 1fr;
    }

    .report-meta {
        grid-template-columns: 1fr 1fr;
    }

    .report-meta article:nth-child(2) {
        border-right: 0;
    }

    .report-meta article:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 620px) {
    .topbar {
        width: calc(100% - 28px);
    }

    .app-shell {
        width: calc(100% - 24px);
        padding-top: 46px;
    }

    .status {
        display: flex;
        font-size: .62rem;
        line-height: 1.2;
        text-align: left;
    }

    .status span {
        width: 6px;
        height: 6px;
    }

    .team-strip {
        min-height: 100px;
        align-items: center;
        flex-direction: column;
        margin-bottom: 16px;
    }

    .team-members {
        width: 100%;
        flex-wrap: wrap;
        gap: 18px 8px;
    }

    .member-avatar img,
    .placeholder-photo {
        width: 72px;
        height: 72px;
    }

    .presentation-button {
        width: min(280px, 100%);
        justify-content: center;
    }

    .slide {
        min-height: 100%;
        padding: 30px 22px;
    }

    .slides {
        min-height: 0;
    }

    .slide h2 {
        font-size: 2.8rem;
    }

    .slide-columns,
    .slide-detail {
        grid-template-columns: 1fr;
    }

    .slide-columns section {
        min-height: auto;
    }

    .slide-controls {
        display: flex;
        padding: 9px;
    }

    .slide-controls > div {
        gap: 7px;
    }

    .slide-progress {
        display: none;
    }

    .slide-arrow {
        top: auto;
        bottom: 12px;
        width: 44px;
        height: 44px;
        font-size: 2rem;
        transform: none;
        box-shadow: none;
    }

    .slide-arrow:hover {
        transform: scale(1.06);
    }

    .slide-arrow-left {
        left: 12px;
    }

    .slide-arrow-right {
        right: 12px;
    }

    .composer-heading,
    .composer-actions,
    .report-titlebar {
        align-items: flex-start;
        flex-direction: column;
    }

    .composer-heading {
        position: relative;
        align-items: center;
        text-align: center;
        padding-top: 34px;
    }

    .composer-heading > div {
        width: 100%;
    }

    .composer-heading p {
        margin-right: auto;
        margin-left: auto;
    }

    h1 {
        font-size: 2.65rem;
    }

    .clear-button {
        position: absolute;
        top: 0;
        right: 0;
    }

    .supported-tools {
        order: 2;
    }

    .analyze-button {
        width: 100%;
    }

    .terminal-input {
        grid-template-columns: 18px 1fr;
        padding: 17px 14px;
    }

    textarea {
        min-height: 340px;
        font-size: .74rem;
    }

    .report-buttons {
        width: 100%;
    }

    .report-buttons button {
        flex: 1;
    }

    .report-meta {
        grid-template-columns: 1fr;
    }

    .report-meta article,
    .report-meta article:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .report-meta article:last-child {
        border-bottom: 0;
    }

    .finding {
        grid-template-columns: 1fr;
        gap: 9px;
    }
}

@media print {
    :root { color-scheme: light; }
    body { background: #fff; color: #111; }
    .ambient, .topbar, .composer, .report-buttons { display: none !important; }
    .app-shell { width: 100%; padding: 0; }
    .report-titlebar h2, .report-meta strong, .finding strong { color: #111; }
    .report-meta, .result-panel, .finding { background: #fff; border-color: #ccc; box-shadow: none; }
    .report-grid { grid-template-columns: 1fr; }
}
