@font-face {
    font-family: "Oferta do Dia";
    src: url("/assets/fonts/Oferta-do-Dia.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Muvuca";
    src: url("/assets/fonts/MuvucaDingbat1.1-Regular.otf") format("opentype");
    font-display: swap;
}

@font-face {
    font-family: "Bangers";
    src: url("/assets/fonts/Bangers-Regular.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Luckiest Guy";
    src: url("/assets/fonts/LuckiestGuy-Regular.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Lilita One";
    src: url("/assets/fonts/LilitaOne-Regular.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Bungee";
    src: url("/assets/fonts/Bungee-Regular.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Bowlby One SC";
    src: url("/assets/fonts/BowlbyOneSC-Regular.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Titan One";
    src: url("/assets/fonts/TitanOne-Regular.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Passion One";
    src: url("/assets/fonts/PassionOne-Regular.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Changa One";
    src: url("/assets/fonts/ChangaOne-Regular.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Ranchers";
    src: url("/assets/fonts/Ranchers-Regular.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Alfa Slab One";
    src: url("/assets/fonts/AlfaSlabOne-Regular.ttf") format("truetype");
    font-display: swap;
}

:root {
    --bg: #0f1115;
    --bg-soft: #151921;
    --surface: rgba(28, 32, 40, 0.96);
    --surface-soft: rgba(22, 26, 34, 0.98);
    --surface-strong: rgba(19, 23, 30, 0.98);
    --border: rgba(170, 180, 195, 0.14);
    --border-strong: rgba(170, 180, 195, 0.22);
    --text: #ffffff;
    --muted: #aab4c3;
    --green: #16c05d;
    --yellow: #ffd500;
    --danger: #ff6a4f;
    --warning: #ffbf3c;
    --shadow: 0 24px 52px rgba(0, 0, 0, 0.32);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --sidebar-width: 268px;
    --poster-review-columns: 4;
    --poster-display-font: "Knewave", "Permanent Marker", "Arial Black", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: dark;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(22, 192, 93, 0.08), transparent 24%),
        radial-gradient(circle at 82% 16%, rgba(255, 213, 0, 0.06), transparent 22%),
        linear-gradient(180deg, #0f1115 0%, #12161d 52%, #0f1115 100%);
}

img {
    display: block;
    max-width: 100%;
}

button,
input {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
strong,
.brand__name {
    font-family: "Sora", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

svg {
    display: block;
}

.shell {
    position: relative;
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
    min-height: 100vh;
    overflow: hidden;
}

.shell::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        radial-gradient(circle at 62% 12%, rgba(22, 192, 93, 0.09), transparent 24%),
        radial-gradient(circle at 72% 64%, rgba(255, 213, 0, 0.05), transparent 24%);
}

.sidebar {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px 18px;
    background: linear-gradient(180deg, rgba(9, 12, 18, 0.98), rgba(12, 16, 24, 0.96));
    border-right: 1px solid rgba(170, 180, 195, 0.08);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 10px;
}

.brand__wordmark {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand__name {
    font-size: 1.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand__subtitle {
    color: rgba(22, 192, 93, 0.86);
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.nav {
    display: grid;
    gap: 6px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 16px;
    color: #dce6f0;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-item:hover {
    transform: translateX(2px);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(170, 180, 195, 0.12);
}

.nav-item--active {
    color: #ffffff;
    background: linear-gradient(90deg, rgba(22, 192, 93, 0.16), rgba(22, 192, 93, 0.04));
    border-color: rgba(22, 192, 93, 0.18);
    box-shadow: inset 2px 0 0 var(--green);
}

.nav-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #e7eef7;
}

.sidebar-card,
.sidebar-profile {
    padding: 18px;
    border: 1px solid rgba(170, 180, 195, 0.12);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(19, 23, 30, 0.98), rgba(14, 18, 24, 0.96));
}

.sidebar-card {
    margin-top: auto;
}

.sidebar-card h3,
.sidebar-profile__title {
    margin: 0 0 6px;
    font-size: 1rem;
}

.sidebar-card p,
.sidebar-profile__subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
}

.progress {
    margin: 18px 0 10px;
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.progress__bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #16c05d, #3ed17b);
}

.sidebar-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    color: var(--green);
}

.outline-button,
.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 16px;
    font-size: 0.96rem;
    font-weight: 700;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.outline-button {
    width: 100%;
    border-color: rgba(22, 192, 93, 0.2);
    background: rgba(22, 192, 93, 0.06);
    color: #f1fff8;
}

.primary-button {
    background: linear-gradient(180deg, #ffd500, #f0c300);
    color: #201803;
    box-shadow: 0 18px 32px rgba(255, 213, 0, 0.18);
}

.secondary-button {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--border-strong);
    color: #f4f8ff;
}

.outline-button:hover,
.primary-button:hover,
.secondary-button:hover,
.action-tile:hover,
.format-card:hover {
    transform: translateY(-2px);
}

.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(22, 192, 93, 0.6);
    color: var(--green);
    font-weight: 800;
    background: radial-gradient(circle at 30% 30%, rgba(22, 192, 93, 0.16), rgba(0, 0, 0, 0.08));
}

.main {
    position: relative;
    z-index: 1;
    padding: 22px 22px 30px;
}

.topbar {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.topbar__search {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-height: 58px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(12, 16, 22, 0.9);
}

.topbar__search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ecf4ff;
    font-size: 1rem;
}

.topbar__kbd {
    padding: 6px 10px;
    border: 1px solid rgba(170, 180, 195, 0.14);
    border-radius: 10px;
    color: var(--muted);
    font-size: 0.82rem;
    white-space: nowrap;
}

.topbar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(170, 180, 195, 0.14);
    border-radius: 16px;
    background: rgba(12, 16, 22, 0.86);
    color: #f4f8ff;
}

.icon-button__badge {
    position: absolute;
    top: -5px;
    right: -4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--green);
    color: #04100b;
    font-size: 0.72rem;
    font-weight: 800;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.88fr);
    gap: 18px;
}

.dashboard-grid>*,
.stack>* {
    min-width: 0;
}

.stack {
    display: grid;
    gap: 18px;
}

.panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(22, 26, 34, 0.96), rgba(16, 20, 28, 0.98)),
        rgba(16, 20, 28, 0.98);
    box-shadow: var(--shadow);
}

.panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.panel__title {
    margin: 0;
    font-size: 1.22rem;
    letter-spacing: 0.02em;
}

.panel__link {
    color: var(--green);
    font-weight: 700;
}

.section-panel,
.list-panel {
    padding: 20px;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    padding: 34px 34px 24px;
}

.hero-panel::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.2)),
        radial-gradient(circle at 72% 32%, rgba(22, 192, 93, 0.14), transparent 30%),
        radial-gradient(circle at 70% 62%, rgba(255, 213, 0, 0.07), transparent 24%);
}

.hero-panel__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: 24px;
    align-items: center;
}

.hero-panel__eyebrow {
    margin: 0 0 14px;
    color: var(--green);
    font-size: 0.86rem;
    letter-spacing: 0.22em;
    line-height: 1.55;
    text-transform: uppercase;
}

.hero-panel h1 {
    margin: 0;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 0.98;
}

.hero-panel h1 span {
    display: block;
    color: var(--green);
}

.hero-panel p {
    max-width: 540px;
    margin: 18px 0 0;
    color: #d0d9e5;
    font-size: 1.08rem;
    line-height: 1.72;
}

.hero-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.hero-orbit {
    position: relative;
    min-height: 250px;
}

.hero-orbit__core {
    position: absolute;
    left: 50%;
    top: 54%;
    transform: translate(-50%, -50%);
    width: 170px;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.14), transparent 34%),
        radial-gradient(circle at 50% 50%, rgba(22, 192, 93, 0.32), rgba(22, 192, 93, 0.08) 45%, rgba(0, 0, 0, 0.12) 70%);
    box-shadow:
        0 0 0 1px rgba(22, 192, 93, 0.16),
        0 0 44px rgba(22, 192, 93, 0.14);
}

.hero-orbit__core::before,
.hero-orbit__core::after {
    position: absolute;
    inset: -12px;
    content: "";
    border-radius: 50%;
    border: 1px solid rgba(22, 192, 93, 0.12);
}

.hero-orbit__core::after {
    inset: 16px;
    border-color: rgba(255, 213, 0, 0.18);
}

.hero-orbit__logo {
    position: absolute;
    inset: 50%;
    width: 84px;
    height: 84px;
    transform: translate(-50%, -50%);
}

.hero-orbit__pulse {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    width: 220px;
    height: 34px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 213, 0, 0.2), rgba(22, 192, 93, 0.08) 44%, transparent 70%);
    filter: blur(6px);
}

.hero-node {
    position: absolute;
    display: grid;
    place-items: center;
    width: 96px;
    aspect-ratio: 1;
    padding: 12px;
    border-radius: 22px;
    border: 1px solid rgba(22, 192, 93, 0.16);
    background: linear-gradient(180deg, rgba(22, 26, 34, 0.98), rgba(14, 18, 24, 0.94));
    text-align: center;
}

.hero-node span {
    display: block;
    margin-top: 8px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #f4fbff;
}

.hero-node--1 {
    top: 0;
    left: 38%;
}

.hero-node--2 {
    top: 18%;
    right: 4%;
}

.hero-node--3 {
    left: 10%;
    top: 42%;
}

.hero-node--4 {
    right: 6%;
    top: 58%;
}

.hero-dots {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 14px;
}

.hero-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.hero-dots span.is-active {
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(22, 192, 93, 0.12);
}

.assistant-card {
    padding: 22px 24px;
    min-height: 334px;
}

.assistant-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
    background: rgba(22, 192, 93, 0.08);
    border: 1px solid rgba(22, 192, 93, 0.16);
}

.assistant-card__orb {
    width: min(220px, 100%);
    margin: 18px auto;
}

.assistant-card__title {
    margin: 0;
    text-align: center;
    font-size: 1.8rem;
}

.assistant-card__body {
    max-width: 280px;
    margin: 10px auto 0;
    text-align: center;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.65;
}

.assistant-card__button {
    margin-top: 18px;
    width: 100%;
}

.stats-grid,
.actions-grid,
.projects-grid,
.formats-grid,
.engine-grid {
    display: grid;
    gap: 16px;
}

.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
    padding: 18px 18px 16px;
}

.stat-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-card__icon,
.action-tile__icon,
.list-item__icon,
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--green);
    background: linear-gradient(180deg, rgba(22, 192, 93, 0.18), rgba(22, 192, 93, 0.06));
}

.stat-card__icon,
.list-item__icon {
    width: 48px;
    height: 48px;
}

.stat-card__label {
    color: #dce6f2;
    font-size: 0.95rem;
}

.stat-card__value {
    margin: 14px 0 0;
    font-size: 2.2rem;
    font-weight: 700;
}

.stat-card__delta {
    display: inline-flex;
    gap: 6px;
    margin-top: 8px;
    color: var(--green);
    font-weight: 700;
}

.stat-card__delta small {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 500;
}

.actions-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.action-tile {
    min-height: 132px;
    padding: 18px 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(16, 20, 28, 0.94), rgba(12, 16, 22, 0.96));
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.action-tile:hover,
.action-tile.is-active {
    border-color: rgba(22, 192, 93, 0.24);
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.2);
}

.action-tile__icon {
    width: 54px;
    height: 54px;
}

.action-tile__label {
    display: block;
    margin-top: 18px;
    font-size: 1rem;
    color: #f7fbff;
}

.projects-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.project-card {
    overflow: hidden;
}

.project-card__art {
    position: relative;
    height: 126px;
    margin-bottom: 14px;
    padding: 14px;
    border-radius: 18px;
    overflow: hidden;
}

.project-card__art::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.16), transparent 26%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.34));
}

