/* GeoTerva — the Report tab, the (?) windows and their dialog for the surcharge tools (2026-10-01): the rules of tools/bearing/bearing.css
   they need, taken over unchanged, plus the Method options with a (?) beside them. */
.gc-help-btn{
  width:20px;
  height:20px;
  min-width:20px;
  padding:0;
  margin-left:5px;
  display:inline-grid;
  place-items:center;
  border:1.6px solid #2586e6;
  border-radius:50%;
  background:#fff;
  color:#0b6fca;
  font:800 12px/1 "Inter","Segoe UI",Arial,sans-serif;
  cursor:pointer;
  vertical-align:middle;
  box-shadow:0 1px 4px rgba(11,111,202,.10);
}
.gc-help-btn:hover{background:#eaf5ff;border-color:#0b6fca}
.gc-help-btn:focus{outline:none;box-shadow:0 0 0 3px rgba(20,135,232,.16)}
.gc-help-open{overflow:hidden}
.gc-help-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  padding:24px;
}
.gc-help-modal[hidden]{display:none!important}
.gc-help-backdrop{
  position:absolute;
  inset:0;
  background:rgba(9,32,48,.46);
  backdrop-filter:blur(2px);
}
.gc-help-card{
  position:relative;
  z-index:1;
  width:min(820px,calc(100vw - 36px));
  max-height:min(82vh,760px);
  overflow:auto;
  padding:22px 24px 24px;
  border:1px solid #c9dae5;
  border-radius:16px;
  background:#fff;
  box-shadow:0 24px 70px rgba(13,54,79,.28);
}
.gc-help-close{
  position:absolute;
  top:12px;
  right:14px;
  width:32px;
  height:32px;
  border:1px solid #cedde7;
  border-radius:9px;
  background:#f8fbfd;
  color:#35566a;
  font:500 23px/1 "Segoe UI",Arial,sans-serif;
  cursor:pointer;
}
.gc-help-close:hover{background:#eef6fb}
.gc-help-kicker{
  color:#0b6fca;
  font:800 10px/1.2 "Inter","Segoe UI",Arial,sans-serif;
  letter-spacing:.12em;
}
.gc-help-card h3{
  margin:6px 42px 10px 0;
  color:#173f59;
  font:800 20px/1.25 "Inter","Segoe UI",Arial,sans-serif;
}
.gc-help-lead{
  margin:0 0 14px;
  color:#526b79;
  font-size:13px;
  line-height:1.55;
}
.gc-help-single-diagram{padding:10px}
.gc-help-svg{width:100%;height:auto;display:block}
.gc-help-svg.large{max-height:330px}
.gc-help-svg .help-concrete{
  fill:#d4dde2;
  stroke:#2c4654;
  stroke-width:2;
  stroke-linejoin:round;
}
.gc-help-svg .help-guide{stroke:#78909c;stroke-width:1.2;stroke-dasharray:5 4}
.gc-help-svg .help-accent{fill:none;stroke:#1487e8;stroke-width:2.6}
.gc-help-svg .help-arrow{fill:none;stroke:#1487e8;stroke-width:2}
.gc-help-svg .help-text{fill:#59717f;font:11px "Inter","Segoe UI",Arial,sans-serif}
.gc-help-svg .help-text.strong{fill:#164b6d;font-weight:800}
.gc-help-svg .help-side-label{fill:#8496a0;font:800 9.5px "Inter","Segoe UI",Arial,sans-serif;letter-spacing:.05em}
.gc-help-svg .help-ground{stroke:#536d7a;stroke-width:1.8}
.gc-help-svg .help-dim,.gc-help-svg .help-dim-water{stroke:#586fff;stroke-width:1.35}
.gc-help-svg .help-dim-water{stroke:#1682c4}
.gc-help-svg .help-dim-text{fill:#586fff;font:800 15px "Inter","Segoe UI",Arial,sans-serif}
.gc-help-svg .help-dim-water-text{fill:#1682c4;font:800 15px "Inter","Segoe UI",Arial,sans-serif}
.gc-help-svg .help-label{fill:#667e8b;font:11.5px "Inter","Segoe UI",Arial,sans-serif}
.gc-help-svg .help-label.strong{fill:#244b63;font-weight:800}
.gc-help-svg .help-water{stroke:#1682c4;stroke-width:2;stroke-dasharray:7 5}
.gc-help-svg .help-water-text{fill:#1682c4;font:800 11.5px "Inter","Segoe UI",Arial,sans-serif}
.gc-help-rule{
  margin-top:12px;
  padding:10px 12px;
  border-left:3px solid #1487e8;
  border-radius:0 8px 8px 0;
  background:#f4f9fd;
  color:#557080;
  font-size:12px;
  line-height:1.5;
}
.gc-help-rule b{color:#173f59}
@media(max-width:680px){.gc-help-modal{padding:12px}.gc-help-card{width:calc(100vw - 20px);padding:18px 16px 20px}}
.rw-note{font-size:11px;color:#6b7f8b;margin:4px 0;line-height:1.45}
.rw-pchips{display:flex;flex-wrap:wrap;gap:5px;padding:6px 8px 2px}
.rw-pchips .rw-chip{font-size:10.5px;padding:4px 8px}
.rw-pchips .rw-chip i{display:inline-block;width:14px;height:3px;margin-right:5px;vertical-align:middle;border-radius:2px}
.rw-pchips .rw-chip[aria-pressed="false"]{opacity:.6}
.rw-report-intro{font-size:12px;color:#46606e;line-height:1.55;margin:0 0 10px}
.rw-report-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 12px}
.rw-report-msg{font-size:11px;color:#6b7f8b}
.rw-report-preview{border:1px solid #dbe7ee;border-radius:10px;background:#fff;padding:14px 16px;overflow:auto}
.rw-report-preview .rep-h1{font-size:15px;letter-spacing:0;text-transform:none;color:#17262b;margin:20px 0 6px}
.rw-report-preview .rep-p{font-size:12.5px;line-height:1.55;margin:4px 0 8px}
.rw-report-preview figure{margin:8px 0 12px}
.rw-report-preview figure svg{width:100%;height:auto}
.rw-report-preview figcaption{font-size:11px;color:#607784;margin-top:4px}
.rw-report-preview table.gc{font-size:11.5px}
.rw-report-preview .rail-n,.rw-report-preview .rail-i{display:none}
.gc-help-qs{margin:12px 0 10px;border:1px solid #dbe7ee;border-radius:10px;overflow:hidden;background:#fff}
.gc-help-qs-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border-top:1px solid #edf2f6;font-size:13px;color:#17262b}
.gc-help-qs-row:first-child{border-top:0}
.gc-help-qs-row span{font-size:11.5px;color:#7a8b97;font-variant-numeric:tabular-nums}
.gc-help-qs-row.is-on{background:#eaf4fd;box-shadow:inset 3px 0 0 #1487e8}
.gc-help-steps{margin:0 0 10px 20px;padding:0;font-size:13.5px;line-height:1.6;color:#2e4453}
.gc-help-steps li{margin:2px 0}
.rw-analyze{position:sticky;bottom:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 0;padding:10px 12px;border:1px solid #cfe0ec;border-radius:10px;background:linear-gradient(180deg,#f7fbfe,#eef6fc);box-shadow:0 4px 14px rgba(23,63,91,.08)}
.rw-analyze-txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.rw-analyze-txt b{font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:#425f71}
.rw-analyze-txt b.is-ok{color:#1f7a45}
.rw-analyze-txt b.is-warn{color:#a05a0c}
.rw-analyze-txt span{font-size:11.5px;color:#607784;line-height:1.35}
.rw-analyze-btns{display:flex;gap:6px;flex-shrink:0}
.rw-analyze .btn-primary{padding:8px 18px;font-weight:750}
.rw-empty{padding:26px 14px;text-align:center;font-size:13.5px}
.rw-analyze [hidden],.rw-overlay[hidden]{display:none!important}
.rw-report-kind{margin:0 0 10px}
.rw-report-summary .rws-summary{font-family:Calibri,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.45;color:#1f2a33}
.rw-report-summary .sec-h{font-size:17px;font-weight:700;color:#1B4B8F;text-transform:none;letter-spacing:0;margin:22px 0 8px}
.rw-report-summary .step-h{font-size:14.5px;font-weight:700;color:#2E4E7E;margin:14px 0 6px}
.rw-report-summary .rep-p{text-align:justify;margin:0 0 8px;font-size:14px;max-width:none}
.rw-report-summary table.gc{width:100%;border-collapse:collapse;font-size:13px;margin:6px 0 12px}
.rw-report-summary table.gc th{background:#DCE3EF;color:#1f2a33;font-weight:700;text-align:center;text-transform:none;padding:6px 8px;border:1px solid #D5DBE5}
.rw-report-summary table.gc td{text-align:center;padding:5px 8px;border:1px solid #E1E5EC}
.rw-report-summary table.gc td:first-child,.rw-report-summary table.gc td.txt{text-align:left}
.rw-report-summary table.gc tr.sum td{background:#F0F3F8;font-weight:700}
.rws-ok{color:#1F7A45;font-weight:700}
.rws-ng{color:#B42318;font-weight:700}
.rws-warn{color:#A15C00;font-weight:700}
.rw-report-summary .eq{text-align:center;margin:8px 0 12px}
.rw-report-summary figure{text-align:center;margin:10px 0}
.rw-report-summary figcaption{font-style:italic;color:#555;font-size:12.5px}
.rw-report-summary ul.rep-list{margin:0 0 10px 22px;padding:0}
.rw-report-summary ul.rep-list li{margin:0 0 4px}
.rw-analyze{border:0;color:#fff;box-shadow:0 8px 22px rgba(10,60,110,.28)}
.rw-analyze.is-idle{background:linear-gradient(135deg,#0b63c4 0%,#1487e8 100%)}
.rw-analyze.is-ok{background:linear-gradient(135deg,#127a43 0%,#22a35c 100%);box-shadow:0 8px 22px rgba(18,110,60,.30)}
.rw-analyze.is-warn{background:linear-gradient(135deg,#c2410c 0%,#f08a12 100%);box-shadow:0 8px 22px rgba(194,65,12,.32)}
.rw-analyze-txt{padding-left:44px;position:relative}
.rw-analyze-txt::before{content:"";position:absolute;left:0;top:50%;width:32px;height:32px;margin-top:-16px;border-radius:50%;background:rgba(255,255,255,.2) center/18px 18px no-repeat;box-shadow:inset 0 0 0 2px rgba(255,255,255,.55)}
.rw-analyze.is-idle .rw-analyze-txt::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3C/svg%3E")}
.rw-analyze.is-ok .rw-analyze-txt::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.rw-analyze.is-warn .rw-analyze-txt::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v9' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='19' r='1.9' fill='%23fff'/%3E%3C/svg%3E")}
.rw-analyze .rw-analyze-txt b,.rw-analyze .rw-analyze-txt b.is-ok,.rw-analyze .rw-analyze-txt b.is-warn{color:#fff;font-size:13px;letter-spacing:.05em}
.rw-analyze .rw-analyze-txt span{color:rgba(255,255,255,.9)}
.rw-analyze .rw-analyze-btns .btn{background:#fff;color:#123e5c;border:0;font-weight:750;box-shadow:0 2px 6px rgba(0,0,0,.12)}
.rw-analyze .rw-analyze-btns .btn:hover{background:#f1f7fc}
.rw-analyze.is-idle #rwAnalyze{color:#0b63c4;padding:9px 22px;font-size:14px}
.rw-analyze.is-ok #rwEditInputs{color:#127a43}
.rw-analyze.is-warn #rwWarnings{color:#b93d0a}
.rw-analyze.is-warn #rwEditInputs{background:rgba(255,255,255,.16);color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.75)}
.rw-analyze.is-warn #rwEditInputs:hover{background:rgba(255,255,255,.26)}
.rw-analyze .btn:focus-visible{outline:3px solid #fff;outline-offset:2px}
.rw-pchips .rw-pplane{display:inline-flex;flex-wrap:wrap;gap:5px}
.rw-pchips .rw-chip.rw-plane{font-size:11px;padding:4px 10px}
.rw-pchips .rw-chip.rw-plane[aria-pressed="false"]{opacity:1}
.rw-pchips .rw-psep{align-self:stretch;width:1px;background:#d7e5ef;margin:1px 3px}
.rw-pchips .rw-pnote{align-self:center;font-size:10.5px;color:#607784}
.rw-pchips .rw-chip.rw-lcase{font-size:10.5px}
.rw-pchips .rw-chip i{width:15px;height:9px;border:1.5px solid;border-radius:2px;box-sizing:border-box;background-clip:padding-box}
.rw-pchips .rw-chip i.is-dash{height:0;border:0;border-top:2px dashed;border-radius:0}
.rw-pchips.rw-pbar{gap:6px;padding:6px 8px;align-items:stretch;background:#f6f8fb;border-bottom:1px solid #e2e8ef}
.rw-pgrp{display:flex;flex-direction:column;gap:4px;min-width:0;padding:5px 7px 6px;background:#fff;border:1px solid #dce4ed;border-radius:9px;box-shadow:0 1px 2px rgba(16,42,67,.05)}
.rw-pgrp-h{display:flex;align-items:center;gap:5px;font:600 10.5px/12px var(--font-text);color:#1d2a39;white-space:nowrap}
.rw-layers{display:flex;flex-wrap:wrap;gap:5px}
.rw-lay{appearance:none;margin:0;display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 8px 0 6px;border:1px solid var(--lay-bd);border-radius:7px;
  background:var(--lay-bg);color:#243548;font:500 11px/1 var(--font-text);cursor:pointer;white-space:nowrap;transition:background .12s,border-color .12s,color .12s}
.rw-lay:hover{border-color:var(--lay-c)}
.rw-lay:focus-visible{outline:2px solid #0b6fca;outline-offset:1px}
.rw-cb{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:13px;height:13px;box-sizing:border-box;border-radius:3.5px;border:1.5px solid var(--lay-c);background:var(--lay-c)}
.rw-cb svg{width:9px;height:9px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;background:none}
.rw-lay-line{display:inline-block;flex:0 0 auto;width:13px;border-top:2px solid var(--lay-c)}
.rw-lay-line.is-dash{border-top-style:dashed}
.rw-lay[aria-pressed="false"]{background:#fff;border-color:#dfe6ee;color:#6e7f8f}
.rw-lay[aria-pressed="false"] .rw-cb{background:#fff;border-color:#b8c4d0}
.rw-lay[aria-pressed="false"] .rw-cb svg{visibility:hidden}
.rw-lay[aria-pressed="false"] .rw-lay-line{opacity:.45}
.rw-pbar .rw-pnote{display:flex;align-items:center;min-height:24px;font-size:11px;color:#5d7181;white-space:normal}
.rw-rep-card{margin:0 0 14px;border:2.5px solid #2586e6;border-radius:12px;background:linear-gradient(180deg,#fff 0%,#f9fcfe 100%);box-shadow:0 4px 14px rgba(25,87,126,.06);overflow:hidden}
.rw-rep-title{position:relative;margin:0;padding:11px 14px 11px 19px;border-bottom:1px solid #dbe8f0;background:linear-gradient(180deg,#f3f9fe 0%,#eaf4fb 100%);color:#114c7b;font-weight:800;font-size:13.5px;letter-spacing:.06em;text-transform:uppercase}
.rw-rep-title:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,#2b8be6 0%,#126fca 100%)}
.rw-rep-body{padding:10px 14px 14px}
.rw-rep-note{margin:0 0 10px;font-size:11.5px;line-height:1.5;color:#587181}
.rw-rep-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px 12px}
.rw-rep-f{display:flex;flex-direction:column;gap:4px;min-width:0;margin:0}
.rw-rep-wide{grid-column:1/-1}
.rw-rep-f>span{font-size:11.5px;font-weight:650;color:#425f71}
.rw-rep-f>span small{font-weight:400;color:#81939e;margin-left:6px}
.rw-rep-f input,.rw-rep-f textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #cfdee8;border-radius:7px;padding:7px 9px;background:#fff;color:#183a4e;font:500 12.5px var(--font-text,inherit)}
.rw-rep-f textarea{resize:vertical;min-height:54px;line-height:1.45}
.rw-rep-f input:focus,.rw-rep-f textarea:focus{outline:none;border-color:#2586e6;box-shadow:0 0 0 3px rgba(37,134,230,.15)}
.rw-rep-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 10px}
.rw-rep-btns{display:flex;gap:8px;flex:0 0 auto}
.rw-rep-bar .btn{font-size:12px;padding:6px 12px}
.rw-rep-bar-t{flex:1 1 160px;display:flex;flex-direction:column;gap:1px;min-width:0}
.rw-rep-bar-t b{font-size:13px;color:#114c7b}
.rw-rep-bar-t span{font-size:11px;color:#6b7f8b}
.rw-rep-bar-t span.is-bad{color:#b42318}
.rw-report-preview.rw-rep-paper{background:#e8eef2;padding:12px;border-radius:10px}
.rw-rep-paper .report.rep-summary{margin:0 auto;padding:22px 24px;background:#fff;box-shadow:0 1px 6px rgba(20,50,70,.14);border-radius:2px}
html .rw-rep-paper .report.rep-summary .rep-cover.rcs{min-height:0;padding-bottom:26px}
html .report.rep-summary,html .report.rep-summary .rws-summary{font-family:Calibri,Carlito,"Segoe UI",Arial,sans-serif;font-size:10.5pt;line-height:1.3;color:#111}
html .report.rep-summary{max-width:170mm}
html .report.rep-summary .rep-p,html .report.rep-summary li,html .report.rep-summary td,html .report.rep-summary th{font-family:Calibri,Carlito,"Segoe UI",Arial,sans-serif}
html .report.rep-summary .rep-p{font-size:10.5pt;line-height:1.3;text-align:justify;margin:4pt 0 6pt;max-width:none;color:#111}
html .report.rep-summary .xbar{position:relative;display:inline-block}
html .report.rep-summary .xbar::after{content:"";position:absolute;left:.04em;right:.02em;top:.2em;border-top:.075em solid currentColor}
html .report.rep-summary .sec-h{font-family:Calibri,Carlito,"Segoe UI",Arial,sans-serif;font-size:13pt;line-height:1.25;font-weight:700;color:#1B4B8F;letter-spacing:0;text-transform:none;margin:18pt 0 8pt;padding:0;border:0;break-after:avoid}
html .report.rep-summary .step-h{font-family:Calibri,Carlito,"Segoe UI",Arial,sans-serif;font-size:11pt;line-height:1.25;font-weight:700;color:#2E4E7E;letter-spacing:0;margin:12pt 0 6pt;break-after:avoid}
html .report.rep-summary .sub-h{font-family:Calibri,Carlito,"Segoe UI",Arial,sans-serif;font-size:12pt;font-weight:400;color:#1F4D78;margin:10pt 0 4pt;break-after:avoid}
html .report.rep-summary ul.rep-list,html .report.rep-summary ol.rep-list{margin:2pt 0 6pt;padding:0 0 0 36pt}
html .report.rep-summary ul.rep-list{list-style:disc}
html .report.rep-summary .rep-list li{font-size:10.5pt;line-height:1.26;text-align:justify;margin:2pt 0 3pt;padding-left:3pt}
html .report.rep-summary .eq{text-align:center;font-family:Cambria,"Times New Roman",serif;font-size:11pt;line-height:1.5;margin:8pt 0 10pt;color:#111}
html .report.rep-summary table.gc{width:100%;border-collapse:collapse;font-size:9.5pt;margin:4pt 0 10pt;border:.75pt solid #9AA3B0}
html .report.rep-summary table.gc th,html .report.rep-summary table.gc td{font-family:Calibri,Carlito,"Segoe UI",Arial,sans-serif;font-size:9.5pt;font-variant-numeric:normal;line-height:1.25;letter-spacing:0;padding:3.5pt 5.5pt;border:.5pt solid #C6CBD4;text-align:center;vertical-align:middle;white-space:normal;color:#111}
html .report.rep-summary table.gc thead th{background:#DCE3EF;font-weight:700;text-transform:none}
html .report.rep-summary table.gc td:first-child,html .report.rep-summary table.gc td.txt,html .report.rep-summary table.gc td.lab{text-align:left}
html .report.rep-summary table.gc tr.sum td{background:#F0F3F8;font-weight:700}
html .report.rep-summary thead{display:table-header-group}
html .report.rep-summary tr{break-inside:avoid}
html .report.rep-summary .rep-step{break-inside:avoid}
html .report.rep-summary .eq-val{break-inside:avoid;break-before:avoid}
html .report.rep-summary .eq,html .report.rep-summary .eq-sub{break-inside:avoid}
html .report.rep-summary .rep-p,html .report.rep-summary li{orphans:2;widows:2}
html .report.rep-summary .rws-ok{color:#1F7A45;font-weight:700}
html .report.rep-summary .rws-ng{color:#B42318;font-weight:700}
html .report.rep-summary figure.rep-fig,html .report.rep-summary figure.calc-fig{display:block;margin:8pt 0 12pt;padding:0;border:0;background:none;text-align:center;break-inside:avoid}
html .report.rep-summary .rep-fig .figure{border:0;padding:0;margin:0;background:none}
html .report.rep-summary .rep-fig svg{display:block;margin:0 auto;max-width:100%;height:auto}
html .report.rep-summary figure figcaption,html .report.rep-summary .rwr-tcap,html .report.rep-summary .rws-tcap{font-family:Calibri,Carlito,"Segoe UI",Arial,sans-serif;font-style:italic;font-weight:400;color:#555;font-size:9.5pt;line-height:1.3;text-align:center;max-width:none;margin:5pt 0 0;padding:0;border:0}
html .report.rep-summary .rwr-tcap,html .report.rep-summary .rws-tcap{margin:8pt 0 3pt;break-after:avoid}
html .report.rep-summary .rep-cover.rcs{display:block;min-height:240mm;padding:24pt 0 0;margin:0 0 40px;text-align:center;border-bottom:1px dashed #c9d3db;break-after:page}
@media print{html .report.rep-summary .rws-tw,html .report.rep-summary .rwr-tw{overflow:visible!important}html .report.rep-summary{max-width:none;padding:0;border:0;border-radius:0;box-shadow:none;background:#fff}html .report.rep-summary .rep-cover.rcs{min-height:0;border:0;margin:0}html .report.rep-summary .sec-h~.sec-h{page-break-before:always;break-before:page;margin-top:0}}
.rw-pchips.rw-pbar.lq-bar{flex-wrap:wrap;align-items:center;gap:6px 8px;padding:5px 8px}
.lq-bar .rw-pgrp{flex-direction:row;align-items:center;gap:8px;padding:4px 6px 4px 9px}
.lq-bar .rw-seg{align-self:center}
.lq-bar .rw-layers{flex-wrap:nowrap}
.lq-modal{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(15,44,76,.42)}
.lq-modal[hidden]{display:none}
.lq-dlg{display:flex;flex-direction:column;width:min(980px,100%);max-height:calc(100vh - 32px);border-radius:14px;background:#fff;box-shadow:0 24px 60px rgba(9,35,60,.35);overflow:hidden}
.lq-dlg.is-small{width:min(560px,100%)}
.lq-dlg-h{display:flex;align-items:center;gap:10px;padding:13px 16px;border-bottom:1px solid #dbe8f0;background:linear-gradient(180deg,#f3f9fe 0%,#eaf4fb 100%)}
.lq-dlg-h b{font:800 13.5px var(--font-text);letter-spacing:.06em;text-transform:uppercase;color:#114c7b}
.lq-dlg-h b.is-plain{text-transform:none;letter-spacing:.01em;font-size:14.5px}
.lq-dlg-x{margin-left:auto;width:32px;height:32px;border:0;border-radius:8px;background:none;font-size:22px;line-height:1;color:#5a7180;cursor:pointer}
.lq-dlg-x:hover{background:#e3eef6}
.lq-dlg-b{padding:14px 16px;overflow:auto;min-height:0}
.lq-dlg-b p{margin:0 0 10px;font-size:12.8px;line-height:1.55;color:#2f4858}
.lq-dlg-f{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:11px 16px;border-top:1px solid #e3edf3;background:#fafcfd}
.rw-note{font-size:12px;color:#5f7583;line-height:1.5;margin:8px 0 0}
.rw-analyze.is-info{background:linear-gradient(135deg,#34566f 0%,#557d99 100%);box-shadow:0 8px 22px rgba(38,72,96,.28)}
.rw-analyze.is-fail{background:linear-gradient(135deg,#9f1d14 0%,#d63b2c 100%);box-shadow:0 8px 22px rgba(160,30,20,.32)}
.rw-analyze.is-info .rw-analyze-txt::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='6.5' r='1.9' fill='%23fff'/%3E%3Cpath d='M12 11v8' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E")}
.rw-analyze.is-fail .rw-analyze-txt::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E")}
.gc-help-qs-row .bc-hq{flex:1 1 auto;min-width:0;line-height:1.45}
.gc-help-qs-row > span{flex:0 1 auto;text-align:right;max-width:48%}
.eq .eq-src{display:none}
.eq math{font-size:1.06em}
.rw-analyze-btns .btn:disabled{background:#e6ecf1;border-color:#d3dde4;color:#9aa8b2;box-shadow:none;cursor:not-allowed;opacity:1}
.rw-analyze-btns .btn:disabled:hover{transform:none;background:#e6ecf1}
.gc-mwrap{position:relative;display:block}
.gc-mwrap > .gc-method-btn{width:100%;padding-right:26px}
.gc-help-inline{
  position:absolute;
  right:6px;
  top:50%;
  transform:translateY(-50%);
  width:18px;
  height:18px;
  min-width:18px;
  margin:0;
  border:0;
  background:transparent;
  box-shadow:none;
  color:#2586e6;
  opacity:.75;
}
.gc-help-inline svg{width:14px;height:14px}
.gc-help-inline:hover{opacity:1;background:transparent}
.gc-method-btn.active + .gc-help-inline{color:#fff;opacity:.9;background:transparent}
.gc-method-btn.active + .gc-help-inline:hover{opacity:1}
@media (max-width:640px){.rw-analyze{flex-wrap:wrap;align-items:stretch;gap:10px}.rw-analyze-txt{flex:1 1 100%}.rw-analyze-btns{flex:1 1 100%;flex-shrink:1}.rw-analyze-btns .btn{flex:1 1 0;justify-content:center;text-align:center}}

/* the Method options of a surcharge tool: each with its (?) set against its right end (2026-10-01) */
.method-seg{display:flex;flex-wrap:wrap;gap:4px}
.method-seg .gc-mwrap{position:relative;display:block;flex:1 1 auto}
.method-seg .gc-mwrap > button{width:100%;padding-right:34px}
.method-seg .gc-mwrap > .gc-help-btn{position:absolute;right:7px;top:50%;transform:translateY(-50%);margin:0;padding:0;width:18px;height:18px;min-width:18px;min-height:18px;max-height:18px;aspect-ratio:1/1;box-sizing:border-box;border-radius:50%;font-size:11px;line-height:1;letter-spacing:0;text-transform:none}
.method-seg .gc-mwrap > .gc-help-btn:hover{transform:translateY(-50%)}
body.gt .seg .gc-help-btn{border:1.6px solid var(--gt-geo,#2f7d32) !important;border-radius:50% !important;background:#fff !important;color:var(--gt-geo,#2f7d32) !important;width:18px !important;height:18px !important;min-width:18px !important;min-height:18px !important;max-height:18px !important;aspect-ratio:1/1 !important;box-sizing:border-box !important;padding:0 !important;font:800 11px/1 "Inter","Segoe UI",Arial,sans-serif !important;box-shadow:none !important;text-transform:none !important;letter-spacing:0 !important}
body.gt .seg .gc-help-btn:hover{background:var(--gt-geo-50,#eaf5ea) !important}
.rw-pbar .rw-pnote[hidden]{display:none !important}
/* the Show bar of a surcharge drawing: on a phone the chips wrap instead of running off the right edge */
#gcShowBar .lq-bar .rw-layers{flex-wrap:wrap}
#gcShowBar .lq-bar .rw-pgrp{flex-wrap:wrap;max-width:100%}

/* ---- Model data (2026-10-20): Save to file / Open file, the same card as the other modules (their base rules are in tools/bearing/bearing.css) */
.rw-store-note{font-size:11.5px;line-height:1.5;color:#607784;margin:0 0 10px}
.rw-store-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 8px}
.rw-store-row .btn{font-size:12px;padding:6px 12px}
.rw-store-msg{font-size:11.5px;line-height:1.5;color:#3d7a63;margin:2px 0 0;min-height:1em}
.rw-store-msg.is-bad{color:#a3402f}
.rw-store-name{flex-wrap:nowrap}
.rw-store-name label{flex:0 0 auto;font-size:12px;font-weight:600;color:#35556b}
.rw-store-name input{flex:1 1 auto;min-width:0;height:34px;box-sizing:border-box;font:inherit;font-size:13px;padding:0 10px;border:1px solid #dbe7ee;border-radius:8px;background:#fff;color:#17262b}
.rw-store-name input:focus{outline:none;border-color:#1685de;box-shadow:0 0 0 3px rgba(20,135,232,.12)}
.rw-store-name input::placeholder{color:#9aabb6}
.rw-store-install[hidden]{display:none !important}
.rw-store-install .btn{font-size:12px;padding:5px 10px;margin-left:6px}
@media (max-width:520px){.rw-store-row .btn{flex:1 1 auto}}
/* an input the calculation cannot take is marked in red (2026-10-31, review of the seven surcharge modules: the stop messages say "Change the inputs
   marked in red", but the site skin, geoterva.css, gives every input box its own border and no shadow with !important, so the modules' own
   .invalid rules never showed). The selectors outweigh the skin's; this file is loaded by the seven surcharge modules only. */
body.gt #app .gc-input-row input.invalid,body.gt #app .gc-input-row input.invalid-pair,
body.gt #app input[type="number"].invalid,body.gt #app input[type="number"].invalid-pair{
  border-color:#b3261e !important;
  background:#fff4f3 !important;
  color:#b3261e !important;
  box-shadow:0 0 0 3px rgba(179,38,30,.14) !important;
}
