


.site-header {
    position: relative;
    width: 100%;
    height: var(--header-height);
    background-color: var(--surface);
    border-bottom: var(--border-subtle);
    z-index: 100;
    display: flex;
    align-items: center;
}


.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}


.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    max-width: 38vw;
}


.brand__img {
    height: 2.1rem;
    width: auto;
    max-width: 100%;

    object-fit: contain;
}


/* Nav Menu Affordance Button */
.nav-toggle-btn {
    appearance: none;

    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-xs);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);

    font-family: var(--dono-a42);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    min-height: 44px;
    transition: background-color var(--duration-fast) var(--ease-out),
                            border-color var(--duration-fast) var(--ease-out),
                            color var(--duration-fast) var(--ease-out),
                            transform var(--duration-fast) var(--ease-out);
}


.nav-toggle-btn:hover {
    background-color: var(--surface-2);
    border-color: var(--ink);
}


.nav-toggle-btn:active {
    background-color: var(--ground);
    transform: translateY(1px);
}


.nav-toggle-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}


/* Desk in-header direct links shown only from desktop breakpoint */
.site-header__nav-links { display: none; }


@media (min-width: 1080px) {
    .site-header__nav-links {
        display: flex;
        align-items: center;
        gap: var(--space-lg);
    }


    .site-header__nav-link {
        font-family: var(--dono-a42);
        font-size: var(--text-xs);
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--ink-soft);
        padding: 0.4rem 0.2rem;
        position: relative;
        transition: color var(--duration-fast) var(--ease-out);
    }


    .site-header__nav-link:hover { color: var(--ink); }


    .site-header__nav-link:active { color: var(--accent); }


    .site-header__nav-link:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
    }


    .site-header__nav-link[aria-current="page"] { color: var(--accent); }


    .site-header__nav-link[aria-current="page"]::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        right: 0;
        height: 2px;
        background-color: var(--accent);
    }
}


.menu-overlay {
    position: fixed;
    inset: 0;
    background-color: var(--ground);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--duration-normal) var(--ease-out),
                            visibility var(--duration-normal) var(--ease-out);
}


.menu-overlay[aria-hidden="false"],
.menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


.menu-overlay__header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: var(--border-subtle);
    background-color: var(--surface);
}


.menu-overlay__close {
    appearance: none;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-xs);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--dono-a42);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    min-height: 44px;
    transition: background-color var(--duration-fast) var(--ease-out),
                            border-color var(--duration-fast) var(--ease-out);
}


.menu-overlay__close:hover {
    background-color: var(--surface-2);
    border-color: var(--ink);
}


.menu-overlay__close:active { transform: translateY(1px); }


.menu-overlay__close:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}


.menu-overlay__body {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    overflow-y: auto;
    padding-block: var(--space-xl);
}


@media (min-width: 1024px) {
    .menu-overlay__body {
        grid-template-columns: 1.25fr 0.85fr;
        gap: var(--space-3xl);
    }
}


.menu-overlay__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}


.menu-overlay__link {
    font-family: var(--dono-a42);
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--ink);
    letter-spacing: -0.02em;
    display: inline-block;
    padding: var(--space-xs) 0;
    transition: color var(--duration-fast) var(--ease-out),
                            transform var(--duration-fast) var(--ease-out);
}


.menu-overlay__link:hover {
    color: var(--accent);
    transform: translateX(8px);
}


.menu-overlay__link:active { transform: translateX(4px); }


.menu-overlay__link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}


.menu-overlay__link[aria-current="page"] { color: var(--accent); }


.menu-overlay__aside { display: none; }


@media (min-width: 1024px) {
    .menu-overlay__aside {
        display: flex;
        flex-direction: column;
        gap: var(--space-md);
        background-color: var(--surface);
        padding: var(--space-xl);
        border: var(--border-subtle);
    }


    .menu-overlay__aside-img {
        aspect-ratio: 4/3;
        object-fit: cover;
        border: var(--border-subtle);
    }


    .menu-overlay__aside-facts {
        font-size: var(--text-sm);
        color: var(--ink-soft);
        line-height: 1.5;
    }
}



