.smart-combination{padding:18px;background:#f2fcff;border:1px solid #6fdbec;border-radius:12px;margin:0 0 18px;color:#183b50}
.smart-combination[hidden]{display:none}
.smart-source-shortcuts,.smart-source-inputs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.smart-source-shortcuts button{background:#087fcb;color:#fff;border:0;border-radius:7px;padding:9px 13px}
.smart-source-inputs label{flex:1;min-width:155px;max-width:240px}
.smart-source-treatment{padding:14px;margin:14px 0;border:1px solid #93d3eb;border-radius:10px;background:#fff}
.smart-source-treatment>h4{font-size:18px;color:#007aa4;margin:0 0 12px}
.smart-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
:is(.smart-source-card,.smart-related-card){min-width:0;border:1px solid #afd9e9;border-radius:8px;overflow:hidden}
:is(.smart-source-card,.smart-related-card)>summary{background:#e2f7ff;padding:12px;cursor:pointer}
:is(.smart-source-card,.smart-related-card)>summary span,:is(.smart-source-card,.smart-related-card)>summary strong,:is(.smart-source-card,.smart-related-card)>summary small{display:block;margin:4px 0}
:is(.smart-source-card,.smart-related-card)>summary strong{color:#087c9a;font-size:18px}
:is(.smart-source-card,.smart-related-card) h5{padding:8px 10px;margin:0;background:#d6efff;color:#0a6088}
:is(.smart-source-card,.smart-related-card) section:nth-of-type(2) h5{background:#fff0bd;color:#826000}
:is(.smart-source-card,.smart-related-card) section:nth-of-type(3) h5{background:#ece0ff;color:#6231a1}
:is(.smart-source-card,.smart-related-card) ul{list-style:none;margin:0;padding:8px 10px}
:is(.smart-source-card,.smart-related-card) li{font-size:13px;line-height:1.6;padding:5px 0;border-bottom:1px solid #e8eff2;overflow-wrap:anywhere}
:is(.smart-source-card,.smart-related-card) li span{display:block;text-align:right;color:#086b8d}
.smart-source-notes,.smart-source-extras,.smart-manual-builder,.smart-saved-combos{margin:12px 0;padding:12px;border:1px solid #c4dce5;border-radius:8px}
.smart-source-option{display:grid;grid-template-columns:minmax(0,1fr) 80px;gap:6px;padding:10px 0;border-bottom:1px solid #e3eaf0}
.smart-source-option label{display:flex;align-items:start;gap:7px}.smart-source-option input[type=checkbox]{width:18px;flex:none}
.smart-source-option small{grid-column:1/-1;line-height:1.6;color:#536f80}
@media(max-width:850px){.smart-source-grid{grid-template-columns:1fr}.smart-source-inputs label{max-width:none}.smart-source-treatment{padding:10px}}
.smart-combination h3{color:#007caa;margin:0 0 10px;font-size:20px}
.smart-budget{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:14px 0}
.smart-budget label{max-width:250px}.smart-budget button,[data-smart-use]{background:#008caf;color:white;border-color:#008caf;min-height:40px}
.smart-columns,.smart-plan-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.smart-columns>section{min-width:0;background:white;border:1px solid #c3e3ed;border-radius:10px;overflow:hidden}
.smart-columns h4{background:#d7f2ff;color:#08649e;padding:12px;margin:0}
.smart-columns>section:nth-child(2) h4{background:#fff0c9;color:#805500}.smart-columns>section:nth-child(3) h4{background:#ede2ff;color:#6337a6}
.smart-columns article{border-top:1px solid #dcebf0;padding:12px}.smart-columns article>label{display:flex;gap:8px;align-items:start}.smart-columns input[type=checkbox]{width:18px;height:18px;flex:none;accent-color:#009fc1}
.smart-columns small{display:block;margin:6px 0;color:#3e5968}.smart-row-controls{display:flex;gap:8px;flex-wrap:wrap}.smart-row-controls label{flex:1;min-width:85px}.smart-columns details{font-size:12px;margin:10px 0}
.smart-plan-cards article{border:2px solid #74cadd;border-radius:10px;background:white;padding:14px;min-width:0}.smart-plan-cards h4{color:#0085a2;margin:0 0 10px}.smart-plan-cards article>strong{font-size:22px;color:#005d78}.smart-plan-cards h5{margin:12px 0 4px}.smart-plan-cards ul{padding-left:18px;font-size:13px}.smart-plan-cards button{width:100%;margin-top:10px}.smart-combination .error:empty{display:none}
.smart-plan-layout,.smart-consent-compare{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}
.smart-plan-layout .smart-plan-cards{display:flex;flex-direction:column;margin:0}.smart-selected-consent{position:sticky;top:0;max-height:72vh;overflow:auto;background:#e7f7fd;padding:14px;border:1px solid #83d6e9;border-radius:10px}
.smart-paper{padding:20px;background:#fff;border:1px solid #d0e0e8;border-radius:6px;margin:12px 0;box-shadow:0 3px 10px #1449620b}.smart-paper pre{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:14px;margin:0}.smart-paper h4,.smart-paper h5{margin:0 0 14px;color:#174b61}
#modal.smart-consent-dialog{width:min(1440px,96vw);max-width:96vw}.smart-consent-source,.smart-consent-result{min-width:0;max-height:72vh;overflow:auto;padding:14px;border:1px solid #a7dfea;border-radius:10px}.smart-consent-source{background:#f5fbff}.smart-consent-result{background:#e7f9f5}.smart-template-option{display:flex;gap:8px;align-items:center;border-bottom:1px solid #daebf1;padding:9px 0}.smart-template-option label{flex:1}.smart-template-option button{flex:none}.smart-template-option input{width:18px;accent-color:#009fc1}.smart-consent-compare h3{color:#007e9d;margin-top:0}
@media(max-width:700px){.smart-plan-layout,.smart-consent-compare{grid-template-columns:1fr}.smart-selected-consent{position:static}.smart-consent-source,.smart-consent-result{max-height:none}.smart-paper{padding:12px}}
@media(max-width:1000px){.smart-columns,.smart-plan-cards{grid-template-columns:1fr}.smart-columns>section{max-height:440px;overflow:auto}.smart-combination{padding:12px}.smart-budget label{max-width:none;width:100%}}

.smart-related-plans{margin-top:16px;border-top:2px solid #b09bea;padding-top:12px}.smart-related-plans>h4{color:#6631a7}.smart-condition,.smart-material-note{margin:10px;padding:10px;background:#fff6df;color:#654719;font-size:13px}.smart-related-card button{margin:10px;background:#008caf;color:white}.smart-related-card li small{display:block;font-size:11px;color:#536f80}
@media screen{
 .smart-combination button.smart-pick{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;min-height:36px;margin:0;padding:6px 4px;border:0;border-radius:0;box-shadow:none;background:transparent;color:var(--ui-accent,#00a6c4);text-align:left;white-space:normal;font:inherit;cursor:pointer}
 .smart-combination button.smart-pick strong{font-weight:500}.smart-combination button.smart-pick span:first-child{overflow-wrap:anywhere}
 .smart-combination button.smart-pick:hover,.smart-combination button.smart-pick[aria-pressed=true]{background:#e9f8fb}
 .smart-combination button.smart-pick:focus-visible{outline:2px solid var(--ui-accent,#00a6c4);outline-offset:2px}
 .smart-combination button.smart-pick:disabled{color:var(--ui-muted,#777c84);cursor:not-allowed;background:transparent;opacity:.65}
 .smart-combination [data-smart-selection-state]{flex:none;font-size:12px;font-weight:500;color:var(--ui-accent,#00a6c4)}.smart-combination [data-smart-selection-state]:empty{display:none}
 .smart-combination .smart-columns>section{border:0;border-radius:0;box-shadow:none}.smart-combination .smart-columns article{border:0;border-radius:0;box-shadow:none;padding:8px 0}
 .smart-combination :is(.smart-source-card,.smart-related-card),.smart-combination .smart-plan-cards article{border:0;border-radius:0;box-shadow:none}
 .smart-combination .smart-source-option{border:0;padding:7px 0}.smart-combination .smart-source-option.is-smart-selected,.smart-combination .smart-columns article.is-smart-selected{background:#f2fbfd}
 .smart-combination .smart-confirmation{margin:10px 0}.smart-combination .smart-confirmation small{display:block;margin-top:5px;color:var(--ui-muted,#777c84)}
 .smart-combination [data-smart-confirm]{background:transparent;border:0;border-radius:0;box-shadow:none;padding:6px 0;color:var(--ui-accent,#00a6c4);text-align:left}
 .smart-combination [data-smart-confirm][aria-pressed=true]{font-weight:600}.smart-combination .smart-plan-cards article.is-smart-selected{background:#f2fbfd}
 .smart-combination .smart-plan-cards article:focus-visible{outline:2px solid var(--ui-accent,#00a6c4);outline-offset:2px}
}
