.hv-shell{display:grid;grid-template-columns:minmax(260px,34%) 1fr;gap:14px;align-items:start}
.hv-panel{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 4px 14px rgba(15,42,49,.04)}
.hv-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.hv-toolbar h2{font-size:15px;margin:0}.hv-toolbar small{color:var(--muted)}
.hv-filters{display:flex;gap:6px;flex-wrap:wrap}.hv-filter{border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:700;cursor:pointer}
.hv-filter.active{background:#e9f7f3;border-color:#94d7c4;color:#176d59}
.hv-list{max-height:680px;overflow:auto}.hv-item{padding:13px 14px;border-bottom:1px solid var(--line);cursor:pointer;transition:.15s}
.hv-item:hover{background:#f8fbfb}.hv-item.selected{background:#eff9f6;box-shadow:inset 3px 0 0 var(--teal)}
.hv-item .top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.hv-item h3{font-size:13px;margin:3px 0 5px;line-height:1.35}
.hv-item p{font-size:11px;color:var(--muted);margin:0 0 8px;line-height:1.4}.hv-meta{display:flex;gap:5px;flex-wrap:wrap}
.hv-chip{font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;border-radius:999px;padding:4px 7px;background:#f1f5f5;color:#52656a}
.hv-chip.high{background:#fff1e8;color:#a45513}.hv-chip.review{background:#eef5ff;color:#315f95}.hv-chip.done{background:#eaf8ef;color:#287044}.hv-chip.stale{background:#fff0f0;color:#a63838}
.hv-detail{padding:16px}.hv-eyebrow{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--teal)}
.hv-question{font-size:22px;line-height:1.25;margin:5px 0 8px}.hv-lead{font-size:12px;color:var(--muted);line-height:1.55;margin-bottom:14px}
.hv-rule-banner{border:1px solid #bfe5d9;background:#f2fbf8;border-radius:10px;padding:10px 12px;font-size:11px;line-height:1.5;margin-bottom:14px}
.hv-rule-banner b{color:#176d59}.hv-section{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}.hv-section h3{font-size:13px;margin:0 0 8px}
.hv-proposal{background:#f8fbfb;border:1px solid var(--line);border-radius:10px;padding:12px;font-size:12px;line-height:1.55}
.hv-outscope{display:grid;grid-template-columns:20px 1fr;gap:7px;padding:7px 0;font-size:11px;color:#5b696d}.hv-outscope b{color:#a45513}
.hv-evidence{border:1px solid var(--line);border-radius:9px;margin:7px 0;overflow:hidden}.hv-evidence button{width:100%;border:0;background:#fff;padding:10px 11px;text-align:left;cursor:pointer;display:flex;justify-content:space-between;gap:8px;font-weight:700;color:var(--ink)}
.hv-evidence .body{padding:0 11px 11px;font-size:11px;color:var(--muted);line-height:1.55}.hv-evidence code{font-size:10px}
.hv-reviewers{display:grid;gap:7px}.hv-reviewer{display:grid;grid-template-columns:1fr auto;gap:8px;border:1px solid var(--line);border-radius:9px;padding:9px 10px}.hv-reviewer b{font-size:11px}.hv-reviewer span{font-size:10px;color:var(--muted)}
.hv-response-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.hv-response{border:1px solid var(--line);border-radius:9px;background:#fff;padding:10px 7px;font-size:10px;font-weight:800;cursor:pointer;min-height:52px}
.hv-response:hover{border-color:#9dcfc1}.hv-response.active{background:#eaf8f3;border-color:#54b89c;color:#176d59}.hv-response:disabled{cursor:not-allowed;opacity:.42}
.hv-response.need.active{background:#fff7e9;border-color:#e7bb6d;color:#855312}.hv-response.reject.active{background:#fff0f0;border-color:#e3a0a0;color:#9f3333}
.hv-response-form{border:1px solid var(--line);border-radius:10px;padding:12px;margin-top:10px;background:#fbfdfd}.hv-response-form label{display:block;font-size:10px;font-weight:800;color:#58676b;margin:8px 0 5px}
.hv-response-form textarea,.hv-response-form select{width:100%;border:1px solid var(--line);border-radius:8px;padding:9px;background:#fff;font:inherit;font-size:11px}.hv-response-form textarea{min-height:74px;resize:vertical}
.hv-confirm{border:2px solid #74c6ad;background:#f3fbf8;border-radius:12px;padding:14px;margin-top:12px}.hv-confirm h3{margin:0 0 6px;font-size:14px}.hv-confirm-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:10px 0}
.hv-confirm-grid div{background:#fff;border:1px solid #cce9df;border-radius:8px;padding:8px}.hv-confirm-grid span{display:block;font-size:9px;color:var(--muted);text-transform:uppercase}.hv-confirm-grid b{font-size:11px}
.hv-history{display:grid;gap:10px}.hv-history-item{border:1px solid var(--line);border-radius:10px;padding:12px;background:#fff}.hv-history-item .head{display:flex;justify-content:space-between;gap:10px}.hv-history-item h3{font-size:12px;margin:0 0 3px}
.hv-response-record{border-left:3px solid var(--teal);padding:8px 10px;background:#f6fbf9;margin-top:8px;font-size:11px;line-height:1.5}.hv-resolution{border-left:3px solid #87979b;padding:8px 10px;background:#f7f8f8;margin-top:8px;font-size:11px;line-height:1.5}
.hv-stale{border:1px solid #e9aaaa;background:#fff4f4;border-radius:10px;padding:11px;margin:10px 0;color:#8b3434;font-size:11px;line-height:1.5}
.hv-status-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:14px}.hv-status-card{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px}.hv-status-card b{font-size:18px;display:block}.hv-status-card span{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.hv-fixture{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;background:#fff8e9;border:1px solid #f0d399;border-radius:999px;font-size:9px;font-weight:800;color:#83530f}
.hv-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin-bottom:14px}.hv-tab{border:0;background:transparent;padding:9px 10px;font-size:11px;font-weight:800;color:var(--muted);cursor:pointer;border-bottom:2px solid transparent}.hv-tab.active{color:var(--teal);border-bottom-color:var(--teal)}
.hv-empty{padding:30px;text-align:center;color:var(--muted);font-size:12px}.hv-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:12px}
.hv-findings{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.hv-finding{border:1px dashed #b8c9cd;border-radius:9px;padding:9px;font-size:10px;line-height:1.45;background:#fbfcfc}
@media(max-width:1180px){.hv-shell{grid-template-columns:1fr}.hv-list{max-height:340px}.hv-response-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.hv-response-grid{grid-template-columns:1fr 1fr}.hv-status-strip{grid-template-columns:1fr 1fr}.hv-confirm-grid,.hv-findings{grid-template-columns:1fr}.hv-question{font-size:18px}}
.hv-compact-summary{display:flex;gap:16px;align-items:center;margin:2px 0 12px;font-size:11px;color:var(--muted)}
.hv-compact-summary span{display:flex;align-items:baseline;gap:4px}.hv-compact-summary b{font-size:18px;color:var(--ink)}
.hv-context{border-top:1px solid var(--line);padding-top:12px;margin-top:14px}
.hv-context summary{cursor:pointer;font-size:11px;font-weight:800;color:#3f6660;list-style:none}
.hv-context summary::-webkit-details-marker{display:none}.hv-context summary:after{content:' +';font-weight:900}
.hv-context[open] summary:after{content:' −'}.hv-context p{font-size:11px;line-height:1.55;color:var(--muted);margin:9px 0 0}
.hv-help{margin-top:14px;padding:10px 12px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);text-align:center}
.hv-item.selected .hv-chip.review{background:#dff4ed;color:#176d59}
.hv-response{font-size:11px;text-transform:none;letter-spacing:0;line-height:1.25}
.hv-question{max-width:760px}
@media(max-width:760px){.hv-compact-summary{gap:10px;flex-wrap:wrap}}


@media(max-width:760px){
  .hv-shell{display:block}.hv-panel{border-radius:10px}.hv-panel+.hv-panel{margin-top:12px}
  .hv-list{max-height:none}.hv-item{padding:12px}
  .hv-detail{padding:13px}.hv-question{font-size:19px}
  .hv-response-grid{grid-template-columns:1fr}.hv-response{min-height:46px;text-align:left;padding:10px 12px}
  .hv-status-strip{grid-template-columns:1fr 1fr}
  .hv-compact-summary{font-size:10px;margin-bottom:10px}.hv-compact-summary b{font-size:16px}
  .hv-tabs{overflow-x:auto;white-space:nowrap}
  .hv-toolbar{align-items:flex-start}.hv-filters{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}.hv-filter{white-space:nowrap}
  .hv-actions{display:grid;grid-template-columns:1fr;width:100%}.hv-actions .btn{width:100%}
  .hv-proposal{font-size:12px;overflow-wrap:anywhere}.hv-lead{font-size:12px}
}

/* Module-aware Visual Discovery — ANTECIPAÇÃO */
.hv-module-context{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:11px 14px;border:1px solid #bfded7;background:#f2faf8;border-radius:12px}
.hv-module-context div{display:grid;gap:2px}.hv-module-context span{font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#2d7667}
.hv-module-context strong{font-size:13px;color:var(--ink)}.hv-module-context .hv-internal-badge{border:1px solid #e7bd72;background:#fff7e8;color:#855312;border-radius:999px;padding:6px 9px;white-space:nowrap}
.hv-followups{margin:9px 0 0;padding-left:20px;color:var(--muted);font-size:11px;line-height:1.55}.hv-followups li{margin:5px 0}
@media(max-width:760px){.hv-module-context{align-items:flex-start;flex-direction:column}.hv-module-context .hv-internal-badge{white-space:normal}}

.hv-human-guardrails{display:grid;gap:10px}
.hv-human-guardrail{padding:11px 12px;border:1px solid #dbe8e4;background:#f8fbfa;border-radius:10px}
.hv-human-guardrail strong{display:block;font-size:12px;color:var(--ink);margin-bottom:4px}
.hv-human-guardrail p{margin:0;font-size:11px;line-height:1.5;color:var(--muted)}
.hv-canonical-terms{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.hv-canonical-terms code{font-size:10px;padding:5px 7px;border-radius:6px;background:#f3f5f5;color:#53615f}

/* republish marker: 2026-10-02 human-readable semantic layer */

/* SK-VIVA module gate */
body.module-gate-active .sidebar{display:none}
body.module-gate-active .shell{grid-template-columns:1fr}
body.module-gate-active .scope{display:none}
body.module-gate-active #app{max-width:1180px;padding-top:44px}
.module-gate{display:grid;gap:28px}
.module-gate-head{max-width:760px}
.module-gate-head .hv-eyebrow{margin-bottom:8px}
.module-gate-head h1{margin:0 0 10px;font-size:34px;line-height:1.12}
.module-gate-head p{margin:0;color:var(--muted);font-size:15px}
.module-gate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.module-card{appearance:none;text-align:left;border:1px solid var(--line);background:#fff;border-radius:18px;padding:24px;cursor:pointer;min-height:245px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 12px 30px rgba(18,55,59,.06);transition:.16s ease}
.module-card:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(18,55,59,.10);border-color:#94cfc4}
.module-card.anticipation{background:linear-gradient(160deg,#f3fbf9 0%,#fff 65%)}
.module-card.recovery{background:linear-gradient(160deg,#fff8f2 0%,#fff 65%)}
.module-card .module-status{font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);margin-bottom:22px}
.module-card strong{font-size:14px;letter-spacing:.05em;color:var(--teal);margin-bottom:7px}
.module-card b{font-size:22px;line-height:1.2;color:var(--ink);margin-bottom:12px}
.module-card p{font-size:13px;line-height:1.55;color:var(--muted);margin:0 0 22px}
.module-card .module-enter{margin-top:auto;font-size:12px;font-weight:800;color:var(--teal)}
.module-gate-note{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:18px}
.module-switch{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px 10px}
.module-switch span{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.module-switch b{font-size:11px;color:var(--ink)}
.module-switch button{border:0;background:transparent;color:var(--teal);font-size:10px;font-weight:800;cursor:pointer;padding:2px 4px}
body:not(.module-gate-active) .module-switch{display:flex}
@media(max-width:800px){
  .module-gate-grid{grid-template-columns:1fr}
  .module-gate-head h1{font-size:28px}
  .module-card{min-height:auto}
  .module-switch{width:100%;justify-content:space-between}
}

body.module-anticipation-active .sidebar{display:none}
body.module-anticipation-active .shell{grid-template-columns:1fr}
body.module-anticipation-active #app{max-width:1500px}
