/* 145: scope limited to the legacy INPUT card after successful enhancement. */
.bd61-input-page .legacy-content.bd145-ready{background:#f2ebdf;border:1px solid #d6cdbd;border-radius:18px;padding:24px;color:#203747;text-align:left}
.bd145-ready .bd145-original[hidden],.bd145-ready .bd145-native-calendar[hidden]{display:none!important}
.bd145-ready .bd145-form{display:block;width:100%;margin:0;padding:0;border:0;background:none;box-shadow:none;font:inherit;color:inherit}
.bd145-ready .person-block{margin:0;padding:0;border:0;background:none}
.bd145-ready .person-block+.person-block{margin-top:22px;padding-top:22px;border-top:1px solid #d6cdbd}
.bd145-ready .person-block h2{margin:0 0 14px;font-size:17px;line-height:1.5;color:inherit}
.bd145-ready :is(.bd145-field,.bokdam-date,.bokdam-time){display:block;min-width:0;margin:15px 0 0;padding:0;border:0;text-align:left}
.bd145-ready :is(.bd145-field,.bokdam-date,.bokdam-time)>legend{float:none;display:block;width:auto;margin:0 0 7px;padding:0;font-size:13px;line-height:1.6;font-weight:700}
.bd145-ready :is(.select-row,.bokdam-date-row){display:grid;grid-template-columns:minmax(0,1.35fr) repeat(2,minmax(0,1fr));gap:7px;min-width:0}
.bd145-ready .select-row.time-row{grid-template-columns:repeat(2,minmax(0,1fr)) minmax(0,1.35fr)}
.bd145-ready :is(.select-row.bd145-two,.bokdam-time .bokdam-date-row){grid-template-columns:repeat(2,minmax(0,1fr))}
.bd145-ready .bokdam-time .bokdam-date-row.bd145-with-calendar{grid-template-columns:repeat(2,minmax(0,1fr)) minmax(0,1.35fr)}
.bd145-ready .select-row.bd145-one{grid-template-columns:minmax(0,1fr)}
.bd145-ready :is(select,input[type=text],input:not([type])){box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;height:44px;min-height:44px;margin:0;padding:0 10px;border:1px solid #cfc3b0;border-radius:10px;background:#f5efe5;color:#203747;font:inherit;font-size:14px;line-height:normal}
.bd145-ready .radio-row{display:flex;flex-wrap:wrap;gap:6px 18px;min-height:44px;align-items:center}
.bd145-ready .radio-row label{display:inline-flex;gap:7px;align-items:center;min-height:44px;margin:0;font-size:14px;line-height:1.6}
.bd145-ready .radio-row input{width:auto;min-height:0;margin:0;accent-color:#356865}
.bd145-ready .bd145-actions{margin-top:24px}
.bd145-ready .bd145-actions .submit-button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:44px;margin:0;padding:10px 14px;border:0;border-radius:10px;background:#356865;color:#f5efe5;font:inherit;font-size:14px;font-weight:700;line-height:1.5;cursor:pointer;text-align:center;text-decoration:none}
.bd145-ready .bd145-secondary{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.bd145-ready .bd145-secondary :is(input,button){width:auto;min-height:44px;padding:8px 12px;border:1px solid #cfc3b0;border-radius:10px;background:#f5efe5;color:#203747;font:inherit;font-size:13px;cursor:pointer}
.bd145-ready :is(select,input,button,a):focus-visible{outline:2px solid #356865;outline-offset:3px}
.bd145-ready .bokdam-date-note{margin:12px 0 0;font-size:13px;line-height:1.7}
.bd145-ready .bokdam-save{margin-top:20px;background:#f2ebdf;text-align:left;line-height:1.7}
.bd145-ready .bokdam-save label{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px}
@media(max-width:600px){.bd61-input-page .legacy-content.bd145-ready{padding:16px}.bd145-ready :is(.select-row,.bokdam-date-row){gap:6px}.bd145-ready :is(select,input[type=text],input:not([type])){padding:0 7px;font-size:13px}}
/* The modern tools formerly styled every input, including save checkboxes. */
.bd145-ready .bd145-form .bokdam-save{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.bd145-ready .bd145-form .bokdam-save label{margin:0;font-size:14px;font-weight:400}
.bd145-ready .bd145-form .bokdam-save input[type=checkbox]{display:inline-block;flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:0;padding:0;border:0;accent-color:#356865}
.bd145-ready .bd145-form .bokdam-save button{box-sizing:border-box;display:inline-block;flex:0 0 auto;width:auto;min-height:44px;margin:0;padding:10px 14px;border:1px solid #d4d7dd;border-radius:10px;background:#fff;color:#34383e;font:inherit;font-size:14px}
.bd145-ready .bd145-form .bokdam-save p{flex:0 0 100%;margin:0;font-size:12px;line-height:1.6}
.bd145-ready .bd145-form .bokdam-save p:empty{display:none}

/* 146: routing values remain submitted but are never user-facing fields. */
.bd145-ready .bd145-form .form-routing{display:none}
