@charset "UTF-8";

/*
 * GPost · Contenido con voz propia.
 * 1. Brand primitives and semantic tokens
 * 2. Inherited document defaults
 * 3. Shared controls and surfaces
 * 4. Public and workspace compositions
 * 5. PrimeFaces integration and responsive layout
 *
 * PrimeFaces injects unlayered component CSS after this resource. Keep this
 * stylesheet unlayered too; the small adapter at the end owns framework states.
 * Variants change local tokens, never duplicate the whole component.
 */

@font-face {
    font-family: "Manrope";
    src: url("/jakarta.faces.resource/fonts/Manrope-variable.ttf.xhtml?ln=gpost&v=1_3") format("truetype");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}
:root {
    color-scheme: dark;
    --color-ink: #17110d;
    --color-coral: #ff7438;
    --color-cream: #f7f7f5;
    --color-lime: #ffad7a;
    --color-sage: #20272b;
    --color-white: #151a1d;
    --color-coral-soft: #342118;
    --color-coral-dark: #ff9a62;
    --text-color: #f5f5f2;
    --text-muted: #a7afb3;
    --text-link: #ff9a62;
    --page-bg: #0b0f11;
    --surface-bg: #151a1d;
    --surface-soft: #20272b;
    --border-color: #ffffff1a;
    --control-border: #ffffff38;
    --control-bg: #0f1416;
    --focus-color: #ffad7a;
    --secondary-bg: #242b2f;
    --secondary-fg: #f7f7f5;
    --secondary-hover: #343c40;
    --success-fg: #8cdfae;
    --success-bg: #10271b;
    --error-fg: #ff9b8f;
    --error-bg: #331713;
    --warning-fg: #ffd080;
    --warning-bg: #302311;
    --font-family: "Manrope", "Segoe UI", sans-serif;
    --text-xs: .75rem;
    --text-sm: .875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --space-1: .25rem;
    --space-2: .5rem;
    --space-3: .75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;
    --radius-sm: .5rem;
    --radius-control: .75rem;
    --radius-card: 1.5rem;
    --radius-feature: 2rem;
    --control-height: 3rem;
    --page-gutter: clamp(1.25rem, 3.5vw, 4rem);
    --content-width: 84rem;
    --shadow-card: 0 20px 55px -34px #000000cc, inset 0 1px 0 #ffffff08;
    --transition: 160ms ease;
}

/* A contextual palette is inherited by text, borders and secondary actions. */
.theme-inverse {
    --text-color: #f7f7f5;
    --text-muted: #a7afb3;
    --text-link: #ffad7a;
    --surface-bg: #171d20;
    --surface-soft: #242b2f;
    --border-color: #ffffff1a;
    --focus-color: #ffad7a;
    --secondary-bg: #242b2f;
    --secondary-fg: #f7f7f5;
    --secondary-hover: #343c40;
    color: var(--text-color);
    background: #0f1416;
}

