.moduloHistoricoGeral{background:#f5f3ee;color:#17324a;min-height:100vh;padding:clamp(14px,3vw,34px);overflow-x:clip}.hg-app{max-width:1040px;margin:auto}.hg-header,.hg-tabs,.hg-card,.hg-filters,.hg-day,.hg-empty{background:#fff;border:1px solid #d9d5cc;border-radius:18px;box-shadow:0 4px 18px rgba(23,50,74,.06)}.hg-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px;margin-bottom:14px}.hg-header h1{font-family:Georgia,serif;font-size:clamp(2rem,6vw,3.2rem);margin:.1em 0}.hg-header p{margin:.2em 0;max-width:620px}.hg-kicker{font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#697b65}.hg-tabs{display:flex;gap:6px;padding:6px;margin-bottom:16px;position:sticky;top:6px;z-index:10}.hg-tabs button{flex:1;min-height:46px;border:0;border-radius:12px;background:transparent;color:#17324a;font-weight:750}.hg-tabs button[aria-selected=true]{background:#1d5369;color:#fff}.hg-status{min-height:1.5em;margin:8px 4px;color:#276441;font-weight:700}.hg-status.is-error{color:#9a3030}.hg-filters{padding:14px 18px;margin-bottom:18px}.hg-filters summary{cursor:pointer;font-weight:800;min-height:40px;display:flex;align-items:center}.hg-form,.hg-filters form{display:grid;gap:14px}.hg-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hg-form label,.hg-filters label{display:grid;gap:6px;font-weight:700}.hg-form input,.hg-form select,.hg-form textarea,.hg-filters input,.hg-filters select{width:100%;min-height:46px;border:1px solid #aeb8bc;border-radius:10px;background:#fff;padding:10px 12px;color:#17324a;font:inherit;box-sizing:border-box}.hg-form textarea{resize:vertical}.hg-check{display:flex!important;align-items:center;gap:9px}.hg-check input{width:22px!important;min-height:22px!important}.hg-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.hg-button{border:1px solid #1d5369;border-radius:11px;background:#1d5369;color:#fff;min-height:44px;padding:9px 16px;font:inherit;font-weight:750}.hg-button-quiet{background:#fff;color:#1d5369}.hg-structure{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hg-card{padding:clamp(18px,3vw,28px)}.hg-card h2{margin-top:0}.hg-form fieldset{border:1px solid #d7d3ca;border-radius:14px;padding:16px;min-width:0}.hg-form legend{font-weight:800;padding:0 6px}.hg-context-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hg-chakras{display:grid;grid-template-columns:repeat(7,minmax(76px,1fr));gap:8px;overflow-x:auto;padding:4px}.hg-chakras button{min-height:112px;border:1px solid #c8cdca;border-radius:12px;background:#f3f2ee;color:#17324a;padding:8px;font-weight:700}.hg-chakras button span{display:block;width:30px;height:30px;margin:0 auto 7px;border:2px solid #aaa;border-radius:50%;background:transparent}.hg-chakras button[aria-pressed=true]{border-color:var(--chakra);box-shadow:inset 0 0 0 2px var(--chakra)}.hg-chakras button[aria-pressed=true] span{background:var(--chakra);border-color:var(--chakra)}.hg-chakras small{display:block;margin-top:5px}.hg-sequence{display:grid;gap:7px;margin:12px 0}.hg-sequence>div{display:grid;grid-template-columns:1fr minmax(110px,170px) 40px 40px;align-items:center;gap:7px;background:#f5f5f2;padding:8px;border-radius:10px}.hg-sequence label{font-size:.8rem}.hg-timeline{position:relative;padding-left:20px}.hg-timeline:before{content:"";position:absolute;left:6px;top:0;bottom:0;width:2px;background:#b8c7bd}.hg-day{position:relative;padding:18px;margin:0 0 18px}.hg-day:before{content:"";position:absolute;left:-20px;top:26px;width:12px;height:12px;border-radius:50%;background:#517a67;border:3px solid #f5f3ee}.hg-day h2{font-size:1.1rem;margin:3px 0 12px}.hg-year{margin:0;color:#65726d;font-size:.8rem;font-weight:800;text-transform:uppercase}.hg-entry{display:grid;text-align:left;width:100%;gap:4px;border:0;border-top:1px solid #e3e0d9;background:#fff;padding:14px 4px;color:#17324a}.hg-entry:first-of-type{border-top:0}.hg-entry-type{color:#4d705f;font-size:.75rem;font-weight:850;text-transform:uppercase}.hg-entry strong{font-size:1.05rem}.hg-entry small{color:#637077}.hg-empty{padding:36px;text-align:center}.hg-load{display:block;margin:14px auto}.hg-dialog{width:min(680px,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;border:0;border-radius:18px;padding:24px;color:#17324a}.hg-dialog::backdrop{background:rgba(12,30,42,.6)}.hg-dialog-close{position:sticky;top:0;float:right}.hg-dialog-close button{border:0;background:#edf0ed;border-radius:50%;width:42px;height:42px;font-size:1.5rem}.hg-dialog section{border-top:1px solid #ddd;padding-top:12px;margin-top:15px}.hg-dialog dl div{display:flex;justify-content:space-between;gap:12px}.hg-content{white-space:pre-wrap}.hg-muted{color:#68746e;font-style:italic}
@media(max-width:620px){.moduloHistoricoGeral{padding:10px}.hg-header{padding:18px}.hg-header>.hg-button{padding:8px 10px}.hg-tabs{overflow:visible}.hg-tabs button{min-width:0;padding:5px 3px;font-size:.78rem;line-height:1.15}.hg-form-grid,.hg-structure,.hg-context-list{grid-template-columns:1fr}.hg-chakras{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.hg-sequence>div{grid-template-columns:1fr 110px 38px 38px}.hg-timeline{padding-left:14px}.hg-day:before{left:-15px}.hg-dialog{padding:18px}.hg-actions .hg-button{width:100%}}
.moduloHistoricoGeral [hidden]{display:none!important}
.hg-entry.is-deleted{opacity:.68;border-style:dashed}.hg-deleted-badge,.hg-correction-badge{display:inline-block;padding:.3rem .6rem;border-radius:999px;background:#f3eee5;color:#674f35;font-weight:700}.hg-button-danger{border-color:#9b4d4d;color:#7d3030;background:#fff}.hg-context-tree{list-style:none;padding:0}.hg-context-tree li{padding:.25rem .5rem;border-left:2px solid #d8cdbb}.hg-context-tree li[data-level="2"]{margin-left:1rem}.hg-context-tree li[data-level="3"]{margin-left:2rem}.hg-chakras-edit label{display:grid;grid-template-columns:auto 1fr minmax(4.5rem,6rem);align-items:center;gap:.4rem}.hg-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}@media(max-width:420px){.hg-dialog{max-width:calc(100vw - 1rem);max-height:94dvh}.hg-chakras-edit label{grid-template-columns:auto 1fr 4.5rem}.hg-actions .hg-button{min-height:44px}}
.hg-form fieldset{border:0;border-top:1px solid #e2ded6;border-radius:0;padding:18px 0 0;margin:4px 0 0}.hg-form fieldset legend{padding:0 10px 0 0;font-size:1.08rem}.hg-section-title{margin:22px 0 4px;font-size:1rem}.hg-help{margin:4px 0 12px;color:#68746e;font-size:.92rem}.hg-chakra-list,.hg-chakras-edit{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;overflow:visible;padding:0}.hg-chakra-row,.hg-chakras-edit label{display:grid!important;grid-template-columns:28px minmax(0,1fr) minmax(72px,88px) 24px;align-items:center;gap:8px;min-width:0;min-height:48px;padding:4px 0;border-bottom:1px solid #ebe8e1;font-weight:700}.hg-chakra-row>input[type=checkbox],.hg-chakras-edit input[type=checkbox]{width:22px!important;min-height:22px!important;margin:0}.hg-chakra-row>input[type=number],.hg-chakras-edit input[type=number]{min-width:0;width:100%;min-height:42px;padding:7px 8px}.hg-chakra-row>input[type=number]:disabled,.hg-chakras-edit input[type=number]:disabled{background:#f1f1ee;opacity:.58}.hg-chakra-row small{font-weight:600;color:#68746e}.hg-sequence{margin:14px 0 20px}.hg-sequence>.hg-section-label{margin:0;font-weight:800}.hg-sequence>div{grid-template-columns:minmax(0,1fr) auto 42px 42px;background:transparent;border-bottom:1px solid #ebe8e1;border-radius:0;padding:6px 0;min-height:48px}.hg-sequence button{min-width:42px;min-height:42px}.hg-dialog section{padding-top:14px;margin-top:16px}.hg-dialog section+section{border-top:1px solid #e2ded6}.hg-dialog dl{margin-bottom:0}.hg-dialog dl div{padding:5px 0;border-bottom:1px solid #f0ede7}.hg-dialog dl div:last-child{border-bottom:0}
@media(max-width:620px){.hg-dialog{width:calc(100vw - 12px);max-width:calc(100vw - 12px);padding:16px 14px}.hg-card{padding:18px 14px}.hg-filters{padding:12px 14px}.hg-chakra-list,.hg-chakras-edit{grid-template-columns:1fr;gap:0}.hg-chakra-row,.hg-chakras-edit label{grid-template-columns:28px minmax(0,1fr) 76px 24px}.hg-chakras-edit label{padding:4px 0}.hg-free-region{gap:10px}.hg-form fieldset{padding-top:16px}.hg-context-tree li[data-level="2"]{margin-left:.5rem}.hg-context-tree li[data-level="3"]{margin-left:1rem}}
@media(min-width:621px) and (max-width:820px){.hg-chakra-list,.hg-chakras-edit{grid-template-columns:1fr}}
.hg-chakra-row{grid-template-columns:28px 18px minmax(0,1fr) minmax(72px,88px) 24px}.hg-chakra-dot,.hg-region-chip i{display:inline-block;width:14px;height:14px;border:2px solid var(--chakra);border-radius:50%;background:transparent}.hg-chakra-row:has(input[type=checkbox]:checked) .hg-chakra-dot{background:var(--chakra)}.hg-sequence-choice{margin-top:12px}.hg-practice-regions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.hg-region-chip{display:inline-grid;grid-template-columns:16px auto;align-items:center;gap:3px 7px;padding:8px 10px;border:1px solid #ddd8cf;border-left:4px solid var(--chakra);border-radius:10px;background:#faf9f6}.hg-region-chip small{grid-column:2;color:#68746e}.hg-practice-sequence{margin-top:14px}.hg-practice-sequence h4{margin:0 0 6px}.hg-practice-sequence ol{margin:0;padding-left:1.5rem}@media(max-width:620px){.hg-chakra-row{grid-template-columns:28px 18px minmax(0,1fr) 76px 24px}.hg-practice-regions{display:grid;grid-template-columns:1fr 1fr}.hg-region-chip{min-width:0}}
.hg-chakras-edit label{grid-template-columns:28px 18px minmax(0,1fr) minmax(72px,88px)}.hg-chakras-edit label:has(input[type=checkbox]:checked) .hg-chakra-dot{background:var(--chakra)}@media(max-width:620px){.hg-chakras-edit label{grid-template-columns:28px 18px minmax(0,1fr) 76px}}
.hg-dialog>section{background:transparent!important;border:0!important;border-top:1px solid #e2ded6!important;border-radius:0!important;box-shadow:none!important;padding:14px 0 0!important;margin:16px 0 0!important}
#moduloHistoricoGeral dialog.hg-dialog>section{background:none!important;border-right:0!important;border-bottom:0!important;border-left:0!important;border-radius:0!important;box-shadow:none!important;padding-right:0!important;padding-left:0!important}
.hg-cycle-overview{margin-top:16px}.hg-planning-preview{margin-top:14px;padding:14px 0;border-top:1px solid #d7d3ca}.hg-planning-preview h3{margin:0 0 10px}.hg-planning-preview ol,.hg-unit-list{list-style:none;margin:0;padding:0}.hg-planning-preview li{display:grid;gap:3px;padding:10px 0;border-bottom:1px solid #ebe8e1}.hg-planning-preview li span,.hg-planning-preview li small{color:#586761}.hg-cycle-summary{padding:16px 0;border-top:1px solid #d7d3ca}.hg-cycle-summary h3{margin:0}.hg-cycle-summary>p{margin:6px 0;color:#586761}.hg-unit-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;border-top:1px solid #ebe8e1}.hg-unit-list span{display:grid;min-width:0}.hg-unit-list small{color:#68746e}.hg-unit-list .hg-button{flex:0 0 auto;min-height:40px;padding:7px 11px}.hg-planned-reference{padding:10px 12px;border-left:4px solid #517a67;background:#f3f5f1;color:#314d40}
@media(max-width:620px){.hg-cycle-overview{margin-top:10px}.hg-planning-preview{padding-top:10px}.hg-unit-list li{align-items:flex-start}.hg-unit-list .hg-button{width:auto}.hg-cycle-summary{padding:14px 0}}
.hg-journey-overview{margin-top:16px}.hg-management-row,.hg-unit-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 0;border-top:1px solid #e5e1d9}.hg-management-row>span,.hg-unit-row>span{display:grid;gap:3px;min-width:0}.hg-management-row small,.hg-unit-row small{color:#68746e}.hg-row-actions{display:flex;flex-wrap:wrap;gap:8px}.hg-row-actions .hg-button,.hg-management-row .hg-button,.hg-unit-row .hg-button{min-height:40px;padding:7px 11px}.hg-cycle-summary.is-discarded{opacity:.7}.hg-context-summary{padding:12px 0;border-top:1px solid #e2ded6;border-bottom:1px solid #e2ded6}.hg-context-summary p{margin:6px 0}.hg-cycle-detail-list{display:grid;gap:0}.hg-cycle-detail-list .hg-unit-row{background:transparent!important;border-right:0!important;border-bottom:0!important;border-left:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important}
.hg-discarded-access{display:flex;justify-content:flex-end;padding-top:14px;margin-top:8px;border-top:1px solid #e5e1d9}.hg-discarded-access .hg-button{min-height:40px;padding:7px 11px}
@media(max-width:620px){.hg-management-row,.hg-unit-row{align-items:flex-start;flex-direction:column}.hg-row-actions{width:100%}.hg-row-actions .hg-button{flex:1}.hg-unit-row>.hg-button{width:100%}.hg-dialog .hg-context-summary{padding:10px 0}}
@media(prefers-reduced-motion:reduce){.moduloHistoricoGeral *{scroll-behavior:auto!important;transition:none!important}}
.hg-firmeza{display:grid;gap:14px;padding:16px 0;border-top:1px solid #e2ded6}.hg-firmeza>h3{margin:0}.hg-component-list{display:grid;gap:8px}.hg-component{padding:10px 0;border-bottom:1px solid #ebe8e1}.hg-component-choice{display:flex!important;align-items:center;gap:10px;min-height:44px}.hg-component-choice input{width:24px!important;min-height:24px!important}.hg-component-choice span{display:grid}.hg-component-choice small{color:#68746e}.hg-component-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 4px;padding:12px;border-left:3px solid #517a67;background:#f7f8f5}.hg-firmeza-detail ul{display:grid;gap:10px;padding-left:1.2rem}.hg-firmeza-detail li>dl{margin:5px 0}.hg-firmeza-detail p{white-space:pre-wrap}@media(max-width:620px){.hg-component-details{grid-template-columns:1fr;padding:10px}.hg-component-details input{min-height:44px}}
.hg-entry.hg-entry-firmeza{border-left:4px solid var(--hg-sp-main);padding-left:10px;background:linear-gradient(90deg,var(--hg-sp-bg) 0,min(16%,90px),#fff min(42%,210px));color:#17324a}.hg-spiritual-signature{display:flex;align-items:center;gap:7px;color:var(--hg-sp-title);font-size:.82rem;font-weight:800}.hg-spiritual-signature>span{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border:1px solid var(--hg-sp-main);border-radius:50%;background:var(--hg-sp-bg);color:var(--hg-sp-main)}.hg-spiritual-detail-signature{display:flex;align-items:center;gap:11px;padding:10px 12px;border-left:4px solid var(--hg-sp-main);border-radius:8px;background:var(--hg-sp-bg);color:var(--hg-sp-text)}.hg-spiritual-detail-signature>span{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border:1px solid var(--hg-sp-main);border-radius:50%;color:var(--hg-sp-main)}.hg-spiritual-detail-signature p{display:grid;gap:2px;margin:0}.hg-spiritual-detail-signature strong{color:var(--hg-sp-title)}.hg-spiritual-detail-signature small{color:var(--hg-sp-text)}
.hg-consultation-options{display:grid;gap:0}.hg-consultation-option{display:grid!important;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:10px;padding:12px 8px;border-bottom:1px solid #e5e1d9;border-radius:8px}.hg-consultation-option:has(input:checked){background:#edf4f0;box-shadow:inset 0 0 0 2px #517a67}.hg-consultation-option>input{width:22px!important;min-height:22px!important}.hg-consultation-option>span{display:grid;gap:4px}.hg-consultation-option b{font-weight:750}.hg-consultation-option small{color:#68746e;overflow-wrap:anywhere}.hg-inline-status{min-height:1.4em;margin:0;color:#276441;font-weight:700}.hg-inline-status.is-error{color:#9a3030}.hg-link-button{border:0;background:transparent;color:#8a3434;text-decoration:underline;padding:6px;min-height:40px}.hg-context-tree li{overflow-wrap:anywhere}
