/* Revisão visual 0.2 — clara, minimalista e com hierarquia de leitura. */
:root {
  --ink: #253530;
  --text: #405149;
  --muted: #66746d;
  --line: #e8ede9;
  --bg: #f7f9f7;
  --green: #216b53;
  --mint: #edf4ef;
  --shadow: 0 8px 30px #263a2c07;
  font-size: 14px;
}
body { background: var(--bg); }
h1 { font-size: 34px; font-weight: 600; letter-spacing: -1.1px; line-height: 1.28; }
h2 { font-size: 20px; letter-spacing: -.45px; }
h3 { font-size: 16px; }
.sidebar { width: 248px; padding: 28px 18px 18px; border-color: #edf0ed; }
.brand { padding: 0 12px 32px; gap: 12px; }
.brandmark { width: 35px; height: 35px; border-radius: 10px; background: #23634e; }
.brand strong { font-size: 24px; letter-spacing: 2.2px; font-weight: 650; }
.brand small { font-size: 8px; letter-spacing: 1.2px; color: var(--muted); }
.nav-section { padding: 25px 14px 10px; font-size: 10px; letter-spacing: 1.25px; color: #6e7d73; }
.nav-item { padding: 10px 12px; min-height: 42px; margin: 2px 0; gap: 11px; color: #64736b; font-size: 13px; border-radius: 8px; }
.nav-item .icon { width: 18px; height: 18px; color: #7a8a7f; }
.nav-item.active { background: #eaf2ec; color: #235a45; font-weight: 600; }
.nav-item.active .icon { color: #397456; }
.nav-item:hover { background: #f3f6f3; }
.sidebar-scroll { scrollbar-color: #dce6dc transparent; }
.sidebar-bottom { padding-top: 14px; margin-top: 12px; border-color: #edf0ed; }
.preview-tag { display: flex; padding: 15px 12px 0; gap: 8px; font-size: 11px; color: #657469; }
.preview-tag .icon { width: 13px; height: 13px; margin-left: auto; }
.shell { margin-left: 248px; }
.topbar { height: 76px; padding: 0 40px; border-color: #edf0ed; }
.breadcrumb { font-size: 12px; gap: 12px; }
.breadcrumb .icon { width: 14px; height: 14px; }
.search-launch { min-height: 38px; width: 230px; color: #61736a; font-size: 12px; border: 0; background: #f5f7f5; border-radius: 8px; }
.search-launch kbd { color: #6c7e72; padding: 2px 5px; font-size: 10px; }
.top-actions { gap: 20px; }
.avatar { width: 36px; height: 36px; font-size: 12px; background: #edf1e9; color: #586b55; }
main { max-width: 1500px; padding: 36px 40px 36px; }
.page-heading { margin-bottom: 17px; gap: 24px; }
.page-heading>div,.panel-head>div { min-width: 0; }
.page-heading p { margin-top: 10px; font-size: 14px; line-height: 1.7; color: #66756b; max-width: 760px; }
.greeting { font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px; color: #6c8373; font-weight: 600; margin-bottom: 11px; }
.greeting .icon { width: 16px; height: 16px; }
.btn { min-height: 42px; padding: 11px 17px; font-size: 13px; border-radius: 8px; font-weight: 550; }
.btn.primary { background: #236a51; border-color: #236a51; box-shadow: none; }
.btn.primary:hover { background: #1c5743; border-color: #1c5743; }
.btn.secondary { background: #fff; }
.btn.small { min-height: 34px; padding: 7px 11px; font-size: 12px; }
.btn:hover { transform: none; }
.text-btn { font-size: 12px; min-height: 34px; gap: 6px; }
.icon-btn { min-width: 34px; min-height: 34px; }
.demo-bar { font-size: 11px; color: #647268; gap: 8px; margin-bottom: 26px; line-height: 1.6; }
.demo-bar strong { color: #596d5e; }
.demo-pill { font-size: 9px; letter-spacing: .65px; background: #eef3eb; border: 0; padding: 3px 7px; color: #537047; }
.scope-bar { gap: 12px; padding: 0 0 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.scope-select { min-height: 42px; padding: 0 12px; border: 1px solid #e3e9e2; border-radius: 8px; }
.scope-select select { font-size: 12px; padding-top: 10px; padding-bottom: 10px; max-width: 270px; }
.scope-label { font-size: 12px; color: #6c7a70; }
.scope-summary { font-size: 11px; color: #657369; }
.segmented { background: #eef2ed; padding: 4px; border-radius: 8px; }
.segmented button { min-height: 33px; padding: 6px 12px; font-size: 12px; color: #627067; }
.segmented button.active { box-shadow: 0 1px 3px #2037280a; }
.metric-row { gap: 0; margin-bottom: 32px; padding: 23px 0; border: 1px solid #e9ede7; border-radius: 12px; background: white; }
.metric { padding: 0 23px; border: 0; border-right: 1px solid #e8ece7; border-radius: 0; background: transparent; overflow: visible; }
.metric:last-child { border-right: 0; }
.metric-top { font-size: 12px; margin-bottom: 13px; color: #626f66; line-height: 1.5; }
.metric-top .icon { width: 17px; height: 17px; color: #849487; }
.metric-value { font-size: clamp(23px, 2vw, 31px); letter-spacing: -.9px; font-weight: 600; line-height: 1.25; }
.metric-foot { margin-top: 11px; line-height: 1.6; font-size: 10px; color: #6a776d; align-items: flex-start; }
.metric-foot .icon { width: 13px; height: 13px; margin-top: 1px; }
.metric.dark { background: transparent; color: var(--ink); border-color: #e8ece7; }
.metric.dark .metric-top { color: #626f66; }
.metric.dark .metric-top .icon { color: #849487; }
.metric.dark .metric-foot { color: #6a776d; }
.metric:nth-child(2) .metric-value { color: #306d51; }
.metric:nth-child(4) .metric-value { color: #8c6240; }
.metric>.strong { display: block; }
.metric-row .metric { overflow: visible; }
.dashboard-middle { grid-template-columns: minmax(0, 1.6fr) minmax(290px, 1fr); gap: 28px; margin: 0 0 34px; }
.panel { border: 1px solid #e8ede6; border-radius: 12px; box-shadow: none; margin-bottom: 25px; }
.panel-head { padding: 24px 25px 17px; align-items: center; }
.panel-head p { font-size: 12px; margin-top: 6px; line-height: 1.65; }
.panel-head h2 { font-size: 19px; }
.panel-body { padding: 4px 25px 25px; }
.panel-head h2.section-title { font-size: 20px; margin-top: 8px; }
.dashboard-middle .panel { border-color: #e7ece5; }
.dashboard-middle>.panel { margin-bottom: 0; }
.chart-meta { font-size: 11px; gap: 22px; margin: 0 25px 15px; color: #607365; }
.chart-meta span { gap: 7px; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; background: #357156; }
.legend-dot.light { background: #b8cbb2; }
.cash-chart { height: 200px; padding: 0 9px; }
.cash-chart text { fill: #68796c; font-size: 11px; }
.cash-chart line { stroke: #edf0eb; stroke-dasharray: 0; }
.chart-note { font-size: 10px; line-height: 1.7; color: #67796a; padding: 8px 25px 21px; }
.attention-panel .panel-head { padding-bottom: 15px; }
.todo-item { padding: 19px 24px; gap: 13px; min-height: 81px; border-color: #eef1eb; }
.todo-item strong { font-size: 12px; font-weight: 600; color: #34453b; line-height: 1.5; }
.todo-item small { font-size: 11px; line-height: 1.6; color: #6c7b70; margin-top: 5px; }
.todo-icon, .todo-icon.blue, .todo-icon.green { background: #f0f4ed; color: #607c57; border-radius: 9px; width: 37px; height: 37px; }
.todo-icon .icon { width: 18px; height: 18px; }
.todo-item>.icon { color: #748b79; width: 15px; }
.todo-item:hover { background: #f7faf4; }
.section-title { margin: 31px 0 19px; gap: 18px; }
.section-title h2 { font-size: 20px; }
.section-title p { font-size: 12px; margin-top: 7px; line-height: 1.65; }
.agenda-panel { margin-bottom: 35px; }
.data-table { font-size: 12px; }
.data-table th { background: #f9fbf7; padding: 14px 20px; font-size: 10px; letter-spacing: .4px; color: #68796a; border-top: 0; }
.data-table td { padding: 18px 20px; line-height: 1.6; border-bottom-color: #edf0eb; }
.data-table strong, .data-table .link-cell { font-size: 12px; line-height: 1.65; font-weight: 550; }
.data-table small { font-size: 10px; margin-top: 4px; color: #6c7b70; }
.data-table .numeric { font-weight: 550; }
.tag { font-size: 10px; padding: 4px 8px; border-radius: 5px; color: #5d705f; background: #edf2e9; }
.tag.green { color: #356841; background: #edf4e9; }
.tag.amber { color: #8d681e; background: #fbf3df; }
.tag.blue { color: #4c718c; background: #edf2f7; }
.tag.gray { color: #5c6c60; background: #f0f3ed; }
.tag.red { color: #a1524a; background: #fbefed; }
.table-footer { font-size: 10px; color: #65796a; padding: 15px 20px; }
.business-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 26px; border-top: 1px solid #e2e9df; margin-bottom: 15px; }
.business-card { display: grid; grid-template-columns: 42px minmax(0,1fr) 16px; gap: 14px; align-items: center; padding: 23px 5px; border: 0; border-bottom: 1px solid #e2e9df; border-radius: 0; background: transparent; min-height: 112px; }
.business-card:hover { box-shadow: none; transform: none; background: #f0f5ed; border-color: #d6e3d0; }
.business-card .business-icon { width: 39px; height: 39px; border-radius: 10px; background: #eaf1e6; color: #627e55; }
.business-card h3 { font-size: 13px; line-height: 1.5; margin-bottom: 3px; }
.business-card p { font-size: 11px; color: #677b69; line-height: 1.6; }
.business-card small { font-size: 10px; color: #697b69; border: 0; margin-top: 5px; padding: 0; }
.business-card .arrow { color: #728c70; width: 16px; height: 16px; }
.business-section .section-title { margin-bottom: 16px; }
.controls-line { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 19px; color: #66776a; font-size: 12px; }
.controls-line>span { margin-right: 8px; font-size: 11px; }
.controls-line button { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #49684e; background: none; border: 0; min-height: 36px; padding: 4px 0; }
.controls-line .icon { width: 16px; height: 16px; }
.subnav { gap: 27px; margin-bottom: 29px; }
.subnav button { min-height: 42px; padding-bottom: 14px; font-size: 13px; color: #687d6d; }
.subnav button.active { border-color: #528557; color: #24533d; }
.grid-2 { gap: 26px; margin-bottom: 28px; }
.grid-3 { gap: 22px; margin-bottom: 28px; }
.eyebrow { font-size: 10px; letter-spacing: 1px; color: #627869; }
.list-row { padding: 20px 25px; gap: 18px; }
.list-row strong { font-size: 13px; line-height: 1.7; }
.list-row .muted, .list-row p { font-size: 12px; line-height: 1.8; }
.progress { margin-top: 12px; height: 5px; }
.info-note { background: #f0f5ec; border-color: #e2eadb; color: #526d4a; font-size: 12px; padding: 16px 19px; border-radius: 8px; line-height: 1.8; }
.info-note.amber { color: #866223; background: #fbf7ed; }
.entity-card, .integration-card { padding: 24px; border-radius: 11px; }
.entity-card p, .integration-card p { font-size: 12px; line-height: 1.8; color: #697d6b; }
.entity-card p { min-height: 43px; }
.entity-card .tags { gap: 6px; }
.integration-card p { min-height: 90px; }
.integration-card .integration-title { gap: 12px; }
.filter-row { padding: 18px 22px; gap: 14px; }
.field-search { min-height: 39px; padding: 8px 12px; border-radius: 7px; }
.field-search input { font-size: 12px; }
.filter-row select { min-height: 39px; font-size: 12px; }
.modal { border-radius: 14px; width: 590px; }
.modal.wide { width: 770px; }
.modal-header { padding: 28px 28px 20px; }
.modal-header h2 { font-size: 24px; letter-spacing: -.6px; }
.modal-header p { font-size: 12px; line-height: 1.7; }
.modal-body { padding: 2px 28px 27px; }
.modal-footer { padding: 18px 28px; background: #fbfcf9; }
.form-field { gap: 9px; margin-bottom: 19px; }
.form-field label { font-size: 12px; color: #566d5b; }
.form-field input,.form-field select,.form-field textarea { font-size: 14px; padding: 11px 12px; min-height: 43px; border-color: #dbe4d6; }
.form-field small { font-size: 11px; }
.check-row { font-size: 12px; line-height: 1.8; min-height: 30px; align-items: center; }
.check-row input { width: 16px; height: 16px; flex-shrink: 0; }
.calculation { padding: 18px; gap: 15px; background: #f3f7ee; }
.calculation span { font-size: 11px; line-height: 1.7; color: #64765f; }
.calculation strong { font-size: 21px; margin-top: 9px; }
.error-text { font-size: 12px; }
.details-grid { gap: 23px; }
.details-grid dt { font-size: 11px; color: #63715d; }
.details-grid dd { font-size: 13px; line-height: 1.7; }
.detail-text { font-size: 13px; line-height: 1.9; }
.steps span { padding: 14px 12px; font-size: 11px; line-height: 1.7; color: #62745e; }
.workspace-footer { padding-top: 32px; color: #667960; font-size: 10px; }
.transaction-cards { display: none; }
.nav-scrim { display: none; }
.metric>.muted { font-size: 11px; }
.metric>.eyebrow { font-size: 11px; letter-spacing: 0; }
.metric>strong { font-size: 27px; margin: 15px 0 9px; }
.empty-state { font-size: 13px; padding: 48px 25px; }
.panel>.eyebrow { margin: 25px 25px 9px; }
.panel>.eyebrow~h3 { margin: 0 25px 12px; }
.panel>.eyebrow~p { margin: 14px 25px; font-size: 12px; }
.panel>.eyebrow~.btn { margin: 3px 25px 25px; }
.panel>.eyebrow~.tag { margin-left: 25px; }
.panel>.grid-3 { padding: 0 25px; }

@media (min-width: 701px) and (max-height: 820px) {
  .sidebar { padding-top: 21px; padding-bottom: 13px; }
  .brand { padding-bottom: 21px; }
  .nav-section { padding: 17px 13px 7px; font-size: 9px; }
  .nav-item { font-size: 12px; min-height: 35px; padding: 8px 11px; margin: 0; }
  .nav-item .icon { width: 17px; height: 17px; }
  .sidebar-bottom { padding-top: 8px; margin-top: 8px; }
  .preview-tag { padding-top: 11px; font-size: 10px; }
}
@media (max-width: 1250px) {
  .sidebar { width: 224px; padding-left: 12px; padding-right: 12px; }
  .shell { margin-left: 224px; }
  .nav-item { font-size: 12px; gap: 9px; }
  main { padding: 30px 29px; }
  .topbar { padding: 0 29px; }
  .metric { padding: 0 17px; }
  .metric-value { font-size: 25px; }
  .metric-foot { font-size: 10px; }
  .dashboard-middle { gap: 20px; grid-template-columns: minmax(0,1.4fr) minmax(270px,1fr); }
  .panel-head { padding: 22px 20px 16px; }
  .panel-head h2 { font-size: 18px; }
  .todo-item { padding: 18px; gap: 10px; }
  .business-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metric-top { font-size: 11px; }
  .chart-meta { margin-left: 20px; }
}
@media (max-width: 1040px) {
  .metric-row { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0; overflow: hidden; }
  .metric { padding: 23px; border-bottom: 1px solid #e8ece7; border-right: 1px solid #e8ece7; }
  .metric:nth-child(2n) { border-right: 0; }
  .metric:nth-last-child(-n+2) { border-bottom: 0; }
  .metric-value { font-size: 28px; }
  .metric-top { font-size: 12px; }
  .dashboard-middle { grid-template-columns: 1fr; }
  .attention-panel .todo-item { min-height: 74px; }
  .business-card { padding-top: 23px; padding-bottom: 23px; }
  .scope-summary { display: none; }
  .search-launch { width: 190px; }
}
@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; }
  .search-launch { display: none; }
  .data-table { min-width: 620px; }
  .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .page-heading { align-items: flex-start; }
  .page-heading { flex-wrap: wrap; }
  .page-heading h1 { font-size: 30px; }
}
@media (min-width: 701px) and (max-width: 960px) {
  .transaction-table-wrap { display: none; }
  .transaction-cards { display: block; padding: 0 23px; }
  .finance-card { display: block; width: 100%; text-align: left; border: 0; background: white; padding: 23px 0; border-bottom: 1px solid #e7ece4; }
  .finance-card:last-child { border-bottom: 0; }
  .finance-card-head { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; align-items: start; }
  .finance-card-title { font-size: 13px; color: #344c38; font-weight: 600; line-height: 1.7; }
  .finance-card-value { font-size: 16px; font-weight: 600; color: #2c4930; white-space: nowrap; line-height: 1.6; }
  .finance-card-sub { display: flex; justify-content: space-between; gap: 12px; color: #60745e; font-size: 12px; line-height: 1.7; margin-top: 9px; }
  .finance-card-foot { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-top: 12px; font-size: 12px; color: #5e735a; }
  .overview-content { display: flex; flex-direction: column; }
  .overview-content>.metric-row { order: 0; }
  .overview-content>.overview-agenda { order: 1; }
  .overview-content>.dashboard-middle { order: 2; }
  .overview-content>.business-section { order: 3; }
  .overview-agenda>.section-title { margin-top: 0; }
}
@media (max-width: 700px) {
  .sidebar { width: 276px; padding: 24px 16px 19px; }
  .sidebar.open { box-shadow: 5px 0 24px #1737290f; }
  .nav-scrim { display: block; position: fixed; inset: 0; border: 0; background: #19302529; z-index: 19; cursor: default; }
  .brand { padding: 0 12px 25px; }
  .nav-item { min-height: 44px; font-size: 14px; padding: 10px 13px; gap: 11px; }
  .nav-section { font-size: 10px; padding: 23px 14px 9px; }
  .nav-item .icon { width: 19px; height: 19px; }
  .preview-tag { font-size: 11px; min-height: 40px; padding: 10px 12px 0; }
  .shell { margin-left: 0; }
  .topbar { height: 67px; padding: 0 20px; }
  .top-actions { gap: 10px; }
  .breadcrumb { font-size: 12px; }
  .breadcrumb strong { max-width: 190px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-menu { min-height: 42px; min-width: 34px; padding-left: 0; }
  main { padding: 27px 20px 30px; }
  .page-heading { margin-bottom: 15px; gap: 18px; }
  .page-heading h1 { font-size: 32px; line-height: 1.2; letter-spacing: -.9px; }
  .page-heading p { font-size: 13px; margin-top: 12px; line-height: 1.75; }
  .greeting { font-size: 10px; letter-spacing: 1px; margin-bottom: 13px; }
  .page-heading>.btn { min-height: 43px; font-size: 12px; padding: 10px 14px; }
  .demo-bar { font-size: 10px; margin-bottom: 24px; align-items: center; flex-wrap: wrap; gap: 7px; line-height: 1.8; }
  .demo-pill { font-size: 9px; }
  .scope-bar { gap: 10px; padding-bottom: 23px; margin-bottom: 25px; }
  .scope-select { min-height: 44px; padding: 0 10px; }
  .scope-select select { font-size: 12px; min-height: 40px; max-width: 255px; }
  .segmented { padding: 4px; }
  .segmented button { min-height: 36px; font-size: 12px; }
  .metric-row { margin-bottom: 27px; border-radius: 10px; }
  .metric { padding: 18px 16px; }
  .metric-top { font-size: 11px; gap: 5px; margin-bottom: 12px; align-items: flex-start; }
  .metric-top .icon { width: 14px; height: 14px; margin-top: 1px; }
  .metric-value { font-size: clamp(19px,5.6vw,26px); line-height: 1.3; letter-spacing: -.7px; }
  .metric-foot { font-size: 10px; margin-top: 10px; line-height: 1.75; }
  .dashboard-middle { gap: 22px; margin-bottom: 27px; }
  .panel { border-radius: 10px; margin-bottom: 25px; }
  .panel-head { padding: 21px 18px 15px; align-items: flex-start; }
  .panel-head h2 { font-size: 18px; line-height: 1.5; }
  .panel-head p { font-size: 11px; }
  .text-btn { font-size: 11px; min-height: 38px; flex-shrink: 0; }
  .cash-chart { height: auto; aspect-ratio: 610 / 215; padding: 0; }
  .cash-chart text { font-size: 14px; }
  .chart-meta { font-size: 11px; margin: 1px 18px 16px; }
  .chart-note { padding: 10px 18px 20px; font-size: 10px; }
  .todo-item { padding: 20px 18px; gap: 12px; min-height: 89px; }
  .todo-item strong { font-size: 12px; }
  .todo-item small { font-size: 11px; }
  .section-title { gap: 11px; margin: 28px 0 17px; align-items: center; }
  .section-title h2 { font-size: 20px; }
  .section-title p { font-size: 12px; max-width: 250px; }
  .section-title>.tag { display: none; }
  .transaction-table-wrap { display: none; }
  .transaction-cards { display: block; padding: 0 18px; }
  .overview-content { display: flex; flex-direction: column; }
  .overview-content>.metric-row { order: 0; }
  .overview-content>.overview-agenda { order: 1; }
  .overview-content>.dashboard-middle { order: 2; }
  .overview-content>.business-section { order: 3; }
  .overview-agenda>.section-title { margin-top: 0; }
  .finance-card { display: block; width: 100%; text-align: left; border: 0; background: white; padding: 21px 0; border-bottom: 1px solid #e7ece4; }
  .finance-card:last-child { border-bottom: 0; }
  .finance-card-head { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 13px; align-items: start; }
  .finance-card-title { font-size: 12px; color: #344c38; font-weight: 600; line-height: 1.7; }
  .finance-card-value { font-size: 14px; font-weight: 600; letter-spacing: -.2px; color: #2c4930; white-space: nowrap; line-height: 1.6; }
  .finance-card-sub { display: flex; justify-content: space-between; gap: 9px; color: #60745e; font-size: 11px; line-height: 1.7; margin-top: 8px; }
  .finance-card-foot { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-top: 11px; font-size: 11px; color: #5e735a; }
  .agenda-panel { margin-bottom: 33px; }
  .table-footer { font-size: 10px; padding: 14px 18px; flex-wrap: wrap; gap: 6px; }
  .business-grid { grid-template-columns: 1fr; gap: 0; }
  .business-card { grid-template-columns: 43px minmax(0,1fr) 18px; padding: 22px 2px; gap: 15px; min-height: 108px; }
  .business-card .business-icon { width: 41px; height: 41px; }
  .business-card h3 { font-size: 14px; }
  .business-card p { font-size: 12px; line-height: 1.65; }
  .business-card small { font-size: 11px; line-height: 1.6; }
  .controls-line { margin-top: 25px; gap: 6px 18px; }
  .controls-line>span { width: 100%; font-size: 12px; }
  .controls-line button { min-height: 42px; font-size: 12px; }
  .subnav { gap: 23px; margin-bottom: 25px; }
  .subnav button { font-size: 12px; min-height: 45px; }
  .grid-3,.grid-2 { grid-template-columns: 1fr; gap: 22px; margin-bottom: 25px; }
  .data-table th { font-size: 10px; padding: 13px 15px; }
  .data-table td { font-size: 12px; padding: 16px 15px; }
  .list-row { padding: 19px; gap: 13px; }
  .list-row .muted,.list-row p { font-size: 11px; }
  .info-note { font-size: 11px; padding: 15px 16px; line-height: 1.85; }
  .entity-card,.integration-card { padding: 22px; }
  .integration-card p { min-height: 0; }
  .filter-row { padding: 17px; gap: 12px; }
  .field-search { min-height: 43px; }
  .filter-row select { min-height: 42px; }
  .modal-backdrop { padding: 12px; }
  .modal { max-height: 94dvh; border-radius: 12px; }
  .modal-header { padding: 22px 20px 17px; }
  .modal-header h2 { font-size: 21px; }
  .modal-header p { font-size: 11px; }
  .modal-body { padding: 1px 20px 22px; }
  .modal-footer { padding: 16px 20px; gap: 9px; }
  .modal-footer .btn { min-height: 44px; padding: 10px 12px; font-size: 12px; }
  .form-field input,.form-field select,.form-field textarea { font-size: 16px; min-height: 45px; }
  .form-field label { font-size: 12px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .calculation { padding: 14px 12px; gap: 10px; }
  .calculation span { font-size: 10px; }
  .calculation strong { font-size: 17px; line-height: 1.5; }
  .check-row { font-size: 12px; min-height: 40px; }
  .details-grid { gap: 17px; }
  .detail-text { font-size: 13px; }
  .steps span { font-size: 11px; }
  .panel-head h2.section-title { font-size: 19px; }
  .metric>strong { font-size: 23px; }
  .metric>.eyebrow { font-size: 11px; }
  .metric>.muted { font-size: 10px; }
  .workspace-footer { font-size: 10px; line-height: 1.8; padding-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
