.fvg-editor { margin-top: 24px; }
.fvg-edit-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin: 20px 0; }
.fvg-book { border: 0; padding: 0; margin: 0; min-width: 0; }
.fvg-book legend { font-weight: 700; margin-bottom: 12px; }
.fvg-book label { display: block; margin: 10px 0 6px; }
.fvg-book input, .fvg-book select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; }
.fvg-book input[readonly] { background: #f4f4f2; color: #303030; }
.fvg-book :disabled { opacity: .65; }
.fvg-combo { position: relative; }
.fvg-combo input { padding-right: 38px; border: 1px solid #d5d5d2; border-radius: 7px; font: inherit; }
.fvg-combo .fvg-combo-toggle { position: absolute; inset: 0 0 0 auto; width: 38px; min-height: 44px; padding: 0; border: 0; border-radius: 0 7px 7px 0; background: transparent; color: #515151; display: flex; align-items: center; justify-content: center; box-shadow: none; }
.fvg-combo .fvg-combo-toggle:disabled { cursor: default; opacity: .5; }
.fvg-combo input[aria-expanded="true"] { border-color: #bb111c; outline: 2px solid #f7dfe1; outline-offset: 0; }
.fvg-popup { position: fixed; z-index: 1000; overflow-y: auto; overscroll-behavior: contain; box-sizing: border-box; padding: 5px; border: 1px solid #d5d5d2; border-radius: 8px; background: #fff; color: #262626; box-shadow: 0 8px 24px rgb(0 0 0 / 12%); font: 14px/1.4 Arial, sans-serif; }
.fvg-popup[hidden] { display: none; }
.fvg-popup [role="option"] { min-height: 40px; padding: 10px 12px; box-sizing: border-box; border-radius: 4px; cursor: pointer; }
.fvg-popup [role="option"][aria-selected="true"] { background: #fbeeee; color: #a20d16; font-weight: 700; }
.fvg-popup [role="option"].is-active { background: #eee; outline: 1px solid #ccc; outline-offset: -1px; }
.fvg-empty { padding: 12px; margin: 0; color: #555; }
.fvg-summary { flex: 1 1 340px; max-width: 520px; margin: 0 24px; padding: 16px; background: #fff; border: 1px solid #dededb; border-radius: 12px; box-sizing: border-box; }
.fvg-summary table { width: 100%; table-layout: fixed; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fvg-summary caption { text-align: left; font-size: 16px; font-weight: 700; margin-bottom: 14px; color: #262626; }
.fvg-summary th, .fvg-summary td { text-align: center; padding: 8px 4px; border: 1px solid #000; font-size: 14px; }
.fvg-summary tr > :first-child { width: 96px; text-align: left; font-weight: 400; color: #626262; border: 0; }
.fvg-summary thead th { color: #353535; font-weight: 700; }
.fvg-summary tbody tr:last-child > * { padding-bottom: 8px; }
.fvg-summary tbody tr:last-child td { font-size: 16px; font-weight: 700; }
.fvg-summary .fvg-current { background: #fcf0f1; color: #a20d16; }
.fvg-summary a { display: inline-flex; align-items: center; justify-content: center; width: 40px; min-width: 40px; min-height: 40px; padding: 0; border: 1px solid #dededb; border-radius: 7px; font-size: 16px; font-weight: 700; text-decoration: none; color: #262626; background: #fff; }
.fvg-summary .fvg-current a { background: #bb111c; border-color: #bb111c; color: #fff; }
.fvg-summary a:focus-visible, .fvg-book :focus-visible { outline: 2px solid #bd111b; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .fvg-popup [role="option"]:hover { background: #eee; }
  .fvg-combo .fvg-combo-toggle:not(:disabled):hover { background: #f5f5f3; }
  .fvg-summary a:hover { border-color: #bb111c; }
}
@media (min-width: 1101px) {
  .oficina-resolve .question-top > .fvg-summary { margin-top: -52px; }
}
@media (max-width: 1100px) {
  .fvg-summary { margin: 16px 0; flex-basis: 100%; max-width: none; }
}
@media (max-width: 700px) {
  .fvg-edit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 16px; }
  .fvg-summary { padding: 12px; }
  .fvg-summary th, .fvg-summary td { padding: 7px 4px; font-size: 12px; }
  .fvg-summary tr > :first-child { width: 76px; }
  .fvg-summary a { width: 32px; min-width: 32px; min-height: 36px; font-size: 14px; }
}
