/* Only independent behavior states; the original public stylesheet owns design. */
[data-reconstruction-content-panel][aria-hidden="true"] { visibility: hidden !important; pointer-events: none !important; }
[data-reconstruction-content-panel][aria-hidden="false"] { visibility: visible !important; }
[data-reconstruction-testimonial-active] { transition: opacity 500ms ease, transform 500ms ease; }
[data-reconstruction-testimonial-active="true"] { position: relative !important; opacity: 1 !important; transform: none !important; z-index: 10 !important; visibility: visible !important; }
[data-reconstruction-testimonial-active="false"] { position: absolute !important; inset: 0; opacity: 0 !important; z-index: 0 !important; visibility: hidden !important; pointer-events: none !important; }
[data-reconstruction-testimonial-active][hidden] { display: none !important; }
[data-reconstruction-testimonial-stage] { min-height: clamp(8rem, 14vw, 12rem); }
[data-reconstruction-testimonial-stage] blockquote { color: hsl(var(--foreground)); line-height: 1.6; }
[data-reconstruction-image-comparison] { touch-action: pan-y; user-select: none; }
[data-reconstruction-image-comparison] [role="slider"] { touch-action: none; }
[data-reconstruction-image-comparison] [role="slider"]:focus-visible { outline: 2px solid hsl(var(--highlight)); outline-offset: 5px; }
#why-choose-yearly, #compare-plans { scroll-margin-top: 20px; }
button[aria-busy="true"] { cursor: progress; }
@media (prefers-reduced-motion: reduce) {
  [data-reconstruction-content-panel], [data-reconstruction-testimonial-active] { transition: none !important; }
}

.recon-content-prompt-dialog { margin: 0; max-width: calc(100vw - 24px); }
.recon-content-prompt-dialog:not([open]) { display: none; }
.recon-content-prompt-dialog::backdrop { background: rgba(0, 0, 0, .8); }
@media (min-width:640px) { .recon-content-prompt-dialog { max-width: 1180px; } }
@media (min-width:1024px) { .recon-content-prompt-dialog { max-width: 1280px; } }
@media (min-width:1280px) { .recon-content-prompt-dialog { max-width: 1360px; } }

.recon-prompt-generation-message { font-size: .75rem; line-height: 1.5; color: hsl(var(--muted-foreground)); }
.recon-prompt-generation-message[role="alert"] { color: hsl(var(--destructive)); }
.recon-prompt-candidate[aria-checked="true"] .recon-prompt-choice-dot { border-color: hsl(var(--highlight)); background: hsl(var(--highlight)); }
.recon-prompt-candidate[aria-checked="true"] .recon-prompt-choice-dot::after { content: ""; width: .5rem; height: .5rem; border-radius: 999px; background: hsl(var(--background)); }
.recon-prompt-candidate:focus-visible { outline: 2px solid hsl(var(--highlight)); outline-offset: 2px; }