.section-strip { display: none; }


@media (min-width: 1024px) {
    .section-strip {
        display: flex;
        align-items: center;
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        height: 2.75rem;
        background-color: var(--ground);
        border-bottom: var(--border-subtle);
        z-index: 90;
        opacity: 0.96;
        backdrop-filter: blur(8px);
        transition: transform var(--duration-normal) var(--ease-out);
    }


    .section-strip__inner {
        display: flex;
        align-items: center;
        gap: var(--space-xl);
        width: 100%;
        overflow-x: auto;
    }


    .section-strip__link {
        font-family: var(--dono-a42);
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--ink-soft);
        white-space: nowrap;
        padding: 0.25rem 0;
        transition: color var(--duration-fast) var(--ease-out);
    }


    .section-strip__link:hover { color: var(--ink); }


    .section-strip__link:active { color: var(--accent); }


    .section-strip__link:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
    }


    .section-strip__link.is-active,
    .section-strip__link[aria-current="true"] { color: var(--accent); }
}



.phone-dock {
    position: fixed;
    inset: auto 0 0 0;
    width: 100%;
    height: var(--dock-height);
    background-color: var(--surface);
    border-top: var(--border-subtle);
    padding-bottom: env(safe-area-inset-bottom, 0);
    z-index: 10000;
    display: flex;
    align-items: stretch;
    box-shadow: 0 -4px 16px rgba(39, 41, 43, 0.06);
}


@media (min-width: 1024px) {
    .phone-dock { display: none !important; }
}


.phone-dock__item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0.35rem 0.2rem;
    color: var(--ink-soft);
    text-decoration: none;
    min-height: 44px;
    min-width: 0;
    background: transparent;
    border: 0;
    appearance: none;
    font: inherit;
    cursor: pointer;
    position: relative;
    transition: color var(--duration-fast) var(--ease-out),
                            background-color var(--duration-fast) var(--ease-out);
}


.phone-dock__item:hover {
    color: var(--ink);
    background-color: var(--surface-2);
}


.phone-dock__item:active { background-color: var(--ground); }


.phone-dock__item:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}


.phone-dock__item[aria-current="page"],
.phone-dock__item.is-active {
    color: var(--accent);
    font-weight: 600;
}


.phone-dock__icon {
    width: 22px;
    height: 22px;
}


.phone-dock__label {
    font-family: var(--dono-ccc);
    font-size: 0.725rem;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: 0.02em;
}


.phone-dock__dot {
    position: absolute;
    top: 6px;
    right: calc(50% - 14px);
    width: 7px;
    height: 7px;
    background-color: var(--accent);
    border-radius: 50%;
    display: none;
}


.phone-dock__dot.has-unread { display: block; }



.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.75rem 1.6rem;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    font-family: var(--dono-a42);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-xs);
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    white-space: normal;
    text-align: center;
    box-sizing: border-box;
    transition: background-color var(--duration-fast) var(--ease-out),
                            border-color var(--duration-fast) var(--ease-out),
                            color var(--duration-fast) var(--ease-out),
                            transform var(--duration-fast) var(--ease-out),
                            box-shadow var(--duration-fast) var(--ease-out);
}


.btn--primary {
    background-color: var(--accent);
    color: var(--accent-ink);
    border-color: var(--accent);
}


.btn--primary:hover {
    background-color: #146b77;
    border-color: #146b77;
    color: var(--accent-ink);
    box-shadow: 0 4px 12px rgba(25, 128, 142, 0.25);
}


.btn--primary:active {
    background-color: #0e535c;
    border-color: #0e535c;
    transform: translateY(1px);
}


.btn--primary:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}


.btn--secondary {
    background-color: transparent;
    color: var(--ink);
    border-color: var(--line);
}


.btn--secondary:hover {
    background-color: var(--surface);
    border-color: var(--ink);
    color: var(--ink);
}


.btn--secondary:active {
    background-color: var(--surface-2);
    transform: translateY(1px);
}


