/* Graziario surfaces in the panel. Plain CSS on nxt-gz-* classes (no Tailwind in the compiled panel CSS). */

.nxt-gz-logo {
    font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    font-size: 1.75rem;
    line-height: 1;
    color: #242429;
    letter-spacing: -0.01em;
}

.dark .nxt-gz-logo { color: #fff7e8; }

.nxt-gz-logo-dot { color: #b93f31; }

.nxt-gz-review {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 64rem) {
    .nxt-gz-review { grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr); align-items: start; }
}

.nxt-gz-stack { display: grid; gap: 1rem; }

.nxt-gz-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }

.nxt-gz-spread { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between; }

.nxt-gz-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.nxt-gz-quote {
    margin: 0;
    padding: 0.875rem 1rem;
    border-left: 3px solid #b93f31;
    border-radius: 0.5rem;
    background: color-mix(in srgb, #fff7e8 70%, transparent);
    color: #242429;
    white-space: pre-line;
    font-size: 1rem;
    line-height: 1.55;
}

.dark .nxt-gz-quote { background: rgba(255, 247, 232, 0.06); color: #fff7e8; }

.nxt-gz-textarea {
    width: 100%;
    min-height: 8rem;
    padding: 0.75rem 0.875rem;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 1rem;
    line-height: 1.55;
    resize: vertical;
}

.nxt-gz-textarea:focus { outline: none; }

.nxt-gz-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
}

.nxt-gz-input:focus { outline: none; }

.nxt-gz-signals { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }

.nxt-gz-signal {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    background: var(--gray-50);
    font-size: 0.875rem;
}

.dark .nxt-gz-signal { background: rgba(255, 255, 255, 0.05); }

.nxt-gz-muted { color: var(--gray-500); font-size: 0.875rem; }

.nxt-gz-manual-copy {
    width: 100%;
    min-height: 6rem;
    padding: 0.75rem;
    border: 1px dashed #b93f31;
    border-radius: 0.5rem;
    background: transparent;
    color: inherit;
    font: inherit;
}

.nxt-gz-progress { font-variant-numeric: tabular-nums; color: var(--gray-500); font-size: 0.875rem; }

.nxt-gz-stats {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
}

.nxt-gz-stat strong { display: block; font-size: 1.75rem; font-variant-numeric: tabular-nums; line-height: 1.1; }

.nxt-gz-stat span { color: var(--gray-500); font-size: 0.875rem; }

.nxt-gz-demo-note {
    padding: 0.5rem 0.875rem;
    border-radius: 0.5rem;
    background: color-mix(in srgb, #b93f31 10%, transparent);
    color: #8f2f24;
    font-size: 0.875rem;
}

.dark .nxt-gz-demo-note { color: #f3b7ad; }

@media (prefers-reduced-motion: reduce) {
    .nxt-gz-review * { transition: none !important; animation: none !important; }
}

/* ------------------------------------------------------------------
   The panel follows the site: warm ivory, Instrument Serif titles,
   chunky ink outlines with a solid offset shadow, pill buttons.
   Light theme only: the dark theme keeps Filament's own surfaces.
   ------------------------------------------------------------------ */

html:not(.dark) .fi-body {
    background:
        radial-gradient(40rem 26rem at 100% 0%, rgba(156, 203, 255, .28), transparent 70%),
        radial-gradient(34rem 24rem at 0% 100%, rgba(255, 209, 102, .26), transparent 70%),
        #fff7e8;
    background-attachment: fixed;
}

html:not(.dark) .fi-topbar > nav,
html:not(.dark) .fi-topbar {
    background-color: rgba(255, 253, 247, .92);
    box-shadow: none;
    border-bottom: 2px solid #242429;
}

.fi-header-heading,
.fi-simple-header-heading {
    font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    font-weight: 400;
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    letter-spacing: -0.015em;
    line-height: 1.05;
}

html:not(.dark) .fi-section,
html:not(.dark) .fi-ta-ctn,
html:not(.dark) .fi-wi-widget > .fi-section {
    border-radius: 22px;
    box-shadow: 4px 4px 0 #242429;
    outline: 2px solid #242429;
    outline-offset: -2px;
    background-color: #fffdf7;
}

html:not(.dark) .fi-section-header-heading {
    font-weight: 700;
}

.fi-btn {
    border-radius: 999px;
}

html:not(.dark) .fi-btn.fi-color-primary:not(.fi-outlined) {
    box-shadow: 3px 3px 0 #242429;
    outline: 2px solid #242429;
    outline-offset: -2px;
    transition: transform .15s ease, box-shadow .15s ease;
}

html:not(.dark) .fi-btn.fi-color-primary:not(.fi-outlined):hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 #242429;
}

html:not(.dark) .fi-btn.fi-color-primary:not(.fi-outlined):active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 #242429;
}

.fi-badge {
    border-radius: 999px;
}

html:not(.dark) .fi-sidebar-item.fi-active > .fi-sidebar-item-btn {
    background-color: #ffd166;
    border-radius: 999px;
    box-shadow: 2px 2px 0 #242429;
    outline: 2px solid #242429;
    outline-offset: -2px;
}

html:not(.dark) .fi-sidebar-item.fi-active > .fi-sidebar-item-btn .fi-sidebar-item-label,
html:not(.dark) .fi-sidebar-item.fi-active > .fi-sidebar-item-btn .fi-icon {
    color: #242429;
}

html:not(.dark) .fi-input-wrp {
    border-radius: 14px;
}

/* Sign-in, sign-up and email verification pages */
html:not(.dark) .fi-simple-layout {
    background:
        radial-gradient(30rem 22rem at 90% 10%, rgba(156, 203, 255, .5), transparent 70%),
        radial-gradient(28rem 20rem at 10% 90%, rgba(255, 209, 102, .5), transparent 70%),
        radial-gradient(24rem 18rem at 50% 110%, rgba(255, 179, 199, .45), transparent 70%),
        #fff7e8;
}

html:not(.dark) .fi-simple-main {
    border-radius: 26px;
    box-shadow: 8px 8px 0 #242429;
    outline: 2px solid #242429;
    outline-offset: -2px;
    background-color: #fffdf7;
}

.fi-simple-header .nxt-gz-logo { font-size: 2.4rem; }

/* Review page accents */
html:not(.dark) .nxt-gz-quote { background: #fff; border: 2px solid #242429; border-left-width: 2px; border-radius: 20px 20px 20px 6px; font-family: 'Instrument Serif', Georgia, serif; font-size: 1.35rem; line-height: 1.3; }
html:not(.dark) .nxt-gz-signal { background: #fff7e8; border: 2px dashed #e6d3b5; }
html:not(.dark) .nxt-gz-demo-note { background: #ffd166; color: #242429; border: 2px solid #242429; border-radius: 999px; box-shadow: 2px 2px 0 #242429; }
.nxt-gz-label { color: #4f4f58; }

@media (prefers-reduced-motion: reduce) {
    .fi-btn { transition: none !important; }
}
