:root {
    --bg: #f4f7f6;
    --surface: #ffffff;
    --surface-muted: #eef4f2;
    --ink: #152321;
    --muted: #64716d;
    --line: #d9e4e1;
    --brand: #0f766e;
    --brand-strong: #0b5f59;
    --accent: #f59e0b;
    --danger: #b42318;
    --shadow: 0 18px 45px rgba(21, 35, 33, 0.12);
    --sidebar: #041f45;
    --sidebar-soft: #123f82;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: var(--font-sans, "Inter", ui-sans-serif, system-ui, sans-serif);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: #ffffff;
    background: var(--brand);
}

.button-primary:hover {
    background: var(--brand-strong);
}

.button-danger {
    color: #ffffff;
    background: var(--danger);
}

.button-danger:hover {
    background: #8f1d14;
}

.button-secondary {
    color: #ffffff;
    background: var(--sidebar-soft);
    border-color: rgba(255, 255, 255, 0.12);
}

.button-ghost {
    color: var(--brand);
    background: transparent;
    border-color: var(--line);
}

.button-ghost:hover {
    background: var(--surface-muted);
}

.full-width {
    width: 100%;
}

.eyebrow {
    margin: 0 0 4px;
    color: var(--brand);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.login-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(245, 158, 11, 0.05)),
        var(--bg);
}

.login-wrap {
    width: min(100%, 430px);
}

.login-panel {
    width: 100%;
    padding: 34px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    color: #ffffff;
    background: var(--brand);
    border-radius: 8px;
    font-weight: 900;
}

.login-brand h1 {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.15;
}

.login-form {
    display: grid;
    gap: 16px;
}

.field {
    display: grid;
    gap: 7px;
}

.field span {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.field input,
.field select {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: none;
}

.field input:focus,
.field select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.notice {
    margin-bottom: 16px;
    padding: 11px 13px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
}

.notice-success {
    color: var(--brand-strong);
    background: #e4f6f1;
}

.notice-error {
    color: var(--danger);
    background: #fff1ef;
}

.notice-warning {
    color: #9a3412;
    background: #fff7ed;
}

.app-nav-toggle {
    position: fixed;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.app-frame {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    min-height: 100vh;
}

.app-sidebar {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 24px 18px;
    color: #ffffff;
    background: var(--sidebar);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    margin-bottom: 28px;
}

.brand strong,
.brand span {
    display: block;
}

.brand strong {
    font-size: 0.98rem;
}

.brand span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.82rem;
}

.side-nav {
    display: grid;
    gap: 6px;
}

.side-link {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    color: rgba(255, 255, 255, 0.78);
    border-radius: 8px;
    font-weight: 700;
}

.side-link:hover,
.side-link.active {
    color: #ffffff;
    background: var(--sidebar-soft);
}

.side-link.placeholder {
    color: rgba(255, 255, 255, 0.58);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-footer p {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.app-main {
    display: flex;
    min-width: 0;
    min-height: 100vh;
    flex-direction: column;
}

.app-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 78px;
    padding: 18px 28px;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--line);
}

.app-topbar h1 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.2;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    background: transparent;
    border: 0;
    box-shadow: none;
    cursor: default;
}

.topbar-user span {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar-user-photo,
.topbar-user-avatar {
    max-width: none;
}

.topbar-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f766e;
    background: #f1f5f9;
    font-size: 0.75rem;
    font-weight: 700;
}

.topbar-user-copy {
    min-width: 0;
}

.topbar-user-name,
.topbar-user-role {
    margin: 0;
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 999px;
}

.app-mobile-menu-button {
    display: none;
}

.app-content {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 28px 28px;
}

.app-content-fluid {
    max-width: none;
    padding: 18px 22px;
}

.hero-panel,
.content-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.hero-panel h2,
.content-panel h3 {
    margin: 0 0 8px;
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    line-height: 1.15;
}

.hero-panel p,
.content-panel p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
}

.module-page {
    display: grid;
    gap: 18px;
}

.clientes-vue-page,
.estoque-vue-page,
.produtos-vue-page,
.orcamentos-vue-page,
.relatorios-vue-page {
    gap: 12px;
}

.clientes-vue-page .module-header,
.estoque-vue-page .module-header,
.produtos-vue-page .module-header,
.orcamentos-vue-page .module-header,
.relatorios-vue-page .module-header {
    padding: 18px 20px;
}

.clientes-vue-page .module-header h2,
.estoque-vue-page .module-header h2,
.produtos-vue-page .module-header h2,
.orcamentos-vue-page .module-header h2,
.relatorios-vue-page .module-header h2 {
    font-size: 1.45rem;
}

.clientes-vue-page .module-header p,
.estoque-vue-page .module-header p,
.produtos-vue-page .module-header p,
.orcamentos-vue-page .module-header p,
.relatorios-vue-page .module-header p {
    margin-top: 4px;
    font-size: 0.92rem;
}

.module-header {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.module-header h2 {
    margin: 0 0 8px;
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    line-height: 1.15;
}

.module-header p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
}

.module-placeholder {
    min-height: 210px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.module-placeholder h3 {
    margin: 12px 0 8px;
    font-size: 1.22rem;
}

.module-placeholder p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    color: var(--brand-strong);
    background: #e4f6f1;
    border: 1px solid #b8e5dc;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.status-pill-danger {
    color: var(--danger);
    background: #fff1ef;
    border-color: #fecaca;
}

