.biz-reco-head,.biz-result-actions,.usecase-filters,.usecase-controls {display:flex;align-items:center;flex-wrap:wrap;gap:.6rem 1rem}
.biz-reco-head {justify-content:space-between;margin-block:1.4rem}
.biz-reco-head>div {display:grid;gap:.4rem;flex:1}
.biz-progress {width:min(20rem,100%);height:4px;border-radius:3px;background:#cfd8d4;overflow:hidden}
.biz-progress>i {display:block;height:100%;background:currentColor}
.biz-reco .biz-step {border:0;padding:0;margin:1rem 0;min-inline-size:0}
.biz-reco.pasos-activos .biz-step:not(.is-active),.biz-result[hidden],.usecase-card[hidden],#usecase-empty[hidden] {display:none!important}
.biz-step legend {font:inherit;font-size:1.3em;font-weight:650}
.biz-options {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:.55rem}
.biz-options label {display:flex;align-items:flex-start;gap:.65rem;border:1px solid #aebbb3;border-radius:.35rem;padding:.78rem;cursor:pointer}
.biz-options input {flex:none;margin:.28em .08em 0 0;accent-color:#285c45}
.biz-options label:focus-within {outline:2px solid currentColor;outline-offset:2px}
.biz-options label:has(input:checked) {border-color:#285c45;background:#e9f1e9;color:#173c2a}
.biz-options b,.biz-options small {display:block}.biz-options small {margin-top:.2em;line-height:1.4}
.biz-result-actions button,.biz-reco-head button,.usecase-filters button,.usecase-controls button,[data-filter-group] {min-height:42px;cursor:pointer;font:inherit}
.usecase-search {display:grid;gap:.4rem;max-width:38rem}.usecase-search input{min-height:42px;font:inherit;padding:.45rem .65rem;min-width:0;width:100%}
.usecase-card,.biz-result-grid>article {margin-block:1.2rem;padding-block:.65rem;border-top:1px solid #bdc9c0}
.usecase-card dt {font-weight:650}.usecase-card dd {margin-inline-start:0;margin-block-end:.55rem}
[data-filter-group][aria-pressed=true] {font-weight:700;text-decoration:underline;text-underline-offset:.18em}
.story .ial-code-wrap,
.story div.ial-code:has(.ial-code-head) {
    min-width: 0;
    max-width: 100%;
    margin-block: 1.25rem 1.65rem;
    overflow: hidden;
    color: #f1f5ff;
    background: #17223c;
    border: 1px solid #34425e;
    border-radius: .55rem;
}
.story .ial-code-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem 1.15rem;
    padding: .5rem .85rem .5rem 1.15rem;
    background: #1e2b46;
    border-bottom: 1px solid #40506c;
}
.story .ial-code-head > span {
    flex: 1 1 8rem;
    min-width: 0;
    overflow-wrap: anywhere;
    color: #d6e3ff;
    font-size: .91rem;
    font-weight: 650;
    line-height: 1.45;
}
.story .ial-code-wrap { display: grid; justify-items: stretch; }
.story .ial-code-wrap > pre,
.story div.ial-code:has(.ial-code-head) > pre {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 1.05rem 1.15rem 1.15rem;
    overflow-x: auto;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 0;
    line-height: 1.6;
}
.story .ial-code-wrap > .ial-copy { justify-self: end; margin: 0 .85rem .7rem; }
.story :is(.ial-copy, [data-copy-code], [id="biz-copy"]) {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .56rem;
    min-height: 44px;
    padding: .52rem .9rem;
    border: 1px solid #7383a1;
    border-radius: .4rem;
    background: #263550;
    color: white;
    font: 650 .88rem/1.3 var(--sans,system-ui,sans-serif);
    cursor: pointer;
}
.story :is(.ial-copy, [data-copy-code], [id="biz-copy"])::before {
    content: "";
    width: .62rem;
    height: .75rem;
    flex: none;
    margin: .15rem 0 0 .14rem;
    background: inherit;
    border: 1.5px solid currentColor;
    border-radius: .1rem;
    box-shadow: -.17rem -.17rem 0 -.07rem #263550, -.17rem -.17rem 0 0 currentColor;
}
.story :is(.ial-copy, [data-copy-code], [id="biz-copy"]):hover { background:#344566; }
.story :is(.ial-copy, [data-copy-code], [id="biz-copy"]):focus-visible {
    outline: 3px solid #ffcd64;
    outline-offset: 2px;
}
.story .is-copy-success { border-color:#a0bdff; color:#dfebff; }
.story .is-copy-error { border-color:#ffd184; }
.story [data-copy-code]:not([data-copy-ready="true"]) { display: none; }
.story .biz-result-actions {
    gap: .75rem 1rem;
    margin-block: 1.75rem 1.25rem;
    padding-top: 1.15rem;
    border-top: 1px solid #ced5e3;
}
.story .biz-result-actions > :is(a, button) { min-height:44px; }
@media (max-width: 420px) {
    .story .ial-code-head { padding-inline: .8rem; }
    .story .ial-code-wrap > pre, .story div.ial-code:has(.ial-code-head) > pre { padding-inline: .9rem; }
}
.biz-options span,.biz-result,.usecase-card {overflow-wrap:break-word}
@media print {
    .biz-reco-head,.biz-reco,.biz-result-actions,.ial-copy,[data-copy-code]{display:none!important}
    .story .ial-code-wrap,.story div.ial-code:has(.ial-code-head),.story .ial-code-head,.story .ial-code-head > span {color:#111;background:white;border-color:#aaa}
}
