/* GeoTerva — the list of surcharge loads of the retaining walls (2026-10-02, user: the design of the sheet-pile modules).
   These rules are the studio's list styles (tools/bearing/bearing.css: the entry form over a table of words, the picture buttons of the kind of load, the table rows), copied so that the wall pages — which do not load bearing.css — carry the same design. */
.gc-layadd{display:flex;align-items:center;gap:8px;margin-top:10px}
.gc-lay-btn{font-size:11.5px;padding:5px 11px}
.gc-lay-quiet{color:#6b7c88}
.gc-laycount{font-size:11px;color:#8496a2;margin-left:auto}
.gc-icon-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px}
.gc-icon-btn{display:flex;flex-direction:column;align-items:center;gap:3px;padding:7px 6px 6px;min-width:0;line-height:1.2}
.gc-icon-btn .gc-ico svg{width:74px;height:44px;display:block}
.gc-icon-btn .gc-ico-t{white-space:normal;text-align:center}
.gc-icon-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:4px 0 8px}
.gc-tog-cell{position:relative;display:flex;min-width:0}
.gc-tog-cell .gc-icon-btn{width:100%}
.gc-tog-cell .gc-help-inline{position:absolute;top:3px;right:3px}
.gc-tog:not(.active){background:#fff;color:#56707f}

/* a list filled by pressing the picture of what to add; each card removable (2026-09-24, the sheet-pile surcharges) */
.gc-icon-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.gc-adder{display:block}
.gc-adder .gc-laycount{display:block;text-align:right;font-size:10.5px;color:#56707f;margin-top:2px}
.gc-add-type:not(:disabled):hover{border-color:#0b7ed5}
.gc-lay-x{margin-left:auto;border:1px solid #cddde7;background:#fff;color:#56707f;width:24px;height:24px;border-radius:6px;font-size:15px;line-height:1;cursor:pointer;flex:none}
.gc-lay-x:hover{border-color:#c0392b;color:#c0392b}

.gc-layrow{display:flex;align-items:center;gap:6px;margin-top:6px}
.gc-layrow-b{flex:1;min-width:0;display:flex;align-items:center;gap:10px;border:1px solid #dceaf3;border-radius:8px;background:#fff;padding:7px 10px;cursor:pointer;text-align:left;font:inherit;color:inherit}
.gc-layrow-b:hover{border-color:#9cc3de;background:#f7fbfe}
.gc-layrow-b:focus-visible{outline:2px solid #2a6ea8;outline-offset:1px}
.gc-layrow.is-open .gc-layrow-b{border-color:#2a6ea8;background:#f2f8fd}
.gc-layrow-n{font-size:10.5px;letter-spacing:.075em;text-transform:uppercase;color:#2a6ea8;font-weight:700;white-space:nowrap;flex:none}
.gc-layrow-t{flex:1;min-width:0;font-size:12px;line-height:1.35;color:#34495a;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.gc-layrow-t b{font-weight:600;color:#1f3444}
.gc-layrow-c{color:#7f95a4;font-size:11px;flex:none;transition:transform .15s}
.gc-layrow.is-open .gc-layrow-c{transform:rotate(180deg)}
/* the entry form over the table of a list (2026-09-25, user: the soil layers, the ground anchors) */
.gc-draft{border:1px solid #cfe0ec;border-radius:10px;background:#f6fafd;padding:9px 11px 11px;margin-top:8px}
.gc-draft-h{font-size:10.5px;letter-spacing:.075em;text-transform:uppercase;color:#2a6ea8;font-weight:700;margin:0 0 2px}
.gc-draft .gc-input-grid{margin-top:4px !important}
.gc-draft-row .sym:empty{display:none}
.gc-draft .gc-draftbar{margin-top:10px}
.gc-draft .gc-draftbar .gc-lay-btn{font-size:12px;padding:6px 14px}
.gc-dtable{margin-top:12px;overflow-x:auto}
.gc-dt-title{font-size:10.5px;letter-spacing:.075em;text-transform:uppercase;color:#56707f;font-weight:700;margin:0 0 4px}
.gc-dt-headrow{display:flex;align-items:flex-end;gap:6px;min-width:330px}
.gc-dt-head{flex:1;min-width:0;display:grid;gap:4px;padding:0 10px 3px;font-size:11px;color:#56707f;font-weight:600;white-space:nowrap}
.gc-dt-head small{font-weight:400;color:#8496a2;font-size:10px}
.gc-dt-xs{width:24px;flex:none}
.gc-dt-row{margin-top:4px;min-width:330px}
.gc-dt-row .gc-layrow-b{display:grid;gap:4px;padding:6px 10px;font-size:12px;font-variant-numeric:tabular-nums}
.gc-dt-n{font-weight:600;color:#1f3444;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gc-dt-c{color:#34495a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gc-layrow .gc-lay-x{margin-left:0;width:28px;height:30px}
/* the form edits the row pressed (2026-09-25, user): its state in its heading, the item's colour on its edge */
.gc-draft-h{display:flex;align-items:center;gap:7px;min-height:18px}
.gc-draft-sw,.gc-dt-sw{flex:none;display:inline-block;width:11px;height:11px;border-radius:3px;border:1px solid rgba(40,30,20,.2);font-style:normal}
.gc-draft-sw[hidden],.gc-dt-sw[hidden],.gc-draftbar [hidden]{display:none !important}
.gc-draft-nm{font-size:12px;letter-spacing:0;text-transform:none;font-weight:600;color:#35556b;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gc-draft.is-edit{border-color:#2a6ea8;background:#f2f8fd;box-shadow:inset 4px 0 0 var(--gc-tint,#2a6ea8)}
.gc-draft.is-edit .gc-draft-h{color:#114c7b}
.gc-draft .gc-draftbar .gc-draft-del{color:#a3402f}
.gc-draft .gc-draftbar .gc-draft-del:hover:not(:disabled){border-color:#c0392b;color:#c0392b}
.gc-draft-hint{font-size:11.5px;color:#56707f}
.gc-draft-note{margin:1px 0 3px;font-size:11.5px;line-height:1.45;color:#56707f}
.gc-draft-note[hidden]{display:none}
/* the bar of the form on a narrow screen: the buttons and the count on one line, the note under them */
.gc-draft .gc-draftbar{flex-wrap:wrap;row-gap:6px}
.gc-draft .gc-draftbar .gc-lay-btn,.gc-draft .gc-draftbar .gc-laycount{white-space:nowrap}
.gc-draft .gc-draftbar .gc-draft-hint{order:9;flex:1 0 100%}
/* the unit under its symbol in the head of the table: the columns stay narrow on a phone without running into each other */
.gc-dt-head span{white-space:normal;line-height:1.2}
.gc-dt-head small{display:block}
/* the kind of an item in its form, by its picture; a table of words (the surcharges, 2026-09-25) */
.gc-draft-kind{margin:2px 0 2px}
.gc-draft-sub{font-size:11px;font-weight:600;color:#56707f;margin:0 0 5px}
.gc-draft-kind .gc-icon-grid{margin:0 0 4px}
/* a kind of item coming in a later release: its picture and its name faded, its Soon badge green at full strength, not pressable (2026-09-25) */
.gc-soon{position:relative;cursor:default;pointer-events:none;user-select:none;border-style:dashed;border-color:#dbe4eb}
.gc-soon .gc-ico,.gc-soon .gc-ico-t{opacity:.45}
.gc-soon-tag{position:absolute;top:4px;right:4px;font-size:8.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;line-height:1;padding:2px 5px;border-radius:999px;background:#1f9d55;color:#fff}
.gc-dt-tx{white-space:normal;line-height:1.3;overflow-wrap:anywhere}
.gc-dt-head .gc-dt-hx{white-space:nowrap}
/* a table of words on a phone: each row two lines — its number and kind, then its magnitude and position — and no head */
@media (max-width:560px){
  .gc-dtable.is-words .gc-dt-headrow{display:none}
  .gc-dtable.is-words .gc-dt-row{min-width:0}
  .gc-dtable.is-words .gc-layrow-b{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr) !important;row-gap:3px}
}
.gc-dt-nw{display:flex;align-items:center;gap:7px;min-width:0}
.gc-dt-row.is-sel .gc-layrow-b{border-color:#2a6ea8;background:#f2f8fd;box-shadow:0 0 0 2px rgba(42,110,168,.16)}
.gc-dt-row.is-bad .gc-layrow-b{border-color:#d9534f}
.pf-pick{touch-action:manipulation}
/* brought into view under the page header when a row or the drawing opens an item in it */
.gc-draft{scroll-margin-top:76px;scroll-margin-bottom:16px}
.gc-laybox.is-compact{margin-top:4px;border-color:#b9d4e8;border-top-left-radius:4px;border-top-right-radius:4px}
.gc-laybox.is-compact .gc-layhead > b{display:none}
.gc-laybox.is-compact .gc-layhead:not(.has-ch){display:none}
.gc-laybox.is-compact .gc-layhead:not(.has-ch) + *{margin-top:0}
@media (prefers-reduced-motion: reduce){.gc-layrow-c{transition:none}}
/* a value of the form that cannot be used, and the message of the form */
.gc-draft-row input.invalid{border-color:#b3261e;color:#b3261e;box-shadow:0 0 0 3px rgba(179,38,30,.12)}
.gc-draft-note.is-bad{color:#b3261e}
.rw-sur-pick{cursor:pointer}