.list-panel {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.list-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.list-toolbar p {
    margin: 10px 0 0;
    color: var(--muted);
}

.search-form {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.filters-form {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.search-field {
    min-width: min(340px, 42vw);
}

.compact-field {
    min-width: 150px;
}

.report-client-field {
    min-width: min(360px, 42vw);
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.data-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #ffffff;
}

.products-table {
    min-width: 1120px;
}

.orcamentos-table {
    min-width: 1080px;
}

.relatorios-table {
    min-width: 920px;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.data-table th {
    color: var(--muted);
    background: var(--surface-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.data-table tr:last-child td {
    border-bottom: 0;
}

.data-table td {
    color: var(--ink);
    font-size: 0.94rem;
}

.empty-state {
    color: var(--muted);
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.badge-muted {
    color: #475569;
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.badge-success {
    color: #047857;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.badge-warning {
    color: #92400e;
    background: #fffbeb;
    border-color: #fcd34d;
}

.badge-danger {
    color: #b91c1c;
    background: #fef2f2;
    border-color: #fecaca;
}

.badge-info {
    color: #0369a1;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.9rem;
}

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

.page-indicator {
    color: var(--ink);
    font-weight: 700;
}

.button.disabled {
    cursor: default;
    opacity: 0.55;
    transform: none;
}

.table-link {
    color: var(--brand);
    font-weight: 800;
}

.table-link:hover {
    color: var(--brand-strong);
    text-decoration: underline;
}

.detail-panel {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.detail-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

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

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.form-meta-grid {
    margin-bottom: 18px;
}

.detail-grid div {
    min-height: 86px;
    padding: 16px;
    background: var(--surface-muted);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.detail-grid dt {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.detail-grid dd {
    margin: 0;
    color: var(--ink);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.data-form {
    display: grid;
    gap: 20px;
}

.delete-form {
    margin-top: 22px;
}

.clientes-vue-shell,
.estoque-vue-shell,
.produtos-vue-shell,
.orcamentos-vue-shell,
.relatorios-vue-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.vue-list-panel {
    min-width: 0;
}

.vue-panel {
    display: grid;
    gap: 12px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.vue-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.vue-panel-header h3 {
    margin-top: 6px;
    color: var(--ink);
    font-size: 1.04rem;
}

.vue-panel-header p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.86rem;
}

.vue-search {
    display: grid;
    grid-template-columns: 140px minmax(280px, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.vue-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.clientes-card-list {
    display: grid;
    gap: 10px;
}

.cliente-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cliente-card:hover {
    border-color: #b8d8d2;
    box-shadow: 0 10px 26px rgba(21, 35, 33, 0.08);
    transform: translateY(-1px);
}

.cliente-card-expanded {
    border-color: #99d7cc;
    box-shadow: 0 14px 34px rgba(21, 35, 33, 0.1);
}

.cliente-card-editing {
    border-color: #f5c56d;
    background: #fffdf8;
}

.cliente-card-new {
    border-style: dashed;
}

.cliente-card-state {
    padding: 18px;
    color: var(--muted);
    text-align: center;
}

.cliente-card-state strong,
.cliente-card-state p {
    margin: 0;
}

.cliente-card-state p {
    margin-top: 4px;
}

.cliente-card-toggle {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(110px, 0.55fr) minmax(220px, 1.6fr) minmax(220px, 1.15fr) auto;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    color: var(--ink);
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.cliente-card-toggle:hover,
.cliente-card-toggle:focus {
    background: var(--surface-muted);
    outline: none;
}

.cliente-card-code {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    color: var(--brand-strong);
    background: #e4f6f1;
    border: 1px solid #b8e5dc;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.cliente-card-main,
.cliente-card-contact {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.cliente-card-main strong,
.cliente-card-contact span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cliente-card-main small,
.cliente-card-contact small {
    color: var(--muted);
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cliente-card-indicator {
    color: var(--brand);
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

.cliente-card-details {
    display: grid;
    gap: 12px;
    padding: 0 14px 14px;
    background: #fbfdfc;
    border-top: 1px solid var(--line);
}

.cliente-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 0;
}

.cliente-card-grid div {
    min-height: 68px;
    padding: 10px 12px;
    background: var(--surface-muted);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.cliente-card-grid dt {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.cliente-card-grid dd {
    margin: 0;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.cliente-card-wide {
    grid-column: span 2;
}

.cliente-card-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.cliente-card-form-head {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
}

.cliente-card-form-head h4,
.cliente-card-form-head p {
    margin: 0;
}

.cliente-card-form-head h4 {
    margin-top: 6px;
    font-size: 1.08rem;
}

.cliente-card-form-head p {
    color: var(--muted);
    font-size: 0.86rem;
}

.cliente-inline-form {
    display: grid;
    gap: 12px;
    padding: 14px 16px 16px;
}

.cliente-inline-grid {
    grid-template-columns: minmax(120px, 0.6fr) minmax(180px, 1fr) minmax(260px, 1.35fr);
    gap: 10px 12px;
}

.cliente-inline-grid .field-wide {
    grid-column: span 2;
}

.estoque-card-list {
    display: grid;
    gap: 10px;
}

.estoque-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.estoque-card:hover {
    border-color: #b8d8d2;
    box-shadow: 0 10px 26px rgba(21, 35, 33, 0.08);
    transform: translateY(-1px);
}

.estoque-card-expanded {
    border-color: #99d7cc;
    box-shadow: 0 14px 34px rgba(21, 35, 33, 0.1);
}

.estoque-card-editing {
    border-color: #f5c56d;
    background: #fffdf8;
}

.estoque-card-new {
    border-style: dashed;
}

.estoque-card-state {
    padding: 18px;
    color: var(--muted);
    text-align: center;
}

.estoque-card-state strong,
.estoque-card-state p {
    margin: 0;
}

.estoque-card-state p {
    margin-top: 4px;
}

.estoque-card-toggle {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(110px, 0.55fr) minmax(220px, 1.6fr) minmax(220px, 1.15fr) auto;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    color: var(--ink);
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.estoque-card-toggle:hover,
.estoque-card-toggle:focus {
    background: var(--surface-muted);
    outline: none;
}

.estoque-card-code {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    color: var(--brand-strong);
    background: #e4f6f1;
    border: 1px solid #b8e5dc;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.estoque-card-main,
.estoque-card-contact {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.estoque-card-main strong,
.estoque-card-contact span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.estoque-card-main small,
.estoque-card-contact small {
    color: var(--muted);
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.estoque-card-indicator {
    color: var(--brand);
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

.estoque-card-details {
    display: grid;
    gap: 12px;
    padding: 0 14px 14px;
    background: #fbfdfc;
    border-top: 1px solid var(--line);
}

.estoque-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 0;
}

.estoque-card-grid div {
    min-height: 68px;
    padding: 10px 12px;
    background: var(--surface-muted);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.estoque-card-grid dt {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.estoque-card-grid dd {
    margin: 0;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.estoque-card-wide {
    grid-column: span 2;
}

.estoque-card-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.estoque-card-form-head {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
}

.estoque-card-form-head h4,
.estoque-card-form-head p {
    margin: 0;
}

.estoque-card-form-head h4 {
    margin-top: 6px;
    font-size: 1.08rem;
}

.estoque-card-form-head p {
    color: var(--muted);
    font-size: 0.86rem;
}

.estoque-inline-form {
    display: grid;
    gap: 12px;
    padding: 14px 16px 16px;
}

.estoque-inline-grid {
    grid-template-columns: minmax(260px, 1.35fr) minmax(120px, 0.6fr) minmax(120px, 0.6fr);
    gap: 10px 12px;
}

.estoque-inline-grid .field-wide {
    grid-column: span 2;
}

.produto-card-list {
    display: grid;
    gap: 10px;
}

.produto-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.produto-card:hover {
    border-color: #b8d8d2;
    box-shadow: 0 10px 26px rgba(21, 35, 33, 0.08);
    transform: translateY(-1px);
}

.produto-card-expanded {
    border-color: #99d7cc;
    box-shadow: 0 14px 34px rgba(21, 35, 33, 0.1);
}

.produto-card-editing {
    border-color: #f5c56d;
    background: #ffffff;
}

.produto-card-new {
    border-style: dashed;
}

.produto-card-state {
    padding: 18px;
    color: var(--muted);
    text-align: center;
}

.produto-card-state strong,
.produto-card-state p {
    margin: 0;
}

.produto-card-state p {
    margin-top: 4px;
}

.produto-card-toggle {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(110px, 0.55fr) minmax(240px, 1.6fr) minmax(220px, 1.15fr) auto;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    color: var(--ink);
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.produto-card-toggle:hover,
.produto-card-toggle:focus {
    background: var(--surface-muted);
    outline: none;
}

.produto-card-code {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    color: var(--brand-strong);
    background: #e4f6f1;
    border: 1px solid #b8e5dc;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.produto-card-main,
.produto-card-contact {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.produto-card-main strong,
.produto-card-contact span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.produto-card-main small,
.produto-card-contact small {
    color: var(--muted);
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.produto-card-indicator {
    color: var(--brand);
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

.produto-card-details {
    display: grid;
    gap: 12px;
    padding: 0 14px 14px;
    background: #fbfdfc;
    border-top: 1px solid var(--line);
}

.produto-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 0;
}

.produto-card-grid div {
    min-height: 68px;
    padding: 10px 12px;
    background: var(--surface-muted);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.produto-card-grid dt {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.produto-card-grid dd {
    margin: 0;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.produto-card-wide {
    grid-column: span 2;
}

.produto-card-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.produto-card-form-head {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
}

.produto-card-form-head h4,
.produto-card-form-head p {
    margin: 0;
}

.produto-card-form-head h4 {
    margin-top: 6px;
    font-size: 1.08rem;
}

.produto-card-form-head p {
    color: var(--muted);
    font-size: 0.86rem;
}

.produto-inline-form {
    display: grid;
    gap: 12px;
    padding: 14px 16px 16px;
}

.produto-inline-grid {
    grid-template-columns: minmax(150px, 0.75fr) minmax(240px, 1.2fr) minmax(150px, 0.7fr) minmax(130px, 0.65fr);
    gap: 10px 12px;
}

.produto-inline-grid .field-wide {
    grid-column: span 2;
}

.orcamentos-vue-page {
    --argon-primary: #5e72e4;
    --argon-info: #11cdef;
    --argon-success: #2dce89;
    --argon-warning: #fb9b1b;
    --argon-danger: #f5365c;
    --argon-ink: #32325d;
    --argon-muted: #8898aa;
    --argon-line: #e9ecef;
    --argon-soft: #f6f9fc;
    --argon-shadow: 0 18px 42px rgba(50, 50, 93, 0.12);
}

.orcamentos-panel {
    gap: 18px;
    padding: 18px;
    background: var(--argon-soft);
    border-color: #eef1f5;
    border-radius: 14px;
    box-shadow: 0 22px 48px rgba(50, 50, 93, 0.1);
}

.orcamentos-page-head {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 16px;
    align-items: start;
    padding: 22px;
    background:
        linear-gradient(135deg, rgba(94, 114, 228, 0.96), rgba(17, 205, 239, 0.92)),
        #5e72e4;
    border: 0;
    border-radius: 18px;
    box-shadow: var(--argon-shadow);
    overflow: hidden;
    position: relative;
}

.orcamentos-page-head::after {
    position: absolute;
    right: -60px;
    bottom: -90px;
    width: 230px;
    height: 230px;
    content: "";
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    pointer-events: none;
}

.orcamentos-title-block {
    display: grid;
    align-content: center;
    gap: 4px;
    position: relative;
    z-index: 1;
}

.orcamentos-title-block h2,
.orcamentos-title-block p {
    margin: 0;
}

.orcamentos-title-block h2 {
    color: #ffffff;
    font-size: 1.55rem;
    line-height: 1.12;
}

.orcamentos-title-block p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}

.orcamentos-title-block .eyebrow {
    color: rgba(255, 255, 255, 0.72);
}

.orcamentos-head-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.orcamentos-filter-toggle {
    gap: 8px;
    min-height: 38px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 26px rgba(50, 50, 93, 0.08);
}

.orcamentos-filter-toggle:hover,
.orcamentos-filter-toggle-active {
    color: var(--argon-primary);
    background: #ffffff;
    border-color: #ffffff;
}

.orcamentos-filter-icon {
    display: inline-grid;
    width: 16px;
    gap: 3px;
}

.orcamentos-filter-icon span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.orcamentos-filter-icon span:nth-child(2) {
    width: 11px;
}

.orcamentos-filter-icon span:nth-child(3) {
    width: 6px;
}

.orcamentos-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    min-height: 22px;
    padding: 0 7px;
    color: #ffffff;
    background: var(--argon-danger);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
}

.orcamentos-new-button {
    min-height: 38px;
    box-shadow: 0 12px 26px rgba(50, 50, 93, 0.14);
}

.orcamentos-kpi-grid {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    position: relative;
    z-index: 1;
}

.orcamentos-kpi-card {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 14px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    box-shadow: 0 14px 28px rgba(50, 50, 93, 0.08);
}

.orcamentos-kpi-card span,
.orcamentos-kpi-card small {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.72rem;
    font-weight: 800;
}

.orcamentos-kpi-card span {
    text-transform: uppercase;
}

.orcamentos-kpi-card strong {
    color: #ffffff;
    font-size: 1.08rem;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.orcamentos-filter-card {
    display: grid;
    gap: 10px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid var(--argon-line);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(50, 50, 93, 0.07);
}

.orcamento-create-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(180deg, #fff8df, #fffdf4);
    border: 1px solid #f1c65f;
    border-radius: 16px;
    box-shadow: inset 4px 0 0 #d99a12, 0 12px 30px rgba(50, 50, 93, 0.07);
}

.orcamento-create-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.orcamento-create-head h3,
.orcamento-create-head p {
    margin: 0;
}

.orcamento-create-head h3 {
    color: var(--argon-ink);
    font-size: 1rem;
    font-weight: 500;
}

.orcamento-create-head p {
    margin-top: 3px;
    color: var(--argon-muted);
    font-size: 0.82rem;
    font-weight: 400;
}

.orcamento-create-form {
    display: grid;
    gap: 12px;
}

.orcamento-create-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) repeat(5, minmax(130px, 0.7fr));
    gap: 10px;
    align-items: start;
}

.orcamento-create-grid .field-wide {
    min-width: 0;
}

.orcamento-create-cliente-field {
    gap: 8px;
}

.orcamentos-theme .orcamentos-vue-page .orcamento-create-form .field span {
    font-weight: 400;
    letter-spacing: 0;
}

.orcamentos-theme .orcamentos-vue-page .orcamento-create-form .field input,
.orcamentos-theme .orcamentos-vue-page .orcamento-create-form .field select,
.orcamentos-theme .orcamentos-vue-page .orcamento-new-item-form .field input,
.orcamentos-theme .orcamentos-vue-page .orcamento-new-item-form .field select,
.orcamentos-theme .orcamentos-vue-page .orcamento-item-edit-form .field input,
.orcamentos-theme .orcamentos-vue-page .orcamento-item-edit-form .field select,
.orcamentos-theme .orcamentos-vue-page .orcamento-client-combobox-trigger {
    height: 40px;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0;
}

.orcamentos-theme .orcamentos-vue-page .orcamento-new-item-form .field span,
.orcamentos-theme .orcamentos-vue-page .orcamento-item-edit-form .field span {
    color: #475569;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0;
}

.orcamentos-theme .orcamentos-vue-page .orcamento-client-combobox {
    position: relative;
    font-family: var(--font-sans, "Inter", ui-sans-serif, system-ui, sans-serif);
}

.orcamentos-theme .orcamentos-vue-page .orcamento-client-combobox-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: none;
    text-align: left;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.orcamentos-theme .orcamentos-vue-page .orcamento-client-combobox-trigger:hover {
    border-color: #f59e0b;
}

.orcamentos-theme .orcamentos-vue-page .orcamento-client-combobox-trigger:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16);
}

.orcamentos-theme .orcamentos-vue-page .orcamento-client-combobox-trigger:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.orcamentos-theme .orcamentos-vue-page .orcamento-client-combobox-trigger span:first-child {
    min-width: 0;
    overflow: hidden;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.orcamentos-theme .orcamentos-vue-page .orcamento-client-combobox-arrow {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-right: 1px solid #64748b;
    border-bottom: 1px solid #64748b;
    transform: rotate(45deg);
}

.orcamentos-theme .orcamentos-vue-page .orcamento-client-combobox-panel {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 140;
    display: grid;
    max-height: 288px;
    gap: 8px;
    padding: 8px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(148, 163, 184, 0.35);
}

.orcamentos-theme .orcamentos-vue-page .orcamento-create-form .orcamento-client-combobox-search,
.orcamentos-theme .orcamentos-vue-page .orcamento-new-item-form .orcamento-client-combobox-search {
    width: 100%;
    height: 36px;
    min-height: 36px;
    padding: 0 12px;
    color: #1e293b;
    font-family: var(--font-sans, "Inter", ui-sans-serif, system-ui, sans-serif);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
}

.orcamentos-theme .orcamentos-vue-page .orcamento-create-form .orcamento-client-combobox-search:focus,
.orcamentos-theme .orcamentos-vue-page .orcamento-new-item-form .orcamento-client-combobox-search:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.14);
}

.orcamentos-theme .orcamentos-vue-page .orcamento-client-combobox-empty {
    padding: 12px;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 400;
}

.orcamentos-theme .orcamentos-vue-page .orcamento-client-combobox-option {
    display: grid;
    gap: 2px;
    padding: 8px 12px;
    color: #334155;
    background: transparent;
    border: 0;
    border-radius: 8px;
    font-family: var(--font-sans, "Inter", ui-sans-serif, system-ui, sans-serif);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0;
    text-align: left;
    transition: background 160ms ease, color 160ms ease;
}

.orcamentos-theme .orcamentos-vue-page .orcamento-client-combobox-option:hover {
    color: #0f172a;
    background: #fffbeb;
}

.orcamentos-theme .orcamentos-vue-page .orcamento-client-combobox-option small {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0;
}

.orcamentos-theme .orcamentos-vue-page .orcamento-client-combobox-option-active {
    color: #0f172a;
    background: #fef3c7;
}

.orcamento-create-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.orcamentos-filter-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.orcamentos-filter-head h3,
.orcamentos-filter-head p {
    margin: 0;
}

.orcamentos-filter-head h3 {
    color: var(--argon-ink);
    font-size: 0.98rem;
}

.orcamentos-filter-head p {
    margin-top: 3px;
    color: var(--argon-muted);
    font-size: 0.8rem;
}

.orcamentos-filter-grid {
    grid-template-columns: 110px minmax(240px, 1.35fr) repeat(4, minmax(130px, 0.7fr)) auto;
    padding: 0;
    background: transparent;
    border: 0;
}

.orcamentos-vue-page .button {
    border-radius: 999px;
    font-weight: 800;
}

.orcamentos-vue-page .button-primary {
    background: linear-gradient(135deg, var(--argon-primary), #825ee4);
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(94, 114, 228, 0.26);
}

.orcamentos-vue-page .button-primary:hover {
    background: linear-gradient(135deg, #4d61d8, #7650d9);
}

.orcamentos-vue-page .button-ghost {
    color: var(--argon-primary);
    background: #ffffff;
    border-color: #d8def8;
}

.orcamentos-vue-page .button-ghost:hover {
    color: #ffffff;
    background: var(--argon-primary);
    border-color: var(--argon-primary);
}

.orcamentos-vue-page .button-danger {
    background: linear-gradient(135deg, var(--argon-danger), #fb6340);
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(245, 54, 92, 0.2);
}

.orcamentos-vue-page .badge {
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 900;
    box-shadow: none;
}

.orcamentos-vue-page .badge-muted {
    color: #525f7f;
    background: #eef1f7;
}

.orcamentos-vue-page .badge-success {
    color: #0b6b47;
    background: #d9f8ea;
}

.orcamentos-vue-page .badge-warning {
    color: #8a5600;
    background: #fff1d7;
}

.orcamentos-vue-page .badge-danger {
    color: #9d1734;
    background: #ffe1e8;
}

.orcamentos-vue-page .badge-info {
    color: #0c6277;
    background: #d8f8ff;
}

.orcamentos-vue-page .field input,
.orcamentos-vue-page .field select {
    border-color: #dee2ec;
    border-radius: 10px;
    background: #ffffff;
}

.orcamentos-vue-page .field input:focus,
.orcamentos-vue-page .field select:focus {
    border-color: #aab6ff;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(94, 114, 228, 0.14);
}

.orcamentos-filter-actions {
    align-self: end;
}

.relatorios-filter-grid {
    grid-template-columns: minmax(260px, 1.35fr) repeat(4, minmax(140px, 0.7fr)) minmax(110px, 0.55fr) auto;
}

.relatorios-client-field {
    min-width: min(420px, 46vw);
}

.relatorios-filter-actions {
    align-self: end;
}

.relatorios-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: var(--surface-muted);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.relatorios-summary p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.relatorios-state {
    padding: 18px;
    color: var(--muted);
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.relatorios-state strong,
.relatorios-state p {
    margin: 0;
}

.relatorios-state p {
    margin-top: 4px;
}

.relatorios-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.relatorios-vue-table {
    min-width: 860px;
}

.relatorios-vue-table th,
.relatorios-vue-table td {
    padding: 10px 12px;
    vertical-align: middle;
}

.relatorios-vue-table th {
    font-size: 0.72rem;
    letter-spacing: 0;
}

.relatorios-vue-table td {
    font-size: 0.88rem;
}

.orcamento-card-list {
    display: grid;
    gap: 12px;
}

.orcamento-card {
    background: #ffffff;
    border: 1px solid var(--argon-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(50, 50, 93, 0.08);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.orcamento-card:hover {
    border-color: #cbd3ef;
    box-shadow: 0 18px 40px rgba(50, 50, 93, 0.12);
    transform: translateY(-1px);
}

.orcamento-card-expanded {
    border-color: #aab6ff;
    box-shadow: 0 22px 48px rgba(50, 50, 93, 0.16);
}

.orcamento-card-state {
    display: grid;
    gap: 5px;
    padding: 28px 18px;
    color: var(--argon-muted);
    text-align: center;
    background:
        linear-gradient(180deg, rgba(94, 114, 228, 0.05), rgba(17, 205, 239, 0.04)),
        #ffffff;
}

.orcamento-card-state strong,
.orcamento-card-state p {
    margin: 0;
}

.orcamento-card-state p {
    margin-top: 4px;
}

.orcamento-card-toggle {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(130px, 0.6fr) minmax(260px, 1.45fr) minmax(210px, 0.95fr) minmax(140px, 0.65fr);
    gap: 14px;
    align-items: center;
    padding: 17px 18px;
    color: var(--argon-ink);
    background: #ffffff;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.orcamento-card-toggle:hover,
.orcamento-card-toggle:focus {
    background: #f8faff;
    outline: none;
}

.orcamento-card-code-wrap {
    display: grid;
    gap: 5px;
    min-width: 0;
    justify-items: flex-start;
}

.orcamento-card-code-wrap small {
    color: var(--argon-muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.orcamento-card-code {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    min-height: 30px;
    align-items: center;
    padding: 0 11px;
    color: #324cdd;
    background: #eef1ff;
    border: 1px solid #d9defd;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.orcamento-card-main {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.orcamento-card-main strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.orcamento-card-main small {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--argon-muted);
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.orcamento-card-status {
    display: grid;
    gap: 6px;
    align-content: center;
}

.orcamento-status-stack {
    display: grid;
    gap: 6px;
}

.orcamento-status-row {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.orcamento-status-label {
    color: var(--argon-muted);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: lowercase;
}

.orcamento-card-total {
    display: grid;
    gap: 2px;
    justify-items: end;
    white-space: nowrap;
}

.orcamento-card-total small {
    color: var(--argon-muted);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.orcamento-card-total strong {
    color: var(--argon-ink);
    font-size: 1rem;
    font-weight: 900;
}

.orcamento-card-details {
    display: grid;
    gap: 14px;
    padding: 16px;
    background: #f6f9fc;
    border-top: 1px solid var(--argon-line);
}

.orcamento-info-section {
    display: grid;
    gap: 12px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--argon-line);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(50, 50, 93, 0.06);
}

.orcamento-info-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.orcamento-info-head h3,
.orcamento-info-head p {
    margin: 0;
}

.orcamento-info-head h3 {
    color: var(--argon-ink);
    font-size: 0.96rem;
}

.orcamento-info-head p {
    margin-top: 3px;
    color: var(--argon-muted);
    font-size: 0.82rem;
}

.orcamento-quick-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    flex-wrap: wrap;
}

.orcamento-quick-action {
    min-height: 32px;
    padding: 0 10px;
    color: #4b5a74;
    background: #ffffff;
    border-color: #dfe5f1;
    font-size: 0.78rem;
    box-shadow: 0 8px 18px rgba(50, 50, 93, 0.06);
}

.orcamento-quick-action:hover:not(:disabled) {
    color: var(--argon-primary);
    background: #f6f8ff;
    border-color: #cfd7ff;
}

.orcamento-quick-action:disabled {
    color: #a0aec0;
    background: #f4f6fb;
    border-color: #e5eaf3;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
}

.orcamento-quick-action:disabled:hover {
    transform: none;
}

.orcamento-quick-action-primary {
    color: #2f44c4;
    background: #f0f4ff;
    border-color: #dce3ff;
}

.orcamento-quick-action-status {
    color: #0c6277;
    background: #e8f9fd;
    border-color: #c8eef7;
}

.orcamento-quick-action-print {
    color: #2f44c4;
    background: #f0f4ff;
    border-color: #dce3ff;
}

.orcamento-quick-action-danger {
    color: #b91c1c;
    background: #fff1f3;
    border-color: #fecdd3;
}

.orcamento-quick-action-danger:hover:not(:disabled) {
    color: #ffffff;
    background: #dc2626;
    border-color: #dc2626;
}

.quick-action-icon {
    display: inline-flex;
    min-width: 20px;
    min-height: 20px;
    align-items: center;
    justify-content: center;
    color: inherit;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
}

.orcamento-status-quick-panel {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 0.95fr) auto;
    gap: 12px;
    align-items: end;
    padding: 14px;
    background: #f7fbff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.orcamento-status-quick-panel strong,
.orcamento-status-quick-panel p {
    margin: 0;
}

.orcamento-status-quick-panel strong {
    color: var(--argon-ink);
    font-size: 0.92rem;
}

.orcamento-status-quick-panel p {
    margin-top: 3px;
    color: var(--argon-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.orcamento-status-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 10px;
}

.orcamento-status-quick-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.orcamento-status-quick-success {
    grid-column: 1 / -1;
    margin: 0;
    padding: 9px 11px;
    color: #0b6b47;
    background: #ddf7eb;
    border: 1px solid #bcebd5;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 800;
}

.orcamento-anexo-indicator {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    color: #2f44c4;
    background: #f0f4ff;
    border: 1px solid #dce3ff;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 900;
}

.orcamento-anexo-indicator:hover {
    color: #ffffff;
    background: var(--argon-primary);
    border-color: var(--argon-primary);
}

.orcamento-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.orcamento-card-grid div {
    min-height: 68px;
    padding: 10px 12px;
    background: #f8faff;
    border: 1px solid #edf0f7;
    border-radius: 12px;
}

.orcamento-card-grid dt {
    margin-bottom: 4px;
    color: var(--argon-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.orcamento-card-grid dd {
    margin: 0;
    color: var(--argon-ink);
    font-size: 0.9rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.orcamento-card-wide {
    grid-column: span 2;
}

.orcamento-card-situation {
    grid-column: span 2;
}

.orcamento-edit-section {
    display: grid;
    gap: 12px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--argon-line);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(50, 50, 93, 0.06);
}

.orcamento-edit-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.orcamento-edit-head h3 {
    margin: 0;
    color: var(--argon-ink);
    font-size: 0.96rem;
}

.orcamento-edit-head p {
    margin: 3px 0 0;
    color: var(--argon-muted);
    font-size: 0.82rem;
}

.orcamento-edit-form {
    display: grid;
    gap: 12px;
    padding: 16px;
    background: #f8faff;
    border: 1px solid #dfe4fb;
    border-radius: 14px;
}

.orcamento-edit-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.35fr) minmax(140px, 0.6fr) repeat(4, minmax(120px, 0.55fr));
    gap: 10px;
    align-items: start;
}

.orcamento-edit-grid .field-wide {
    min-width: 0;
}

.orcamento-edit-success {
    padding: 10px 12px;
    color: #0b6b47;
    background: #d9f8ea;
    border: 1px solid #b8efd7;
    border-radius: 12px;
    font-size: 0.84rem;
    font-weight: 800;
}

.orcamento-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.orcamento-itens-section {
    display: grid;
    gap: 12px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--argon-line);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(50, 50, 93, 0.06);
}

.orcamento-info-section > .orcamento-itens-section {
    padding: 14px;
    background: #fbfcff;
    border-color: #edf1f8;
    box-shadow: none;
}

.orcamento-itens-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.orcamento-itens-head h3 {
    margin: 0;
    color: var(--argon-ink);
    font-size: 0.96rem;
}

.orcamento-itens-head p {
    margin: 3px 0 0;
    color: var(--argon-muted);
    font-size: 0.82rem;
}

.orcamento-itens-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.orcamento-servico-form {
    display: grid;
    gap: 12px;
    padding: 16px;
    background: #f8faff;
    border: 1px solid #dfe4fb;
    border-radius: 14px;
}

.orcamento-servico-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) minmax(120px, 0.6fr) minmax(110px, 0.45fr) minmax(130px, 0.55fr);
    gap: 10px;
    align-items: start;
}

.orcamento-servico-grid .field-wide {
    min-width: 0;
}

.orcamento-produto-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(120px, 0.35fr);
    gap: 10px;
    align-items: start;
}

.orcamento-produto-summary {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    color: var(--argon-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.orcamento-produto-summary strong {
    color: var(--argon-ink);
}

.orcamento-servico-total {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    align-items: center;
    color: var(--argon-muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.orcamento-servico-total strong {
    color: var(--argon-ink);
    font-size: 0.95rem;
}

.orcamento-servico-success {
    padding: 10px 12px;
    color: #0b6b47;
    background: #d9f8ea;
    border: 1px solid #b8efd7;
    border-radius: 12px;
    font-size: 0.84rem;
    font-weight: 800;
}

.orcamento-servico-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.orcamento-itens-state {
    padding: 18px;
    color: var(--argon-muted);
    background: #f8faff;
    border: 1px dashed #d8def8;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
}

.orcamento-itens-error {
    color: #8a1c1c;
    background: #fff1f1;
    border-color: #f0c4c4;
}

.orcamento-itens-list {
    display: grid;
    gap: 10px;
}

.orcamento-item-row {
    display: grid;
    grid-template-columns: minmax(100px, 0.6fr) minmax(220px, 1.5fr) minmax(90px, 0.5fr) minmax(120px, 0.65fr) minmax(120px, 0.65fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: #f8faff;
    border: 1px solid #edf0f7;
    border-radius: 14px;
}

.orcamento-item-row-editing {
    align-items: stretch;
    background: #ffffff;
    border-color: #aab6ff;
    box-shadow: 0 12px 28px rgba(94, 114, 228, 0.12);
}

.orcamento-item-edit-form {
    display: grid;
    grid-column: 1 / -1;
    gap: 10px;
}

.orcamento-item-type,
.orcamento-item-main {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.orcamento-item-type small,
.orcamento-item-main small {
    color: var(--argon-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.orcamento-item-main strong {
    color: var(--argon-ink);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.orcamento-item-meta {
    display: block;
    margin-bottom: 3px;
    color: var(--argon-muted);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.orcamento-item-value {
    color: var(--argon-ink);
    font-size: 0.88rem;
}

.orcamento-item-action {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 82px;
}

.orcamento-item-edit,
.orcamento-item-delete {
    min-height: 32px;
    padding: 0 10px;
    background: #ffffff;
    font-size: 0.78rem;
}

.orcamento-item-edit {
    color: var(--argon-primary);
    border-color: #d8def8;
}

.orcamento-item-edit:hover {
    color: #ffffff;
    background: var(--argon-primary);
    border-color: var(--argon-primary);
}

.orcamento-item-delete {
    color: var(--argon-danger);
    border-color: #ffd0da;
}

.orcamento-item-delete:hover {
    color: #ffffff;
    background: var(--argon-danger);
    border-color: var(--argon-danger);
}

.orcamento-itens-total {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    align-items: center;
    padding: 9px 2px 0;
    color: var(--argon-muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.orcamento-itens-total strong {
    color: var(--argon-ink);
    font-size: 0.94rem;
}

.orcamento-anexos-section {
    display: grid;
    gap: 12px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--argon-line);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(50, 50, 93, 0.06);
}

.orcamento-anexos-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.orcamento-anexos-head h3 {
    margin: 0;
    color: var(--argon-ink);
    font-size: 0.96rem;
}

.orcamento-anexos-head p {
    margin: 3px 0 0;
    color: var(--argon-muted);
    font-size: 0.82rem;
}

.orcamento-anexos-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.orcamento-anexo-upload {
    display: grid;
    gap: 10px;
    padding: 16px;
    background: #f8faff;
    border: 1px solid #dfe4fb;
    border-radius: 14px;
}

.orcamento-upload-selected {
    margin: 0;
    color: var(--argon-ink);
    font-size: 0.84rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.orcamento-upload-success {
    padding: 10px 12px;
    color: #0b6b47;
    background: #d9f8ea;
    border: 1px solid #b8efd7;
    border-radius: 12px;
    font-size: 0.84rem;
    font-weight: 800;
}

.orcamento-upload-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.orcamento-anexos-state {
    padding: 18px;
    color: var(--argon-muted);
    background: #f8faff;
    border: 1px dashed #d8def8;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
}

.orcamento-anexos-error {
    color: #8a1c1c;
    background: #fff1f1;
    border-color: #f0c4c4;
}

.orcamento-anexos-list {
    display: grid;
    gap: 10px;
}

.orcamento-anexo-row {
    display: grid;
    grid-template-columns: minmax(90px, 0.45fr) minmax(240px, 1.6fr) minmax(140px, 0.7fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: #f8faff;
    border: 1px solid #edf0f7;
    border-radius: 14px;
}

.orcamento-anexo-type,
.orcamento-anexo-main {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.orcamento-anexo-type small,
.orcamento-anexo-main small {
    color: var(--argon-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.orcamento-anexo-main strong {
    color: var(--argon-ink);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.orcamento-anexo-meta {
    display: block;
    margin-bottom: 3px;
    color: var(--argon-muted);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.orcamento-anexo-value {
    color: var(--argon-ink);
    font-size: 0.88rem;
}

.orcamento-anexo-action {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.orcamento-anexo-link,
.orcamento-anexo-delete {
    min-width: 72px;
}

.orcamento-anexo-unavailable {
    color: var(--argon-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.orcamento-anexos-total {
    display: flex;
    justify-content: flex-end;
    color: var(--argon-muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.orcamento-delete-section {
    display: grid;
    gap: 12px;
    padding: 16px;
    background: #fff7f9;
    border: 1px solid #ffd0da;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(245, 54, 92, 0.06);
}

.orcamento-delete-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.orcamento-delete-head h3 {
    margin: 0;
    color: var(--argon-ink);
    font-size: 0.96rem;
}

.orcamento-delete-head p {
    margin: 3px 0 0;
    color: var(--argon-muted);
    font-size: 0.82rem;
}

.orcamento-delete-confirm {
    display: grid;
    gap: 10px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #ffd0da;
    border-radius: 14px;
}

.orcamento-delete-confirm strong,
.orcamento-delete-confirm p {
    margin: 0;
}

.orcamento-delete-confirm p {
    margin-top: 4px;
    color: var(--argon-muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.orcamento-delete-block-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.orcamento-delete-block-list li {
    padding: 5px 8px;
    color: #9d1734;
    background: #ffe1e8;
    border: 1px solid #ffd0da;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.orcamento-delete-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.orcamento-readonly-note {
    display: flex;
    justify-content: flex-end;
    color: var(--argon-muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.orcamento-modal-backdrop {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(3px);
    z-index: 50;
}

.orcamento-anexos-modal {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(980px, 100%);
    max-height: min(86vh, 780px);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dfe5f1;
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
}

.orcamento-anexos-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    background:
        linear-gradient(135deg, rgba(94, 114, 228, 0.08), rgba(17, 205, 239, 0.08)),
        #ffffff;
    border-bottom: 1px solid #eef2f7;
}

.orcamento-anexos-modal-head h3,
.orcamento-anexos-modal-head p {
    margin: 0;
}

.orcamento-anexos-modal-head h3 {
    color: var(--argon-ink);
    font-size: 1.04rem;
}

.orcamento-anexos-modal-head p {
    margin-top: 4px;
    color: var(--argon-muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.orcamento-anexos-modal-head p span {
    display: inline-flex;
    margin-left: 8px;
    padding: 3px 8px;
    color: #2f44c4;
    background: #f0f4ff;
    border-radius: 999px;
}

.orcamento-anexos-modal-body {
    display: grid;
    gap: 12px;
    min-height: 0;
    padding: 16px;
    overflow: auto;
}

.orcamento-anexos-modal-toolbar {
    display: flex;
    justify-content: flex-end;
}

.orcamento-anexos-modal-list {
    display: grid;
    gap: 10px;
}

.orcamento-print-modal {
    display: grid;
    width: min(880px, 100%);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dfe5f1;
    border-radius: 14px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
}

.orcamento-print-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    background:
        linear-gradient(135deg, rgba(94, 114, 228, 0.08), rgba(17, 205, 239, 0.08)),
        #ffffff;
    border-bottom: 1px solid #eef2f7;
}

.orcamento-print-modal-head h3,
.orcamento-print-modal-head p {
    margin: 0;
}

.orcamento-print-modal-head h3 {
    color: var(--argon-ink);
    font-size: 1.04rem;
}

.orcamento-print-modal-head p {
    margin-top: 4px;
    color: var(--argon-muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.orcamento-print-modal-body {
    display: grid;
    gap: 16px;
    padding: 18px;
}

.orcamento-print-modal-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
    gap: 14px;
    align-items: stretch;
}

.orcamento-print-options {
    display: grid;
    gap: 14px;
    align-content: start;
}

.orcamento-print-fieldset {
    display: grid;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.orcamento-print-fieldset legend {
    color: var(--argon-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.orcamento-print-segmented {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.orcamento-print-segment {
    min-height: 42px;
    padding: 0 12px;
    color: #4b5a74;
    background: #ffffff;
    border: 1px solid #dfe5f1;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 900;
}

.orcamento-print-segment:hover,
.orcamento-print-segment-active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--argon-primary), #825ee4);
    border-color: transparent;
}

.orcamento-print-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.orcamento-print-preview {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    background:
        linear-gradient(135deg, rgba(45, 55, 72, 0.04), rgba(49, 130, 206, 0.06)),
        #f8fafc;
    border: 1px solid #dfe5f1;
    border-radius: 12px;
}

.orcamento-print-preview-kicker {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.orcamento-print-preview > strong {
    color: var(--argon-ink);
    font-size: 1rem;
}

.orcamento-print-preview dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.orcamento-print-preview dl div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(203, 213, 225, 0.8);
}

.orcamento-print-preview dl div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.orcamento-print-preview dt,
.orcamento-print-preview dd {
    margin: 0;
}

.orcamento-print-preview dt {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
}

.orcamento-print-preview dd {
    color: #1f2937;
    font-size: 0.84rem;
    font-weight: 900;
    text-align: right;
    overflow-wrap: anywhere;
}

.orcamento-print-preview p {
    margin: 0;
    padding: 9px 10px;
    color: #2f44c4;
    background: #eef3ff;
    border: 1px solid #dbe4ff;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 800;
}

.orcamento-email-modal {
    display: grid;
    width: min(920px, 100%);
    max-height: min(88vh, 820px);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dfe5f1;
    border-radius: 14px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
}

.orcamento-email-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    background:
        linear-gradient(135deg, rgba(94, 114, 228, 0.08), rgba(17, 205, 239, 0.08)),
        #ffffff;
    border-bottom: 1px solid #eef2f7;
}

.orcamento-email-modal-head h3,
.orcamento-email-modal-head p {
    margin: 0;
}

.orcamento-email-modal-head h3 {
    color: var(--argon-ink);
    font-size: 1.04rem;
}

.orcamento-email-modal-head p {
    margin-top: 4px;
    color: var(--argon-muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.orcamento-email-modal-body {
    display: grid;
    gap: 16px;
    min-height: 0;
    padding: 18px;
    overflow: auto;
}

.orcamento-email-modal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
    gap: 14px;
    align-items: start;
}

.orcamento-email-options {
    display: grid;
    gap: 12px;
}

.orcamento-email-options textarea {
    min-height: 96px;
    resize: vertical;
}

.orcamento-email-preview {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    background:
        linear-gradient(135deg, rgba(45, 55, 72, 0.04), rgba(49, 130, 206, 0.06)),
        #f8fafc;
    border: 1px solid #dfe5f1;
    border-radius: 12px;
}

.orcamento-email-preview > strong {
    color: var(--argon-ink);
    font-size: 1rem;
}

.orcamento-email-preview dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.orcamento-email-preview dl div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(203, 213, 225, 0.8);
}

.orcamento-email-preview dl div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.orcamento-email-preview dt,
.orcamento-email-preview dd {
    margin: 0;
}

.orcamento-email-preview dt {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
}

.orcamento-email-preview dd {
    color: #1f2937;
    font-size: 0.84rem;
    font-weight: 900;
    text-align: right;
    overflow-wrap: anywhere;
}

.orcamento-email-preview p {
    margin: 0;
    padding: 9px 10px;
    color: #2f44c4;
    background: #eef3ff;
    border: 1px solid #dbe4ff;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 800;
}

.orcamento-email-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.data-table tr[data-clickable="true"] {
    cursor: pointer;
}

.data-table tr[data-clickable="true"]:hover td {
    background: var(--surface-muted);
}

.row-selected td {
    background: #edf7f5;
}

.clientes-vue-page .button,
.estoque-vue-page .button,
.produtos-vue-page .button,
.orcamentos-vue-page .button,
.relatorios-vue-page .button {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 0.86rem;
}

.clientes-vue-page .field,
.estoque-vue-page .field,
.produtos-vue-page .field,
.orcamentos-vue-page .field,
.relatorios-vue-page .field {
    gap: 4px;
}

.clientes-vue-page .field span,
.estoque-vue-page .field span,
.produtos-vue-page .field span,
.orcamentos-vue-page .field span,
.relatorios-vue-page .field span {
    font-size: 0.78rem;
}

.clientes-vue-page .field input,
.clientes-vue-page .field select,
.estoque-vue-page .field input,
.estoque-vue-page .field select,
.produtos-vue-page .field input,
.produtos-vue-page .field select,
.orcamentos-vue-page .field input,
.orcamentos-vue-page .field select,
.relatorios-vue-page .field input,
.relatorios-vue-page .field select {
    min-height: 36px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.orcamentos-vue-page .button {
    border-radius: 999px;
}

.orcamentos-vue-page .field input,
.orcamentos-vue-page .field select {
    border-color: #dee2ec;
    border-radius: 10px;
}

.orcamentos-vue-page {
    font-family: var(--font-sans, "Inter", ui-sans-serif, system-ui, sans-serif);
}

.orcamentos-vue-page .button {
    letter-spacing: 0;
}

.orcamento-card {
    border-color: #e7ebf4;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(50, 50, 93, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.orcamento-card-expanded {
    border-color: rgba(94, 114, 228, 0.42);
    box-shadow: 0 20px 48px rgba(50, 50, 93, 0.14), 0 4px 10px rgba(94, 114, 228, 0.06);
}

.orcamento-card-toggle {
    grid-template-columns: minmax(150px, 0.72fr) minmax(280px, 1.55fr) minmax(220px, 0.98fr) minmax(160px, 0.72fr);
    gap: 16px;
    padding: 18px 20px;
    background:
        linear-gradient(180deg, #ffffff, #fbfcff);
}

.orcamento-card-toggle:hover,
.orcamento-card-toggle:focus {
    background:
        linear-gradient(180deg, #ffffff, #f6f8ff);
}

.orcamento-card-code-wrap {
    gap: 6px;
}

.orcamento-card-code-wrap em {
    color: var(--argon-muted);
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 800;
}

.orcamento-card-code {
    min-height: 34px;
    padding: 0 12px;
    color: #2f44c4;
    background: #f1f4ff;
    border-color: #dce3ff;
    font-size: 0.82rem;
    letter-spacing: 0;
}

.orcamento-card-label {
    color: var(--argon-muted);
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.orcamento-card-main {
    gap: 6px;
}

.orcamento-card-main strong {
    color: var(--argon-ink);
    font-size: 1rem;
    line-height: 1.25;
}

.orcamento-card-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.orcamento-card-meta span {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    color: #64748b;
    background: #f4f7fb;
    border: 1px solid #edf1f7;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
}

.orcamento-card-meta b {
    color: #3f4b67;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.orcamento-card-status {
    gap: 7px;
}

.orcamento-status-badge {
    display: inline-flex;
    min-width: 0;
    min-height: 30px;
    align-items: center;
    gap: 7px;
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.orcamento-status-badge small {
    display: inline-flex;
    min-width: 26px;
    min-height: 22px;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    background: rgba(255, 255, 255, 0.68);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 900;
}

.orcamento-status-badge strong {
    font-size: 0.76rem;
    font-weight: 900;
}

.orcamento-status-ab,
.orcamento-payment-unknown,
.orcamento-status-unknown {
    color: #4b5a74;
    background: #eef2f8;
    border-color: #dfe6f1;
}

.orcamento-status-ap,
.orcamento-payment-pg {
    color: #0b6b47;
    background: #ddf7eb;
    border-color: #bcebd5;
}

.orcamento-status-pd,
.orcamento-payment-pd {
    color: #895000;
    background: #fff1d6;
    border-color: #ffdca1;
}

.orcamento-status-ca {
    color: #9d1734;
    background: #ffe3ea;
    border-color: #ffc5d4;
}

.orcamento-status-fi {
    color: #0c6277;
    background: #ddf8ff;
    border-color: #b9edf8;
}

.orcamento-card-total {
    align-self: stretch;
    justify-content: center;
    padding: 9px 12px;
    background: #f8faff;
    border: 1px solid #edf1f8;
    border-radius: 14px;
}

.orcamento-card-total strong {
    color: #2d365f;
    font-size: 1.06rem;
}

.orcamento-card-details {
    gap: 16px;
    padding: 18px;
    background:
        linear-gradient(180deg, #f7f9fc, #f3f6fb);
}

.orcamento-info-section,
.orcamento-edit-section,
.orcamento-itens-section,
.orcamento-anexos-section {
    border-color: #e4e9f2;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(50, 50, 93, 0.06);
}

.orcamento-delete-section {
    background: #fff8fa;
    border-color: #ffd5df;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(245, 54, 92, 0.06);
}

.orcamento-info-head,
.orcamento-edit-head,
.orcamento-itens-head,
.orcamento-anexos-head,
.orcamento-delete-head {
    padding-bottom: 10px;
    border-bottom: 1px solid #eef2f7;
}

.orcamento-delete-head {
    border-bottom-color: #ffe0e7;
}

.orcamento-info-head h3,
.orcamento-edit-head h3,
.orcamento-itens-head h3,
.orcamento-anexos-head h3,
.orcamento-delete-head h3 {
    font-size: 1rem;
    letter-spacing: 0;
}

.orcamento-card-grid div {
    min-height: 72px;
    background: #fbfcff;
    border-color: #eef2f7;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.orcamento-card-grid dt {
    letter-spacing: 0;
}

.orcamento-card-grid dd .orcamento-status-badge {
    margin-top: 2px;
}

/* Orcamentos visual refresh */
.orcamentos-theme {
    --orc-dark: #07356f;
    --orc-darker: #041f45;
    --orc-green: #2563eb;
    --orc-accent: #60a5fa;
    --orc-line: #dbe3e8;
    --orc-muted: #647084;
    --orc-ink: #082f2b;
    --orc-card-shadow: 0 13px 30px rgba(15, 23, 42, 0.08);
    background: #f8fafb;
}

.orcamentos-theme .app-frame {
    grid-template-columns: 322px minmax(0, 1fr);
}

.orcamentos-theme .app-sidebar {
    padding: 24px 18px;
    background:
        radial-gradient(circle at 20% 0%, rgba(37, 99, 235, 0.28), transparent 30%),
        linear-gradient(180deg, var(--orc-dark), var(--orc-darker));
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.08);
}

.orcamentos-theme .brand {
    gap: 14px;
    margin-bottom: 38px;
}

.orcamentos-theme .brand-mark {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 10px;
    font-size: 1.05rem;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.orcamentos-theme .brand strong {
    color: #ffffff;
    font-size: 1.05rem;
}

.orcamentos-theme .brand span {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
}

.orcamentos-theme .side-nav {
    gap: 10px;
}

.orcamentos-theme .side-link {
    min-height: 56px;
    gap: 16px;
    padding: 0 18px;
    color: rgba(255, 255, 255, 0.88);
    border-radius: 10px;
    font-size: 1rem;
}

.orcamentos-theme .side-link::before {
    display: inline-flex;
    width: 22px;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    color: currentColor;
    font-size: 1.05rem;
    font-weight: 900;
}

.orcamentos-theme .side-link:nth-child(1)::before {
    content: "D";
}

.orcamentos-theme .side-link:nth-child(2)::before {
    content: "C";
}

.orcamentos-theme .side-link:nth-child(3)::before {
    content: "P";
}

.orcamentos-theme .side-link:nth-child(4)::before {
    content: "O";
}

.orcamentos-theme .side-link:nth-child(5)::before {
    content: "R";
}

.orcamentos-theme .side-link:hover,
.orcamentos-theme .side-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 4px 0 0 #3b82f6;
}

.orcamentos-theme .sidebar-footer {
    display: block;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.orcamentos-theme .sidebar-footer p {
    color: rgba(255, 255, 255, 0.72);
}

.orcamentos-theme .sidebar-footer .button {
    min-height: 38px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.orcamentos-theme .sidebar-footer .button:hover {
    background: rgba(255, 255, 255, 0.18);
}

.orcamentos-theme .app-main {
    background: #fbfcfd;
}

.orcamentos-theme .app-topbar {
    min-height: 86px;
    padding: 18px 38px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e3e9ee;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.035);
}

.orcamentos-theme .app-topbar .eyebrow {
    display: none;
}

.orcamentos-theme .app-topbar h1 {
    color: var(--orc-green);
    font-size: 1.25rem;
    font-weight: 900;
}

.orcamentos-theme .topbar-user {
    color: inherit;
    font-weight: inherit;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.orcamentos-theme .topbar-user::after {
    content: none;
    display: none;
}

.orcamentos-theme .topbar-user form {
    display: none;
}

.orcamentos-theme .topbar-user .button {
    display: none;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.orcamentos-theme .app-content-fluid {
    padding: 24px 42px 48px;
}

.orcamentos-theme .vue-panel.orcamentos-panel {
    gap: 24px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.orcamentos-theme .orcamentos-page-head {
    display: grid;
    grid-template-columns: minmax(360px, 1fr) auto;
    gap: 14px 20px;
    align-items: center;
    padding: 2px 0 4px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.orcamentos-theme .orcamentos-page-head::after {
    display: none;
}

.orcamentos-theme .orcamentos-title-block h2 {
    color: var(--orc-ink);
    font-size: 1.55rem;
    line-height: 1.15;
    letter-spacing: 0;
}

.orcamentos-theme .orcamentos-title-block p {
    max-width: 720px;
    color: #59657a;
    font-size: 0.86rem;
    font-weight: 600;
    margin-top: 4px;
}

.orcamentos-theme .orcamentos-head-actions {
    gap: 10px;
    align-items: center;
}

.orcamentos-theme .orcamentos-vue-page .button {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 9px;
    font-size: 0.84rem;
}

.orcamentos-theme .orcamentos-vue-page .button-primary,
.orcamentos-theme .orcamentos-new-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, #065f52, #014638);
    border-color: #064d43;
    box-shadow: 0 8px 18px rgba(6, 95, 82, 0.18);
}

.orcamentos-theme .orcamentos-vue-page .button-primary:hover,
.orcamentos-theme .orcamentos-new-button:hover {
    background: linear-gradient(135deg, #075f53, #033b32);
}

.orcamentos-theme .orcamentos-filter-toggle,
.orcamentos-theme .orcamentos-vue-page .button-ghost {
    color: var(--orc-green);
    background: #ffffff;
    border-color: #79a79f;
    box-shadow: none;
}

.orcamentos-theme .orcamentos-filter-toggle:hover,
.orcamentos-theme .orcamentos-filter-toggle-active {
    color: #ffffff;
    background: var(--orc-green);
    border-color: var(--orc-green);
}

.orcamentos-theme .orcamentos-filter-toggle {
    min-width: 92px;
    padding: 0 14px;
    gap: 7px;
}

.orcamentos-theme .orcamentos-action-symbol {
    display: inline-flex;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    transform: translateY(-1px);
}

.orcamentos-theme .orcamentos-filter-icon {
    position: relative;
    width: 16px;
    height: 16px;
}

.orcamentos-theme .orcamentos-filter-icon::before,
.orcamentos-theme .orcamentos-filter-icon::after {
    position: absolute;
    left: 1px;
    width: 14px;
    height: 2px;
    content: "";
    background: currentColor;
    border-radius: 999px;
}

.orcamentos-theme .orcamentos-filter-icon::before {
    top: 4px;
    box-shadow: 0 5px 0 currentColor;
}

.orcamentos-theme .orcamentos-filter-icon::after {
    top: 14px;
    width: 8px;
}

.orcamentos-theme .orcamentos-kpi-grid {
    grid-template-columns: repeat(4, minmax(170px, 1fr));
    gap: 24px;
}

.orcamentos-theme .orcamentos-kpi-card {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 134px;
    padding: 24px 26px;
    background: #ffffff;
    border: 1px solid #dfe6ec;
    border-radius: 10px;
    box-shadow: var(--orc-card-shadow);
}

.orcamentos-theme .orcamentos-kpi-icon {
    position: relative;
    display: inline-flex;
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    align-items: center;
    justify-content: center;
    color: var(--orc-green);
    background: radial-gradient(circle, #d7f1e9 0 62%, #e7f7f2 63% 100%);
    border-radius: 50%;
}

.orcamentos-theme .orcamentos-kpi-icon::before,
.orcamentos-theme .orcamentos-kpi-icon::after {
    position: absolute;
    content: "";
    border-color: currentColor;
}

.orcamentos-theme .orcamentos-kpi-icon-doc::before {
    width: 22px;
    height: 28px;
    border: 2px solid currentColor;
    border-radius: 3px;
}

.orcamentos-theme .orcamentos-kpi-icon-doc::after {
    width: 12px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
}

.orcamentos-theme .orcamentos-kpi-icon-users::before {
    width: 26px;
    height: 18px;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 0 0 18px 18px;
    bottom: 20px;
}

.orcamentos-theme .orcamentos-kpi-icon-users::after {
    top: 19px;
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 50%;
    box-shadow: -14px 10px 0 -3px #d7f1e9, -14px 10px 0 -1px currentColor;
}

.orcamentos-theme .orcamentos-kpi-icon-money::before {
    width: 30px;
    height: 30px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.orcamentos-theme .orcamentos-kpi-icon-money::after {
    color: currentColor;
    content: "$";
    font-size: 1.35rem;
    font-weight: 900;
}

.orcamentos-theme .orcamentos-kpi-icon-filter::before {
    width: 30px;
    height: 3px;
    background: currentColor;
    box-shadow: 0 9px 0 currentColor, 0 18px 0 currentColor;
    border-radius: 999px;
}

.orcamentos-theme .orcamentos-kpi-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.orcamentos-theme .orcamentos-kpi-copy > span,
.orcamentos-theme .orcamentos-kpi-copy small {
    color: var(--orc-muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.orcamentos-theme .orcamentos-kpi-copy strong {
    color: var(--orc-green);
    font-size: 1.45rem;
    line-height: 1.1;
}

.orcamentos-theme .orcamentos-kpi-copy small {
    color: #6f7b8e;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: none;
}

.orcamentos-theme .orcamentos-filter-card {
    padding: 20px 24px;
    background: #ffffff;
    border: 1px solid #dfe6ec;
    border-radius: 10px;
    box-shadow: var(--orc-card-shadow);
}

.orcamentos-theme .orcamentos-filter-grid {
    display: grid;
    grid-template-columns: minmax(340px, 1.6fr) minmax(150px, 0.55fr) minmax(150px, 0.55fr) minmax(150px, 0.55fr) minmax(150px, 0.55fr) auto;
    gap: 16px;
    align-items: end;
}

.orcamentos-theme .orcamentos-per-page-field {
    display: none;
}

.orcamentos-theme .orcamentos-vue-page .field span {
    color: #647084;
    font-size: 0.74rem;
    font-weight: 800;
}

.orcamentos-theme .orcamentos-vue-page .field input,
.orcamentos-theme .orcamentos-vue-page .field select {
    min-height: 54px;
    padding: 0 16px;
    color: #293244;
    background: #ffffff;
    border: 1px solid #d7e0e7;
    border-radius: 8px;
    font-weight: 700;
}

.orcamentos-theme .orcamentos-vue-page .field input:focus,
.orcamentos-theme .orcamentos-vue-page .field select:focus {
    border-color: #0b7a68;
    box-shadow: 0 0 0 3px rgba(11, 122, 104, 0.12);
}

.orcamentos-theme .orcamentos-filter-actions {
    display: flex;
    justify-content: flex-end;
}

.orcamentos-theme .orcamentos-filter-actions .button-primary {
    display: none;
}

.orcamentos-theme .orcamentos-filter-actions .button-ghost {
    min-width: 158px;
}

.orcamentos-theme .orcamento-card-list {
    gap: 0;
    background: #ffffff;
    border: 1px solid #dfe6ec;
    border-radius: 10px;
    box-shadow: var(--orc-card-shadow);
    overflow: hidden;
}

.orcamentos-theme .orcamento-list-table-head {
    display: grid;
    grid-template-columns: minmax(128px, 0.85fr) minmax(88px, 0.55fr) minmax(190px, 1.25fr) minmax(120px, 0.8fr) minmax(92px, 0.6fr) minmax(106px, 0.62fr) minmax(106px, 0.62fr) minmax(110px, 0.65fr) 30px;
    gap: 12px;
    align-items: center;
    min-height: 48px;
    padding: 0 24px;
    color: #2563eb;
    background: #edf8f4;
    border-bottom: 2px solid #4fae9c;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.orcamentos-theme .orcamento-list-table-head span:nth-child(6),
.orcamentos-theme .orcamento-list-table-head span:nth-child(7) {
    text-align: left;
}

.orcamentos-theme .orcamento-list-table-head span:nth-child(8) {
    text-align: right;
}

.orcamentos-theme .orcamento-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.orcamentos-theme .orcamento-card + .orcamento-card {
    border-top: 1px solid #dfe6ec;
}

.orcamentos-theme .orcamento-card:hover {
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.orcamentos-theme .orcamento-card-expanded {
    background: #fbfefd;
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.orcamentos-theme .orcamento-card-expanded .orcamento-card-toggle {
    background: #fbfefd;
}

.orcamentos-theme .orcamento-card-toggle {
    grid-template-columns: minmax(128px, 0.85fr) minmax(88px, 0.55fr) minmax(190px, 1.25fr) minmax(120px, 0.8fr) minmax(92px, 0.6fr) minmax(106px, 0.62fr) minmax(106px, 0.62fr) minmax(110px, 0.65fr) 30px;
    gap: 12px;
    min-height: 62px;
    padding: 10px 24px;
    background: #ffffff;
}

.orcamentos-theme .orcamento-card-toggle:hover,
.orcamentos-theme .orcamento-card-toggle:focus {
    background: #fbfdfc;
}

.orcamentos-theme .orcamento-card-code-wrap {
    position: relative;
    grid-template-columns: 10px minmax(0, 1fr);
    gap: 0 10px;
    align-items: center;
}

.orcamentos-theme .orcamento-active-dot {
    width: 7px;
    height: 7px;
    background: #16a34a;
    border-radius: 50%;
}

.orcamentos-theme .orcamento-card-code {
    min-height: auto;
    padding: 0;
    color: #0f172a;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 0.82rem;
    font-weight: 600;
}

.orcamentos-theme .orcamento-card-code-wrap em {
    grid-column: 2;
    color: #647084;
    font-size: 0.78rem;
}

.orcamentos-theme .orcamento-card-main strong {
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: normal;
}

.orcamentos-theme .orcamento-card-date,
.orcamentos-theme .orcamento-card-requester,
.orcamentos-theme .orcamento-card-plate {
    min-width: 0;
    color: #293244;
    font-size: 0.78rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.orcamentos-theme .orcamento-card-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.orcamentos-theme .orcamento-card-meta span {
    min-height: 32px;
    padding: 4px 10px;
    color: #293244;
    background: #f8fafc;
    border: 1px solid #dfe6ec;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 800;
}

.orcamentos-theme .orcamento-card-meta b {
    color: #293244;
    font-size: 0.74rem;
    text-transform: uppercase;
}

.orcamentos-theme .orcamento-card-status,
.orcamentos-theme .orcamento-card-payment {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.orcamentos-theme .orcamento-status-badge {
    min-height: 28px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 0.74rem;
}

.orcamentos-theme .orcamento-status-badge small {
    display: none;
}

.orcamentos-theme .orcamento-status-badge strong {
    font-size: 0.74rem;
}

.orcamentos-theme .orcamento-status-ab,
.orcamentos-theme .orcamento-status-ap,
.orcamentos-theme .orcamento-payment-pg {
    color: #04705f;
    background: #dff5ee;
    border-color: #bce8dd;
}

.orcamentos-theme .orcamento-status-pd,
.orcamentos-theme .orcamento-payment-pd {
    color: #c06a00;
    background: #fff4df;
    border-color: #ffdca1;
}

.orcamentos-theme .orcamento-card-total {
    align-self: center;
    justify-content: end;
    justify-items: end;
    padding: 0;
    background: transparent;
    border: 0;
}

.orcamentos-theme .orcamento-card-total strong {
    color: var(--orc-ink);
    font-size: 0.86rem;
    font-weight: 700;
}

.orcamentos-theme .orcamento-card-menu {
    position: relative;
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    justify-self: end;
    color: #2563eb;
    border: 1px solid #c6ddd7;
    border-radius: 8px;
}

.orcamentos-theme .orcamento-card-menu::before {
    width: 8px;
    height: 8px;
    content: "";
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 160ms ease;
}

.orcamentos-theme .orcamento-card-expanded .orcamento-card-menu::before {
    transform: translateY(2px) rotate(225deg);
}

.orcamentos-theme .orcamento-card-details {
    padding: 18px 24px 24px;
    background: #f7fafb;
}

.orcamentos-theme .orcamento-info-section {
    gap: 12px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.orcamentos-theme .orcamento-info-summary {
    display: grid;
    gap: 12px;
    padding: 14px;
    background: linear-gradient(180deg, #ffffff, #fbfefd);
    border: 1px solid #b8ded6;
    border-left: 4px solid #2f8f7f;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.1), 0 2px 8px rgba(15, 23, 42, 0.04);
}

.orcamentos-theme .orcamento-edit-form {
    background: linear-gradient(180deg, #fff8df, #fffdf4);
    border-color: #f1c65f;
    box-shadow: inset 4px 0 0 #d99a12;
}

.orcamentos-theme .orcamento-new-item-form {
    background: linear-gradient(180deg, #fff8df, #fffdf4);
    border-color: #f1c65f;
    box-shadow: inset 4px 0 0 #d99a12;
}

.orcamentos-theme .orcamento-form-context {
    display: grid;
    gap: 3px;
    padding: 2px 0 4px;
}

.orcamentos-theme .orcamento-form-context strong {
    color: #92400e;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.25;
}

.orcamentos-theme .orcamento-form-context span {
    color: #7c5b19;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.35;
}

.orcamentos-theme .orcamento-info-head {
    gap: 10px;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #d8eee8;
}

.orcamentos-theme .orcamento-info-head h3 {
    color: var(--orc-green);
    font-size: 0.95rem;
}

.orcamentos-theme .orcamento-info-head p {
    color: #5f6e79;
    font-size: 0.74rem;
}

.orcamentos-theme .orcamento-card-grid {
    display: grid;
    grid-template-columns:
        minmax(92px, 0.6fr)
        minmax(160px, 1.2fr)
        minmax(130px, 0.85fr)
        minmax(95px, 0.7fr)
        minmax(110px, 0.75fr)
        minmax(100px, 0.68fr)
        minmax(105px, 0.7fr)
        minmax(105px, 0.75fr);
    gap: 8px;
    align-items: stretch;
}

.orcamentos-theme .orcamento-card-grid div,
.orcamentos-theme .orcamento-card-wide,
.orcamentos-theme .orcamento-card-situation {
    grid-column: auto;
}

.orcamentos-theme .orcamento-card-grid div {
    display: grid;
    align-content: center;
    min-height: 54px;
    padding: 8px 10px;
    background: #ffffff;
    border-color: #e2ebe8;
    border-radius: 9px;
    box-shadow: none;
}

.orcamentos-theme .orcamento-card-grid dt {
    margin-bottom: 3px;
    color: #647084;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0;
}

.orcamentos-theme .orcamento-card-grid dd {
    display: flex;
    align-items: center;
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.25;
}

.orcamentos-theme .orcamento-status-stack {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    align-items: center;
}

.orcamentos-theme .orcamento-status-row {
    gap: 4px;
}

.orcamentos-theme .orcamento-status-label {
    color: #647084;
    font-size: 0.64rem;
    font-weight: 800;
}

.orcamentos-theme .orcamento-card-grid dd .orcamento-status-badge {
    min-height: 24px;
    padding: 3px 9px;
}

.orcamentos-theme .orcamento-card-grid dd .orcamento-status-badge strong {
    font-size: 0.72rem;
}

.orcamentos-theme .orcamento-itens-section {
    gap: 12px;
    padding: 14px;
    background: linear-gradient(180deg, #ffffff, #fbfefd);
    border: 1px solid #8fcfc1;
    border-left: 4px solid var(--orc-green);
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.1), 0 2px 8px rgba(15, 23, 42, 0.04);
}

.orcamentos-theme .orcamento-itens-head {
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #d8eee8;
}

.orcamentos-theme .orcamento-itens-head h3 {
    color: var(--orc-green);
    font-size: 0.95rem;
}

.orcamentos-theme .orcamento-itens-head p {
    color: #5f6e79;
    font-size: 0.74rem;
}

.orcamentos-theme .orcamento-itens-actions {
    gap: 7px;
}

.orcamentos-theme .orcamento-itens-action {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 800;
}

.orcamentos-theme .orcamento-itens-action-produto {
    color: #2563eb;
    background: #def7ee;
    border-color: #88d7c4;
}

.orcamentos-theme .orcamento-itens-action-servico {
    color: #155e75;
    background: #e0f2fe;
    border-color: #93d4f4;
}

.orcamentos-theme .orcamento-itens-action:hover:not(:disabled) {
    color: #064e43;
    background: #c7f0e4;
    border-color: #62c8b2;
}

.orcamentos-theme .orcamento-itens-action-icon {
    position: relative;
    display: inline-flex;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    align-items: center;
    justify-content: center;
    color: currentColor;
    background: rgba(255, 255, 255, 0.74);
    border-radius: 5px;
}

.orcamentos-theme .orcamento-itens-action-icon::before,
.orcamentos-theme .orcamento-itens-action-icon::after {
    position: absolute;
    content: "";
}

.orcamentos-theme .orcamento-itens-action-icon-produto::before {
    width: 11px;
    height: 11px;
    border: 2px solid currentColor;
    border-radius: 3px;
}

.orcamentos-theme .orcamento-itens-action-icon-produto::after {
    top: 4px;
    width: 7px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 4px 0 currentColor;
}

.orcamentos-theme .orcamento-itens-action-icon-servico::before {
    width: 12px;
    height: 3px;
    background: currentColor;
    border-radius: 999px;
    transform: rotate(-35deg);
}

.orcamentos-theme .orcamento-itens-action-icon-servico::after {
    right: 4px;
    bottom: 4px;
    width: 5px;
    height: 5px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.orcamentos-theme .orcamentos-vue-page .button.orcamento-itens-action {
    height: 30px;
    min-height: 30px;
    gap: 6px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    line-height: 1;
}

.orcamentos-theme .orcamento-itens-list {
    display: grid;
    gap: 0;
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid #d8eee8;
    border-radius: 10px;
}

.orcamentos-theme .orcamento-itens-table-head,
.orcamentos-theme .orcamento-item-row {
    display: grid;
    grid-template-columns: minmax(92px, 0.62fr) minmax(76px, 0.48fr) minmax(250px, 2fr) minmax(74px, 0.48fr) minmax(112px, 0.72fr) minmax(112px, 0.72fr) minmax(90px, 0.55fr);
    gap: 12px;
    align-items: center;
    min-width: 960px;
}

.orcamentos-theme .orcamento-itens-table-head {
    min-height: 38px;
    padding: 0 12px;
    color: #2563eb;
    background: #edf8f4;
    border-bottom: 1px solid #b8e2d7;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.orcamentos-theme .orcamento-itens-table-head span:nth-child(4),
.orcamentos-theme .orcamento-itens-table-head span:nth-child(5),
.orcamentos-theme .orcamento-itens-table-head span:nth-child(6) {
    text-align: right;
}

.orcamentos-theme .orcamento-itens-table-head span:nth-child(2) {
    text-align: left;
}

.orcamentos-theme .orcamento-itens-table-head span:nth-child(7) {
    text-align: center;
}

.orcamentos-theme .orcamento-item-row {
    padding: 10px 12px;
    background: #ffffff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.orcamentos-theme .orcamento-item-row + .orcamento-item-row {
    border-top: 1px solid #e2ebe8;
}

.orcamentos-theme .orcamento-item-row-editing {
    min-width: 960px;
    padding: 12px;
    background: linear-gradient(180deg, #fff8df, #fffdf4) !important;
    border-top: 1px solid #f1c65f;
    box-shadow: inset 4px 0 0 #d99a12;
}

.orcamentos-theme .orcamento-item-edit.orcamento-row-action:active,
.orcamentos-theme .orcamento-item-edit.orcamento-row-action:focus-visible {
    color: #92400e;
    background: #fff8df;
    border-color: #f1c65f;
}

.orcamentos-theme .orcamento-item-type,
.orcamentos-theme .orcamento-item-code,
.orcamentos-theme .orcamento-item-main {
    gap: 3px;
}

.orcamentos-theme .orcamento-item-type {
    justify-content: flex-start;
    justify-items: start;
    text-align: left;
}

.orcamentos-theme .orcamento-item-type .badge {
    display: inline-flex;
    min-width: 58px;
    min-height: 22px;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.orcamentos-theme .orcamento-item-code {
    color: #27364a;
    font-size: 0.78rem;
    font-weight: 500;
}

.orcamentos-theme .orcamento-item-type small,
.orcamentos-theme .orcamento-item-main small {
    color: #718096;
    font-size: 0.68rem;
    font-weight: 600;
}

.orcamentos-theme .orcamento-item-description {
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.25;
}

.orcamentos-theme .orcamento-item-meta {
    display: none;
}

.orcamentos-theme .orcamento-item-number,
.orcamentos-theme .orcamento-item-money {
    text-align: right;
}

.orcamentos-theme .orcamento-item-value {
    color: #27364a;
    font-size: 0.82rem;
    font-weight: 500;
}

.orcamentos-theme .orcamento-item-total-value {
    color: #234b43;
    font-weight: 550;
}

.orcamentos-theme .orcamento-item-action {
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
    min-width: 0;
}

.orcamentos-theme .orcamento-row-action {
    display: inline-flex;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 9px;
    box-shadow: none;
}

.orcamentos-theme .orcamento-item-edit.orcamento-row-action {
    color: #2563eb;
    background: #e7f7f2;
    border-color: #b8e2d7;
}

.orcamentos-theme .orcamento-item-delete.orcamento-row-action {
    color: #a62b2b;
    background: #fff0f0;
    border-color: #f5caca;
}

.orcamentos-theme .orcamento-item-edit.orcamento-row-action:hover:not(:disabled) {
    color: #064e43;
    background: #c7f0e4;
    border-color: #62c8b2;
}

.orcamentos-theme .orcamento-item-delete.orcamento-row-action:hover:not(:disabled) {
    color: #8f1d1d;
    background: #ffe4e4;
    border-color: #e79a9a;
}

.orcamentos-theme .orcamento-row-action-icon {
    position: relative;
    display: inline-flex;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.orcamentos-theme .orcamento-row-action-icon::before,
.orcamentos-theme .orcamento-row-action-icon::after {
    position: absolute;
    content: "";
}

.orcamentos-theme .orcamento-row-action-icon-edit::before {
    width: 13px;
    height: 3px;
    background: currentColor;
    border-radius: 999px;
    transform: rotate(-35deg);
}

.orcamentos-theme .orcamento-row-action-icon-edit::after {
    right: 1px;
    bottom: 2px;
    width: 5px;
    height: 5px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.orcamentos-theme .orcamento-row-action-icon-delete::before {
    top: 6px;
    width: 10px;
    height: 9px;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 0 0 2px 2px;
}

.orcamentos-theme .orcamento-row-action-icon-delete::after {
    top: 3px;
    width: 12px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.orcamentos-theme .orcamento-row-action-icon-loading {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(166, 43, 43, 0.24);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: orcamento-spinner-rotate 0.8s linear infinite;
}

.orcamentos-theme .orcamento-row-action-icon-loading::before,
.orcamentos-theme .orcamento-row-action-icon-loading::after {
    display: none;
}

.orcamentos-theme .orcamento-itens-total {
    margin-top: 0;
    padding: 10px 12px;
    background: #fbfefd;
    border-top: 1px solid #d8eee8;
}

.orcamentos-theme .orcamento-itens-total strong {
    color: #234b43;
    font-size: 0.9rem;
    font-weight: 650;
}

.orcamentos-theme .orcamento-quick-actions {
    gap: 7px;
}

.orcamentos-theme .orcamento-quick-action {
    min-height: 30px;
    gap: 6px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 800;
    box-shadow: none;
}

.orcamentos-theme .orcamento-quick-action-print {
    color: #2563eb;
    background: #def7ee;
    border-color: #88d7c4;
}

.orcamentos-theme .orcamento-quick-action-email {
    color: #155e75;
    background: #e0f2fe;
    border-color: #93d4f4;
}

.orcamentos-theme .orcamento-quick-action-status {
    color: #7a4e00;
    background: #fff0cf;
    border-color: #f2bf64;
}

.orcamentos-theme .orcamento-quick-action-anexo {
    color: #304b8f;
    background: #eef2ff;
    border-color: #b7c4ff;
}

.orcamentos-theme .orcamento-anexo-count {
    display: inline-flex;
    min-width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    color: #ffffff;
    background: var(--orc-green);
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 900;
    line-height: 1;
}

.orcamentos-theme .orcamento-quick-action-edit {
    color: #2563eb;
    background: #edf8f4;
    border-color: #a9dccc;
}

.orcamentos-theme .orcamento-quick-action-danger {
    color: #a62b2b;
    background: #fff1f1;
    border-color: #f3b9b9;
}

.orcamentos-theme .orcamento-quick-action:hover:not(:disabled) {
    color: #064e43;
    background: #c7f0e4;
    border-color: #62c8b2;
    transform: translateY(-1px);
}

.orcamentos-theme .orcamento-quick-action-danger:hover:not(:disabled) {
    color: #8f1d1d;
    background: #ffe4e4;
    border-color: #e79a9a;
}

.orcamentos-theme .quick-action-icon {
    position: relative;
    display: inline-flex;
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    align-items: center;
    justify-content: center;
    color: currentColor;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 5px;
}

.orcamentos-theme .quick-action-icon::before,
.orcamentos-theme .quick-action-icon::after {
    position: absolute;
    content: "";
    border-color: currentColor;
}

.orcamentos-theme .quick-action-icon-print::before {
    width: 10px;
    height: 6px;
    border: 2px solid currentColor;
    border-radius: 2px;
}

.orcamentos-theme .quick-action-icon-print::after {
    top: 3px;
    width: 8px;
    height: 5px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 2px 2px 0 0;
}

.orcamentos-theme .quick-action-icon-email::before {
    width: 12px;
    height: 9px;
    border: 2px solid currentColor;
    border-radius: 2px;
}

.orcamentos-theme .quick-action-icon-email::after {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.orcamentos-theme .quick-action-icon-status::before {
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.orcamentos-theme .quick-action-icon-status::after {
    width: 7px;
    height: 4px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-1px) rotate(-45deg);
}

.orcamentos-theme .quick-action-icon-anexo::before {
    width: 4px;
    height: 12px;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 0 0 6px 6px;
    transform: rotate(35deg);
}

.orcamentos-theme .quick-action-icon-anexo::after {
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translate(2px, -2px) rotate(35deg);
}

.orcamentos-theme .quick-action-icon-edit::before {
    width: 12px;
    height: 3px;
    background: currentColor;
    border-radius: 999px;
    transform: rotate(-35deg);
}

.orcamentos-theme .quick-action-icon-edit::after {
    right: 3px;
    bottom: 4px;
    width: 5px;
    height: 5px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.orcamentos-theme .quick-action-icon-delete::before {
    top: 6px;
    width: 10px;
    height: 9px;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 0 0 2px 2px;
}

.orcamentos-theme .quick-action-icon-delete::after {
    top: 3px;
    width: 12px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    box-shadow: 0 -2px 0 -1px currentColor;
}

.orcamentos-theme .orcamentos-vue-page .button.orcamento-quick-action {
    height: 30px;
    min-height: 30px;
    gap: 6px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    line-height: 1;
}

.orcamentos-theme .orcamentos-vue-page .button.orcamento-quick-action-edit,
.orcamentos-theme .orcamentos-vue-page .button.orcamento-quick-action-danger {
    height: 34px;
    min-height: 34px;
    gap: 6px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.78rem;
}

.orcamentos-theme .orcamentos-vue-page .button.orcamento-quick-action-edit {
    color: #2563eb;
    background: #eef9f5;
    border-color: #8dcbbd;
}

.orcamentos-theme .orcamentos-vue-page .button.orcamento-quick-action-edit:hover:not(:disabled) {
    color: #ffffff;
    background: #0b7a68;
    border-color: #0b7a68;
}

.orcamentos-theme .orcamentos-vue-page .button.orcamento-quick-action-danger {
    color: #9f1d1d;
    background: #fff1f1;
    border-color: #f2b5b5;
}

.orcamentos-theme .orcamentos-vue-page .button.orcamento-quick-action-danger:hover:not(:disabled) {
    color: #ffffff;
    background: #b42318;
    border-color: #b42318;
}

.orcamentos-theme .orcamentos-vue-page .button.orcamento-quick-action,
.orcamentos-theme .orcamentos-vue-page .button.orcamento-itens-action {
    height: 36px;
    min-height: 36px;
    gap: 8px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1;
    box-shadow: none;
}

.orcamentos-theme .orcamentos-vue-page .button.orcamento-quick-action-print,
.orcamentos-theme .orcamentos-vue-page .button.orcamento-itens-action-produto {
    color: #ffffff;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    border-color: #2563eb;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.18);
}

.orcamentos-theme .orcamentos-vue-page .button.orcamento-quick-action-email,
.orcamentos-theme .orcamentos-vue-page .button.orcamento-quick-action-status,
.orcamentos-theme .orcamentos-vue-page .button.orcamento-quick-action-anexo,
.orcamentos-theme .orcamentos-vue-page .button.orcamento-quick-action-edit,
.orcamentos-theme .orcamentos-vue-page .button.orcamento-itens-action-servico {
    color: #2563eb;
    background: #ffffff;
    border-color: #6bb2a5;
}

.orcamentos-theme .orcamentos-vue-page .button.orcamento-quick-action-danger {
    color: #b42318;
    background: #fffafa;
    border-color: #f0a7a7;
}

.orcamentos-theme .orcamentos-vue-page .button.orcamento-quick-action-print:hover:not(:disabled),
.orcamentos-theme .orcamentos-vue-page .button.orcamento-itens-action-produto:hover:not(:disabled) {
    color: #ffffff;
    background: linear-gradient(135deg, #0b806d, #06483f);
    border-color: #06483f;
    transform: translateY(-1px);
}

.orcamentos-theme .orcamentos-vue-page .button.orcamento-quick-action-email:hover:not(:disabled),
.orcamentos-theme .orcamentos-vue-page .button.orcamento-quick-action-status:hover:not(:disabled),
.orcamentos-theme .orcamentos-vue-page .button.orcamento-quick-action-anexo:hover:not(:disabled),
.orcamentos-theme .orcamentos-vue-page .button.orcamento-quick-action-edit:hover:not(:disabled),
.orcamentos-theme .orcamentos-vue-page .button.orcamento-itens-action-servico:hover:not(:disabled) {
    color: #064e43;
    background: #e6f7f2;
    border-color: #399b89;
    transform: translateY(-1px);
}

.orcamentos-theme .orcamentos-vue-page .button.orcamento-quick-action-danger:hover:not(:disabled) {
    color: #9f1d1d;
    background: #fff0f0;
    border-color: #e47777;
    transform: translateY(-1px);
}

.orcamentos-theme .quick-action-icon,
.orcamentos-theme .orcamento-itens-action-icon,
.orcamentos-theme .orcamento-row-action-icon {
    display: inline-flex;
    width: 15px;
    height: 15px;
    min-width: 15px;
    min-height: 15px;
    align-items: center;
    justify-content: center;
    color: currentColor;
    background: transparent;
    border-radius: 0;
}

.orcamentos-theme .quick-action-icon::before,
.orcamentos-theme .quick-action-icon::after,
.orcamentos-theme .orcamento-itens-action-icon::before,
.orcamentos-theme .orcamento-itens-action-icon::after,
.orcamentos-theme .orcamento-row-action-icon::before,
.orcamentos-theme .orcamento-row-action-icon::after {
    display: none;
    content: none;
}

.orcamentos-theme .quick-action-icon svg,
.orcamentos-theme .orcamento-itens-action-icon svg,
.orcamentos-theme .orcamento-row-action-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.orcamentos-theme .orcamento-row-action {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    border-radius: 8px;
}

.orcamentos-theme .orcamento-row-action .orcamento-row-action-icon {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
}

.orcamentos-theme .orcamento-item-edit.orcamento-row-action {
    color: #2563eb;
    background: #edf8f4;
    border-color: #a7d8cd;
}

.orcamentos-theme .orcamento-item-delete.orcamento-row-action {
    color: #b42318;
    background: #fff3f3;
    border-color: #f1b4b4;
}

.orcamentos-theme .orcamento-item-edit.orcamento-row-action:hover:not(:disabled) {
    color: #064e43;
    background: #d8f1ea;
    border-color: #72c5b5;
}

.orcamentos-theme .orcamento-item-delete.orcamento-row-action:hover:not(:disabled) {
    color: #9f1d1d;
    background: #ffe6e6;
    border-color: #e58a8a;
}

.orcamentos-theme .orcamento-alert-stack {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 1260;
    display: grid;
    width: min(390px, calc(100vw - 32px));
    gap: 10px;
}

.orcamentos-theme .orcamento-alert {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 24px;
    gap: 10px;
    align-items: start;
    padding: 12px 12px 12px 14px;
    background: #ffffff;
    border: 1px solid #dfe6ec;
    border-left: 4px solid #1d4ed8;
    border-radius: 10px;
    box-shadow: 0 18px 36px rgba(15, 48, 44, 0.16);
}

.orcamentos-theme .orcamento-alert-success {
    color: #064e43;
    background: #f0fdf8;
    border-color: #8ed9c6;
    border-left-color: #1d4ed8;
}

.orcamentos-theme .orcamento-alert-warning {
    color: #8a4b0b;
    background: #fffbeb;
    border-color: #f3cc75;
    border-left-color: #d97706;
}

.orcamentos-theme .orcamento-alert-error {
    color: #9f1d1d;
    background: #fff5f5;
    border-color: #efaaaa;
    border-left-color: #b42318;
}

.orcamentos-theme .orcamento-alert-icon,
.orcamentos-theme .orcamento-alert-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.orcamentos-theme .orcamento-alert-icon {
    width: 20px;
    height: 20px;
    margin-top: 1px;
}

.orcamentos-theme .orcamento-alert-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.orcamentos-theme .orcamento-alert strong,
.orcamentos-theme .orcamento-alert small {
    display: block;
}

.orcamentos-theme .orcamento-alert strong {
    font-size: 0.84rem;
    line-height: 1.2;
}

.orcamentos-theme .orcamento-alert small {
    margin-top: 2px;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.35;
}

.orcamentos-theme .orcamento-alert-close {
    width: 24px;
    height: 24px;
    color: currentColor;
    background: transparent;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
}

.orcamentos-theme .orcamento-alert-close:hover {
    background: rgba(15, 23, 42, 0.08);
}

.orcamentos-theme .orcamento-confirm-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1320;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(3px);
}

.orcamentos-theme .orcamento-confirm-modal {
    display: grid;
    width: min(460px, 100%);
    gap: 16px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #dfe6ec;
    border-radius: 14px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
}

.orcamentos-theme .orcamento-confirm-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    background: #e6f7f2;
    border: 1px solid #98d9c9;
    border-radius: 12px;
}

.orcamentos-theme .orcamento-confirm-icon-danger {
    color: #b42318;
    background: #fff1f1;
    border-color: #f1b4b4;
}

.orcamentos-theme .orcamento-confirm-icon-warning {
    color: #b45309;
    background: #fffbeb;
    border-color: #f3cc75;
}

.orcamentos-theme .orcamento-confirm-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.orcamentos-theme .orcamento-confirm-content {
    display: grid;
    gap: 9px;
}

.orcamentos-theme .orcamento-confirm-content h3,
.orcamentos-theme .orcamento-confirm-content p {
    margin: 0;
}

.orcamentos-theme .orcamento-confirm-content h3 {
    color: #0f302c;
    font-size: 1.12rem;
    line-height: 1.2;
}

.orcamentos-theme .orcamento-confirm-content p {
    color: #59657a;
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.45;
}

.orcamentos-theme .orcamento-confirm-target {
    display: grid;
    gap: 3px;
    padding: 11px 12px;
    background: #f8fcfa;
    border: 1px solid #d8eee9;
    border-radius: 10px;
}

.orcamentos-theme .orcamento-confirm-target span {
    color: #647084;
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.orcamentos-theme .orcamento-confirm-target strong {
    color: #142f2b;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.orcamentos-theme .orcamento-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    flex-wrap: wrap;
}

.orcamentos-theme .orcamento-confirm-cancel,
.orcamentos-theme .orcamento-confirm-accept {
    min-height: 36px;
    gap: 8px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 850;
}

.orcamentos-theme .orcamento-confirm-cancel {
    color: #2563eb;
    background: #ffffff;
    border-color: #6bb2a5;
}

.orcamentos-theme .orcamento-confirm-accept-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    border-color: #2563eb;
}

.orcamentos-theme .orcamento-confirm-accept-danger {
    color: #b42318;
    background: #fffafa;
    border-color: #f0a7a7;
}

.orcamentos-theme .orcamento-confirm-spinner {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(37, 99, 235, 0.24);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: orcamento-spinner-rotate 0.8s linear infinite;
}

.orcamentos-theme .orcamento-loading-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.orcamentos-theme .orcamento-loading-spinner {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid #bfdbfe;
    border-top-color: var(--orc-green);
    border-radius: 50%;
    animation: orcamento-spinner-rotate 0.8s linear infinite;
}

@keyframes orcamento-spinner-rotate {
    to {
        transform: rotate(360deg);
    }
}

.orcamentos-theme .orcamento-itens-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.orcamentos-theme .orcamento-itens-loading strong {
    color: var(--orc-green);
    font-size: 0.86rem;
    font-weight: 800;
}

.orcamentos-theme .pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 14px;
    color: #536175;
    font-size: 0.9rem;
    font-weight: 700;
}

.orcamentos-theme .pagination-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.orcamentos-theme .pagination-actions .button {
    min-width: 46px;
    min-height: 50px;
    padding: 0 15px;
    border-radius: 6px;
}

.orcamentos-theme .page-number-button-active {
    color: #ffffff;
    background: var(--orc-green);
    border-color: var(--orc-green);
}

@media (max-width: 1280px) {
    .orcamentos-theme .app-frame {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .orcamentos-theme .app-content-fluid {
        padding: 22px 24px 40px;
    }

    .orcamentos-theme .orcamentos-filter-grid {
        grid-template-columns: minmax(280px, 1fr) repeat(4, minmax(140px, 0.55fr)) auto;
    }

    .orcamentos-theme .orcamento-card-list {
        overflow-x: auto;
    }

    .orcamentos-theme .orcamento-list-table-head,
    .orcamentos-theme .orcamento-card-toggle {
        min-width: 1040px;
    }
}

@media (max-width: 1020px) {
    .orcamentos-theme .app-frame {
        grid-template-columns: 1fr;
    }

    .orcamentos-theme .app-sidebar {
        padding: 22px 18px;
    }

    .orcamentos-theme .app-content-fluid {
        padding: 22px 16px 34px;
    }

    .orcamentos-theme .app-topbar {
        min-height: 76px;
        padding: 16px 18px;
    }

    .orcamentos-theme .orcamentos-page-head {
        grid-template-columns: 1fr;
    }

    .orcamentos-theme .orcamentos-head-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .orcamentos-theme .orcamentos-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .orcamentos-theme .orcamentos-filter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .orcamentos-theme .orcamentos-filter-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .orcamentos-theme .orcamento-info-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .orcamentos-theme .orcamento-itens-head,
    .orcamentos-theme .orcamento-itens-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .orcamentos-theme .orcamento-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .orcamentos-theme .topbar-user-copy {
        display: none;
    }

    .orcamentos-theme .topbar-user::after {
        content: none;
        display: none;
    }

    .orcamentos-theme .orcamentos-title-block h2 {
        font-size: 1.35rem;
    }

    .orcamentos-theme .orcamentos-title-block p {
        font-size: 0.82rem;
    }

    .orcamentos-theme .orcamentos-head-actions {
        width: 100%;
    }

    .orcamentos-theme .orcamentos-head-actions .button {
        width: 100%;
    }

    .orcamentos-theme .orcamentos-kpi-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .orcamentos-theme .orcamentos-kpi-card {
        min-height: 102px;
        padding: 18px;
    }

    .orcamentos-theme .orcamentos-kpi-icon {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }

    .orcamentos-theme .orcamentos-filter-grid {
        grid-template-columns: 1fr;
    }

    .orcamentos-theme .orcamentos-filter-actions {
        justify-content: stretch;
    }

    .orcamentos-theme .orcamentos-filter-actions .button-ghost {
        width: 100%;
    }

    .orcamentos-theme .orcamento-card-grid {
        grid-template-columns: 1fr;
    }

    .orcamentos-theme .orcamento-itens-actions,
    .orcamentos-theme .orcamento-itens-action {
        width: 100%;
    }

    .orcamentos-theme .orcamento-list-table-head,
    .orcamentos-theme .orcamento-card-toggle {
        min-width: 1040px;
    }

    .orcamentos-theme .pagination-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .orcamentos-theme .pagination-actions {
        overflow-x: auto;
    }
}

.clientes-vue-table {
    min-width: 860px;
}

.clientes-vue-table th,
.clientes-vue-table td {
    padding: 9px 12px;
    vertical-align: middle;
}

.clientes-vue-table th {
    font-size: 0.72rem;
    letter-spacing: 0;
}

.clientes-vue-table td {
    font-size: 0.88rem;
}

.vue-notice {
    margin-bottom: 0;
    padding: 8px 10px;
    font-size: 0.84rem;
}

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

.form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.field-hint,
.field-error {
    font-size: 0.8rem;
    font-weight: 700;
}

.field-hint {
    color: var(--muted);
}

.field-error {
    color: var(--danger);
}

.hero-status {
    min-width: 190px;
    padding: 16px;
    background: var(--surface-muted);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.hero-status strong,
.hero-status span {
    display: block;
}

.hero-status span {
    color: var(--muted);
    font-size: 0.88rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 18px 0;
}

.summary-card {
    min-height: 154px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.summary-card strong {
    display: block;
    margin: 4px 0 8px;
    font-size: 1.12rem;
}

.summary-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.card-kicker {
    display: inline-flex;
    color: var(--brand);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.app-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding: 16px 28px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    font-size: 0.86rem;
}

@media (max-width: 1020px) {
    .app-frame {
        grid-template-columns: 1fr;
    }

    .app-mobile-menu-button {
        position: fixed;
        top: 14px;
        right: 14px;
        z-index: 35;
        background: var(--surface);
        box-shadow: 0 10px 24px rgba(21, 35, 33, 0.12);
    }

    .app-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: min(86vw, 300px);
        z-index: 20;
        transform: translateX(-100%);
        transition: transform 180ms ease;
        box-shadow: var(--shadow);
    }

    .app-nav-toggle:checked ~ .app-frame .app-sidebar {
        transform: translateX(0);
    }

    .menu-button {
        display: inline-flex;
    }

    .summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clientes-vue-shell,
    .estoque-vue-shell,
    .produtos-vue-shell,
    .orcamentos-vue-shell,
    .relatorios-vue-shell {
        grid-template-columns: 1fr;
    }

    .cliente-card-toggle,
    .estoque-card-toggle,
    .produto-card-toggle,
    .orcamento-card-toggle {
        grid-template-columns: minmax(100px, 0.55fr) minmax(180px, 1.25fr) minmax(180px, 1fr) auto;
    }

    .orcamento-card-toggle {
        grid-template-columns: minmax(110px, 0.55fr) minmax(200px, 1.3fr) minmax(180px, 0.95fr) minmax(120px, 0.65fr);
    }

    .orcamentos-page-head {
        grid-template-columns: 1fr;
    }

    .orcamentos-head-actions {
        justify-content: flex-start;
    }

    .orcamentos-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .orcamentos-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .orcamento-create-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .orcamentos-filter-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .cliente-card-grid,
    .estoque-card-grid,
    .produto-card-grid,
    .orcamento-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .orcamento-status-quick-panel {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .orcamento-status-quick-actions {
        justify-content: flex-start;
    }

    .orcamento-item-row {
        grid-template-columns: minmax(90px, 0.55fr) minmax(180px, 1.35fr) repeat(3, minmax(90px, 0.7fr));
    }

    .orcamento-anexo-row {
        grid-template-columns: minmax(90px, 0.45fr) minmax(180px, 1.4fr) minmax(120px, 0.7fr) auto;
    }

    .cliente-inline-grid,
    .estoque-inline-grid,
    .produto-inline-grid,
    .orcamento-edit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 720px) {
    .login-page {
        padding: 16px;
    }

    .login-panel {
        padding: 24px;
    }

    .app-topbar {
        align-items: flex-start;
        padding: 16px;
    }

    .topbar-user {
        align-items: center;
        flex-direction: row;
        gap: 0.75rem;
    }

    .topbar-user-copy {
        display: none;
    }

    .app-content {
        padding: 18px;
    }

    .app-content-fluid {
        padding: 14px;
    }

    .hero-panel,
    .content-panel {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .hero-status {
        width: 100%;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .list-toolbar,
    .search-form,
    .vue-search,
    .relatorios-summary,
    .pagination-bar,
    .pagination-actions,
    .detail-toolbar,
    .vue-panel-header,
    .vue-actions,
    .toolbar-actions,
    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .vue-search {
        grid-template-columns: 1fr;
    }

    .orcamentos-panel {
        padding: 12px;
    }

    .orcamentos-page-head,
    .orcamentos-filter-card {
        padding: 14px;
    }

    .orcamentos-head-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .orcamentos-new-button,
    .orcamentos-filter-toggle {
        flex: 1 1 160px;
    }

    .orcamento-create-head,
    .orcamento-create-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .orcamentos-kpi-grid {
        grid-template-columns: 1fr;
    }

    .orcamentos-filter-head,
    .orcamento-info-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .orcamento-quick-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .orcamento-quick-actions .badge {
        width: 100%;
        justify-content: center;
    }

    .orcamento-quick-action {
        flex: 1 1 120px;
    }

    .orcamento-modal-backdrop {
        align-items: stretch;
        padding: 10px;
    }

    .orcamento-anexos-modal {
        width: 100%;
        max-height: calc(100vh - 20px);
        border-radius: 14px;
    }

    .orcamento-anexos-modal-head {
        align-items: stretch;
        flex-direction: column;
        padding: 14px;
    }

    .orcamento-anexos-modal-body {
        padding: 12px;
    }

    .orcamento-print-modal {
        width: 100%;
        border-radius: 14px;
    }

    .orcamento-print-modal-body {
        padding: 12px;
    }

    .orcamento-print-modal-grid {
        grid-template-columns: 1fr;
    }

    .orcamento-email-modal {
        width: 100%;
        max-height: calc(100vh - 20px);
        border-radius: 14px;
    }

    .orcamento-email-modal-body {
        padding: 12px;
    }

    .orcamento-email-modal-grid {
        grid-template-columns: 1fr;
    }

    .orcamento-print-modal-head,
    .orcamento-print-modal-actions,
    .orcamento-email-modal-head,
    .orcamento-email-modal-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .orcamento-print-segmented {
        grid-template-columns: 1fr;
    }

    .orcamento-anexos-modal-toolbar {
        justify-content: stretch;
    }

    .orcamento-anexos-modal-toolbar .button {
        width: 100%;
    }

    .cliente-card-toggle,
    .estoque-card-toggle,
    .produto-card-toggle,
    .orcamento-card-toggle {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cliente-card-main strong,
    .cliente-card-contact span,
    .cliente-card-main small,
    .cliente-card-contact small,
    .estoque-card-main strong,
    .estoque-card-contact span,
    .estoque-card-main small,
    .estoque-card-contact small,
    .produto-card-main strong,
    .produto-card-contact span,
    .produto-card-main small,
    .produto-card-contact small,
    .orcamento-card-main strong,
    .orcamento-card-main small {
        white-space: normal;
    }

    .orcamento-card-total {
        width: 100%;
        justify-items: start;
        align-self: auto;
    }

    .orcamento-card-meta {
        gap: 6px;
    }

    .orcamento-card-meta span,
    .orcamento-status-badge {
        white-space: normal;
    }

    .orcamento-status-badge {
        justify-content: flex-start;
    }

    .cliente-card-grid,
    .estoque-card-grid,
    .produto-card-grid,
    .orcamento-card-grid {
        grid-template-columns: 1fr;
    }

    .cliente-card-wide,
    .estoque-card-wide,
    .produto-card-wide,
    .orcamento-card-wide {
        grid-column: auto;
    }

    .cliente-card-actions,
    .estoque-card-actions,
    .produto-card-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cliente-card-form-head,
    .cliente-inline-form,
    .estoque-card-form-head,
    .estoque-inline-form,
    .produto-card-form-head,
    .produto-inline-form {
        padding-right: 12px;
        padding-left: 12px;
    }

    .orcamento-card-details {
        padding-right: 12px;
        padding-left: 12px;
    }

    .orcamento-itens-head,
    .orcamento-itens-actions,
    .orcamento-edit-head,
    .orcamento-edit-actions,
    .orcamento-delete-head,
    .orcamento-delete-actions,
    .orcamento-status-quick-actions,
    .orcamento-servico-total,
    .orcamento-produto-summary,
    .orcamento-servico-actions,
    .orcamento-itens-total,
    .orcamento-anexos-head,
    .orcamento-anexos-actions,
    .orcamento-upload-actions,
    .orcamento-anexos-total {
        align-items: flex-start;
        flex-direction: column;
    }

    .orcamento-item-row,
    .orcamento-anexo-row {
        grid-template-columns: 1fr;
    }

    .orcamento-servico-grid,
    .orcamento-produto-grid,
    .orcamento-status-quick-grid,
    .orcamento-create-grid,
    .orcamento-edit-grid {
        grid-template-columns: 1fr;
    }

    .search-field,
    .compact-field,
    .report-client-field,
    .orcamentos-search-field,
    .relatorios-client-field {
        min-width: 100%;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .cliente-inline-grid,
    .estoque-inline-grid,
    .produto-inline-grid {
        grid-template-columns: 1fr;
    }

    .cliente-inline-grid .field-wide,
    .estoque-inline-grid .field-wide,
    .produto-inline-grid .field-wide,
    .orcamento-edit-grid .field-wide {
        grid-column: auto;
    }

    .app-footer {
        flex-direction: column;
        padding: 16px 18px;
    }
}

/* Shared visual pattern derived from the final Orcamentos screen. */
.standard-vue-theme .clientes-vue-page,
.standard-vue-theme .produtos-vue-page,
.standard-vue-theme .relatorios-vue-page {
    font-family: var(--font-sans, "Inter", ui-sans-serif, system-ui, sans-serif);
}

.standard-vue-theme .standard-module-panel {
    gap: 22px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.standard-vue-theme .standard-page-head {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) auto;
    gap: 14px 20px;
    align-items: center;
}

.standard-vue-theme .standard-title-block h2 {
    margin: 0;
    color: #0f302c;
    font-size: 1.55rem;
    line-height: 1.15;
    letter-spacing: 0;
}

.standard-vue-theme .standard-title-block p {
    max-width: 720px;
    margin: 4px 0 0;
    color: #59657a;
    font-size: 0.86rem;
    font-weight: 600;
}

.standard-vue-theme .standard-head-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.standard-vue-theme .button {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 9px;
    font-size: 0.84rem;
    letter-spacing: 0;
}

.standard-vue-theme .standard-new-button,
.standard-vue-theme .button-primary {
    gap: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, #065f52, #014638);
    border-color: #064d43;
    box-shadow: 0 8px 18px rgba(6, 95, 82, 0.18);
}

.standard-vue-theme .standard-new-button:hover,
.standard-vue-theme .button-primary:hover {
    background: linear-gradient(135deg, #075f53, #033b32);
}

.standard-vue-theme .button-ghost,
.standard-vue-theme .standard-filter-toggle {
    color: #2563eb;
    background: #ffffff;
    border-color: #79a79f;
    box-shadow: none;
}

.standard-vue-theme .button-ghost:hover,
.standard-vue-theme .standard-filter-toggle:hover,
.standard-vue-theme .standard-filter-toggle-active {
    color: #ffffff;
    background: #2563eb;
    border-color: #2563eb;
}

.standard-vue-theme .standard-filter-toggle {
    gap: 7px;
    min-width: 92px;
    padding: 0 14px;
}

.standard-vue-theme .standard-action-symbol {
    display: inline-flex;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    transform: translateY(-1px);
}

.standard-vue-theme .standard-filter-icon {
    position: relative;
    width: 16px;
    height: 16px;
}

.standard-vue-theme .standard-filter-icon::before,
.standard-vue-theme .standard-filter-icon::after {
    position: absolute;
    left: 1px;
    width: 14px;
    height: 2px;
    content: "";
    background: currentColor;
    border-radius: 999px;
}

.standard-vue-theme .standard-filter-icon::before {
    top: 4px;
    box-shadow: 0 5px 0 currentColor;
}

.standard-vue-theme .standard-filter-icon::after {
    top: 14px;
    width: 8px;
}

.standard-vue-theme .standard-filter-count {
    display: inline-flex;
    min-width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    color: #ffffff;
    background: #0ea571;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 900;
}

.standard-vue-theme .standard-filter-toggle-active .standard-filter-count {
    color: #2563eb;
    background: #ffffff;
}

.standard-vue-theme .standard-filter-card {
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid #dfe6ec;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(15, 48, 44, 0.08);
}

.standard-vue-theme .standard-filter-grid {
    display: grid;
    grid-template-columns: minmax(118px, 0.35fr) minmax(320px, 1.35fr) auto;
    gap: 14px;
    align-items: end;
}

.standard-vue-theme .relatorios-filter-grid {
    grid-template-columns: minmax(260px, 1.2fr) repeat(5, minmax(132px, 0.55fr)) auto;
}

.standard-vue-theme .standard-filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.standard-vue-theme .field span {
    color: #647084;
    font-size: 0.74rem;
    font-weight: 800;
}

.standard-vue-theme .field input,
.standard-vue-theme .field select {
    min-height: 48px;
    padding: 0 14px;
    color: #293244;
    background: #ffffff;
    border: 1px solid #d7e0e7;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
}

.standard-vue-theme .field input:focus,
.standard-vue-theme .field select:focus {
    border-color: #0b7a68;
    box-shadow: 0 0 0 3px rgba(11, 122, 104, 0.12);
    outline: none;
}

.standard-vue-theme .clientes-card-list,
.standard-vue-theme .produto-card-list {
    gap: 0;
    background: #ffffff;
    border: 1px solid #dfe6ec;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(15, 48, 44, 0.08);
    overflow: hidden;
}

.standard-vue-theme .standard-list-table-head {
    display: grid;
    gap: 12px;
    align-items: center;
    min-height: 48px;
    padding: 0 24px;
    color: #2563eb;
    background: #edf8f4;
    border-bottom: 2px solid #4fae9c;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.standard-vue-theme .clientes-list-table-head,
.standard-vue-theme .cliente-card-toggle {
    grid-template-columns: minmax(132px, 0.68fr) minmax(220px, 1.18fr) minmax(140px, 0.72fr) minmax(140px, 0.72fr) minmax(200px, 1fr) 28px;
}

.standard-vue-theme .produtos-list-table-head,
.standard-vue-theme .produto-card-toggle {
    grid-template-columns: minmax(128px, 0.65fr) minmax(280px, 1.45fr) minmax(118px, 0.58fr) minmax(104px, 0.5fr) minmax(124px, 0.58fr) minmax(124px, 0.58fr) 28px;
}

.standard-vue-theme .cliente-card,
.standard-vue-theme .produto-card {
    background: #ffffff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
}

.standard-vue-theme .cliente-card + .cliente-card,
.standard-vue-theme .produto-card + .produto-card {
    border-top: 1px solid #dfe6ec;
}

.standard-vue-theme .cliente-card:hover,
.standard-vue-theme .produto-card:hover,
.standard-vue-theme .cliente-card-expanded,
.standard-vue-theme .produto-card-expanded {
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.standard-vue-theme .cliente-card-toggle,
.standard-vue-theme .produto-card-toggle {
    gap: 12px;
    min-height: 64px;
    padding: 14px 24px;
    color: #142f2b;
    background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.standard-vue-theme .cliente-card-toggle:hover,
.standard-vue-theme .cliente-card-toggle:focus,
.standard-vue-theme .produto-card-toggle:hover,
.standard-vue-theme .produto-card-toggle:focus {
    background: linear-gradient(180deg, #ffffff, #f4fbf8);
}

.standard-vue-theme .cliente-card-code,
.standard-vue-theme .produto-card-code {
    min-height: auto;
    padding: 0;
    color: #0b3d37;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 0.78rem;
    font-weight: 700;
}

.standard-vue-theme .standard-code-cell {
    display: inline-grid;
    grid-template-columns: 7px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 0;
}

.standard-vue-theme .standard-active-dot {
    width: 7px;
    height: 7px;
    background: #16a34a;
    border-radius: 50%;
}

.standard-vue-theme .cliente-card-main strong,
.standard-vue-theme .produto-card-main strong {
    color: #152321;
    font-size: 0.84rem;
    font-weight: 650;
}

.standard-vue-theme .cliente-card-main small,
.standard-vue-theme .produto-card-main small,
.standard-vue-theme .cliente-card-contact,
.standard-vue-theme .cliente-card-document,
.standard-vue-theme .cliente-card-email,
.standard-vue-theme .produto-card-category,
.standard-vue-theme .produto-card-stock,
.standard-vue-theme .produto-card-unit,
.standard-vue-theme .produto-card-value,
.standard-vue-theme .produto-card-stock small,
.standard-vue-theme .produto-card-value small {
    color: #3c4658;
    font-size: 0.78rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.standard-vue-theme .produto-card-stock,
.standard-vue-theme .produto-card-unit,
.standard-vue-theme .produto-card-value {
    display: grid;
    gap: 2px;
}

.standard-vue-theme .produto-card-stock,
.standard-vue-theme .produto-card-unit,
.standard-vue-theme .produto-card-value {
    color: #2563eb;
    font-weight: 750;
}

.standard-vue-theme .produto-card-value small {
    color: #667085;
}

.standard-vue-theme .standard-row-chevron {
    position: relative;
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    border: 1px solid #c6ddd7;
    border-radius: 8px;
}

.standard-vue-theme .standard-row-chevron::before {
    width: 8px;
    height: 8px;
    content: "";
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 160ms ease;
}

.standard-vue-theme .standard-row-chevron-open::before {
    transform: translateY(2px) rotate(225deg);
}

.standard-vue-theme .cliente-card-details,
.standard-vue-theme .produto-card-details {
    gap: 0;
    padding: 16px 24px 18px;
    background: #fbfefd;
    border-top: 1px solid #dfe6ec;
}

.standard-vue-theme .standard-info-section {
    display: grid;
    gap: 14px;
    padding: 14px 16px 16px;
    background: #ffffff;
    border: 1px solid #64c2b0;
    border-radius: 10px;
    box-shadow: 0 12px 26px rgba(15, 48, 44, 0.08);
}

.standard-vue-theme .cliente-form-section {
    background: linear-gradient(180deg, #fff8df, #fffdf4);
    border-color: #f1c65f;
    box-shadow: inset 4px 0 0 #d99a12, 0 12px 26px rgba(15, 48, 44, 0.08);
}

.standard-vue-theme .standard-info-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d8eee9;
}

.standard-vue-theme .standard-info-head h3,
.standard-vue-theme .standard-info-head p {
    margin: 0;
}

.standard-vue-theme .standard-info-head h3 {
    color: #2563eb;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1.2;
}

.standard-vue-theme .standard-info-head p {
    margin-top: 3px;
    color: #59657a;
    font-size: 0.72rem;
    font-weight: 600;
}

.standard-vue-theme .standard-info-actions {
    flex: 0 0 auto;
    justify-content: flex-end;
}

.standard-vue-theme .cliente-card-grid,
.standard-vue-theme .produto-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.standard-vue-theme .cliente-card-grid div,
.standard-vue-theme .produto-card-grid div {
    min-height: 52px;
    padding: 9px 11px;
    background: #ffffff;
    border: 1px solid #dfe6ec;
    border-radius: 8px;
}

.standard-vue-theme .cliente-card-grid dt,
.standard-vue-theme .produto-card-grid dt {
    color: #647084;
    font-size: 0.68rem;
    font-weight: 900;
}

.standard-vue-theme .cliente-card-grid dd,
.standard-vue-theme .produto-card-grid dd {
    color: #152321;
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.standard-vue-theme .cliente-card-actions,
.standard-vue-theme .produto-card-actions {
    gap: 7px;
}

.standard-vue-theme .standard-inline-action {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.78rem;
}

.standard-vue-theme .standard-inline-action-edit {
    color: #2563eb;
    background: #eef9f5;
    border-color: #8dcbbd;
}

.standard-vue-theme .standard-inline-action-edit:hover {
    color: #ffffff;
    background: #0b7a68;
    border-color: #0b7a68;
}

.standard-vue-theme .standard-inline-action-danger {
    color: #9f1d1d;
    background: #fff1f1;
    border-color: #f2b5b5;
}

.standard-vue-theme .standard-inline-action-danger:hover {
    color: #ffffff;
    background: #b42318;
    border-color: #b42318;
}

.standard-vue-theme .clientes-vue-page .button.cliente-action-button {
    height: 36px;
    min-height: 36px;
    gap: 8px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1;
    box-shadow: none;
}

.standard-vue-theme .clientes-vue-page .button.cliente-action-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    border-color: #2563eb;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.18);
}

.standard-vue-theme .clientes-vue-page .button.cliente-action-secondary {
    color: #2563eb;
    background: #ffffff;
    border-color: #6bb2a5;
}

.standard-vue-theme .clientes-vue-page .button.cliente-action-danger {
    color: #b42318;
    background: #fffafa;
    border-color: #f0a7a7;
}

.standard-vue-theme .clientes-vue-page .button.cliente-action-primary:hover:not(:disabled) {
    color: #ffffff;
    background: linear-gradient(135deg, #0b806d, #06483f);
    border-color: #06483f;
    transform: translateY(-1px);
}

.standard-vue-theme .clientes-vue-page .button.cliente-action-secondary:hover:not(:disabled) {
    color: #064e43;
    background: #e6f7f2;
    border-color: #399b89;
    transform: translateY(-1px);
}

.standard-vue-theme .clientes-vue-page .button.cliente-action-danger:hover:not(:disabled) {
    color: #9f1d1d;
    background: #fff0f0;
    border-color: #e47777;
    transform: translateY(-1px);
}

.standard-vue-theme .clientes-vue-page .cliente-action-icon {
    display: inline-flex;
    width: 15px;
    height: 15px;
    min-width: 15px;
    min-height: 15px;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.standard-vue-theme .clientes-vue-page .cliente-action-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.standard-vue-theme .clientes-vue-page .cliente-button-spinner {
    width: 15px;
    height: 15px;
    min-width: 15px;
    min-height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: orcamento-spinner-rotate 0.8s linear infinite;
}

.standard-vue-theme .clientes-vue-page .cliente-toast {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 1200;
    display: inline-flex;
    max-width: min(360px, calc(100vw - 32px));
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    color: #064e43;
    background: #f0fdf8;
    border: 1px solid #8ed9c6;
    border-left: 4px solid #1d4ed8;
    border-radius: 10px;
    box-shadow: 0 18px 36px rgba(15, 48, 44, 0.16);
    font-size: 0.84rem;
    font-weight: 800;
}

.standard-vue-theme .clientes-vue-page .cliente-toast-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    align-items: center;
    justify-content: center;
    color: #1d4ed8;
}

.standard-vue-theme .clientes-vue-page .cliente-toast-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.standard-vue-theme .clientes-vue-page .cliente-confirm-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(3px);
}

.standard-vue-theme .clientes-vue-page .cliente-confirm-modal {
    display: grid;
    width: min(440px, 100%);
    gap: 16px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #dfe6ec;
    border-radius: 14px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
}

.standard-vue-theme .clientes-vue-page .cliente-confirm-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    background: #e6f7f2;
    border: 1px solid #98d9c9;
    border-radius: 12px;
}

.standard-vue-theme .clientes-vue-page .cliente-confirm-icon-danger {
    color: #b42318;
    background: #fff1f1;
    border-color: #f1b4b4;
}

.standard-vue-theme .clientes-vue-page .cliente-confirm-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.standard-vue-theme .clientes-vue-page .cliente-confirm-content {
    display: grid;
    gap: 9px;
}

.standard-vue-theme .clientes-vue-page .cliente-confirm-content h3,
.standard-vue-theme .clientes-vue-page .cliente-confirm-content p {
    margin: 0;
}

.standard-vue-theme .clientes-vue-page .cliente-confirm-content h3 {
    color: #0f302c;
    font-size: 1.1rem;
    line-height: 1.2;
}

.standard-vue-theme .clientes-vue-page .cliente-confirm-content p {
    color: #59657a;
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.45;
}

.standard-vue-theme .clientes-vue-page .cliente-confirm-target {
    display: grid;
    gap: 3px;
    padding: 11px 12px;
    background: #f8fcfa;
    border: 1px solid #d8eee9;
    border-radius: 10px;
}

.standard-vue-theme .clientes-vue-page .cliente-confirm-target span {
    color: #647084;
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.standard-vue-theme .clientes-vue-page .cliente-confirm-target strong {
    color: #142f2b;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.standard-vue-theme .clientes-vue-page .cliente-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    flex-wrap: wrap;
}

.standard-vue-theme .cliente-card-form-head,
.standard-vue-theme .produto-card-form-head {
    background: #ffffff;
}

.standard-vue-theme .cliente-form-section .cliente-card-form-head {
    padding: 0 0 10px;
    background: transparent;
    border-bottom: 1px solid #efd99c;
}

.standard-vue-theme .cliente-card-form-head h4,
.standard-vue-theme .produto-card-form-head h4 {
    color: #0f302c;
    font-size: 1rem;
}

.standard-vue-theme .cliente-inline-form,
.standard-vue-theme .produto-inline-form {
    background: #fbfefd;
}

.standard-vue-theme .cliente-form-section .cliente-inline-form {
    padding: 0;
    background: transparent;
}

.standard-vue-theme .cliente-card-editing .cliente-inline-form {
    background: transparent;
    border-top: 0;
    box-shadow: none;
}

.standard-vue-theme .standard-empty-state {
    display: grid;
    gap: 5px;
    min-height: 100px;
    place-items: center;
    padding: 24px 18px;
    color: #536175;
    background: #ffffff;
}

.standard-vue-theme .standard-loading-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #2563eb;
    font-size: 0.88rem;
    font-weight: 800;
}

.standard-vue-theme .standard-loading-spinner {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid #bfdbfe;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: orcamento-spinner-rotate 0.8s linear infinite;
}

.standard-vue-theme .relatorios-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid #dfe6ec;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(15, 48, 44, 0.06);
}

.standard-vue-theme .relatorios-summary p {
    margin: 0;
    color: #59657a;
    font-size: 0.82rem;
    font-weight: 600;
}

.standard-vue-theme .relatorios-table-wrap {
    border-color: #dfe6ec;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(15, 48, 44, 0.08);
}

.standard-vue-theme .relatorios-vue-table {
    min-width: 920px;
    border-collapse: separate;
    border-spacing: 0;
}

.standard-vue-theme .relatorios-vue-table th {
    padding: 14px 16px;
    color: #2563eb;
    background: #edf8f4;
    border-bottom: 2px solid #4fae9c;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.standard-vue-theme .relatorios-vue-table td {
    padding: 14px 16px;
    color: #243044;
    background: #ffffff;
    border-bottom: 1px solid #dfe6ec;
    font-size: 0.82rem;
    font-weight: 600;
}

.standard-vue-theme .relatorios-vue-table tbody tr:hover td {
    background: #f8fcfa;
}

.standard-vue-theme .pagination-bar {
    padding-top: 8px;
    color: #536175;
    font-size: 0.86rem;
    font-weight: 700;
}

.standard-vue-theme .pagination-actions .button {
    min-width: 42px;
    min-height: 42px;
    padding: 0 13px;
    border-radius: 7px;
}

@media (max-width: 1280px) {
    .standard-vue-theme .standard-filter-grid,
    .standard-vue-theme .relatorios-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .standard-vue-theme .standard-filter-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .standard-vue-theme .clientes-card-list,
    .standard-vue-theme .produto-card-list {
        overflow-x: auto;
    }

    .standard-vue-theme .standard-list-table-head,
    .standard-vue-theme .cliente-card-toggle,
    .standard-vue-theme .produto-card-toggle {
        min-width: 1040px;
    }
}

@media (max-width: 720px) {
    .standard-vue-theme .standard-page-head {
        grid-template-columns: 1fr;
    }

    .standard-vue-theme .standard-title-block h2 {
        font-size: 1.35rem;
    }

    .standard-vue-theme .standard-title-block p {
        font-size: 0.82rem;
    }

    .standard-vue-theme .standard-head-actions,
    .standard-vue-theme .standard-head-actions .button,
    .standard-vue-theme .standard-filter-actions,
    .standard-vue-theme .standard-filter-actions .button {
        width: 100%;
    }

    .standard-vue-theme .standard-head-actions,
    .standard-vue-theme .standard-filter-actions,
    .standard-vue-theme .standard-info-head,
    .standard-vue-theme .relatorios-summary,
    .standard-vue-theme .pagination-bar,
    .standard-vue-theme .pagination-actions,
    .standard-vue-theme .cliente-card-actions,
    .standard-vue-theme .produto-card-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .standard-vue-theme .standard-filter-grid,
    .standard-vue-theme .relatorios-filter-grid,
    .standard-vue-theme .cliente-card-grid,
    .standard-vue-theme .produto-card-grid,
    .standard-vue-theme .cliente-inline-grid,
    .standard-vue-theme .produto-inline-grid {
        grid-template-columns: 1fr;
    }

    .standard-vue-theme .cliente-card-wide,
    .standard-vue-theme .produto-card-wide,
    .standard-vue-theme .cliente-inline-grid .field-wide,
    .standard-vue-theme .produto-inline-grid .field-wide {
        grid-column: auto;
    }

    .standard-vue-theme .standard-list-table-head,
    .standard-vue-theme .cliente-card-toggle,
    .standard-vue-theme .produto-card-toggle {
        min-width: 980px;
    }
}

/* Orcamentos final reference layout overrides. Keep this block after legacy rules. */
.orcamentos-theme {
    --budget-blue: #2563eb;
    --budget-blue-dark: #1d4ed8;
    --budget-ink: #0f172a;
    --budget-muted: #667085;
    --budget-line: #e4e9f2;
    --budget-soft: #f8fafc;
}

.orcamentos-theme .app-content-fluid {
    padding: 32px 36px;
}

.orcamentos-theme .vue-panel.orcamentos-panel {
    gap: 24px;
    max-width: 100%;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.orcamentos-theme .orcamentos-page-head {
    grid-template-columns: minmax(280px, 1fr) auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.orcamentos-theme .orcamentos-page-head::after {
    display: none;
}

.orcamentos-theme .orcamentos-title-block h2 {
    color: var(--budget-ink);
    font-size: 1.62rem;
    font-weight: 800;
}

.orcamentos-theme .orcamentos-title-block p {
    margin-top: 8px;
    color: #58657a;
    font-size: 0.92rem;
    font-weight: 600;
}

.orcamentos-theme .orcamentos-new-button,
.orcamentos-theme .orcamentos-vue-page .button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #2f6df6, var(--budget-blue));
    border-color: var(--budget-blue);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

.orcamentos-theme .orcamentos-new-button:hover,
.orcamentos-theme .orcamentos-vue-page .button-primary:hover {
    background: linear-gradient(135deg, #275ed8, var(--budget-blue-dark));
    border-color: var(--budget-blue-dark);
}

.orcamentos-theme .orcamentos-filter-toggle,
.orcamentos-theme .orcamentos-vue-page .button-ghost {
    color: #172033;
    background: #ffffff;
    border-color: #d5dce8;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
}

.orcamentos-theme .orcamentos-filter-toggle:hover,
.orcamentos-theme .orcamentos-filter-toggle-active,
.orcamentos-theme .orcamentos-vue-page .button-ghost:hover:not(:disabled) {
    color: var(--budget-blue);
    background: #f8fbff;
    border-color: #aebff8;
}

.orcamentos-theme .orcamentos-filter-card,
.orcamentos-theme .orcamento-card-list {
    background: #ffffff;
    border: 1px solid var(--budget-line);
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.orcamentos-theme .orcamentos-filter-card {
    display: grid;
    gap: 16px;
    font-family: var(--font-sans, "Inter", ui-sans-serif, system-ui, sans-serif);
    letter-spacing: 0;
    background: linear-gradient(180deg, #fff8df, #fffdf4);
    border-color: #f1c65f;
    box-shadow: inset 4px 0 0 #d99a12, 0 12px 30px rgba(50, 50, 93, 0.07);
}

.orcamentos-theme .orcamentos-filter-head h3,
.orcamentos-theme .orcamentos-filter-head p {
    margin: 0;
    letter-spacing: 0;
}

.orcamentos-theme .orcamentos-filter-head h3 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 500;
}

.orcamentos-theme .orcamentos-filter-head p {
    margin-top: 4px;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.25rem;
}

.orcamentos-theme .orcamentos-filter-card .field span {
    color: #475569;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0;
}

.orcamentos-theme .orcamentos-filter-card .field input,
.orcamentos-theme .orcamentos-filter-card .field select {
    height: 40px;
    min-height: 40px;
    padding: 0 12px;
    color: #1e293b;
    background: #ffffff;
    border-color: #cbd5e1;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0;
}

.orcamentos-theme .orcamento-card-list {
    gap: 0;
    overflow: visible;
}

.orcamentos-theme .orcamento-list-table-head,
.orcamentos-theme .orcamento-card-toggle {
    display: grid;
    grid-template-columns:
        42px
        minmax(146px, 0.88fr)
        minmax(94px, 0.58fr)
        minmax(210px, 1.25fr)
        minmax(130px, 0.76fr)
        minmax(92px, 0.58fr)
        minmax(116px, 0.66fr)
        minmax(116px, 0.66fr)
        minmax(118px, 0.66fr)
        34px;
    min-width: 1180px;
}

.orcamentos-theme .orcamento-list-table-head {
    min-height: 50px;
    padding: 0 22px;
    color: #344054;
    background: linear-gradient(180deg, #ffffff, #fbfcff);
    border-bottom: 1px solid var(--budget-line);
    font-size: 0.68rem;
    font-weight: 850;
    text-transform: uppercase;
}

.orcamentos-theme .orcamento-card {
    position: relative;
    z-index: 1;
    overflow: visible;
    background: #ffffff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
}

.orcamentos-theme .orcamento-card-menu-open {
    z-index: 80;
}

.orcamentos-theme .orcamento-card + .orcamento-card {
    border-top: 1px solid var(--budget-line);
}

.orcamentos-theme .orcamento-card:hover,
.orcamentos-theme .orcamento-card-expanded {
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.orcamentos-theme .orcamento-card-toggle {
    min-height: 66px;
    padding: 0 22px;
    gap: 12px;
    overflow: visible;
    background: #ffffff;
    border: 0;
    border-radius: 0;
    cursor: default;
}

.orcamentos-theme .orcamento-card-expanded .orcamento-card-toggle,
.orcamentos-theme .orcamento-card-toggle:hover {
    background: #fbfdff;
}

.orcamentos-theme .orcamento-card-code-wrap {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.orcamentos-theme .orcamento-card-expand-cell {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.orcamentos-theme .orcamento-row-chevron {
    display: inline-flex;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #dbe3ef;
    border-radius: 7px;
}

.orcamentos-theme .orcamento-row-expand-button {
    display: inline-flex;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #26344d;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.orcamentos-theme .orcamento-row-expand-button:hover .orcamento-row-chevron,
.orcamentos-theme .orcamento-row-expand-button:focus-visible .orcamento-row-chevron {
    background: #eef4ff;
    border-color: #cfe0ff;
}

.orcamentos-theme .orcamento-row-expand-button:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.34);
    outline-offset: 2px;
}

.orcamentos-theme .orcamento-row-chevron::before {
    width: 7px;
    height: 7px;
    content: "";
    border-right: 1.8px solid #26344d;
    border-bottom: 1.8px solid #26344d;
    transform: translateY(-1px) rotate(45deg);
    transition: transform 160ms ease, border-color 160ms ease;
}

.orcamentos-theme .orcamento-row-chevron-open {
    background: #eef4ff;
    border-color: #d8e5ff;
}

.orcamentos-theme .orcamento-row-chevron-open::before {
    border-color: var(--budget-blue);
    transform: translateY(2px) rotate(225deg);
}

.orcamentos-theme .orcamento-active-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
}

.orcamentos-theme .orcamento-card-code,
.orcamentos-theme .orcamento-card-main strong,
.orcamentos-theme .orcamento-card-date,
.orcamentos-theme .orcamento-card-requester,
.orcamentos-theme .orcamento-card-plate {
    color: #162033;
    font-size: 0.82rem;
    font-weight: 650;
}

.orcamentos-theme .orcamento-card-code,
.orcamentos-theme .orcamento-card-main,
.orcamentos-theme .orcamento-card-total {
    font-weight: 400;
}

.orcamentos-theme .orcamento-card-total {
    justify-content: flex-start;
    text-align: left;
    font-weight: 400;
}

.orcamentos-theme .orcamento-card-total strong {
    color: #111827;
    font-size: 0.88rem;
    font-weight: 400;
}

.orcamentos-theme .orcamento-card-status,
.orcamentos-theme .orcamento-card-payment {
    justify-content: flex-start;
}

.orcamentos-theme .orcamento-status-badge {
    min-height: 24px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.72rem;
}

.orcamentos-theme .orcamento-card-menu {
    display: inline-flex;
    width: 28px;
    height: 32px;
    align-items: center;
    justify-content: center;
    color: #1f2937;
    background:
        radial-gradient(circle at 50% 29%, currentColor 1.6px, transparent 1.8px),
        radial-gradient(circle at 50% 50%, currentColor 1.6px, transparent 1.8px),
        radial-gradient(circle at 50% 71%, currentColor 1.6px, transparent 1.8px);
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.orcamentos-theme .orcamento-card-menu:hover,
.orcamentos-theme .orcamento-card-menu:focus-visible {
    color: var(--budget-blue);
    background:
        radial-gradient(circle at 50% 29%, currentColor 1.6px, transparent 1.8px),
        radial-gradient(circle at 50% 50%, currentColor 1.6px, transparent 1.8px),
        radial-gradient(circle at 50% 71%, currentColor 1.6px, transparent 1.8px),
        #eef4ff;
}

.orcamentos-theme .orcamento-card-menu:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.34);
    outline-offset: 2px;
}

.orcamentos-theme .orcamento-card-menu-wrap {
    position: relative;
    z-index: 90;
    display: flex;
    justify-self: center;
    align-items: center;
    justify-content: center;
}

.orcamentos-theme .orcamento-list-table-head span {
    justify-self: start;
    text-align: left;
}

.orcamentos-theme .orcamento-list-table-head span:nth-child(9) {
    justify-self: start;
    text-align: left;
}

.orcamentos-theme .orcamento-list-table-head span:nth-child(10) {
    justify-self: center;
}

.orcamentos-theme .orcamento-card-menu::before {
    display: none;
}

.orcamentos-theme .orcamento-list-settings {
    display: inline-flex;
    justify-self: center;
    width: 18px;
    height: 18px;
    color: #667085;
}

.orcamentos-theme .orcamento-list-settings svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.orcamentos-theme .orcamento-card-details {
    padding: 0 18px 18px;
    background: #ffffff;
}

.orcamentos-theme .orcamento-info-section {
    gap: 18px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--budget-line);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.orcamentos-theme .orcamento-expanded-toolbar {
    display: flex;
    justify-content: flex-start;
}

.orcamentos-theme .orcamento-expanded-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.orcamentos-theme .orcamento-toolbar-action {
    min-height: 40px;
    gap: 8px;
    padding: 0 15px;
}

.orcamentos-theme .orcamento-action-dropdown {
    position: relative;
}

.orcamentos-theme .orcamento-action-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 120;
    display: grid;
    width: 240px;
    padding: 8px;
    font-family: var(--font-sans, "Inter", ui-sans-serif, system-ui, sans-serif);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0;
    background: #ffffff;
    border: 1px solid var(--budget-line);
    border-radius: 10px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
}

.orcamentos-theme .orcamento-row-action-menu {
    width: 252px;
}

.orcamentos-theme .orcamento-action-menu-right {
    right: 0;
    left: auto;
}

.orcamentos-theme .orcamento-action-menu button {
    display: flex;
    min-height: 36px;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    padding: 0 10px;
    color: #253047;
    background: transparent;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    font-family: var(--font-sans, "Inter", ui-sans-serif, system-ui, sans-serif);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0;
    text-align: left;
}

.orcamentos-theme .orcamento-action-menu button:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.orcamentos-theme .orcamento-action-menu-icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.orcamentos-theme .orcamento-action-menu-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.orcamentos-theme .orcamento-action-menu .orcamento-anexo-count {
    margin-left: auto;
    font-weight: 500;
    letter-spacing: 0;
}

.orcamentos-theme .orcamento-action-menu-separator {
    display: block;
    height: 1px;
    margin: 6px 4px;
    background: #e2e8f0;
}

.orcamentos-theme .orcamento-action-menu button:hover:not(:disabled) {
    color: var(--budget-blue);
    background: #f2f6ff;
}

.orcamentos-theme .orcamento-action-menu .orcamento-action-menu-danger {
    color: #b42318;
}

.orcamentos-theme .orcamento-action-menu .orcamento-action-menu-danger:hover:not(:disabled) {
    color: #b42318;
    background: #fff1f1;
}

.orcamentos-theme .orcamento-menu-caret {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.orcamentos-theme .orcamento-info-summary {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.orcamentos-theme .orcamento-info-summary > .orcamento-info-head,
.orcamentos-theme .orcamento-info-summary > .orcamento-card-grid {
    display: none;
}

.orcamentos-theme .orcamento-info-summary-editing {
    display: grid;
    gap: 12px;
    padding: 14px;
    background: linear-gradient(180deg, #ffffff, #fbfefd);
    border: 1px solid #d7ebe6;
    border-radius: 12px;
}

.orcamentos-theme .orcamento-info-summary-editing > .orcamento-info-head,
.orcamentos-theme .orcamento-info-summary-editing > .orcamento-card-grid {
    display: grid;
}

.orcamentos-theme .orcamento-info-summary-editing > .orcamento-info-head {
    display: flex;
}

.orcamentos-theme .orcamento-info-summary-editing .orcamento-card-grid dd {
    font-weight: 400;
}

.orcamentos-theme .orcamento-info-summary-editing .orcamento-edit-form .field span {
    font-weight: 500;
}

.orcamentos-theme .orcamento-info-summary-editing .orcamento-edit-form input,
.orcamentos-theme .orcamento-info-summary-editing .orcamento-edit-form select {
    font-weight: 400;
}

.orcamentos-theme .orcamento-itens-section {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.orcamentos-theme .orcamento-itens-head .orcamento-itens-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.orcamentos-theme .orcamento-itens-list {
    border-color: var(--budget-line);
    border-radius: 9px;
    box-shadow: none;
}

.orcamentos-theme .orcamento-itens-table-head {
    color: #344054;
    background: #fbfcff;
    border-bottom-color: var(--budget-line);
}

.orcamentos-theme .orcamento-item-row {
    min-height: 64px;
    background: #ffffff;
}

.orcamentos-theme .orcamento-itens-total {
    justify-content: flex-end;
    gap: 28px;
    color: #667085;
    background: #ffffff;
}

.orcamentos-theme .orcamento-itens-total strong {
    color: var(--budget-ink);
    font-size: 0.92rem;
    font-weight: 800;
}

@media (max-width: 760px) {
    .orcamentos-theme .app-content-fluid {
        padding: 22px 16px;
    }

    .orcamentos-theme .orcamentos-page-head {
        grid-template-columns: 1fr;
    }

    .orcamentos-theme .orcamentos-head-actions,
    .orcamentos-theme .orcamentos-head-actions .button,
    .orcamentos-theme .orcamento-expanded-actions,
    .orcamentos-theme .orcamento-expanded-actions .button {
        width: 100%;
    }

    .orcamentos-theme .orcamentos-head-actions,
    .orcamentos-theme .orcamento-expanded-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .orcamentos-theme .orcamento-action-dropdown,
    .orcamentos-theme .orcamento-action-menu {
        width: 100%;
    }

    .orcamentos-theme .orcamento-action-menu {
        position: static;
        margin-top: 8px;
    }
}

/* Shared full sidebar pattern. Keep after page-specific overrides. */
.app-frame,
.orcamentos-theme .app-frame {
    grid-template-columns: 270px minmax(0, 1fr);
}

.app-sidebar,
.orcamentos-theme .app-sidebar {
    width: 270px;
    min-height: 100vh;
    padding: 20px 16px;
    color: #ffffff;
    background:
        radial-gradient(circle at 18% 0%, rgba(37, 99, 235, 0.24), transparent 32%),
        linear-gradient(180deg, #07356f 0%, #041f45 100%);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.08);
}

.brand,
.orcamentos-theme .brand {
    gap: 12px;
    min-height: 52px;
    margin-bottom: 34px;
}

.brand-copy {
    min-width: 0;
}

.brand-mark,
.orcamentos-theme .brand-mark {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 12px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.brand strong,
.orcamentos-theme .brand strong {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.2;
}

.brand span,
.orcamentos-theme .brand span {
    margin-top: 2px;
    color: rgba(209, 250, 229, 0.7);
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.2;
}

.side-nav,
.orcamentos-theme .side-nav {
    display: grid;
    gap: 6px;
    padding: 4px 0;
}

.side-link,
.orcamentos-theme .side-link {
    position: relative;
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    color: rgba(236, 253, 245, 0.84);
    font-size: 0.92rem;
    font-weight: 550;
    line-height: 1;
    text-decoration: none;
    border-radius: 10px;
    transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.side-link::before,
.orcamentos-theme .side-link::before {
    display: none;
    content: none;
}

.side-link:hover,
.orcamentos-theme .side-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.side-link:focus-visible,
.orcamentos-theme .side-link:focus-visible {
    outline: 2px solid rgba(96, 165, 250, 0.8);
    outline-offset: 2px;
}

.side-link.active,
.orcamentos-theme .side-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.11);
    box-shadow: inset 4px 0 0 #3b82f6;
}

.side-link-icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.side-link-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.side-link-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-footer,
.orcamentos-theme .sidebar-footer {
    display: grid;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-user {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
}

.sidebar-user-avatar {
    display: inline-flex;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.sidebar-user-copy {
    min-width: 0;
}

.sidebar-footer .sidebar-user-copy p,
.orcamentos-theme .sidebar-footer .sidebar-user-copy p {
    margin: 0;
    overflow: hidden;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 550;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-user-copy span {
    display: block;
    margin-top: 1px;
    color: rgba(209, 250, 229, 0.62);
    font-size: 0.72rem;
    font-weight: 400;
}

.sidebar-logout-button,
.orcamentos-theme .sidebar-logout-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    box-shadow: none;
}

.sidebar-logout-button:hover,
.orcamentos-theme .sidebar-logout-button:hover {
    background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 1020px) {
    .app-frame,
    .orcamentos-theme .app-frame {
        grid-template-columns: 1fr;
    }

    .app-sidebar,
    .orcamentos-theme .app-sidebar {
        width: min(86vw, 300px);
    }
}

/* Collapsible desktop sidebar. */
.app-sidebar-collapse-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.app-sidebar,
.orcamentos-theme .app-sidebar,
.app-frame,
.orcamentos-theme .app-frame,
.brand-copy,
.side-link-text,
.sidebar-user-copy,
.sidebar-logout-text {
    transition: width 180ms ease, grid-template-columns 180ms ease, opacity 140ms ease, transform 180ms ease;
}

.app-sidebar,
.orcamentos-theme .app-sidebar {
    position: relative;
}

.sidebar-resize-handle {
    position: absolute;
    top: 0;
    right: -5px;
    bottom: 0;
    z-index: 20;
    display: flex;
    width: 10px;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
    touch-action: none;
}

.sidebar-resize-handle::before {
    content: "";
    width: 2px;
    height: 100%;
    background: transparent;
    transition: background 160ms ease, box-shadow 160ms ease;
}

.sidebar-resize-handle:hover::before,
.sidebar-resize-handle:focus-visible::before,
.sidebar-resize-handle.is-dragging::before {
    background: rgba(96, 165, 250, 0.62);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.14);
}

.sidebar-is-dragging,
.sidebar-is-dragging * {
    cursor: ew-resize !important;
    user-select: none;
}

.sidebar-resize-handle:focus-visible {
    outline: 2px solid rgba(96, 165, 250, 0.85);
    outline-offset: 2px;
}

.sidebar-expand-button {
    display: none;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    color: #eff6ff;
    background: #1d4ed8;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(4, 37, 32, 0.22);
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.sidebar-expand-button:hover {
    color: #fff;
    background: #2563eb;
    transform: translateX(1px);
}

.sidebar-expand-button:focus-visible {
    outline: 2px solid rgba(96, 165, 250, 0.85);
    outline-offset: 3px;
}

.sidebar-expand-button svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.app-sidebar-collapse-toggle:checked ~ .app-frame {
    grid-template-columns: 84px minmax(0, 1fr);
}

.app-sidebar-collapse-toggle:checked ~ .app-frame .app-sidebar {
    width: 84px;
    align-items: center;
    padding-right: 20px;
    padding-left: 20px;
}

.app-sidebar-collapse-toggle:checked ~ .app-frame .brand {
    width: 44px;
    gap: 0;
    justify-content: center;
    margin-bottom: 34px;
}

.app-sidebar-collapse-toggle:checked ~ .app-frame .brand-mark {
    margin-right: auto;
    margin-left: auto;
}

.app-sidebar-collapse-toggle:checked ~ .app-frame .brand-copy,
.app-sidebar-collapse-toggle:checked ~ .app-frame .side-link-text,
.app-sidebar-collapse-toggle:checked ~ .app-frame .sidebar-user-copy,
.app-sidebar-collapse-toggle:checked ~ .app-frame .sidebar-logout-text {
    width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateX(-6px);
    white-space: nowrap;
}

.app-sidebar-collapse-toggle:checked ~ .app-frame .side-nav {
    gap: 8px;
    width: 44px;
    justify-items: center;
}

.app-sidebar-collapse-toggle:checked ~ .app-frame .side-link {
    width: 44px;
    gap: 0;
    justify-content: center;
    min-height: 44px;
    padding-right: 0;
    padding-left: 0;
}

.app-sidebar-collapse-toggle:checked ~ .app-frame .side-link-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
}

.app-sidebar-collapse-toggle:checked ~ .app-frame .side-link.active {
    box-shadow: none;
}

.app-sidebar-collapse-toggle:checked ~ .app-frame .sidebar-user {
    width: 44px;
    min-height: 44px;
    gap: 0;
    justify-content: center;
    padding-right: 0;
    padding-left: 0;
    background: transparent;
}

.app-sidebar-collapse-toggle:checked ~ .app-frame .sidebar-footer {
    width: 44px;
    justify-items: center;
}

.app-sidebar-collapse-toggle:checked ~ .app-frame .sidebar-logout-button {
    gap: 0;
    width: 44px;
    min-height: 44px;
    padding-right: 0;
    padding-left: 0;
}

.app-sidebar-collapse-toggle:checked ~ .app-frame .sidebar-expand-button {
    display: inline-flex;
    justify-self: center;
}

@media (max-width: 1020px) {
    .sidebar-resize-handle {
        display: none;
    }

    .app-sidebar-collapse-toggle:checked ~ .app-frame .sidebar-expand-button {
        display: none;
    }

    .app-sidebar-collapse-toggle:checked ~ .app-frame {
        grid-template-columns: 1fr;
    }

    .app-sidebar-collapse-toggle:checked ~ .app-frame .app-sidebar {
        width: min(86vw, 300px);
        padding-right: 16px;
        padding-left: 16px;
    }

    .app-sidebar-collapse-toggle:checked ~ .app-frame .brand {
        gap: 12px;
        justify-content: flex-start;
    }

    .app-sidebar-collapse-toggle:checked ~ .app-frame .brand-copy,
    .app-sidebar-collapse-toggle:checked ~ .app-frame .side-link-text,
    .app-sidebar-collapse-toggle:checked ~ .app-frame .sidebar-user-copy,
    .app-sidebar-collapse-toggle:checked ~ .app-frame .sidebar-logout-text {
        width: auto;
        opacity: 1;
        overflow: visible;
        pointer-events: auto;
        transform: none;
    }

    .app-sidebar-collapse-toggle:checked ~ .app-frame .side-link {
        justify-content: flex-start;
        padding-right: 12px;
        padding-left: 12px;
    }

    .app-sidebar-collapse-toggle:checked ~ .app-frame .sidebar-user {
        gap: 10px;
        justify-content: flex-start;
        padding-right: 8px;
        padding-left: 8px;
        background: rgba(255, 255, 255, 0.04);
    }
}

.standard-vue-theme .clientes-vue-page .cliente-card-editing .cliente-edit-card,
.standard-vue-theme .produtos-vue-page .produto-card-editing .produto-edit-card {
    min-width: 0 !important;
    margin: 0.75rem 1rem 1rem !important;
    padding: 1rem !important;
    background: linear-gradient(180deg, #fff8df, #fffdf4) !important;
    border: 1px solid #f1c65f !important;
    border-radius: 1rem !important;
    box-shadow: inset 4px 0 0 #d99a12, 0 12px 30px rgba(50, 50, 93, 0.07) !important;
    font-family: var(--font-sans) !important;
    letter-spacing: 0 !important;
}

.standard-vue-theme .clientes-vue-page .cliente-card-editing .cliente-edit-section,
.standard-vue-theme .produtos-vue-page .produto-card-editing .produto-edit-section {
    display: grid !important;
    gap: 0.85rem !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.standard-vue-theme .clientes-vue-page .cliente-card-editing .cliente-card-form-head,
.standard-vue-theme .produtos-vue-page .produto-card-editing .produto-card-form-head {
    display: grid !important;
    gap: 0.18rem !important;
    margin: 0 !important;
    padding: 0 0 0.75rem !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(245, 158, 11, 0.25) !important;
}

.standard-vue-theme .clientes-vue-page .cliente-card-editing .cliente-card-form-head .status-pill,
.standard-vue-theme .produtos-vue-page .produto-card-editing .produto-card-form-head .status-pill {
    display: none !important;
}

.standard-vue-theme .clientes-vue-page .cliente-card-editing .cliente-card-form-head h4,
.standard-vue-theme .produtos-vue-page .produto-card-editing .produto-card-form-head h4 {
    margin: 0 !important;
    color: #92400e !important;
    font-size: 0.86rem !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
}

.standard-vue-theme .clientes-vue-page .cliente-card-editing .cliente-card-form-head p,
.standard-vue-theme .produtos-vue-page .produto-card-editing .produto-card-form-head p {
    max-width: none !important;
    margin: 0 !important;
    color: #7c5b19 !important;
    font-size: 0.76rem !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
}

.standard-vue-theme .clientes-vue-page .cliente-card-editing .cliente-inline-form,
.standard-vue-theme .produtos-vue-page .produto-card-editing .produto-inline-form {
    display: grid !important;
    gap: 0.85rem !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-family: var(--font-sans) !important;
    letter-spacing: 0 !important;
}

.standard-vue-theme .clientes-vue-page .cliente-card-editing .field span,
.standard-vue-theme .produtos-vue-page .produto-card-editing .field span {
    color: #475569 !important;
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}

.standard-vue-theme .clientes-vue-page .cliente-card-editing .field input,
.standard-vue-theme .clientes-vue-page .cliente-card-editing .field select,
.standard-vue-theme .produtos-vue-page .produto-card-editing .field input,
.standard-vue-theme .produtos-vue-page .produto-card-editing .field select {
    height: 2.5rem !important;
    background: #fff !important;
    border-color: #dbe3ef !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}

.standard-vue-theme .clientes-vue-page .cliente-card-editing .cliente-card-actions,
.standard-vue-theme .produtos-vue-page .produto-card-editing .produto-card-actions {
    justify-content: flex-end !important;
    gap: 0.5rem !important;
    padding: 0 !important;
}

.orcamentos-theme .orcamentos-vue-page .standard-loading-title,
.standard-vue-theme .wa-module-page .standard-loading-title,
.standard-vue-theme .standard-loading-title {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.625rem !important;
    color: #1d4ed8 !important;
    font-family: var(--font-sans) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
}

.orcamentos-theme .orcamentos-vue-page .standard-loading-spinner,
.standard-vue-theme .wa-module-page .standard-loading-spinner,
.standard-vue-theme .standard-loading-spinner {
    width: 1.125rem !important;
    height: 1.125rem !important;
    flex: 0 0 1.125rem !important;
    border: 2px solid #bfdbfe !important;
    border-top-color: #2563eb !important;
    border-radius: 999px !important;
    animation: orcamento-spinner-rotate 0.8s linear infinite !important;
}
