@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/painel/public-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/painel/plex-mono-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/painel/plex-mono-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    color-scheme: light;

    --pv-bg: #f3f3f7;
    --pv-surface: #ffffff;
    --pv-surface-2: #f8f9fa;
    --pv-sidebar: #21252b;
    --pv-sidebar-ink: #16191d;

    --pv-ink: #21252b;          /* titulos */
    --pv-text: #495057;         /* corpo */
    --pv-muted: #6a6d78;        /* apoio */
    --pv-faint: #6f7280;        /* icones inativos */

    --pv-line: #eff0f2;         /* divisorias */
    --pv-border: #e9ebec;       /* bordas de input/card */
    --pv-border-strong: #9aa0a9;

    --pv-primary: #2c3038;
    --pv-primary-hover: #16191d;
    --pv-danger: #c04832;
    --pv-danger-hover: #a63c28;
    --pv-danger-bg: rgba(192, 72, 50, .1);
    --pv-ok: #2f6b4d;
    --pv-ok-bg: rgba(47, 107, 77, .12);

    --pv-radius: 10px;
    --pv-radius-sm: 8px;
    --pv-radius-xs: 7px;
    --pv-shadow-card: 0 1px 2px rgba(56, 65, 74, .14);
    --pv-shadow-pop: 0 12px 30px rgba(0, 0, 0, .28);

    --pv-sidebar-w: 250px;
    --pv-sidebar-w-collapsed: 74px;
    --pv-header-h: 64px;

    --pv-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --pv-sans: 'Public Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* reset local */