/* Document defaults: content keeps one scale at every breakpoint. */
* {
    box-sizing: border-box;
    scrollbar-color: #62696d #0f1416;
}
*::before,
*::after {
 box-sizing: border-box; 
}
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: 2rem; }
body {
    margin: 0;
    background: radial-gradient(ellipse at 82% 8%, #ff74380a, transparent 28rem), var(--page-bg);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: var(--text-base);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}
:where(h1, h2, h3, p, figure) { margin: 0; }
:where(h1, h2, h3) {
    color: var(--text-color);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.12;
    overflow-wrap: anywhere;
    text-wrap: balance;
}
h1 { font-size: clamp(2rem, 3.4vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 2.1vw, 2rem); }
h3 { font-size: 1.25rem; letter-spacing: -.025em; }
p { color: var(--text-muted); overflow-wrap: anywhere; }
small { font-size: var(--text-sm); line-height: 1.5; }
em { font: inherit; }
strong { font-weight: 700; }
a { color: inherit; text-decoration: none; }
:where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(button, input[type="submit"], input[type="button"], summary) { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
:where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 4px;
}
::selection {
    background: #ff9a62;
    color: #17110d;
}
.muted { color: var(--text-muted); }

.eyebrow {
    display: block;
    font-size: var(--text-xs);
    font-weight: 800;
    line-height: 1.6;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #ff9a62;
}
.fine-print, .microcopy { font-size: var(--text-sm); color: var(--text-muted); }
.fine-print { margin-top: var(--space-4); }
.full-width { width: 100%; }
.span-2 { grid-column: 1 / -1; }
.money { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .375rem; font-variant-numeric: tabular-nums; }
.skip-link {
    position: fixed;
    z-index: 100;
    top: .75rem;
    left: .75rem;
    padding: .75rem 1rem;
    background: var(--color-ink);
    color: var(--color-cream);
    border-radius: var(--radius-control);
    transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* Brand assets: one shared Facelets fragment, contextual size only. */
.brand-link { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand-logo { width: var(--brand-width, 11rem); height: auto; }
.brand-mark { width: var(--mark-size, 10rem); height: auto; flex: 0 0 auto; }

/* All action variants inherit this control contract. */
.button {
    --button-bg: var(--secondary-bg);
    --button-fg: var(--secondary-fg);
    --button-hover: var(--secondary-hover);
    --button-border: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    min-height: var(--control-height);
    padding: .75rem 1.25rem;
    border: 1px solid var(--button-border);
    border-radius: 999px;
    background: var(--button-bg);
    color: var(--button-fg);
    font: inherit;
    font-size: var(--text-sm);
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
    text-decoration: none;
    transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.button-primary {
    --button-bg: #ff7438;
    --button-fg: #17110d;
    --button-hover: #ff925c;
    --button-border: #ff8d55;
    box-shadow: 0 10px 28px #ff743820, inset 0 1px 0 #ffffff25;
}
.button-outline {
    --button-bg: transparent;
    --button-fg: var(--text-color);
    --button-hover: var(--surface-soft);
    --button-border: var(--control-border);
}
.button-lime {
    --button-bg: #ff7438;
    --button-fg: #17110d;
    --button-hover: #ff925c;
    --button-border: #ff8d55;
    box-shadow: 0 10px 28px #ff743820, inset 0 1px 0 #ffffff25;
}
.button:hover:not(:disabled):not(.is-disabled) { background: var(--button-hover); }
.button:where(:disabled,.is-disabled) {
    --button-bg: #252b2e;
    --button-fg: #737b7f;
    --button-border: #ffffff12;
    cursor: default;
    box-shadow: none;
}
.text-button, .icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: .5rem .75rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-color);
    font: inherit;
    font-size: var(--text-sm);
    font-weight: 700;
}
.text-button:hover {
    background: #ffffff0a;
}
.icon-button { min-width: 2.75rem; border-color: var(--border-color); background: var(--surface-soft); }
.icon-button:disabled {
    color: #697175;
    background: #1b2023;
    cursor: default;
}
.underlined-link, .auth-switch a, .checkbox-field a, .prose-page p a {
    color: var(--text-link);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .25em;
    text-decoration-thickness: 1px;
}
.underlined-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; font-size: var(--text-sm); }
.pill,
.small-tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: var(--space-2);
    padding: .375rem .625rem;
    border-radius: var(--radius-sm);
    background: #22292c;
    color: var(--text-color);
    font-size: var(--text-xs);
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
    border: 1px solid #ffffff10;
}
.status-dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--color-coral); }