.project-card__art--coffee {
    background:
        radial-gradient(circle at 20% 25%, rgba(255, 213, 0, 0.4), transparent 30%),
        linear-gradient(135deg, #5d3518, #161b15 72%);
}

.project-card__art--meat {
    background:
        radial-gradient(circle at 22% 22%, rgba(255, 106, 79, 0.38), transparent 32%),
        linear-gradient(135deg, #4b1010, #1b0707 72%);
}

.project-card__art--premium {
    background:
        radial-gradient(circle at 28% 22%, rgba(255, 213, 0, 0.28), transparent 30%),
        linear-gradient(135deg, #2b313a, #0b0e12 74%);
}

.project-card__art--soda {
    background:
        radial-gradient(circle at 30% 30%, rgba(22, 192, 93, 0.24), transparent 32%),
        linear-gradient(135deg, #0f3443, #091219 75%);
}

.project-card__art--grain {
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 191, 60, 0.28), transparent 34%),
        linear-gradient(135deg, #4d3211, #1a1209 70%);
}

.project-card__badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    color: #f9fcff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.project-card__product,
.project-card__price {
    position: relative;
    z-index: 1;
}

.project-card__product {
    position: absolute;
    left: 14px;
    bottom: 18px;
    color: #f6fbff;
    font-weight: 700;
    font-size: 0.96rem;
}

.project-card__price {
    position: absolute;
    right: 16px;
    bottom: 12px;
    text-align: right;
    color: var(--yellow);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.project-card__price small {
    display: block;
    margin-top: 4px;
    font-size: 0.82rem;
    color: #eaf1fa;
}

.project-card__category,
.project-card__meta,
.list-item__meta,
.cartazes-copy,
.format-card__head span,
.format-card__body p,
.engine-card li,
.poster-summary span,
.poster-summary li,
.control-card p,
.control-card__meta,
.footer-brand span {
    color: var(--muted);
}

.project-card__category {
    margin: 0;
    font-size: 0.9rem;
}

.project-card__title {
    margin: 4px 0 0;
    font-size: 1.22rem;
}

.project-card__meta {
    margin: 8px 0 0;
    font-size: 0.92rem;
}

.list {
    display: grid;
    gap: 12px;
}

.list-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 16px;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(170, 180, 195, 0.08);
}

.list-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.list-item__title {
    margin: 0;
    font-size: 1rem;
}

.list-item__meta {
    margin: 6px 0 0;
    font-size: 0.9rem;
}

.list-item__arrow {
    opacity: 0.64;
}

.alert-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.03);
}

.alert-dot--high {
    background: var(--danger);
}

.alert-dot--medium {
    background: var(--warning);
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    color: #c8d6e4;
}

.cartazes-grid {
    align-items: start;
}

.cartazes-intro__header {
    align-items: flex-start;
}

.cartazes-kicker {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(22, 192, 93, 0.08);
    border: 1px solid rgba(22, 192, 93, 0.14);
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cartazes-title {
    margin: 16px 0 0;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.cartazes-copy {
    margin: 20px 0 0;
    max-width: 72ch;
    font-size: 1.02rem;
    line-height: 1.78;
}

.formats-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.formats-grid.formats-grid--spotlight {
    margin-top: 18px;
}

.format-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    min-height: 340px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(12, 15, 22, 0.94), rgba(16, 20, 28, 0.96));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.format-card:hover,
.format-card.is-active {
    transform: translateY(-6px);
    border-color: rgba(22, 192, 93, 0.35);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
    background: linear-gradient(180deg, rgba(17, 25, 37, 0.95), rgba(10, 14, 20, 0.98));
}

.format-card__preview {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(170, 180, 195, 0.08);
    background: #10131a;
    aspect-ratio: 1.15;
}

.format-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.format-card__copy h3 {
    font-size: 1.35rem;
    margin: 0;
    line-height: 1.05;
}

.format-card__copy span {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.98rem;
    line-height: 1.6;
}

.format-card__action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #b7f1c0;
}

.format-card__action-icon svg {
    transform: translateX(1px);
}

.format-card__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.format-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.format-card__head h3 {
    margin: 0;
    font-size: 1rem;
}

.recommended-panel,
.recent-panel,
.cartazes-promo-panel {
    margin-top: 36px;
}

.recommended-panel__title,
.recent-panel__title {
    margin-bottom: 18px;
    font-size: 1rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.recommended-formats,
.recent-formats {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.recommended-format,
.recent-format {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.recommended-format:hover,
.recent-format:hover,
.recent-format.is-active,
.recommended-format:hover {
    transform: translateY(-4px);
    border-color: rgba(22, 192, 93, 0.35);
    background: rgba(22, 192, 93, 0.08);
}

.recommended-format__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #d7f7dd;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.recommended-format__thumb,
.recent-format__thumb {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    overflow: hidden;
    background: #0a0f14;
}

.recommended-format__thumb img,
.recent-format__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cartazes-promo-card {
    padding: 32px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(15, 17, 21, 0.98), rgba(8, 10, 14, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.cartazes-promo-card h2 {
    margin: 0 0 14px;
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    line-height: 1.05;
}

.cartazes-promo-card p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.74);
    max-width: 58ch;
}

.cartazes-promo-list {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cartazes-promo-list li {
    padding-left: 20px;
    position: relative;
    color: rgba(255, 255, 255, 0.82);
}

.cartazes-promo-list li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: #54f5b0;
}

.batch-input-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.batch-tool {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(14, 18, 24, 0.95);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.batch-tool:hover {
    transform: translateY(-1px);
    border-color: rgba(22, 192, 93, 0.35);
    background: rgba(22, 192, 93, 0.12);
}

.batch-tool--primary {
    background: linear-gradient(135deg, rgba(22, 192, 93, 0.24), rgba(72, 223, 141, 0.18));
}

.batch-tool--ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
}

.batch-upload-menu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.batch-upload-menu__item {
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: transparent;
    color: #f7f9fc;
    font-weight: 700;
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease;
}

.batch-upload-menu__item:hover {
    background: rgba(22, 192, 93, 0.12);
    border-color: rgba(22, 192, 93, 0.35);
}

.batch-input-card__textarea {
    min-height: 280px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(15, 19, 27, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 16px rgba(0, 0, 0, 0.16);
    overflow-y: auto;
    resize: none;
    font-size: 1rem;
    line-height: 1.75;
}

.batch-input-card__textarea:focus {
    border-color: rgba(22, 192, 93, 0.38);
    box-shadow: 0 0 0 4px rgba(22, 192, 93, 0.08);
    background: rgba(16, 20, 28, 0.98);
}

.batch-magic-controls {
    display: grid;
    gap: 14px;
    padding: 18px;
    margin-top: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.batch-magic-controls span {
    font-weight: 700;
    color: #f7f9fc;
}

.batch-toggle-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.batch-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease;
}

.batch-toggle input {
    accent-color: #54f5b0;
}

.batch-toggle:hover {
    background: rgba(22, 192, 93, 0.08);
    border-color: rgba(22, 192, 93, 0.22);
}

.batch-summary-card--accent {
    background: rgba(22, 192, 93, 0.08);
    border-color: rgba(22, 192, 93, 0.22);
}

.batch-input-actions {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.batch-progress {
    display: grid;
    gap: 10px;
}

.batch-progress__bar {
    width: 100%;
    min-height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.batch-progress__bar span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(22, 192, 93, 0.85), rgba(82, 245, 176, 0.85));
    transition: width 220ms ease;
}

.batch-organize-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(22, 192, 93, 0.95), rgba(14, 144, 86, 0.95));
    color: #07130e;
    box-shadow: 0 18px 40px rgba(22, 192, 93, 0.18);
}

.batch-organize-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 44px rgba(22, 192, 93, 0.22);
}

.batch-organize-button.is-loading {
    opacity: 0.8;
}

.batch-organize-button.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 1120px) {

    .formats-grid,
    .recommended-formats,
    .recent-formats {
        grid-template-columns: 1fr;
    }

    .batch-input-card {
        padding: 20px;
    }
}

.format-card__head span {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.format-card__body p {
    margin: 8px 0 0;
    font-size: 0.9rem;
    line-height: 1.65;
}

.engine-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.engine-card,
.poster-summary__block,
.control-card {
    padding: 18px;
    border: 1px solid rgba(170, 180, 195, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
}

.engine-card h3,
.control-card h3 {
    margin: 0 0 14px;
    font-size: 1rem;
}

.engine-card ul,
.poster-summary__block ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 18px;
}

.engine-card li,
.poster-summary li {
    line-height: 1.6;
}

.cartazes-preview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.poster-preview-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.78fr);
    gap: 18px;
}

.poster-preview {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 420px;
    padding: 26px;
    overflow: hidden;
    border-radius: 26px;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 213, 0, 0.34), transparent 28%),
        linear-gradient(160deg, rgba(22, 192, 93, 0.18), rgba(15, 17, 21, 0.12) 40%),
        linear-gradient(180deg, #2a2410 0%, #16191d 56%, #0f1115 100%);
}

.poster-preview::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 12%, rgba(10, 12, 15, 0.6) 100%);
}

.poster-preview>* {
    position: relative;
    z-index: 1;
}

.poster-preview--a4-4x1,
.poster-preview--a4-2x1 {
    min-height: 320px;
}

.poster-preview--sra3 {
    min-height: 460px;
}

.poster-preview__highlight {
    display: inline-flex;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 17, 21, 0.38);
    color: #fff8d1;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.poster-preview__title {
    display: grid;
    gap: 4px;
    margin-top: 0;
}

