/* DropCheckr Ground Disturbance Consent — mobile first */
.gdc-panel{margin:12px 0!important;padding:0!important;overflow:hidden;border:1px solid #35536e!important}
.gdc-panel>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:14px 15px;gap:12px}
.gdc-panel>summary::-webkit-details-marker{display:none}
.gdc-panel>summary span:first-child{display:grid;gap:4px}
.gdc-panel>summary b{font-size:14px;color:#e5f0fc}
.gdc-panel>summary small{font-size:11px;color:#91b1ca}
.gdc-content{padding:4px 15px 16px;border-top:1px solid #29435b}
.gdc-panel .sect{margin:17px 0 9px!important;font-size:11px}
.gdc-job-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#0b1b2c;border:1px solid #2d4960;padding:11px;border-radius:11px;margin-top:14px}
.gdc-job-grid>div{min-width:0;display:grid;gap:3px}
.gdc-job-grid small{color:#81a6c0;font-size:9px;font-weight:850;letter-spacing:.075em}
.gdc-job-grid b{font-size:12px;color:#dfedfa;overflow-wrap:anywhere}
.gdc-type-grid,.gdc-ack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:9px 0 12px}
.gdc-ack{grid-template-columns:1fr}
.gdc-check{border:1px solid #304b65;background:#102235;border-radius:9px;padding:10px 9px;display:flex;align-items:center;gap:9px;font-size:12px;color:#d5e6f6;min-width:0}
.gdc-check input{flex:0 0 17px!important;width:17px!important;height:17px!important;min-height:17px!important}
.gdc-note{line-height:1.4;font-size:11px;margin:8px 0 10px}
.gdc-toolbar,.gdc-markers,.gdc-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:8px 0}
.gdc-toolbar .btn,.gdc-markers .btn,.gdc-actions .btn{min-height:34px!important;font-size:11px!important;padding:7px 10px!important}
.gdc-toolbar .btn.active,.gdc-markers .btn.active{background:#1678c9!important;color:white!important;border-color:#63b9ff!important}
.gdc-colors{display:flex;align-items:center;gap:7px;margin:12px 0}
.gdc-colors button{border-radius:50%;width:29px;height:29px;min-width:29px;border:2px solid #fff4;cursor:pointer}
.gdc-colors button.selected{outline:2px solid #cde7ff;outline-offset:2px}
.gdc-canvas-wrap{border:1px solid #41607c;border-radius:10px;overflow:hidden;background:white;width:100%;box-shadow:0 1px 8px #0002}
.gdc-canvas-wrap svg{display:block;width:100%;height:auto;max-height:440px;aspect-ratio:960/520;touch-action:none;user-select:none}
.gdc-canvas-wrap svg .gdc-selected{filter:drop-shadow(0 0 3px #ff8c24)}
.gdc-panel .field{margin:12px 0!important}
.gdc-panel .field input,.gdc-panel .field textarea{box-sizing:border-box;width:100%;max-width:100%}
.gdc-agreement{border-left:3px solid #2196f3;padding:11px 12px;margin:10px 0;background:#0b1d2e;border-radius:0 8px 8px 0;font-size:12px;line-height:1.65;color:#d2e3f3}
.gdc-signature{margin:12px 0;border:1px solid #34526c;border-radius:11px;overflow:hidden;background:#fff}
.gdc-signature small{display:block;background:#112c43;color:#bbd6eb;padding:9px 12px;font-size:10px;font-weight:850;letter-spacing:.05em}
.gdc-signature canvas{width:100%;height:auto;aspect-ratio:900/175;display:block;background:white;touch-action:none}
.gdc-signed-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}
.gdc-signed-summary div{border:1px solid #304c61;background:#0b1b2c;padding:10px;border-radius:9px;min-width:0;display:grid;gap:5px}
.gdc-signed-summary b{font-size:10px;color:#80a8c7}
.gdc-signed-summary span{font-size:12px;color:#e9f2ff;overflow-wrap:anywhere}
.gdc-readonly-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;color:#daeafa;background:#102235;padding:11px;border-radius:9px}
.gdc-history{border-top:1px solid #29465b;margin-top:14px;padding-top:11px}
.gdc-history>summary{font-size:12px;cursor:pointer;color:#afd7f7}
.gdc-history-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:8px 0;font-size:11px;border-bottom:1px solid #233b51}
#gdcMsg:not(:empty){margin-top:9px}
body.light-mode .gdc-panel{border-color:#bfd1e1!important}
body.light-mode .gdc-panel>summary b{color:#1c3e5c}
body.light-mode .gdc-panel>summary small{color:#4f7590}
body.light-mode .gdc-content{border-color:#d5e2ef}
body.light-mode .gdc-job-grid,body.light-mode .gdc-check,body.light-mode .gdc-signed-summary>div{background:#f3f8fc;border-color:#ccdeeb}
body.light-mode .gdc-job-grid b,body.light-mode .gdc-check,body.light-mode .gdc-signed-summary span{color:#213d54}
body.light-mode .gdc-agreement,body.light-mode .gdc-readonly-text{background:#edf5fc;color:#21445e}
body.light-mode .gdc-signature{border-color:#c1d6e7}
@media(max-width:550px){
 .gdc-content{padding:4px 10px 13px}
 .gdc-job-grid{grid-template-columns:1fr 1fr;gap:9px;padding:10px}
 .gdc-type-grid{grid-template-columns:1fr}
 .gdc-signed-summary{grid-template-columns:1fr 1fr}
 .gdc-toolbar .btn,.gdc-markers .btn{padding:7px 9px!important}
 .gdc-canvas-wrap svg{max-height:none}
}
@media(max-width:365px){.gdc-job-grid,.gdc-signed-summary{grid-template-columns:1fr}}

/* v2 technical sketch interface — clear grouped tools and an auto-generated map key */
.gdc-tool-section{border:1px solid #2d4963;border-radius:11px;background:#0c1d2e;padding:9px 10px 7px;margin:9px 0}
.gdc-tool-section>b{display:block;font-size:10px;letter-spacing:.09em;color:#9ec3df;margin:1px 0 7px}
.gdc-tool-section .gdc-toolbar,.gdc-tool-section .gdc-markers{margin:0;gap:6px}
.gdc-tool-section .btn{min-height:37px!important;padding:7px 11px!important;border-radius:9px;line-height:1.2}
.gdc-tool-section [data-gdc-tool="path"]{border:1px dashed #ff8c24!important;color:#ffd5a4!important;background:#5d32154d}
.gdc-tool-section [data-gdc-tool="path"].active{background:#ab570e!important;color:white!important;border:1px solid #ffb66d!important}
.gdc-tool-section [data-gdc-stamp="tree"]{border-color:#26a269!important}
.gdc-tool-section [data-gdc-stamp="nap"]{border-color:#ff8c24!important}
.gdc-tool-section [data-gdc-tool="road"],.gdc-tool-section [data-gdc-tool="driveway"],.gdc-tool-section [data-gdc-tool="fence"]{border-style:dashed}
.gdc-tool-section .btn:active{transform:scale(.97)}
.gdc-colors{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:11px 0!important}
.gdc-colors>span{font-size:10px;font-weight:750;letter-spacing:.04em}
.gdc-legend{margin:8px 0 14px;border:1px solid #324c61;background:#0b1a28;border-radius:10px;padding:10px 11px}
.gdc-legend>b{font-size:10px;letter-spacing:.07em;color:#a3c1d9}
.gdc-legend-items{display:flex;flex-wrap:wrap;gap:9px 14px;margin-top:8px}
.gdc-legend-items>span{display:flex;align-items:center;gap:5px;font-size:10px;min-width:0}
.gdc-legend-items strong{color:#d9e7f3;font-size:10px;white-space:normal}
.gdc-legend-items small{font-size:9px;color:#88aac3}
.gdc-legend-chip{width:23px;height:15px;display:inline-block;flex:0 0 23px;position:relative}
.gdc-legend-path{border-bottom:3px dashed #ff8c24;height:7px}
.gdc-legend-line{border-bottom:3px solid #2196f3;height:7px}
.gdc-legend-area{background:#ff8c2422;border:2px dashed #ff8c24}
.gdc-legend-fence{border-bottom:3px solid #795548;height:8px;background:repeating-linear-gradient(90deg,transparent 0 6px,#795548 6px 8px,transparent 8px 12px)}
.gdc-legend-road{background:#475569;height:13px}
.gdc-legend-driveway{background:#a7b5c3;height:11px}
.gdc-legend-tree{border-radius:50%;background:#26a269;width:15px;height:15px;flex-basis:15px}
.gdc-legend-house{border:2px solid #475569;background:#e2e8f0;transform:scale(.75)}
.gdc-legend-nap{width:0;height:0;flex-basis:0;border-left:10px solid transparent;border-right:10px solid transparent;border-bottom:15px solid #ff8c24}
.gdc-legend-pole{border-radius:50%;background:#19263a;border:3px solid white;box-shadow:0 0 0 1px #7d95a6;width:14px;height:14px;flex-basis:14px}
.gdc-legend-repair:before,.gdc-legend-repair:after{content:"";position:absolute;left:10px;top:0;width:3px;height:18px;background:#db3546;transform:rotate(45deg)}
.gdc-legend-repair:after{transform:rotate(-45deg)}
.gdc-panel .gdc-selected [data-gdc-handle]{cursor:crosshair}
.gdc-panel .gdc-canvas-wrap svg{touch-action:none;-webkit-user-select:none;user-select:none}
body.light-mode .gdc-tool-section{background:#f2f7fc;border-color:#c8d9e7}
body.light-mode .gdc-tool-section>b{color:#406985}
body.light-mode .gdc-tool-section [data-gdc-tool="path"]{color:#9e4d0e!important;background:#ffeddf}
body.light-mode .gdc-legend{background:#f3f8fc;border-color:#c8d9e7}
body.light-mode .gdc-legend>b{color:#3a617d}
body.light-mode .gdc-legend-items strong{color:#294b63}
body.light-mode .gdc-legend-items small{color:#658095}
@media(max-width:550px){
 .gdc-tool-section{padding:8px 7px}
 .gdc-tool-section .btn{padding:8px 10px!important;min-height:40px!important}
 .gdc-legend-items{gap:9px}
}

/* Touch-friendly technical drawing zoom and pan */
.gdc-zoom-bar{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;margin:8px 0}
.gdc-zoom-bar>span{margin-right:auto;font-size:10px;color:#a0bfd7;font-weight:800}
.gdc-zoom-bar button{padding:6px 10px!important;min-height:32px!important;font-size:11px!important}
.gdc-canvas-wrap.gdc-zoomed{max-height:445px;overflow:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.gdc-canvas-wrap.gdc-zoomed svg{max-height:none!important}
body.light-mode .gdc-zoom-bar>span{color:#496a84}