.btn--secondary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}


.btn--ghost {
    background-color: transparent;
    color: var(--ink);
    border-color: transparent;
    padding-inline: 0.8rem;
}


.btn--ghost:hover { color: var(--accent); }


.btn--ghost:active { transform: translateY(1px); }


.btn--ghost:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}



.product-card {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    border-bottom: var(--border-subtle);
    padding-bottom: var(--space-md);
    min-width: 0;
}


.product-card__figure {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: var(--surface);
    margin-bottom: var(--space-md);
    border: var(--border-subtle);
}


.product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}


.product-card:hover .product-card__img { transform: scale(1.025); }


.product-card__name {
    font-family: var(--dono-a42);
    font-size: var(--text-md);
    font-weight: 700;
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: var(--space-xs);
}


.product-card__line {
    font-size: var(--text-sm);
    color: var(--ink-soft);
    line-height: 1.45;
    margin-bottom: var(--space-sm);
    max-width: 48ch;
}


.product-card__price-basis {
    font-family: var(--dono-074);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.01em;
    margin-top: auto;
}


.product-card--featured .product-card__figure { aspect-ratio: 16/10; }


.product-card--featured .product-card__name { font-size: var(--text-lg); }


.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}


@media (min-width: 768px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}


@media (min-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }


    .product-grid > .product-card--featured { grid-column: span 2; }
}



.split-band {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
    margin-block: var(--space-2xl);
}


@media (min-width: 1024px) {
    .split-band {
        grid-template-columns: 1.15fr 0.85fr;
        gap: var(--space-3xl);
    }


    .split-band--reverse { grid-template-columns: 0.85fr 1.15fr; }


    .split-band--reverse > :first-child { order: 2; }


    .split-band--reverse > :last-child { order: 1; }
}


.split-band__content { min-width: 0; }


.split-band__media {
    min-width: 0;
    position: relative;
}


.split-band__figure {
    width: 100%;
    border: var(--border-subtle);
    overflow: hidden;
    background-color: var(--surface);
}


.split-band__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



details[data-067e6e] {
    border-top: var(--border-subtle);
    padding-block: var(--space-sm);
}


details[data-067e6e]:last-of-type { border-bottom: var(--border-subtle); }


details[data-067e6e] summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    cursor: pointer;
    list-style: none;
    font-family: var(--dono-a42);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.01em;
    padding-block: var(--space-xs);
    transition: color var(--duration-fast) var(--ease-out);
}


details[data-067e6e] summary::-webkit-details-marker { display: none; }


details[data-067e6e] summary::after {
    content: "+";
    font-family: var(--dono-074);
    font-size: 1.25rem;
    line-height: 1;
    color: var(--accent);
    transition: transform var(--duration-fast) var(--ease-out);
    margin-inline-start: var(--space-sm);
}


details[data-067e6e][open] summary::after { transform: rotate(45deg); }


details[data-067e6e] summary:hover { color: var(--accent); }


details[data-067e6e] summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}


.fold-content {
    padding-block: var(--space-xs) var(--space-md);
    font-size: var(--text-base);
    color: var(--ink);
}


@media (min-width: 768px) {
    details[data-067e6e] {
        border-top: var(--border-subtle);
        padding-block: var(--space-md);
    }


    details[data-067e6e] summary {
        cursor: default;
        font-size: var(--text-md);
        margin-bottom: var(--space-xs);
    }


    details[data-067e6e] summary::after { display: none; }
}



.spec-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-block: var(--space-lg);
    border-top: var(--border-subtle);
    border-bottom: var(--border-subtle);
}


.spec-table {
    width: 100%;
    font-size: var(--text-sm);
}


.spec-table th,
.spec-table td {
    padding: 0.85rem var(--space-sm);
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(169, 176, 180, 0.35);
}


.spec-table th {
    font-family: var(--dono-a42);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-soft);
    background-color: var(--surface);
}


.spec-table td.figure-cell {
    font-family: var(--dono-074);
    font-weight: 500;
    color: var(--ink);
}


