/* Ruction Elements Cloud 0.3.84 — content integrity recovery.
 * Overview remains on its approved six-cell layout engine.
 * Complex routes retain their original native page layout until their panel
 * heights can be safely managed by an adaptive editor. Existing user records
 * are neither changed nor deleted by the read-only restoration. */
#appShell .content-view.re384-native-content {
  min-width:0!important;
  overflow:visible!important;
}
/* Never force saved square-cell dimensions onto charts, forms, SEO research,
   collapsible settings, or other dynamic-height application components. */
#appShell .content-view.re384-native-content .re376-module,
#appShell .content-view.re384-native-content .re376-module.re376-fixed-height,
#appShell .content-view.re384-native-content .re376-module:not(.re376-fixed-height) {
  height:auto!important;
  max-height:none!important;
  min-height:0!important;
  overflow:visible!important;
  isolation:auto!important;
}
#appShell .content-view.re384-native-content .re376-module .re376-heading{
  padding-inline:0!important;
}
/* Native-content pages temporarily keep their own DOM layout. Do not offer
   handles whose old grid geometry cannot be represented faithfully here. */
#appShell .content-view.re384-native-content .re376-module>.re376-handle,
#appShell .content-view.re384-native-content .re376-module>.re376-resize,
#appShell .content-view.re384-native-content .re376-module>.re376-options{
  display:none!important;
}
#appShell .content-view.re384-native-content .re376-flow:not(.re380-grid-canvas){
  display:initial!important;
}
/* Per-page, explicit recovery action; never touches other views or websites. */
#appShell .content-view .re384-page-reset-row{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  padding:2px 0 7px!important;margin:0!important;
  min-height:0!important;background:transparent!important;border:0!important;
  position:relative!important;z-index:2!important;
  grid-column:1 / -1!important;flex:0 0 100%!important;width:100%!important;
}
#appShell .content-view .re384-page-reset{
  appearance:none!important;cursor:pointer!important;
  padding:6px 10px!important;border-radius:7px!important;
  font:600 11px/1.25 system-ui,sans-serif!important;
  background:rgba(0,160,208,.07)!important;
  color:var(--re-muted,#aeb9c0)!important;
  border:1px solid rgba(28,157,202,.38)!important;
}
#appShell .content-view .re384-page-reset:hover,
#appShell .content-view .re384-page-reset:focus-visible{
  color:var(--re-ink,#f4f7fa)!important;background:rgba(0,159,208,.20)!important;
  border-color:#00abe7!important;
}
/* Graphite-over-navy brand reconciliation. Preserve blue action accents and
   semantic green/red/amber status elements. These are only surface rules. */
