/* layer export (S2: navy #1F2A44, copper #B87333) */
details > summary .lex-btn{float:right;margin:-2px 0 0 8px;padding:3px 10px;border-radius:14px;border:1px solid #B87333;background:#fff;color:#1F2A44;font:600 12px/1.4 system-ui,sans-serif;cursor:pointer}
details > summary .lex-btn:hover{background:#B87333;color:#fff}
.lex-dialog{border:0;border-radius:14px;padding:0;max-width:440px;width:calc(100% - 24px);box-shadow:0 12px 40px rgba(0,0,0,.35);color:#1F2A44}
.lex-dialog::backdrop{background:rgba(31,42,68,.45)}
.lex-form{padding:14px 16px;display:flex;flex-direction:column;gap:10px;max-height:82vh;overflow:auto}
.lex-head{display:flex;justify-content:space-between;align-items:center;font-size:16px;border-bottom:3px solid #B87333;padding-bottom:6px}
.lex-x{border:0;background:none;font-size:18px;cursor:pointer;color:#1F2A44}
.lex-formats{border:1px solid #d6dbe4;border-radius:10px;padding:8px 10px;display:flex;flex-direction:column;gap:6px}
.lex-formats legend{font-weight:700;padding:0 4px}
.lex-formats label{display:flex;gap:6px;align-items:baseline;min-height:30px}
.lex-formats small{color:#5b6475}
.lex-plan ul{margin:2px 0 6px 18px;padding:0;font-size:13px}
.lex-sub{font-weight:700;margin:4px 0 0;font-size:13px}
.lex-skip li{color:#6b7280}
.lex-msg{font-size:13px;margin:0}
.lex-cap{display:block;color:#8a4b14;background:#fbefe3;border-left:3px solid #B87333;padding:4px 8px;margin-top:4px}
.lex-skipline{display:block;color:#6b7280;margin-top:4px}
.lex-go{background:#1F2A44;color:#fff;border:0;border-radius:10px;padding:10px 16px;font-weight:700;width:100%;min-height:44px}
.lex-go:disabled{opacity:.5}
.lex-fine{margin:0}
/* compact group summaries (Hunting): keep the button on the row instead of overflowing it */
#huntLayers>summary{display:flex;align-items:center;gap:8px}
#huntLayers>summary .lex-btn{float:none;margin:0 0 0 auto;flex:none}

/* Download on the collapsed sheet handle: portrait = its own row directly above the 'Swipe up' text;
   landscape = inline in the slim 'Layers, search & tools' pill so the pill stays short beside the parcel card */
.ga-sheet-handle .lex-peek{display:none}
body.ga-mobile.ga-explore[data-sheet=peek] #explorePane .ga-sheet-handle .lex-peek{display:table;position:static;float:none;margin:0 auto 5px;padding:4px 12px;border-radius:14px;border:1px solid #B87333;background:#fff;color:#1F2A44;font:600 12px/1.4 system-ui,sans-serif;cursor:pointer;touch-action:manipulation}
body.ga-mobile.ga-land.ga-explore[data-sheet=peek] #explorePane .ga-sheet-handle .lex-peek{display:inline-block;margin:0 10px 0 0;vertical-align:middle}
