:root {
    --bg: #0b1012;
    --surface: #11191c;
    --surface-2: #172226;
    --surface-3: #202f34;
    --line: #2a4147;
    --text: #f0f6f7;
    --muted: #9db2b7;
    --cyan: #00e5ff;
    --cyan-soft: #a5f4ff;
    --ink: #062c33;
    --success: #74e0a1;
    --danger: #ff958b;
    --max: 1240px;
    --radius: 12px;
    --shadow: 0 20px 60px rgba(0, 0, 0, .24);
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: color .2s ease, border-color .2s ease, background .2s ease; }
a:hover { color: var(--cyan); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--cyan); color: var(--ink); }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tech-spec, .eyebrow, .sku { font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; }
.eyebrow { color: var(--cyan); margin: 0 0 10px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(11, 16, 18, .92); border-bottom: 1px solid rgba(42, 65, 71, .8); backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--cyan); color: var(--cyan); font: 700 .75rem var(--mono); letter-spacing: -.04em; box-shadow: 0 0 24px rgba(0,229,255,.12); }
.brand strong { display: block; font-size: 1.05rem; letter-spacing: -.02em; }
.brand small { display: block; color: var(--muted); font-size: .68rem; line-height: 1.25; }
.main-nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: .92rem; }
.main-nav a:hover { color: var(--cyan); }
.cart-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.cart-badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--cyan); color: var(--ink); font: 700 .72rem var(--mono); }
.menu-toggle { display: none; padding: 8px 12px; color: var(--text); border: 1px solid var(--line); background: transparent; border-radius: 6px; }