@media (max-width: 767px) {
    .spec-table--stack thead { display: none; }


    .spec-table--stack tr {
        display: block;
        padding-block: var(--space-sm);
        border-bottom: var(--border-subtle);
    }


    .spec-table--stack td {
        display: flex;
        justify-content: space-between;
        padding: 0.35rem 0;
        border: 0;
    }


    .spec-table--stack td::before {
        content: attr(data-label);
        font-family: var(--dono-a42);
        font-size: var(--text-xs);
        font-weight: 700;
        color: var(--ink-soft);
        text-transform: uppercase;
    }
}



.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
    margin-bottom: var(--space-md);
    position: relative;
}


.form-label {
    font-family: var(--dono-a42);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink);
}


.form-input,
.form-select,
.form-textarea {
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 0.85rem;
    background-color: var(--ground);
    border: 1px solid var(--line);
    border-radius: var(--radius-xs);
    color: var(--ink);
    font-size: var(--text-base);
    box-sizing: border-box;
    transition: border-color var(--duration-fast) var(--ease-out),
                            background-color var(--duration-fast) var(--ease-out),
                            box-shadow var(--duration-fast) var(--ease-out);
}


.form-input,
.form-select {
    height: 48px;
    min-height: 48px;
    max-height: 48px;
}


.form-textarea {
    min-height: 100px;
    resize: vertical;
}


.form-input:hover,
.form-select:hover,
.form-textarea:hover { border-color: var(--ink); }


.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
    border-color: var(--accent);
    background-color: #fff;
}


.form-error-msg {
    font-size: var(--text-xs);
    color: #b42318;
    margin-top: 0.2rem;
    display: none;
}


.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
    border-color: #b42318;
    background-color: #fdf2f2;
}


.form-group.has-error .form-error-msg { display: block; }


.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    color: var(--ink-soft);
    cursor: pointer;
    line-height: 1.4;
}


.form-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
}


/* Honeypots: visually hidden, never labelled */
.hp-field {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}



.site-footer {
    width: 100%;
    background-color: var(--ink);
    color: var(--surface);
    padding-block: var(--space-3xl) var(--space-xl);
    border-top: 2px solid var(--accent);
}


.site-footer a {
    color: var(--surface);
    transition: color var(--duration-fast) var(--ease-out);
}


.site-footer p.caption strong {
    margin-right: 12px;
    display: inline-block;
}


@media (pointer: coarse) {
    .site-footer a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}


.site-footer a:hover { color: var(--accent); }


.site-footer a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}


.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}


@media (min-width: 768px) {
    .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
}


.site-footer__brand-block {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}


.site-footer__brand-img {
    height: 2.3rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}


.site-footer__heading {
    font-family: var(--dono-a42);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--line);
    margin-bottom: var(--space-sm);
}


.site-footer__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    font-size: var(--text-sm);
}


.site-footer__list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}


.site-footer__legal-bar {
    border-top: 1px solid rgba(169, 176, 180, 0.2);
    padding-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    font-size: var(--text-xs);
    color: var(--line);
}


@media (min-width: 768px) {
    .site-footer__legal-bar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}


.site-footer__legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
}


.btn-reopen-consent {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--line);
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    transition: color var(--duration-fast) var(--ease-out);
}


.btn-reopen-consent:hover { color: var(--accent); }


.btn-reopen-consent:active { color: var(--accent-ink); }


.btn-reopen-consent:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}



[data-fe7876] {
    position: fixed;
    bottom: calc(var(--dock-height) + env(safe-area-inset-bottom, 0px));
    left: 0;
    right: 0;
    background-color: var(--surface);
    border-top: 2px solid var(--accent);
    padding: var(--space-sm) var(--dono-938);
    z-index: 9950;
    box-shadow: 0 -8px 24px rgba(39, 41, 43, 0.12);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    max-height: 28vh;
    --consent-bottom: calc(var(--dock-height) + env(safe-area-inset-bottom, 0px));
}


