.sc-dialog{width:min(560px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);box-sizing:border-box;padding:20px;border:0;border-radius:12px;background:#f5f4ee;color:#173f47;overflow:auto}.sc-dialog::backdrop{background:#153d4799}.sc-head,.sc-nav,.sc-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.sc-head h2{font-size:25px}.sc-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sc-fields label{min-width:0;display:grid;gap:5px}.sc-fields input{box-sizing:border-box;width:100%;min-width:0;padding:10px}.sc-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-top:15px;text-align:center}.sc-grid b{font:600 12px system-ui}.sc-dialog button{min-height:44px;border:1px solid #b6cbc4;border-radius:6px;background:white;color:#173f47;cursor:pointer}.sc-grid button{padding:4px;min-width:0;font:600 16px system-ui}.sc-dialog button.sc-busy,.sc-legend .sc-busy{background:#a92e3b;color:white}.sc-dialog button.sc-chosen,.sc-legend .sc-chosen{background:#185d99;color:white}.sc-dialog button.sc-inside{background:#d8eafb;color:#173f47}.sc-dialog button:disabled{opacity:.35;cursor:default}.sc-dialog button:focus-visible{outline:3px solid #185d99;outline-offset:2px}.sc-legend{display:flex;gap:10px;flex-wrap:wrap;font-size:12px}.sc-legend span{padding:5px 8px;border-radius:4px}.sc-actions{margin-top:12px}.sc-actions button{padding:8px 18px}.sc-actions [data-sc-apply]{background:#185d99;color:white}.sc-nav button{min-width:44px}.sc-dialog [data-sc-status]{font-size:13px;min-height:18px}@media(max-width:400px){.sc-dialog{padding:12px}.sc-fields{gap:6px}.sc-grid{gap:3px}.sc-head h2{font-size:21px}}