.hero { position: relative; overflow: hidden; padding: 112px 0 100px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 78% 35%, rgba(0,229,255,.14), transparent 29%), linear-gradient(135deg, #0b1012 0%, #101c20 100%); }
.hero::after { content: ""; position: absolute; width: 360px; height: 360px; right: -100px; top: -140px; border: 1px solid rgba(0,229,255,.12); transform: rotate(45deg); }
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero h1 { max-width: 760px; margin: 0 0 22px; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.065em; }
.hero h1 span { color: var(--cyan); }
.hero p { max-width: 580px; color: var(--muted); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn-primary, .btn-secondary, .btn-danger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 6px; border: 1px solid transparent; padding: 10px 19px; font-weight: 700; }
.btn-primary { background: var(--cyan); color: var(--ink); }
.btn-primary:hover { color: var(--ink); background: var(--cyan-soft); box-shadow: 0 0 25px rgba(0,229,255,.22); }
.btn-secondary { color: var(--text); border-color: var(--line); background: transparent; }
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-danger { background: transparent; border-color: rgba(255,149,139,.45); color: var(--danger); }
.btn-small { min-height: 36px; padding: 7px 12px; font-size: .84rem; }

.section { padding: 76px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
h1, h2, h3, p { margin-top: 0; }
h2 { margin-bottom: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.1; letter-spacing: -.04em; }
h3 { line-height: 1.2; }
.muted { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-3px); border-color: rgba(0,229,255,.55); box-shadow: var(--shadow); }
.product-image { aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #16262b, #0c1315); }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.image-placeholder { color: var(--cyan); font: 700 1.25rem var(--mono); letter-spacing: .1em; }
.product-body { padding: 18px; }
.product-body h3 { margin: 5px 0 8px; font-size: 1rem; }
.product-body p { color: var(--muted); font-size: .88rem; margin-bottom: 14px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { color: var(--cyan-soft); font-weight: 700; font-size: 1.05rem; }
.price-empty { color: var(--muted); font-size: .82rem; }
.category-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.category-link { display: block; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.category-link strong { display: block; margin-bottom: 4px; }
.category-link span { color: var(--muted); font-size: .86rem; }

.catalog-header { padding: 60px 0 28px; }
.catalog-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 34px; padding-bottom: 76px; }
.filters { align-self: start; position: sticky; top: 102px; }
.filters h2 { font-size: 1rem; margin-bottom: 16px; }
.filters a { display: block; padding: 8px 0; color: var(--muted); font-size: .9rem; }
.filters a.active, .filters a:hover { color: var(--cyan); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.search-form { display: flex; gap: 8px; max-width: 600px; width: 100%; }
.form-control, .form-control input, input, select, textarea { width: 100%; color: var(--text); border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 11px 12px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,229,255,.11); }
select { max-width: 180px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); }
.pagination .current { color: var(--ink); background: var(--cyan); border-color: var(--cyan); }

.product-detail { padding: 56px 0 76px; }
.breadcrumbs { color: var(--muted); font-size: .84rem; margin-bottom: 30px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 56px; align-items: start; }
.gallery-main { aspect-ratio: 1.05; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, #17272c, #0b1113); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.detail-copy h1 { margin: 0 0 14px; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.06em; }
.detail-copy .summary { color: var(--muted); font-size: 1.06rem; }
.detail-price { padding: 22px 0; margin: 24px 0; border-block: 1px solid var(--line); }
.detail-price .price { font-size: 1.8rem; }
.variation-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 13px 0 22px; }
.variation { display: inline-flex; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); }
.variation.active, .variation:hover { border-color: var(--cyan); color: var(--cyan); }
.add-form { display: flex; gap: 10px; align-items: end; }
.quantity { max-width: 92px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 52px; border: 1px solid var(--line); background: var(--line); }
.spec { padding: 18px; background: var(--surface); }
.spec dt { color: var(--muted); font-size: .78rem; }
.spec dd { margin: 4px 0 0; font-family: var(--mono); font-size: .86rem; }
.detail-section { margin-top: 52px; max-width: 820px; }
.detail-section h2 { font-size: 1.5rem; margin-bottom: 14px; }
.detail-section p { color: var(--muted); white-space: pre-line; }

.messages { padding-top: 18px; }
.message { margin: 0 0 10px; padding: 11px 14px; border-radius: 6px; background: var(--surface-2); border-left: 3px solid var(--cyan); }
.message-error { border-left-color: var(--danger); }
.message-success { border-left-color: var(--success); }
.empty-state { padding: 52px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state p { color: var(--muted); }

.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.page-header { padding: 60px 0 32px; }
.page-header h1 { margin-bottom: 10px; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -.06em; }
.cart-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) 100px 112px 40px; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line-image { width: 72px; height: 72px; border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.cart-line-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-line h3 { margin: 0 0 4px; font-size: .95rem; }
.cart-line small { color: var(--muted); }
.cart-line form { display: flex; gap: 4px; }
.cart-line input { padding: 7px; text-align: center; }
.icon-button { width: 34px; height: 34px; padding: 0; color: var(--danger); border: 0; background: transparent; }
.summary-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.summary-card h2 { margin-bottom: 20px; font-size: 1.15rem; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; color: var(--muted); }
.summary-total { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text); font-size: 1.12rem; font-weight: 700; }
.summary-card .btn-primary { width: 100%; margin-top: 18px; }

.form-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.form-card h2 { margin: 0 0 20px; font-size: 1.2rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--muted); font-size: .85rem; }
.errorlist { margin: 4px 0; padding: 0; color: var(--danger); list-style: none; font-size: .83rem; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

.account-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 30px; padding-bottom: 76px; }
.account-nav { align-self: start; padding: 18px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }
.account-nav a { display: block; padding: 8px 0; color: var(--muted); }
.data-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; }
.data-row { min-width: 560px; display: grid; grid-template-columns: 1.1fr 1fr 1fr .8fr; gap: 14px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.data-row:last-child { border-bottom: 0; }
.data-head { color: var(--muted); background: var(--surface-2); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.status { color: var(--cyan-soft); font-size: .86rem; }

.site-footer { margin-top: 40px; padding: 48px 0 24px; border-top: 1px solid var(--line); background: #080c0e; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-brand { color: var(--cyan); font-weight: 700; font-size: 1.1rem; }
.site-footer p { max-width: 280px; color: var(--muted); }
.site-footer h2 { margin-bottom: 10px; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { display: block; margin: 5px 0; color: var(--muted); font-size: .9rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }

@media (max-width: 960px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .detail-grid { gap: 32px; }
}
@media (max-width: 740px) {
    .container { width: min(var(--max), calc(100% - 32px)); }
    .header-inner { min-height: 68px; }
    .menu-toggle { display: block; }
    .main-nav { display: none; position: absolute; left: 16px; right: 16px; top: 68px; padding: 14px; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 10px 4px; }
    .hero { padding: 78px 0 72px; }
    .hero h1 { font-size: 3.25rem; }
    .section { padding: 52px 0; }
    .section-heading { align-items: start; flex-direction: column; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .product-body { padding: 13px; }
    .product-body h3 { font-size: .9rem; }
    .category-strip { grid-template-columns: repeat(2, 1fr); }
    .catalog-layout, .account-grid { grid-template-columns: 1fr; gap: 22px; }
    .filters { position: static; }
    .filters nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
    .filters a { padding: 3px 0; }
    .toolbar { align-items: stretch; flex-direction: column; }
    select { max-width: none; }
    .detail-grid, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .detail-copy { order: -1; }
    .detail-grid { gap: 24px; }
    .add-form { align-items: stretch; }
    .add-form .quantity { max-width: 86px; }
    .spec-grid { grid-template-columns: 1fr 1fr; margin-top: 30px; }
    .cart-line { grid-template-columns: 58px minmax(0, 1fr) 30px; gap: 10px; }
    .cart-line-image { width: 58px; height: 58px; }
    .cart-line > .quantity-control, .cart-line > .line-total { grid-column: 2; }
    .cart-line > .line-total { grid-row: 2; }
    .cart-line > .icon-button { grid-column: 3; grid-row: 1; }
    .form-grid { grid-template-columns: 1fr; }
    .field.full { grid-column: auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; }
}
@media (max-width: 420px) { .product-grid { grid-template-columns: 1fr 1fr; } .hero h1 { font-size: 2.75rem; } .hero-actions > * { width: 100%; } .spec-grid { grid-template-columns: 1fr; } }

/* Painel próprio: navegação operacional e gestão responsiva. */
.panel-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.panel-sidebar { position: sticky; top: 94px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.panel-sidebar h2 { margin: 0 0 18px; font-size: 1.15rem; }
.panel-sidebar nav { display: grid; gap: 4px; }
.panel-sidebar nav a { padding: 9px 10px; border-radius: 6px; color: var(--muted); font-size: .92rem; }
.panel-sidebar nav a:hover, .panel-sidebar nav a:focus-visible { color: var(--ink); background: rgba(0, 229, 255, .08); }
.panel-content { min-width: 0; }
.panel-hero { padding-bottom: 28px; }
.panel-section { padding-top: 0; }
.module-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.module-card { min-height: 145px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(18, 29, 33, .95), rgba(12, 19, 21, .95)); transition: border-color .2s, transform .2s; }
.module-card:hover, .module-card:focus-visible { border-color: var(--cyan); transform: translateY(-2px); }
.module-card h2 { margin: 6px 0 8px; font-size: 1.1rem; }
.module-card p { margin: 0; color: var(--muted); font-size: .87rem; line-height: 1.5; }
.panel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.panel-toolbar form { display: flex; gap: 8px; width: min(420px, 100%); }
.panel-toolbar input { flex: 1; }
.data-table small, .data-table td small { display: block; color: var(--muted); margin-top: 3px; }
.inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.inline-form select, .inline-form input { width: auto; min-width: 130px; }
.action-panel { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 28px; }
.field-error { display: block; color: #ff8e9b; margin: -10px 0 10px; }
.warning { color: #ffcc66; }
@media (max-width: 1000px) { .module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .panel-layout { grid-template-columns: 1fr; } .panel-sidebar { position: static; } .panel-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .panel-toolbar, .action-panel { align-items: stretch; flex-direction: column; } .panel-toolbar form { width: 100%; } }
@media (max-width: 480px) { .module-grid { grid-template-columns: 1fr; } .panel-sidebar nav { grid-template-columns: 1fr; } .inline-form select, .inline-form input, .inline-form button { width: 100%; } }

/* Dashboard de gerenciamento v2: hierarquia clara, densidade operacional e pt-BR. */
.panel-shell { min-height: calc(100vh - 76px); background: #f7f9fb; color: #13212a; padding: 34px 0 80px; }
.panel-shell .muted { color: #657680; }
.panel-layout { grid-template-columns: 248px minmax(0, 1fr); gap: 28px; }
.panel-sidebar { top: 102px; padding: 0; overflow: hidden; border: 1px solid #e1e8ed; border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(21, 47, 63, .06); }
.panel-sidebar-head { display: flex; align-items: center; gap: 11px; padding: 22px 20px; border-bottom: 1px solid #edf1f4; }
.panel-sidebar-head strong { display: block; color: #182b34; font-size: .94rem; }
.panel-sidebar-head small, .panel-sidebar-foot small { display: block; color: #84939a; font-size: .72rem; }
.panel-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #182b34; color: #61d9e8; font: 700 .68rem var(--mono); }
.panel-nav { display: grid; gap: 2px; padding: 14px 10px; }
.panel-nav-label { margin: 13px 10px 4px; color: #9aa8ae; font: 700 .62rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.panel-nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px; border-radius: 9px; color: #5e7078; }
.panel-nav a span { font-size: .86rem; }
.panel-nav a small { color: #a1adb2; font-size: .68rem; }
.panel-nav a:hover, .panel-nav a:focus-visible { color: #11363e; background: #effbfd; }
.panel-nav a:hover small, .panel-nav a:focus-visible small { color: #49aeba; }
.panel-sidebar-foot { display: grid; gap: 4px; margin-top: 5px; padding: 16px 20px 19px; border-top: 1px solid #edf1f4; }
.panel-sidebar-foot strong { overflow: hidden; color: #334750; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.panel-sidebar-foot a { margin-top: 7px; color: #2d9baa; font-size: .76rem; }
.panel-content { color: #13212a; }
.panel-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 30px; }
.panel-page-head h1 { margin: 0 0 8px; color: #182b34; font-size: clamp(1.8rem, 3vw, 2.45rem); letter-spacing: -.055em; }
.panel-page-head .eyebrow, .panel-card .eyebrow, .quick-actions .eyebrow { color: #24a6b7; }
.panel-head-actions, .button-row { display: flex; flex-wrap: wrap; gap: 9px; }
.panel-shell .button { min-height: 40px; border: 0; border-radius: 8px; background: #163640; color: #fff; padding: 9px 15px; font-size: .82rem; }
.panel-shell .button:hover { color: #fff; background: #24515d; box-shadow: 0 5px 14px rgba(22, 54, 64, .15); }
.panel-shell .button.secondary { border: 1px solid #d8e3e7; background: #fff; color: #36505a; }
.panel-shell .button.secondary:hover { border-color: #8ddce5; color: #1b8e9e; background: #f5feff; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpi-card { padding: 18px 20px; border: 1px solid #e1e8ed; border-radius: 13px; background: #fff; box-shadow: 0 7px 18px rgba(21, 47, 63, .035); }
.kpi-label { display: flex; align-items: center; gap: 7px; color: #64767e; font-size: .76rem; }
.kpi-dot { display: inline-block; width: 7px; height: 7px; border-radius: 99px; }
.kpi-dot.cyan { background: #37c8d8; }.kpi-dot.violet { background: #8e7be8; }.kpi-dot.amber { background: #e3a83e; }.kpi-dot.red { background: #e66d70; }
.kpi-card strong { display: block; margin: 11px 0 3px; color: #182b34; font-size: 1.85rem; letter-spacing: -.05em; }
.kpi-card small { color: #93a0a5; font-size: .7rem; }
.quick-actions { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: center; gap: 20px; margin: 24px 0; padding: 20px; border: 1px solid #dfe8eb; border-radius: 14px; background: #effbfd; }
.quick-actions h2 { color: #1b3842; font-size: 1.1rem; }
.quick-actions .eyebrow { margin-bottom: 5px; }
.quick-action-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.quick-action-grid a { display: flex; align-items: center; gap: 10px; min-height: 66px; padding: 11px; border: 1px solid #d8edf0; border-radius: 10px; background: #fff; }
.quick-action-grid a:hover { border-color: #8ddce5; transform: translateY(-1px); }
.quick-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: #e7fafd; color: #1da5b5; font-size: 1.1rem; }
.quick-action-grid strong, .quick-action-grid small { display: block; }.quick-action-grid strong { color: #284650; font-size: .76rem; }.quick-action-grid small { margin-top: 3px; color: #8b9ba1; font-size: .65rem; }
.dashboard-columns { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(290px, .82fr); gap: 16px; }
.panel-card { min-width: 0; padding: 20px; border: 1px solid #e1e8ed; border-radius: 14px; background: #fff; box-shadow: 0 7px 18px rgba(21, 47, 63, .035); }
.panel-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }.panel-card-head h2 { color: #1b333d; font-size: 1.05rem; }.panel-card-head a { color: #249aaa; font-size: .74rem; }
.modern-table { border: 0; }.modern-table th { padding: 9px 12px; color: #93a0a5; background: #f8fafb; font-size: .65rem; }.modern-table td { padding: 13px 12px; border-bottom-color: #edf1f3; color: #50646c; font-size: .76rem; }.modern-table tr:last-child td { border-bottom: 0; }.table-primary { color: #244954; font-weight: 700; }.table-value { color: #2b424b !important; font-weight: 700; }.table-more { color: #2babb9; font-size: .72rem; }.status-pill { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 99px; background: #edf8f4; color: #29956b; font-size: .65rem; white-space: nowrap; }.status-pill.status-aguardando_pagamento { background: #fff8e8; color: #bd801e; }.status-pill.status-em_producao { background: #eaf7fb; color: #238ca0; }.status-pill.status-cancelado { background: #fff0f0; color: #cb6464; }.empty-row { padding: 26px 12px !important; color: #99a6ab !important; text-align: center; }
.alert-list { display: grid; gap: 8px; }.alert-item { display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid #edf1f3; border-radius: 9px; }.alert-item:hover { border-color: #c7e7eb; background: #fbfeff; }.alert-item > span:nth-child(2) { flex: 1; }.alert-item strong, .alert-item small { display: block; }.alert-item strong { color: #3a5058; font-size: .73rem; }.alert-item small { margin-top: 3px; color: #9aa7ac; font-size: .65rem; }.alert-item b { color: #9bacb1; font-weight: 400; }.alert-symbol { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; font-weight: 700; }.red-bg { background: #fff0ef; color: #d86f70; }.amber-bg { background: #fff8e5; color: #c18b28; }.violet-bg { background: #f1efff; color: #8172d0; }.compact { padding: 18px 10px; border: 0; }.compact p { margin: 4px 0 0; font-size: .72rem; }
.audit-card { margin-top: 16px; }.activity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }.activity-item { display: flex; gap: 9px; }.activity-marker { flex: 0 0 auto; width: 7px; height: 7px; margin-top: 5px; border-radius: 99px; background: #38bfce; }.activity-item strong, .activity-item small { display: block; }.activity-item strong { color: #52676f; font-size: .72rem; }.activity-item small { margin-top: 3px; color: #9ba8ad; font-size: .64rem; }
.panel-shell .form-card { border-color: #e1e8ed; background: #fff; box-shadow: 0 7px 18px rgba(21, 47, 63, .035); }.panel-shell .form-card label { display: block; margin: 13px 0 6px; color: #5f737b; font-size: .78rem; font-weight: 600; }.panel-shell .form-card label:first-of-type { margin-top: 0; }.panel-shell .form-card .input, .panel-shell .form-card input, .panel-shell .form-card select, .panel-shell .form-card textarea { border-color: #dce6ea; border-radius: 8px; background: #fbfcfd; color: #203942; padding: 10px 11px; }.panel-shell .form-card .button-row { margin-top: 22px; }.panel-shell .data-table { color: #536970; }
@media (max-width: 1100px) { .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.quick-actions { grid-template-columns: 1fr; }.quick-action-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 800px) { .panel-layout { grid-template-columns: 1fr; }.panel-sidebar { position: static; }.panel-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }.panel-nav-label { grid-column: 1 / -1; }.panel-page-head { align-items: flex-start; flex-direction: column; }.dashboard-columns { grid-template-columns: 1fr; }.activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .kpi-grid, .quick-action-grid, .activity-grid { grid-template-columns: 1fr 1fr; }.panel-shell { padding-top: 22px; }.panel-card { padding: 15px; }.panel-nav { grid-template-columns: 1fr 1fr; }.panel-nav a { flex-direction: column; align-items: flex-start; gap: 2px; }.modern-table th, .modern-table td { padding-inline: 8px; }.modern-table th:nth-child(2), .modern-table td:nth-child(2) { display: none; } }

.panel-form { padding: 24px; }
.panel-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.panel-field { min-width: 0; }
.panel-field:has(textarea) { grid-column: 1 / -1; }
.panel-field:has(input[type="checkbox"]) { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 9px 11px; border: 1px solid #e4ecef; border-radius: 8px; background: #fbfcfd; }
.panel-field:has(input[type="checkbox"]) label { order: 2; margin: 0; cursor: pointer; }
.panel-field:has(input[type="checkbox"]) input { order: 1; width: 17px; height: 17px; accent-color: #2caebd; }
.panel-field:has(input[type="checkbox"]) small { display: none; }
.compact-head { margin-bottom: 22px; }
@media (max-width: 620px) { .panel-form-grid { grid-template-columns: 1fr; }.panel-field:has(textarea) { grid-column: auto; }.panel-form { padding: 17px; } }

.lookup-button { margin-top: 7px; }
.panel-field [data-mask="brl"] { text-align: right; }
.machine-thumb { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; border: 1px solid #dfe8eb; background: #f5f8f9; }
.machine-thumb.placeholder { display: grid; place-items: center; padding: 4px; color: #82939a; font-size: .55rem; text-align: center; }
.detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 18px; margin: 0; }
.detail-list div { min-width: 0; }
.detail-list dt { color: #8b9ba1; font-size: .7rem; }
.detail-list dd { margin: 3px 0 0; color: #29444d; font-size: .86rem; overflow-wrap: anywhere; }
.address-card { color: #45616a; font-style: normal; line-height: 1.8; }
[data-lookup-feedback]:empty { min-height: 0; }
@media (max-width: 620px) { .detail-list { grid-template-columns: 1fr; } }
