.office-form,.office-form *{min-width:0}
.office-form{display:grid;gap:20px}
.office-block{border:1px solid #ead9e2;border-radius:18px;padding:20px;background:#fff}
.office-block h3{margin:0 0 7px;font-size:1.08rem}
.office-block p{margin:0 0 16px;color:#765966;line-height:1.5}
.office-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.office-fields .wide{grid-column:1 / -1}
.office-form label{display:grid;gap:6px;align-content:start;font-size:.85rem;font-weight:650}
.office-form input:not([type=checkbox]),.office-form select{width:100%;max-width:100%;height:46px}
.office-form input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:none;accent-color:#c32779}
.office-customer-hint{min-height:20px;margin-top:8px;color:#725466}
.office-line{display:grid;grid-template-columns:minmax(220px,2fr) minmax(105px,.65fr) minmax(145px,.8fr) minmax(130px,.65fr);gap:12px;align-items:end;padding:16px 0;border-top:1px solid #eee1e7}
.office-line:first-child{border-top:0}
.office-line strong{display:block;font-size:.91rem;line-height:1.35;overflow-wrap:anywhere}
.office-line small{display:block;color:#795f68;font-size:.78rem;line-height:1.4}
.office-search-results{display:grid;gap:6px;max-height:260px;overflow:auto;margin:10px 0 16px}
.office-search-results button{display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;min-height:48px}
.office-search-results span{color:#6b3d58;font-size:.8rem;white-space:normal}
.office-gift{display:flex!important;align-items:center;min-height:46px;gap:8px!important;white-space:normal}
.office-line-summary{grid-column:1 / -2;align-self:center;font-size:.85rem;line-height:1.5;color:#674152}
.office-line button{justify-self:end;align-self:center}
.office-total{margin:16px 0 0!important;padding:14px 16px;border-radius:12px;background:#fff3f8;color:#54243d!important;font-weight:700}
.office-payment[hidden]{display:none}
.office-confirm{display:flex!important;align-items:flex-start;gap:10px!important;margin-top:14px;line-height:1.5}
.office-form-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.office-form-actions button{max-width:100%;white-space:normal}
.office-form .form-message{min-height:20px;margin:0}
.office-history{overflow-x:auto}
@media(max-width:980px){.office-line{grid-template-columns:repeat(2,minmax(0,1fr))}.office-line-summary{grid-column:1 / -1}.office-line button{grid-column:1 / -1;justify-self:start}}
@media(max-width:650px){.office-block{padding:16px}.office-fields,.office-line{grid-template-columns:minmax(0,1fr)}.office-fields .wide,.office-line-summary,.office-line button{grid-column:auto}.office-form-actions button{width:100%}}
@media(max-width:650px){.office-search-results button{display:grid}}