/* Card contract and readable form controls, independent of page layout. */
.card {
    padding: var(--card-padding, clamp(1.25rem, 2.5vw, 2rem));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    background: linear-gradient(145deg, #191f22, #121719);
    color: var(--text-color);
    min-width: 0;
    border-color: #ffffff1c;
    box-shadow: var(--shadow-card);
}
.form-card { margin-bottom: var(--space-5); }
.form-card > h2 { margin-bottom: var(--space-5); }
.form-card > .eyebrow { margin-bottom: var(--space-3); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-5); }
.field { display: flex; flex-direction: column; gap: .5rem; min-width: 0; margin-bottom: var(--space-5); }
.field > label { font-weight: 700; font-size: var(--text-sm); line-height: 1.5; }
.field small { color: var(--text-muted); }
.field :is(input, textarea, select) {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: var(--control-height);
    padding: .75rem .875rem;
    border: 1px solid var(--control-border);
    border-radius: var(--radius-control);
    background: var(--control-bg);
    color: var(--text-color);
    font: inherit;
    line-height: 1.5;
    box-shadow: none;
    transition: border-color var(--transition), background var(--transition);
}
.field :is(input,textarea)::placeholder {
    color: #788186;
    opacity: 1;
}
.field :is(input, textarea, select):focus { border-color: var(--focus-color); outline: 2px solid var(--focus-color); outline-offset: 2px; }
.field :is(input,textarea,select):disabled {
    background: #1b2023;
    color: #737b7f;
    cursor: not-allowed;
}
.field textarea { resize: vertical; min-height: 6rem; }
.field input[type="color"] { padding: .375rem; cursor: pointer; }
.checkbox-field { display: flex; align-items: flex-start; gap: .75rem; margin: var(--space-5) 0; font-size: var(--text-sm); }
.checkbox-field input { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; margin: .125rem 0 0; accent-color: var(--color-ink); }
.form-section-heading { display: flex; align-items: flex-start; gap: var(--space-4); margin-bottom: var(--space-5); }
.form-section-heading p { margin-top: .5rem; font-size: var(--text-sm); }
.section-number,
.piece-number {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    border-radius: var(--radius-control);
    background: #2d211a;
    color: #ffad7a;
    font-size: var(--text-sm);
    font-weight: 800;
    border: 1px solid #ff9a6226;
}
.piece-number {
    background: #2d211a;
    color: #ffad7a;
    border: 1px solid #ff9a6226;
}
.form-actions, .item-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.form-actions { justify-content: space-between; }
details { padding: 1.25rem 0; border-bottom: 1px solid var(--border-color); }
summary { font-weight: 700; padding: .25rem 0; }
details p { margin-top: var(--space-4); }
.optional-fields { border: 0; }
.optional-fields > summary { color: var(--text-link); }
.optional-fields .form-grid { margin-top: var(--space-5); }

/* Shared composition primitives. The container supplies layout, not type size. */
.page-heading, .section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-5);
}
.page-heading { margin-bottom: var(--space-6); }
.page-heading > div { flex: 1 1 25rem; min-width: 0; }
.page-heading h1 { margin: .625rem 0 .875rem; font-size: clamp(2rem, 3vw, 2.75rem); }
.page-heading p { max-width: 46rem; }
.section-title { margin: var(--space-6) 0 var(--space-5); }
.section-title > span { font-size: var(--text-sm); color: var(--text-muted); }
.stats-grid, .action-grid, .pricing-grid, .steps-grid { display: grid; gap: var(--space-5); }
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: var(--space-5) 0 var(--space-6); }
.action-grid, .pricing-grid, .steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.notice {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    margin: var(--space-5) 0;
    padding: var(--space-5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    background: #1b2225;
    color: var(--text-color);
    border-color: #ffffff22;
}
.notice > span { font-size: 1.25rem; margin-top: .2rem; flex: 0 0 auto; }
.notice p {
    margin-top: .375rem;
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* Public pages */
.public-header, .public-footer, .hero, .marketing-section {
    width: min(100%, var(--content-width));
    margin-inline: auto;
    padding-inline: var(--page-gutter);
}
.public-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-4); padding-block: 1rem; }
.public-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 2.3vw, 2rem); font-size: var(--text-sm); font-weight: 700; }
.public-header nav > a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.public-header nav > a:not(.button):hover { color: var(--text-link); }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-7); align-items: center; padding-block: clamp(2.5rem, 5vw, 5rem); }
.hero-copy {
 min-width: 0; 
}

