/* Curated finishes use the existing HELIOS colours, typography and viewer. */
.palette-panel { overflow-y: auto; scrollbar-width: thin; }
.palette-panel fieldset { position: relative; }
@media (min-width: 761px) { .experience { grid-template-columns: minmax(0,1fr) 365px; } }
@media (min-width: 1600px) { .experience { grid-template-columns: minmax(0,1fr) 390px; } }
#finish-controls { min-width: 0; margin-top: 18px; }
.finish-section { border-top: 1px solid var(--line); }
.finish-section > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 58px; cursor: pointer; list-style: none; font-size: 11px; font-weight: 500; }
.finish-section > summary::-webkit-details-marker, .selection-summary > summary::-webkit-details-marker { display: none; }
.finish-section > summary::after { content: '+'; font-size: 17px; font-weight: 400; }
.finish-section[open] > summary::after { content: '−'; }
.finish-section > summary > span:first-child { flex: 1; }
.finish-section [data-current] { max-width: 48%; font-size: 9px; text-align: right; color: var(--muted); font-weight: 400; line-height: 1.5; }
#finish-controls fieldset { border: 0; padding: 0 0 18px; margin: 0; min-width: 0; }
#finish-controls fieldset:disabled { opacity: .55; }
.finish-help, .finish-footnote, .quote-note, .save-notice { font-size: 10px; line-height: 1.65; color: var(--muted); margin: 0 0 12px; }
.palette-tier { font-size: 9px; color: var(--muted); margin: 16px 0 9px; }
.catalogue-swatches { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.catalogue-swatch { display: flex; gap: 8px; align-items: center; min-height: 55px; padding: 7px; border: 1px solid transparent; border-radius: 6px; background: #ffffff38; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.catalogue-swatch:hover:not(:disabled) { background: #ffffff80; }
.catalogue-swatch[aria-pressed=true] { border-color: var(--ink); background: #ffffffa0; }
.catalogue-sample { width: 28px; height: 32px; flex: none; border-radius: 3px; background: var(--sample); box-shadow: inset 0 0 0 1px #09233818; }
.decking-sample { background: repeating-linear-gradient(90deg,var(--sample) 0 9px,var(--seam) 9px 10px); }
.sample-copy { display: flex; flex-direction: column; gap: 4px; font-size: 9px; line-height: 1.35; overflow-wrap: anywhere; }
.sample-copy small { font-size: 8px; color: var(--muted); font-weight: 400; }
.material-toggle { display: flex; padding: 3px; border: 1px solid #aeb8bb; border-radius: 24px; margin-bottom: 12px; }
.material-toggle button { flex: 1; padding: 10px 4px; min-height: 42px; border: 0; border-radius: 20px; background: transparent; color: var(--ink); font: inherit; font-size: 10px; cursor: pointer; }
.material-toggle button[aria-pressed=true] { background: var(--ink); color: white; }
.custom-disclosure { margin-top: 14px; }
.custom-disclosure > summary { cursor: pointer; font-size: 10px; padding: 10px 0; min-height: 40px; }
.custom-disclosure > summary span { float: right; font-size: 9px; color: var(--muted); }
.custom-select { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid #aeb8bb; border-radius: 6px; color: var(--ink); background: transparent; font: inherit; font-size: 10px; cursor: pointer; }
.custom-select[aria-pressed=true] { background: var(--ink); color: white; }
.custom-picker { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; font-size: 10px; }
.custom-picker input[type=color] { width: 54px; min-width: 54px; height: 36px; padding: 2px; border: 1px solid #aeb8bb; border-radius: 4px; }
.custom-picker select { padding: 7px; border: 1px solid #aeb8bb; background: var(--paper); border-radius: 4px; color: var(--ink); font: inherit; }
.request-check { display: flex; gap: 10px; align-items: center; min-height: 52px; margin-top: 12px; font-size: 10px; cursor: pointer; }
.request-check input { width: 18px; height: 18px; flex: none; accent-color: var(--ink); }
.request-check span { display: flex; flex-direction: column; gap: 5px; }
.request-check small { font-size: 9px; color: var(--muted); line-height: 1.5; }
.custom-text-label { display: block; font-size: 10px; line-height: 1.6; margin: 10px 0 6px; }
#personalisation-text { display: block; width: 100%; resize: vertical; padding: 10px; border: 1px solid #aeb8bb; border-radius: 5px; font: inherit; font-size: 12px; color: var(--ink); background: #fff8; margin-bottom: 10px; }
.selection-summary { margin: 14px 0; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #ffffff35; }
.selection-summary > summary { font-size: 11px; font-weight: 500; cursor: pointer; }
#configuration-summary { margin: 16px 0; }
#configuration-summary > div { margin: 12px 0; }
#configuration-summary dt { font-size: 9px; color: var(--muted); margin-bottom: 4px; }
#configuration-summary dd { margin: 0; font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.selection-tier { display: block; font-size: 8px; color: var(--muted); }
.selection-tier.quote { color: #745425; }

.finish-footnote { font-size: 9px; }
.save-notice { font-size: 9px; margin: 0; }
#finish-controls [hidden] { display: none !important; }
#finish-controls :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.omega-download-button { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 46px; border: 0; border-radius: 24px; padding: 12px 16px; color: white; background: var(--ink); font: inherit; font-size: 10px; cursor: pointer; }
.omega-download-button:disabled { opacity: .5; cursor: wait; }
.download-hint { text-align: center; font-size: 9px; line-height: 1.5; color: var(--muted); margin: 9px 0 0; }
.omega-export-dialog { box-sizing: border-box; width: min(700px,94vw); max-height: 92dvh; padding: 25px; border: 0; border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: 0 16px 80px #09233838; }
.omega-export-dialog::backdrop { background: #09233880; backdrop-filter: blur(4px); }
.export-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.export-heading p { margin: 0 0 8px; font-size: 9px; letter-spacing: 2px; }
.export-heading h2 { font-size: 22px; font-weight: 500; margin: 0; letter-spacing: -.5px; }
#close-export { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; font-size: 24px; flex: none; cursor: pointer; }
.export-message { font-size: 11px; line-height: 1.7; color: var(--muted); margin: 16px 0; }
.export-error { color: #8a382a; }
.export-preview { max-height: 57dvh; overflow: auto; background: #e5e3dc; border-radius: 4px; padding: 12px; }
.export-preview img { display: block; width: 100%; height: auto; box-shadow: 0 3px 18px #09233818; }
.export-downloads { display: flex; gap: 12px; margin: 18px 0 10px; }
.export-downloads a { display: flex; justify-content: space-between; gap: 20px; flex: 1; border: 1px solid var(--ink); border-radius: 24px; padding: 13px 18px; font-size: 11px; color: var(--ink); text-decoration: none; }
.export-downloads a:first-child { background: var(--ink); color: white; }
.export-caption { font-size: 10px; color: var(--muted); line-height: 1.7; margin: 8px 0 0; }
.omega-export-dialog [hidden] { display: none !important; }
@media (max-width: 500px) { .omega-export-dialog { padding: 18px; } .export-heading h2 { font-size: 18px; } .export-downloads a { padding: 12px; font-size: 10px; gap: 10px; } }
@media (max-width:760px) {
  .palette-panel { overflow: visible; }
  .finish-section > summary { min-height: 60px; font-size: 12px; }
  .finish-section [data-current] { font-size: 10px; }
  .catalogue-swatch { min-height: 62px; padding: 9px; }
  .sample-copy { font-size: 10px; }
  .sample-copy small { font-size: 9px; }
  .material-toggle button, .custom-select { min-height: 44px; }
  .finish-help, .custom-picker, .request-check { font-size: 11px; }
  .custom-disclosure > summary { min-height: 44px; font-size: 11px; }
}
