/* Solution partnership: follows the existing workspace tokens and controls. */
.solution-intro {margin:0 0 24px;max-width:800px}
.solution-intro h2 {margin:12px 0 8px;font-size:1.45rem;letter-spacing:-.025em}
.solution-catalogue {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.solution-card {position:relative;background:var(--surface,#fff);border:1px solid var(--border);border-radius:12px;padding:24px;display:flex;flex-direction:column;align-items:flex-start}
.solution-card h3 {font-size:1.1rem;margin:16px 0 8px}
.solution-card p {line-height:1.6;margin:0 0 15px}
.solution-card .button {margin-top:auto}
.solution-rank {color:var(--accent,#087e85);font-size:.8rem;font-weight:750;letter-spacing:.08em}
.solution-top {display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.solution-top h2 {font-size:1.35rem;margin:0}
.solution-summary {display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.solution-tabs {display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--border);padding-bottom:18px;margin:18px 0}
.solution-toolbar {display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:20px}
.solution-toolbar input {flex:1;min-width:160px}
.solution-toolbar input,.solution-toolbar select,.solution-field input,.solution-field select,.solution-field textarea,.solution-picker input {border:1px solid var(--border);border-radius:7px;padding:11px 12px;font:inherit;background:#fff;color:inherit;min-width:0;max-width:100%}
.solution-columns {display:grid;grid-template-columns:minmax(240px,.85fr) minmax(300px,1.4fr);gap:20px;align-items:start}
.solution-record {padding:16px;border:1px solid var(--border);border-radius:9px;background:#fff;margin:0 0 10px;overflow-wrap:anywhere}
.solution-record.is-selected {border-color:#087e85;box-shadow:inset 3px 0 #087e85}
.solution-record .button {display:block;text-align:left;font-weight:650;padding:0 0 10px;white-space:normal;overflow-wrap:anywhere}
.solution-record p {margin:8px 0}
.solution-detail {padding:22px;background:#fff;border:1px solid var(--border);border-radius:10px;min-width:0;overflow-wrap:anywhere}
.solution-detail h3 {font-size:1.15rem;margin:0 0 14px}
.solution-detail .button-row {display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.solution-values {display:grid;grid-template-columns:minmax(90px,.8fr) minmax(0,1.4fr);font-size:.85rem;line-height:1.6;margin:22px 0}
.solution-values dt,.solution-values dd {padding:9px 0;border-bottom:1px solid var(--border);margin:0;white-space:pre-wrap}
.solution-values dt {color:var(--muted,#617080);padding-right:14px}
.solution-values dd p {margin:0 0 5px}
.solution-fields {border:0;padding:0;margin:0;min-width:0}
.solution-field {display:flex;flex-direction:column;gap:7px;margin:0 0 16px;min-width:0}
.solution-field label,.solution-line-editor legend {font-size:.8rem;font-weight:650}
.solution-field textarea {min-height:90px;resize:vertical}
.solution-field input:disabled {background:#f3f5f7;color:#687683}
.solution-field .button {align-self:flex-start}
.solution-picker {display:flex;gap:8px;min-width:0}
.solution-picker input {width:100%}
.solution-line-editor {border:1px solid var(--border);border-radius:8px;padding:14px;margin:0 0 18px;min-width:0}
.solution-line {border-bottom:1px solid var(--border);padding:10px 0;margin-bottom:12px}
.solution-line .solution-field {margin-bottom:10px}
.solution-line .solution-field:first-child {width:100%}
.solution-callout {padding:13px;border-left:3px solid #087e85;background:#eef8f7;font-size:.85rem;line-height:1.5}
.solution-history {margin-top:22px;padding-top:16px;border-top:1px solid var(--border)}
.solution-history summary {cursor:pointer;font-size:.85rem;font-weight:600}
.solution-match {padding:10px;background:#f2f7f8;border-radius:6px}
.solution-form .inline-error {white-space:pre-wrap}
.solution-form .inline-error:empty {display:none}
.solution-form button {max-width:100%;white-space:normal}
@media(max-width:1100px) {.solution-columns {grid-template-columns:1fr}.solution-detail {max-width:100%}}
@media(max-width:650px) {.solution-catalogue {grid-template-columns:1fr}.solution-card,.solution-detail {padding:18px}.solution-toolbar {align-items:stretch}.solution-toolbar input {flex-basis:100%}.solution-values {grid-template-columns:1fr}.solution-values dt {border:0;padding-bottom:0}.solution-values dd {padding-top:3px}.solution-tabs .button {font-size:.78rem}}
