*{box-sizing:border-box}
body.calc-page{margin:0;background:var(--begins-paper,#fffaf0);color:var(--begins-ink,#151510);font-family:var(--begins-ui-font,"Malgun Gothic",sans-serif);font-size:15px;line-height:1.6;word-break:keep-all}
.calc-page a{color:inherit}
.calc-page button,.calc-page input,.calc-page select{font:inherit;color:inherit}
.calc-page [hidden]{display:none!important}
.calc-wrap{width:min(960px,100%);margin:0 auto;padding:0 16px}
.calc-hero{padding:22px 0 14px}
.calc-breadcrumb{display:flex;gap:8px;align-items:center;font-size:12px;color:#67675d;flex-wrap:wrap}
.calc-hero h1{margin:6px 0 2px;font-size:28px;line-height:1.25}
.calc-lead{margin:0;color:#67675d}
.calc-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 12px}
.calc-tabs button{flex:1 1 0;min-width:0;padding:10px 8px;border:2px solid #151510;border-radius:8px;background:#fffefa;font-weight:700;cursor:pointer}
.calc-tabs button[aria-selected="true"]{background:#ffd24c;box-shadow:0 3px 0 #151510}
.calc-tabs button:focus-visible,.calc-page input:focus-visible,.calc-page select:focus-visible,.mob-list button:focus-visible{outline:3px solid #f46728;outline-offset:2px}
.calc-status{margin:0 0 10px;font-size:13px;color:#67675d;min-height:1.2em}
.calc-panel{background:#fffefa;border:2px solid #151510;border-radius:12px;padding:16px;margin-bottom:14px}
.calc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:12px}
.calc-panel label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:700;min-width:0}
.calc-panel input[type=number],.calc-panel input[type=search],.calc-panel select{width:100%;min-width:0;padding:9px 10px;border:2px solid #151510;border-radius:6px;background:#fff;font-weight:400;font-size:16px}
.calc-panel label.calc-check{flex-direction:row;align-items:center;gap:8px;align-self:end;font-weight:600;padding:9px 0}
.calc-panel label.calc-check input{width:20px;height:20px;accent-color:#f46728}
.calc-block{border-top:1px dashed #b7b9a6;padding-top:12px;margin-top:4px}
.calc-block h2{margin:0 0 8px;font-size:16px}
.mob-picker{position:relative;margin-bottom:10px}
.mob-list{list-style:none;margin:4px 0 0;padding:0;border:2px solid #151510;border-radius:8px;background:#fff;max-height:260px;overflow:auto}
.mob-list li{margin:0}
.mob-list button{display:flex;justify-content:space-between;gap:10px;width:100%;padding:9px 12px;border:0;border-bottom:1px solid #e3e1d2;background:transparent;text-align:left;cursor:pointer}
.mob-list button:hover{background:#fff3c4}
.mob-list small{color:#67675d;white-space:nowrap}
.mob-list .none{padding:9px 12px;color:#67675d}
.calc-note{margin:0 0 10px;font-size:13px;color:#67675d}
.calc-note a{color:#b64b1b;text-decoration:underline}
.calc-out{margin-top:6px}
.calc-out .res{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.calc-out .res>div{border:2px solid #151510;border-radius:10px;padding:10px 12px;background:#fff}
.calc-out .res b{display:block;font-size:12px;color:#67675d;font-weight:700}
.calc-out .res span{display:block;font-size:20px;font-weight:800;overflow-wrap:anywhere}
.calc-out .res .hl{background:#ffd24c}
.calc-out p{margin:10px 0 0;font-size:13px;color:#67675d}
.calc-out .warn{color:#b64b1b;font-weight:700}
.calc-table-wrap{overflow-x:auto;margin-top:12px;max-width:100%}
.calc-table{border-collapse:collapse;width:100%;min-width:0;font-size:14px}
.calc-table th,.calc-table td{padding:6px 8px;border-bottom:1px solid #e3e1d2;text-align:right;white-space:nowrap}
.calc-table th:first-child,.calc-table td:first-child{text-align:left}
.calc-table tr.target td{background:#fff3c4;font-weight:700}
.calc-foot{font-size:12px;color:#67675d;margin:4px 0 24px}
@media (max-width:480px){.calc-hero h1{font-size:24px}.calc-panel{padding:12px}.calc-tabs button{font-size:13px;padding:9px 4px}.calc-out .res span{font-size:18px}}