body.pv-body {
    margin: 0;
    background: var(--pv-bg);
    color: var(--pv-text);
    font-family: var(--pv-sans);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
.pv-body * { box-sizing: border-box; }
.pv-body a { text-decoration: none; }
.pv-body a:not([class]) { color: var(--pv-primary); }
.pv-link { color: var(--pv-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.pv-link:hover { color: var(--pv-primary-hover); }
.pv-body img { max-width: 100%; }
.pv-body input,
.pv-body select,
.pv-body textarea,
.pv-body button { font-family: inherit; }
.pv-body ::placeholder { color: var(--pv-muted); }
.pv-body :focus-visible { outline: 2px solid var(--pv-primary); outline-offset: 2px; }
.pv-body input:not([type=checkbox]):not([type=radio]):not([type=file]):focus-visible,
.pv-body select:focus-visible,
.pv-body textarea:focus-visible {
    outline: none;
    border-color: var(--pv-border-strong);
    box-shadow: 0 0 0 3px rgba(44, 48, 56, .08);
}
.pv-body [hidden] { display: none !important; }

.pv-body ::-webkit-scrollbar { width: 8px; height: 8px; }
.pv-body ::-webkit-scrollbar-thumb { background: rgba(135, 138, 153, .38); border-radius: 8px; }

@keyframes pv-slide { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes pv-up    { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pv-fade  { from { opacity: 0; } to { opacity: 1; } }
@keyframes pv-sheet { from { transform: translateY(100%); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .pv-body *, .pv-body *::before, .pv-body *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* shell */

.pv-shell { display: flex; align-items: stretch; min-height: 100vh; }

.pv-sidebar {
    width: var(--pv-sidebar-w);
    flex: 0 0 var(--pv-sidebar-w);
    background: var(--pv-sidebar);
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.pv-collapsed .pv-sidebar {
    width: var(--pv-sidebar-w-collapsed);
    flex-basis: var(--pv-sidebar-w-collapsed);
}

.pv-brand {
    height: var(--pv-header-h);
    flex: 0 0 var(--pv-header-h);
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    overflow: hidden;
}
.pv-collapsed .pv-brand { justify-content: center; padding: 0; }
.pv-brand-name {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
}
.pv-brand-mark {
    display: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .02em;
}
.pv-collapsed .pv-brand-name { display: none; }
.pv-collapsed .pv-brand-mark { display: block; }

.pv-nav {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 14px 10px 20px;
}
.pv-nav-group { margin-bottom: 14px; }
.pv-nav-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    padding: 6px 12px 8px;
    white-space: nowrap;
}
.pv-collapsed .pv-nav-label {
    height: 1px;
    margin: 6px 12px 10px;
    padding: 0;
    background: rgba(255, 255, 255, .12);
    color: transparent;
    font-size: 0;
    overflow: hidden;
}
.pv-nav-item {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border-radius: var(--pv-radius-sm);
    background: transparent;
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    overflow: hidden;
    text-decoration: none;
    white-space: nowrap;
}
.pv-nav-item.pv-sub { padding-left: 30px; font-size: 13px; }
.pv-nav-item:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.pv-nav-item.is-active { background: rgba(255, 255, 255, .13); color: #fff; }
.pv-nav-item.is-active > span:not(.pv-badge) { font-weight: 600; }
.pv-nav-item i { font-size: 17px; width: 20px; text-align: center; flex: 0 0 auto; }
.pv-nav-item > span:not(.pv-badge) { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; }
.pv-collapsed .pv-nav-item { justify-content: center; padding: 0; }
.pv-collapsed .pv-nav-item > span,
.pv-collapsed .pv-nav-item .pv-badge { display: none; }
.pv-nav-item .pv-badge {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    padding: 3px 7px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .68);
}
.pv-nav-item.is-active .pv-badge { background: rgba(255, 255, 255, .22); color: #fff; }

.pv-sidebar-foot {
    flex: 0 0 auto;
    padding: 12px 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}
.pv-sitelink {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 42px;
    padding: 0 12px;
    border-radius: var(--pv-radius-sm);
    background: rgba(255, 255, 255, .07);
    color: #fff;
    font-size: 13.5px;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
}
.pv-sitelink:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.pv-sitelink i { font-size: 16px; width: 20px; text-align: center; flex: 0 0 auto; }
.pv-collapsed .pv-sitelink { justify-content: center; padding: 0; }
.pv-collapsed .pv-sitelink span { display: none; }

/* main / header */

.pv-main { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; position: relative; }
.pv-main.pv-loading::after {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 2px;
    z-index: 90;
    background: var(--pv-primary);
    animation: pv-progress 1.2s ease-in-out infinite;
    transform-origin: left;
}
@keyframes pv-progress {
    0% { transform: scaleX(0); opacity: 1; }
    60% { transform: scaleX(.85); opacity: 1; }
    100% { transform: scaleX(1); opacity: .2; }
}
.pv-main.pv-loading .pv-content { opacity: .55; transition: opacity .12s; }

.pv-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--pv-surface);
    box-shadow: var(--pv-shadow-card);
}
.pv-header-bar {
    height: var(--pv-header-h);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
}
.pv-iconbtn {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border: 0;
    border-radius: var(--pv-radius-sm);
    background: transparent;
    color: var(--pv-text);
    font-size: 21px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.pv-iconbtn:hover { background: var(--pv-bg); color: var(--pv-ink); }
.pv-iconbtn--sutil { width: 36px; height: 36px; font-size: 18px; color: var(--pv-muted); }
.pv-iconbtn--sutil:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.pv-iconbtn--sutil g { display: none; }
.pv-iconbtn--sutil[data-modo="auto"] g[data-i="auto"], .pv-iconbtn--sutil[data-modo="claro"] g[data-i="claro"], .pv-iconbtn--sutil[data-modo="escuro"] g[data-i="escuro"] { display: inline; }
.pv-tema-fixo { position: fixed; top: 12px; right: 12px; z-index: 5; }
.pv-iconbtn.pv-sm { width: 36px; height: 36px; font-size: 18px; }

.pv-header-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--pv-ink);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-width: 0;
}
.pv-header-right { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.pv-header-sep { width: 1px; height: 24px; background: var(--pv-border); margin: 0 4px; }

.pv-user {
    height: 42px;
    padding: 0 10px 0 6px;
    border: 0;
    border-radius: var(--pv-radius-sm);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: inherit;
}
.pv-user:hover { background: var(--pv-bg); }
.pv-avatar {
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: var(--pv-ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    font-weight: 600;
    flex: 0 0 auto;
}
.pv-user-meta { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.pv-user-meta b { font-size: 13px; font-weight: 600; color: var(--pv-ink); }
.pv-user-meta small { font-size: 12px; color: var(--pv-muted); }

/* mobile drawer */

.pv-drawer-scrim {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(22, 25, 29, .45);
    animation: pv-fade .16s ease both;
}
.pv-drawer {
    position: fixed;
    top: 0; inset-inline-start: 0; bottom: 0;
    z-index: 50;
    width: min(86vw, 304px);
    background: var(--pv-surface);
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 44px rgba(22, 25, 29, .3);
    animation: pv-slide .2s ease both;
}
.pv-drawer-head {
    flex: 0 0 auto;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px 0 18px;
    border-bottom: 1px solid var(--pv-line);
}
.pv-drawer-head span {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--pv-ink);
}
.pv-drawer .pv-nav { padding: 8px 10px 14px; }
.pv-drawer .pv-nav-label {
    color: var(--pv-muted);
    background: none;
    height: auto;
    font-size: 10.5px;
    padding: 12px 12px 6px;
}
.pv-drawer .pv-nav-item {
    color: var(--pv-ink);
    min-height: 48px;
    font-size: 15px;
}
.pv-drawer .pv-nav-item:hover { background: var(--pv-bg); color: var(--pv-ink); }
.pv-drawer .pv-nav-item.is-active { background: var(--pv-bg); }
.pv-drawer .pv-nav-item.pv-sub { padding-left: 26px; font-size: 14px; }
.pv-drawer .pv-badge { background: var(--pv-bg); color: var(--pv-muted); }
.pv-drawer .pv-nav-item.is-active .pv-badge { background: #fff; color: var(--pv-muted); }
.pv-drawer-foot {
    flex: 0 0 auto;
    padding: 10px 12px 14px;
    border-top: 1px solid var(--pv-line);
}
.pv-drawer-foot a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    border-radius: 9px;
    background: var(--pv-bg);
    color: var(--pv-ink);
    font-size: 14px;
    font-weight: 600;
}

/* content area */

.pv-content { flex: 1 1 auto; padding: 22px 16px 34px; }
.pv-wrap,
.pv-wrap.pv-w-form,
.pv-wrap.pv-w-list,
.pv-wrap.pv-w-wide { max-width: 1000px; margin: 0 auto; }

.pv-pagehead {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.pv-pagehead-main { min-width: 0; flex: 1 1 260px; }
.pv-pagehead h1 {
    margin: 0 0 4px;
    font-size: 19px;
    font-weight: 600;
    color: var(--pv-ink);
    letter-spacing: -.01em;
}
.pv-crumbs {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: var(--pv-muted);
    flex-wrap: wrap;
}
.pv-crumbs a { color: var(--pv-muted); display: inline-flex; align-items: center; gap: 6px; }
.pv-crumbs a:hover { color: var(--pv-ink); }
.pv-crumbs i { font-size: 14px; color: #c3c6cc; }
.pv-crumbs .pv-crumb-here { color: var(--pv-text); }

.pv-back {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border: 1px solid var(--pv-line);
    border-radius: var(--pv-radius-sm);
    background: var(--pv-surface);
    color: var(--pv-text);
    font-size: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.pv-back:hover { background: var(--pv-bg); color: var(--pv-ink); }

.pv-foot {
    margin-top: 22px;
    font-size: 12.5px;
    color: var(--pv-muted);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

/* buttons */

.pv-btn {
    height: 38px;
    padding: 0 15px;
    border: 1px solid var(--pv-border);
    border-radius: var(--pv-radius-xs);
    background: var(--pv-surface);
    color: var(--pv-ink);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-decoration: none;
    white-space: nowrap;
}
.pv-btn:hover { background: var(--pv-bg); color: var(--pv-ink); }
.pv-btn i { font-size: 16px; }
.pv-btn-primary {
    border-color: transparent;
    background: var(--pv-primary);
    color: #fff;
}
.pv-btn-primary:hover { background: var(--pv-primary-hover); color: #fff; }
.pv-btn-danger {
    border-color: transparent;
    background: var(--pv-danger);
    color: #fff;
}
.pv-btn-danger:hover { background: var(--pv-danger-hover); color: #fff; }
.pv-btn-ghost { border-color: transparent; background: transparent; }
.pv-btn-ghost:hover { background: var(--pv-bg); }
.pv-btn-block { width: 100%; }
.pv-btn:disabled { opacity: .5; cursor: not-allowed; }

/* small square action buttons in table rows */
.pv-rowbtn {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: var(--pv-radius-xs);
    background: transparent;
    color: var(--pv-faint);
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.pv-rowbtn:hover { background: var(--pv-bg); color: var(--pv-primary); }
.pv-rowbtn.pv-rowbtn-danger:hover { background: var(--pv-danger-bg); color: var(--pv-danger); }
.pv-rowbtn:disabled,
.pv-rowbtn[aria-disabled="true"] { color: #d5d8de; cursor: default; background: transparent; pointer-events: none; }

/* cards */

.pv-card {
    background: var(--pv-surface);
    border-radius: var(--pv-radius);
    box-shadow: var(--pv-shadow-card);
    overflow: hidden;
}
.pv-card-pad { padding: 20px; }
.pv-card + .pv-card { margin-top: 16px; }
.pv-hr { height: 1px; background: var(--pv-line); border: 0; margin: 0; }

.pv-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 9px;
    background: var(--pv-surface);
    box-shadow: var(--pv-shadow-card);
    margin-bottom: 16px;
}
.pv-note.pv-note-plain { box-shadow: none; background: var(--pv-surface-2); }

/* Faixa fixa do modo demonstracao, em todas as telas do painel */
.pv-demo-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 15px;
    margin-bottom: 18px;
    border-radius: 10px;
    background: #fdf3e2;
    border: 1px solid #f0d9a8;
    color: #7a5720;
}
.pv-demo-banner > i { font-size: 18px; line-height: 1.5; flex: 0 0 auto; }
.pv-demo-banner__body { display: flex; flex-direction: column; gap: 4px; }
.pv-demo-banner p { margin: 0; font-size: 13px; line-height: 1.5; color: inherit; }
.pv-demo-banner a { color: inherit; text-decoration: underline; }
.pv-demo-banner strong { font-weight: 600; }
.pv-demo .pv-savebar { opacity: .5; }
.pv-note p { margin: 0; font-size: 12.5px; color: var(--pv-text); line-height: 1.55; }
.pv-note > i {
    font-size: 17px;
    color: var(--pv-muted);
    flex: 0 0 auto;
    height: calc(12.5px * 1.55);
    display: flex;
    align-items: center;
}

/* section header inside a form card (numbered step) */
.pv-section {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
}
.pv-step {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--pv-primary);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pv-step.pv-step-muted { background: var(--pv-bg); color: var(--pv-muted); }
.pv-section h2 { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--pv-ink); }
.pv-section p { margin: 2px 0 0; font-size: 12px; color: var(--pv-muted); }

/* forms */

.pv-fields { display: flex; flex-direction: column; gap: 15px; }
.pv-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }

.pv-fields > .pv-field > .pv-input,
.pv-fields > .pv-field > .pv-select { max-width: 560px; }
.pv-grid .pv-input,
.pv-grid .pv-select { max-width: none; }

.pv-field > label,
.pv-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--pv-ink);
    margin-bottom: 6px;
}
.pv-req { color: var(--pv-danger); }
.pv-hint { font-size: 11.5px; color: var(--pv-muted); margin-top: 6px; }
.pv-hint.pv-mono { font-family: var(--pv-mono); }
.pv-hint-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; }

.pv-input,
.pv-select,
.pv-textarea {
    width: 100%;
    height: 42px;
    border: 1px solid var(--pv-border);
    border-radius: var(--pv-radius-sm);
    padding: 0 12px;
    font-size: 14px;
    color: var(--pv-ink);
    background: var(--pv-surface);
}
.pv-input.pv-mono { font-family: var(--pv-mono); }
.pv-textarea { height: auto; padding: 12px; line-height: 1.6; resize: vertical; }
.pv-select {
    appearance: none;
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%238b8e99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}
.pv-input:focus,
.pv-select:focus,
.pv-textarea:focus {
    outline: none;
    border-color: var(--pv-border-strong);
    box-shadow: 0 0 0 3px rgba(44, 48, 56, .08);
}
.pv-input.pv-narrow { max-width: 220px; }

.pv-editor { border: 1px solid var(--pv-border); border-radius: var(--pv-radius-sm); overflow: hidden; background: var(--pv-surface); }
.pv-editor:focus-within { border-color: var(--pv-border-strong); box-shadow: 0 0 0 3px rgba(44, 48, 56, .08); }
.pv-editor-tools {
    display: flex;
    gap: 2px;
    padding: 6px;
    background: var(--pv-surface-2);
    border-bottom: 1px solid var(--pv-line);
    flex-wrap: wrap;
    align-items: center;
}
.pv-editor-tools button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pv-text);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pv-editor-tools button:hover { background: var(--pv-border); color: var(--pv-ink); }
.pv-editor-tools .pv-editor-clear { width: auto; padding: 0 10px; font-size: 12.5px; color: var(--pv-muted); }
.pv-editor-tools .pv-editor-sep { width: 1px; height: 22px; background: #e2e4e8; margin: 5px 6px; flex: 0 0 auto; }
.pv-editor-color-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.pv-editor-area {
    min-height: 160px;
    max-height: 460px;
    overflow-y: auto;
    padding: 14px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--pv-ink);
    outline: none;
}
.pv-editor-area:empty::before { content: attr(data-placeholder); color: var(--pv-muted); }
.pv-editor-area p { margin: 0 0 .7em; }
.pv-editor-area h3 { margin: 1em 0 .4em; font-size: 1.1em; }
.pv-editor-area ul, .pv-editor-area ol { margin: 0 0 .7em; padding-left: 1.4em; }
.pv-editor-area a { color: var(--pv-primary); text-decoration: underline; }

/* switch / toggle */
.pv-switch {
    width: 36px;
    height: 21px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 99px;
    padding: 2px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    background: #d5d8de;
    transition: background .16s ease;
    vertical-align: middle;
}
.pv-switch[aria-checked="true"] { justify-content: flex-end; background: var(--pv-ok); }
.pv-switch:disabled { opacity: .5; cursor: not-allowed; }
.pv-switch-knob {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(33, 37, 43, .28);
    display: block;
}
.pv-switch-row { display: flex; align-items: center; gap: 11px; }
.pv-switch-row > div { min-width: 0; }
.pv-switch-row b { display: block; font-size: 13.5px; font-weight: 600; color: var(--pv-ink); }
.pv-switch-row small { display: block; font-size: 12px; color: var(--pv-muted); }
.pv-status-on { font-size: 12.5px; font-weight: 500; color: var(--pv-ok); }
.pv-status-off { font-size: 12.5px; font-weight: 500; color: var(--pv-muted); }

/* file upload */
.pv-upload {
    border: 1px dashed #d5d8de;
    border-radius: 9px;
    padding: 22px 16px;
    text-align: center;
    background: #fbfbfc;
}
.pv-upload i { font-size: 24px; color: var(--pv-faint); }
.pv-upload b { display: block; font-size: 13.5px; font-weight: 600; color: var(--pv-ink); margin-top: 8px; }
.pv-upload small { display: block; font-size: 11.5px; color: var(--pv-muted); margin: 4px 0 12px; }
.pv-thumb {
    border-radius: var(--pv-radius-sm);
    border: 1px solid var(--pv-line);
    background: repeating-linear-gradient(135deg, #fff, #fff 5px, #f1f2f4 5px, #f1f2f4 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c3c6cc;
}

/* rows for settings screens (canal / rede / integracao / cor) */
.pv-settings-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f4f5f6;
    flex-wrap: wrap;
}
.pv-settings-row:last-child { border-bottom: 0; }
.pv-settings-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 9px;
    background: var(--pv-bg);
    color: var(--pv-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.pv-settings-icon.is-on { background: var(--pv-ok-bg); color: var(--pv-ok); }
.pv-settings-row .pv-settings-meta { min-width: 0; flex: 1 1 130px; }
.pv-settings-row .pv-settings-meta b { display: block; font-size: 13.5px; font-weight: 600; color: var(--pv-ink); }
.pv-settings-row .pv-settings-meta small { display: block; font-size: 11.5px; color: var(--pv-muted); }
.pv-settings-row code { font-family: var(--pv-mono); font-size: 12px; color: var(--pv-muted); }
.pv-settings-toggle { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; }
.pv-settings-toggle .pv-status-on,
.pv-settings-toggle .pv-status-off { min-width: 84px; text-align: end; }
.pv-settings-url { flex: 1 1 240px; min-width: 0; }
@media (max-width: 560px) {
    .pv-settings-row .pv-settings-meta { flex: 1 1 0; }
    .pv-settings-toggle .pv-status-on,
    .pv-settings-toggle .pv-status-off { min-width: 0; }
    .pv-settings-url { flex-basis: 100%; }
}

.pv-color-swatch {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border: 1px solid var(--pv-border);
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    background: transparent;
}
.pv-color-swatch::-webkit-color-swatch-wrapper { padding: 2px; }
.pv-color-swatch::-webkit-color-swatch { border: 0; border-radius: 6px; }
.pv-color-hex {
    width: 124px;
    max-width: 160px;
    flex: 0 0 auto;
    height: 38px;
    border: 1px solid var(--pv-border);
    border-radius: 7px;
    padding: 0 10px;
    font-size: 13.5px;
    font-family: var(--pv-mono);
    color: var(--pv-ink);
    background: var(--pv-surface);
}

.pv-stepper { display: flex; align-items: center; gap: 8px; }
.pv-stepper button {
    width: 40px;
    height: 42px;
    border: 1px solid var(--pv-border);
    border-radius: 8px;
    background: var(--pv-surface);
    color: var(--pv-text);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pv-stepper button:hover { background: var(--pv-bg); }
.pv-stepper input {
    width: 76px;
    height: 42px;
    border: 1px solid var(--pv-border);
    border-radius: 8px;
    padding: 0 12px;
    font-size: 14px;
    text-align: center;
    color: var(--pv-ink);
    background: var(--pv-surface);
}

.pv-seo-preview {
    border: 1px solid var(--pv-line);
    border-radius: 9px;
    padding: 13px 14px;
    background: #fbfbfc;
}
.pv-seo-preview .pv-seo-kicker { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--pv-muted); margin-bottom: 7px; }
.pv-seo-preview .pv-seo-title { font-size: 15px; color: #1c3f94; margin-bottom: 2px; }
.pv-seo-preview .pv-seo-url { font-size: 12.5px; color: var(--pv-ok); margin-bottom: 4px; }
.pv-seo-preview .pv-seo-desc { font-size: 13px; color: var(--pv-text); }

/* abas (dados / imagens do produto) */

.pv-tabs {
    display: inline-flex;
    gap: 3px;
    padding: 3px;
    background: var(--pv-bg);
    border-radius: 10px;
    margin-bottom: 20px;
    max-width: 100%;
}
.pv-tab {
    appearance: none;
    border: 0;
    background: none;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--pv-muted);
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}
.pv-tab i { font-size: 16px; }
.pv-tab:hover { color: var(--pv-ink); }
.pv-tab.is-active {
    background: var(--pv-surface);
    color: var(--pv-primary);
    box-shadow: 0 1px 2px rgba(33, 37, 43, .12);
}
.pv-tab .pv-badge {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    padding: 3px 7px;
    border-radius: 99px;
    background: rgba(33, 37, 43, .08);
    color: var(--pv-muted);
}
.pv-tab.is-active .pv-badge { background: var(--pv-ok-bg); color: var(--pv-ok); }

/* gerenciador de imagens do produto */

.pv-dropzone.dropzone {
    border: 1px dashed #d5d8de;
    border-radius: 9px;
    background: #fbfbfc;
    min-height: 150px;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pv-dropzone.dropzone .dz-message {
    margin: 0;
    color: var(--pv-muted);
    font-size: 13.5px;
    text-align: center;
}
.pv-fotos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.pv-foto {
    position: relative;
    border: 1px solid var(--pv-line);
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
    transition: opacity .12s, transform .12s;
}
.pv-foto img {
    display: block;
    width: 100%;
    height: 130px;
    object-fit: cover;
    -webkit-user-drag: none;
    user-select: none;
}
.pv-foto > button.pv-foto-rm {
    width: 100%;
    border: 0;
    border-top: 1px solid var(--pv-line);
    background: #fff;
    color: var(--pv-danger);
    font-size: 12.5px;
    font-weight: 500;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.pv-foto > button.pv-foto-rm:hover { background: var(--pv-danger-bg); }
.pv-foto-grip {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 7px;
    background: rgba(22, 25, 29, .55);
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    touch-action: none;
}
.pv-foto-grip:active { cursor: grabbing; }
.pv-foto.is-cover::after {
    content: "capa";
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: 99px;
    background: var(--pv-primary);
    color: #fff;
}
.pv-foto.is-grabbing {
    opacity: .5;
    transform: scale(.96);
    outline: 2px dashed var(--pv-primary);
    outline-offset: -2px;
}
.pv-fotos.is-sorting .pv-foto { cursor: grabbing; }

/* sticky save bar */

.pv-savebar {
    position: sticky;
    bottom: 0;
    z-index: 25;
    background: var(--pv-surface);
    box-shadow: 0 -1px 2px rgba(56, 65, 74, .14);
}
.pv-savebar-in {
    max-width: 1000px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px;
}
.pv-savebar-in .pv-dirty {
    font-size: 12.5px;
    color: var(--pv-muted);
    flex: 1 1 auto;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.pv-savebar-in .pv-dirty.is-dirty { color: #a86a2c; font-weight: 500; }
.pv-savebar-in .pv-dirty.is-dirty::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex: 0 0 auto;
}
.pv-savebar-in .pv-btn { height: 40px; }
@media (max-width: 720px) {
    .pv-savebar-in {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 8px;
        padding: 10px 14px;
    }
    .pv-savebar-in .pv-dirty { justify-content: center; }
    .pv-savebar-in .pv-btn { height: 46px; }
    .pv-savebar-in .pv-btn-cancel { border-color: transparent; background: transparent; height: 42px; }
}

/* tables (list screens) */

.pv-table { width: 100%; --pv-cols: 1fr; }
.pv-thead,
.pv-trow { display: grid; gap: 14px; align-items: center; grid-template-columns: var(--pv-cols); }
.pv-thead {
    padding: 11px 18px;
    background: var(--pv-surface-2);
    border-bottom: 1px solid var(--pv-line);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--pv-muted);
}
.pv-thead span,
.pv-thead button { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-sort {
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-align: left;
    min-width: 0;
}
.pv-sort:hover { color: var(--pv-ink); }
.pv-sort i { font-size: 13px; flex: 0 0 auto; opacity: .4; }
.pv-sort.is-sorted { color: var(--pv-ink); }
.pv-sort.is-sorted i { opacity: 1; }
.pv-trow {
    padding: 12px 18px;
    border-bottom: 1px solid #f4f5f6;
}
.pv-trow:hover { background: #fafafb; }
.pv-cell-strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--pv-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pv-cell {
    font-size: 13.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pv-cell-mono { font-family: var(--pv-mono); font-size: 11.5px; color: var(--pv-muted); margin-top: 3px; }
.pv-cell-actions { display: flex; gap: 2px; justify-content: flex-end; }
.pv-cell-toggle { display: flex; align-items: center; gap: 9px; }
.pv-th-actions { text-align: right; }

.pv-rowimg {
    width: 52px;
    height: 52px;
    border-radius: var(--pv-radius-xs);
    border: 1px solid var(--pv-line);
    background: repeating-linear-gradient(135deg, #fff, #fff 5px, #f1f2f4 5px, #f1f2f4 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    color: #c3c6cc;
    flex: 0 0 auto;
}
.pv-rowimg img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pv-skel { position: relative; overflow: hidden; }
.pv-skel > img { opacity: 0; }
.pv-skel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    animation: pv-shimmer 1.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .pv-skel::after { animation: none; } }
@keyframes pv-shimmer {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

.pv-list-toolbar {
    padding: 12px 16px;
    border-bottom: 1px solid var(--pv-line);
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.pv-search { position: relative; flex: 1 1 200px; min-width: 0; max-width: 320px; margin-left: auto; }
.pv-search i {
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pv-faint);
    font-size: 15px;
}
.pv-search input {
    width: 100%;
    height: 36px;
    border: 0;
    border-bottom: 1px solid var(--pv-line);
    border-radius: 0;
    padding: 0 6px 0 24px;
    font-size: 13.5px;
    color: var(--pv-ink);
    background: transparent;
}
.pv-toolbar-select {
    height: 36px;
    flex: 0 1 auto;
    min-width: 118px;
    max-width: 200px;
    border: 0;
    border-bottom: 1px solid var(--pv-line);
    border-radius: 0;
    padding: 0 2px;
    font-size: 13.5px;
    color: var(--pv-text);
    background: transparent;
}

.pv-list-foot {
    padding: 13px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid var(--pv-line);
    font-size: 12.5px;
    color: var(--pv-muted);
}
.pv-pager { display: flex; gap: 4px; align-items: center; }
.pv-pager button {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: var(--pv-radius-xs);
    background: transparent;
    color: var(--pv-text);
    font-size: 13px;
    cursor: pointer;
}
.pv-pager button:hover { background: var(--pv-bg); }
.pv-pager button.is-current { background: var(--pv-primary); color: #fff; font-weight: 600; }
.pv-pager button:disabled { opacity: .4; cursor: default; background: transparent; }

/* mobile card list */
.pv-cards { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.pv-listcard {
    border: 1px solid var(--pv-line);
    border-radius: var(--pv-radius);
    padding: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
    position: relative;
}
.pv-listcard-body { min-width: 0; flex: 1 1 0; }
.pv-listcard-body b { font-size: 14.5px; font-weight: 600; color: var(--pv-ink); display: block; }
.pv-listcard-body .pv-meta { font-size: 12.5px; color: var(--pv-muted); margin-top: 3px; }
.pv-listcard-toggle { margin-top: 7px; display: flex; align-items: center; gap: 8px; }

.pv-empty { padding: 52px 24px; text-align: center; }
.pv-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--pv-bg);
    color: var(--pv-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}
.pv-empty h2 { margin: 0 0 6px; font-size: 16px; font-weight: 600; color: var(--pv-ink); }
.pv-empty p { margin: 0 auto 18px; font-size: 13.5px; color: var(--pv-muted); max-width: 44ch; }

/* dashboard */

.pv-dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 14px;
}
.pv-tile {
    background: var(--pv-surface);
    border-radius: var(--pv-radius);
    box-shadow: var(--pv-shadow-card);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 120px;
    text-decoration: none;
    color: inherit;
}
.pv-tile:hover { box-shadow: 0 6px 18px rgba(28, 27, 26, .09); transform: translateY(-1px); color: inherit; }
.pv-tile-top { display: flex; align-items: center; justify-content: space-between; }
.pv-tile-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--pv-bg);
    color: var(--pv-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex: 0 0 auto;
}
.pv-tile-count { font-size: 20px; font-weight: 700; color: var(--pv-ink); font-family: var(--pv-mono); }
.pv-tile b { font-size: 15.5px; font-weight: 600; color: var(--pv-ink); }
.pv-tile span { font-size: 13px; color: var(--pv-muted); }
.pv-tile .pv-tile-cta { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--pv-primary); }

.pv-greeting { margin-bottom: 20px; }
.pv-greeting h1 { margin: 0 0 4px; font-size: 22px; font-weight: 600; color: var(--pv-ink); letter-spacing: -.01em; }
.pv-greeting p { margin: 0; font-size: 14px; color: var(--pv-muted); }

/* confirm modal + toast */

.pv-modal-scrim {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(33, 37, 43, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pv-modal {
    width: 100%;
    max-width: 420px;
    background: var(--pv-surface);
    border-radius: 12px;
    padding: 26px 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
    text-align: center;
    animation: pv-up .2s ease both;
}
.pv-modal-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--pv-danger-bg);
    color: var(--pv-danger);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}
.pv-modal h2 { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: var(--pv-ink); }
.pv-modal p { margin: 0 0 22px; font-size: 13.5px; color: var(--pv-muted); }
.pv-modal-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

.pv-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 70;
    background: var(--pv-ink);
    color: #fff;
    padding: 11px 16px;
    border-radius: var(--pv-radius-sm);
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--pv-shadow-pop);
    animation: pv-up .2s ease both;
    max-width: calc(100vw - 32px);
}
.pv-toast.pv-toast-success { background: var(--pv-ok); }
.pv-toast.pv-toast-danger { background: var(--pv-danger); }
.pv-toast.pv-toast-info { background: var(--pv-ink); }
.pv-toast i { font-size: 16px; flex: 0 0 auto; }

/* mobile action sheet (row "more" menu) */
.pv-sheet-scrim {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(22, 25, 29, .4);
    animation: pv-fade .14s ease both;
}
.pv-sheet {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 56;
    background: var(--pv-surface);
    border-radius: 16px 16px 0 0;
    padding: 10px 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 -10px 34px rgba(22, 25, 29, .22);
    animation: pv-sheet .22s ease both;
}
.pv-sheet a,
.pv-sheet button {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 54px;
    padding: 0 14px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--pv-ink);
    font-size: 15px;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    font-family: inherit;
}
.pv-sheet a:hover,
.pv-sheet button:hover { background: var(--pv-bg); }
.pv-sheet i { font-size: 16px; color: var(--pv-muted); }
.pv-sheet .pv-sheet-danger { color: var(--pv-danger); }
.pv-sheet .pv-sheet-danger i { color: var(--pv-danger); }

/* responsive: collapse the shell into a top bar + drawer */

.pv-only-narrow { display: none; }
@media (max-width: 1079px) {
    .pv-sidebar { display: none; }
    .pv-only-wide { display: none !important; }
    .pv-only-narrow { display: flex; }
    .pv-savebar-in,
    .pv-wrap.pv-w-form,
    .pv-wrap.pv-w-list,
    .pv-wrap.pv-w-wide { max-width: 760px; }
    .pv-table .pv-only-wide { display: none !important; }
}
@media (min-width: 1080px) {
    .pv-drawer, .pv-drawer-scrim { display: none; }
}

/* phones: page-head action and list search go full width */
@media (max-width: 640px) {
    .pv-pagehead { align-items: stretch; }
    .pv-pagehead > .pv-btn { flex: 1 1 100%; width: 100%; }
    .pv-search { flex: 1 1 100%; max-width: none; margin-left: 0; }
    .pv-toolbar-select { flex: 1 1 100%; max-width: none; }
    .pv-content { padding: 18px 14px 30px; }
    .pv-trow, .pv-thead { padding-left: 14px; padding-right: 14px; }

    /* 32px com 2px de vao e feito pra mouse; alvo de toque minimo (~44px) */
    .pv-rowbtn { width: 44px; height: 44px; font-size: 18px; }
    .pv-cell-actions { gap: 4px; }
    .pv-listcard { flex-wrap: wrap; }
    .pv-listcard .pv-cell-actions { flex: 1 1 100%; flex-wrap: nowrap; justify-content: flex-end; }
}

body.pv-lock { overflow: hidden; }

/* Produto: abas Loja / Variantes / Conteúdo */

.pv-check-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pv-check-item {
    display: flex; align-items: center; gap: 7px;
    border: 1px solid var(--pv-border); border-radius: 999px;
    padding: 7px 13px 7px 10px; font-size: 12.5px; color: var(--pv-ink);
    cursor: pointer; background: var(--pv-surface); user-select: none;
}
.pv-check-item:has(input:checked) { border-color: var(--pv-ink); background: var(--pv-surface-2); font-weight: 600; }
.pv-check-item input { width: 15px; height: 15px; accent-color: var(--pv-ink); }

.pv-sub-card {
    border: 1px solid var(--pv-line); border-radius: var(--pv-radius-sm);
    padding: 14px; background: var(--pv-surface-2); margin-bottom: 12px;
}
.pv-sub-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pv-sub-card-head strong { flex: 1 1 auto; min-width: 0; font-size: 13.5px; color: var(--pv-ink); }

.pv-vgrupo-add { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 16px; }
.pv-vgrupo-add .pv-field { flex: 1 1 160px; margin: 0; }

.pv-vopcoes { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.pv-vopcao { display: flex; align-items: center; gap: 8px; }
.pv-vopcao input[type="text"] { min-width: 0; }
.pv-vopcao .pv-vopcao-label { flex: 1 1 auto; }
.pv-vopcao .pv-vopcao-delta { width: 110px; flex: 0 0 auto; }
.pv-vopcao .pv-color-swatch { width: 32px; height: 32px; flex: 0 0 auto; border: 1px solid var(--pv-border); border-radius: 50%; padding: 0; cursor: pointer; background: none; }

.pv-rowmini {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: var(--pv-radius-xs);
    border: 1px solid var(--pv-border); background: var(--pv-surface);
    color: var(--pv-muted); cursor: pointer; flex: 0 0 auto; font-size: 15px;
}
.pv-rowmini:hover { background: var(--pv-danger-bg); color: var(--pv-danger); border-color: transparent; }

.pv-chiplist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pv-chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--pv-surface); border: 1px solid var(--pv-border); border-radius: 999px;
    padding: 6px 8px 6px 13px; font-size: 12px; color: var(--pv-ink);
}
.pv-chip button {
    border: 0; background: var(--pv-danger-bg); color: var(--pv-danger);
    width: 20px; height: 20px; border-radius: 50%; cursor: pointer; font-size: 13px; line-height: 1;
}

.pv-indisp-picker { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.pv-indisp-picker .pv-field { flex: 1 1 160px; margin: 0; }

.pv-spec-item, .pv-destaque-item {
    display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px;
}
.pv-spec-item input, .pv-destaque-item input, .pv-destaque-item textarea { min-width: 0; flex: 1 1 auto; }
.pv-destaque-item textarea { resize: vertical; height: auto; min-height: 64px; padding: 10px 12px; line-height: 1.5; }

.pv-vfoto-cor {
    margin-bottom: 18px; padding: 14px 16px; background: var(--pv-bg); border: 1px solid var(--pv-line);
    border-radius: 10px;
}
.pv-vfoto-cor label { display: block; font-size: 13px; font-weight: 600; color: var(--pv-ink); margin-bottom: 8px; }
.pv-vfoto-cor select { font-size: 13px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--pv-border); background: var(--pv-surface); color: var(--pv-ink); min-width: 220px; }
.pv-vfoto-cor .pv-hint { margin: 8px 0 0; }

/* Alvos de toque, "Sair" visível, formulários largos */

/* Área clicável mínima sem mudar o desenho */
.pv-sort { padding-block: 8px; margin-block: -8px; }
.pv-switch { position: relative; }
.pv-switch::before { content: ""; position: absolute; inset: -8px -4px; }
.pv-brand-name { display: inline-block; padding-block: 6px; }
.pv-tile-cta { text-decoration: underline; text-underline-offset: 3px; }

/* "Sair" como ação própria, no lugar do texto miúdo sob o nome */
.pv-user { cursor: default; }
.pv-user:hover { background: transparent; }
.pv-sair { padding: 0; border: 0; background: none; font: inherit; font-size: 12px; color: var(--pv-muted); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.pv-sair:hover { color: var(--pv-ink); }
.pv-sair:focus-visible { outline: 2px solid var(--pv-ink); outline-offset: 2px; border-radius: 3px; }

/* Pendências do dashboard */
.pv-pend { margin: 0 0 24px; padding: 16px 18px; background: #fff; border: 1px solid var(--pv-line); border-radius: 12px; }
.pv-pend h2 { margin: 0 0 10px; font-size: 15px; font-weight: 600; }
.pv-pend ul { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; padding: 0; list-style: none; }
.pv-pend a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px; border-radius: 999px; background: var(--pv-bg, #f4f5f7); border: 1px solid var(--pv-line); color: var(--pv-ink); font-size: 13.5px; text-decoration: none; }
.pv-pend a:hover { border-color: var(--pv-ink); }
.pv-pend b { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--pv-ink); color: #fff; font-size: 12px; text-align: center; }
.pv-pend--ok { color: var(--pv-muted); font-size: 14px; }
