/* V2.7.1: compact service editor; buffers remain visible. */
.s27-page{width:min(1120px,100%);margin:0 auto;padding:24px 20px 50px;box-sizing:border-box}
.s27-page *{box-sizing:border-box}.s27-page h1{margin:0 0 12px}.s27-page .s27-intro{max-width:780px;line-height:1.7;margin-bottom:24px}
.s27-page .s27-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:20px 0}
.s27-page .s27-panel{background:#fff;border:1px solid #d6e6e5;border-radius:20px;padding:26px;margin:20px 0;box-shadow:0 8px 25px #163e3b05}
.s27-page .s27-panel h2{margin:0 0 18px;font-size:1.3rem}.s27-page .s27-step{color:#216b66;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.s27-page .s27-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:18px}
.s27-page .s27-buffers{grid-template-columns:repeat(2,minmax(0,1fr))}
.s27-page label{display:block;font-weight:600;line-height:1.55;margin-bottom:18px}.s27-page input,.s27-page textarea{display:block;width:100%;border:1px solid #acc6c6;border-radius:10px;padding:12px;font:inherit;font-weight:400;color:#183d43;background:white;margin-top:7px;min-width:0;max-width:100%}
.s27-page textarea{height:108px;min-height:108px;resize:vertical;line-height:1.7}.s27-page small{display:block;font-weight:400;color:#526d75;line-height:1.55;margin-top:6px}
.s27-page .s27-check{display:flex;align-items:flex-start;gap:10px;font-weight:400;margin:16px 0}.s27-page .s27-check input{width:20px;min-width:20px;height:20px;margin:3px 0 0;accent-color:#176b68}
.s27-page details.s27-more{border:1px solid #d6e6e5;padding:16px;border-radius:12px;margin:20px 0}.s27-page summary{cursor:pointer;font-weight:700}.s27-page details[open]>summary{margin-bottom:18px}
.s27-page .s27-service-list{display:grid;gap:14px}.s27-page .s27-service-row{border:1px solid #d6e6e5;border-radius:14px;padding:20px}.s27-page .s27-service-row h3{margin:0 0 8px}.s27-page .s27-row-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.s27-page .s27-row-head .button{white-space:nowrap}.s27-page .s27-status{font-size:.82rem;background:#e9f4f1;border-radius:20px;padding:5px 10px;display:inline-block;margin:8px 5px 8px 0}.s27-page .s27-muted{color:#526d75}.s27-page .s27-warning{background:#fff7e7;border:1px solid #c79546;border-radius:12px;padding:16px;line-height:1.6}
.s27-service-description{background:#f0f7f4;border:1px solid #d5e6e0;border-radius:12px;padding:16px 18px;margin:16px 0;text-align:left;min-width:0;max-width:100%}.s27-service-description h3{font-size:1rem;margin:0 0 8px;color:#184a45}.s27-service-text{white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;margin:0;line-height:1.7;font-weight:400;color:#28494b}.s27-service-excerpt{display:block!important;font-size:.88rem;line-height:1.5;color:#526d75;font-weight:400;margin-top:8px;overflow-wrap:anywhere}
.s27-page .s27-preview{border-left:4px solid #2b8070;padding-left:16px;margin:18px 0}.s27-page .s27-preview .s27-service-text{max-height:250px;overflow:auto}.s27-page :is(a,button,input,textarea,summary):focus-visible{outline:3px solid #157d92;outline-offset:3px}.s27-page .s27-save{background:#176b68;color:white;border:0;border-radius:10px;padding:14px 24px;font:inherit;font-weight:700;cursor:pointer;min-height:48px}
@media(max-width:680px){.s27-page{padding:18px 12px 35px}.s27-page .s27-fields{grid-template-columns:1fr;gap:0}.s27-page .s27-panel{padding:18px 16px}.s27-page .s27-row-head{flex-direction:column}.s27-page .s27-save{width:100%}.s27-page h1{font-size:1.7rem}}
