.service-controls{border:1px solid var(--line);border-radius:16px;background:var(--soft);padding:20px;margin:20px 0;font-size:16px;line-height:1.5}
.service-controls h3{display:flex;align-items:center;gap:10px;font-size:19px;margin:0}.service-controls p{margin:8px 0 0}.service-controls .form-actions{margin-top:16px}
.service-state-badge{display:inline-flex;align-items:center;gap:7px;border:1px solid currentColor;border-radius:10px;color:var(--text);background:color-mix(in srgb,#e6a522 15%,var(--surface));padding:6px 10px;font-size:16px;line-height:1.4;margin:6px 0;white-space:normal}.service-state-badge svg{width:19px;height:19px;flex-shrink:0}
.service-state-flow{font-size:16px;line-height:1.6;min-width:0}.service-state-flow h3{font-size:21px;margin:16px 0 10px}.service-state-flow :is(p,li,.button,.eyebrow,select,textarea,label){font-size:16px}.service-state-flow [hidden]{display:none}
.service-state-steps{list-style:none;display:flex;gap:10px;padding:0;margin:0 0 18px}.service-state-steps li{flex:1;border-bottom:3px solid var(--line);padding:10px 0}.service-state-steps li[aria-current]{border-color:var(--accent);font-weight:700}
.service-state-context{border:1px solid var(--line);border-radius:16px;padding:18px;background:var(--soft)}.service-state-context h3{margin:4px 0}.service-state-context p{margin:0}
.service-state-switch{display:flex;gap:10px;margin:20px 0}.service-state-switch .button{flex:1}.service-state-switch [aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 15%,var(--surface));box-shadow:inset 0 -2px var(--accent)}
.service-select-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0}.service-state-options{display:grid;gap:10px;max-height:380px;overflow:auto;scrollbar-width:thin;padding:2px}
.service-state-options label{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:14px;padding:16px;cursor:pointer;min-height:70px}.service-state-options label:has(input:checked){border-color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,var(--surface))}.service-state-options label>span{display:grid;min-width:0;overflow-wrap:anywhere}
.service-state-fields{display:grid;grid-template-columns:1fr;gap:16px;margin:24px 0}.service-state-fields label{display:grid;gap:8px}.service-state-fields :is(select,textarea){width:100%;min-width:0;min-height:48px}.service-state-fields textarea{min-height:100px;resize:vertical}
.service-state-check{display:flex;align-items:flex-start;gap:12px;margin:18px 0;padding:12px 0;cursor:pointer}.service-state-flow input[type=checkbox]{width:22px;height:22px;min-height:22px;flex-shrink:0;margin-top:2px;accent-color:var(--accent)}.service-state-help{color:var(--muted)}
.service-state-review{list-style:none;padding:0;margin:18px 0;display:grid;gap:10px}.service-state-review li{display:grid;gap:4px;border:1px solid var(--line);border-radius:14px;padding:16px;overflow-wrap:anywhere}.service-state-preserved{display:flex;align-items:center;gap:12px;padding:16px;border-radius:14px;background:var(--soft);border:1px solid var(--line)}.service-state-preserved svg{flex-shrink:0}
.service-state-flow .form-actions{border-top:1px solid var(--line);padding-top:18px;margin-top:22px}.service-state-flow .button,.service-controls .button{min-height:46px;white-space:normal;font-size:16px}.service-state-history{overflow-wrap:anywhere}.service-state-flow .alert{font-size:16px}
@media(max-width:620px){.service-controls{padding:16px}.service-controls .form-actions,.service-state-flow .form-actions{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch}.service-controls .button,.service-state-flow .form-actions .button{width:100%;min-height:48px}.service-state-switch .button{padding-inline:12px}.service-state-steps{gap:12px}.service-state-context{padding:14px}.service-state-options label{padding:12px}}
@media(prefers-reduced-motion:no-preference){.service-state-review li{animation:service-state-enter .2s ease-out}@keyframes service-state-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}
