/* =====================================================================
   AWAIO THREADS for autoplace + autoplace editor pages.
   autoplace keeps its own blue look (autoplace.css, ~90% of the page);
   this file adds the small awaio touches that tie it back to the studio:
   the shared header/footer (../chrome.css), awaio-blue selection, focus
   rings and scrollbar.
   ===================================================================== */
:root {
    --awt-blue: #00296B;
    --awt-blue-hi: #0A3D9C;
    --awt-blue-dot: #2D63E0;
    --awt-blue-glow: #8DAEF5;
}

::selection {
    background: var(--awt-blue-hi);
    color: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--awt-blue-dot);
    outline-offset: 3px;
}

/* A thin awaio scrollbar instead of none at all */
.scroll-container {
    scrollbar-width: thin;
    scrollbar-color: var(--awt-blue-hi) rgba(10, 11, 13, 0.35);
}

.scroll-container::-webkit-scrollbar {
    display: block;
    width: 8px;
}

.scroll-container::-webkit-scrollbar-track {
    background: rgba(10, 11, 13, 0.35);
}

.scroll-container::-webkit-scrollbar-thumb {
    background: var(--awt-blue-hi);
    border-radius: 8px;
}

/* the legacy nav padding offset still applies; the new header is the same height */

/* Typographic thread: avoid one-word last lines (no visual change otherwise) */
p,
li {
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
.hero-card-large-center p,
.change-item {
    text-wrap: balance;
}