.poster-preview__title span {
    font-family: "Sora", "Segoe UI", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.8rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.poster-preview__copy {
    display: grid;
    gap: 12px;
    margin-top: auto;
}

.poster-preview__subtitle {
    max-width: 24ch;
    color: #edf4fb;
    font-size: clamp(1rem, 1.8vw, 1.34rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.poster-preview__gramatura {
    display: inline-flex;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.24);
    color: #f2f8ff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.poster-preview__price {
    margin-top: 20px;
    color: var(--yellow);
    line-height: 1;
}

.poster-preview__price--dominant,
.poster-preview__price--hero,
.poster-preview__price--impact {
    font-size: clamp(3.1rem, 7vw, 5.2rem);
}

.poster-preview__price--large,
.poster-preview__price--bold,
.poster-preview__price--premium {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.poster-preview__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    color: #eff5ff;
    font-size: 0.86rem;
    font-weight: 700;
}

.poster-preview__footer span {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.22);
}

.poster-summary {
    display: grid;
    gap: 14px;
}

.poster-summary__block {
    display: grid;
    gap: 10px;
}

.poster-summary__fields {
    display: grid;
    gap: 12px;
}

.poster-summary__row {
    display: grid;
    gap: 4px;
}

.poster-summary__row small {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.poster-summary__row strong {
    font-size: 0.98rem;
    line-height: 1.55;
}

.poster-summary__block span {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.poster-summary__block strong {
    font-size: 1.04rem;
    line-height: 1.55;
}

.flow-steps {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.flow-steps li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(170, 180, 195, 0.08);
}

.flow-steps li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.flow-steps span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(22, 192, 93, 0.1);
    color: var(--green);
    font-weight: 800;
}

.control-stack {
    display: grid;
    gap: 14px;
}

.control-card__label {
    display: inline-flex;
    margin-bottom: 10px;
    color: #f3f7fd;
    font-size: 0.9rem;
    font-weight: 700;
}

.ai-input {
    display: grid;
}

.ai-textarea {
    width: 100%;
    min-height: 120px;
    padding: 14px 16px;
    border: 1px solid rgba(170, 180, 195, 0.14);
    border-radius: 16px;
    background: rgba(10, 13, 18, 0.86);
    color: #f5f8fd;
    resize: vertical;
}

.ai-textarea:focus {
    outline: 0;
    border-color: rgba(22, 192, 93, 0.28);
    box-shadow: 0 0 0 3px rgba(22, 192, 93, 0.08);
}

.ai-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

.ai-button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.ai-status {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.ai-status.is-error {
    color: #ff9b87;
}

.control-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.control-pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(170, 180, 195, 0.12);
    background: rgba(255, 255, 255, 0.02);
    color: #ecf4ff;
    font-size: 0.86rem;
    font-weight: 700;
}

.control-pill.is-active {
    border-color: rgba(22, 192, 93, 0.18);
    background: rgba(22, 192, 93, 0.08);
    color: #f1fff8;
}

.control-card p {
    margin: 0;
    line-height: 1.7;
}

.control-card__meta {
    margin-top: 10px !important;
    font-size: 0.92rem;
}

.semantic-grid {
    display: grid;
    gap: 12px;
}

.semantic-field {
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    border: 1px solid rgba(170, 180, 195, 0.12);
    border-radius: 14px;
    background: rgba(10, 13, 18, 0.56);
}

.semantic-field span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.semantic-field strong {
    min-height: 1.4em;
    color: #f5f8fd;
    font-size: 0.98rem;
    line-height: 1.55;
}

.ai-json {
    margin: 14px 0 0;
    padding: 14px 16px;
    border: 1px solid rgba(170, 180, 195, 0.12);
    border-radius: 16px;
    background: rgba(8, 11, 16, 0.92);
    color: #dff2e6;
    font-size: 0.85rem;
    line-height: 1.65;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
}

@media (max-width: 1360px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel__content,
    .poster-preview-layout {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .formats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1120px) {
    .shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        gap: 14px;
        border-right: 0;
        border-bottom: 1px solid rgba(170, 180, 195, 0.1);
    }

    .nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .stats-grid,
    .engine-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .actions-grid,
    .projects-grid,
    .formats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .main {
        padding: 16px;
    }

    .topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .topbar__actions {
        justify-content: flex-end;
    }

    .nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-panel,
    .section-panel,
    .list-panel {
        padding: 18px;
    }

    .hero-panel h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 580px) {
    .sidebar {
        padding: 18px 12px 10px;
    }

    .main {
        padding: 0 0 16px;
    }

    .nav {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 6px;
        scrollbar-width: thin;
    }

    .nav-item {
        flex: 0 0 auto;
        min-width: max-content;
    }

    .sidebar-card,
    .sidebar-profile,
    .topbar__actions {
        display: none;
    }

    .stats-grid,
    .actions-grid,
    .projects-grid,
    .formats-grid,
    .engine-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        padding: 20px;
    }

    .hero-panel__eyebrow,
    .hero-panel__actions,
    .hero-orbit,
    .hero-dots {
        display: none;
    }

    .hero-panel__content {
        grid-template-columns: 1fr;
    }

    .hero-panel h1 {
        font-size: 2rem;
    }

    .cartazes-intro__header {
        flex-direction: column;
    }

    .cartazes-preview-actions,
    .hero-panel__actions {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .ai-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .poster-preview {
        min-height: 320px;
        padding: 20px;
    }
}

.shell {
    display: block;
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    gap: 18px;
    padding: 20px 16px 18px;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(10, 13, 19, 0.99), rgba(12, 16, 23, 0.98));
    box-shadow: 20px 0 48px rgba(0, 0, 0, 0.22);
}

.sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sidebar__close {
    display: none;
}

.sidebar__primary {
    width: 100%;
    min-height: 54px;
}

.sidebar__label {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.sidebar-card--compact {
    margin-top: auto;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 29;
    border: 0;
    padding: 0;
    background: rgba(6, 8, 12, 0.56);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.main {
    margin-left: var(--sidebar-width);
    width: calc(100vw - var(--sidebar-width));
    max-width: calc(100vw - var(--sidebar-width));
    padding: 18px 22px 28px;
}

.topbar {
    position: sticky;
    top: 12px;
    z-index: 18;
    justify-content: space-between;
    padding: 12px 14px;
    border: 1px solid rgba(170, 180, 195, 0.1);
    border-radius: 20px;
    background: rgba(15, 18, 24, 0.88);
    backdrop-filter: blur(14px);
}

.topbar__identity {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.topbar__menu {
    display: none;
    flex: 0 0 auto;
}

.topbar__headline {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.topbar__title {
    font-family: "Sora", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.topbar__subtitle {
    color: var(--muted);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar__actions {
    flex-wrap: wrap;
}

.topbar__action {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.9rem;
}

.topbar__action--secondary {
    background: rgba(255, 255, 255, 0.02);
}

.panel {
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

.panel__header--compact {
    margin-bottom: 12px;
}

.cartazes-shell {
    display: grid;
    gap: 16px;
    width: 100%;
    min-width: 0;
}

.ops-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.ops-header__copy {
    display: grid;
    gap: 6px;
}

.ops-header__title {
    margin: 0;
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    letter-spacing: 0.08em;
}

.ops-header__subtitle {
    margin: 0;
    color: #edf3fb;
    font-size: 1.02rem;
    line-height: 1.4;
}

.ops-header__meta {
    display: grid;
    gap: 4px;
    justify-items: end;
    text-align: right;
}

.ops-header__meta span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ops-header__meta strong {
    font-size: 1rem;
}

.format-section {
    padding-top: 18px;
}

.ops-section-heading {
    display: grid;
    gap: 6px;
}

.ops-section-heading__subtitle {
    margin: 0;
    color: var(--ops-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.formats-grid--spotlight {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.format-card {
    gap: 16px;
    padding: 16px;
    min-height: 280px;
    border-radius: 22px;
    border-color: rgba(170, 180, 195, 0.1);
    background:
        linear-gradient(180deg, rgba(27, 31, 38, 0.98), rgba(18, 22, 29, 0.98)),
        rgba(18, 22, 29, 0.98);
}

.format-card:hover {
    border-color: rgba(255, 213, 0, 0.2);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.2);
}

.format-card.is-active {
    border-color: rgba(22, 192, 93, 0.3);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.22);
}

.format-card__preview {
    aspect-ratio: 1.26;
    border-radius: 18px;
}

.format-card__head h3 {
    font-size: 1.1rem;
}

.format-card__head span {
    color: #dce7f2;
}

.format-card__body {
    display: grid;
    gap: 10px;
    height: 100%;
}

.format-card__body p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.55;
}

.format-card__action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(170, 180, 195, 0.08);
    color: #f8fbff;
}

.format-card__action strong {
    font-family: "Manrope", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.flow-strip-panel {
    overflow: hidden;
}

.flow-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.flow-strip__item {
    position: relative;
    display: grid;
    gap: 10px;
    min-height: 96px;
    padding: 14px;
    border: 1px solid rgba(170, 180, 195, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
}

.flow-strip__item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: rgba(22, 192, 93, 0.1);
    color: var(--green);
    font-size: 0.9rem;
    font-weight: 800;
}

.flow-strip__item strong {
    font-size: 0.94rem;
    line-height: 1.35;
}

.recent-formats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.recent-format {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(170, 180, 195, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.recent-format:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 213, 0, 0.18);
}

.recent-format.is-active {
    border-color: rgba(22, 192, 93, 0.24);
    background: rgba(22, 192, 93, 0.06);
}

.recent-format__thumb {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(170, 180, 195, 0.1);
}

.recent-format__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-format__copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.recent-format__copy strong {
    font-size: 0.94rem;
}

.recent-format__copy small {
    color: var(--muted);
    font-size: 0.82rem;
}

.cartazes-workspace {
    display: grid;
    grid-template-columns: minmax(340px, 0.92fr) minmax(0, 1.08fr);
    gap: 16px;
    align-items: start;
    width: 100%;
}

.control-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.control-card {
    background: rgba(255, 255, 255, 0.018);
}

.ai-button.is-loading {
    opacity: 0.85;
    filter: saturate(0.94);
}

.ai-json-toggle {
    margin-top: 14px;
}

.ai-json-toggle summary {
    cursor: pointer;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
    list-style: none;
}

.ai-json-toggle summary::-webkit-details-marker {
    display: none;
}

.poster-preview-layout {
    grid-template-columns: minmax(0, 1.22fr) minmax(240px, 0.78fr);
}

.poster-preview {
    min-height: 390px;
}

@media (max-width: 1360px) {

    .formats-grid--spotlight,
    .recent-formats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .flow-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1120px) {
    .sidebar {
        z-index: 30;
        width: min(86vw, 320px);
        transform: translateX(-100%);
        transition: transform 220ms ease;
    }

    .nav {
        display: grid;
        grid-template-columns: 1fr;
        overflow: visible;
        padding-bottom: 0;
    }

    .sidebar__close,
    .topbar__menu {
        display: inline-flex;
    }

    .sidebar-open .sidebar {
        transform: translateX(0);
    }

    .sidebar-open .sidebar-overlay {
        opacity: 1;
        visibility: visible;
    }

    .main {
        margin-left: 0;
        width: auto;
        max-width: none;
        padding: 14px 16px 24px;
    }

    .formats-grid--spotlight,
    .recent-formats,
    .flow-strip,
    .cartazes-workspace {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .poster-preview-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .topbar {
        top: 0;
        flex-direction: column;
        align-items: stretch;
    }

    .topbar__actions {
        justify-content: stretch;
    }

    .topbar__action {
        flex: 1 1 0;
    }

    .ops-header,
    .ops-header__meta {
        justify-items: start;
        text-align: left;
    }

    .ops-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .formats-grid--spotlight,
    .recent-formats,
    .flow-strip,
    .control-grid,
    .cartazes-workspace {
        grid-template-columns: 1fr;
    }

    .flow-strip {
        gap: 8px;
    }
}

@media (max-width: 580px) {
    .main {
        padding: 10px 10px 20px;
    }

    .topbar {
        padding: 10px 12px;
        border-radius: 18px;
    }

    .topbar__subtitle {
        white-space: normal;
    }

    .topbar__actions {
        display: flex;
        flex-direction: column;
    }

    .ops-header {
        padding: 14px;
    }

    .section-panel,
    .list-panel {
        padding: 16px;
    }

    .panel__header,
    .panel__header--compact {
        flex-direction: column;
        align-items: flex-start;
    }

    .format-card {
        min-height: 244px;
    }

    .recent-format {
        padding: 10px;
    }

    .poster-preview {
        min-height: 300px;
        padding: 18px;
    }

    .ai-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Operational cartazes shell */
:root {
    --ops-sidebar-width: 184px;
    --ops-border: rgba(255, 255, 255, 0.08);
    --ops-border-strong: rgba(22, 192, 93, 0.35);
    --ops-surface: #10141b;
    --ops-surface-raised: #131821;
    --ops-text: #f7f9fc;
    --ops-muted: #aab4c3;
    --ops-green: #16c05d;
    --ops-yellow: #ffd500;
}

body {
    background:
        radial-gradient(circle at top center, rgba(22, 192, 93, 0.08), transparent 32%),
        linear-gradient(180deg, #05070b 0%, #0a0d12 44%, #090c10 100%);
    color: var(--ops-text);
    overflow-x: hidden;
}

.shell {
    min-height: 100vh;
    background: transparent;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    display: flex;
    flex-direction: column;
    width: var(--ops-sidebar-width);
    height: 100vh;
    overflow-y: auto;
    padding: 22px 18px 18px;
    background:
        linear-gradient(180deg, rgba(10, 13, 18, 0.98) 0%, rgba(8, 11, 16, 0.98) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 24px 0 60px rgba(0, 0, 0, 0.34);
    z-index: 30;
}

.sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.sidebar__close,
.topbar__menu {
    display: none;
}

.nav {
    display: grid;
    gap: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    color: rgba(239, 243, 249, 0.9);
    background: transparent;
    transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(2px);
}

.nav-item--active {
    background: linear-gradient(135deg, rgba(22, 192, 93, 0.24), rgba(9, 53, 27, 0.92));
    color: #f7fff9;
    box-shadow: 0 0 0 1px rgba(22, 192, 93, 0.18), 0 14px 28px rgba(5, 22, 11, 0.28);
}

.nav-item__icon {
    color: inherit;
}

.sidebar__divider {
    height: 1px;
    margin: 24px 0 14px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.sidebar__divider--footer {
    margin-top: auto;
}

.sidebar__label {
    margin-bottom: 10px;
    color: rgba(170, 180, 195, 0.78);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.sidebar-formats {
    display: grid;
    gap: 5px;
}

.sidebar-format {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 11px;
    color: rgba(239, 243, 249, 0.9);
    transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.sidebar-format:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(2px);
}

.sidebar-format.is-active {
    background: linear-gradient(135deg, rgba(22, 192, 93, 0.2), rgba(9, 53, 27, 0.84));
    color: #f7fff9;
    box-shadow: inset 0 0 0 1px rgba(22, 192, 93, 0.24);
}

.sidebar-format__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ops-green);
    box-shadow: 0 0 0 5px rgba(22, 192, 93, 0.12);
}

.sidebar-profile {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 68px;
}

.sidebar-profile__title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
}

.sidebar-profile__subtitle {
    margin: 2px 0 0;
    color: var(--ops-muted);
    font-size: 0.9rem;
}

.sidebar-profile__chevron {
    display: inline-flex;
    color: rgba(239, 243, 249, 0.7);
}

.main {
    margin-left: var(--ops-sidebar-width);
    width: calc(100% - var(--ops-sidebar-width));
    max-width: none;
    padding: 0 26px 26px;
    background: transparent;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 16;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: linear-gradient(180deg, rgba(7, 9, 13, 0.95) 0%, rgba(7, 9, 13, 0.84) 68%, rgba(7, 9, 13, 0) 100%);
    backdrop-filter: blur(14px);
}

.topbar__identity {
    display: flex;
    align-items: center;
    min-height: 36px;
}

.topbar__brand-mobile {
    display: none;
}

.topbar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.topbar__utility {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 4px;
    color: rgba(247, 249, 252, 0.92);
    font-size: 0.95rem;
    font-weight: 600;
}

.topbar__utility:hover {
    color: #ffffff;
}

.topbar__utility--icon-only {
    justify-content: center;
    width: 38px;
    padding: 0;
}

.topbar__utility-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.topbar__utility-icon.has-badge::after {
    content: "";
    position: absolute;
    top: -1px;
    right: -1px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ops-green);
    box-shadow: 0 0 0 4px rgba(22, 192, 93, 0.12);
}

.topbar__primary {
    min-height: 52px;
    padding: 0 26px;
    border-radius: 12px;
    background: linear-gradient(135deg, #18c55f, #10a84e);
    color: #f9fffb;
    box-shadow: 0 16px 30px rgba(7, 66, 30, 0.26);
}

.topbar__primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 34px rgba(7, 66, 30, 0.32);
}

.cartazes-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cartazes-heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 2px 4px 0;
}

.cartazes-heading__title {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.cartazes-heading__subtitle {
    margin: 0;
    color: var(--ops-muted);
    font-size: 0.96rem;
}

.formats-spotlight {
    width: 100%;
}

.formats-grid--spotlight {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.format-card {
    display: flex;
    flex-direction: column;
    min-height: 316px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(20, 24, 32, 0.96) 0%, rgba(12, 16, 23, 0.98) 100%);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.24);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.format-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(22, 192, 93, 0.32);
    box-shadow: 0 28px 52px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(22, 192, 93, 0.1);
}

.format-card.is-active {
    border-color: rgba(22, 192, 93, 0.72);
    box-shadow: 0 0 0 1px rgba(22, 192, 93, 0.24), 0 30px 58px rgba(0, 0, 0, 0.34);
}

.format-card__preview {
    height: 206px;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0f1218;
}

.format-card__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.format-card__body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding-top: 16px;
}

.format-card__copy h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.format-card__copy span {
    display: block;
    margin-top: 6px;
    color: var(--ops-muted);
    font-size: 0.9rem;
}

.format-card__action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #f7f9fc;
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.format-card:hover .format-card__action-icon,
.format-card.is-active .format-card__action-icon {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(2px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.recent-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recent-panel__title {
    margin: 0;
    color: rgba(247, 249, 252, 0.84);
    font-size: 0.79rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.recent-formats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.recent-format {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(16, 20, 27, 0.94);
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.recent-format:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.14);
}

.recent-format.is-active {
    border-color: rgba(22, 192, 93, 0.32);
    background: linear-gradient(180deg, rgba(17, 24, 17, 0.98) 0%, rgba(14, 18, 24, 0.98) 100%);
}

.recent-format__thumb {
    overflow: hidden;
    border-radius: 10px;
    background: #0d1015;
}

.recent-format__thumb img {
    width: 100%;
    height: 42px;
    object-fit: cover;
    display: block;
}

.recent-format__copy strong {
    display: block;
    font-size: 0.96rem;
    font-weight: 700;
}

.recent-format__copy small {
    display: block;
    margin-top: 4px;
    color: var(--ops-muted);
    font-size: 0.82rem;
}

.recent-format--all {
    grid-template-columns: auto 1fr;
}

.recent-format__all-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(247, 249, 252, 0.92);
}

.cartazes-workspace {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 16px;
    align-items: start;
}

.entry-panel,
.preview-panel {
    border-radius: 18px;
    border: 1px solid var(--ops-border);
    background: linear-gradient(180deg, rgba(18, 22, 29, 0.96) 0%, rgba(13, 17, 24, 0.98) 100%);
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.22);
    padding: 14px 18px 18px;
}

.entry-panel__header,
.preview-panel__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.entry-panel__badge,
.preview-panel__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(22, 192, 93, 0.14);
    color: var(--ops-green);
}

.entry-panel__title,
.preview-panel__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.quick-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

.quick-field,
.quick-upload {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-field--wide,
.quick-upload {
    grid-column: 1 / -1;
}

.quick-field__label {
    color: rgba(247, 249, 252, 0.95);
    font-size: 0.9rem;
    font-weight: 600;
}

.quick-field__meta {
    position: absolute;
    top: 0;
    right: 0;
    color: rgba(170, 180, 195, 0.82);
    font-size: 0.78rem;
    font-weight: 600;
}

.quick-field__input,
.quick-field__select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: #141922;
    color: var(--ops-text);
    font-size: 0.96rem;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.quick-field__input::placeholder {
    color: rgba(170, 180, 195, 0.52);
}

.quick-field__input:focus,
.quick-field__select:focus {
    border-color: rgba(22, 192, 93, 0.46);
    box-shadow: 0 0 0 4px rgba(22, 192, 93, 0.08);
    background: #161b24;
}

.quick-field__select {
    appearance: none;
    cursor: pointer;
}

.quick-upload__drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 94px;
    padding: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.015);
    text-align: center;
    color: rgba(247, 249, 252, 0.92);
    transition: border-color 180ms ease, background-color 180ms ease;
}

.quick-upload:hover .quick-upload__drop {
    border-color: rgba(22, 192, 93, 0.32);
    background: rgba(22, 192, 93, 0.03);
}

.quick-upload__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(247, 249, 252, 0.84);
}

.quick-upload__drop small {
    color: var(--ops-muted);
    font-size: 0.8rem;
}

.quick-submit {
    width: 100%;
    min-height: 56px;
    margin-top: 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #18c55f, #109d4a);
    box-shadow: 0 18px 34px rgba(7, 66, 30, 0.28);
}

.quick-submit:hover {
    transform: translateY(-1px);
}

.ai-status {
    margin: 10px 2px 0;
    color: rgba(170, 180, 195, 0.88);
    font-size: 0.84rem;
}

.ai-status.is-error {
    color: #ff9a9a;
}

.preview-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ops-poster {
    position: relative;
    min-height: 404px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        radial-gradient(circle at top center, rgba(255, 213, 0, 0.1), transparent 26%),
        linear-gradient(180deg, #0d1015 0%, #090c10 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.ops-poster__banner {
    position: absolute;
    top: 20px;
    left: 22px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffe45f, var(--ops-yellow));
    color: #11151b;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ops-poster__body {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 100%;
    padding: 112px 26px 28px;
    gap: 18px;
}

.ops-poster__copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 290px;
    text-shadow: 0 14px 22px rgba(0, 0, 0, 0.32);
}

.ops-poster__title {
    font-size: clamp(1.8rem, 2.4vw, 3rem);
    font-weight: 800;
    line-height: 0.92;
    text-transform: uppercase;
}

.ops-poster__subtitle {
    font-size: clamp(1rem, 1.28vw, 1.36rem);
    font-weight: 700;
    color: rgba(247, 249, 252, 0.94);
    text-transform: uppercase;
}

.ops-poster__gramatura {
    font-size: 1.02rem;
    font-weight: 600;
    color: rgba(247, 249, 252, 0.78);
}

.ops-poster__price {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    color: var(--ops-yellow);
    text-shadow: 0 18px 30px rgba(0, 0, 0, 0.38);
}

.ops-poster__price small {
    padding-bottom: 12px;
    font-size: 1.5rem;
    font-weight: 800;
}

.ops-poster__price strong {
    font-size: clamp(3.2rem, 5vw, 5.2rem);
    font-weight: 900;
    line-height: 0.9;
}

.ops-poster__media {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 47%;
    height: 90%;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    opacity: 0.98;
    mix-blend-mode: screen;
}

.preview-panel__footer {
    display: flex;
}

.preview-panel__download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: #f7f9fc;
    font-size: 1rem;
    font-weight: 700;
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.preview-panel__download:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
}

.preview-panel__download-arrow {
    display: inline-flex;
    color: rgba(247, 249, 252, 0.76);
}

@media (max-width: 1500px) {
    .formats-grid--spotlight {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .recent-formats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1260px) {
    .formats-grid--spotlight {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1120px) {
    body.sidebar-open {
        overflow: hidden;
    }

    .sidebar {
        width: min(84vw, 320px);
        transform: translateX(-100%);
        transition: transform 220ms ease;
    }

    .sidebar__close,
    .topbar__menu {
        display: inline-flex;
    }

    .sidebar-open .sidebar {
        transform: translateX(0);
    }

    .sidebar-open .sidebar-overlay {
        opacity: 1;
        visibility: visible;
    }

    .main {
        width: 100%;
        margin-left: 0;
        padding: 0 16px 24px;
    }

    .topbar {
        gap: 10px;
        padding: 14px 0 14px;
    }

    .topbar__brand-mobile {
        display: inline-flex;
        font-size: 0.92rem;
        font-weight: 800;
        letter-spacing: 0.04em;
    }

    .formats-grid--spotlight {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .recent-formats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cartazes-workspace {
        grid-template-columns: 1fr;
    }

    .ops-poster {
        min-height: 360px;
    }
}

@media (max-width: 760px) {
    .topbar__actions {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .topbar__primary {
        width: 100%;
        justify-content: center;
    }

    .quick-form {
        grid-template-columns: 1fr;
    }

    .ops-poster__body {
        padding: 108px 18px 22px;
    }

    .ops-poster__media {
        width: 52%;
        height: 84%;
    }
}

@media (max-width: 560px) {
    .main {
        padding: 0 10px 18px;
    }

    .topbar {
        margin-bottom: 14px;
    }

    .topbar__utility {
        min-height: 34px;
        font-size: 0.9rem;
    }

    .formats-grid--spotlight,
    .recent-formats {
        grid-template-columns: 1fr;
    }

    .format-card {
        min-height: 284px;
    }

    .format-card__preview {
        height: 182px;
    }

    .entry-panel,
    .preview-panel {
        padding: 14px;
    }

    .ops-poster {
        min-height: 300px;
    }

    .ops-poster__body {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 14px;
    }

    .ops-poster__media {
        width: 48%;
        height: 56%;
        opacity: 0.8;
    }

    .ops-poster__price strong {
        font-size: 3.6rem;
    }
}

.brand {
    gap: 12px;
    padding: 4px 0;
}

.brand__wordmark {
    min-width: 0;
}

.brand__name {
    font-size: 1.18rem;
    letter-spacing: 0.04em;
    line-height: 1;
}

.brand__subtitle {
    letter-spacing: 0.22em;
    font-size: 0.66rem;
    line-height: 1.2;
}

.sidebar .brand__subtitle {
    display: none;
}

@media (max-width: 760px) {
    .topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .topbar__identity {
        justify-content: flex-start;
        gap: 12px;
    }

    .topbar__actions {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
        gap: 10px 12px;
    }

    .topbar__primary {
        order: -1;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .topbar__actions {
        width: 100%;
        gap: 8px 10px;
    }

    .topbar__utility {
        justify-content: center;
        width: 38px;
        padding: 0;
    }

    .topbar__utility {
        display: none;
    }

    .topbar__utility span:last-child {
        display: none;
    }

    .formats-grid--spotlight {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .format-card {
        min-height: 250px;
    }

    .format-card__preview {
        height: 138px;
    }
}

@media (max-width: 420px) {

    .formats-grid--spotlight,
    .recent-formats {
        grid-template-columns: 1fr;
    }
}

/* Cartazes hub */
.cartazes-hub {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hub-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    min-height: 0;
}

.hub-heading__copy {
    display: grid;
    gap: 6px;
}

.hub-heading__eyebrow {
    color: rgba(170, 180, 195, 0.74);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hub-heading__title {
    margin: 0;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.hub-heading__subtitle {
    margin: 0;
    color: var(--ops-muted);
    font-size: 0.96rem;
    line-height: 1.55;
}

.hub-section {
    display: grid;
    gap: 14px;
}

.hub-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.hub-section__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.hub-section__subtitle {
    margin: 6px 0 0;
    color: var(--ops-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.action-grid,
.hub-compact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.action-card,
.recommendation-card {
    position: relative;
    border: 1px solid #2d3441;
    border-radius: 20px;
    background: linear-gradient(180deg, #171a21 0%, #12161d 100%);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.action-card:hover,
.action-card.is-active,
.recommendation-card:hover,
.recommendation-card.is-active {
    transform: translateY(-4px);
    border-color: rgba(22, 192, 93, 0.42);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(22, 192, 93, 0.12);
}

.action-card {
    display: flex;
    flex-direction: column;
    min-height: 292px;
    padding: 14px;
}

.action-card__preview {
    display: block;
    height: 154px;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0f1319;
}

.action-card__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.action-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
}

.action-card__copy {
    display: grid;
    gap: 8px;
}

.action-card__eyebrow {
    color: rgba(170, 180, 195, 0.82);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.action-card__copy h3 {
    margin: 0;
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.02;
}

.action-card__copy p {
    margin: 0;
    color: var(--ops-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.action-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.action-card__footer strong {
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.action-card__icon,
.recommendation-card__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #f7f9fc;
    flex: 0 0 42px;
}

.action-card:hover .action-card__icon,
.action-card.is-active .action-card__icon,
.recommendation-card:hover .recommendation-card__action,
.recommendation-card.is-active .recommendation-card__action {
    background: rgba(22, 192, 93, 0.12);
    box-shadow: inset 0 0 0 1px rgba(22, 192, 93, 0.16);
}

.recommendation-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 116px;
    padding: 14px 16px;
}

.recommendation-card__thumb {
    display: block;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0d1117;
}

.recommendation-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.recommendation-card__copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.recommendation-card__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 213, 0, 0.1);
    color: #ffe161;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.recommendation-card__copy strong {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.15;
}

.recommendation-card__copy small,
.recommendation-card__copy span {
    color: var(--ops-muted);
    line-height: 1.45;
}

.recommendation-card__copy small {
    font-size: 0.84rem;
}

.recommendation-card__copy span {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (max-width: 1260px) {

    .action-grid,
    .hub-compact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .hub-heading {
        padding: 16px;
    }

    .hub-section__header {
        align-items: flex-start;
    }

    .action-grid,
    .hub-compact-grid {
        grid-template-columns: 1fr;
    }

    .action-card {
        min-height: 264px;
    }

    .action-card__preview {
        height: 138px;
    }

    .recommendation-card {
        grid-template-columns: 62px minmax(0, 1fr) auto;
        min-height: 102px;
        padding: 12px 14px;
    }

    .recommendation-card__thumb {
        width: 62px;
        height: 62px;
    }
}

/* Batch central */
.batch-intake {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(19, 24, 31, 0.96) 0%, rgba(13, 17, 24, 0.98) 100%);
    box-shadow: 0 28px 54px rgba(0, 0, 0, 0.24);
}

.batch-intake__header,
.batch-intake__body,
.batch-results {
    display: grid;
    gap: 18px;
}

.batch-intake__header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
}

.batch-intake__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.batch-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(247, 249, 252, 0.78);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.batch-pill--green {
    border-color: rgba(22, 192, 93, 0.22);
    background: rgba(22, 192, 93, 0.08);
    color: #d4ffe4;
}

.batch-intake__title {
    margin: 0;
    font-size: 1.42rem;
    font-weight: 800;
}

.batch-intake__subtitle {
    margin: 8px 0 0;
    max-width: 760px;
    color: var(--ops-muted);
    font-size: 0.97rem;
    line-height: 1.6;
}

.batch-intake__summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 148px));
    gap: 12px;
}

.batch-summary-card,
.batch-mini-panel {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.batch-summary-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 92px;
    padding: 16px;
}

.batch-summary-card strong {
    font-size: 1.6rem;
    font-weight: 800;
}

.batch-summary-card span {
    margin-top: 4px;
    color: var(--ops-muted);
    font-size: 0.88rem;
}

.batch-intake__body,
.batch-results {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
}

.batch-input-card,
.review-panel,
.preview-panel--batch {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 11, 16, 0.34);
}

.batch-input-toolbar,
.batch-template-strip__list,
.batch-recent-products {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.batch-tool,
.batch-template-chip,
.batch-recent-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(247, 249, 252, 0.92);
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.batch-tool:hover,
.batch-template-chip:hover,
.batch-recent-product:hover {
    transform: translateY(-1px);
    border-color: rgba(22, 192, 93, 0.26);
    background: rgba(22, 192, 93, 0.08);
}

.batch-tool--ghost {
    background: transparent;
    color: rgba(247, 249, 252, 0.72);
}

.batch-template-chip.is-active {
    border-color: rgba(22, 192, 93, 0.36);
    background: linear-gradient(135deg, rgba(22, 192, 93, 0.14), rgba(9, 53, 27, 0.84));
    color: #f7fff9;
    box-shadow: 0 0 0 1px rgba(22, 192, 93, 0.14);
}

.batch-recent-product {
    justify-content: flex-start;
    text-align: left;
}

.batch-recent-product--empty {
    color: rgba(170, 180, 195, 0.68);
    cursor: default;
}

.batch-input-card__field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.batch-input-card__label,
.batch-template-strip__label,
.review-row__field span {
    color: rgba(247, 249, 252, 0.94);
    font-size: 0.92rem;
    font-weight: 700;
}

.batch-input-card__textarea,
.review-row__field input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: #141922;
    color: #f7f9fc;
    font: inherit;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.batch-input-card__textarea {
    min-height: 260px;
    padding: 16px 18px;
    resize: vertical;
    line-height: 1.65;
}

.batch-input-card__textarea:focus,
.review-row__field input:focus {
    border-color: rgba(22, 192, 93, 0.4);
    box-shadow: 0 0 0 4px rgba(22, 192, 93, 0.08);
    background: #161b24;
}

.batch-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 132px;
    padding: 16px;
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.015);
    text-align: center;
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.batch-dropzone:hover,
.batch-dropzone.is-over {
    border-color: rgba(22, 192, 93, 0.34);
    background: rgba(22, 192, 93, 0.05);
    transform: translateY(-1px);
}

.batch-dropzone__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(22, 192, 93, 0.1);
    color: #9cffc2;
}

.batch-dropzone strong {
    font-size: 0.98rem;
    font-weight: 700;
}

.batch-dropzone small {
    color: var(--ops-muted);
    font-size: 0.82rem;
}

.batch-template-strip {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.batch-input-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
}

.batch-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.batch-progress strong {
    font-size: 0.96rem;
}

.batch-progress strong.is-error {
    color: #ff9b9b;
}

.batch-progress strong.is-success {
    color: #b9ffd1;
}

.batch-progress span[data-batch-meta] {
    color: var(--ops-muted);
    font-size: 0.85rem;
}

.batch-progress__bar {
    display: block;
    width: 100%;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.batch-progress__bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(22, 192, 93, 0.7), #16c05d);
    transition: width 220ms ease;
}

.batch-organize-button {
    min-width: 236px;
    min-height: 54px;
    border-radius: 14px;
    box-shadow: 0 18px 34px rgba(7, 66, 30, 0.28);
}

.batch-organize-button.is-loading {
    opacity: 0.86;
}

.batch-mini-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
}

.batch-mini-panel__header,
.review-panel__header,
.preview-panel__header--between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.batch-mini-panel__header h3,
.review-panel__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.batch-mini-panel__header span,
.review-panel__subtitle,
.preview-panel__footer {
    color: var(--ops-muted);
    font-size: 0.84rem;
}

.batch-flow {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 18px;
    color: rgba(247, 249, 252, 0.88);
    font-size: 0.92rem;
}

.review-panel__subtitle {
    display: block;
    margin-top: 6px;
}

.review-panel__counter {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(22, 192, 93, 0.08);
    color: #d4ffe4;
    font-size: 0.82rem;
    font-weight: 700;
}

.review-list,
.batch-preview-grid {
    display: grid;
    gap: 14px;
}

.review-row {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.review-row__header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
}

.review-row__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(22, 192, 93, 0.12);
    color: #c5ffda;
    font-size: 0.8rem;
    font-weight: 800;
}

.review-row__raw {
    margin: 0;
    color: rgba(247, 249, 252, 0.76);
    font-size: 0.88rem;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-row__delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(247, 249, 252, 0.84);
}

.review-row__fields {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

.review-row__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.review-row__field--title {
    grid-column: 1 / -1;
}

.review-row__field input {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.92rem;
    border-radius: 12px;
}

.review-row__field span {
    color: rgba(247, 249, 252, 0.64);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.review-row--skeleton,
.batch-poster-card--skeleton {
    position: relative;
    overflow: hidden;
}

.review-row--skeleton::after,
.batch-poster-card--skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    animation: batchShimmer 1.2s linear infinite;
}

.preview-panel__heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-panel--batch .preview-panel__download {
    width: auto;
    min-width: 190px;
    justify-content: center;
}

.preview-panel--batch .preview-panel__download:disabled {
    opacity: 0.42;
    cursor: not-allowed;
    transform: none;
}

.preview-panel__footer--batch {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.batch-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.batch-poster-card {
    position: relative;
    min-height: 260px;
    padding: 16px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top center, rgba(255, 213, 0, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(14, 18, 25, 0.98) 0%, rgba(10, 13, 18, 0.98) 100%);
}

.batch-poster-card__format {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    color: rgba(247, 249, 252, 0.72);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.batch-poster-card__highlight {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--ops-yellow);
    color: #11151b;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.batch-poster-card__body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100%;
    padding-top: 84px;
    gap: 14px;
}

.batch-poster-card__copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 72%;
}

.batch-poster-card__copy strong {
    font-size: 1.72rem;
    line-height: 0.95;
    text-transform: uppercase;
}

.batch-poster-card__copy span {
    font-size: 0.98rem;
    font-weight: 700;
    text-transform: uppercase;
}

.batch-poster-card__copy small {
    color: rgba(247, 249, 252, 0.74);
    font-size: 0.88rem;
    font-weight: 600;
}

.batch-poster-card__price {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    color: var(--ops-yellow);
}

.batch-poster-card__price small {
    padding-bottom: 9px;
    font-size: 1rem;
    font-weight: 800;
}

.batch-poster-card__price strong {
    font-size: 2.9rem;
    line-height: 0.88;
}

.batch-poster-card__media {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 44%;
    height: 76%;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    mix-blend-mode: screen;
}

.batch-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    padding: 18px;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    color: var(--ops-muted);
    text-align: center;
}

.batch-empty-state--preview {
    min-height: 220px;
}

@keyframes batchShimmer {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }
}

@media (max-width: 1260px) {

    .batch-intake__body,
    .batch-results {
        grid-template-columns: 1fr;
    }

    .batch-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .batch-intake {
        padding: 16px;
    }

    .batch-intake__header {
        grid-template-columns: 1fr;
    }

    .batch-intake__summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .batch-input-actions {
        grid-template-columns: 1fr;
    }

    .batch-organize-button,
    .preview-panel--batch .preview-panel__download {
        width: 100%;
    }

    .preview-panel__header--between,
    .preview-panel__footer--batch {
        flex-direction: column;
        align-items: stretch;
    }

    .review-row__grid,
    .batch-preview-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {

    .batch-intake,
    .batch-input-card,
    .review-panel,
    .preview-panel--batch {
        padding: 14px;
    }

    .batch-input-card__textarea {
        min-height: 220px;
    }

    .batch-summary-card {
        min-height: 78px;
    }

    .batch-summary-card strong {
        font-size: 1.3rem;
    }

    .batch-tool,
    .batch-template-chip,
    .batch-recent-product {
        width: 100%;
        justify-content: center;
    }

    .batch-input-toolbar,
    .batch-template-strip__list,
    .batch-recent-products {
        flex-direction: column;
    }

    .batch-poster-card {
        min-height: 232px;
    }

    .batch-poster-card__copy strong {
        font-size: 1.44rem;
    }

    .batch-poster-card__price strong {
        font-size: 2.4rem;
    }
}

/* Central de Entrada IA */
.cartazes-shell--central {
    gap: 18px;
}

.central-heading {
    display: grid;
    gap: 6px;
    padding: 4px 2px 0;
}

.central-heading__eyebrow {
    color: rgba(170, 180, 195, 0.74);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.central-heading__title {
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    font-weight: 800;
    letter-spacing: 0.01em;
}

.central-heading__subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.55;
}

.central-entry {
    position: relative;
}

.central-entry__composer {
    position: relative;
    display: grid;
    gap: 18px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(22, 192, 93, 0.16);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(22, 192, 93, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(23, 26, 33, 0.98) 0%, rgba(15, 18, 23, 0.98) 100%);
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.28),
        inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.central-entry__composer.is-filled,
.central-entry__composer[data-mode="organizing"],
.central-entry__composer[data-mode="sending"] {
    border-color: rgba(22, 192, 93, 0.24);
}

.central-entry__composer:focus-within,
.central-entry__composer.is-drag-over {
    border-color: rgba(22, 192, 93, 0.34);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(22, 192, 93, 0.12);
}

.central-entry__meta-group,
.central-entry__meta,
.central-entry__helper,
.central-entry__helper-actions,
.central-entry__footer,
.central-entry__footer-left,
.central-entry__actions {
    display: flex;
    align-items: center;
}

.central-entry__meta {
    justify-content: space-between;
    gap: 12px;
}

.central-entry__meta-group {
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.central-entry__chip,
.central-entry__count {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.central-entry__chip {
    color: #f7fbff;
}

.central-entry__count {
    color: rgba(170, 180, 195, 0.9);
}

.central-entry__badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(170, 180, 195, 0.88);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.central-entry__badge.is-active {
    border-color: rgba(22, 192, 93, 0.18);
    background: rgba(22, 192, 93, 0.12);
    color: #dbffe8;
}

.central-entry__surface {
    display: grid;
    gap: 14px;
    padding: 16px 16px 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(14, 18, 25, 0.96) 0%, rgba(11, 14, 20, 0.98) 100%);
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.central-entry__surface:focus-within,
.central-entry__surface.is-filled,
.central-entry__surface.is-drag-over {
    border-color: rgba(22, 192, 93, 0.18);
    background: linear-gradient(180deg, rgba(16, 20, 28, 0.98) 0%, rgba(10, 13, 19, 0.98) 100%);
    box-shadow: inset 0 0 0 1px rgba(22, 192, 93, 0.04);
}

.central-entry__textarea {
    width: 100%;
    min-height: 260px;
    max-height: 460px;
    padding: 0;
    border: 0;
    outline: 0;
    resize: none;
    overflow-y: auto;
    background: transparent;
    color: #f7fbff;
    font: inherit;
    font-size: 1.05rem;
    line-height: 1.72;
    scrollbar-width: thin;
    scrollbar-color: rgba(170, 180, 195, 0.32) transparent;
}

.central-entry__textarea::placeholder {
    color: rgba(170, 180, 195, 0.64);
}

.central-entry__helper {
    justify-content: space-between;
    gap: 14px;
    padding-top: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.central-entry__helper-copy {
    color: rgba(170, 180, 195, 0.78);
    font-size: 0.84rem;
    line-height: 1.55;
}

.central-entry__helper-actions {
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.central-entry__ghost-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(247, 249, 252, 0.82);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.central-entry__ghost-action:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(22, 192, 93, 0.18);
    background: rgba(22, 192, 93, 0.08);
    color: #ebfff3;
}

.central-entry__ghost-action:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.central-entry__shortcut {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(247, 249, 252, 0.82);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.central-entry__footer {
    justify-content: space-between;
    gap: 18px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.central-entry__footer-left {
    gap: 12px;
    min-width: 0;
}

.central-entry__imports {
    color: rgba(170, 180, 195, 0.82);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.central-entry__status {
    display: grid;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.central-entry__status strong {
    color: #f7fbff;
    font-size: 0.94rem;
    font-weight: 700;
}

.central-entry__status strong.is-error {
    color: #ff9f96;
}

.central-entry__status strong.is-success {
    color: #bbffd2;
}

.central-entry__status span {
    color: rgba(170, 180, 195, 0.78);
    font-size: 0.85rem;
}

.central-entry__actions {
    gap: 10px;
    flex: 0 0 auto;
}

.central-entry__ai,
.central-entry__send,
.generated-lot__button,
.poster-preview-card__action {
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.central-entry__ai {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    color: #f4f8ff;
    font-size: 0.92rem;
    font-weight: 800;
}

.central-entry__ai.is-active {
    border-color: rgba(22, 192, 93, 0.34);
    background: rgba(22, 192, 93, 0.14);
    box-shadow: 0 0 0 1px rgba(22, 192, 93, 0.12), 0 10px 26px rgba(22, 192, 93, 0.12);
    color: #dbffe8;
}

.central-entry__send {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    min-width: 148px;
    height: 48px;
    border: 1px solid rgba(22, 192, 93, 0.16);
    border-radius: 999px;
    background: linear-gradient(135deg, #19c861 0%, #10a84e 100%);
    color: #f9fffb;
    padding: 0 18px;
    font-weight: 900;
    box-shadow: 0 18px 28px rgba(7, 66, 30, 0.24);
}

.central-entry__send span {
    white-space: nowrap;
}

.central-entry__ai:hover,
.central-entry__send:hover,
.generated-lot__button:hover,
.poster-preview-card__action:hover {
    transform: translateY(-1px);
}

.central-upload__trigger:focus-visible,
.central-entry__ghost-action:focus-visible,
.central-entry__ai:focus-visible,
.central-entry__send:focus-visible,
.generated-lot__button:focus-visible,
.poster-preview-card__action:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(22, 192, 93, 0.12);
}

.central-entry__ai:disabled,
.central-entry__send:disabled {
    opacity: 0.42;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.central-entry__ai.is-loading svg,
.central-entry__send.is-loading svg {
    animation: spin 0.8s linear infinite;
}

.central-upload {
    position: relative;
}

.central-upload__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: #f8fbff;
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.central-upload__trigger:hover {
    transform: translateY(-1px);
    border-color: rgba(22, 192, 93, 0.2);
    background: rgba(22, 192, 93, 0.08);
}

.central-upload-menu {
    position: absolute;
    left: 0;
    bottom: calc(100% + 12px);
    z-index: 12;
    display: grid;
    gap: 8px;
    width: min(280px, calc(100vw - 44px));
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(23, 27, 35, 0.98) 0%, rgba(14, 17, 23, 0.98) 100%);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.34);
}

.central-upload-menu[hidden],
.generated-batches[hidden],
.generated-batches__empty[hidden],
.generated-batches__notice[hidden] {
    display: none !important;
}

.central-upload-menu__item {
    display: grid;
    gap: 3px;
    width: 100%;
    padding: 12px 12px 11px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    color: #f6fbff;
    text-align: left;
}

.central-upload-menu__item strong {
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.central-upload-menu__item span {
    color: rgba(170, 180, 195, 0.8);
    font-size: 0.82rem;
}

.central-upload-menu__item:hover:not(:disabled) {
    border-color: rgba(22, 192, 93, 0.22);
    background: rgba(22, 192, 93, 0.08);
}

.central-upload-menu__item--disabled,
.central-upload-menu__item:disabled {
    opacity: 0.48;
    cursor: default;
}

.central-upload-menu__divider {
    height: 1px;
    margin: 2px 0;
    background: rgba(255, 255, 255, 0.08);
}

.generated-batches,
.generated-batches__empty,
.generated-lot,
.poster-preview-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(23, 26, 33, 0.98) 0%, rgba(16, 20, 27, 0.98) 100%);
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.24);
}

.generated-batches {
    display: grid;
    gap: 18px;
    padding: 18px;
    border-radius: 26px;
}

.generated-batches__header,
.generated-lot__header,
.generated-lot__actions,
.poster-preview-card__meta,
.poster-preview-card__actions {
    display: flex;
    align-items: center;
}

.generated-batches__header,
.generated-lot__header {
    justify-content: space-between;
    gap: 16px;
}

.generated-batches__eyebrow,
.generated-lot__eyebrow {
    display: inline-flex;
    color: rgba(170, 180, 195, 0.78);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.generated-batches__title,
.generated-lot__title {
    margin: 6px 0 0;
    font-size: 1.1rem;
    font-weight: 800;
}

.generated-batches__counter {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(22, 192, 93, 0.08);
    color: #cbffdf;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.generated-batches__list {
    display: grid;
    grid-template-columns: repeat(var(--poster-review-columns), minmax(0, 1fr));
    gap: 14px;
}

.generated-batches__notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 213, 0, 0.14);
    border-radius: 16px;
    background: rgba(255, 213, 0, 0.06);
}

.generated-batches__notice strong {
    color: #fff2a2;
    font-size: 0.9rem;
    font-weight: 800;
}

.generated-batches__notice span {
    color: rgba(255, 239, 165, 0.86);
    font-size: 0.86rem;
}

.generated-batches__empty {
    display: grid;
    gap: 6px;
    padding: 24px;
    border-radius: 24px;
    text-align: center;
}

.generated-batches__empty strong {
    font-size: 1rem;
    font-weight: 800;
}

.generated-batches__empty span {
    color: rgba(170, 180, 195, 0.8);
    font-size: 0.92rem;
    line-height: 1.55;
}

.generated-batches__toolbar,
.generated-batches__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.generated-batches__toolbar {
    justify-content: space-between;
}

.generated-batches__actions {
    justify-content: flex-end;
}

.generated-batches__font-select {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 5px 6px 5px 12px;
    border: 1px solid rgba(170, 180, 195, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.generated-batches__font-select span {
    color: rgba(170, 180, 195, 0.86);
    font-size: 0.82rem;
    font-weight: 800;
}

.generated-batches__font-select select {
    min-width: 168px;
    border: 0;
    border-radius: 10px;
    background: rgba(15, 17, 21, 0.96);
    color: var(--text);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    outline: none;
    padding: 8px 10px;
}

.generated-batches__font-select select:disabled {
    cursor: not-allowed;
    opacity: 0.56;
}

.generated-lot {
    display: grid;
    gap: 16px;
    padding: 16px;
    border-radius: 22px;
}

.generated-lot__copy {
    display: grid;
    gap: 2px;
}

.generated-lot__actions,
.poster-preview-card__actions {
    gap: 10px;
    flex-wrap: wrap;
}

.generated-lot__button,
.poster-preview-card__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: #f5f9ff;
    font-size: 0.84rem;
    font-weight: 700;
}

.generated-lot__button--primary {
    border-color: rgba(22, 192, 93, 0.18);
    background: rgba(22, 192, 93, 0.1);
    color: #dbffe8;
}

.generated-lot__button--danger,
.poster-preview-card__action--danger {
    color: #ffb5ac;
}

.generated-lot__button--danger.is-confirming {
    border-color: rgba(255, 181, 172, 0.36);
    background: rgba(255, 78, 58, 0.13);
    color: #ffe3df;
}

.generated-lot__grid-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 8px;
}

.generated-lot__grid-label {
    color: var(--muted);
    font-weight: 700;
    font-size: 0.82rem;
}

.generated-lot__button--grid.is-active {
    border-color: rgba(22, 192, 93, 0.28);
    background: rgba(22, 192, 93, 0.12);
    color: #dbffe8;
}

.generated-lot__grid {
    display: grid;
    grid-template-columns: repeat(var(--poster-review-columns), minmax(0, 1fr));
    gap: 14px;
}

.poster-preview-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
}

.poster-preview {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 330px;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0e141b;
    overflow: auto;
}

.poster-sheet-frame {
    position: relative;
    flex: 0 0 auto;
}

.poster-sheet-frame--preview {
    width: calc(var(--sheet-width-mm) * 1mm * var(--poster-scale));
    height: calc(var(--sheet-height-mm) * 1mm * var(--poster-scale));
}

.poster-sheet-frame--preview .poster-sheet {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(var(--sheet-width-mm) * 1mm);
    height: calc(var(--sheet-height-mm) * 1mm);
    transform: scale(var(--poster-scale));
    transform-origin: top left;
}

.poster-sheet {
    --poster-title-size: 25mm;
    --poster-title-max-height: 80mm;
    --poster-subtitle-size: 9.6mm;
    --poster-subtitle-line-height: 0.89;
    --poster-subtitle-width: 82%;
    --poster-weight-size: 10.2mm;
    --poster-price-size: 42mm;
    --poster-title-line-height: 0.92;
    --poster-title-subtitle-gap: 2.5mm;
    --poster-subtitle-weight-gap: 4.8mm;
    --poster-title-weight-gap: 3.5mm;
    --poster-band-height: 12mm;
    --poster-band-margin-bottom: 6mm;
    --poster-header-reserve: 22mm;
    --poster-band-padding-x: 6mm;
    --poster-offer-size: 7.4mm;
    --poster-dot-size: 2.6mm;
    --poster-rs-size: 6.8mm;
    --poster-rs-padding-bottom: 2.8mm;
    --poster-price-gap: 3mm;
    --poster-price-margin-top: 5.1mm;
    --poster-price-area-height: 40mm;
    --poster-price-padding: 1.3mm 1.3mm 0;
    --poster-price-shadow: 1.8mm 1.4mm 0 rgba(80, 0, 0, 0.8);
    background: #ffd400;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.poster-sheet__grid {
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-columns: repeat(var(--poster-columns), minmax(0, 1fr));
    grid-template-rows: repeat(var(--poster-rows), minmax(0, 1fr));
}

.poster-sheet__unit {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: calc(var(--poster-safe-margin-mm) * 1mm);
    background: #ffd400;
    overflow: hidden;
}

.poster-sheet--a4-2x1 .poster-sheet__unit+.poster-sheet__unit {
    border-top: 0.45mm solid rgba(0, 0, 0, 0.36);
}

.poster-sheet__band {
    position: absolute;
    top: calc(var(--poster-safe-margin-mm) * 1mm);
    left: calc(var(--poster-safe-margin-mm) * 1mm);
    right: calc(var(--poster-safe-margin-mm) * 1mm);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(var(--poster-header-height, var(--poster-band-height)) * 1.32);
    margin: 0;
    padding: var(--poster-band-padding-y, 1.8mm) var(--poster-band-padding-x);
    background: var(--poster-header-bg, #ff0000);
    color: var(--poster-header-color, #ffffff);
    text-align: center;
}

.poster-sheet__offer {
    color: inherit;
    font-family: var(--poster-display-font, "Permanent Marker", "Knewave", "Arial Black", sans-serif);
    font-size: calc(var(--poster-offer-size) * 4);
    line-height: 1;
    font-style: italic;
    letter-spacing: 0.06em;
}

.poster-sheet__band[data-header-align="left"] {
    justify-content: flex-start;
    text-align: left;
}

.poster-sheet__band[data-header-align="right"] {
    justify-content: flex-end;
    text-align: right;
}

.poster-sheet__band--oferta-vermelha-padrao {
    background: var(--poster-header-bg, #e11919);
}

.poster-sheet__band--oferta-brush-amarelo {
    background: transparent;
    color: var(--poster-header-color, #d9151b);
}

.poster-sheet__band--oferta-brush-amarelo .poster-sheet__offer {
    padding: 0.26em 0.9em;
    background: #ffd12a;
    clip-path: polygon(3% 22%, 96% 7%, 100% 72%, 7% 95%);
}

.poster-sheet__band--oferta-simples {
    background: transparent;
}

.poster-sheet__band--oferta-splash {
    background:
        radial-gradient(circle at 20% 35%, #ffef6b 0 14%, transparent 15%),
        radial-gradient(circle at 85% 50%, #ffef6b 0 10%, transparent 11%),
        var(--poster-header-bg, #ffd429);
}

.poster-sheet__band--faixa-branca {
    background: #ffffff;
    border-bottom: 0.8mm solid #e11919;
}

.poster-sheet__band--sem-texto .poster-sheet__offer {
    display: none;
}

.poster-sheet--sem-header .poster-sheet__body {
    padding-top: 0;
}

.poster-sheet__band--hortifruti {
    background: linear-gradient(90deg, #1f8f46, #5dad35);
}

.poster-sheet__band--acougue {
    background: linear-gradient(90deg, #8d1118, #c0272d);
}

.poster-sheet__band--padaria {
    background: repeating-linear-gradient(45deg, #b9681f 0 12px, #d48a34 12px 24px);
}

.poster-sheet__band--dia-das-maes {
    background: linear-gradient(90deg, #d9427f, #f28aae);
}

.poster-sheet__band--copa {
    background: linear-gradient(90deg, #159447 0 55%, #f2c705 55% 72%, #174b8a 72%);
}

.poster-sheet__band--festa-junina {
    background: repeating-linear-gradient(135deg, #f3b431 0 14px, #e4572e 14px 28px, #2f80ed 28px 42px);
}

.poster-sheet__band--natal {
    background: linear-gradient(90deg, #0d7f58, #b91520);
}

.poster-sheet__band--black-friday {
    background: #111111;
}

.poster-sheet__band--atacado {
    background: linear-gradient(90deg, #174b8a, #1f7abc);
}

.poster-sheet__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.poster-sheet__title {
    display: grid;
    gap: 1.2mm;
    width: 100%;
    max-width: 100%;
    max-height: var(--poster-title-max-height);
    overflow: visible;
    align-content: center;
    justify-items: stretch;
    --poster-title-fit: 1;
}

.poster-sheet__title span {
    display: block;
    width: 100%;
    color: #111;
    font-family: var(--poster-title-font, var(--poster-display-font, "Knewave", "Permanent Marker", "Arial Black", sans-serif));
    font-size: calc(var(--poster-title-size) * var(--poster-title-fit));
    line-height: var(--poster-title-line-height);
    letter-spacing: 0.01em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow-wrap: normal;
    text-wrap: nowrap;
}

.poster-sheet__subtitle {
    display: grid;
    gap: var(--poster-subtitle-gap, 0.8mm);
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    color: #111;
    overflow: visible;
    align-content: center;
    justify-items: center;
    --poster-subtitle-fit: 1;
    margin-left: auto;
    margin-right: auto;
}

.poster-sheet__title + .poster-sheet__subtitle {
    margin-top: var(--poster-title-subtitle-gap);
}

.poster-sheet__subtitle--primary + .poster-sheet__subtitle--secondary {
    margin-top: var(--poster-subtitle-secondary-gap, 1.8mm);
}

.poster-sheet__subtitle span {
    display: block;
    width: 100%;
    color: #111;
    font-family: var(--poster-display-font, "Permanent Marker", "Knewave", "Arial Black", sans-serif);
    font-size: calc(var(--poster-subtitle-size) * var(--poster-subtitle-fit, 1));
    line-height: var(--poster-subtitle-line-height);
    letter-spacing: 0.01em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow-wrap: normal;
    text-wrap: balance;
}

.poster-sheet__subtitle--primary {
    width: var(--poster-subtitle-width);
}

.poster-sheet__subtitle--secondary {
    width: var(--poster-subtitle-secondary-width, calc(var(--poster-subtitle-width) - 8%));
}

.poster-sheet__subtitle--secondary span {
    font-size: calc(var(--poster-subtitle-secondary-size, calc(var(--poster-subtitle-size) * 0.78)) * var(--poster-subtitle-fit, 1));
    line-height: var(--poster-subtitle-secondary-line-height, calc(var(--poster-subtitle-line-height) * 1.02));
    letter-spacing: 0;
}

.poster-sheet__weight {
    display: block;
    width: 100%;
    color: #111;
    font-family: var(--poster-display-font, "Anton", "Arial Black", sans-serif);
    font-size: calc(var(--poster-weight-size) * var(--poster-weight-fit, 1));
    line-height: 1;
    text-transform: uppercase;
    overflow: hidden;
    --poster-weight-fit: 1;
}

.poster-sheet__subtitle + .poster-sheet__weight {
    margin-top: var(--poster-subtitle-weight-gap);
}

.poster-sheet__title + .poster-sheet__weight {
    margin-top: var(--poster-title-weight-gap);
}

.poster-sheet__price {
    --poster-price-fit: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    gap: var(--poster-price-gap);
    margin-top: var(--poster-price-margin-top);
    min-height: var(--poster-price-area-height);
    padding: 0 var(--poster-price-side-padding, 2mm);
    color: #e30613;
    overflow: visible;
}

.poster-sheet__price small {
    align-self: flex-start;
    margin-top: var(--poster-rs-offset, 0px);
    padding-top: var(--poster-rs-padding-top, 0);
    padding-bottom: 0;
    color: #111;
    font-family: var(--poster-display-font, "Anton", "Arial Black", sans-serif);
    font-size: calc((var(--poster-price-size) * var(--poster-price-fit, 1)) * 0.5);
    line-height: 1;
    text-transform: uppercase;
}

.poster-sheet__price strong {
    color: #e30613;
    font-family: var(--poster-display-font, "Anton", "Arial Black", sans-serif);
    font-size: calc(var(--poster-price-size) * var(--poster-price-fit, 1));
    line-height: 0.86;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-shadow: var(--poster-price-shadow);
    white-space: nowrap;
    min-height: var(--poster-price-area-height);
    padding: var(--poster-price-padding);
    display: inline-flex;
    align-items: flex-end;
    max-width: 100%;
    transform-origin: center bottom;
}

.poster-sheet--a4-4x1 .poster-sheet__title span {
    letter-spacing: 0;
}

.poster-sheet--a4-4x1 {
    --poster-title-size: 25mm;
    --poster-title-max-height: 36mm;
    --poster-subtitle-size: 12.2mm;
    --poster-subtitle-secondary-size: 9.2mm;
    --poster-subtitle-line-height: 0.84;
    --poster-subtitle-width: 90%;
    --poster-subtitle-secondary-width: 80%;
    --poster-subtitle-secondary-gap: 1mm;
    --poster-title-subtitle-gap: 1.5mm;
    --poster-subtitle-weight-gap: 3.4mm;
    --poster-title-weight-gap: 2.6mm;
    --poster-weight-size: 6.1mm;
    --poster-price-size: 34mm;
    --poster-title-line-height: 0.84;
    --poster-band-height: 6.2mm;
    --poster-band-margin-bottom: 1.8mm;
    --poster-header-reserve: 10mm;
    --poster-band-padding-x: 2.2mm;
    --poster-offer-size: 4.2mm;
    --poster-dot-size: 1.25mm;
    --poster-rs-size: 5.3mm;
    --poster-rs-padding-bottom: 2.6mm;
    --poster-price-gap: 1.5mm;
    --poster-price-margin-top: 4.8mm;
    --poster-price-area-height: 31.5mm;
    --poster-price-padding: 0.9mm 0 0;
    --poster-price-side-padding: 2.2mm;
    --poster-price-shadow: 1mm 0.8mm 0 rgba(80, 0, 0, 0.82);
}

.poster-sheet--a4-4x1 .poster-sheet__unit {
    padding: 5.5mm 5.2mm 5mm;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.34);
    border-width: 0 0.38mm 0.38mm 0;
}

.poster-sheet--a4-4x1 .poster-sheet__unit:nth-child(2n) {
    border-right-width: 0;
}

.poster-sheet--a4-4x1 .poster-sheet__unit:nth-child(n+3) {
    border-bottom-width: 0;
}

.poster-sheet--a4-4x1 .poster-sheet__band {
    position: absolute;
    top: 4.6mm;
    left: 4.4mm;
    z-index: 2;
    width: auto;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 2.1mm 2.6mm 1.9mm;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--poster-header-bg, #ff0000);
}

.poster-sheet--a4-4x1 .poster-sheet__offer {
    font-size: calc(var(--poster-offer-size) * 3.35);
    letter-spacing: 0.03em;
}

.poster-sheet--a4-4x1 .poster-sheet__body {
    justify-content: center;
    padding-top: 8.5mm;
}

.poster-sheet--a4-4x1 .poster-sheet__title {
    width: 94%;
    max-width: 94%;
    max-height: var(--poster-title-max-height);
}

.poster-sheet--a4-4x1 .poster-sheet__subtitle {
    width: var(--poster-subtitle-width);
    max-width: 82%;
}

.plan-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(22, 192, 93, 0.2);
    border-radius: 16px;
    background: rgba(22, 192, 93, 0.08);
    color: #f7f9fc;
}

.plan-strip div {
    display: grid;
    gap: 4px;
}

.plan-strip strong {
    font-size: 0.9rem;
}

.plan-strip span {
    color: rgba(214, 226, 255, 0.82);
    font-size: 0.86rem;
}

.plan-strip__link,
.plan-strip__select select {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(4, 10, 18, 0.42);
    color: #f7f9fc;
    font-weight: 800;
}

.plan-strip__link {
    padding: 10px 14px;
    text-decoration: none;
    white-space: nowrap;
}

.plan-strip__select {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(214, 226, 255, 0.82);
    font-size: 0.84rem;
    font-weight: 800;
}

.plan-strip__select select {
    min-height: 40px;
    padding: 0 12px;
}

.central-quickstart {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.central-quickstart__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.central-quickstart__item > span {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(22, 192, 93, 0.14);
    color: var(--green);
    font-weight: 900;
}

.central-quickstart__item strong {
    display: block;
    color: #f7fbff;
}

.central-quickstart__item p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.central-main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
    gap: 18px;
    align-items: start;
}

.central-content-area {
    min-width: 0;
}

.central-right-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 24;
    width: min(360px, calc(100vw - var(--ops-sidebar-width) - 28px));
    height: 100vh;
    min-width: 0;
    padding: 10px 10px 10px 0;
    pointer-events: none;
}

.header-editor-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(23, 26, 33, 0.98), rgba(14, 18, 24, 0.98));
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.24);
}

.header-editor-header {
    position: relative;
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-editor-title {
    margin: 0 0 6px;
    font-size: 1.08rem;
}

.header-editor-subtitle,
.header-editor-plan p {
    margin: 0;
    color: rgba(170, 180, 195, 0.82);
    font-size: 0.86rem;
    line-height: 1.45;
}

.header-style-toggle,
.header-style-close {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(22, 192, 93, 0.12);
    color: #dcffe8;
    cursor: pointer;
    font-weight: 900;
}

.header-style-toggle {
    width: fit-content;
    min-height: 38px;
    margin-top: 14px;
    padding: 0 14px;
}

.header-style-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    place-items: center;
    font-size: 1.2rem;
}

.header-editor-scroll {
    min-height: 0;
    overflow: auto;
    padding: 14px;
}

.header-editor-panel {
    display: grid;
    gap: 12px;
}

.header-editor-section {
    display: grid;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.header-editor-section__label {
    color: #f7fbff;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-current-preview {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.header-current-preview__band {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--header-preview-bg, #e11919);
    color: var(--header-preview-color, #ffffff);
    text-align: center;
}

.header-current-preview__band.is-empty {
    border: 1px dashed rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
}

.header-current-preview__band span {
    color: inherit;
    font-family: var(--poster-display-font, "Arial Black", sans-serif);
    font-size: 1rem;
    font-weight: 900;
}

.header-current-preview__info {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.header-current-preview__info strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.88rem;
}

.header-current-preview__info span {
    color: rgba(170, 180, 195, 0.82);
    font-size: 0.78rem;
}

.header-preset-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.header-preset-card {
    position: relative;
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(10, 15, 22, 0.64);
    color: #f7fbff;
    cursor: pointer;
    text-align: left;
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.header-preset-card:hover {
    transform: translateY(-1px);
    border-color: rgba(22, 192, 93, 0.22);
    background: rgba(22, 192, 93, 0.06);
}

.header-preset-card.is-active {
    border-color: rgba(22, 192, 93, 0.65);
    box-shadow: inset 0 0 0 1px rgba(22, 192, 93, 0.24);
}

.header-preset-card.is-locked {
    opacity: 0.62;
}

.header-preset-card__image {
    width: 100%;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    background: #0b1018;
}

.header-preset-card__label {
    min-height: 30px;
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1.25;
}

.header-preset-card__badge {
    width: fit-content;
    min-height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.header-preset-card__badge.is-free {
    background: rgba(22, 192, 93, 0.14);
    color: #cbffdf;
}

.header-preset-card__badge.is-pro {
    background: rgba(255, 213, 0, 0.12);
    color: #ffe784;
}

.header-editor-field {
    display: grid;
    gap: 7px;
    color: rgba(214, 226, 255, 0.84);
    font-size: 0.8rem;
    font-weight: 800;
}

.header-editor-field input[type="text"] {
    min-height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(10, 15, 22, 0.74);
    color: #f7fbff;
    padding: 0 12px;
}

.header-editor-switch,
.header-editor-radio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: rgba(214, 226, 255, 0.84);
    font-size: 0.82rem;
    font-weight: 800;
}

.header-editor-radio {
    justify-content: flex-start;
}

.header-editor-switch input,
.header-editor-radio input {
    accent-color: var(--green);
}

.header-editor-colors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    color: rgba(214, 226, 255, 0.84);
    font-size: 0.76rem;
    font-weight: 800;
}

.header-editor-colors input {
    display: block;
    width: 100%;
    height: 34px;
    margin-top: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: transparent;
}

.header-editor-segment {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.header-editor-segment button {
    min-height: 36px;
    border: 0;
    background: rgba(10, 15, 22, 0.74);
    color: rgba(214, 226, 255, 0.72);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 900;
}

.header-editor-segment button + button {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.header-editor-segment button.is-active {
    background: rgba(22, 192, 93, 0.16);
    color: #dcffe8;
}

.header-editor-apply {
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #19c861, #10a84e);
    color: #f9fffb;
    cursor: pointer;
    font-weight: 900;
}

.poster-preview-card.is-selected {
    border-color: rgba(22, 192, 93, 0.58);
    box-shadow: 0 0 0 1px rgba(22, 192, 93, 0.18), 0 26px 54px rgba(0, 0, 0, 0.24);
}

.poster-sheet--a4-4x1 .poster-sheet__subtitle span {
    letter-spacing: 0;
}

.poster-sheet--a4-4x1 .poster-sheet__weight {
    max-width: 84%;
    margin-left: auto;
    margin-right: auto;
}

.poster-sheet--a4-4x1 .poster-sheet__price {
    min-height: var(--poster-price-area-height);
    margin-top: var(--poster-price-margin-top);
}

.poster-sheet--a4-4x1 .poster-sheet__price strong {
    min-height: var(--poster-price-area-height);
}

.poster-sheet--a4-2x1 {
    --poster-title-size: 34mm;
    --poster-title-max-height: 64mm;
    --poster-subtitle-size: 16.2mm;
    --poster-subtitle-secondary-size: 11.8mm;
    --poster-subtitle-line-height: 0.89;
    --poster-subtitle-width: 92%;
    --poster-subtitle-secondary-width: 82%;
    --poster-subtitle-secondary-gap: 1.4mm;
    --poster-title-subtitle-gap: 2.5mm;
    --poster-subtitle-weight-gap: 4.8mm;
    --poster-title-weight-gap: 3.5mm;
    --poster-weight-size: 10.2mm;
    --poster-price-size: 42mm;
    --poster-title-line-height: 0.92;
    --poster-band-height: 12mm;
    --poster-band-margin-bottom: 6mm;
    --poster-header-reserve: 22mm;
    --poster-band-padding-x: 6mm;
    --poster-offer-size: 7.4mm;
    --poster-dot-size: 2.6mm;
    --poster-rs-size: 6.8mm;
    --poster-rs-padding-bottom: 2.8mm;
    --poster-price-gap: 3mm;
    --poster-price-margin-top: 5.1mm;
    --poster-price-area-height: 40mm;
    --poster-price-padding: 1.3mm 1.3mm 0;
    --poster-price-side-padding: 2.4mm;
    --poster-price-shadow: 1.1mm 1mm 0 rgba(80, 0, 0, 0.8);
}

.poster-sheet--a4-1x1,
.poster-sheet--a4 {
    --poster-title-size: 48mm;
    --poster-title-max-height: 92mm;
    --poster-subtitle-size: 24mm;
    --poster-subtitle-secondary-size: 17mm;
    --poster-subtitle-line-height: 0.96;
    --poster-subtitle-gap: 1.5mm;
    --poster-subtitle-width: 94%;
    --poster-subtitle-secondary-width: 84%;
    --poster-subtitle-secondary-gap: 2.2mm;
    --poster-title-subtitle-gap: 5.2mm;
    --poster-subtitle-weight-gap: 8.6mm;
    --poster-title-weight-gap: 5.4mm;
    --poster-weight-size: 11.5mm;
    --poster-price-size: 72mm;
    --poster-title-line-height: 0.9;
    --poster-band-height: 15mm;
    --poster-band-margin-bottom: 7.5mm;
    --poster-header-reserve: 28mm;
    --poster-band-padding-x: 8mm;
    --poster-offer-size: 9mm;
    --poster-dot-size: 3.1mm;
    --poster-rs-size: 9mm;
    --poster-rs-padding-bottom: 4.4mm;
    --poster-price-gap: 4mm;
    --poster-price-margin-top: 6.2mm;
    --poster-price-area-height: 72mm;
    --poster-price-padding: 1.6mm 1.8mm 0;
    --poster-price-side-padding: 3mm;
    --poster-price-shadow: 2mm 1.6mm 0 rgba(80, 0, 0, 0.82);
}

.poster-sheet--a4-1x1 .poster-sheet__body,
.poster-sheet--a4 .poster-sheet__body {
    justify-content: center;
    padding-top: 3.5mm;
}

.poster-sheet .poster-sheet__unit.poster-sheet--sem-header .poster-sheet__body,
.poster-sheet--a4-4x1 .poster-sheet__unit.poster-sheet--sem-header .poster-sheet__body,
.poster-sheet--a4-1x1 .poster-sheet__unit.poster-sheet--sem-header .poster-sheet__body,
.poster-sheet--a4 .poster-sheet__unit.poster-sheet--sem-header .poster-sheet__body {
    padding-top: 0;
}

.poster-sheet--a3 {
    --poster-title-size: 62mm;
    --poster-title-max-height: 118mm;
    --poster-subtitle-size: 26mm;
    --poster-subtitle-secondary-size: 18.8mm;
    --poster-subtitle-line-height: 0.94;
    --poster-subtitle-width: 93%;
    --poster-subtitle-secondary-width: 84%;
    --poster-subtitle-secondary-gap: 2.1mm;
    --poster-title-subtitle-gap: 4.8mm;
    --poster-subtitle-weight-gap: 8.6mm;
    --poster-title-weight-gap: 5.2mm;
    --poster-weight-size: 14.5mm;
    --poster-price-size: 100mm;
    --poster-title-line-height: 0.9;
    --poster-band-height: 19mm;
    --poster-band-margin-bottom: 10mm;
    --poster-header-reserve: 36mm;
    --poster-band-padding-x: 10mm;
    --poster-offer-size: 11.5mm;
    --poster-dot-size: 3.8mm;
    --poster-rs-size: 12.5mm;
    --poster-rs-padding-bottom: 6mm;
    --poster-price-gap: 5mm;
    --poster-price-margin-top: 7mm;
    --poster-price-area-height: 96mm;
    --poster-price-padding: 2mm 2.2mm 0;
    --poster-price-side-padding: 4mm;
    --poster-price-shadow: 2.6mm 2mm 0 rgba(80, 0, 0, 0.82);
}

.poster-sheet--sra3 {
    --poster-title-size: 70mm;
    --poster-title-max-height: 128mm;
    --poster-subtitle-size: 28mm;
    --poster-subtitle-secondary-size: 20.4mm;
    --poster-subtitle-line-height: 0.94;
    --poster-subtitle-width: 93%;
    --poster-subtitle-secondary-width: 84%;
    --poster-subtitle-secondary-gap: 2.3mm;
    --poster-title-subtitle-gap: 5.2mm;
    --poster-subtitle-weight-gap: 9.6mm;
    --poster-title-weight-gap: 5.9mm;
    --poster-weight-size: 15.8mm;
    --poster-price-size: 110mm;
    --poster-title-line-height: 0.9;
    --poster-band-height: 21mm;
    --poster-band-margin-bottom: 10.5mm;
    --poster-header-reserve: 39mm;
    --poster-band-padding-x: 11mm;
    --poster-offer-size: 12.5mm;
    --poster-dot-size: 4.2mm;
    --poster-rs-size: 14mm;
    --poster-rs-padding-bottom: 6.5mm;
    --poster-price-gap: 5.4mm;
    --poster-price-margin-top: 8mm;
    --poster-price-area-height: 108mm;
    --poster-price-padding: 2.2mm 2.4mm 0;
    --poster-price-side-padding: 4.4mm;
    --poster-price-shadow: 2.8mm 2.1mm 0 rgba(80, 0, 0, 0.82);
}

.poster-sheet .poster-sheet__body {
    box-sizing: border-box;
    padding-top: var(--poster-header-reserve);
}

.poster-preview-card__meta {
    justify-content: space-between;
    gap: 12px;
}

.poster-preview-card__summary {
    display: grid;
    gap: 4px;
}

.poster-preview-card__summary strong {
    font-size: 0.96rem;
    font-weight: 800;
}

.poster-preview-card__summary span,
.poster-preview-card__summary small {
    color: rgba(170, 180, 195, 0.82);
}

.poster-preview-card__summary span {
    font-size: 0.88rem;
}

.poster-preview-card__summary span:empty {
    display: none;
}

.poster-preview-card__summary small {
    font-size: 0.82rem;
}

.poster-preview-card__status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.poster-preview-card__status.is-ok {
    background: rgba(22, 192, 93, 0.1);
    color: #cbffdf;
}

.poster-preview-card__status.is-warning {
    background: rgba(255, 213, 0, 0.1);
    color: #ffe784;
}

.poster-preview-card__editor {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 2px;
}

.poster-preview-card__editor.is-open,
.poster-preview-card.is-editing .poster-preview-card__editor {
    display: grid;
}

.poster-preview-card__field {
    display: grid;
    gap: 6px;
}

.poster-preview-card__field:first-child {
    grid-column: 1 / -1;
}

.poster-preview-card__field span {
    color: rgba(247, 249, 252, 0.88);
    font-size: 0.82rem;
    font-weight: 700;
}

.poster-preview-card__field input {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: #141922;
    color: #f7f9fc;
    font: inherit;
    outline: none;
}

.poster-preview-card__field input:focus {
    border-color: rgba(22, 192, 93, 0.38);
    box-shadow: 0 0 0 4px rgba(22, 192, 93, 0.08);
}

.poster-preview-card__editor-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
}

.poster-preview-card__action--primary {
    border-color: rgba(22, 192, 93, 0.34);
    background: rgba(22, 192, 93, 0.12);
    color: #cbffdf;
}

.poster-preview-card--skeleton,
.generated-lot--skeleton {
    position: relative;
    overflow: hidden;
}

.poster-preview-card--skeleton::after,
.generated-lot--skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    animation: batchShimmer 1.1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1320px) {
    .central-entry__footer {
        align-items: flex-end;
    }

    .central-entry__status {
        order: 3;
        width: 100%;
    }

    .generated-batches__list,
    .generated-lot__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .central-main-layout {
        grid-template-columns: 1fr;
    }

    .central-right-sidebar {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 30;
        width: min(380px, 94vw);
        height: 100vh;
        padding: 0;
        pointer-events: auto;
        transform: translateX(105%);
        transition: transform 200ms ease;
    }

    .central-right-sidebar.is-open {
        transform: translateX(0);
    }

    .header-editor-container {
        border-radius: 0;
    }

    .header-style-toggle,
    .header-style-close {
        display: inline-grid;
    }

    .central-entry__composer,
    .generated-batches,
    .generated-lot,
    .poster-preview-card {
        padding: 14px;
    }

    .central-entry__footer {
        flex-wrap: wrap;
    }

    .central-entry__footer-left,
    .central-entry__actions,
    .central-entry__status {
        width: 100%;
    }

    .central-entry__actions {
        justify-content: flex-end;
    }

    .generated-batches__header,
    .generated-lot__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .generated-batches__toolbar,
    .generated-batches__actions,
    .generated-lot__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .generated-batches__notice {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .central-heading__subtitle {
        font-size: 0.92rem;
    }

    .central-entry__textarea {
        min-height: 220px;
        font-size: 0.98rem;
    }

    .central-entry__meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .central-entry__meta-group,
    .central-entry__helper {
        width: 100%;
    }

    .central-entry__helper {
        align-items: flex-start;
        flex-direction: column;
    }

    .central-entry__helper-actions {
        justify-content: flex-start;
    }

    .central-entry__footer-left {
        justify-content: space-between;
    }

    .central-entry__imports {
        font-size: 0.74rem;
        white-space: normal;
    }

    .generated-batches__list,
    .generated-lot__grid,
    .poster-preview-card__editor {
        grid-template-columns: 1fr;
    }

    .poster-preview {
        min-height: 250px;
    }

    .poster-preview__title {
        font-size: 1.52rem;
    }

    .poster-preview__price strong {
        font-size: 2.46rem;
    }
}

@media (max-width: 560px) {

    .central-entry__footer-left,
    .central-entry__actions {
        justify-content: space-between;
    }

    .central-entry__surface {
        padding: 14px 14px 12px;
    }

    .central-entry__ai {
        min-width: 84px;
        justify-content: center;
    }

    .central-entry__ghost-action,
    .central-entry__shortcut {
        min-height: 30px;
        font-size: 0.72rem;
    }

    .generated-batches__empty {
        padding: 18px;
    }
}

.auth-body {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(11, 16, 24, 0.96), rgba(6, 10, 16, 0.98));
    color: var(--text);
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.auth-panel {
    width: min(620px, 100%);
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(10, 15, 22, 0.94);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
}

.auth-brand span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--green);
    color: #03130a;
    font-weight: 900;
}

.auth-copy {
    margin-top: 36px;
}

.auth-copy p,
.generic-page__head p,
.plan-card p {
    margin: 0 0 8px;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.auth-copy h1 {
    margin: 0;
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    letter-spacing: 0;
}

.auth-copy span,
.auth-switch,
.generic-page__head span,
.generic-card p,
.settings-list span,
.plan-card span,
.plan-card li {
    color: var(--muted);
}

.auth-form {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.auth-form label {
    display: grid;
    gap: 8px;
    color: #e7edf5;
    font-weight: 700;
}

.auth-form input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 14px 15px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.auth-plans,
.plans-grid,
.generic-page__grid {
    display: grid;
    gap: 14px;
}

.auth-step-note {
    display: grid;
    gap: 4px;
    padding: 13px 14px;
    border: 1px solid rgba(22, 192, 93, 0.22);
    border-radius: 8px;
    background: rgba(22, 192, 93, 0.08);
}

.auth-step-note strong {
    color: #f7fbff;
}

.auth-step-note span {
    color: var(--muted);
    font-size: 0.92rem;
}

.auth-plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auth-plan > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-plan > span {
    position: relative;
    display: grid;
    gap: 4px;
    min-height: 164px;
    padding: 16px 14px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.auth-plan > span::before {
    content: "";
    position: absolute;
    right: 14px;
    top: 14px;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
}

.auth-plan strong {
    padding-right: 28px;
    font-size: 1.05rem;
}

.auth-plan small,
.auth-plan em {
    color: var(--muted);
    font-size: 0.86rem;
    font-style: normal;
    line-height: 1.45;
}

.auth-plan em {
    margin-top: 6px;
    color: #d9f7e4;
}

.auth-plan input:checked + span {
    border-color: rgba(22, 192, 93, 0.6);
    background: rgba(22, 192, 93, 0.1);
}

.auth-plan input:checked + span::before {
    background: var(--green);
    box-shadow: inset 0 0 0 4px #06100a;
}

.auth-submit {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
}

.auth-switch {
    margin: 18px 0 0;
}

.auth-switch a {
    color: var(--green);
    font-weight: 800;
}

.auth-message {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(22, 192, 93, 0.1);
    color: #bff8d2;
}

.auth-message--error {
    background: rgba(255, 99, 99, 0.12);
    color: #ffd0d0;
}

.generic-page {
    padding: 26px;
}

.generic-page__head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.generic-page__icon {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: rgba(22, 192, 93, 0.12);
    color: var(--green);
}

.generic-page__head h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
}

.generic-page__grid,
.plans-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.generic-card,
.plan-card,
.settings-list {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.generic-card h2,
.plan-card h2 {
    margin: 0 0 10px;
}

.generic-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 40px;
    margin-top: 14px;
    padding: 0 14px;
    border: 1px solid rgba(22, 192, 93, 0.24);
    border-radius: 8px;
    background: rgba(22, 192, 93, 0.12);
    color: #dfffe9;
    cursor: pointer;
    font-weight: 800;
    text-decoration: none;
}

.generic-card__button--ghost {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #f7fbff;
}

.generic-card__button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.dashboard-tool,
.settings-form {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.dashboard-tool--inline {
    gap: 6px;
}

.dashboard-tool label,
.settings-form label {
    display: grid;
    gap: 8px;
    color: #f7fbff;
    font-weight: 800;
}

.dashboard-tool textarea,
.dashboard-tool input,
.settings-form input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(10, 15, 22, 0.82);
    color: var(--text);
    font: inherit;
    outline: none;
}

.dashboard-tool textarea {
    min-height: 140px;
    padding: 14px;
    resize: vertical;
}

.dashboard-tool input,
.settings-form input {
    min-height: 46px;
    padding: 0 14px;
}

.dashboard-tool p {
    margin: 0;
    color: var(--muted);
}

.history-panel {
    display: grid;
    gap: 14px;
    margin-top: 16px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(12, 18, 28, 0.72);
}

.history-panel__head,
.history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.history-panel__head strong,
.history-item strong {
    display: block;
    color: var(--text);
}

.history-panel__head span,
.history-item span,
.history-panel__empty {
    color: var(--muted);
}

.history-panel__list {
    display: grid;
    gap: 10px;
}

.history-item {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.history-item__body {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.history-item__body strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-item__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.history-panel__empty {
    margin: 0;
}

.settings-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 16px;
}

.settings-card {
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.settings-card--profile {
    grid-row: span 2;
}

.settings-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.settings-card__head p {
    margin: 0 0 6px;
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.settings-card__head h2 {
    margin: 0;
}

.settings-avatar {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 8px;
    background: rgba(22, 192, 93, 0.16);
    color: #dcffe8;
    font-size: 1.35rem;
    font-weight: 900;
}

.settings-card label {
    display: grid;
    gap: 8px;
    color: #f7fbff;
    font-weight: 800;
}

.settings-card input[type="text"],
.settings-card select {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(10, 15, 22, 0.82);
    color: var(--text);
    font: inherit;
    outline: none;
    padding: 0 14px;
}

.settings-toggle {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.settings-toggle input {
    width: 20px;
    height: 20px;
    accent-color: var(--green);
}

.settings-toggle strong,
.settings-toggle small {
    display: block;
}

.settings-toggle small {
    margin-top: 4px;
    color: var(--muted);
    font-weight: 500;
}

.settings-list--compact {
    padding: 0;
    border: 0;
    background: transparent;
}

.settings-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.settings-list {
    display: grid;
    gap: 16px;
}

.settings-list div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.settings-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.plan-card {
    display: grid;
    gap: 18px;
}

.plan-card.is-current {
    border-color: rgba(22, 192, 93, 0.58);
    background: rgba(22, 192, 93, 0.08);
}

.plan-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
}

@media (max-width: 720px) {
    .auth-plans {
        grid-template-columns: 1fr;
    }

    .auth-plan > span {
        min-height: 0;
    }

    .central-quickstart {
        grid-template-columns: 1fr;
    }

    .settings-layout {
        grid-template-columns: 1fr;
    }

    .settings-card--profile {
        grid-row: auto;
    }
}
