/* Gobierno Corporativo y reportes ejecutivos · KARDIER */
.gov-suite{display:flex;flex-direction:column;gap:14px;min-width:0}
.gov-intro{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:23px 26px;border-radius:15px;background:linear-gradient(113deg,#153e31,#2c6d53);color:#fff}
.gov-intro small{font-size:10px;letter-spacing:.15em;color:#e6c98c;font-weight:800}
.gov-intro h2{font:400 clamp(24px,2.8vw,35px)/1.2 Georgia,serif;color:white;margin:6px 0 8px}
.gov-intro p{color:#d6e8de;margin:0;max-width:700px;font-size:12px;line-height:1.65}
.gov-intro>strong{font-size:10px;white-space:nowrap;border:1px solid #a7c9b4;border-radius:99px;padding:8px 11px}
.gov-tabs{display:flex;overflow-x:auto;gap:7px;padding:5px 0 10px}
.gov-btn{border:1px solid #cbdccf;background:#fff;padding:8px 12px;border-radius:8px;font:700 11px system-ui,sans-serif;color:#20523b;cursor:pointer;white-space:nowrap}
.gov-btn:hover,.gov-btn:focus-visible{background:#edf5ef;border-color:#75aa8c}
.gov-btn.selected,.gov-btn.primary{background:#21543e;color:#fff;border-color:#21543e}
.gov-btn:disabled{opacity:.5;cursor:wait}
.gov-content{display:grid;gap:14px;min-width:0}
.gov-card{padding:21px;border:1px solid #dce8de;border-radius:13px;background:#fff;min-width:0}
.gov-card-header{display:flex;align-items:start;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:11px}
.gov-card h3,.gov-dialog h3{font:400 22px Georgia,serif;color:#21523b;margin:0}
.gov-card p{font-size:12px;line-height:1.7;color:#526e5c;margin:7px 0 15px}
.gov-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(142px,1fr));gap:10px;margin:12px 0}
.gov-metric{border-radius:10px;padding:14px;background:#eff5ee;display:flex;flex-direction:column;gap:4px;min-width:0}
.gov-metric small{color:#597765;font-size:11px;line-height:1.4}
.gov-metric strong{font-size:22px;color:#1b4d34}
.gov-metric span{font-size:10px;color:#718375;line-height:1.4}
.gov-tablewrap{max-width:100%;overflow-x:auto;border:1px solid #e1eae1;border-radius:10px;margin:12px 0}
.gov-table{width:100%;border-collapse:collapse;min-width:660px;font-size:11px}
.gov-table th,.gov-table td{text-align:left;border-bottom:1px solid #eaf0ea;padding:12px 11px;vertical-align:top;white-space:normal;max-width:320px;overflow-wrap:anywhere}
.gov-table th{background:#f0f5ef;color:#3d624e;font-size:10px;white-space:nowrap}
.gov-table td{color:#486251}
.gov-table tbody tr:last-child td{border:0}
.gov-table td .gov-btn{font-size:10px;padding:6px 8px;margin:3px 3px 3px 0}
.gov-sub{display:block;font-size:10px;margin-top:5px;color:#82958a;line-height:1.4}
.gov-status{display:inline-flex;padding:5px 8px;border-radius:6px;background:#eef4ea;color:#255a3d;font-weight:700}
.gov-empty{text-align:center;color:#7b8d7b;padding:18px!important}
.gov-warning{background:#fdf5e5;border-left:3px solid #ceb073;padding:12px 14px!important;color:#705c37!important;border-radius:0 7px 7px 0;line-height:1.55}
.gov-footnote{font-size:11px!important;color:#718577!important;line-height:1.6!important}
.gov-dialog{position:fixed;inset:0;z-index:70;background:rgba(13,42,28,.48);padding:18px;display:grid;place-items:center;overflow-y:auto}
.gov-form{width:min(760px,100%);max-height:90vh;overflow-y:auto;background:#fff;border-radius:16px;padding:23px;box-shadow:0 19px 65px #0003}
.gov-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.gov-field{display:flex;flex-direction:column;gap:6px;color:#41624c;font-size:12px;font-weight:700;min-width:0}
.gov-field input,.gov-field select,.gov-field textarea{font:12px system-ui;border:1px solid #cbdcce;border-radius:8px;padding:10px 12px;color:#284b34;background:#fff;width:100%}
.gov-field input:focus-visible,.gov-field select:focus-visible,.gov-field textarea:focus-visible{outline:2px solid #549671}
.gov-wide{grid-column:1/-1}
.gov-form-actions{display:flex;justify-content:flex-end}
#gov-print{display:none}
@media(max-width:720px){.gov-intro{flex-direction:column;align-items:flex-start;padding:19px}.gov-grid{grid-template-columns:1fr}.gov-card{padding:15px}}
@media print {
  @page{size:A4;margin:14mm}
  body *{visibility:hidden!important}
  #gov-print,#gov-print *{visibility:visible!important}
  #gov-print{display:block!important;position:absolute;top:0;left:0;width:100%;background:#fff!important;color:#000!important}
  #gov-print .gov-reportprint{padding:0;font-family:system-ui,sans-serif;color:#111}
  #gov-print h1{font:700 22px Georgia,serif}
  #gov-print h2{font:400 18px Georgia,serif}
  #gov-print .gov-reportrow{border-bottom:1px solid #ddd;padding:8px 0;break-inside:avoid}
  #gov-print .gov-reportrow strong{font-size:10px;color:#333}
  #gov-print .gov-reportrow p{font-size:12px;white-space:pre-wrap;margin:4px 0}
}