.hero h1 { margin-top: var(--space-5); font-size: clamp(3rem, 5.1vw, 4.7rem); line-height: 1.06; }
.hero h1 em {
    background: transparent;
    border-radius: .16em;
    padding-inline: .08em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    color: #ff8a4f;
}
.hero-copy > p { margin-top: var(--space-5); max-width: 34rem; font-size: var(--text-lg); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); margin: var(--space-6) 0 var(--space-3); }
.hero-footnote { display: flex; flex-wrap: wrap; gap: var(--space-5); margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--border-color); font-size: var(--text-xs); font-weight: 700; }
.brand-showcase {
    min-width: 0;
    background: #1b2225;
    padding: clamp(1rem, 2.5vw, 2rem);
    border-radius: var(--radius-feature);
}
.showcase-heading { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-5); font-size: var(--text-sm); font-weight: 800; }
.showcase-heading .brand-mark { --mark-size: 2.5rem; }
.showcase-pieces { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 1rem; }
.showcase-pieces img { width: 100%; border-radius: var(--radius-control); box-shadow: var(--shadow-card); }
.showcase-pieces img:nth-child(2) { transform: translateY(1rem); }
.showcase-caption {
    margin-top: var(--space-6);
    padding: 1rem;
    background: #1b2225;
    border-radius: var(--radius-control);
}
.showcase-caption strong { display: block; }
.showcase-caption p { margin-top: .25rem; font-size: var(--text-sm); }
.showcase-note { display: block; margin-top: var(--space-4); font-size: var(--text-xs); color: var(--text-muted); }
.promise-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 2.5rem; padding: 1.5rem var(--page-gutter); border-block: 1px solid var(--border-color); font-size: var(--text-xs); font-weight: 800; letter-spacing: .045em; }
.promise-strip span:nth-child(even) { width: .5rem; height: .5rem; border-radius: 50%; background: var(--color-coral); }
.marketing-section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section-heading { max-width: 46rem; }
.section-heading h2 { margin: var(--space-4) 0 var(--space-5); font-size: clamp(2rem, 4vw, 3.25rem); }
.section-heading > p { max-width: 36rem; font-size: var(--text-lg); }
.steps-grid { margin-top: var(--space-7); }
.steps-grid article { padding-top: var(--space-5); border-top: 1px solid var(--border-color); }
.step-index { color: var(--text-link); font-size: var(--text-sm); font-weight: 800; }
.steps-grid h3 { margin: var(--space-5) 0 var(--space-4); }
.steps-grid .small-tag { margin-top: var(--space-4); }
.brand-manifesto { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: var(--space-6); width: min(calc(100% - 2 * var(--page-gutter)), 76rem); margin: 0 auto; padding: clamp(2rem, 5vw, 4rem); border-radius: var(--radius-feature); }
.brand-manifesto h2 { margin-top: var(--space-5); font-size: clamp(2.4rem, 4.2vw, 3.75rem); }
.brand-manifesto p { max-width: 31rem; margin: var(--space-5) 0 var(--space-6); }
.manifesto-mark { --mark-size: 100%; width: 100%; max-width: 22rem; justify-self: center; }
.pricing-grid { margin-top: var(--space-6); }
.price-card { display: flex; flex-direction: column; }
.price-card.featured {
    --surface-bg: #211b18;
    background: #211b18;
    border-color: #ff9a6240;
    color: var(--text-color);
}
.price-card h3 { margin: var(--space-4) 0; font-size: 1.75rem; }
.price-card > p { flex: 1; }
.price-placeholder { margin-block: var(--space-5); font-size: 1.25rem; font-weight: 800; }
.price-card ul { list-style: none; margin: 0 0 var(--space-5); padding: var(--space-4) 0 0; border-top: 1px solid var(--border-color); font-size: var(--text-sm); }
.price-card li { position: relative; padding-left: 1.25rem; margin: .75rem 0; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--text-color); font-weight: 800; }
.price-card .button { width: 100%; }
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--space-7); border-top: 1px solid var(--border-color); }
.faq h2 { margin-top: var(--space-5); font-size: clamp(2rem, 3.5vw, 2.75rem); }
.public-footer { --brand-width: 8rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); padding-block: 1.5rem; border-top: 1px solid var(--border-color); font-size: var(--text-sm); color: var(--text-muted); }
.public-footer > a:not(.brand-link):hover { color: var(--text-link); text-decoration: underline; }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; width: min(100%, 76rem); padding: 3rem var(--page-gutter) 5rem; margin-inline: auto; }
.auth-editorial { padding-top: 2rem; }
.auth-editorial h1 { margin: var(--space-5) 0; font-size: clamp(2.5rem, 4.5vw, 3.75rem); }
.auth-editorial > p { max-width: 30rem; font-size: var(--text-lg); }
.auth-mark { --mark-size: 14rem; margin-top: var(--space-6); }
.auth-benefits { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.auth-card { box-shadow: var(--shadow-card); }
.auth-card h2 { margin: var(--space-4) 0 var(--space-3); }
.auth-card form { margin-top: var(--space-5); }
.auth-switch { text-align: center; margin-top: var(--space-5); font-size: var(--text-sm); }
.prose-page { width: min(100%, 52rem); margin-inline: auto; padding: 3rem var(--page-gutter) 5rem; }
.prose-page h1 { margin: var(--space-5) 0 var(--space-6); }
.prose-page h2 { margin: var(--space-6) 0 var(--space-4); }
.prose-page .button { margin-top: var(--space-6); }

/* Workspace shell: sidebar can scroll independently on short viewports. */
.app-shell {
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
    min-height: 100vh;
    min-height: 100dvh;
    background: #0b0f11;
}

.stats-grid .card { --card-padding: 1.25rem; }
.stats-grid article > span, .stats-grid small { color: var(--text-muted); font-size: var(--text-sm); }
.stats-grid strong { display: block; font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.3; letter-spacing: -.04em; margin: .875rem 0 .625rem; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.stats-grid i { font-size: 1rem; font-style: normal; font-weight: 500; color: var(--text-muted); }

.empty-state { padding: 3rem var(--space-5); border: 1px dashed var(--control-border); border-radius: var(--radius-card); text-align: center; }
.empty-symbol {
    display: grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    margin: 0 auto var(--space-5);
    border-radius: 1.25rem;
    background: #2d211a;
    color: #ffad7a;
    font-size: 2rem;
    border: 1px solid #ff9a6226;
}
.empty-state p { max-width: 27rem; margin: var(--space-4) auto 0; }
.compact-empty { padding-block: var(--space-6); margin-bottom: var(--space-5); }
.catalog-items { display: grid; gap: var(--space-4); }
.catalog-item { display: flex; align-items: flex-start; gap: var(--space-4); }
.catalog-initial {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3.5rem;
    flex: 0 0 auto;
    background: #2d211a;
    border-radius: var(--radius-control);
    color: #ffad7a;
    font-size: 1.5rem;
    border: 1px solid #ff9a6226;
}
.catalog-item-content { min-width: 0; }
.catalog-item h3 { margin-block: .75rem; }
.catalog-item p { font-size: var(--text-sm); white-space: pre-wrap; }
.catalog-price { margin-top: var(--space-4); font-weight: 700; }
.item-actions { margin-top: var(--space-3); }

/* PrimeFaces adapter: preserve native structure, inherit type, own states. */
.gpost .ui-widget { font-family: inherit; font-size: inherit; }
.gpost .ui-inputfield { font: inherit; box-shadow: none; }
.gpost .ui-inputfield.ui-state-error { border-color: var(--error-fg); }
.gpost .ui-inputfield.ui-state-error:focus { outline-color: var(--error-fg); }
.gpost .ui-messages { margin: 0 0 var(--space-5); }
.gpost .ui-messages:empty { display: none; }
.gpost :is(.ui-messages-info, .ui-messages-error, .ui-messages-warn, .ui-messages-fatal) {
    --message-fg: var(--success-fg);
    --message-bg: var(--success-bg);
    display: flow-root;
    margin: 0;
    padding: var(--space-4);
    border: 1px solid var(--message-fg);
    border-radius: var(--radius-control);
    background: var(--message-bg);
    color: var(--message-fg);
    font-size: var(--text-sm);
}
.gpost :is(.ui-messages-error, .ui-messages-fatal) { --message-fg: var(--error-fg); --message-bg: var(--error-bg); }
.gpost .ui-messages-warn { --message-fg: var(--warning-fg); --message-bg: var(--warning-bg); }
.gpost .ui-messages > div + div { margin-top: .75rem; }
.gpost .ui-messages ul { list-style: none; margin: 0; padding: 0; }
.gpost .ui-messages li + li { margin-top: .5rem; }
.gpost .ui-messages-summary { margin: 0; font-weight: 700; }
.gpost .ui-messages-detail { margin-left: .5rem; }
.gpost :is(.ui-messages-info-icon, .ui-messages-error-icon, .ui-messages-warn-icon, .ui-messages-fatal-icon) { display: none; }
.gpost .ui-messages-close { position: relative; float: right; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: -.5rem -.5rem -.5rem .5rem; color: inherit; }
/* Theme=none has no sprite. Reuse the bundled PrimeIcons close glyph. */
.gpost .ui-messages-close .ui-icon { display: none; }
.gpost .ui-messages-close::before { content: "\e90b"; font-family: "primeicons"; font-size: 1.125rem; line-height: 1; }

/* Responsive rules change composition only: no shrinking labels to fit. */


.gpost .button.button-primary {
    background: #ff7438;
    color: #17110d;
    border-color: #ff8d55;
}

.gpost .button.button-lime {
    background: #ff7438;
    color: #17110d;
    border-color: #ff8d55;
}

.gpost .button.button-secondary {
    background: #242b2f;
    color: #f7f7f5;
    border-color: #ffffff26;
}

.gpost .button.button-outline {
    background: transparent;
    color: #f7f7f5;
    border-color: #ffffff38;
}

.button-primary:hover:not(:disabled):not(.is-disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 34px #ff743832;
}

.button-lime:hover:not(:disabled):not(.is-disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 34px #ff743832;
}

.icon-button:hover {
    background: #ffffff0a;
}

.nav-heading {
    color: #ff9a62;
}

.gpost .field input:not([type="checkbox"]):not([type="radio"]) {
    color-scheme: dark;
    background: #0f1416;
    color: #f5f5f2;
    border-color: #ffffff32;
    caret-color: #ff9a62;
}

.gpost .field textarea {
    color-scheme: dark;
    background: #0f1416;
    color: #f5f5f2;
    border-color: #ffffff32;
    caret-color: #ff9a62;
}

.gpost .field select {
    color-scheme: dark;
    background: #0f1416;
    color: #f5f5f2;
    border-color: #ffffff32;
    caret-color: #ff9a62;
}

.field :is(input,textarea,select):hover:not(:disabled) {
    border-color: #ffffff55;
}

.field select option {
    color: #f5f5f2;
    background: #151a1d;
}

:where(input[type="checkbox"],input[type="radio"]) {
    accent-color: #ff7438;
}

.card-icon {
    background: #2d211a;
    color: #ffad7a;
    border: 1px solid #ff9a6226;
}

.help-card {
    --surface-bg: #211b18;
    background: #211b18;
    border-color: #ff9a6240;
    color: var(--text-color);
}

.library-preview {
    --surface-bg: #211b18;
    background: #211b18;
    border-color: #ff9a6240;
    color: var(--text-color);
}

.campaign-link.selected {
    --surface-bg: #211b18;
    background: #211b18;
    border-color: #ff9a6240;
    color: var(--text-color);
    box-shadow: inset 3px 0 0 #ff7438;
}

.library-tile {
    border-color: #2c3336;
}

.library-tile:nth-child(2) {
    background: #ff7438;
}

.library-tile:nth-child(3) {
    background: #22292c;
    color: #ffad7a;
}

.public-body:not(.landing-page) .public-header {
    max-width: none;
    padding-inline: max(var(--page-gutter), calc((100vw - var(--content-width)) / 2));
    background: #101517e8;
    border-bottom: 1px solid #ffffff14;
    backdrop-filter: blur(16px);
}

.public-body:not(.landing-page) .public-header .button {
    --button-bg: #ff7438;
    --button-fg: #17110d;
    --button-hover: #ff925c;
    --button-border: #ff8d55;
    background: #ff7438;
    color: #17110d;
    border-color: #ff8d55;
}

.public-body:not(.landing-page) .auth-layout {
    position: relative;
}

.public-body:not(.landing-page) .auth-layout::before {
    content: "";
    position: fixed;
    z-index: -1;
    width: 34rem;
    height: 34rem;
    left: -15rem;
    top: 18%;
    border-radius: 50%;
    background: #ff74380d;
    filter: blur(12px);
    pointer-events: none;
}

.public-body:not(.landing-page) .auth-card {
    border-color: #ff9a6226;
}

.public-body:not(.landing-page) .public-footer {
    color: var(--text-muted);
    border-color: #ffffff18;
}

.app-body {
    background: #0b0f11;
}

.workspace-main {
    background: #0b0f11;
}

.sidebar {
    background: #0f1416;
    border-right: 1px solid #ffffff14;
}

.workspace-label {
    background: #171d20;
    border-color: #ffffff1c;
}

.workspace-avatar {
    background: #ff7438;
    color: #17110d;
}

.side-link:hover {
    background: #ffffff0a;
}

.side-link.active {
    background: #ff7438;
    color: #17110d;
    box-shadow: 0 8px 26px #ff74381f;
}

.app-topbar {
    background: #101517d9;
    border-color: #ffffff14;
    backdrop-filter: blur(16px);
}

.app-content {
    background: radial-gradient(ellipse at 82% 4%, #ff743808, transparent 28rem);
}

.action-card:hover {
    border-color: #ff9a6260;
    box-shadow: 0 20px 55px -34px #ff743866;
}

.app-footer {
    border-color: #ffffff14;
}

.gpost .ui-widget-content {
    background: #151a1d;
    color: var(--text-color);
    border-color: #ffffff22;
}

.gpost .ui-dialog {
    background: #151a1d;
    color: var(--text-color);
    border-color: #ffffff22;
}

.gpost .ui-overlaypanel {
    background: #151a1d;
    color: var(--text-color);
    border-color: #ffffff22;
}

.gpost .ui-selectonemenu-panel {
    background: #151a1d;
    color: var(--text-color);
    border-color: #ffffff22;
}

.gpost .ui-datepicker {
    background: #151a1d;
    color: var(--text-color);
    border-color: #ffffff22;
}

.gpost .ui-datatable table {
    color: var(--text-color);
}

.gpost .ui-datatable thead>tr>th {
    background: #1d2427;
    color: #d9dde0;
    border-color: #ffffff18;
}

.gpost .ui-datatable tbody>tr {
    background: #14191c;
    color: var(--text-color);
}

.gpost .ui-datatable tbody>tr:nth-child(even) {
    background: #171d20;
}

.gpost .ui-datatable tbody>tr:hover {
    background: #211b18;
}

.gpost .ui-datatable tbody>tr>td {
    border-color: #ffffff12;
}

.gpost .ui-state-highlight {
    background: #342118;
    color: #f7f7f5;
}

.gpost .ui-paginator {
    background: #151a1d;
    color: var(--text-color);
    border-color: #ffffff18;
}

.gpost .ui-paginator .ui-paginator-page.ui-state-active {
    background: #ff7438;
    color: #17110d;
}
@media (max-width: 80rem) {
:root {  --page-gutter: clamp(1.25rem, 2.5vw, 2rem); }

.stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.action-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 64rem) {
.hero { gap: var(--space-6); }
.hero h1 { font-size: clamp(2.75rem, 5.5vw, 4rem); }
}
@media (max-width: 52rem) {
.hero, .auth-layout, .faq { grid-template-columns: minmax(0, 1fr); }
.hero h1 { font-size: clamp(2.75rem, 7.5vw, 4rem); }
.hero-copy > p { max-width: 42rem; }
.brand-showcase { max-width: 36rem; width: 100%; justify-self: center; }
.brand-manifesto { grid-template-columns: minmax(0, 1fr) 10rem; }
.steps-grid, .pricing-grid { grid-template-columns: minmax(0, 1fr); }
.auth-editorial { padding-top: 0; }
.auth-mark { display: none; }
}
@media (max-width: 38rem) {
.public-header { --brand-width: 8.5rem; gap: .5rem 1rem; }
.public-header nav { gap: .75rem; }
.public-header .nav-detail { display: none; }
.public-header .button { padding-inline: .75rem; }
.hero { padding-top: var(--space-6); }
.hero-actions { gap: .75rem 1.25rem; }
.hero-footnote { gap: .75rem 1.5rem; }
.brand-showcase { border-radius: var(--radius-card); }
.brand-manifesto { grid-template-columns: minmax(0, 1fr); }
.manifesto-mark { --mark-size: 6rem; width: 6rem; justify-self: end; }
.auth-layout { padding-top: var(--space-5); }
.form-grid { grid-template-columns: minmax(0, 1fr); }
.form-actions { align-items: stretch; flex-direction: column; }
.form-actions .button { width: 100%; }

.stats-grid { gap: var(--space-3); }
.stats-grid .card { --card-padding: 1rem; }
.catalog-item { --card-padding: 1.25rem; gap: .75rem; }
.catalog-initial { width: 2.5rem; height: 3rem; }
}
@media (max-width: 24rem) {
.public-header nav { width: 100%; justify-content: space-between; }
.hero h1 { font-size: 2.5rem; }
.stats-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
.button, .field :is(input, textarea, select) { transition: none; }

.button-primary:hover:not(:disabled):not(.is-disabled) {
    transform: none;
}

.button-lime:hover:not(:disabled):not(.is-disabled) {
    transform: none;
}
}

@media (forced-colors: active) {
.card,
    .button-primary,
    .button-lime { background: Canvas; }
}
