.br544-dialog{width:min(880px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line,#dce4ea);border-radius:16px;color:var(--ink,#183040);box-shadow:0 22px 75px #162c402b}
.br544-dialog::backdrop{background:#14273765}.br544-dialog>section{display:flex;flex-direction:column;max-height:calc(100dvh - 34px)}
.br544-dialog header,.br544-dialog footer{padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;border-bottom:1px solid var(--line,#dce4ea)}
.br544-dialog header h2{font-size:20px;margin:2px 0}.br544-dialog header p{font-size:12px;margin:3px 0;color:var(--muted,#687d8c)}.br544-dialog header small{font-size:10px;letter-spacing:.09em;color:var(--muted,#687d8c)}
.br544-dialog footer{border-top:1px solid var(--line,#dce4ea);border-bottom:0;justify-content:flex-end;flex-wrap:wrap}.br544-body{padding:16px 18px;overflow-y:auto;min-height:0;overscroll-behavior:contain}
.br544-body label{display:flex;flex-direction:column;gap:5px;font-size:12px}.br544-body input,.br544-body textarea{width:100%;min-width:0}.br544-body textarea{min-height:62px}.br544-body input[readonly]{background:#f1f4f6}
.br544-summary{display:grid;grid-template-columns:1.6fr 1fr;gap:10px;margin-bottom:12px}.br544-summary>div{display:grid;gap:3px;padding:11px 12px;border:1px solid var(--line,#dce4ea);border-radius:9px;background:#f7f9fa}.br544-summary b{font-size:18px}.br544-summary span,.br544-summary small{font-size:11px;color:var(--muted,#687d8c)}
.br544-note{font-size:12px;color:var(--muted,#687d8c);line-height:1.5}.br544-parts{display:grid;gap:10px;margin:14px 0}.br544-parts article{padding:12px;border:1px solid var(--line,#dce4ea);border-radius:10px;display:grid;grid-template-columns:1fr 1.3fr;gap:12px;align-items:center}.br544-part-heading{display:grid;gap:5px;font-size:13px}.br544-part-heading span{font-size:11px;color:var(--muted,#687d8c)}.br544-inputs{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:10px}.br544-parts article>small{grid-column:1/-1}
.br544-comparison{padding:12px;border:1px solid var(--line,#dce4ea);border-radius:10px;margin:10px 0;display:grid;grid-template-columns:1fr 1.4fr;gap:10px;align-items:center;font-size:13px}.br544-comparison>div:first-child{display:grid;gap:5px}.br544-comparison small{font-size:11px;color:var(--muted,#687d8c)}.br544-beforeafter{display:grid;grid-template-columns:1fr 1fr;gap:12px}.br544-beforeafter>div{display:grid;gap:4px}.br544-beforeafter>div+div{border-left:1px solid var(--line,#dce4ea);padding-left:12px}.br544-beforeafter b{font-size:15px}.br544-beforeafter span{font-size:12px}
.br544-body details{padding:10px 0;font-size:12px}.br544-body summary{cursor:pointer;font-weight:600}.br544-body .br544-check{display:flex;flex-direction:row;align-items:flex-start;gap:9px;font-size:12px;line-height:1.5;margin-top:12px}.br544-check input{width:18px;height:18px;min-width:18px;margin-top:2px}.br544-warning{border:1px solid #e5c790;background:#fff8ec;padding:10px 12px;border-radius:8px;font-size:12px;line-height:1.5}.br544-error{background:#fff0ee;border:1px solid #e5a19c;border-radius:8px;padding:10px;font-size:12px}.br544-dialog [hidden]{display:none!important}
@media(max-width:720px),(pointer:coarse){.br544-dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:12px}.br544-dialog>section{max-height:calc(100dvh - 14px)}.br544-dialog header,.br544-dialog footer,.br544-body{padding:12px}.br544-summary{grid-template-columns:1fr}.br544-parts article,.br544-comparison{grid-template-columns:1fr}.br544-dialog .btn,.br544-dialog .icon-btn{min-height:44px;min-width:44px}.br544-dialog input:not([type=checkbox]){min-height:44px;font-size:16px}.br544-body .br544-check{font-size:13px}.br544-check input{min-width:22px;width:22px;height:22px}.br544-dialog footer .btn{flex:1 1 120px}.br544-inputs{grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr)}}

.br544-datehint{font-size:11px;color:var(--muted,#687d8c);font-weight:400}.br544-inputs>label{min-width:0}.br544-inputs input[type=date]{padding-inline:9px;font-variant-numeric:tabular-nums}