#appShell[data-theme="dark"] :is(
 .re342-workflow,.re340-workflow,.re340-panel,.re340-confirm,
 .re305-inspector-card,.re305-disclosure,.re305-secondary>details,
 .re94-map-panel,.re94-side-card,.re94-bottom,.re94-aside>.re94-side-card,
 .re355-module,.re355-performance-insight,.re355-performance-hero,
 .re86-panel,.re351-panel,.re95-roadmap .re94-map-panel,
 .re342-report-card,.re342-page-card,.re340-results,
 .re317-scope .business-card,.re317-scope .business-shell>.panel
 ){
  background:var(--re-panel,#1b1d1f)!important;
  border-color:var(--re-line,#393d41)!important;
  color:var(--re-ink,#f4f6f8)!important;
  box-shadow:none!important;
}
#appShell[data-theme="dark"] :is(
 .re340-scroll th,.re340-scroll td,.re340-metadata-grid,
 .re342-controls,.re342-toolbar,.re342-page-row,
 .re94-group,.re94-node,.re305-roadmap .re305-alert,
 .re340-facts,.re351-investigation,.re355-hero-foot,
 .re94-side-card details,.re94-aside details
 ){
  background:var(--re-panel-2,#282a2d)!important;
  border-color:var(--re-line,#393d41)!important;
  color:var(--re-ink,#f4f6f8)!important;
}
#appShell[data-theme="dark"] :is(
 .re342-workflow,.re340-workflow,.re305-roadmap,.re94-map-panel,
 .re305-secondary,.re355-module,.re351-panel
 ) :is(h2,h3,h4,summary,label){color:var(--re-ink,#f4f6f8)!important;}
#appShell[data-theme="dark"] :is(
 .re342-workflow,.re340-workflow,.re305-roadmap,.re94-map-panel,
 .re355-module,.re351-panel
 ) :is(p,small,.re342-note,.re340-muted){color:var(--re-muted,#b0b7be)!important;}
#appShell[data-theme="light"] :is(
 .re342-workflow,.re340-workflow,.re340-panel,
 .re94-map-panel,.re94-side-card,.re94-bottom,
 .re355-module,.re355-performance-insight,.re355-performance-hero,
 .re86-panel,.re351-panel
 ){
  background:var(--re-panel,#fff)!important;
  border-color:var(--re-line,#e2e5e8)!important;
  color:var(--re-ink,#141619)!important;
}
/* Keep dynamic content accessible instead of manufacturing large empty cards. */
#appShell .content-view.re384-native-content :is(
 .re342-workflow,.re305-roadmap,.re94-layout,.re340-workflow,
 .re355-performance-hero,.re355-module,.re351-panel,.business-shell,
 .re86-grid,.re86-kpis,.google-data-panel
 ){
  max-height:none!important;
  overflow:visible!important;
  min-width:0!important;
}
#appShell .content-view.re384-native-content :is(
 table,.seo-table,.re340-scroll,.re342-page-list
 ){max-width:100%!important;}
@media(max-width:900px){
 #appShell .content-view.re384-native-content :is(.re94-layout,.re305-secondary,.re340-grid){
  grid-template-columns:minmax(0,1fr)!important;
 }
 #appShell .content-view .re384-page-reset-row{justify-content:flex-start!important;}
}
/* Selected route visibility always wins (including utility page selectors). */
#appShell .content-view[hidden],
#appShell .content-view[hidden].re384-native-content,
#appShell .content-view[hidden] .re384-page-reset-row{
  display:none!important;
}

/* v0.3.85: restore the two usable Elements-blue editing controls without
   reverting intrinsic-height/native-parent recovery. The third-dot menu is
   removed from the DOM, and structural containers cannot be manipulated. */
#appShell .content-view.re384-native-content .re385-native-safe.re385-native-movable>.re376-handle,
#appShell .content-view.re384-native-content .re385-native-safe.re385-native-resizable>.re376-resize{
 display:flex!important;
}
#appShell .content-view .re376-module>.re376-options,
#appShell .content-view.re384-native-content .re376-module>.re376-options{display:none!important;}
#appShell .content-view.re384-native-content .re385-native-safe{
 position:relative!important;box-sizing:border-box!important;isolation:isolate!important;
}
#appShell .content-view.re384-native-content .re385-native-safe.re385-native-sized{
 width:min(100%,var(--re385-width,100%))!important;
 max-width:100%!important;min-width:0!important;
}
/* Native panels never lose their form/chart/content visibility automatically.
   Only a customer-initiated vertical resize introduces a bounded scroll area. */
#appShell .content-view.re384-native-content .re385-native-safe.re385-native-height-sized{
 height:auto!important;min-height:120px!important;
 max-height:var(--re385-manual-height,none)!important;
 overflow:auto!important;overscroll-behavior:contain!important;
}
#appShell .content-view.re384-native-content .re385-native-grid{
 display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;
 grid-auto-rows:minmax(70px,auto)!important;gap:12px!important;
 align-items:start!important;align-content:start!important;
 box-sizing:border-box!important;min-width:0!important;
}
#appShell .content-view.re384-native-content .re385-native-grid>.re385-native-safe{
 grid-column:span var(--re385-span,6)!important;
 grid-row:auto!important;width:100%!important;min-width:0!important;
 height:auto!important;max-height:none!important;overflow:visible!important;
}
#appShell .content-view.re384-native-content .re385-native-grid>.re385-native-safe.re385-native-height-sized{
 max-height:var(--re385-manual-height,none)!important;overflow:auto!important;
}
#appShell .content-view.re384-native-content .re385-native-grid>.re385-native-placeholder{
 grid-column:span var(--re385-span,6)!important;grid-row:auto!important;
}
#appShell .content-view.re384-native-content .re385-native-parent{position:relative!important;}
#appShell .content-view.re384-native-content .re385-native-placeholder{
 flex:0 0 auto!important;box-sizing:border-box!important;
 border:2px dashed #35c8f1!important;border-radius:9px!important;
 background:rgba(0,166,226,.13)!important;pointer-events:none!important;
}
#appShell .content-view.re384-native-content .re385-native-safe.re385-native-floating{
 position:fixed!important;top:var(--re385-float-top)!important;left:var(--re385-float-left)!important;
 width:var(--re385-float-width)!important;height:var(--re385-float-height)!important;
 max-height:none!important;min-height:0!important;overflow:auto!important;
 z-index:2147483000!important;opacity:.91!important;pointer-events:none!important;
 border:2px solid #28bfe9!important;box-shadow:0 14px 42px rgba(0,22,38,.65)!important;
 transition:none!important;
}
#appShell .content-view.re384-native-content .re385-native-resizing{
 outline:2px solid #21c5f4!important;
}
#appShell .content-view.re384-native-content .re385-native-guide{
 position:absolute!important;top:0!important;left:0!important;width:100%!important;
 min-height:100%!important;z-index:0!important;pointer-events:none!important;
 display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;
 grid-auto-rows:var(--re385-cell,130px)!important;gap:12px!important;
 box-sizing:border-box!important;opacity:.62!important;
}
#appShell .content-view.re384-native-content .re385-native-guide-cell{
 border:1px dashed rgba(30,184,236,.35)!important;
 background:rgba(20,158,204,.06)!important;border-radius:6px!important;
}
#appShell .content-view.re384-native-content .re385-native-editing>.re385-native-safe{
 position:relative;z-index:1;
}
#appShell .content-view.re384-native-content .re385-native-editing>.re385-native-safe.re385-native-floating{
 position:fixed!important;z-index:2147483000!important;
}
/* Structural module shells with nested editable children are never draggable. */
#appShell .content-view.re384-native-content .re382-structural>:is(.re376-handle,.re376-resize){display:none!important;}
#appShell .content-view .re385-restore-previous{margin-inline-start:8px!important;}
#appShell .content-view .re385-restore-previous[hidden]{display:none!important;}
/* With no three-dot action, only the move handle needs heading clearance. */
#appShell .re376-module .re376-heading{padding-left:37px!important;padding-right:0!important;}
#appShell .content-view.re384-native-content .re376-module .re376-heading{padding-inline:37px 0!important;}
@media(max-width:700px){
 #appShell .content-view.re384-native-content .re385-native-grid{display:flex!important;flex-direction:column!important;gap:12px!important;}
 #appShell .content-view.re384-native-content .re385-native-grid>.re385-native-safe{
  width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;
 }
 #appShell .content-view.re384-native-content .re385-native-safe>.re376-handle,
 #appShell .content-view.re384-native-content .re385-native-safe>.re376-resize{display:none!important;}
}
@media(prefers-reduced-motion:reduce){#appShell .content-view.re384-native-content .re385-native-safe{animation:none!important;transition:none!important;}}
