/* Opt-in screen UI for the six template pages. Section tool never loads this file. */
.realiz-template-ui main{padding-bottom:148px}
.realiz-template-ui .template-chapter-navigation{position:static;display:flex;flex-wrap:wrap;gap:8px;padding:10px 0 14px;background:var(--mist,#f3f7fa)}
.realiz-template-ui .template-chapter-navigation a{display:block;flex:0 0 auto;padding:9px 13px;border:1px solid #cfdee8;border-radius:6px;background:#fff;color:#35586f;text-decoration:none;font-size:13px;font-weight:700;line-height:1.4}
.realiz-template-ui .template-chapter-navigation a:hover,.realiz-template-ui .template-chapter-navigation a[aria-current]{background:#e1eef8;border-color:#94bdd6;color:#125d91}
.realiz-template-ui .template-chapter-navigation a:focus-visible{outline:3px solid #82b7da;outline-offset:2px}
.realiz-template-ui #column-form.card{margin-top:0}
.realiz-template-ui #material-selects{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;gap:14px}
.realiz-template-ui #material-selects>.material-choice{display:contents}
.realiz-template-ui #material-selects>.material-choice>label{display:grid;grid-template-rows:32px 42px auto;row-gap:5px;min-width:0;font-size:13px;line-height:1.5}
.realiz-template-ui #material-selects .plywood-deflection-choice{margin-top:0}
.realiz-template-ui #material-selects select{width:100%;min-width:0;font-size:13px}
.realiz-template-ui .template-reference-disclosure{border:1px solid #d1e0ea;border-radius:7px;background:#f8fbfd;margin-top:18px;padding:0 13px}
.realiz-template-ui .template-reference-disclosure>summary{cursor:pointer;padding:12px 0;color:#254f68;list-style:none;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:space-between;gap:12px;line-height:1.6}
.realiz-template-ui .template-reference-disclosure>summary::-webkit-details-marker{display:none}
.realiz-template-ui .template-reference-disclosure>summary:focus-visible{outline:3px solid #82b7da;outline-offset:3px}
.realiz-template-ui .template-reference-disclosure summary small{margin-left:12px;font-size:12px;font-weight:400;color:#698292}
.realiz-template-ui .template-reference-state{white-space:nowrap;font-size:12px;font-weight:400;color:#356f96}
.realiz-template-ui .template-reference-disclosure .wood-property-table,.realiz-template-ui .template-reference-disclosure .spec-preview{margin:0 0 12px;background:#fff;overflow-x:auto}
.realiz-template-ui #column-form .template-primary-actions{position:fixed;left:230px;right:0;bottom:0;z-index:9;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0;padding:14px 28px;background:#fff;border-top:1px solid #cbdae5;box-shadow:0 -5px 18px #14334808}
.realiz-template-ui .template-action-hint{font-size:13px;color:#36556b;line-height:1.6}
.realiz-template-ui .template-primary-actions button{flex-shrink:0}
@media(max-width:800px){
 .realiz-template-ui main{padding-bottom:154px}
 .realiz-template-ui .template-chapter-navigation{gap:6px;padding:8px 0 10px}
 .realiz-template-ui .template-chapter-navigation a{font-size:12px;padding:8px 9px}
 .realiz-template-ui #material-selects{grid-template-columns:1fr;gap:12px}
 .realiz-template-ui #material-selects>.material-choice>label{grid-template-rows:auto 42px auto;row-gap:6px}
 .realiz-template-ui .template-reference-disclosure>summary{align-items:flex-start;gap:10px}
 .realiz-template-ui .template-reference-disclosure summary small{display:block;margin:0}
 .realiz-template-ui .template-reference-disclosure{padding:0 10px}
 .realiz-template-ui #column-form .template-primary-actions{left:0;padding:10px 16px;display:block}
 .realiz-template-ui .template-action-hint{display:block;margin-bottom:7px;font-size:11px}
 .realiz-template-ui .template-primary-actions button{width:100%}
}
@media print{
 .realiz-template-ui .template-chapter-navigation,.realiz-template-ui .template-primary-actions{display:none!important}
 .realiz-template-ui main{padding-bottom:0}
}