/* Source case gallery 532215 opens asset details 896304; independent dialog. */
.recon-home-gallery-scroll-lock { overflow: hidden !important; }
.recon-home-gallery-dialog { box-sizing:border-box; margin:auto; padding:0; width:96vw; max-width:96vw; min-height:65vh; max-height:96vh; overflow:visible; border:2px solid hsl(var(--border)); border-radius:.5rem; background:hsl(var(--background)); color:hsl(var(--foreground)); box-shadow:0 0 32px rgba(249,223,11,.08),0 0 25px rgba(0,0,0,.25); }
.recon-home-gallery-dialog[open] { display:flex; flex-direction:column; }
.recon-home-gallery-dialog:not([open]) { display:none; }
.recon-home-gallery-dialog::backdrop { background:rgba(0,0,0,.8); }
.recon-home-gallery-close-row { display:flex; justify-content:flex-end; padding:1rem; }
.recon-home-gallery-close-row button { color:hsl(var(--muted-foreground)); }
.recon-home-gallery-close-row button:hover { color:hsl(var(--foreground)); }
.recon-home-gallery-scroll { min-height:0; flex:1; overflow-y:auto; padding:1.5rem; }
.recon-home-gallery-layout { display:flex; min-height:55vh; flex-direction:column; gap:1.5rem; }
.recon-home-gallery-media { display:flex; flex:1; min-width:0; align-items:center; justify-content:center; }
.recon-home-gallery-media>img { max-height:65vh; max-width:100%; width:auto; height:auto; border-radius:.375rem; object-fit:contain; }
.recon-home-gallery-details { display:flex; flex-direction:column; width:100%; }
.recon-home-gallery-author { display:flex; align-items:center; gap:.5rem; margin-bottom:1rem; color:white; font-size:.875rem; font-weight:500; }
[data-home-gallery-avatar] { display:flex; width:2rem; height:2rem; flex-shrink:0; align-items:center; justify-content:center; overflow:hidden; border-radius:999px; background:linear-gradient(to right,#facc15,#fb923c); }
[data-home-gallery-avatar]>img { width:100%; height:100%; object-fit:cover; }
[data-home-gallery-date] { margin-bottom:1rem; color:hsl(var(--muted-foreground)); font-size:.875rem; }
.recon-home-gallery-prompt-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:.75rem; }
.recon-home-gallery-prompt-heading h3 { font-size:1.125rem; font-weight:600; }
.recon-home-gallery-prompt-heading button { padding:.5rem; border-radius:.375rem; }
.recon-home-gallery-prompt-heading button:hover { background:hsl(var(--secondary)/.4); }
.recon-home-gallery-prompt { max-height:10rem; overflow-y:auto; padding:1rem; margin-bottom:1.5rem; border:1px solid hsl(var(--border)/.2); border-radius:.5rem; background:hsl(var(--secondary)/.2); }
.recon-home-gallery-prompt p { font-size:.875rem; line-height:1.625; overflow-wrap:anywhere; }
.recon-home-gallery-properties { overflow:hidden; border:1px solid hsl(var(--border)/.3); border-radius:.5rem; background:hsl(var(--card)/.5); }
.recon-home-gallery-properties>h3 { padding:.75rem 1rem; border-bottom:1px solid hsl(var(--border)/.2); background:hsl(var(--secondary)/.2); font-size:1rem; font-weight:600; }
.recon-home-gallery-properties dl { display:flex; flex-direction:column; gap:1rem; padding:1rem; }
.recon-home-gallery-properties dl>div { display:flex; align-items:center; justify-content:space-between; gap:.75rem; padding:.5rem 0; border-bottom:1px solid hsl(var(--border)/.1); }
.recon-home-gallery-properties dl>div:last-child { border-bottom:0; }
.recon-home-gallery-properties dt { color:hsl(var(--muted-foreground)); font-size:.875rem; font-weight:500; }
.recon-home-gallery-properties dd:not(:has(.recon-home-gallery-completed)) { padding:.25rem .75rem; border-radius:999px; background:hsl(var(--secondary)/.3); font-size:.875rem; font-weight:500; }
.recon-home-gallery-completed { display:inline-flex; align-items:center; gap:.25rem; padding:.25rem .5rem; border-radius:999px; color:#dcfce7; background:#22c55e66; font-size:.875rem; }
.recon-home-gallery-footer { display:flex; justify-content:flex-end; gap:1rem; padding:1rem; border-top:1px solid hsl(var(--border)/.2); }
[data-home-gallery-use] { height:2rem; padding:.5rem .75rem; border-radius:.375rem; color:white; background:linear-gradient(to right,#facc15,#fb923c); font-size:.875rem; }
[data-home-gallery-use]:disabled { opacity:.5; cursor:not-allowed; }
.recon-home-gallery-nav { position:fixed; top:50%; z-index:20; transform:translateY(-50%); display:flex; align-items:center; justify-content:center; padding:.75rem; border-radius:999px; color:white; background:#0009; }
.recon-home-gallery-prev { left:2rem; }.recon-home-gallery-next { right:2rem; }
.recon-home-gallery-dialog button:focus-visible,[data-reconstruction-gallery-case]:focus-visible { outline:2px solid hsl(var(--highlight)); outline-offset:3px; }
@media(min-width:768px) { .recon-home-gallery-dialog { max-width:90vw; min-height:70vh; max-height:92vh; } [data-home-gallery-date],.recon-home-gallery-prompt p { font-size:1rem; } }
@media(min-width:1024px) { .recon-home-gallery-dialog { max-width:85vw; }.recon-home-gallery-layout { flex-direction:row; gap:3rem; }.recon-home-gallery-details { width:24rem; flex-shrink:0; } }
@media(min-width:1280px) { .recon-home-gallery-dialog { max-width:80vw; }.recon-home-gallery-details { width:420px; } }

[data-home-gallery-download] { display:flex; align-items:center; justify-content:center; padding:.5rem; color:#9ca3af; border-radius:.375rem; }
[data-home-gallery-download][hidden] { display:none; }
[data-home-gallery-download]:hover { background:#6b728033; }
[data-home-gallery-download]:disabled { opacity:.5; cursor:not-allowed; }
