.multi-fabric-page { background: #f1f0ea; color: #20352d; }
.multi-fabric-page .page-shell { width: min(1120px, calc(100% - 28px)); }
.multi-fabric-page .brand-symbol, .multi-fabric-page .brand-symbol svg { width: 32px; height: 32px; }
.multi-fabric-skip { position: absolute; top: -80px; left: 12px; z-index: 10; padding: 8px 12px; background: white; }
.multi-fabric-skip:focus { top: 8px; }
.multi-fabric-main { padding-top: 4px; }
.multi-fabric-crumb { margin: 0 0 12px; color: #52665a; font-size: .88rem; }
.multi-fabric-hero { padding: 20px 0 22px; border-top: 4px solid #20352d; }
.multi-fabric-hero h1 { max-width: 24ch; margin: 0 0 10px; font-size: clamp(1.95rem, 4vw, 3.25rem); line-height: 1.1; letter-spacing: -.035em; }
.multi-fabric-hero p { max-width: 66ch; margin: 0; color: #496352; font-size: 1.03rem; line-height: 1.55; }
.multi-fabric-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
#planner-form { min-width: 0; padding: 24px; background: #fffefa; border: 1px solid #cbd5cb; }
.multi-fabric-page h2 { margin: 0 0 12px; font-size: 1.45rem; letter-spacing: -.025em; line-height: 1.2; }
.multi-fabric-page h3 { margin: 22px 0 8px; font-size: 1.08rem; }
.multi-fabric-page fieldset { min-width: 0; padding: 18px 0 0; border: 0; border-top: 1px solid #cad5cc; margin: 22px 0; }
.multi-fabric-page legend { width: 100%; padding-right: 8px; font-weight: 750; }
.planner-unit, .planner-fields label { display: flex; flex-direction: column; min-width: 0; font-size: .94rem; font-weight: 650; }
.planner-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.planner-fields label span { color: #596d60; font-size: .8rem; font-weight: 450; }
.multi-fabric-page input, .multi-fabric-page select { width: 100%; min-width: 0; height: 48px; margin-top: 6px; padding: 8px 10px; border: 1px solid #92ac9a; border-radius: 3px; background: white; color: #20352d; font: inherit; font-variant-numeric: tabular-nums; }
.multi-fabric-page button { min-height: 44px; padding: 9px 14px; border-radius: 3px; font: inherit; cursor: pointer; }
.multi-fabric-page button:disabled { cursor: not-allowed; opacity: .62; }
.planner-primary { border: 1px solid #20352d; background: #20352d; color: white; font-weight: 700; }
.planner-plain, .bed-remove { border: 1px solid #728e78; background: #fffefa; color: #20352d; }
.bed-remove { float: right; min-height: 36px !important; padding: 5px 10px !important; font-size: .8rem !important; }
.planner-example, .planner-copy { border: 1px solid #728e78; background: #fffefa; color: #20352d; text-align: left; }
.planner-example { width: 100%; margin-top: 14px; }
.multi-fabric-help { margin: 10px 0 0; color: #52665a; font-size: .85rem; line-height: 1.5; }
.bed-card { margin: 18px 0 !important; }
.planner-result { min-width: 0; padding: 24px; border: 1px solid #b4c7b5; border-top: 5px solid #315f42; background: #e6eee4; }
#planner-status { margin: 0 0 15px; color: #3c5845; line-height: 1.5; }
.planner-answer { display: flex; flex-direction: column; gap: 5px; padding-bottom: 14px; border-bottom: 1px solid #aec5af; }
.planner-answer strong { overflow-wrap: anywhere; font-size: clamp(1.8rem, 4vw, 2.6rem); font-variant-numeric: tabular-nums; letter-spacing: -.04em; line-height: 1.1; }
.planner-answer span { color: #49604d; }
.planner-ledger { margin: 18px 0; }
.planner-ledger > div { display: flex; justify-content: space-between; gap: 15px; padding: 9px 0; border-bottom: 1px solid #c1d0bd; }
.planner-ledger dt { font-size: .9rem; }
.planner-ledger dd { min-width: 0; margin: 0; text-align: right; overflow-wrap: anywhere; font-weight: 750; font-variant-numeric: tabular-nums; }
#planned-beds, #roll-cut-tickets { margin: 0; padding-left: 22px; }
#planned-beds li, #roll-cut-tickets li { padding: 7px 0; line-height: 1.5; }
.multi-fabric-scope { margin: 18px 0 0; color: #506252; font-size: .83rem; line-height: 1.5; }
.multi-fabric-figure { margin: 28px 0; }
.multi-fabric-figure img { display: block; width: 100%; height: auto; border: 1px solid #c5d1c5; }
.multi-fabric-figure figcaption { padding-top: 9px; color: #53665a; font-size: .88rem; line-height: 1.5; }
.multi-fabric-section { max-width: 76ch; margin: 36px 0; }
.multi-fabric-section p { margin: 10px 0; line-height: 1.65; }
.multi-fabric-method { padding: 18px 20px; border-left: 4px solid #315f42; background: #e7ece3; font-size: .94rem; line-height: 1.8; }
.multi-fabric-faq details { padding: 14px 0; border-top: 1px solid #c1d0c0; }
.multi-fabric-faq summary { cursor: pointer; font-weight: 750; line-height: 1.5; }
.multi-fabric-related { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 22px 0; border-top: 1px solid #b9cbbd; }
.multi-fabric-page [hidden] { display: none !important; }
.multi-fabric-page :is(input, select, button, a, summary):focus-visible { outline: 3px solid #af6e2f; outline-offset: 3px; }
#planner-copy-status { margin: 8px 0 0; font-size: .85rem; }
#planner-copy-fallback { width: 100%; margin-top: 8px; font: inherit; }
@media (max-width: 760px) {
  .multi-fabric-page .site-header { padding-top: 16px; padding-bottom: 16px; }
  .multi-fabric-hero { padding: 16px 0 18px; }
  .multi-fabric-workspace { display: flex; flex-direction: column; gap: 16px; }
  .planner-result { width: 100%; padding: 18px; }
  #planner-form { width: 100%; padding: 18px; }
  .multi-fabric-page h2 { font-size: 1.28rem; }
  .multi-fabric-scope { font-size: .8rem; }
  .multi-fabric-section { margin: 28px 0; }
  .planner-fields { gap: 12px; }
  .multi-fabric-related { flex-direction: column; }
}
@media print { .site-header, .site-footer, .multi-fabric-hero, #planner-form, .planner-example, .planner-copy, .multi-fabric-section, .multi-fabric-related, .multi-fabric-figure { display: none; } .multi-fabric-workspace { display: block; } .planner-result { border: 0; background: white; } }