@media (min-width: 1024px) {
    [data-fe7876] {
        bottom: var(--space-lg);
        right: var(--space-lg);
        left: auto;
        width: 25rem;
        max-width: calc(100vw - 2rem);
        border: var(--border-subtle);
        border-top: 3px solid var(--accent);
        border-radius: var(--radius-xs);
        box-shadow: var(--shadow-elevated);
        --consent-bottom: var(--space-lg);
    }
}


[data-fe7876][hidden] { display: none !important; }


.consent-banner__text {
    font-size: var(--text-xs);
    color: var(--ink);
    line-height: 1.45;
    margin: 0;
}


.consent-banner__actions {
    display: flex;
    gap: var(--space-xs);
    align-items: center;
}


.consent-banner__actions .btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.75rem;
}



.chat-launcher-floating { display: none; }


@media (min-width: 1080px) {
    .chat-launcher-floating {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: var(--space-xl);
        right: var(--space-xl);
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background-color: var(--accent);
        color: var(--accent-ink);
        border: 1px solid var(--accent);
        box-shadow: 0 4px 16px rgba(25, 128, 142, 0.35);
        cursor: pointer;
        z-index: 920;
        transition: transform var(--duration-fast) var(--ease-out),
                                background-color var(--duration-fast) var(--ease-out),
                                box-shadow var(--duration-fast) var(--ease-out);
    }


    .chat-launcher-floating:hover {
        background-color: #146b77;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(25, 128, 142, 0.45);
    }


    .chat-launcher-floating:active {
        background-color: #0e535c;
        transform: translateY(1px);
    }


    .chat-launcher-floating:focus-visible {
        outline: 2px solid var(--ink);
        outline-offset: 2px;
    }


    .chat-launcher-floating[hidden] { display: none !important; }
}


.chat-panel {
    position: fixed;
    z-index: 1100;
    background-color: var(--ground);
    border: var(--border-subtle);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-elevated);
    transition: opacity var(--duration-normal) var(--ease-out),
                            transform var(--duration-normal) var(--ease-out);
}


/* Phone Chat Panel: full sheet above dock */
@media (max-width: 1079px) {
    .chat-panel {
        inset: 0 0 var(--dock-height) 0;
        border: 0;
    }
}


/* Desk Chat Panel: elevated card in corner */
@media (min-width: 1080px) {
    .chat-panel {
        bottom: calc(var(--space-xl) + 60px);
        right: var(--space-xl);
        width: 24rem;
        height: 32rem;
        max-height: calc(100vh - 120px);
        border-radius: var(--radius-sm);
    }
}


.chat-panel[hidden] { display: none !important; }


.chat-panel__header {
    background-color: var(--surface);
    border-bottom: var(--border-subtle);
    padding: var(--space-sm) var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.chat-panel__title {
    font-family: var(--dono-a42);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--ink);
}


.chat-panel__close {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--ink-soft);
    cursor: pointer;
    padding: var(--space-2xs);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    transition: color var(--duration-fast) var(--ease-out);
}


.chat-panel__close:hover { color: var(--ink); }


.chat-panel__close:active { transform: translateY(1px); }


.chat-panel__close:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}


.chat-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}


.chat-msg {
    max-width: 82%;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-xs);
    font-size: var(--text-sm);
    line-height: 1.4;
}


.chat-msg--bot,
.chat-msg--agent {
    background-color: var(--surface);
    color: var(--ink);
    align-self: flex-start;
    border: 1px solid rgba(169, 176, 180, 0.4);
}


.chat-msg--user {
    background-color: var(--accent);
    color: var(--accent-ink);
    align-self: flex-end;
}


.chat-panel__footer {
    padding: var(--space-sm);
    background-color: var(--surface);
    border-top: var(--border-subtle);
}


.chat-panel__form {
    display: flex;
    gap: var(--space-2xs);
}


.chat-panel__input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    background-color: var(--ground);
    border: 1px solid var(--line);
    border-radius: var(--radius-xs);
    font-size: var(--text-sm);
}
