.services-page .page-heading{align-items:center}
.primary-action,.secondary-action,.danger-action{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 15px;border:1px solid transparent;border-radius:10px;font-size:11px;font-weight:750;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}
.primary-action{background:var(--blue);color:#fff;box-shadow:0 7px 18px rgba(36,84,216,.2)}
.primary-action:hover{background:var(--blue-hover);transform:translateY(-1px)}
.primary-action svg,.secondary-action svg,.danger-action svg{width:16px;height:16px}
.primary-action:disabled,.secondary-action:disabled,.danger-action:disabled{opacity:.55;cursor:wait;transform:none}
.secondary-action{border-color:var(--border-strong);background:var(--surface-raised);color:var(--text-soft)}
.danger-action{background:#a93243;color:#fff}
.services-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:16px}
.service-summary-card{display:flex;align-items:center;gap:13px;min-height:91px;padding:16px;border:1px solid var(--border);border-radius:13px;background:var(--surface)}
.summary-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:rgba(36,84,216,.14);color:#91afff}
.summary-icon svg{width:18px;height:18px}
.summary-icon.active{background:rgba(66,201,149,.12);color:var(--green)}
.summary-icon.duration{background:rgba(18,200,232,.1);color:var(--cyan)}
.service-summary-card small{display:block;color:var(--muted);font-size:10px}
.service-summary-card strong{display:block;margin-top:3px;font:800 21px Manrope,sans-serif;letter-spacing:-.03em}
.services-catalogue{padding:22px}
.catalogue-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.catalogue-heading h2{margin:0;font:750 16px Manrope,sans-serif}
.catalogue-heading p{margin:5px 0 0;color:var(--muted);font-size:11px}
.catalogue-count{padding:5px 9px;border:1px solid var(--border);border-radius:20px;color:var(--muted);font-size:9px;white-space:nowrap}
.catalogue-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:22px 0 8px;padding-bottom:15px;border-bottom:1px solid var(--border)}
.service-search{min-width:190px;width:min(360px,100%);height:40px;display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid var(--border);border-radius:9px;background:var(--surface-raised);color:var(--muted)}
.service-search svg{width:16px;height:16px;flex:none}
.service-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--text);font:500 11px "DM Sans",sans-serif}
.service-filters{display:flex;gap:5px;padding:4px;border:1px solid var(--border);border-radius:10px;background:var(--bg)}
.service-filter{min-height:29px;padding:0 11px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:10px;font-weight:700;cursor:pointer}
.service-filter.active{background:var(--surface-hover);color:var(--text)}
.services-list{display:grid}
.service-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;padding:16px 2px;border-bottom:1px solid var(--border)}
.service-row:last-child{border-bottom:0}
.service-row-icon{width:38px;height:38px;display:grid;place-items:center;border:1px solid rgba(36,84,216,.2);border-radius:11px;background:rgba(36,84,216,.1);color:#8caaff}
.service-row-icon svg{width:18px;height:18px}
.service-row-main{min-width:0}
.service-row-title{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.service-row-title h3{margin:0;font:700 12px Manrope,sans-serif}
.service-status{padding:3px 7px;border-radius:20px;font-size:8px;font-weight:750}
.service-status.is-active{background:rgba(66,201,149,.1);color:#69d9ad}
.service-status.is-inactive{background:rgba(230,173,88,.1);color:#e8bc76}
.service-row-main>p{margin:5px 0;color:var(--muted);font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.service-no-description{color:var(--faint);font-style:italic}
.service-row-meta{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:9px}
.service-row-meta strong{color:var(--text-soft);font-size:10px}
.service-row-actions{display:flex;align-items:center;gap:6px}
.service-row-actions button{min-height:31px;padding:0 9px;border:1px solid var(--border);border-radius:8px;background:var(--surface-raised);color:var(--text-soft);font-size:9px;font-weight:700;cursor:pointer}
.service-row-actions button:hover{border-color:var(--border-strong);color:#fff}
.service-row-actions .service-delete{width:31px;padding:0;color:#e98d99}
.service-delete svg{width:14px;height:14px}
.services-loading,.services-error,.services-empty,.services-filter-empty{padding:40px 16px;text-align:center;color:var(--muted);font-size:11px}
.services-empty{display:grid;justify-items:center;gap:10px;max-width:480px;margin:0 auto}
.services-empty .empty-icon{width:48px;height:48px}
.services-empty h3{margin:4px 0 0;color:var(--text);font:750 15px Manrope,sans-serif}
.services-empty p,.services-filter-empty p,.services-error p{max-width:370px;margin:0 auto 9px;color:var(--muted);font-size:10px;line-height:1.65}
.services-empty .primary-action{margin-top:6px}
.services-error strong,.services-filter-empty strong{display:block;margin-bottom:7px;color:var(--text)}
.services-error button,.services-filter-empty button{border:0;background:transparent;color:#9db8ff;font-size:10px;font-weight:700;text-decoration:underline;cursor:pointer}
.service-modal-backdrop,.service-confirm-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:18px;background:rgba(4,10,19,.76);backdrop-filter:blur(8px)}
.service-modal-backdrop[hidden]{display:none}
.service-modal{width:min(540px,100%);max-height:min(90vh,760px);overflow:auto;padding:25px;border:1px solid var(--border-strong);border-radius:18px;background:var(--surface);box-shadow:0 25px 80px rgba(0,0,0,.45)}
.service-modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}
.service-modal-heading .eyebrow{margin-bottom:6px}
.service-modal-heading h2{margin:0;font:800 20px Manrope,sans-serif;letter-spacing:-.03em}
.service-modal-heading p:last-child{margin:6px 0 0;color:var(--muted);font-size:10px}
.modal-close{width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--border);border-radius:9px;background:var(--surface-raised);color:var(--muted);cursor:pointer}
.modal-close svg{width:16px;height:16px}
.service-modal form{display:grid;gap:14px}
.service-field{display:grid;gap:7px;color:var(--text-soft);font-size:10px;font-weight:700}
.service-field>span{display:inline;color:var(--faint);font-weight:500}
.service-field input,.service-field textarea{width:100%;min-height:42px;padding:10px 12px;border:1px solid var(--border-strong);border-radius:9px;outline:0;background:var(--surface-raised);color:var(--text);font:500 11px "DM Sans",sans-serif}
.service-field textarea{min-height:90px;resize:vertical}
.service-field input:focus,.service-field textarea:focus{border-color:var(--blue)}
.service-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.service-active-toggle{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid var(--border);border-radius:10px;background:rgba(255,255,255,.02);cursor:pointer}
.service-active-toggle input{width:15px;height:15px;margin:2px 0 0;accent-color:var(--blue)}
.service-active-toggle strong,.service-active-toggle small{display:block}
.service-active-toggle strong{font-size:10px;color:var(--text-soft)}
.service-active-toggle small{margin-top:4px;color:var(--muted);font-size:9px;line-height:1.5}
.service-form-message{min-height:16px;margin:0;color:#f0a4ad;font-size:10px}
.service-modal-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:5px}
.service-confirm{width:min(410px,100%);padding:24px;border:1px solid var(--border-strong);border-radius:17px;background:var(--surface);box-shadow:0 25px 80px rgba(0,0,0,.45)}
.confirm-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:11px;background:rgba(240,120,131,.12);color:var(--danger)}
.confirm-icon svg{width:18px;height:18px}
.service-confirm h2{margin:15px 0 7px;font:750 17px Manrope,sans-serif}
.service-confirm p{margin:0;color:var(--muted);font-size:11px;line-height:1.65}
.service-confirm p strong{color:var(--text-soft)}
.service-confirm>div{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}
.service-toast{position:fixed;right:22px;bottom:22px;z-index:1100;max-width:min(390px,calc(100vw - 32px));padding:12px 16px;border:1px solid var(--border-strong);border-radius:10px;background:var(--surface-raised);color:var(--text);font-size:11px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transform:translateY(8px);transition:opacity .2s,transform .2s}
.service-toast.is-visible{opacity:1;transform:translateY(0)}
.service-toast[data-kind="error"]{border-color:rgba(240,120,131,.4);color:#ffb5bc}
@media(max-width:760px){.services-summary{gap:8px}.service-summary-card{min-height:79px;padding:11px;gap:8px}.summary-icon{width:31px;height:31px}.service-summary-card small{font-size:9px}.service-summary-card strong{font-size:18px}.services-catalogue{padding:15px}.catalogue-toolbar{align-items:stretch;flex-direction:column}.service-search{width:100%}.service-filters{align-self:flex-start}.service-row{grid-template-columns:34px minmax(0,1fr);gap:10px}.service-row-icon{width:32px;height:32px}.service-row-actions{grid-column:2;justify-content:flex-start}.service-row-actions button{min-height:29px}.service-modal{padding:19px}.service-toast{right:12px;bottom:12px}}
@media(max-width:390px){.services-summary{grid-template-columns:1fr}.service-form-row{grid-template-columns:1fr}.services-page .page-heading{align-items:flex-start}.services-page .page-heading .primary-action{min-height:38px;padding:0 10px}}
