.ap-device-cost{border:1px solid #99bac6;border-radius:16px;padding:clamp(16px,3vw,28px);margin:24px 0;background:var(--card-bg,#f4fafc);color:inherit}
.ap-device-cost .ap-cost-shared,.ap-device-cost .ap-cost-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ap-device-cost fieldset{min-width:0;border:1px solid #99bac6;border-radius:12px;padding:16px;margin:0}
.ap-device-cost legend{padding:0 8px;font-weight:700}
.ap-device-cost label{display:block;font-size:14px;line-height:1.5;margin-bottom:14px;font-weight:600}
.ap-device-cost input{display:block;box-sizing:border-box;width:100%;max-width:100%;margin-top:6px;padding:11px 12px;border:1px solid #7897a6;border-radius:7px;background:var(--input-bg,#fff);color:var(--text-color,#172f3b);font:inherit;font-size:16px}
.ap-device-cost button{margin-top:20px;max-width:100%;padding:13px 20px;background:#09657e;color:#fff;border:0;border-radius:8px;font:inherit;font-weight:700;cursor:pointer}
.ap-device-cost input:focus-visible,.ap-device-cost button:focus-visible{outline:3px solid #398eb5;outline-offset:3px}
.ap-device-cost .ap-cost-note{font-size:14px;line-height:1.65}
.ap-device-cost .ap-cost-result{margin-top:20px;padding:16px;border:1px solid #56a195;border-radius:8px;overflow-wrap:anywhere}
.ap-device-cost .ap-cost-result[hidden]{display:none}
.ap-device-cost .ap-cost-result p{margin:0 0 14px}
.ap-device-cost .ap-cost-result small{font-size:13px}
[data-theme="dark"] .ap-device-cost{background:#122632;color:#e7f1f6}
[data-theme="dark"] .ap-device-cost input{background:#1c3442;color:#e7f1f6}
@media(max-width:640px){.ap-device-cost .ap-cost-shared,.ap-device-cost .ap-cost-offers{grid-template-columns:1fr}.ap-device-cost{padding:16px}.ap-device-cost button{width:100%}}
