.asc-calculator{--asc:#1f3f63;--asc2:#0f253d;--line:#dfe5eb;max-width:900px;margin:28px auto;font-family:inherit;color:#1d2327}.asc-calculator *{box-sizing:border-box}.asc-head{margin-bottom:22px}.asc-head h2{margin:0 0 8px;font-size:30px}.asc-head p{margin:0;color:#5c6670}.asc-form{padding:24px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 8px 28px rgba(0,0,0,.05)}.asc-field{margin-bottom:20px}.asc-field>label{display:block;font-weight:700;margin-bottom:8px}.asc-field input[type=number],.asc-field select{width:100%;min-height:48px;border:1px solid #c8d1da;border-radius:8px;padding:10px 12px;background:#fff;font:inherit}.asc-input-unit{display:flex;align-items:center}.asc-input-unit input{border-radius:8px 0 0 8px!important}.asc-input-unit span{height:48px;display:flex;align-items:center;padding:0 15px;background:#eef2f5;border:1px solid #c8d1da;border-left:0;border-radius:0 8px 8px 0;font-weight:700}.asc-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.asc-choice{position:relative;display:block;cursor:pointer}.asc-choice input{position:absolute;opacity:0}.asc-choice span{display:block;padding:16px;border:2px solid #d7dee5;border-radius:10px}.asc-choice strong,.asc-choice small{display:block}.asc-choice small{margin-top:3px;color:#697580}.asc-choice input:checked+span{border-color:var(--asc);background:#f3f7fb}.asc-submit{width:100%;border:0;border-radius:8px;background:var(--asc);color:#fff;padding:14px 18px;font-size:17px;font-weight:700;cursor:pointer}.asc-submit:hover{background:var(--asc2)}.asc-submit:disabled{opacity:.65;cursor:wait}.asc-result{margin-top:24px;padding:24px;border-radius:14px;background:#f7f9fb;border:1px solid var(--line)}.asc-result h3{margin:0 0 18px;font-size:24px}.asc-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:20px}.asc-stats>div{padding:12px;background:#fff;border:1px solid var(--line);border-radius:8px}.asc-stats span,.asc-stats strong{display:block}.asc-stats span{font-size:12px;color:#6b7783;margin-bottom:4px}.asc-table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:8px}.asc-result table{width:100%;border-collapse:collapse;min-width:650px}.asc-result th,.asc-result td{text-align:left;padding:12px;border-bottom:1px solid var(--line)}.asc-prod{display:flex;align-items:center;gap:10px}.asc-prod img{width:48px;height:48px;object-fit:cover;border-radius:6px;border:1px solid var(--line)}.asc-prod small{display:block;color:#6b7783;margin-top:2px}.asc-no-image{display:flex;width:48px;height:48px;align-items:center;justify-content:center;border:1px dashed var(--line);border-radius:6px;color:#999}.asc-total{display:flex;justify-content:space-between;align-items:end;margin-top:18px;padding-top:18px;border-top:2px solid #d5dde5}.asc-total span{font-weight:700}.asc-total strong{font-size:28px;color:var(--asc2)}.asc-note{font-size:12px;color:#697580;margin:14px 0 0}.asc-error{padding:14px;border-radius:8px;background:#fff1f0;color:#8a2424;border:1px solid #efc5c2}@media(max-width:700px){.asc-choice-grid,.asc-stats{grid-template-columns:1fr}.asc-form,.asc-result{padding:18px}.asc-head h2{font-size:25px}}
.asc-pdf{margin-top:18px;border:1px solid var(--asc);border-radius:8px;background:#fff;color:var(--asc);padding:11px 18px;font:inherit;font-weight:700;cursor:pointer}.asc-pdf:hover{background:#eef4f9}
.asc-pdf:disabled{opacity:.65;cursor:wait}
.asc-partial-fields{margin:0 0 20px;padding:18px;border:1px solid #dfe5eb;border-radius:10px;background:#f8fafc}.asc-partial-fields .asc-field:last-child{margin-bottom:0}.asc-choice-grid-compact .asc-choice span{min-height:72px}.asc-help{display:block;margin-top:6px;color:#697580;font-size:12px;line-height:1.4}
.asc-irregular-fields{margin:0 0 22px;padding:18px;border:1px solid #dfe5eb;border-radius:10px;background:#f8fafc}.asc-irregular-intro{margin-bottom:14px}.asc-irregular-intro p{margin:5px 0 0;color:#697580;font-size:13px}.asc-edge-table{overflow:visible}.asc-edge-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.asc-edge-row{min-width:0;padding:14px;border:1px solid #dfe5eb;border-radius:11px;background:#fff;box-shadow:0 2px 8px rgba(15,37,61,.035)}.asc-edge-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #e7ebef}.asc-edge-title{display:flex;align-items:center;gap:8px;font-weight:700;color:#263746}.asc-edge-no{display:flex;width:30px;height:30px;align-items:center;justify-content:center;border-radius:50%;background:#eef3f7;color:#173a5e}.asc-edge-field{display:block;min-width:0;margin:0 0 12px}.asc-edge-field:last-child{margin-bottom:0}.asc-edge-label{display:block;margin-bottom:6px;color:#53616e;font-size:12px;font-weight:700;line-height:1.25}.asc-edge-row input,.asc-edge-row select{width:100%;max-width:100%;min-width:0;min-height:42px;border:1px solid #c8d1da;border-radius:7px;padding:8px;background:#fff;font:inherit}.asc-edge-input{display:flex;align-items:center;min-width:0}.asc-edge-input input{min-width:0;border-radius:7px 0 0 7px}.asc-edge-input span{height:42px;display:flex;align-items:center;flex:0 0 auto;padding:0 10px;border:1px solid #c8d1da;border-left:0;border-radius:0 7px 7px 0;background:#eef2f5;font-weight:700}.asc-edge-corner-field{padding-top:1px}.asc-remove-edge{flex:0 0 36px;width:36px;height:36px;border:1px solid #d7dee5;border-radius:7px;background:#fff;color:#8a2424;font-size:24px;line-height:1;cursor:pointer}.asc-remove-edge:hover{background:#fff1f0}.asc-add-edge{margin:13px 0 5px;border:1px solid var(--asc);border-radius:8px;background:#fff;color:var(--asc);padding:10px 15px;font:inherit;font-weight:700;cursor:pointer}.asc-add-edge:hover{background:#eef4f9}@media(max-width:780px){.asc-edge-list{grid-template-columns:1fr}.asc-irregular-fields{padding:14px}.asc-edge-row{padding:13px}}@media(max-width:430px){.asc-edge-list{gap:10px}.asc-edge-row{padding:12px}.asc-edge-card-head{margin-bottom:10px}.asc-corner-tiles{grid-template-columns:1fr}.asc-corner-tile{min-height:54px}.asc-corner-tile svg{width:34px;height:34px;flex-basis:34px}.asc-corner-tile strong{font-size:13px}.asc-corner-tile small{font-size:11px}}

.asc-geometry-limited{margin:0 0 20px;padding:12px 14px;border:1px solid #d9e1e8;border-radius:8px;background:#f7f9fb;color:#5f6c77;font-size:13px;line-height:1.45}.asc-geometry-validator{margin-top:18px;padding:16px;border:1px solid #d9e1e8;border-radius:10px;background:#fff}.asc-geometry-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.asc-check-geometry{border:1px solid var(--asc);border-radius:8px;background:var(--asc);color:#fff;padding:10px 15px;font:inherit;font-weight:700;cursor:pointer}.asc-check-geometry:hover{background:var(--asc2)}.asc-check-geometry:disabled{opacity:.6;cursor:wait}.asc-geometry-status{flex:1;min-width:240px;padding:10px 12px;border-radius:7px;font-size:13px;line-height:1.4}.asc-geometry-status.is-pending{background:#f5f7f9;color:#687681}.asc-geometry-status.is-checking{background:#eef5fb;color:#24577e}.asc-geometry-status.is-valid{background:#edf8f1;color:#1d6639;border:1px solid #bee2c9}.asc-geometry-status.is-invalid{background:#fff1f0;color:#8a2424;border:1px solid #efc5c2}.asc-geometry-preview{margin-top:15px}.asc-geometry-preview svg{display:block;width:100%;height:auto;max-height:480px;border:1px solid #e0e6eb;border-radius:10px}.asc-geometry-metrics{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.asc-geometry-metrics span{padding:7px 10px;background:#f2f5f7;border-radius:999px;font-size:12px;color:#5c6873}.asc-svg-bg{fill:#fff}.asc-svg-edge{stroke-width:5;stroke-linecap:round;fill:none;vector-effect:non-scaling-stroke}.asc-svg-edge.protected{stroke:#25834f}.asc-svg-edge.unprotected{stroke:#aeb8c1}.asc-svg-route{stroke:#24628f;stroke-width:3;stroke-dasharray:9 7;stroke-linecap:round;fill:none;vector-effect:non-scaling-stroke}.asc-svg-point{fill:#173a5e}.asc-svg-label{font:700 14px Arial,sans-serif;fill:#17212b;text-anchor:middle;paint-order:stroke;stroke:#fff;stroke-width:4px}.asc-svg-legend{font:12px Arial,sans-serif;fill:#5c6873}@media(max-width:700px){.asc-geometry-actions{align-items:stretch}.asc-check-geometry,.asc-geometry-status{width:100%}.asc-geometry-status{min-width:0}}

.asc-antibot{margin:2px 0 18px;padding:16px;border:1px solid #dfe5eb;border-radius:10px;background:#f8fafc}.asc-captcha label{display:block;font-weight:700;margin-bottom:8px}.asc-captcha input[type=number]{width:180px;max-width:100%;min-height:46px;border:1px solid #c8d1da;border-radius:8px;padding:9px 12px;background:#fff;font:inherit}.asc-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}.asc-honeypot input{width:1px!important;height:1px!important}.asc-captcha strong{white-space:nowrap}

.asc-corner-select{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}.asc-corner-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.asc-corner-tile{display:flex;align-items:center;gap:7px;min-height:64px;border:2px solid #d7dee5;border-radius:9px;background:#fff;padding:7px 8px;text-align:left;color:#263746;font:inherit;cursor:pointer}.asc-corner-tile:hover{border-color:#9fb2c4;background:#f7fafc}.asc-corner-tile.is-selected{border-color:var(--asc);background:#f3f7fb;box-shadow:0 0 0 1px rgba(31,63,99,.05)}.asc-corner-tile svg{width:38px;height:38px;flex:0 0 38px}.asc-corner-tile span,.asc-corner-tile strong,.asc-corner-tile small{display:block}.asc-corner-tile strong{font-size:12px;line-height:1.15}.asc-corner-tile small{margin-top:3px;color:#6b7783;font-size:10px;line-height:1.15}.asc-corner-shape{fill:#e7edf2;stroke:#536b80;stroke-width:2;stroke-linejoin:round}.asc-corner-line{fill:none;stroke:#536b80;stroke-width:4;stroke-linecap:round}.asc-corner-dot{fill:var(--asc);stroke:#fff;stroke-width:1.5}.asc-corner-tile.is-selected .asc-corner-shape{fill:#dce9f4;stroke:var(--asc)}.asc-corner-tile.is-selected .asc-corner-line{stroke:var(--asc)}
@media(max-width:430px){.asc-corner-tiles{grid-template-columns:1fr}.asc-corner-tile{min-height:54px}.asc-corner-tile svg{width:34px;height:34px;flex-basis:34px}.asc-corner-tile strong{font-size:13px}.asc-corner-tile small{font-size:11px}}
.asc-geometry-note{margin:14px 0;padding:12px 14px;border-radius:10px;background:#fff7d6;border:1px solid #e7c95c;color:#4d430f;font-size:14px;line-height:1.45}
