/* Picker only. Scoped reset defeats the theme's full-height drawer rules. */

[data-gr-snow-guide-registry] { display: none !important; }
#gr-snow-guide-dialog {
  --sg-ink: #173625; --sg-green: #214b35; --sg-muted: #53675b; --sg-line: #dce5dc; --sg-soft: #f3f6ef;
  color: var(--sg-ink); font-family: Golos, Arial, sans-serif; font-size: 15px; line-height: 1.5; text-align: left;
}
#gr-snow-guide-dialog * { box-sizing: border-box; }
#gr-snow-guide-dialog [hidden] { display: none !important; }
#gr-snow-guide-dialog:not([open]) { display: none; }
#gr-snow-guide-dialog[open] {
  display: flex; flex-direction: column; position: fixed; inset: 0;
  width: min(600px, calc(100% - 32px)); max-width: none; height: fit-content; min-height: 0;
  max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
  margin: auto; padding: 0; overflow: hidden; border: 1px solid var(--sg-line); border-radius: 16px;
  background: #fff; box-shadow: 0 12px 48px rgb(15 35 24 / 18%);
  animation: none; transform: none; transition: none;
}
#gr-snow-guide-dialog::backdrop { background: rgb(15 35 24 / 48%); backdrop-filter: none; transition: none; }
#gr-snow-guide-dialog[data-sg-fallback] { z-index: 10000; box-shadow: 0 0 0 100vmax rgb(15 35 24 / 48%); }
#gr-snow-guide-dialog .gr-sg-dialog__header { display: flex; flex: 0 0 auto; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 14px; border-bottom: 1px solid var(--sg-line); }
#gr-snow-guide-dialog h2 { margin: 0; color: var(--sg-ink); font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; text-align: left; }
#gr-snow-guide-dialog .gr-sg-progress { margin: 4px 0 0; color: var(--sg-muted); font-size: 13px; line-height: 1.4; }
#gr-snow-guide-dialog .gr-sg-dialog__close { display: inline-flex; flex: 0 0 44px; width: 44px; min-height: 44px; align-items: center; justify-content: center; margin: -6px -6px 0 0; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--sg-ink); font: inherit; font-size: 30px; line-height: 1; cursor: pointer; }
#gr-snow-guide-dialog .gr-sg-dialog__body { flex: 1 1 auto; min-height: 0; padding: 20px; overflow: auto; overscroll-behavior: contain; }
#gr-snow-guide-dialog form { display: block; margin: 0; padding: 0; }
#gr-snow-guide-dialog .gr-sg-question { min-width: 0; min-height: 200px; margin: 0; padding: 0; border: 0; }
#gr-snow-guide-dialog legend { display: block; width: 100%; margin: 0 0 12px; padding: 0; color: var(--sg-ink); font-size: 16px; font-weight: 600; line-height: 1.4; }
#gr-snow-guide-dialog legend:focus { outline: none; }
#gr-snow-guide-dialog .gr-sg-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#gr-snow-guide-dialog .gr-sg-choices--snow, #gr-snow-guide-dialog .gr-sg-choices--weight { grid-template-columns: minmax(0, 1fr); }
#gr-snow-guide-dialog .gr-sg-choices label { position: relative; display: flex; min-width: 0; margin: 0; cursor: pointer; }
#gr-snow-guide-dialog .gr-sg-choices input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
#gr-snow-guide-dialog .gr-sg-choices span { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: center; padding: 11px 10px; border: 1px solid #a6b79f; border-radius: 8px; background: #fff; color: var(--sg-ink); font-size: 15px; line-height: 1.35; text-align: center; }
#gr-snow-guide-dialog .gr-sg-choices--area span { flex-direction: column; gap: 2px; padding-block: 9px; }
#gr-snow-guide-dialog .gr-sg-choices--area small { color: var(--sg-muted); font-size: 12px; line-height: 1.35; font-weight: 400; }
#gr-snow-guide-dialog .gr-sg-choices input:checked + span { border-color: var(--sg-green); background: #e9f0e2; box-shadow: inset 0 0 0 1px var(--sg-green); font-weight: 600; }
#gr-snow-guide-dialog :is(a, button, input):focus-visible { outline: 3px solid #568434; outline-offset: 3px; }
#gr-snow-guide-dialog .gr-sg-choices input:focus-visible + span { outline: 3px solid #568434; outline-offset: 3px; }
#gr-snow-guide-dialog .gr-sg-check { display: flex; min-height: 44px; align-items: center; gap: 10px; margin: 9px 0 0; padding: 8px 0; color: var(--sg-ink); font-size: 14px; line-height: 1.4; cursor: pointer; }
#gr-snow-guide-dialog .gr-sg-check input { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: var(--sg-green); }
#gr-snow-guide-dialog .gr-sg-hint { display: block; margin: 4px 0 0; color: var(--sg-muted); font-size: 13px; line-height: 1.5; font-weight: 400; }
#gr-snow-guide-dialog .gr-sg-error { margin: 10px 0 0; color: #9a2d25; font-size: 14px; line-height: 1.45; }
#gr-snow-guide-dialog .gr-sg-dialog__footer { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; padding: 12px 20px 16px; border-top: 1px solid var(--sg-line); }
#gr-snow-guide-dialog .gr-sg-dialog__footer [data-sg-next] { flex: 1; }
#gr-snow-guide-dialog .gr-sg__button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 16px; border: 1px solid var(--sg-green); border-radius: 8px; background: var(--sg-green); color: #fff; font: inherit; font-size: 15px; font-weight: 600; line-height: 1.35; text-align: center; text-decoration: none; cursor: pointer; white-space: normal; }
#gr-snow-guide-dialog .gr-sg__button--secondary { background: #fff; color: var(--sg-green); }
#gr-snow-guide-dialog .gr-sg-back { min-height: 48px; padding: 10px 14px; border: 1px solid var(--sg-line); border-radius: 8px; background: #fff; color: var(--sg-green); font: inherit; font-size: 15px; cursor: pointer; }
#gr-snow-guide-dialog .gr-sg-result { margin: 0; padding: 0; }
#gr-snow-guide-dialog .gr-sg-result:focus { outline: none; }
#gr-snow-guide-dialog .gr-sg-result h3 { margin: 0 0 8px; color: var(--sg-ink); font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; text-align: left; }
#gr-snow-guide-dialog .gr-sg-result p { margin: 9px 0; font-size: 14px; line-height: 1.5; }
#gr-snow-guide-dialog .gr-sg-result .gr-sg-result__facts { color: var(--sg-muted); font-size: 13px; }
#gr-snow-guide-dialog .gr-sg-result .gr-sg-result__price { margin: 8px 0; font-size: 25px; font-weight: 600; line-height: 1.25; font-variant-numeric: tabular-nums; }
#gr-snow-guide-dialog .gr-sg-result__actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
@media (max-width: 600px) {
  #gr-snow-guide-dialog[open] { inset: auto 8px max(8px, env(safe-area-inset-bottom)) 8px; width: auto; height: auto; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); margin: 0; border-radius: 16px; }
  #gr-snow-guide-dialog .gr-sg-dialog__header { padding: 16px 16px 12px; }
  #gr-snow-guide-dialog h2 { font-size: 19px; }
  #gr-snow-guide-dialog .gr-sg-dialog__body { padding: 16px; }
  #gr-snow-guide-dialog .gr-sg-question { min-height: 190px; }
  #gr-snow-guide-dialog .gr-sg-choices span { font-size: 14px; }
  #gr-snow-guide-dialog .gr-sg-dialog__footer { padding: 12px 16px 16px; }
}
@media (hover: hover) {
  #gr-snow-guide-dialog .gr-sg__button:hover { background: #356844; border-color: #356844; color: #fff; }
  #gr-snow-guide-dialog .gr-sg-dialog__close:hover, #gr-snow-guide-dialog .gr-sg-back:hover { background: var(--sg-soft); }
}
