/* The case-study shell only; the real editor styles live inside its own frame. */
.mine-experience { padding: 32px 0 48px; scroll-margin-top: 110px; background: #f8f9fb; }
.mine-experience__heading { margin-bottom: 24px; }
.mine-experience__heading h2 { margin: 8px 0 12px; font-size: clamp(25px, 3.5vw, 38px); line-height: 1.5; }
.mine-experience__heading > p:last-child { color: #495363; line-height: 1.8; }
.mine-demo-panel { position: relative; inset: auto; display: flex; flex-direction: column; width: 100%; max-width: none; max-height: none; margin: 0; padding: 0; color: inherit; background: #fff; border: 1px solid #d7dce4; border-radius: 16px; box-shadow: 0 12px 35px rgba(30, 36, 48, .05); overflow: hidden; }
.mine-demo-panel__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; flex-shrink: 0; padding: 10px 16px; border-bottom: 1px solid #d7dce4; background: #fff; }
.mine-demo-panel__bar > span { font-size: 14px; font-weight: 700; }
.mine-demo-panel__bar button { min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid #c5ccd8; border-radius: 8px; font: inherit; font-size: 16px; font-weight: 700; line-height: 1.5; color: #172539; background: #fff; cursor: pointer; }
.mine-demo-panel__bar button:hover { background: #f3f5f8; }
.mine-demo-panel__bar button:focus-visible { outline: 3px solid #3152e8; outline-offset: 3px; }
.mine-demo-panel [hidden] { display: none !important; }
#mine-demo-frame { display: block; flex: 1 1 auto; width: 100%; height: clamp(640px, 78svh, 850px); min-height: 0; border: 0; background: #f9f6ef; }
.mine-demo-panel[data-expanded="true"] { position: fixed; inset: 12px; margin: auto; width: calc(100% - 24px); height: calc(100dvh - 24px); max-width: 1440px; max-height: none; border-radius: 14px; }
.mine-demo-panel[data-expanded="true"] #mine-demo-frame { height: 100%; }
.mine-demo-panel::backdrop { background: rgba(16, 24, 39, .72); }
html.mine-demo-open { overflow: hidden; }
.mine-experience__note { margin: 14px 0 0; color: #66707c; font-size: 14px; line-height: 1.9; }
.mine-experience__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.case-wine .case-process-details > summary { min-height: 48px; padding: 18px 0; font-size: 1.25rem; font-weight: 700; cursor: pointer; }
.case-wine .case-process-details > summary:focus-visible { outline: 3px solid #3152e8; outline-offset: 5px; }
.case-wine .case-process-details[open] > summary { margin-bottom: 24px; }
@media (max-width: 600px) {
  .mine-experience .wrap { padding-inline: 12px; }
  .mine-experience__heading { padding-inline: 8px; }
  .mine-demo-panel__bar { padding: 8px 10px; }
  .mine-demo-panel__bar > span { font-size: 13px; }
  #mine-demo-frame { height: min(740px, 82svh); min-height: 490px; }
  .mine-demo-panel[data-expanded="true"] { inset: 0; width: 100%; height: 100dvh; border: 0; border-radius: 0; }
  .mine-demo-panel[data-expanded="true"] #mine-demo-frame { min-height: 0; }
}
