/* Copyright (c) 2026 Logic Commons. Proprietary and confidential; all rights reserved.
   GeoCanvasD01 r1 styles. The A01 component's rules (a01-mount.css, derived from GeoCanvas src/styles.css), scoped
   under .gc-d01 instead of .gc-a01 and without the borehole-log, import-dialog and coordinate-conversion rules D01
   does not use; plus the D01 add toolbar, status line, diagnostics, object list and list editors. No html/body
   selectors and no ids. The page supplies fonts. 32 px controls throughout. */
.gc-d01{--gc-green:#284e40;--gc-border:#e0e3da;--gc-muted:#768078;color:#293c35;display:flex;flex-direction:column;gap:16px;min-width:0;font-size:13px}
.gc-d01 *,.gc-d01 *::before,.gc-d01 *::after{box-sizing:border-box}
/* r13: D01's own button rules never reach the platform's info-tip buttons (.help-btn, .info-close), so the
   calculator page's own .help-btn / .info / .info-close rules (calculator-page.css) style them, as on Waste allowance. */
.gc-d01 button:not(:is(.help-btn,.info-close)){cursor:pointer;border:1px solid #cbd3c9;border-radius:7px;background:#fff;color:#314c3f;padding:5px 10px;font:inherit;font-weight:600;font-size:12px}
.gc-d01 button:hover:not(:disabled):not(:is(.help-btn,.info-close)){background:#eaf0e8}.gc-d01 button:disabled{opacity:.45;cursor:not-allowed}
.gc-d01 button:not(:is(.help-btn,.info-close)):focus-visible,.gc-d01 input:focus-visible,.gc-d01 select:focus-visible,.gc-d01 summary:focus-visible{outline:3px solid #d1a95f;outline-offset:2px}
.gc-d01 input[type=number],.gc-d01 input[type=text]{width:100%;min-width:65px;border:1px solid #dce2d7;border-radius:6px;background:#fafbf8;color:#3f5146;font:inherit;font-size:12px}
.gc-d01 select{border:1px solid #dce2d7;border-radius:5px;color:#3f5146;background:#fafbf8;min-width:0;max-width:100%;font:inherit;font-size:12px}
.gc-d01 input[aria-invalid=true]{border-color:#a64d3c;background:#fff1eb;outline:1px solid #a64d3c}
.gc-d01 h4{font-size:12px;margin:0}
.gc-d01 [hidden]{display:none!important}
.gc-d01 .gc-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.gc-d01 .gc-project{font-size:11px;color:#6f7b67;white-space:nowrap}
.gc-d01 .gc-drawing[data-view=plan] .gc-pit-movable{cursor:move}
.gc-d01 .gc-card{background:#fff;border:1px solid var(--gc-border);border-radius:12px;min-width:0}
.gc-d01 .gc-card-heading{padding:16px 18px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.gc-d01 .gc-view-tabs{display:flex;border:1px solid var(--gc-border);border-radius:6px;padding:3px;gap:2px;flex-wrap:wrap;align-items:center}
.gc-d01 .gc-view-tabs button:not(:is(.help-btn,.info-close)){border:none;padding:4px 10px;font-size:11px;background:transparent}
.gc-d01 .gc-view-tabs button[aria-pressed=true]{background:#e9eee6;color:#315543}
.gc-d01 .gc-viewer{padding-bottom:4px}
.gc-d01 .gc-viewer-stage{position:relative;margin:0 14px}
.gc-d01 .gc-drawing{height:380px;background:#f8f9f5;border:1px solid #edf0e8;border-radius:8px;overflow:hidden}
.gc-d01 .gc-drawing svg{width:100%;height:100%;display:block}
.gc-d01 .gc-drawing[data-view=plan]{touch-action:none;user-select:none}
.gc-d01 .gc-drawing[data-view=plan] .gc-plan-object{cursor:move}.gc-d01 .gc-drawing[data-view=plan] .gc-handle{cursor:nwse-resize}
.gc-d01 .gc-drawing[data-view="3d"]{touch-action:none;cursor:grab;user-select:none}.gc-d01 .gc-drawing[data-view="3d"].gc-dragging{cursor:grabbing}
.gc-d01 .gc-drawing:focus-visible{outline:3px solid #d1a95f;outline-offset:2px}
.gc-d01 .gc-camera-controls{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:12px 14px 0}
.gc-d01 .gc-camera-buttons{display:flex;align-items:center;gap:5px}
.gc-d01 .gc-camera-buttons output{font-size:11px;color:#72806e;min-width:38px;text-align:center}
.gc-d01 .gc-clip-controls,.gc-d01 .gc-editor-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 14px}
.gc-d01 .gc-clip-controls{font-size:11px}.gc-d01 .gc-clip-controls input[type=number]{width:90px}
.gc-d01 .gc-clip-controls label{display:flex;align-items:center;gap:6px}
.gc-d01 .gc-view-note{font-size:11px;color:#6f786c;margin:10px 0 0}
.gc-d01 .gc-section-note{font-size:12px;color:#66725f;line-height:1.55;margin:6px 0}
.gc-d01 .gc-field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:10px 0}
.gc-d01 .gc-field-grid label{font-size:11px;color:#5f6c61;display:flex;flex-direction:column;gap:6px}
.gc-d01 .gc-check{display:flex;align-items:center;gap:10px;margin:10px 0;line-height:1.5;font-size:12px}
.gc-d01 .gc-table-scroll{overflow:auto;max-width:100%}
.gc-d01 table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}
.gc-d01 th{font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:#6f7a6b;font-weight:600;padding:9px 6px;background:#f8f9f5;border-bottom:1px solid #e9ede3;white-space:nowrap}
.gc-d01 td{padding:6px;border-bottom:1px solid #edf0e8;color:#4e5f52;white-space:nowrap}
.gc-d01 .gc-cell-field{display:block;font-size:0}.gc-d01 .gc-cell-field label{font-size:0}.gc-d01 .gc-cell-field input{font-size:12px;width:96px;min-width:72px}
.gc-d01 .gc-selected{background:#f3ead9}
.gc-d01 .gc-secondary{padding:14px 18px}.gc-d01 .gc-secondary summary{cursor:pointer;font-weight:600}
/* Canvas toolbar (Undo / Redo / Export / Open, views) and the add toolbar */
.gc-d01 .gc-canvas-toolbar{gap:12px;flex-wrap:wrap;background:#f8f9f5;border-bottom:1px solid var(--gc-border);border-radius:12px 12px 0 0;margin-bottom:10px;padding:10px 14px}
.gc-d01 .gc-canvas-toolbar .gc-toolbar{flex:1;min-width:0}
.gc-d01 .gc-canvas-toolbar .gc-view-tabs{margin-left:auto;background:#fff}
.gc-d01 .gc-danger{color:#8a3a2c;border-color:#e2c4bb}
.gc-d01 .gc-danger:hover:not(:disabled){background:#fbeee9}
/* Geometry status line, diagnostics and the tool message */
.gc-d01 .gc-geo-status{margin:12px 14px 0;padding:8px 10px;border-radius:6px;background:#eef3ec;color:#2f5a44;font-size:12px;font-weight:600;overflow-wrap:anywhere}
.gc-d01 .gc-geo-status[data-status=INVALID]{background:#fbeee9;color:#8a3a2c}
.gc-d01 .gc-geo-status[data-status=NOT_CALCULATED]{background:#fff5e6;color:#8a633b}
.gc-d01 .gc-geo-status[data-status=WARNING]{background:#fff5e6;color:#7a5410}
.gc-d01 .gc-diagnostics{margin:6px 14px 0;padding:0 0 0 18px;font-size:12px;color:#5b4a3f;max-height:160px;overflow:auto}
.gc-d01 .gc-diagnostics li{margin:3px 0;overflow-wrap:anywhere}.gc-d01 .gc-diagnostics li[data-severity=ERROR]{color:#8a3a2c}
.gc-d01 .gc-diagnostics:not([hidden]){margin-bottom:10px}
.gc-d01 .gc-geo-status{margin-bottom:12px}
/* Footing properties overlay, plan menu, plan status and draw actions: the prototype's styles.css rules
   (.plan-properties, .plan-menu, .plan-menu-types, .plan-status, .plan-draft-actions), scoped. */
.gc-d01 .plan-properties{position:absolute;left:10px;top:10px;z-index:3;width:228px;max-height:calc(100% - 20px);overflow:auto;border:1px solid #bdcbbb;border-radius:8px;background:#fffffff5;box-shadow:0 5px 18px #20352a22}
.gc-d01 .plan-properties-heading{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:6px;background:#e3ebdc;padding:2px 4px 2px 10px;font-size:12px}
.gc-d01 .plan-properties-heading strong{display:flex;align-items:center;min-width:0;overflow-wrap:anywhere}
.gc-d01 .plan-properties-heading>button{padding:2px 7px;font-size:17px;background:transparent;border:0;min-width:32px}
.gc-d01 .plan-properties-body{padding:9px;display:grid;gap:7px}
.gc-d01 .plan-properties-body .gc-field-grid{grid-template-columns:1fr;gap:7px;margin:0}
.gc-d01 .plan-properties-body label{font-size:11px;display:grid;gap:3px;color:#5f6c61}
.gc-d01 .plan-properties-body input,.gc-d01 .plan-properties-body select{width:100%;min-width:0}
.gc-d01 .plan-properties-body .gc-list{margin:4px 0 0;padding:6px 8px 8px}
.gc-d01 .plan-properties-body .gc-list>button,.gc-d01 .plan-properties-body>.gc-danger{width:100%;margin-top:6px}
.gc-d01 .gc-item{border-top:1px solid #e4e9df;padding:6px 0 4px}
.gc-d01 .gc-item-head{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:700;margin-bottom:4px}
.gc-d01 .gc-item-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.gc-d01 .gc-item-grid input{min-width:0}
.gc-d01 .plan-property-note{margin:0;color:#6c776b;font-size:10px;line-height:1.45}
.gc-d01 .gc-drawing.plan-editing{touch-action:none}
.gc-d01 .plan-menu{position:absolute;z-index:6;display:grid;min-width:144px;max-width:calc(100% - 12px);max-height:calc(100% - 12px);overflow:auto;padding:4px;border:1px solid #bdcbbb;border-radius:8px;background:#fff;box-shadow:0 5px 18px #20352a30}
.gc-d01 .plan-menu-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:330px;max-width:100%;margin-top:4px;padding-top:4px;border-top:1px solid #dde5d8}
.gc-d01 .plan-menu button{display:flex;justify-content:space-between;gap:10px;padding:4px 9px;border:0;background:transparent;text-align:left}
.gc-d01 .plan-menu button:hover:not(:disabled),.gc-d01 .plan-menu button:focus-visible{background:#e3ebdc}
.gc-d01 .plan-status{position:absolute;bottom:8px;left:8px;z-index:2;max-width:65%;margin:0;padding:3px 6px;border-radius:4px;background:#f7f8f2eb;color:#4d5e50;font-size:11px;pointer-events:none}
.gc-d01 .plan-draft-actions{position:absolute;right:8px;bottom:8px;z-index:4;display:flex;gap:6px}
/* D01 deviation: below a 600 px stage the overlay is a bottom sheet inside the stage. */
/* The sheet takes at most 45% of the 560 px stage and overlays the lower part of the plan, which keeps its scale and
   pans the selection above it, so about 300 px of plan stay visible. The page scrolls, never the stage. */
.gc-d01 .gc-viewer-stage[data-sheet=true] .plan-properties{left:6px;right:6px;top:auto;bottom:6px;width:auto;max-height:45%}
.gc-d01 .gc-item-grid .gc-span-2{grid-column:1 / -1}
/* UX pass 1: units keep their case in upper-case headers; a field's error and range sit directly under it. */
.gc-d01 th .gc-unit{text-transform:none;letter-spacing:0}
.gc-d01 .gc-field-error{display:block;color:#8a3a2c;font-size:10.5px;font-weight:600;line-height:1.35}
.gc-d01 .gc-field-warning{display:block;color:#7a5410;font-size:10.5px;font-weight:600;line-height:1.35}
.gc-d01 input.gc-warning{border-color:#c98a1b;background:#fff7e6;outline:1px solid #c98a1b}
.gc-d01 .gc-canvas-alert{margin:10px 14px 0;padding:8px 10px;border-radius:6px;background:#fbeee9;color:#8a3a2c;font-size:12px;font-weight:600}
.gc-d01 .gc-bearing{margin:0;padding:6px 8px;border-radius:6px;background:#f3ead9;color:#5a4320;font-size:11px;font-weight:600}
.gc-d01 .gc-site-label{margin:10px 14px 0;font-size:11px;color:#6c5a3a}
.gc-d01 .gc-drawing[data-view=plan] .gc-borehole{cursor:pointer}
.gc-d01 .gc-legend-swatch{display:block;width:10px;height:10px;border-radius:2px;flex-shrink:0;border:1px solid #283f3820}
.gc-d01 .gc-legend-swatch[data-soil="0"]{background:#d8cba1}.gc-d01 .gc-legend-swatch[data-soil="1"]{background:#b49b73}.gc-d01 .gc-legend-swatch[data-soil="2"]{background:#8b8c70}
.gc-d01 .gc-legend-swatch[data-soil="3"]{background:#a7afa1}.gc-d01 .gc-legend-swatch[data-soil="4"]{background:#9b839f}.gc-d01 .gc-legend-swatch[data-soil="5"]{background:#8ba6b1}
/* Object list and list editors */
.gc-d01 .gc-link{border:0;background:transparent;padding:4px 6px;color:#234f3f;text-decoration:underline;font-weight:700}
.gc-d01 .gc-link[aria-pressed=true]{background:#f3ead9;border-radius:5px}
.gc-d01 .gc-muted{color:#8a8f86;font-style:italic}
.gc-d01 .gc-hint{font-size:12px;color:#66725f;margin:8px 0}
.gc-d01 .gc-list{margin:14px 0 0;padding:10px 12px 12px;border:1px solid #e4e9df;border-radius:8px;min-width:0}
.gc-d01 .gc-list>legend{font-size:11px;font-weight:700;padding:0 4px}
.gc-d01 .gc-list .gc-editor-toolbar{margin:10px 0 0}
.gc-d01 .gc-list>button{margin-top:10px}
.gc-d01 [data-gc=props-body]>.gc-danger{margin-top:14px}
.gc-d01 [data-gc=surface-options]>.gc-view-note{margin:2px 15px 6px}
/* Legend panel (r6: the prototype's floating legend, as A01 styles it) */
.gc-d01 .gc-legend-toggle{position:absolute;right:10px;top:10px;z-index:2;background:#fffefa;box-shadow:0 2px 8px #283f381a;font-size:11px}
.gc-d01 .gc-floating-legend{position:absolute;right:8px;top:48px;z-index:5;width:260px;max-width:calc(100% - 16px);max-height:calc(100% - 56px);display:flex;flex-direction:column;background:#fffefa;border:1px solid #bccbbb;border-radius:9px;box-shadow:0 8px 26px #21362930;overflow:hidden}
.gc-d01 .gc-floating-legend[data-docked=true]{width:calc(100% - 16px)}
.gc-d01 .gc-legend-drag{display:flex;align-items:center;gap:10px;flex-shrink:0;padding:4px 6px 4px 12px;background:#dce8d4;color:#32503c;cursor:move;touch-action:none;user-select:none}
.gc-d01 .gc-legend-drag h4{margin:0;font-size:12px;flex:1}.gc-d01 .gc-legend-drag>span{color:#85977b;font-size:18px}
.gc-d01 .gc-legend-drag button:not(:is(.help-btn,.info-close)){border:0;background:transparent;padding:0 8px;font-size:20px;line-height:20px}
.gc-d01 .gc-floating-legend[data-docked=true] .gc-legend-drag{cursor:default}
.gc-d01 .gc-legend-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:10px 12px}
.gc-d01 .gc-legend-group{margin:0 0 12px;padding:0;border:0;min-width:0}
.gc-d01 .gc-legend-group>legend{padding:0 0 7px;width:100%;border-bottom:1px solid #e4e9df;font-size:11px;font-weight:700}
.gc-d01 .gc-legend-group label{display:flex;align-items:center;gap:8px;min-width:0}
.gc-d01 .gc-legend-group input{margin:0;accent-color:#476e4f;flex-shrink:0}
.gc-d01 .gc-legend-row{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:6px 0;font-size:11px}
.gc-d01 .gc-legend-row label{flex:1;cursor:pointer}.gc-d01 .gc-legend-row label span,.gc-d01 .gc-legend-row>span{overflow-wrap:anywhere}
.gc-d01 label.gc-legend-row{justify-content:flex-start;cursor:pointer}
.gc-d01 .gc-legend-row button{padding:2px 6px;border:0;background:transparent;color:#7c8b72;min-height:0;height:auto}
.gc-d01 .gc-legend-row button[aria-pressed=true]{background:#dce8d4;color:#284e40}
.gc-d01 .gc-legend-swatch[data-structure=pit]{background:#41866d}.gc-d01 .gc-legend-swatch[data-structure=footing]{background:#657e97}
.gc-d01 .gc-legend-help{font-size:10px;color:#6f7b67;line-height:1.5;margin:5px 0 0}
.gc-d01 .gc-legend-body .gc-clip-controls{margin:4px 0;padding:0}.gc-d01 .gc-legend-body .gc-view-note{margin:6px 0 0;font-size:10px;line-height:1.45}
/* Render view (classes created by render-view.mjs) */
.gc-d01 .render-pane,.gc-d01 .gc-render-pane{height:470px;position:relative;isolation:isolate;background:#e7e9e3;border:1px solid #dce0d5;border-radius:8px;overflow:hidden}
.gc-d01 .render-canvas{display:block;width:100%;height:100%;touch-action:none;outline-offset:-3px}
.gc-d01 .render-toolbar{position:absolute;top:12px;left:12px;display:flex;gap:6px;z-index:2}
.gc-d01 .render-toolbar button{font-size:11px;background:#fffffff0;box-shadow:0 2px 9px #273b3020}
.gc-d01 .render-status{position:absolute;bottom:8px;left:14px;right:12px;font-size:10px;color:#53634d;margin:0;pointer-events:none}
.gc-d01 .render-slice-panel{position:absolute;top:53px;left:12px;z-index:4;width:220px;max-width:calc(100% - 24px);max-height:calc(100% - 65px);overflow:auto;background:#fffffff5;border:1px solid #bfcbb9;border-radius:9px;box-shadow:0 8px 30px #263a3035;padding:10px}
.gc-d01 .render-slice-heading{cursor:move;touch-action:none;user-select:none;display:flex;align-items:center;justify-content:space-between;font-size:12px}
.gc-d01 .render-slice-heading button:not(:is(.help-btn,.info-close)){padding:1px 6px;font-size:18px;border:0;background:none}
.gc-d01 .render-slice-panel p{font-size:10px;line-height:1.4;margin:5px 0 8px}
.gc-d01 .render-slice-plan{width:100%;display:block;border:1px solid #d7decd;border-radius:4px;cursor:grab;touch-action:none}
.gc-d01 .render-slice-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
/* Information popovers */
/* r13: the platform's calculator info-tip (d01-info.js). The page's calculator-page.css styles .help-btn, .info and
   .info-close; D01 adds only the anchor that stands in for the platform's .field (position: relative), its place
   beside a heading, the closed state, and the notes' own paragraph spacing inside .info-body. */
.gc-d01 .gc-d01-info{position:relative;display:inline-block;vertical-align:middle;margin:0 0 0 6px;line-height:1;text-transform:none;letter-spacing:normal}
.gc-d01 .gc-d01-info[hidden],.gc-d01 .gc-d01-info>.info[hidden]{display:none}
.gc-d01 .gc-d01-info .info-body>p{margin:0;font-size:inherit;color:inherit;line-height:inherit}.gc-d01 .gc-d01-info .info-body>p+p{margin-top:.5em}
.gc-d01 summary:has(.gc-d01-info){line-height:32px}
/* Shared control rhythm: 32 px controls; multiline action labels may grow rather than clip. */
.gc-d01 button:not(:is(.help-btn,.info-close)),.gc-d01 select,.gc-d01 input:is([type=number],[type=text]){box-sizing:border-box;min-height:32px;padding:4px 8px;font-size:12px;line-height:20px}
.gc-d01 select,.gc-d01 input:is([type=number],[type=text]){height:32px;max-height:32px}
.gc-d01 .gc-canvas-toolbar button:not(:is(.help-btn,.info-close)),.gc-d01 .gc-camera-buttons button,.gc-d01 .gc-legend-toggle{height:32px;max-height:32px}
.gc-d01 input:is([type=checkbox],[type=radio]){width:14px;height:14px;min-width:14px;min-height:14px;max-height:14px;padding:0;margin:0;flex-shrink:0;vertical-align:middle;accent-color:#476e4f}
.gc-d01 .gc-canvas-toolbar button,.gc-d01 .gc-camera-buttons button,.gc-d01 .plan-menu button,.gc-d01 .plan-draft-actions button{white-space:nowrap}
/* r8 (UX pass 4 P3-3): on a phone the Render pane is square, so render-view.mjs home() (unchanged: it frames the
   model's span for its 38° vertical field of view) is not cropped at the sides by a tall, narrow canvas; and the
   bottom sheet is opaque, so the plan's scale bar never shows through it. */
.gc-d01 .gc-viewer-stage[data-sheet=true] .plan-properties{background:#fff}
/* r8: the slice coordinate fields (D01 wrapper) under the Vertical slice actions. */
.gc-d01 .gc-slice-fields{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:8px 0 0;padding:0;border:0;min-width:0}
.gc-d01 .gc-slice-fields legend{font-size:11px;font-weight:700;padding:0 0 4px}
.gc-d01 .gc-slice-fields label{display:grid;gap:2px;font-size:10.5px;min-width:0}
.gc-d01 .gc-slice-fields input{width:100%;min-width:0}
.gc-d01 .gc-slice-fields .gc-field-error{grid-column:1/-1;margin:0}
/* UX pass 2 P1: a narrow stage has ONE fixed height, sheet open or not, so opening or closing never moves the page. */
.gc-d01 .gc-viewer-stage[data-narrow=true] .gc-drawing[data-view=plan]{height:560px}
@media(max-width:600px){.gc-d01 .gc-canvas-toolbar .gc-toolbar{flex:1 1 100%;gap:6px}.gc-d01 .gc-canvas-toolbar{gap:8px}.gc-d01 .gc-drawing{height:300px}.gc-d01 .gc-render-pane{height:auto;aspect-ratio:1/1;max-height:470px}.gc-d01 .gc-viewer-stage{margin:0 8px}.gc-d01 .gc-clip-controls{margin-left:8px;margin-right:8px}.gc-d01 .gc-canvas-toolbar{padding:8px}.gc-d01 .gc-canvas-toolbar .gc-view-tabs{margin-left:0}.gc-d01 .gc-secondary{padding:12px}}

/* Copyright (c) 2026 Logic Commons. Proprietary and confidential; all rights reserved.
   GeoCanvasD01 page cards (d01-cards.js). Derived from the GeoCanvas prototype's styles.css (#ground-model-*,
   .date-filter, .observation-row) and A01's a01-mount.css import-dialog and logs-panel rules, scoped under .gc-d01c
   (and .gc-d01 for the stage panel) instead of ids. No Geometry quantities card and no step-label eyebrows (Ugur,
   2026-11-19 review; 3z-d01/DECISIONS.md). */
.gc-d01c{display:grid;gap:12px;margin-top:12px}
.gc-d01c .gc-card{background:#fff;border:1px solid #e0e3da;border-radius:12px;min-width:0}
.gc-d01c .gc-secondary{padding:14px 18px}.gc-d01c .gc-secondary summary{cursor:pointer;font-weight:600}
.gc-d01c .gc-section-note{font-size:12px;color:#66725f;line-height:1.55;margin:6px 0}
.gc-d01c .gc-editor-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}
.gc-d01c .gc-field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:10px 0}
.gc-d01c .gc-field-grid label{font-size:11px;color:#5f6c61;display:flex;flex-direction:column;gap:6px}
.gc-d01c .gc-table-scroll{overflow:auto;max-width:100%}
/* r12 (L2, Coordination): the card's generic control sizing and button look stop at A01's logs panel
   ([data-gcc="a01-workspace"]); inside it the panel gets A01's own rules, copied from a01-mount.css lines 6-7 (button
   look) and 136-138 (A01's shared 32 px control rhythm: buttons 5px 8px; selects and number/text inputs 32 px high,
   4px 8px; 12 px; line height 20 px), so its buttons, selects and inputs compute as on A01's page. */
.gc-d01c button:not(:is(.help-btn,.info-close)):not([data-gcc="a01-workspace"] *),.gc-d01c select:not([data-gcc="a01-workspace"] *),.gc-d01c input:is([type=number],[type=text],[type=date]):not([data-gcc="a01-workspace"] *){box-sizing:border-box;min-height:32px;padding:4px 8px;font-size:12px;line-height:20px}
.gc-d01c button:not(:is(.help-btn,.info-close)):not([data-gcc="a01-workspace"] *){border:1px solid #cbd3c9;border-radius:7px;background:#fff;color:#314c3f;font-weight:600;cursor:pointer}
.gc-d01c button:disabled:not(:is(.help-btn,.info-close)):not([data-gcc="a01-workspace"] *){opacity:.55;cursor:not-allowed}
.gc-d01c [data-gcc="a01-workspace"] button:not(:is(.help-btn,.info-close)){cursor:pointer;border:1px solid #cbd3c9;border-radius:7px;background:#fff;color:#314c3f;padding:9px 13px;font:inherit;font-weight:600;font-size:12px}
.gc-d01c [data-gcc="a01-workspace"] button:hover:not(:disabled):not(:is(.help-btn,.info-close)){background:#eaf0e8}.gc-d01c [data-gcc="a01-workspace"] button:disabled:not(:is(.help-btn,.info-close)){opacity:.45;cursor:not-allowed}
.gc-d01c [data-gcc="a01-workspace"] button:not(:is(.help-btn,.info-close)),.gc-d01c [data-gcc="a01-workspace"] select,.gc-d01c [data-gcc="a01-workspace"] input:is([type=number],[type=text],[type=date],[type=url]){box-sizing:border-box;min-height:32px;padding:5px 8px;font-size:12px;line-height:20px}
.gc-d01c [data-gcc="a01-workspace"] select,.gc-d01c [data-gcc="a01-workspace"] input:is([type=number],[type=text],[type=date],[type=url]){height:32px;max-height:32px;padding-top:4px;padding-bottom:4px}
/* A01's "Borehole logs & horizon picks" panel: a01-mount.css lines 8-10, 48-54 and 157-158, the same declarations,
   scoped under .gc-d01c instead of .gc-a01 (the D01 bundle does not load a01-mount.css). The log row scrolls inside
   itself. */
.gc-d01c input[type=number],.gc-d01c input[type=text]{width:100%;min-width:65px;border:1px solid #dce2d7;border-radius:6px;background:#fafbf8;padding:8px 9px;color:#3f5146;font:inherit;font-size:12px}
.gc-d01c select,.gc-d01c input[type=date]{border:1px solid #dce2d7;border-radius:5px;padding:7px;color:#3f5146;background:#fafbf8;min-width:0;max-width:100%;font:inherit;font-size:12px}
.gc-d01c .gc-cell-field{display:block;font-size:0}.gc-d01c .gc-cell-field input{font-size:12px;width:110px;min-width:80px}
.gc-d01c .gc-selected{background:#e7eee3}
.gc-d01c .gc-logs{display:flex;gap:12px;overflow-x:auto;padding:12px 0;max-width:100%}
.gc-d01c .gc-logs article{flex:0 0 150px;background:#f7f9f4;border:1px solid #d8e1d6;border-radius:8px;padding:10px}
.gc-d01c .gc-logs article p{font-size:11px;margin:4px 0}.gc-d01c .gc-logs svg{display:block;width:100%;height:330px}
.gc-d01c .gc-logs svg rect[role=button]{cursor:pointer}.gc-d01c .gc-logs svg rect:focus{outline:3px solid #386c5a}
.gc-d01c .gc-log-heading{font-weight:700;width:100%}
/* r11 (L2): the generic card button rule above (0,2,1) out-ranked the heading's 700, so the borehole heading buttons
   computed 600 where A01's panel computes 700 (.gc-a01 .gc-log-heading). Same specificity, later in the sheet. */
.gc-d01c button.gc-log-heading:not(:is(.help-btn,.info-close)){font-weight:700}
.gc-d01c .gc-errors-title{margin:10px 0 4px;font-weight:600;color:#9b1c1c;font-size:13px}
.gc-d01c .gc-errors{margin:0 0 10px;padding-left:20px;color:#9b1c1c;font-size:12px}
.gc-d01c :is(input,select)[aria-invalid=true]{border-color:#b54a2c;background:#fff4f0}
.gc-d01c-error{margin:8px 0;padding:8px 10px;border-left:3px solid #b54a2c;background:#fff4f0;color:#7a2e18;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.gc-d01c-error[hidden]{display:none}
.gc-d01c .gc-observation-row{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;border-top:1px solid #edf0e8;padding:8px 0}
.gc-d01c .gc-observation-row button{font-size:11px;padding:5px 9px}
.gc-d01c-date-filter{display:block;margin:4px 0 10px;font-size:12px}
.gc-d01c-empty{font-size:12px;color:#768078}
/* Borehole Data dialog (a01-mount.css, rescoped). */
.gc-d01c .gc-import-dialog{width:min(1040px,calc(100vw - 32px));max-height:90vh;border:1px solid #ccd8cf;border-radius:14px;padding:22px;color:#263d35;background:#fbfcf9;overflow:auto}
.gc-d01c .gc-import-dialog::backdrop{background:rgba(21,39,32,.5)}
.gc-d01c .gc-import-dialog>.gc-card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 10px}
.gc-d01c .gc-import-dialog label{display:block}.gc-d01c .gc-import-dialog input[type=file]{display:block;max-width:100%;margin:10px 0}
.gc-d01c .gc-import-dialog .gc-editor-toolbar{margin:12px 0;align-items:end}
.gc-d01c .gc-import-dialog .table-scroll{max-height:300px;overflow:auto;margin:12px 0}
.gc-d01c .gc-import-dialog td{max-width:360px;overflow-wrap:anywhere;white-space:normal}
.gc-d01c .gc-bi-drop{border:2px dashed #b4c6bb;border-radius:9px;padding:16px;margin:12px 0}.gc-d01c .gc-bi-drop span{font-size:12px;color:#607266}
.gc-d01c .gc-bi-issues{max-height:180px;overflow:auto;padding-left:22px;font-size:12px}.gc-d01c .gc-bi-issues li{margin:6px 0}
.gc-d01c .gc-import-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;font-size:11px}
.gc-d01c .gc-bi-plan{display:block;width:100%;max-height:280px;background:#eef3ed;border:1px solid #d3dfd4;border-radius:8px;margin:12px 0}
.gc-d01c .gc-bi-correlation{border-top:1px solid #ccd8cf;margin-top:20px;padding-top:16px}
.gc-d01c .gc-bi-status{padding:10px;background:#e9f1e8;border-radius:7px;overflow-wrap:anywhere}
.gc-d01c .gc-bi-csv-settings fieldset{min-width:0;margin:12px 0;padding:14px;border:1px solid #cad8ce;border-radius:8px}
.gc-d01c .gc-bi-csv-settings legend{max-width:100%;overflow-wrap:anywhere;font-weight:600}
/* Ground model panel inside the canvas stage (prototype #ground-model-*). The stage is position:relative. */
.gc-d01c-ground-button{position:absolute;left:10px;bottom:10px;z-index:3;padding:7px 12px}
.gc-d01c-ground-panel{position:absolute;left:10px;top:10px;width:270px;max-width:calc(100% - 20px);max-height:calc(100% - 20px);overflow:auto;z-index:6;background:#fffffff7;border:1px solid #bdcbbb;border-radius:8px;box-shadow:0 5px 18px #20352a22}
.gc-d01c-ground-panel[hidden],.gc-d01c-ground-button[hidden]{display:none}
.gc-d01c-ground-heading{display:flex;align-items:center;justify-content:space-between;padding:6px 10px;background:#e3ebdc;cursor:move;touch-action:none;font-size:12px}
.gc-d01c-ground-heading button{border:0;padding:2px 7px;background:transparent}
.gc-d01c-ground-body{display:grid;gap:7px;padding:10px}
.gc-d01c-ground-body label{display:grid;gap:4px;font-size:11px}
.gc-d01c-ground-body input,.gc-d01c-ground-body select,.gc-d01c-ground-body textarea{width:100%;min-width:0;box-sizing:border-box;padding:6px;font-size:11px}
.gc-d01c-ground-body button{font-size:11px;padding:6px}
.gc-d01c-ground-body p,.gc-d01c-ground-status{font-size:10px;color:#627461}
.gc-d01c-ground-status{margin:0 10px 10px}
@media(max-width:600px){.gc-d01c .gc-import-dialog{padding:14px;width:calc(100vw - 16px)}}
/* A01's a01-mount.css rules added at 482d1fe64 (git diff 971a86531 482d1fe64), the same declarations, scoped under
   .gc-d01c instead of .gc-a01: the Borehole Data dialog (UX pass 2 N5, N6 and P3) and the logs panel (UX pass 3 F3:
   172 px strips drawn 1:1, 12 px text). The canvas-toolbar and section-caption rules are the canvas's (L2's). */
.gc-d01c .gc-bi-status[data-tone=error],.gc-d01c .gc-bi-summary[data-tone=error]{background:#fdecea;color:#8a1c12;border:1px solid #f1b8b0}
.gc-d01c .gc-bi-status[data-tone=warning]{background:#fff8e6;color:#6b4300;border:1px solid #e3c98a}
.gc-d01c .gc-bi-summary{padding:8px 10px;border-radius:7px;font-size:12px}.gc-d01c .gc-bi-summary:empty{display:none}
.gc-d01c .gc-bi-summary[data-tone=ok]{background:#e9f1e8}
.gc-d01c .gc-import-dialog{box-sizing:border-box;overflow-x:hidden}
.gc-d01c .gc-import-dialog *{min-width:0}
.gc-d01c .gc-import-dialog select,.gc-d01c .gc-import-dialog input:is([type=text],[type=number]){max-width:100%}
.gc-d01c .gc-import-dialog label>select{display:block;width:100%;margin-top:4px}
.gc-d01c .gc-import-dialog .gc-bi-issues li,.gc-d01c .gc-import-dialog p{overflow-wrap:break-word;word-break:normal}
.gc-d01c .gc-import-dialog .table-scroll{max-width:100%}
@media(max-width:600px){
  .gc-d01c .gc-import-dialog{max-width:calc(100vw - 16px);padding:12px}
  .gc-d01c .gc-import-dialog .gc-editor-toolbar>*{flex:1 1 100%}
  .gc-d01c .gc-import-dialog .gc-editor-toolbar button{white-space:normal;height:auto;max-height:none}
  .gc-d01c .gc-import-dialog .gc-card-heading{flex-wrap:wrap}
}
.gc-d01c .gc-import-dialog input[type=file]{font-size:0;color:transparent}
.gc-d01c .gc-import-dialog input[type=file]::file-selector-button{font-size:12px;color:#263d35;min-height:32px;padding:5px 12px;border:1px solid #9fb4a6;border-radius:6px;background:#fff;cursor:pointer}
.gc-d01c [data-gcc="bi-layer-mapping"] label{flex-direction:column}
.gc-d01c .gc-logs article{flex:0 0 172px}
.gc-d01c .gc-logs article p{font-size:12px}
@media(max-width:600px){
  .gc-d01c .gc-field-grid label,.gc-d01c label{font-size:12px}
  .gc-d01c th,.gc-d01c td{font-size:12px}
  .gc-d01c .gc-section-note{font-size:12px}
}

/* Copyright (c) 2026 Logic Commons. Proprietary and confidential; all rights reserved.
   GeoCanvasC09 additions (c09-mount.js, c09-cards.js), ADAPTED FROM a08-mount.css. The bundle's stylesheet is
   d01-mount.css, then d01-cards.css, then this file: the component root carries both .gc-d01 and .gc-c09, the cards'
   root both .gc-d01c and .gc-c09c, so D01's rules apply unchanged and only these are added: the snapshot state badge
   (GeoCanvas app.mjs 99-111, as A08), the docked narrow Legend (A08 ux r1 P2-9), the Section sub-view controls and
   caption, the Replace-alignment question in the Add menu and the PVI table of the alignment properties. */
.gc-c09 .gc-snapshot-state{margin:8px 14px 0;padding:6px 10px;border-radius:6px;font-size:12px;font-weight:600;overflow-wrap:anywhere}
.gc-c09 .gc-snapshot-state[data-state=current]{background:#eef3ec;color:#2f5a44}
.gc-c09 .gc-snapshot-state[data-state=stale]{background:#fff5e6;color:#7a5410}
.gc-c09 .gc-floating-legend[data-docked=true]{top:auto!important;bottom:8px;max-height:45%}
.gc-c09 .gc-c09-section-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.gc-c09 .gc-c09-section-controls select{max-width:100%;min-width:0}
.gc-c09 .gc-c09-section-controls button[aria-pressed=true]{background:#2f5a44;color:#fff;border-color:#2f5a44}
.gc-c09 .gc-c09-caption{margin:6px 14px 0;font-size:12px;color:#4d5a49;overflow-wrap:anywhere}
.gc-c09 .gc-c09-replace{display:flex;flex-direction:column;gap:6px;max-width:260px;padding:6px 4px 2px;font-size:12px}
.gc-c09 .gc-c09-replace p{margin:0;color:#3f5146}
.gc-c09 .gc-c09-pvi{width:100%;border-collapse:collapse;font-size:12px;margin:6px 0}
.gc-c09 .gc-c09-pvi th{text-align:left;font-weight:600;color:#5f6c61;padding:2px 4px}
.gc-c09 .gc-c09-pvi td{padding:2px 4px;vertical-align:top}
.gc-c09 .gc-c09-pvi td label{display:flex;flex-direction:column;font-size:0;gap:0}
.gc-c09 .gc-c09-pvi td input{width:100%;min-width:0;font-size:12px}
.gc-c09 .gc-c09-pvi td .gc-field-error{font-size:11px}
.gc-c09 .gc-c09-readonly{font-size:12px;color:#4d5a49;margin:6px 0}
/* Walk P2: the Section sub-view's pressed button keeps its dark fill and white text under the pointer too (the shared
   hover rule, specificity 0,4,1, painted it pale behind white text). */
.gc-c09.gc-d01 .gc-c09-section-controls .gc-camera-buttons button[aria-pressed=true],.gc-c09.gc-d01 .gc-c09-section-controls .gc-camera-buttons button[aria-pressed=true]:hover{background:#2f5a44;color:#fff;border-color:#2f5a44}
/* Walk P2 (Render Slice model at 375, c09-mount.js placeSlicePanel): the module's slice panel docked under the narrow
   Render pane, no longer floating over the model; the mini plan beside Flip / Reset, the four fields in one row. */
.gc-c09 .gc-c09-slice-dock{margin:8px 0 0}
.gc-c09 .gc-c09-slice-dock .render-slice-panel{position:static;width:auto;max-width:none;max-height:none;overflow:visible;box-shadow:none}
.gc-c09 .gc-c09-slice-dock .render-slice-panel:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:10px;align-items:start}
.gc-c09 .gc-c09-slice-dock .render-slice-heading{grid-column:1/-1;cursor:default}
.gc-c09 .gc-c09-slice-dock .render-slice-panel>p{grid-column:1/-1}
.gc-c09 .gc-c09-slice-dock .render-slice-plan{grid-column:1}
.gc-c09 .gc-c09-slice-dock .render-slice-actions{grid-column:2;margin-top:0;flex-direction:column;align-items:stretch}
.gc-c09 .gc-c09-slice-dock .gc-slice-fields{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr))}
/* Legend swatches of the C09 Structure group (c09-mount.js change 9): the alignment, the L4 corridor cut and fill, the
   haul arrows (colours as drawn: ALIGNMENT_COLOR, the excavation colour, L4's corridor-fill colour, HAUL_COLORS.line). */
.gc-c09 .gc-legend-swatch[data-structure=alignment]{background:#b4531a}
.gc-c09 .gc-legend-swatch[data-structure=corridor]{background:#41866d}
.gc-c09 .gc-legend-swatch[data-structure=corridor-fill]{background:#b39a6a}
.gc-c09 .gc-legend-swatch[data-structure=haul]{background:#1f4f8a}
/* The horizon's name under each Horizon ID field of the logs editor (c09-soil-names.js labelHorizonFields): the landed
   GeoCanvas styles.css rule for .a01-horizon-name (L4 follow-up 5), scoped to C09. */
.gc-c09 .a01-horizon-name,.gc-c09c .a01-horizon-name{display:block;margin-top:3px;max-width:110px;font-size:10px;line-height:1.3;color:#5f6f63;white-space:normal;overflow-wrap:anywhere}
/* The Horizon ID field shows its whole ID (Coordination 2026-11-21: "BASE_SOFT_CLAY_POCKET isn't silently cut"): it
   sizes to its text, at least the shared 110 px and at most 240 px; the editor table scrolls sideways at narrow widths,
   and the full ID is also the field's tooltip (c09-soil-names.js labelHorizonFields). */
.gc-c09c .gc-cell-field input[data-field="horizonId"]{field-sizing:content;width:auto;min-width:110px;max-width:240px}
/* Phone width (3Z-C09 by-hand test 2026-11-23, S2-2): D01's plan status line floats over the drawing's bottom-left
   corner and covered the X-axis labels at 375 px; on a narrow screen it sits in the page flow below the plan instead. */
@media(max-width:600px){.gc-c09 .plan-status{position:static;max-width:none;margin:6px 0 0}}
