/* Consumer-first progressive disclosure; existing tools remain available. */
.studio-guide { border: 1px solid #ded6c4; background: #f4f0e6; margin-top: 26px; padding: 20px 24px; scroll-margin-top: 90px; }
.guide-topline { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.guide-topline > div > p { font-size: 10px; letter-spacing: .16em; color: #9c896b; margin: 0 0 8px; }
.guide-topline h2 { font: 400 24px/1.5 var(--font-editorial); margin: 0; }
.guide-all { display: flex; gap: 7px; font-size: 11px; color: #7d806e; white-space: nowrap; align-items: center; }
.guide-steps { display: flex; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.guide-steps li { flex: 1; min-width: 0; }
.guide-steps button { display: flex; width: 100%; align-items: center; gap: 9px; text-align: left; font: inherit; font-size: 12px; border: 0; border-top: 1px solid #d1c8b6; color: #8b887a; background: transparent; padding: 12px 0 3px; cursor: pointer; }
.guide-steps button span { font: 14px Georgia,serif; color: #ad9a7b; }
.guide-steps button[aria-current="step"] { border-color: #526246; color: #3d5034; font-weight: 600; }
.guide-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; }
.guide-hint { font-size: 11px; color: #7b7b6b; line-height: 1.9; margin: 0; max-width: 750px; }
.guide-actions { display: flex; flex-shrink: 0; gap: 8px; }
.guided-mode .guide-btn { min-height: 40px; padding: 9px 16px; border: 1px solid #c6b99f; background: transparent; color: #526044; font: inherit; font-size: 12px; cursor: pointer; }
.guided-mode .guide-btn--primary { color: #fcf9ed; background: #47583e; border-color: #47583e; }
.guide-btn:disabled { opacity: .4; cursor: default; }
.guided-mode .studio-workbench { align-items: start; margin-top: 14px; grid-template-columns: 270px minmax(0,1.12fr) minmax(0,1fr); }
.guided-mode .studio-controls { min-width: 0; display: block; position: sticky; top: 94px; max-height: calc(100dvh - 112px); overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain; padding: 22px; }
.guided-mode .studio-design-panel,.guided-mode .studio-preview-panel { min-width: 0; position: sticky; top: 94px; }
.guided-mode .studio-controls__heading { margin-bottom: 16px; }
.guided-mode .studio-controls__heading h2 { font-size: 23px; }
.guided-mode .studio-controls__heading { display: none; }
.guide-compact { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 0; margin: -12px 0 20px; background: #f4f0e6; position: sticky; top: -22px; z-index: 3; border-bottom: 1px solid #d5ccb6; }
.guide-compact > span { font-size: 11px; color: #4b5d43; }
.guide-compact .guide-btn { padding: 6px 8px; min-height: 36px; font-size: 10px; }
.guide-source-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.guide-source-actions .guide-btn { padding: 8px; }
.guide-source-actions .guide-btn:last-child { grid-column: 1 / -1; }
.guide-library > summary { color: #526044; cursor: pointer; font-size: 13px; padding: 10px 0; }
.guide-library[open] > summary { margin-bottom: 9px; }
.guide-library-grid { max-height: 250px; overflow: auto; scrollbar-width: thin; }
.guide-layer-list { max-height: 235px; overflow: auto; scrollbar-width: thin; }
.guided-mode .studio-controls [data-guide-step][hidden] { display: none !important; }
.guided-mode .studio-control-block,.guide-block { margin-bottom: 20px; }
.guide-block h3 { margin: 0 0 12px; font-size: 13px; font-weight: 500; color: #555e49; }
.guide-block p { font-size: 11px; line-height: 1.9; color: #8a826f; }
.guide-models { display: grid; gap: 9px; }
.guide-models button { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; background: #faf8f1; color: #59604c; border: 1px solid #dbd1bd; padding: 10px; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.guide-models button[aria-pressed="true"] { border-color: #73835a; background: #eeefdf; }
.guide-models svg { width: 32px; height: 40px; fill: #dcd8c8; stroke: #7c846b; stroke-width: 14; }
.guide-models small { display: block; font-size: 9px; color: #9a8e76; margin-top: 5px; }
.guide-colors { display: grid; gap: 14px; }
.guide-color-row > label { display: flex; align-items: center; justify-content: space-between; font-size: 11px; margin-bottom: 7px; color: #666f58; }
.guide-color-row > label small { color: #9c8c72; font-size: 9px; }
.guide-color-swatches { display: grid; grid-template-columns: repeat(6,1fr); gap: 7px; }
.guide-color-swatches button { min-width: 0; aspect-ratio: 1; border: 1px solid #cfc5b4; border-radius: 50%; background: var(--swatch); cursor: pointer; position: relative; padding: 0; }
.guide-color-swatches button[aria-pressed="true"]::after { content: ""; position: absolute; inset: -4px; border: 1px solid #61794d; border-radius: inherit; }
.guide-color-input { height: 28px; width: 48px; border: 1px solid #d2c4ae; padding: 2px; background: transparent; }
.guide-advanced { border-top: 1px solid #d9d0bd; padding-top: 12px; margin-top: 20px; }
.guide-advanced > summary { color: #8c8168; font-size: 11px; cursor: pointer; line-height: 1.8; padding: 6px 0; }
.guide-advanced .studio-cotton { padding-top: 12px; }
.guide-library-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.guide-library input[type="search"], .guide-library select { width: 100%; min-width: 0; min-height: 37px; padding: 8px; border: 1px solid #d3c8b2; background: #faf8f2; color: #59634a; font: inherit; font-size: 11px; margin-bottom: 8px; }
.guide-library-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.guide-pattern { min-width: 0; padding: 7px; border: 1px solid #ded6c4; background: #faf8f1; cursor: pointer; color: #6b735b; font: inherit; font-size: 10px; text-align: left; }
.guide-pattern img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background-color: #f1ede3; background-image: linear-gradient(45deg,#e5e0d522 25%,transparent 25%),linear-gradient(-45deg,#e5e0d522 25%,transparent 25%); background-size: 12px 12px; margin-bottom: 5px; }
.guide-pattern span { display: block; overflow-wrap: anywhere; }
.guide-pattern small { display: block; color: #9c8f78; font-size: 9px; margin-top: 4px; }
.guided-mode .guide-pattern { font-size: 11px; color: #586548; }
.guide-pattern:hover { border-color: #839466; }
.guide-library-status { font-size: 10px !important; }
.guide-pager { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; }
.guide-layer-list { display: grid; gap: 7px; margin-block: 12px; }
.guide-layer { border: 1px solid #dfd5c2; padding: 8px; background: #f8f5ec; }
.guide-layer[data-selected="true"] { border-color: #7c8e61; }
.guide-layer > button { padding: 3px; width: 100%; text-align: left; background: transparent; border: 0; color: #5d664d; font: inherit; font-size: 11px; cursor: pointer; overflow-wrap: anywhere; }
.guide-layer-tools { display: flex; gap: 5px; margin-top: 6px; }
.guide-layer-tools button { min-height: 30px; flex: 1; padding: 4px; border: 1px solid #d8ceb9; color: #7f806a; background: transparent; font: inherit; font-size: 10px; cursor: pointer; }
.guide-layer-tools button:disabled { opacity: .4; }
.guide-layer-empty { font-size: 11px; color: #988b73; padding: 12px 0; }
.guide-review dl { display: grid; gap: 13px; margin: 0 0 20px; }
.guide-review dt { font-size: 10px; color: #a08c69; margin-bottom: 5px; }
.guide-review dd { font-size: 12px; color: #576149; line-height: 1.9; margin: 0; }
.guide-review .guide-btn { width: 100%; margin-top: 10px; }
.guide-mobile-return { display: none; }
.guided-mode :is(button,input,select,summary):focus-visible { outline: 2px solid #879768; outline-offset: 3px; }
@media (max-width: 1200px) and (min-width: 1025px) {
  .guided-mode .studio-workbench { grid-template-columns: 230px minmax(0,1fr) minmax(0,1fr); }
  .guided-mode .studio-controls { padding: 16px; }
}
@media (max-width: 1024px) {
  .guided-mode .studio-workbench { grid-template-columns: 280px minmax(0,1fr); }
  .guided-mode .studio-controls { grid-column: 1; grid-row: 1 / span 2; }
  .guided-mode .studio-design-panel,.guided-mode .studio-preview-panel { grid-column: 2; position: static; }
}
@media (max-width: 699px) {
  .studio-guide { padding: 18px 16px; margin-top: 18px; }
  .guide-topline { align-items: start; gap: 12px; }
  .guide-topline h2 { font-size: 22px; }
  .guide-all { font-size: 10px; }
  .guide-steps { gap: 9px; overflow-x: auto; }
  .guide-steps li { min-width: 56px; }
  .guide-steps button { display: grid; gap: 6px; font-size: 10px; }
  .guide-nav { display: block; }
  .guide-actions { margin-top: 14px; justify-content: space-between; }
  .guided-mode .studio-workbench { display: flex; flex-direction: column; }
  .guided-mode .studio-controls { position: static; max-height: none; overflow: visible; width: 100%; padding: 20px; }
  .guide-compact { position: static; margin-top: -6px; }
  .guide-source-actions { grid-template-columns: repeat(3,1fr); }
  .guide-source-actions .guide-btn:last-child { grid-column: auto; }
  .guided-mode .guide-source-actions .guide-btn { padding-inline: 6px; white-space: nowrap; font-size: 12px; }
  .guided-mode .studio-design-panel,.guided-mode .studio-preview-panel { position: static; width: 100%; }
  .guide-library-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .guide-models { grid-template-columns: 1fr; }
  .guide-colors { grid-template-columns: 1fr; gap: 20px; }
  .guide-color-swatches { gap: 6px; }
  .guide-mobile-return { display: flex; flex-wrap: wrap; position: sticky; bottom: 0; padding: 10px 16px; gap: 8px; z-index: 4; width: 100%; border-top: 1px solid #d8ccb5; background: #f8f5edf5; }
  .guide-mobile-return button { flex: 1; }
  .guide-layer-list { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .guided-mode { scroll-behavior: auto; }
}
