body.services-page,body.services-page *,body.services-page *::before,body.services-page *::after { box-sizing:border-box; }
body.services-page { margin:0; background:#f5f7fc; font:16px/1.5 Roboto,system-ui,sans-serif; color:#19263d; }
.services-main { width:100%; max-width:1240px; margin:38px auto; padding:0 24px; }
.services-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:32px; border:1px solid #d8e3f6; border-radius:22px; background:linear-gradient(120deg,#fff,#edf3ff); margin-bottom:26px; }
.services-kicker { font-size:13px; font-weight:700; letter-spacing:.06em; color:#2459ce; text-transform:uppercase; }
.services-heading h1 { font-size:40px; line-height:1.15; margin:8px 0 12px; letter-spacing:-1px; }
.services-heading p { color:#546681; margin:0; max-width:620px; }
.service-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; font:inherit; font-weight:600; border:1px solid #cbd9f1; border-radius:11px; color:#2452c6; background:#fff; padding:11px 17px; cursor:pointer; text-decoration:none; line-height:1.4; }
.service-btn:hover { background:#f0f5ff; }
.service-btn.primary { background:#2458ed; color:#fff; border-color:#2458ed; }
.service-btn.primary:hover { background:#1846cb; }
.service-btn.danger { color:#ab2438; }
.service-btn:disabled { opacity:.6; cursor:wait; }
.service-btn:focus-visible { outline:3px solid #2a57ed; outline-offset:3px; }
.service-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.services-heading .service-actions { flex:0 0 220px; flex-direction:column; align-items:stretch; }
.service-tabs { display:flex; gap:8px; flex-wrap:wrap; margin:22px 0; }
.service-tabs [aria-pressed="true"] { background:#e8efff; border-color:#8caafe; color:#173fad; }
.services-filters { display:grid; grid-template-columns:1.2fr 1fr 1fr 1fr auto; gap:12px; align-items:end; padding:20px; border:1px solid #dde5f1; border-radius:16px; background:#fff; }
.services-main label,.service-editor label { display:block; font-size:14px; font-weight:600; margin-bottom:7px; }
.services-main input,.services-main select,.service-editor input,.service-editor select,.service-editor textarea,.service-detail textarea { width:100%; border:1px solid #bfcfea; border-radius:10px; padding:12px; background:#fff; color:#1d2b44; font:inherit; min-height:46px; }
.services-main input:focus,.service-editor input:focus,.service-editor textarea:focus { outline:2px solid #3564f5; outline-offset:1px; }
.services-main .cv-select-trigger { width:100%; min-height:48px; padding:11px 35px 11px 12px; position:relative; text-align:left; border:1px solid #bfcfea; border-radius:10px; background:white; color:#213452; font:inherit; cursor:pointer; }
.services-main .cv-select-trigger::after { content:'⌄'; position:absolute; right:12px; top:50%; transform:translateY(-50%); color:#2458ed; }
.services-main .cv-select-trigger span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.services-main .cv-select-trigger:disabled { opacity:.55; cursor:default; }
.service-results-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:26px 0 16px; }
.service-results-heading h2 { font-size:24px; margin:0; }
.service-muted { color:#576b86; font-size:14px; }
.service-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.service-card { min-width:0; border:1px solid #d8e2f3; background:#fff; border-radius:18px; overflow:hidden; display:flex; flex-direction:column; box-shadow:0 4px 15px #15264405; }
.service-cover { height:170px; width:100%; object-fit:cover; background:#e9f0fd; }
.service-cover-placeholder { height:118px; display:flex; align-items:center; padding:24px; background:linear-gradient(135deg,#edf3ff,#f7faff); color:#2859c4; font-size:28px; font-weight:700; }
.service-card-body { display:flex; flex-direction:column; gap:12px; padding:22px; flex:1; }
.service-category { font-size:13px; color:#2455bd; font-weight:600; }
.service-card h3 { font-size:21px; margin:0; line-height:1.35; overflow-wrap:anywhere; }
.service-card p { margin:0; overflow-wrap:anywhere; }
.service-card-description { color:#4e637f; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.service-facts { display:flex; gap:6px; flex-wrap:wrap; }
.service-facts span { font-size:12px; color:#486186; padding:5px 9px; border-radius:8px; background:#eff4fc; }
.service-price { font-weight:700; color:#173b81; }
.service-card .service-actions { margin-top:auto; padding-top:8px; }
.service-empty { padding:30px; border:1px dashed #cdd9ed; border-radius:15px; color:#516680; background:#fff; text-align:center; }
.service-empty strong { display:block; color:#20324b; font-size:21px; margin-bottom:8px; }
.service-status { margin:15px 0; color:#536883; }
.service-error { color:#a42639; font-size:14px; }
.service-error:empty,.service-status:empty { display:none; }
.service-more { display:block; margin:24px auto; }
.service-request-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.service-request-card { background:#fff; padding:22px; border:1px solid #d8e2f3; border-radius:16px; }
.service-request-card h3 { margin:0 0 8px; font-size:19px; }
.service-request-note { white-space:pre-wrap; overflow-wrap:anywhere; padding:12px 0; }
.service-state { display:inline-flex; padding:4px 9px; border-radius:8px; background:#edf2fb; color:#3a5479; font-size:13px; }
.service-state.accepted { background:#e6f7ef; color:#14734d; }
.service-state.rejected { background:#fff0f0; color:#a42a3d; }
.service-editor,.service-detail { width:min(760px,calc(100% - 28px)); max-height:90dvh; border:1px solid #d8e3f3; border-radius:20px; padding:26px; color:#19263d; overflow:auto; }
.service-editor::backdrop,.service-detail::backdrop { background:#18263f88; }
.service-dialog-heading { display:flex; justify-content:space-between; align-items:start; gap:14px; margin-bottom:20px; }
.service-dialog-heading h2 { font-size:25px; margin:0; line-height:1.3; }
.service-close { flex:none; font-size:23px; min-width:44px; padding:4px 10px; }
.service-field { margin-bottom:18px; }
.service-fields-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.service-help { display:block; margin-top:7px; color:#5b6d86; font-size:13px; }
.service-editor textarea { resize:vertical; min-height:130px; }
.service-editor .service-actions { margin-top:22px; }
.service-editor .service-actions button { flex:1; }
.service-photo-previews { display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.service-photo { position:relative; width:120px; }
.service-photo img { width:120px; height:95px; border-radius:10px; object-fit:cover; }
.service-photo button { position:absolute; top:3px; right:3px; border:0; background:#fff; color:#ac2639; border-radius:7px; width:28px; height:28px; cursor:pointer; }
.service-detail-description { white-space:pre-wrap; overflow-wrap:anywhere; margin:20px 0; }
.service-detail-gallery { display:flex; gap:12px; overflow-x:auto; padding:10px 0; }
.service-detail-gallery img { width:240px; height:180px; object-fit:contain; border:1px solid #dde5f2; border-radius:10px; background:#f6f8fc; }
.service-detail form { border-top:1px solid #dce4f1; padding-top:18px; }
.service-detail textarea { min-height:110px; resize:vertical; }
.service-detail form button { margin-top:12px; }
.help-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.help-card { background:#fff; border:1px solid #dce4f2; border-radius:16px; padding:24px; }
.help-card h2 { margin:0 0 15px; font-size:22px; }
.help-card details { padding:14px 0; border-top:1px solid #e2e8f1; }
.help-card summary { cursor:pointer; font-weight:600; }
.help-card p { color:#4e627e; margin:12px 0 0; }
.help-card a { color:#2456d6; }
[hidden] { display:none!important; }
@media(max-width:1000px) { .services-filters { grid-template-columns:1fr 1fr; } .services-filters>.service-actions { grid-column:1/-1; } .service-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:640px) { .services-main { margin:22px auto; padding:0 14px; } .services-heading { padding:24px; flex-direction:column; align-items:stretch; } .services-heading h1 { font-size:32px; } .services-heading .service-actions { flex:0; } .services-filters,.service-grid,.service-request-list,.service-fields-row,.help-grid { grid-template-columns:1fr; } .service-editor,.service-detail { padding:20px; } .service-tabs button { flex:1; font-size:14px; padding:10px; } }
