.bs-ceiling{max-width:960px;margin-inline:auto;padding:clamp(1rem,3vw,2rem);border:1px solid #9db9bd;border-radius:1rem;background:#f4fafa;color:#203b40}
.bs-ceiling p{max-width:75ch;line-height:1.6}.bs-ceiling__limit{padding:1rem;border-left:4px solid #577d84;background:#e6f0f0}
.bs-ceiling__figure{display:grid;grid-template-columns:minmax(150px,240px) 1fr;gap:1.5rem;align-items:center;margin:1.5rem 0}.bs-ceiling__figure svg{width:100%;height:auto}.bs-ceiling__figure figcaption p{margin:.5rem 0}.bs-ceiling__figure ol{padding-left:1.2rem}.bs-ceiling__bed{fill:#fff;stroke:#577d84;stroke-width:2}.bs-ceiling__pillow{fill:#dcebef;stroke:#9db9bd}.bs-ceiling__point{fill:#203b40}.bs-ceiling__figure text{fill:#fff;font:600 13px sans-serif}
.bs-ceiling__placements{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}.bs-ceiling fieldset{min-width:0;margin:0;padding:1.2rem;border:1px solid #9db9bd;border-radius:.7rem;background:#fff}.bs-ceiling legend{font-weight:700;padding:0 .4rem}.bs-ceiling label{display:block;margin:.9rem 0 .35rem;line-height:1.4;font-weight:600}.bs-ceiling input{display:block;width:100%;box-sizing:border-box;padding:.7rem;border:1px solid #577d84;border-radius:.3rem;background:#fff;color:#203b40;font:inherit}.bs-ceiling input:focus-visible,.bs-ceiling button:focus-visible,.bs-ceiling__table:focus-visible{outline:3px solid #203b40;outline-offset:3px}.bs-ceiling__hint{font-size:.9rem;color:#3c5960}.bs-ceiling__actions{display:flex;flex-wrap:wrap;gap:.7rem;margin:1.3rem 0}.bs-ceiling button{min-height:44px;padding:.7rem 1.1rem;border:1px solid #203b40;border-radius:.35rem;background:#fff;color:#203b40;font:inherit;font-weight:600;cursor:pointer}.bs-ceiling button[type=submit]{background:#203b40;color:#fff}.bs-ceiling [data-ceiling-error]{font-weight:700}.bs-ceiling__table{max-width:100%;overflow-x:auto;margin:1rem 0}.bs-ceiling table{border-collapse:collapse;width:100%;min-width:600px;font-size:.95rem}.bs-ceiling th,.bs-ceiling td{padding:.75rem;text-align:left;border-bottom:1px solid #9db9bd;vertical-align:top}.bs-ceiling th{font-weight:700}.bs-ceiling thead{background:#e6f0f0}.bs-ceiling tbody tr:last-child{border-top:2px solid #577d84}.bs-ceiling [hidden]{display:none!important}
@media(max-width:620px){.bs-ceiling__placements,.bs-ceiling__figure{grid-template-columns:1fr}.bs-ceiling__figure svg{max-width:220px;margin-inline:auto}.bs-ceiling__figure{gap:.5rem}.bs-ceiling th,.bs-ceiling td{padding:.6rem .45rem}.bs-ceiling button{flex:1 1 42%}}
@media print{.bs-ceiling{max-width:none;border:1px solid #777;background:#fff;padding:.5rem;break-inside:auto}.bs-ceiling__actions,.bs-ceiling__form>p,[data-ceiling-error],[data-ceiling-changed]{display:none!important}.bs-ceiling__placements{grid-template-columns:1fr 1fr;gap:.5rem}.bs-ceiling fieldset{padding:.6rem;break-inside:avoid}.bs-ceiling input{padding:.2rem;border:0;border-bottom:1px solid #777}.bs-ceiling label{font-size:10pt;margin:.4rem 0 .1rem}.bs-ceiling__hint{font-size:9pt}.bs-ceiling__figure{grid-template-columns:130px 1fr}.bs-ceiling__table{overflow:visible}.bs-ceiling table{min-width:0}.bs-ceiling th,.bs-ceiling td{padding:.35rem;font-size:9pt}.bs-ceiling [data-ceiling-results]{break-inside:avoid}}
@media print{.bs-ceiling-page .bs-top,.bs-ceiling-page .bs-typer,.bs-ceiling-page .bs-smulor,.bs-ceiling-page .bs-fot{display:none!important}.bs-ceiling-page #bs-main> :not(:has(.bs-ceiling)){display:none!important}.bs-ceiling{font-size:10pt}.bs-ceiling p{line-height:1.35}.bs-ceiling__figure{display:none}.bs-ceiling__limit{padding:.5rem}.bs-ceiling label{font-size:9pt}.bs-ceiling__hint{font-size:8pt}}
@media print{.bs-ceiling [data-ceiling-example-notice]:not([hidden]){display:block!important;font-weight:700}}
