.decor-picker { margin: 0 0 1rem; padding: 0 0 1rem; border: 0; border-bottom: 1px solid var(--line, #dce2da); min-width: 0; }
.decor-picker legend { font-weight: 700; margin-bottom: .65rem; }
.decor-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.15rem), 1fr)); gap: .4rem; }
.decor-choice { position: relative; min-width: 0; cursor: pointer; }
.decor-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.decor-choice span { display: flex; height: 100%; flex-direction: column; align-items: center; padding: .25rem; border: 1px solid #cbd2c9; border-radius: .4rem; background: #fff; text-align: center; font-size: .68rem; line-height: 1.22; font-weight: 650; letter-spacing: .015em; }
.decor-choice img { width: 100%; height: 42px; object-fit: contain; margin-bottom: .25rem; }
.decor-choice input:checked + span { outline: 2px solid #83a923; outline-offset: -2px; background: #f7faef; }
.decor-choice input:focus-visible + span { outline: 3px solid #253e0a; outline-offset: 2px; }
.decor-choice:hover span { border-color: #758466; }
.decor-status { margin: .55rem 0 0; font-size: .85rem; color: #43523a; line-height: 1.4; }
.material-text h2 .decor-name { color: inherit; font: inherit; }
.decor-choice b { display: block; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.visual-panel .view-toolbar {
  position: static;
  padding: .55rem .65rem;
  background: #f7f8f5;
  border-bottom: 1px solid var(--line);
}
.visual-panel .plan-panel { flex-direction: column; }
.visual-panel .plan-host { position: relative; flex: 1 1 auto; min-height: 0; }
.visual-panel .plan-bottom {
  position: static;
  padding: .35rem .65rem .5rem;
  background: var(--canvas);
}
@media (max-width: 430px) {
  .visual-panel .view-toolbar { padding: .45rem .5rem; }
  .visual-panel .plan-bottom { padding-inline: .5rem; }
}
.model-picker { margin-bottom: 1rem; }
.model-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .4rem; }
.model-options .choice-face { height: 100%; padding-inline: .35rem; text-align: center; }
.material-text h2 #board-model-name { font: inherit; }
#family-compare { margin: .8rem 0 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
#family-compare h3 { font-size: 1.05rem; }
#family-compare-basis { color: var(--muted); font-size: .9rem; margin: .3rem 0 .7rem; }
.family-compare-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem),1fr)); gap: .6rem; }
.family-compare-list article { border: 1px solid var(--line); border-radius: .45rem; background: #fff; padding: .75rem .9rem; }
.family-compare-list h4 { margin: 0 0 .22rem; }
.family-compare-list strong, .family-compare-list small { display: block; }
.family-compare-list small { color: var(--muted); margin-top: .2rem; }
@media (max-width: 550px) { .family-compare-list { grid-template-columns: 1fr; } }

#edge-controls { margin-top: 1rem; padding-block: .25rem; border-block: 1px solid var(--line); }
#edge-controls summary { display: flex; align-items: center; gap: .5rem; min-height: 44px; cursor: pointer; }
#edge-controls summary::-webkit-details-marker { display: none; }
#edge-controls summary > strong { margin-right: auto; }
#edge-controls summary > span { color: var(--muted); font-size: .85rem; }
#edge-controls summary .icon { width: 14px; height: 14px; }
#edge-controls[open] summary .icon { transform: rotate(180deg); }
#edge-choices { border: 0; padding: 0; margin: .5rem 0; min-width: 0; }
#edge-choices legend { padding: 0; font-weight: 650; }
#edge-choices .field-hint { margin: .25rem 0 .65rem; }
.edge-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .4rem; }
.edge-options label { display: flex; align-items: center; min-height: 44px; gap: .55rem; padding: .4rem .6rem; border: 1px solid var(--line); border-radius: .4rem; cursor: pointer; }
.edge-options label:has(:checked) { border-color: #81a821; background: #f6f9ef; }
.edge-options label:focus-within { outline: 2px solid #405725; outline-offset: 1px; }
.edge-options input { flex: none; width: 1.1rem; height: 1.1rem; margin: 0; accent-color: #577916; }
.edge-options span { font-size: .88rem; line-height: 1.25; font-weight: 600; }
.edge-options small { display: block; color: var(--muted); font-size: .78rem; font-weight: 400; }
#edge-stock-field { display: block; margin: .7rem 0; font-weight: 600; font-size: .88rem; }
#edge-stock { display: block; width: 100%; min-height: 44px; margin-top: .3rem; padding: .4rem; border: 1px solid var(--line); border-radius: .4rem; background: #fff; color: inherit; font: inherit; }
#edge-choice-total { margin: .6rem 0 .2rem; font-size: .9rem; font-weight: 650; color: #354e22; }
#edge-method { margin: .35rem 0; }
#show-edge-plan { margin-bottom: .5rem; }

@media print {
  .site-header { position: static; }
  .site-header nav, .site-header .header-divider, .site-header button,
  main > :not(#material-pricing), #family-compare, .price-settings, .price-actions,
  .price-actions + p, .price-contact, [data-smp="shop-transfer"], .price-altcopy,
  .price-status, [data-smp="method"], .skip-link { display: none !important; }
  #material-pricing { box-shadow: none; margin: 0; padding: 12pt 0; border: none; }
  .price-row, .price-kpis, .price-note { break-inside: avoid; }
}
