.acb-book {
  box-sizing: border-box; width: min(46rem, calc(100% - 2rem)); margin: 2rem auto;
  padding: clamp(1rem, 3vw, 2rem); border: 1px solid #bfcec7; border-radius: 1rem;
  background: #fff; color: #17313b; font: inherit; line-height: 1.65; text-align: start;
}
.acb-book *, .acb-book *::before, .acb-book *::after { box-sizing: border-box; }
.acb-book [hidden] { display: none !important; }
.acb-book header, .acb-book form { position: static; margin: 0; padding: 0; background: transparent; color: inherit; }
.acb-book h2, .acb-book h3 { color: #176b8a; margin: .3rem 0; line-height: 1.4; }
.acb-book h2 { font-size: clamp(1.45rem, 4vw, 2rem); }
.acb-book p { margin: .4rem 0 1rem; }
.acb-book .acb-clinic, .acb-book small, .acb-book .acb-note { color: #536670; font-size: .91rem; }
.acb-book .acb-alert { padding: .8rem 1rem; background: #fbf7ed; color: #5e523d; border-inline-start: 3px solid #b87b25; }
.acb-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem 1rem; }
.acb-fields label { display: flex; flex-direction: column; gap: .25rem; font-weight: 600; }
.acb-wide { grid-column: 1 / -1; }
.acb-fields input, .acb-fields select, .acb-fields textarea {
  font: inherit; font-size: max(16px,1rem); color: #20323a; width: 100%; min-width: 0; min-height: 44px;
  background: #fff; padding: .55rem .75rem; border: 1px solid #99adb7; border-radius: .5rem;
}
.acb-fields textarea { resize: vertical; }
.acb-book .acb-note { margin: 1rem 0 .6rem; }
.acb-book button {
  font: inherit; font-weight: 650; border: 1px solid #176b8a; border-radius: .5rem;
  min-height: 44px; padding: .5rem 1.1rem; cursor: pointer;
}
.acb-book .acb-button { background: #176b8a; color: white; }
.acb-book .acb-edit { background: white; color: #176b8a; }
.acb-book button:disabled { opacity: .5; cursor: default; }
.acb-book :focus-visible { outline: 3px solid #93551a; outline-offset: 3px; }
.acb-review pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; background: #edf3f5; color: #17313b; padding: 1rem; border-radius: .5rem; }
.acb-consent { display: flex; align-items: flex-start; gap: .6rem; cursor: pointer; }
.acb-consent input { flex: 0 0 auto; width: 19px; height: 19px; margin: .25rem 0 0; accent-color: #176b8a; }
.acb-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
@media (max-width: 560px) {
  .acb-fields { grid-template-columns: minmax(0,1fr); }
  .acb-book { width: calc(100% - 1rem); }
  .acb-book button { width: 100%; }
}

.acb-book { border-radius: 18px; box-shadow: 0 12px 34px #18384312; overflow: hidden; }
.acb-book header { margin: calc(-1 * clamp(1rem, 3vw, 2rem)) calc(-1 * clamp(1rem, 3vw, 2rem)) 1rem; padding: 1.25rem clamp(1rem, 3vw, 2rem); border-bottom: 1px solid #d8e4e7; background: linear-gradient(135deg,#edf3f5,#faf8f2); }
.acb-book header p:last-child { margin-bottom: 0; }
.acb-fields input[readonly] { background: #f3f9f9; }
.acb-book form > button { width: 100%; }

.acb-book .acb-alert { margin-block: 1.2rem; }
.acb-patient > button { width:100%; margin:1rem 0; }
.acb-book .acb-channel { margin: .8rem 0; }
.acb-book form { display:block; }
.acb-book .acb-recipient { font-weight:700; }
