.sg-diary { scroll-margin-top: 18px; }
.admin-bar .sg-diary { scroll-margin-top: 54px; }
.sg-diary form { position: relative; }
.sg-diary form [hidden] { display: none !important; }
.sg-diary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; }
.sg-diary form label { display: flex; flex-direction: column; gap: .4rem; font-weight: 600; }
.sg-diary-schedule > label { min-width: 0; }
.sg-diary-contact + label { margin-top: 1rem; }
.sg-diary form input:not([type=hidden]), .sg-diary form select, .sg-diary form textarea {
    box-sizing: border-box; width: 100%; min-width: 0; min-height: 48px; margin: 0;
    border: 1px solid #99a4a4; border-radius: .3rem; padding: .58rem .7rem;
    font: inherit; font-size: 1rem; font-weight: 400; color: #172a29; background: #fff;
}
.sg-diary form textarea { resize: vertical; }
.sg-diary form .sg-diary-grid + label { margin-top: 1rem; }
.sg-diary [data-sg-upcoming] { margin-bottom: 1rem; }
.sg-diary form :is(input, select, textarea, button):focus-visible { outline: 3px solid #246ca1; outline-offset: 2px; }
.sg-diary form button { border: 0; min-height: 48px; padding: .65rem 1.25rem; margin-top: 1rem; font: inherit; font-weight: 650; cursor: pointer; }
.sg-diary form button:disabled { opacity: .65; cursor: wait; }
.sg-diary .sg-diary-hint, .sg-diary .sg-diary-help { font-size: .9rem; font-weight: 400; margin: .65rem 0 1rem; }
.sg-diary .sg-diary-hint:empty { margin: 0 0 1rem; }
.sg-diary .sg-diary-notice, .sg-diary .sg-diary-error { padding: 1rem; border-left: 4px solid #307567; }
.sg-diary .sg-diary-error { border-left-color: #ad3431; }
.sg-diary .sg-diary-trap { position: absolute; overflow: hidden; inset-inline-start: -10000px; width: 1px; height: 1px; }
@media (max-width: 600px) {
    .sg-diary-grid { grid-template-columns: 1fr; }
    .sg-diary form button { width: 100%; justify-content: center; }
}
@media (min-width: 360px) and (max-width: 600px) {
    .sg-diary-grid.sg-diary-schedule { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
}
.sg-short-enquiry .sg-enquiry-service { font-weight: 700; margin-bottom: 14px; }
.sg-short-enquiry .sg-diary-help { margin-bottom: 0; }
