/* The estimator's parts, in the site's look. Its markup comes unchanged from the source file. */
.estimator{font-size:16px}
.estimator h2{margin:28px 0 10px;font-size:24px;line-height:29px;font-weight:900}
.estimator p{margin:6px 0 10px;max-width:70ch}
.est .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:14px;margin-top:14px}
.est label{display:flex;flex-direction:column;gap:4px;font-size:15px;font-weight:700;min-width:0}
.est select,.est input{font:inherit;font-weight:400;min-height:48px;padding:0 12px;border:1px solid var(--ink);border-radius:0;background:#fff;color:var(--ink);min-width:0;width:100%}
.est .actions{margin-top:16px;display:flex;gap:10px;flex-wrap:wrap}
.est .btn[disabled]{opacity:.6;cursor:default}
.est .out{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:14px;margin-top:16px}
.est .tile{background:var(--panel);padding:16px;min-width:0}
.est .tile.lead{background:var(--ink);color:#fff}
.est .tile .k{font-size:14px;color:var(--muted)}
.est .tile.lead .k,.est .tile.lead .d{color:var(--on-ink-muted)}
.est .tile .v{font-size:28px;line-height:34px;font-weight:700;margin-top:2px;overflow-wrap:anywhere}
.est .tile.lead .v{color:var(--accent);font-weight:900}
.est .tile .d{font-size:14px;line-height:19px;color:var(--muted)}
.est .kv{display:grid;grid-template-columns:minmax(160px,240px) 1fr;gap:6px 16px;font-size:15px;margin-top:16px;background:var(--panel);padding:16px}
.est .kv div{min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.est .kv div:nth-child(odd){color:var(--muted)}
.est .pos,.est .neg{font-weight:700}
.est .muted{color:var(--muted)}
.est .care{margin-top:14px;background:var(--panel);border:2px solid var(--ink);padding:14px 16px;font-size:15px}
.est .care b{display:block;margin-bottom:2px}
.est .care ul{margin:4px 0 0;padding-left:18px}
.est .care li{margin:3px 0;max-width:80ch}
.est .gate{margin-top:18px;background:var(--panel);padding:8px 20px 20px;position:relative}
.est .gate h2{margin-top:12px}
.est .gate .grid{margin-top:8px}
.est label.check{flex-direction:row;gap:10px;align-items:flex-start;margin-top:14px;font-weight:400;line-height:21px}
.est label.check input{width:22px;height:22px;min-height:0;flex:none;padding:0;margin:0}
.est label.check span{min-width:0}
.est label.hp{position:absolute;left:-9999px;top:0;width:1px;height:1px;overflow:hidden}
.est .err{margin-top:10px;font-size:15px;font-weight:700}
.est .fine{font-size:14px;color:var(--muted);margin:10px 0 0}
.est input.bad{border:2px solid var(--ink)}
.estimator .note{font-size:14px;line-height:20px;color:var(--muted);max-width:80ch;margin-top:24px}
.estimator .alert{background:var(--panel);border:2px solid var(--ink);padding:14px 16px;margin-bottom:16px}
.estimator .alert b{display:block;margin-bottom:4px}
.estimator .alert p{margin:0}
@media(max-width:600px){.est .kv{grid-template-columns:1fr}.est .kv div:nth-child(odd){margin-top:8px;font-weight:700}}
