:root {
    --bg: #f5f7fb;
    --panel: #ffffff;
    --ink: #172033;
    --muted: #687386;
    --line: #dde4ee;
    --nav: #111827;
    --primary: #1d4ed8;
    --accent: #0f766e;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; }
.sidebar { background: var(--nav); color: #fff; padding: 22px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0; }
.brand-logo { display: block; width: 192px; max-width: 100%; height: auto; border-radius: 8px; background: #fff; }
.app-brand { min-height: 48px; padding: 4px 2px; }
.app-brand .brand-logo { width: 210px; box-shadow: 0 10px 24px rgba(2, 6, 23, .18); }
.sidebar .nav { margin-top: 28px; gap: 4px; }
.sidebar .nav-link { color: #cbd5e1; border-radius: 8px; padding: 10px 12px; }
.sidebar .nav-link:hover, .sidebar .nav-link.active { color: #fff; background: rgba(255,255,255,.08); }
.nav-group { display: grid; gap: 4px; }
.nav-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 42px;
    padding: 10px 12px;
    color: #e2e8f0;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after { content: "+"; color: #94a3b8; font-weight: 900; }
.nav-group[open] summary { background: rgba(255,255,255,.06); color: #fff; }
.nav-group[open] summary::after { content: "-"; }
.nav-group summary:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-submenu { display: grid; gap: 2px; padding: 2px 0 6px 12px; border-left: 1px solid rgba(148,163,184,.32); margin-left: 12px; }
.nav-submenu .nav-link { padding: 8px 10px; font-size: .92rem; }
.sidebar-version { margin-top: 18px; padding: 10px 12px; color: #94a3b8; font-size: .78rem; font-weight: 800; }
.main { padding: 24px; min-width: 0; max-width: 100%; overflow-x: hidden; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.topbar h1 { font-size: 1.65rem; margin: 0; font-weight: 800; }
.page-kicker, .muted { color: var(--muted); font-size: .88rem; }
.panel, .metric-card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 20px rgba(15, 23, 42, .04); }
.panel { padding: 18px; }
.panel h2 { font-size: 1.05rem; font-weight: 800; margin: 0 0 14px; }
.panel.subtle { background: #fbfcff; }
.marketplace-grid { display: grid; gap: 16px; }
.marketplace-card { position: relative; overflow: hidden; padding: 20px; }
.marketplace-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--marketplace-accent, #2dd4bf); }
.marketplace-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.marketplace-card-head h2 { margin: 0; font-size: 1.35rem; line-height: 1.1; }
.marketplace-kicker { color: var(--muted); font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.marketplace-description { max-width: 920px; margin: 0 0 18px; color: var(--muted); font-weight: 700; }
.marketplace-card-raia { --marketplace-accent: #20c997; }
.marketplace-card-shopee { --marketplace-accent: #ee4d2d; }
.marketplace-card-magalu { --marketplace-accent: #0b74de; }
.marketplace-card-auto { --marketplace-accent: #7c3aed; margin-bottom: 16px; }
.marketplace-file-list { display: grid; gap: 8px; margin-top: 10px; }
.marketplace-file-list[hidden] { display: none; }
.marketplace-file-list-head,
.marketplace-file-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcff;
}
.marketplace-file-list-head { background: #eef6ff; }
.marketplace-file-list-head strong,
.marketplace-file-item span { min-width: 0; font-weight: 900; overflow-wrap: anywhere; }
.marketplace-file-list-head span,
.marketplace-file-item small { color: var(--muted); font-size: .82rem; font-weight: 800; white-space: nowrap; }
.marketplace-result {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding: 14px;
    border: 1px solid #86efac;
    border-radius: 8px;
    background: #f0fdf4;
}
.marketplace-result[hidden] { display: none; }
.marketplace-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.marketplace-result-head strong { color: #14532d; font-size: 1rem; font-weight: 900; }
.marketplace-result-head span { color: #166534; font-size: .88rem; font-weight: 900; }
.marketplace-result-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; }
.marketplace-result-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 2px 10px;
    align-items: center;
    min-height: 58px;
    padding: 10px;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    background: #fff;
}
.marketplace-result-item span { min-width: 0; color: #14532d; font-weight: 900; overflow-wrap: anywhere; }
.marketplace-result-item strong { grid-row: 1 / 3; grid-column: 2; color: #052e16; font-size: 1.8rem; line-height: 1; font-weight: 950; }
.marketplace-result-item small { color: #166534; font-size: .76rem; font-weight: 800; }
.metric-grid { display: grid; grid-template-columns: repeat(7, minmax(140px, 1fr)); gap: 12px; }
.metric-grid-four { grid-template-columns: repeat(4, minmax(160px, 1fr)); }
.metric-grid-five { grid-template-columns: repeat(5, minmax(140px, 1fr)); }
.metric-card { padding: 16px; min-height: 102px; display: flex; flex-direction: column; justify-content: space-between; }
.metric-card span { color: var(--muted); font-size: .82rem; }
.metric-card strong { font-size: 1.8rem; line-height: 1; overflow-wrap: anywhere; }
.metric-card strong.metric-text { font-size: 1rem; line-height: 1.2; }
.expedition-dashboard { display: grid; gap: 14px; }
.expedition-section { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 20px rgba(15, 23, 42, .04); }
.expedition-section-header { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.expedition-section-header span { color: var(--muted); font-size: .82rem; font-weight: 800; text-transform: uppercase; }
.expedition-section-header h2 { margin: 0; font-size: 2rem; line-height: 1; font-weight: 900; }
.expedition-section-header strong { color: var(--muted); font-size: 1rem; }
.expedition-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.expedition-metric { container-type: inline-size; min-width: 0; min-height: 112px; display: grid; align-content: space-between; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; }
.expedition-metric span { color: var(--muted); font-size: .9rem; font-weight: 800; }
.expedition-metric strong { max-width: 100%; font-size: clamp(2rem, 2.8vw, 3.45rem); font-size: clamp(2rem, 13cqw, 3.45rem); line-height: .95; font-weight: 900; letter-spacing: 0; overflow-wrap: anywhere; word-break: break-word; }
.expedition-metric.is-featured strong { font-size: clamp(2rem, 2.8vw, 3.55rem); font-size: clamp(2rem, 12cqw, 3.55rem); }
.expedition-metric small { color: var(--muted); font-size: .92rem; font-weight: 700; }
.expedition-metric.is-created { border-color: #facc15; background: #fffbeb; }
.expedition-metric.is-processed { border-color: #93c5fd; background: #eff6ff; }
.expedition-metric.is-finalized { border-color: #86efac; background: #f0fdf4; }
.expedition-empty { display: grid; place-items: center; min-height: 96px; padding: 16px; color: var(--muted); border: 1px dashed #cbd5e1; border-radius: 8px; background: #fbfcff; font-weight: 800; text-align: center; }
.marketplace-today-panel { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcff; }
.marketplace-today-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.marketplace-today-header h3 { margin: 0; font-size: 1rem; font-weight: 900; }
.marketplace-today-header span { color: var(--muted); font-size: .86rem; font-weight: 800; }
.marketplace-today-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; min-width: 0; }
.marketplace-today-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 2px 10px; min-width: 0; min-height: 58px; align-content: center; padding: 8px 10px; border: 1px solid #bbf7d0; border-radius: 8px; background: #f0fdf4; }
.marketplace-today-item span { min-width: 0; color: #166534; font-size: .84rem; font-weight: 900; overflow-wrap: anywhere; }
.marketplace-today-item strong { grid-row: 1 / 3; grid-column: 2; align-self: center; color: #111827; font-size: 1.8rem; line-height: 1; font-weight: 900; }
.marketplace-today-item small { color: var(--muted); font-size: .76rem; font-weight: 800; }
.marketplace-today-empty { min-height: 58px; display: grid; place-items: center; padding: 10px 12px; color: var(--muted); border: 1px dashed #cbd5e1; border-radius: 8px; background: #fff; font-weight: 800; text-align: center; }
.full-channel-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.full-channel-card { container-type: inline-size; min-width: 0; min-height: 112px; display: grid; align-content: space-between; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; }
.full-channel-card span { color: var(--muted); font-size: .9rem; font-weight: 900; }
.full-channel-card strong { max-width: 100%; font-size: clamp(2rem, 2.8vw, 3.45rem); font-size: clamp(2rem, 13cqw, 3.45rem); line-height: .9; font-weight: 900; overflow-wrap: anywhere; word-break: break-word; }
.full-channel-card small { color: #111827; font-size: .9rem; font-weight: 900; font-style: italic; }
.full-channel-card.is-amazon { border-color: #facc15; background: #fffbeb; }
.full-channel-card.is-mercadolivre { border-color: #93c5fd; background: #eff6ff; }
.full-channel-card.is-amazon span, .full-channel-card.is-mercadolivre span { color: #000; font-size: 1rem; font-style: italic; }
.full-channel-card.is-done { border-color: #86efac; background: #f0fdf4; }
.full-channel-card:not(.is-amazon):not(.is-mercadolivre) small { color: var(--muted); font-style: normal; }
.full-progress-list { display: grid; gap: 10px; }
.full-progress-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, max-content); gap: 8px 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcff; }
.full-progress-item.is-complete { background: #f0fdf4; }
.full-progress-status { grid-column: 1 / -1; display: grid; place-items: center; min-height: 20px; border-radius: 6px; background: #1d6bf3; color: #fff; font-size: .78rem; font-weight: 900; }
.full-progress-item.is-complete .full-progress-status { background: #16a34a; }
.full-progress-main { display: grid; gap: 4px; min-width: 0; }
.full-progress-main h3 { margin: 0; font-size: 1.08rem; line-height: 1.2; font-weight: 900; overflow-wrap: anywhere; }
.full-progress-main p { margin: 0; color: var(--muted); font-weight: 700; }
.full-progress-numbers { display: grid; justify-items: end; gap: 2px; }
.full-progress-numbers strong { max-width: 100%; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1; font-weight: 900; overflow-wrap: anywhere; word-break: break-word; }
.full-progress-numbers span { color: var(--muted); font-size: .86rem; font-weight: 800; }
.full-progress-bar { grid-column: 1 / -1; height: 12px; border-radius: 999px; overflow: hidden; background: #e5eaf3; }
.full-progress-bar div { height: 100%; border-radius: inherit; background: #16a34a; transition: width .25s ease; }
.incoming-invoice-page { display: grid; gap: 16px; }
.incoming-invoice-import,
.incoming-invoice-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.incoming-invoice-import-form { flex: 1 1 760px; display: grid; grid-template-columns: minmax(180px, 260px) minmax(130px, 170px) minmax(260px, 1fr) auto; gap: 10px; align-items: start; }
.incoming-invoice-links { display: grid; gap: 14px; }
.incoming-invoice-links table { min-width: 980px; }
.incoming-invoice-metrics .metric-card:nth-child(3) { border-color: #86efac; background: #f0fdf4; }
.incoming-invoice-scan { display: grid; gap: 16px; }
.incoming-scan-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 260px); gap: 14px; align-items: stretch; }
.incoming-scan-box { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcff; }
.incoming-scan-box input { min-height: 64px; font-size: 1.65rem; font-weight: 900; text-transform: uppercase; }
.incoming-scan-box .incoming-invoice-key-input { min-height: 50px; font-size: 1rem; }
.incoming-scan-feedback { min-height: 42px; display: flex; align-items: center; padding: 9px 11px; border-radius: 8px; background: #eef2f7; color: #475569; font-weight: 900; }
.incoming-scan-feedback.is-success { background: #dcfce7; color: #166534; }
.incoming-scan-feedback.is-warning { background: #fef3c7; color: #92400e; }
.incoming-scan-feedback.is-error { background: #fee2e2; color: #991b1b; }
.incoming-overall { display: grid; align-content: space-between; gap: 8px; padding: 16px; border: 1px solid #bfdbfe; border-radius: 8px; background: #eff6ff; }
.incoming-overall span,
.incoming-overall small { color: #475569; font-weight: 900; }
.incoming-overall strong { color: #111827; font-size: clamp(2.3rem, 5vw, 4rem); line-height: .9; font-weight: 950; }
.incoming-progress-list { display: grid; gap: 10px; }
.incoming-progress-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, max-content); gap: 8px 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.incoming-progress-item.is-ok { border-color: #86efac; background: #f0fdf4; }
.incoming-progress-item.is-extra { border-color: #fca5a5; background: #fff1f2; }
.incoming-progress-item strong { display: block; min-width: 0; font-weight: 900; overflow-wrap: anywhere; }
.incoming-progress-item span,
.incoming-progress-numbers span { color: var(--muted); font-size: .84rem; font-weight: 800; }
.incoming-progress-numbers { display: grid; justify-items: end; gap: 2px; }
.incoming-progress-numbers strong { font-size: 1.12rem; }
.incoming-progress-bar { grid-column: 1 / -1; height: 12px; border-radius: 999px; overflow: hidden; background: #e5eaf3; }
.incoming-progress-bar div { height: 100%; border-radius: inherit; background: #16a34a; transition: width .2s ease; }
.incoming-finish-form { display: flex; justify-content: flex-end; }
.incoming-live-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.incoming-live-summary > div { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcff; }
.incoming-live-summary h2 { margin-bottom: 10px; }
.incoming-summary-list { display: grid; gap: 6px; }
.incoming-summary-list span { min-width: 0; padding: 8px 10px; border: 1px solid #dbe3ef; border-radius: 8px; background: #fff; color: var(--muted); font-weight: 800; overflow-wrap: anywhere; }
.incoming-summary-list strong { color: var(--ink); }
.incoming-report-page { display: grid; gap: 16px; }
.incoming-report-list,
.incoming-report-detail { display: grid; gap: 14px; }
.incoming-report-search { display: grid; grid-template-columns: minmax(220px, 320px) auto; gap: 8px; }
.incoming-report-table { min-width: 860px; }
.thumb { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; background: #eef2f7; border: 1px solid var(--line); }
.table > :not(caption) > * > * { vertical-align: middle; }
.table > tbody > tr.risk-row-warning > * { background: #fff8db; }
.table > tbody > tr.risk-row-danger > * { background: #ffe8e8; }
.table > tbody > tr.risk-row-severe > * { background: #b91c1c; color: #fff; }
.table > tbody > tr.risk-row-severe .muted { color: rgba(255,255,255,.82); }
.table-hover > tbody > tr.risk-row-warning:hover > * { background: #fff1b8; }
.table-hover > tbody > tr.risk-row-danger:hover > * { background: #ffd6d6; }
.table-hover > tbody > tr.risk-row-severe:hover > * { background: #991b1b; color: #fff; }
.btn { border-radius: 8px; font-weight: 700; }
.user-permissions { max-height: 290px; overflow: auto; display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcff; }
.user-permissions .form-check { margin: 0; }
.returns-page { display: grid; gap: 16px; max-width: 100%; min-width: 0; overflow-x: hidden; }
.returns-panel { padding: 18px; max-width: 100%; min-width: 0; overflow: hidden; }
.returns-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.returns-head h2 { margin: 0 0 4px; }
.returns-head p { margin: 0; color: var(--muted); font-size: .9rem; font-weight: 700; }
.returns-head-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.returns-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); gap: 18px; align-items: start; max-width: 100%; min-width: 0; }
.returns-main-fields { display: grid; gap: 14px; min-width: 0; }
.returns-section-title { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.returns-section-title::after { content: ""; height: 1px; flex: 1 1 auto; background: var(--line); }
.returns-ident-grid,
.returns-status-grid,
.returns-text-grid,
.returns-filter-form { display: grid; gap: 12px; }
.returns-ident-grid { grid-template-columns: minmax(150px, .85fr) minmax(220px, 1.35fr) minmax(130px, .65fr); }
.returns-status-grid { grid-template-columns: minmax(150px, .75fr) minmax(220px, 1.45fr) minmax(170px, .8fr); align-items: end; }
.returns-text-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.returns-wide { grid-column: 1 / -1; }
.returns-toggle { min-height: 38px; display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.02); font-weight: 850; cursor: pointer; }
.returns-toggle .form-check-input { margin: 0; }
.returns-upload { position: sticky; top: 18px; display: grid; gap: 12px; padding-left: 18px; border-left: 1px solid var(--line); }
.returns-upload-action { position: relative; display: grid; gap: 2px; min-height: 78px; align-content: center; padding: 14px; border: 1px dashed var(--line-strong, var(--line)); border-radius: 8px; background: rgba(255,255,255,.025); cursor: pointer; overflow: hidden; }
.returns-upload-action:hover { border-color: var(--accent); background: rgba(15, 118, 110, .08); }
.returns-upload-action strong { color: var(--ink); font-size: 1rem; font-weight: 900; }
.returns-upload-action span { color: var(--muted); font-size: .84rem; font-weight: 750; }
.returns-upload-action input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.returns-filter-form { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; }
.returns-filter-form .btn { min-width: 0; }
.returns-table { min-width: 920px; }
.returns-actions { white-space: nowrap; }
.returns-photo-strip { display: grid; gap: 8px; margin-top: 4px; }
.returns-photo-strip > span { color: var(--muted); font-size: .84rem; font-weight: 900; }
.returns-photo-strip > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.returns-photo-strip a { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.returns-photo-strip img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.returns-photo-help { color: var(--muted); font-size: .82rem; font-weight: 750; line-height: 1.35; }
.returns-photo-queue { display: grid; gap: 8px; min-height: 44px; }
.returns-photo-empty,
.returns-photo-count { padding: 10px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); font-size: .84rem; font-weight: 850; }
.returns-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.returns-photo-item { display: grid; gap: 6px; margin: 0; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.02); }
.returns-photo-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: #fff; }
.returns-photo-item figcaption { min-width: 0; color: var(--muted); font-size: .72rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.returns-photo-item .btn { min-height: 30px; padding: 4px 6px; font-size: .74rem; }
.full-label-title { margin: 8px 0 2px; font-size: 1.45rem; font-weight: 850; }
.full-print-panel { display: grid; gap: 18px; }
.full-print-toolbar { display: grid; grid-template-columns: auto minmax(220px, 360px) auto minmax(120px, 160px) auto; align-items: center; gap: 12px; }
.full-print-toolbar .form-select { min-width: 0; }
.full-label-list { display: grid; gap: 14px; }
.full-label-item { display: grid; grid-template-columns: 260px minmax(0, 1fr) 170px 300px; gap: 18px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.full-label-item.is-done { background: #f7fbf8; }
.label-preview { width: 240px; min-height: 160px; border: 1px solid #cbd5e1; background: #fff; padding: 18px 14px; display: grid; justify-items: center; align-content: start; gap: 7px; color: #05070a; text-align: center; }
.label-preview strong { font-size: 1.05rem; line-height: 1; }
.label-preview span { font-size: .76rem; line-height: 1.15; max-height: 34px; overflow: hidden; }
.label-preview em { justify-self: start; font-style: normal; font-size: .78rem; }
.preview-bars { width: 178px; height: 54px; background: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 5px, #000 5px 8px, transparent 8px 12px); }
.full-product-image-cell { display: grid; justify-items: center; }
.full-product-image-button { width: 150px; height: 150px; padding: 0; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; overflow: hidden; cursor: zoom-in; }
.full-product-image-button img { width: 100%; height: 100%; object-fit: contain; }
.full-product-image-modal { display: grid; place-items: center; min-height: 320px; background: #f8fafc; }
.full-product-image-modal img { width: min(100%, 760px); max-height: 72vh; object-fit: contain; }
.direct-print-confirm-modal .modal-content { overflow: hidden; }
.direct-print-confirm-body { padding: 0; }
.direct-print-confirm-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 340px; }
.direct-print-confirm-product { display: grid; place-items: center; padding: 24px; background: #f8fafc; border-right: 1px solid #e2e8f0; }
.direct-print-confirm-image { width: 212px; height: 212px; display: grid; place-items: center; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; overflow: hidden; }
.direct-print-confirm-image img { width: 100%; height: 100%; object-fit: contain; }
.direct-print-confirm-fields { min-width: 0; display: grid; gap: 12px; align-content: start; padding: 24px; }
.direct-print-confirm-fields > span { color: #64748b; font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.direct-print-confirm-fields strong { display: block; font-size: 1.18rem; line-height: 1.25; font-weight: 900; overflow-wrap: anywhere; }
.direct-print-confirm-fields p { margin: 0; padding: 16px 18px; border: 2px solid #dc2626; border-left-width: 8px; border-radius: 8px; background: #fee2e2; color: #7f1d1d; font-size: 1.05rem; font-weight: 950; line-height: 1.35; box-shadow: 0 10px 24px rgba(220, 38, 38, .18); }
.direct-print-confirm-fields .form-label { margin-bottom: 4px; color: #334155; font-weight: 800; }
.direct-print-confirm-fields .form-select,
.direct-print-confirm-fields .form-control { color: #0f172a; background-color: #fff; border-color: #cbd5e1; }
.full-label-info h3 { margin: 8px 0 4px; font-size: 1.2rem; font-weight: 850; }
.full-label-info p { margin: 0 0 4px; font-size: 1rem; line-height: 1.35; }
.full-label-actions { display: grid; gap: 8px; }
.full-label-actions form { display: grid; grid-template-columns: 82px 1fr; gap: 8px; }
.full-label-actions .btn { min-height: 38px; }
.checkout-lookup-panel { padding: 10px 18px; }
.checkout-lookup-form { display: grid !important; grid-template-columns: minmax(320px, 1fr) minmax(170px, 260px); gap: 12px; align-items: end; max-width: 1220px; }
.checkout-lookup-form > [class*="col-"] { width: auto; padding: 0; }
.checkout-lookup-form .form-label,
.checkout-ean-form .form-label { margin-bottom: 3px; font-size: .86rem; }
.checkout-lookup-form .form-control-lg,
.checkout-lookup-form .btn-lg { min-height: 40px; padding-top: 6px; padding-bottom: 6px; font-size: 1rem; line-height: 1.1; }
.checkout-order { display: grid; gap: 12px; padding: 14px 18px; }
.checkout-header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.checkout-codes { min-width: 220px; display: grid; gap: 4px; justify-items: end; color: var(--muted); }
.checkout-codes strong { color: var(--ink); font-size: 1.05rem; }
.checkout-summary-bar { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcff; color: var(--muted); font-size: .86rem; }
.checkout-summary-bar span { display: inline-flex; align-items: center; min-height: 20px; max-width: 100%; overflow-wrap: anywhere; }
.checkout-summary-bar strong { color: var(--ink); }
.checkout-scan-panel { display: grid; grid-template-columns: minmax(320px, 1fr) 160px; gap: 12px; align-items: end; max-width: 1220px; }
.checkout-ean-form { display: grid; gap: 4px; }
.checkout-ean-form .form-control-lg { height: 40px; min-height: 40px; padding: 6px 16px; font-size: 1rem; line-height: 1.1; }
.checkout-progress-card { height: 40px; min-height: 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr 1fr; align-items: center; gap: 0 8px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.checkout-progress-card span, .checkout-progress-card small { color: var(--muted); font-size: .68rem; line-height: 1; }
.checkout-progress-card span { align-self: end; }
.checkout-progress-card strong { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 1.25rem; line-height: .95; font-weight: 850; }
.checkout-progress-card small { align-self: start; }
.checkout-progress-line { height: 6px; border-radius: 999px; background: #e5eaf3; overflow: hidden; }
.checkout-progress-line div { height: 100%; border-radius: inherit; background: #16a34a; transition: width .2s ease; }
.checkout-order h2 { margin-bottom: 8px; }
.checkout-items-table { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.checkout-items-head, .checkout-row { display: grid; grid-template-columns: minmax(520px, 1fr) 110px 100px 80px 80px; gap: 12px; align-items: center; }
.checkout-items-head { padding: 8px 16px; background: #e8edf4; color: #475569; font-weight: 800; font-size: .9rem; }
.checkout-row { padding: 14px 16px; border-top: 1px solid var(--line); }
.checkout-row.is-done { background: #f0fdf4; }
.checkout-product-cell { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: center; min-width: 0; }
.checkout-image-button { width: 128px; height: 128px; padding: 0; border: 2px solid #cbd5e1; border-radius: 8px; background: #fff; overflow: hidden; cursor: zoom-in; box-shadow: 0 8px 18px rgba(15, 23, 42, .08); }
.checkout-image-button img { width: 100%; height: 100%; object-fit: contain; }
.checkout-product-main { min-width: 0; display: grid; gap: 7px; align-content: center; }
.checkout-product-cell h3 { margin: 0; font-size: 1.08rem; line-height: 1.25; font-weight: 850; overflow-wrap: anywhere; }
.checkout-product-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--muted); font-size: .86rem; }
.checkout-product-meta strong { color: var(--ink); }
.checkout-product-focus { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.checkout-quantity-card { min-width: 116px; min-height: 58px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 12px; border: 2px solid #93c5fd; border-radius: 8px; background: #eff6ff; color: #172033; }
.checkout-quantity-card span { color: #1e40af; font-size: .76rem; font-weight: 900; text-transform: uppercase; }
.checkout-quantity-card strong { color: #0f172a; font-size: 2rem; line-height: 1; font-weight: 950; }
.checkout-needed { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 12px; border: 2px solid #facc15; border-radius: 8px; background: #fffbeb; color: #7a4d00; font-weight: 900; font-size: .98rem; }
.checkout-done { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 12px; border: 2px solid #86efac; border-radius: 8px; background: #dcfce7; color: #166534; font-weight: 900; font-size: .98rem; }
.checkout-modal-image { display: grid; place-items: center; background: #f8fafc; }
.checkout-modal-image img { width: min(100%, 720px); max-height: 72vh; object-fit: contain; }
.checkout-qty { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 8px; background: #111827; color: #fff; font-size: 1.35rem; font-weight: 850; }
.checkout-item h3 { margin: 12px 0 6px; font-size: 1.35rem; font-weight: 850; line-height: 1.2; }
.checkout-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.checkout-action-card { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.conferencia-station { display: grid; gap: 18px; min-height: calc(100vh - 150px); }
.conferencia-station-form { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.conferencia-station-form .form-label { margin: 0; font-size: 1rem; font-weight: 850; color: #334155; }
.conferencia-station-row { display: grid; grid-template-columns: minmax(260px, 1fr) 190px; gap: 12px; align-items: stretch; }
.conferencia-station-row input { min-height: 72px; font-size: 2rem; font-weight: 850; letter-spacing: 0; text-transform: uppercase; }
.conferencia-station-row button { min-height: 72px; font-size: 1.25rem; font-weight: 850; }
.conferencia-status { min-height: 430px; display: grid; align-content: center; justify-items: center; gap: 18px; padding: 28px; border: 4px solid #cbd5e1; border-radius: 8px; background: #f8fafc; color: #0f172a; text-align: center; }
.conferencia-status-label { font-size: clamp(3.6rem, 9vw, 8.6rem); line-height: .9; font-weight: 950; letter-spacing: 0; }
.conferencia-status-message { max-width: 1100px; font-size: clamp(2rem, 4vw, 4.4rem); line-height: 1.04; font-weight: 950; overflow-wrap: anywhere; }
.conferencia-status-code { min-height: 32px; color: #475569; font-size: clamp(1.15rem, 2vw, 2rem); font-weight: 850; overflow-wrap: anywhere; }
.conferencia-station[data-state="checking"] .conferencia-status { border-color: #2563eb; background: #eff6ff; color: #1d4ed8; }
.conferencia-station[data-state="success"] .conferencia-status { border-color: #16a34a; background: #dcfce7; color: #14532d; }
.conferencia-station[data-state="error"] .conferencia-status { border-color: #dc2626; background: #fee2e2; color: #7f1d1d; }
.conferencia-station[data-state="error"] .conferencia-status-message { font-size: clamp(2.3rem, 4.8vw, 5rem); }
.conferencia-list-panel { display: grid; gap: 12px; }
.conferencia-list-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.conferencia-list-header h2 { font-size: 1.15rem; font-weight: 900; }
.conferencia-list-count { min-width: 58px; min-height: 42px; display: inline-grid; place-items: center; padding: 6px 12px; border-radius: 8px; background: #111827; color: #fff; font-size: 1.45rem; line-height: 1; }
.conferencia-list-totals { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.conferencia-list-totals span { min-height: 38px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; color: #475569; font-weight: 800; }
.conferencia-list-totals strong { color: #111827; font-size: 1.25rem; line-height: 1; }
.conferencia-list-filters { display: grid; grid-template-columns: 170px 170px 170px minmax(260px, 1fr) 160px; gap: 12px; align-items: end; }
.conferencia-list-table th { white-space: nowrap; color: #475569; font-size: .86rem; }
.conferencia-list-table td { vertical-align: middle; }
.conferencia-list-new > td { background: #dcfce7 !important; transition: background .25s ease; }
.stock-count-mobile { display: grid; gap: 12px; max-width: 1180px; margin: 0 auto; }
.stock-count-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.stock-count-head h2 { margin: 6px 0 2px; font-size: 1.35rem; line-height: 1.1; font-weight: 900; }
.stock-count-head p { margin: 0; color: var(--muted); font-weight: 800; }
.stock-count-company { display: grid; }
.stock-count-scan-card { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 20px rgba(15, 23, 42, .04); }
.stock-count-scan-card .form-label { margin: 0 0 6px; color: #334155; font-weight: 900; }
.stock-count-scan-row { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 8px; }
.stock-count-scan-row input { min-height: 62px; font-size: 1.5rem; font-weight: 900; text-transform: uppercase; }
.stock-count-scan-row button { min-height: 62px; font-size: 1.05rem; font-weight: 900; }
.stock-count-box-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.stock-count-box-row .form-label { font-size: .82rem; }
.stock-count-box-row input { min-height: 46px; font-size: 1.1rem; font-weight: 900; }
.stock-count-feedback { min-height: 64px; display: grid; align-content: center; gap: 2px; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; background: #f8fafc; }
.stock-count-feedback strong { font-size: 1.15rem; line-height: 1; font-weight: 900; }
.stock-count-feedback span { color: var(--muted); font-weight: 800; overflow-wrap: anywhere; }
.stock-count-feedback[data-state="success"] { border-color: #86efac; background: #dcfce7; color: #14532d; }
.stock-count-feedback[data-state="warning"] { border-color: #fde68a; background: #fffbeb; color: #713f12; }
.stock-count-feedback[data-state="checking"] { border-color: #93c5fd; background: #eff6ff; color: #1d4ed8; }
.stock-count-feedback[data-state="error"] { border-color: #fecaca; background: #fee2e2; color: #7f1d1d; }
.stock-count-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.stock-count-stats div { min-width: 0; min-height: 76px; display: grid; align-content: space-between; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.stock-count-stats strong { font-size: 1.55rem; line-height: 1; font-weight: 950; overflow-wrap: anywhere; }
.stock-count-stats span { color: var(--muted); font-size: .82rem; font-weight: 900; }
.stock-count-stats .is-missing { border-color: #fde68a; background: #fffbeb; }
.stock-count-stats .is-extra { border-color: #fecaca; background: #fff1f2; }
.stock-count-filters { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.stock-count-filters .btn { flex: 1 0 auto; min-height: 38px; }
.stock-count-search { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 8px; }
.stock-count-advanced-search { grid-template-columns: repeat(4, minmax(130px, 1fr)) auto auto auto; align-items: center; }
.stock-count-filter-summary { margin: 8px 0 12px; padding: 9px 12px; border: 1px solid rgba(45, 212, 191, .4); border-radius: 8px; background: rgba(13, 148, 136, .1); color: #ccfbf1; }
.stock-count-table { display: grid; gap: 10px; }
.stock-count-row { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(240px, 330px) minmax(170px, 230px) 96px; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: background .2s ease, border-color .2s ease; }
.stock-count-row.is-updated { border-color: #60a5fa; background: #eff6ff; }
.stock-count-row.is-ok { border-color: #bbf7d0; background: #f0fdf4; }
.stock-count-row.is-faltando { border-color: #fde68a; background: #fffbeb; }
.stock-count-row.is-sobrando { border-color: #fecaca; background: #fff1f2; }
.stock-count-product { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; align-items: center; min-width: 0; }
.stock-count-product img, .stock-count-no-thumb { width: 58px; height: 58px; border: 1px solid #dbe3ef; border-radius: 8px; background: #f8fafc; object-fit: contain; }
.stock-count-product strong { display: block; font-size: 1rem; font-weight: 950; overflow-wrap: anywhere; }
.stock-count-product span { display: block; color: #334155; line-height: 1.25; font-weight: 800; overflow-wrap: anywhere; }
.stock-count-product small { color: var(--muted); font-weight: 800; }
.stock-count-numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.stock-count-numbers div { min-height: 58px; display: grid; align-content: center; gap: 2px; padding: 8px; border: 1px solid rgba(203,213,225,.9); border-radius: 8px; background: rgba(255,255,255,.72); }
.stock-count-numbers span { color: var(--muted); font-size: .76rem; font-weight: 900; }
.stock-count-numbers strong { font-size: 1.25rem; line-height: 1; font-weight: 950; overflow-wrap: anywhere; }
.stock-count-box-summary { min-height: 58px; display: grid; align-content: center; gap: 2px; padding: 8px; border: 1px solid rgba(203,213,225,.9); border-radius: 8px; background: rgba(255,255,255,.72); }
.stock-count-box-summary span, .stock-count-box-summary small { color: var(--muted); font-size: .76rem; font-weight: 900; }
.stock-count-box-summary strong { font-size: 1rem; line-height: 1.1; font-weight: 950; overflow-wrap: anywhere; }
.stock-count-box-rule-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; margin-top: 4px; }
.stock-count-box-rule-form input { min-height: 36px; font-size: .92rem; font-weight: 900; }
.stock-count-box-rule-form .btn { min-height: 36px; padding: 5px 8px; font-size: .82rem; }
.stock-count-row-actions { display: grid; gap: 6px; }
.stock-count-row-actions .btn { min-height: 38px; }
.stock-count-empty { min-height: 92px; display: grid; place-items: center; padding: 18px; color: var(--muted); border: 1px dashed #cbd5e1; border-radius: 8px; background: #fff; font-weight: 900; }
.stock-count-finish { margin-top: 4px; }
.sync-overlay { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 23, 42, .42); backdrop-filter: blur(2px); }
.sync-overlay.is-visible { display: flex; }
.sync-box { width: min(440px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px; box-shadow: 0 20px 55px rgba(15, 23, 42, .22); }
.sync-title { font-weight: 800; margin-bottom: 6px; }
.sync-message { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.sync-progress { height: 10px; overflow: hidden; border-radius: 999px; background: #e5eaf3; }
.sync-progress-bar { width: 42%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--accent)); animation: sync-progress 1.15s ease-in-out infinite; }
.sync-overlay.is-determinate .sync-progress-bar { width: var(--sync-percent, 0%); animation: none; transform: none; transition: width .25s ease; }
.sync-percent { margin-top: 10px; color: var(--muted); font-size: .86rem; font-weight: 700; text-align: right; }
@keyframes sync-progress {
    0% { transform: translateX(-110%); }
    100% { transform: translateX(260%); }
}
.login-page { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, #eef4ff, #f8fafc 48%, #ecfdf5); }
.login-box { width: min(420px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px; box-shadow: 0 18px 45px rgba(15, 23, 42, .12); }
.login-box h1 { font-size: 1.55rem; margin: 22px 0 18px; font-weight: 850; }
.login-brand { justify-content: center; }
.login-brand .brand-logo { width: 230px; }
.public-page { min-height: 100vh; background: #f7f9fc; }
.public-nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(18px, 4vw, 56px); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); }
.public-brand { color: var(--ink); text-decoration: none; }
.public-brand .brand-logo { width: 206px; box-shadow: 0 8px 22px rgba(15, 23, 42, .08); }
.public-main { width: min(1160px, calc(100vw - 36px)); margin: 0 auto; padding: 48px 0; }
.public-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 28px; align-items: stretch; }
.public-hero h1, .public-form-copy h1 { font-size: clamp(2rem, 5vw, 3.7rem); line-height: 1.02; font-weight: 850; letter-spacing: 0; margin: 0; max-width: 820px; }
.public-lead, .public-form-copy p { color: var(--muted); font-size: 1.08rem; line-height: 1.65; margin-top: 18px; max-width: 690px; }
.public-summary { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px; box-shadow: 0 18px 45px rgba(15, 23, 42, .08); align-self: center; }
.public-summary strong { display: block; font-size: 1.05rem; margin-bottom: 14px; }
.public-summary ul { display: grid; gap: 12px; padding-left: 18px; margin: 0; color: var(--muted); }
.public-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 38px; }
.public-grid article { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px; min-height: 166px; }
.public-grid h2 { font-size: 1.02rem; font-weight: 800; margin: 0 0 10px; }
.public-grid p { color: var(--muted); margin: 0; line-height: 1.55; }
.public-form-wrap { width: min(1060px, calc(100vw - 36px)); margin: 0 auto; padding: 46px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); gap: 36px; align-items: start; }
.public-form-copy { padding-top: 28px; }
.public-register-box { width: 100%; }
.public-subscription-wrap { width: min(1180px, calc(100vw - 36px)); grid-template-columns: minmax(0, 1fr) minmax(390px, 470px); }
.public-home-page { background: #f5f7fb; }
.public-nav-premium { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); }
.public-home-page main { overflow: hidden; }
.home-hero { position: relative; min-height: min(700px, calc(100vh - 72px)); display: grid; align-items: end; padding: clamp(78px, 10vw, 126px) clamp(18px, 5vw, 72px) clamp(34px, 6vw, 58px); color: #fff; background: #111827; }
.home-hero-sales { min-height: min(700px, calc(100vh - 72px)); }
.home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 13, 25, .92) 0%, rgba(8, 13, 25, .78) 42%, rgba(8, 13, 25, .28) 72%, rgba(8, 13, 25, .46) 100%); pointer-events: none; }
.home-hero-copy { position: relative; z-index: 2; width: min(700px, 100%); padding-bottom: 28px; }
.home-eyebrow { margin: 0 0 12px; color: #8ee4c7; font-size: .82rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.home-hero h1 { margin: 0; max-width: 800px; font-size: clamp(3.2rem, 7vw, 6.4rem); line-height: .92; font-weight: 900; letter-spacing: 0; }
.home-lead { width: min(650px, 100%); margin: 18px 0 0; color: rgba(255,255,255,.86); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.52; }
.home-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.home-proof-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.home-proof-row span { min-height: 34px; display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.9); font-size: .86rem; font-weight: 800; backdrop-filter: blur(10px); }
.home-hero-visual { position: absolute; inset: 0; overflow: hidden; }
.home-hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center right; filter: saturate(1.06) contrast(1.04); }
.home-hero-panel { position: absolute; z-index: 2; right: clamp(18px, 5vw, 72px); bottom: clamp(18px, 5vw, 58px); width: min(270px, calc(100vw - 36px)); display: grid; gap: 4px; padding: 16px; border: 1px solid rgba(255,255,255,.24); border-radius: 8px; background: rgba(255,255,255,.14); color: #fff; box-shadow: 0 26px 80px rgba(0,0,0,.28); backdrop-filter: blur(16px); overflow: hidden; }
.home-hero-panel span { color: #d8fff0; font-size: .82rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.home-hero-panel strong { font-size: 3rem; line-height: .95; font-weight: 900; }
.home-hero-panel small { color: rgba(255,255,255,.78); font-weight: 800; }
.home-hero-price strong { font-size: 2.5rem; }
.home-metrics { width: min(1160px, calc(100vw - 36px)); margin: 24px auto 0; position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.home-metrics article { min-width: 0; min-height: 122px; display: grid; align-content: space-between; gap: 12px; padding: 18px; border: 1px solid rgba(203,213,225,.9); border-radius: 8px; background: rgba(255,255,255,.96); box-shadow: 0 14px 38px rgba(15, 23, 42, .09); overflow: hidden; }
.home-metrics strong { color: #0f172a; font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1; font-weight: 900; overflow-wrap: anywhere; }
.home-metrics span { color: #5d6678; font-size: .92rem; line-height: 1.35; font-weight: 750; }
.home-card-strip article:nth-child(2) { background: #f0fdf4; border-color: #bbf7d0; }
.home-card-strip article:nth-child(3) { background: #eff6ff; border-color: #bfdbfe; }
.home-card-strip article:nth-child(4) { background: #fffbeb; border-color: #fde68a; }
.home-section, .home-feature-grid, .home-workflow, .home-pricing, .home-affiliate, .home-cta { width: min(1160px, calc(100vw - 36px)); margin-left: auto; margin-right: auto; }
.home-section { padding: clamp(42px, 6vw, 68px) 0 22px; }
.home-section-compact { max-width: 850px; text-align: center; }
.home-section-split { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr); gap: clamp(24px, 5vw, 70px); align-items: end; }
.home-section h2, .home-workflow h2, .home-pricing h2, .home-affiliate h2, .home-cta h2 { margin: 0; color: #111827; font-size: clamp(2rem, 4vw, 3.55rem); line-height: 1.02; font-weight: 900; letter-spacing: 0; }
.home-section p, .home-workflow p, .home-pricing p, .home-affiliate p, .home-cta p { margin: 0; color: #667085; font-size: 1.04rem; line-height: 1.72; }
.home-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 10px 0 54px; }
.home-feature-grid article { min-width: 0; min-height: 230px; display: grid; align-content: start; gap: 14px; padding: 20px; border: 1px solid #dbe3ef; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .055); overflow: hidden; }
.home-feature-grid article:nth-child(2), .home-feature-grid article:nth-child(5) { background: #f0fdf4; border-color: #bbf7d0; }
.home-feature-grid article:nth-child(3), .home-feature-grid article:nth-child(6) { background: #eff6ff; border-color: #bfdbfe; }
.home-feature-grid article:nth-child(4) { background: #fffbeb; border-color: #fde68a; }
.home-feature-index { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 8px; background: #111827; color: #fff; font-weight: 900; }
.home-feature-grid h3 { margin: 0; color: #111827; font-size: 1.14rem; line-height: 1.22; font-weight: 900; overflow-wrap: anywhere; }
.home-feature-grid p { margin: 0; color: #667085; line-height: 1.58; }
.home-feature-grid-sales article { min-height: 218px; }
.home-workflow { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); gap: clamp(22px, 5vw, 70px); align-items: center; padding: clamp(34px, 6vw, 58px); border-radius: 8px; background: #111827; color: #fff; box-shadow: 0 24px 70px rgba(15,23,42,.16); }
.home-workflow h2 { color: #fff; }
.home-workflow p { margin-top: 16px; color: rgba(255,255,255,.74); }
.home-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.home-steps div { min-height: 142px; display: grid; align-content: space-between; padding: 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: rgba(255,255,255,.07); }
.home-steps strong { color: #facc15; font-size: 1.1rem; font-weight: 900; }
.home-steps span { color: rgba(255,255,255,.82); line-height: 1.45; font-weight: 700; }
.home-pricing { padding: clamp(44px, 7vw, 74px) 0 18px; }
.home-pricing-header { max-width: 780px; margin-bottom: 22px; }
.home-pricing-header p:not(.home-eyebrow) { margin-top: 14px; }
.home-pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-price-card { position: relative; min-width: 0; min-height: 430px; display: grid; align-content: start; gap: 13px; padding: 22px; border: 1px solid #dbe3ef; border-radius: 8px; background: #fff; box-shadow: 0 16px 44px rgba(15, 23, 42, .075); overflow: hidden; }
.home-price-card.is-featured { border-color: #16a34a; box-shadow: 0 22px 70px rgba(22, 163, 74, .18); }
.home-price-ribbon { width: max-content; max-width: 100%; min-height: 30px; display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; background: #dcfce7; color: #166534; font-size: .78rem; font-weight: 900; }
.home-price-card h3 { margin: 0; color: #111827; font-size: 1.35rem; font-weight: 900; }
.home-price-card strong { color: #111827; font-size: clamp(2rem, 3.2vw, 3.25rem); line-height: .95; font-weight: 950; letter-spacing: 0; overflow-wrap: anywhere; }
.home-price-card small { color: var(--muted); font-weight: 850; }
.home-price-card ul { display: grid; gap: 9px; margin: 8px 0 4px; padding-left: 18px; color: #475569; line-height: 1.42; font-weight: 700; }
.home-price-card .btn { align-self: end; margin-top: auto; }
.register-plan-summary { display: grid; gap: 8px; margin-top: 24px; padding: 18px; border: 1px solid #dbe3ef; border-radius: 8px; background: #fff; box-shadow: 0 14px 34px rgba(15, 23, 42, .06); }
.register-plan-summary strong { color: #111827; font-size: 1.1rem; font-weight: 900; }
.register-plan-summary span { color: #475569; font-weight: 800; }
.register-plan-options { display: grid; gap: 8px; }
.register-plan-option { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 12px; border: 1px solid #dbe3ef; border-radius: 8px; background: #fff; cursor: pointer; }
.register-plan-option.is-selected, .register-plan-option:has(input:checked) { border-color: #16a34a; background: #f0fdf4; box-shadow: 0 0 0 3px rgba(22, 163, 74, .12); }
.register-plan-option input { width: 18px; height: 18px; accent-color: #16a34a; }
.register-plan-option span { display: grid; min-width: 0; }
.register-plan-option strong { color: #111827; font-weight: 900; }
.register-plan-option small { color: #475569; font-weight: 800; }
.home-affiliate { padding: 28px 0 12px; }
.home-affiliate-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 310px); gap: clamp(24px, 5vw, 58px); align-items: center; overflow: hidden; padding: clamp(26px, 5vw, 48px); border: 1px solid #a7f3d0; border-radius: 12px; background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%); box-shadow: 0 18px 52px rgba(15, 118, 110, .12); }
.home-affiliate-copy { position: relative; z-index: 1; display: grid; gap: 16px; }
.home-affiliate-copy > p:not(.home-eyebrow) { max-width: 740px; }
.home-affiliate-steps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.home-affiliate-steps span { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 7px 12px; border: 1px solid rgba(22, 163, 74, .22); border-radius: 999px; background: rgba(255, 255, 255, .7); color: #334155; font-size: .88rem; font-weight: 800; }
.home-affiliate-steps strong { display: inline-grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #16a34a; color: #fff; font-size: .75rem; }
.home-affiliate-offer { position: relative; z-index: 1; display: grid; justify-items: center; gap: 4px; padding: 24px; border: 1px solid rgba(22, 163, 74, .22); border-radius: 10px; background: rgba(255, 255, 255, .82); text-align: center; }
.home-affiliate-offer span, .home-affiliate-offer small { color: #475569; font-weight: 850; }
.home-affiliate-offer strong { color: #15803d; font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: .95; font-weight: 950; }
.home-affiliate-offer .btn { width: 100%; margin-top: 16px; }
.home-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(48px, 7vw, 78px) 0; }
.home-cta-card { margin-top: 28px; margin-bottom: 42px; padding: clamp(26px, 4vw, 38px); border: 1px solid #dbe3ef; border-radius: 8px; background: #fff; box-shadow: 0 16px 44px rgba(15, 23, 42, .075); }
.home-cta div { max-width: 760px; }
.home-cta p { margin-top: 16px; }

@media (max-width: 1100px) {
    .metric-grid { grid-template-columns: repeat(3, minmax(160px, 1fr)); }
    .metric-grid-four { grid-template-columns: repeat(2, minmax(160px, 1fr)); }
    .metric-grid-five { grid-template-columns: repeat(2, minmax(160px, 1fr)); }
    .expedition-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .marketplace-today-panel { grid-template-columns: 1fr; }
    .full-channel-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .full-print-toolbar { grid-template-columns: 1fr; }
    .full-print-toolbar .btn-group { margin-left: 0 !important; width: 100%; }
    .full-print-toolbar .btn-group .btn { flex: 1 1 0; }
    .full-label-item { grid-template-columns: 1fr; align-items: start; }
    .label-preview { width: min(100%, 260px); }
    .full-product-image-cell { justify-items: start; }
    .direct-print-confirm-layout { grid-template-columns: 1fr; }
    .direct-print-confirm-product { border-right: 0; border-bottom: 1px solid #e2e8f0; }
    .direct-print-confirm-image { width: min(100%, 220px); height: 220px; }
    .full-label-actions { max-width: 360px; width: 100%; }
    .checkout-header { display: grid; }
    .checkout-codes { justify-items: start; }
    .checkout-lookup-form { grid-template-columns: 1fr; }
    .checkout-scan-panel { grid-template-columns: 1fr; }
    .checkout-progress-card { justify-items: start; }
    .checkout-items-table { overflow-x: auto; }
    .checkout-items-head, .checkout-row { grid-template-columns: minmax(430px, 1fr) 100px 100px 80px 80px; min-width: 830px; }
    .checkout-actions { grid-template-columns: 1fr; }
    .conferencia-station-row { grid-template-columns: 1fr; }
    .conferencia-status { min-height: 360px; }
    .conferencia-list-filters { grid-template-columns: 1fr; }
    .conferencia-list-header { align-items: flex-start; }
    .conferencia-list-table { min-width: 920px; }
    .stock-count-row { grid-template-columns: 1fr; }
    .stock-count-row-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .incoming-invoice-import,
    .incoming-invoice-head { display: grid; }
    .incoming-invoice-import-form { grid-template-columns: 1fr; }
    .incoming-scan-grid { grid-template-columns: 1fr; }
    .incoming-live-summary { grid-template-columns: 1fr; }
    .incoming-progress-item { grid-template-columns: 1fr; }
    .incoming-progress-numbers { justify-items: start; }
    .incoming-report-search { grid-template-columns: 1fr; }
    .returns-form { grid-template-columns: 1fr; }
    .returns-upload { position: static; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
    .returns-ident-grid,
    .returns-status-grid,
    .returns-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .returns-filter-form .btn { grid-column: 1 / -1; }
    .public-hero, .public-form-wrap { grid-template-columns: 1fr; }
    .public-summary { align-self: stretch; }
    .home-hero { min-height: 640px; }
    .home-hero::after { background: linear-gradient(90deg, rgba(8,13,25,.94), rgba(8,13,25,.76)); }
    .home-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-workflow { grid-template-columns: 1fr; }
    .home-pricing-grid { grid-template-columns: 1fr; }
    .home-price-card { min-height: auto; }
    .home-affiliate-card { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .app-shell { grid-template-columns: 1fr; }
    .sidebar { position: static; height: auto; }
    .sidebar .nav { flex-direction: row !important; overflow-x: auto; margin-top: 16px; }
    .sidebar .nav-link { white-space: nowrap; }
    .main { padding: 16px; }
    .topbar { align-items: flex-start; }
    .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .metric-grid-five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .expedition-section { padding: 14px; }
    .expedition-section-header { align-items: flex-start; flex-direction: column; }
    .expedition-metrics { grid-template-columns: 1fr; }
    .marketplace-today-header { align-items: flex-start; flex-direction: column; }
    .marketplace-today-strip { grid-template-columns: 1fr; }
    .full-channel-metrics { grid-template-columns: 1fr; }
    .full-progress-item { grid-template-columns: 1fr; }
    .full-progress-numbers { justify-items: start; }
    .stock-count-mobile { gap: 10px; }
    .stock-count-head h2 { font-size: 1.15rem; }
    .stock-count-scan-card { padding: 12px; }
    .stock-count-scan-row { grid-template-columns: 1fr; }
    .stock-count-scan-row input { min-height: 70px; font-size: 1.7rem; }
    .stock-count-scan-row button { min-height: 52px; }
    .stock-count-box-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stock-count-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stock-count-row { padding: 10px; }
    .stock-count-numbers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stock-count-search,
    .stock-count-advanced-search { grid-template-columns: 1fr; }
    .stock-count-box-rule-form { grid-template-columns: minmax(0, 1fr) 88px; }
    .returns-panel { padding: 14px; }
    .returns-head { display: grid; }
    .returns-head-actions { justify-content: stretch; }
    .returns-head-actions .btn { flex: 1 1 auto; }
    .returns-ident-grid,
    .returns-status-grid,
    .returns-text-grid,
    .returns-filter-form { grid-template-columns: 1fr; }
    .returns-photo-strip > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .public-nav { align-items: flex-start; flex-direction: column; }
    .public-nav nav { width: 100%; flex-wrap: wrap; }
    .public-nav .btn { flex: 1 1 auto; }
    .public-main, .public-form-wrap { padding: 28px 0; }
    .public-subscription-wrap { grid-template-columns: 1fr; }
    .public-grid { grid-template-columns: 1fr; }
    .home-hero { min-height: auto; padding: 86px 18px 28px; }
    .home-hero::after { background: rgba(8,13,25,.82); }
    .home-hero-visual img { object-position: center; }
    .home-hero-copy { padding-bottom: 180px; }
    .home-hero-panel { left: 18px; right: 18px; bottom: 24px; width: auto; }
    .home-proof-row span { flex: 1 1 auto; justify-content: center; }
    .home-metrics { grid-template-columns: 1fr; margin-top: 18px; }
    .home-section-split { grid-template-columns: 1fr; }
    .home-feature-grid { grid-template-columns: 1fr; padding-bottom: 44px; }
    .home-workflow { padding: 24px 18px; }
    .home-steps { grid-template-columns: 1fr; }
    .home-pricing { padding: 44px 0 8px; }
    .home-cta { display: grid; padding: 44px 0; }
    .home-cta .btn { width: 100%; }
}
