#atlas-flow .language-choice{flex:0 1 auto;font-size:14px}
#atlas-flow .language-choice select{font-size:14px;max-width:100%}
#atlas-flow .cartography{font-size:12px;color:light-dark(#735e66,#c7afb8);margin-top:8px}
#atlas-flow .cartography summary{cursor:pointer;min-height:24px}
#atlas-flow .cartography p{font-size:12px}
#atlas-flow .region-signature{fill:none;stroke:#8b4e5b;stroke-opacity:.26;stroke-width:.65;vector-effect:non-scaling-stroke}
#atlas-flow .place-labels text{font-family:Georgia,serif;fill:#867453}
#atlas-flow .place-labels .sea-name{font-style:italic;fill:#597084}
body[data-map-style="6"]{background:#f6f2e9;color-scheme:light}
#atlas-flow[data-map-style="6"]{color-scheme:light;color:#3f302d;font-family:system-ui,sans-serif}
#atlas-flow[data-map-style="6"] .app{background:#fcf9f1;border:1px solid #ded5c4;border-radius:16px}
#atlas-flow[data-map-style="6"] header{border-color:#e6dfcf;background:#fcf9f1;padding-right:24px}
#atlas-flow[data-map-style="6"] .brand{font:32px/1.15 Georgia,serif;color:#602e3d;letter-spacing:-.025em}
#atlas-flow[data-map-style="6"] button,#atlas-flow[data-map-style="6"] select,#atlas-flow[data-map-style="6"] input{background:#faf6eb;border-color:#d9cbb8;color:#493933}
#atlas-flow[data-map-style="6"] button.active,#atlas-flow[data-map-style="6"] .primary{background:#764653;color:#fff9ef;border-color:#764653}
#atlas-flow[data-map-style="6"] input{background:#fffdf7}
#atlas-flow[data-map-style="6"] .layout{border-color:#ddd1bb}
#atlas-flow[data-map-style="6"] .map-area{background:#f4eedf;padding:20px}
#atlas-flow[data-map-style="6"] .map-title{font:30px/1.2 Georgia,serif;color:#673a46;text-align:center;margin:0 0 8px}
#atlas-flow[data-map-style="6"] .map-help{text-align:center;color:#8c785c;font-size:12px;margin-bottom:12px}
#atlas-flow[data-map-style="6"] .map-wrap{border:1px solid #d8d9d0;border-radius:12px;background:radial-gradient(ellipse at 40% 25%,#dae5f0,#bed2e8)}
#atlas-flow[data-map-style="6"] .country{fill:#f6ecda;stroke:#ad9b7c;stroke-width:.55;stroke-opacity:.75}
#atlas-flow[data-map-style="6"] .country.available{fill:#d9bfc0;stroke:#9c6d6e}
#atlas-flow[data-map-style="6"] .country.available.region-view{fill:#f7eedb;stroke:#ad9b7c}
#atlas-flow[data-map-style="6"] .wine-region{fill:#935b6940;stroke:#966875;stroke-opacity:.6;stroke-width:.85;transition:fill .18s,stroke .18s}
#atlas-flow[data-map-style="6"] .wine-region.selected{fill:#994e6059;stroke:#8b5762;stroke-opacity:.8;stroke-width:1.25}
#atlas-flow[data-map-style="6"] .wine-region:hover,#atlas-flow[data-map-style="6"] .wine-region:focus-visible{fill:#98596a66;stroke:#714252;stroke-width:1.5}
#atlas-flow[data-map-style="6"] .region-pin{font:14px/1.2 Georgia,serif;font-weight:600;min-height:32px;padding:4px 6px;background:transparent;border:0;color:#633b47;text-shadow:0 1px 3px #fcf8ef,0 0 6px #fcf8ef;border-radius:5px;box-shadow:none}
#atlas-flow[data-map-style="6"] .map-controls button{background:#fffaf0e8;border-color:#d8cbb7;color:#7d6442;box-shadow:0 2px 8px #6e543015}
#atlas-flow[data-map-style="6"] .legend,#atlas-flow[data-map-style="6"] .small,#atlas-flow[data-map-style="6"] .eyebrow,#atlas-flow[data-map-style="6"] .cartography{color:#847052}
#atlas-flow[data-map-style="6"] .swatch{background:#aa7a864d;border:1px solid #956574}
#atlas-flow[data-map-style="6"] .sheet{background:#fcf9f1;border-color:#d9cdb9}
#atlas-flow[data-map-style="6"] h2{color:#673a46}
#atlas-flow[data-map-style="6"] .note{border-color:#dcccae}
#atlas-flow[data-map-style="6"] a{color:#764653}
#atlas-flow[data-map-style="6"] footer{color:#8d795e;border-color:#e4dac8}
#atlas-flow[data-map-style="6"] .crumbs button{background:transparent;border:0}
#atlas-flow[data-map-style="6"] .sheet-toggle{background:transparent;border:0;color:#7c6044}
@media(max-width:650px){
 #atlas-flow .toolbar{gap:8px}
 #atlas-flow .language-choice{flex:1 1 100%;gap:12px}
 #atlas-flow .language-choice select{flex:1}
 #atlas-flow[data-map-style="6"] header{padding:14px 16px}
 #atlas-flow[data-map-style="6"] .brand{font-size:30px}
 #atlas-flow[data-map-style="6"] .map-area{padding:12px}
 #atlas-flow[data-map-style="6"] .map-title{font-size:27px}
}
@media(prefers-reduced-motion:reduce){#atlas-flow[data-map-style="6"] .wine-region{transition:none}}

#atlas-flow[data-map-style="6"] .map-wrap::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.08;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.7' filter='url(%23grain)'/%3E%3C/svg%3E");mix-blend-mode:multiply}

/* Desktop working surface: map fills the available width, details stay alongside. */
@media(min-width:1000px){
 body{max-width:none;padding:16px 20px}
 #atlas-flow[data-map-style="6"] .layout{grid-template-columns:minmax(0,1fr) clamp(300px,24vw,380px)}
 #atlas-flow[data-map-style="6"] header{padding:14px 24px}
 #atlas-flow[data-map-style="6"] .toolbar{padding:12px 24px}
 #atlas-flow[data-map-style="6"] .toolbar label:not(.language-choice){flex:1 1 320px;max-width:640px}
 #atlas-flow[data-map-style="6"] .crumbs{padding-bottom:12px}
 #atlas-flow[data-map-style="6"] .map-area{padding:16px 20px}
 #atlas-flow[data-map-style="6"] .map-title{text-align:left;font-size:30px}
 #atlas-flow[data-map-style="6"] .map-help{text-align:left}
 #atlas-flow[data-map-style="6"] .sheet{border-left:1px solid #d9cdb9;max-height:calc(100svh - 200px);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box}
 #atlas-flow[data-map-style="6"] .region-pin{font-size:17px;padding:5px 8px;min-height:36px}
 #atlas-flow[data-map-style="6"] .map-controls{right:16px;bottom:16px;gap:8px}
}
@media(min-width:651px) and (max-width:999px){
 body{max-width:none;padding:12px}
 #atlas-flow[data-map-style="6"] .layout{grid-template-columns:minmax(0,1fr)}
 #atlas-flow[data-map-style="6"] .sheet{border-top:1px solid #d9cdb9}
}

.region-directory{max-height:48vh;overflow:auto;align-content:start;padding:4px}.region-directory button{font-size:13px}

#atlas-flow .explore-paths{display:flex;gap:8px;padding:12px 24px 0}#atlas-flow .explore-paths button{flex:1;max-width:280px;min-height:44px;font-size:14px}#atlas-flow .grape-select{display:grid;gap:8px;margin:20px 0}#atlas-flow .grape-select select{width:100%;min-height:44px;padding:8px;font-size:16px}@media(max-width:650px){#atlas-flow .explore-paths{padding:10px 12px 0}}

#atlas-flow .wine-region.grape-match{fill:#955367;fill-opacity:.38;stroke:#783d50;stroke-width:1.6px;vector-effect:non-scaling-stroke}

#atlas-flow .country-choice{display:flex;gap:8px;align-items:center}#atlas-flow .country-choice select{font-size:16px;min-height:44px;padding:8px;border:1px solid #dccbb5;border-radius:8px;background:#fbf8ef}#atlas-flow .directory-filter{display:grid;gap:8px;margin:14px 0}#atlas-flow .directory-filter input{min-width:0;width:100%;box-sizing:border-box;min-height:44px;font-size:16px;padding:8px}#atlas-flow .wine-region[data-region=bordeaux],#atlas-flow .wine-region[data-region=bourgogne],#atlas-flow .wine-region[data-region=champagne],#atlas-flow .wine-region[data-region=alsace],#atlas-flow .wine-region[data-region=loire],#atlas-flow .wine-region[data-region=rhone],#atlas-flow .wine-region[data-region=beaujolais],#atlas-flow .wine-region[data-region=provence]{stroke-dasharray:3 2}@media(max-width:650px){#atlas-flow .toolbar .country-choice{width:100%}#atlas-flow .country-choice select{flex:1}}

#atlas-flow .wine-region{stroke-dasharray:none!important}#atlas-flow .wine-region.appellation{fill-opacity:.08;stroke-width:.6px}#atlas-flow .wine-region.appellation.selected{fill-opacity:.35;stroke-width:1.8px}#atlas-flow .appellation-directory{max-height:35vh;overflow:auto;align-content:start;padding:4px}#atlas-flow .appellation-directory button{font-size:14px}

/* Relief stays above region tint so hover/selection preserve terrain. */
#atlas-flow .terrain-layer{mix-blend-mode:multiply;pointer-events:none}#atlas-flow[data-map-style="6"] .wine-region.selected{fill:#994e6047}#atlas-flow[data-map-style="6"] .wine-region:hover,#atlas-flow[data-map-style="6"] .wine-region:focus-visible{fill:#98596a52}

.comparison-toggle{margin:16px 0}.curated-label{color:#675b36}.comparison-toggle button{min-height:44px;white-space:normal}
.compare-country{display:grid;gap:7px;margin-top:12px}.compare-country select{width:100%;min-height:44px;background:#fffdf7;color:#3b3030;border:1px solid #c8bfae;border-radius:8px;padding:9px}.data-note{padding:10px;border-left:2px solid #b6a480;background:#f6f2e8}

.mode-note{font-size:12px;letter-spacing:.025em;color:#71634d;padding:8px 0 14px;border-bottom:1px solid #ddd4c5;margin-bottom:18px}

.profile-overview{margin:18px 0}.profile-location{font-size:14px;color:#67573e}.style-chips{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.style-chips span{font-size:12px;padding:6px 9px;background:#ece5d8;border-radius:20px;color:#514834}.profile-details{margin:14px 0;border-top:1px solid #d9d0c0;padding:12px 0}.profile-details summary{cursor:pointer;font-weight:600;min-height:32px}.profile-details .source{display:block;margin:8px 0}.municipality-list{max-height:220px;overflow:auto;font-size:13px;line-height:1.8}.variety-directory{max-height:300px;overflow:auto;padding:4px;align-content:start}.profile-details blockquote{font-size:13px;line-height:1.5;border-left:2px solid #b6a480;padding-left:12px;margin:12px 0}.grape-learning{margin:18px 0}

.compact-name-list{display:flex;flex-wrap:wrap;gap:2px 12px;max-height:260px;overflow:auto;padding:4px}.compact-name-list .name-link{font:inherit!important;font-size:13px!important;line-height:1.4!important;font-weight:400!important;color:#685b45!important;background:transparent!important;border:none!important;box-shadow:none!important;padding:6px 0!important;min-height:32px!important;min-width:24px;text-align:left;text-decoration:underline;text-underline-offset:3px}.compact-name-list .name-link:hover,.compact-name-list .name-link:focus-visible{color:#8c4d60!important;outline:2px solid #b8a884;outline-offset:2px}

#atlas-flow .ocean-shallows{fill:none;stroke:#edf5f3;stroke-width:12;stroke-opacity:.45;stroke-linejoin:round;vector-effect:non-scaling-stroke}
@media(max-width:650px){#atlas-flow .compact-name-list .name-link{min-height:44px}}

#atlas-flow .region-environment{margin:20px 0;padding:16px;background:#f3eee2;border:1px solid #e2d7c5;border-radius:12px}
#atlas-flow .region-environment h3{margin-top:0}
#atlas-flow .environment-facts{display:grid;gap:12px;margin:14px 0}
#atlas-flow .environment-facts>div{display:grid;grid-template-columns:minmax(95px,.8fr) minmax(0,2fr);gap:12px}
#atlas-flow .environment-facts dt{font-size:12px;font-weight:600;color:#765b51}
#atlas-flow .environment-facts dd{margin:0;font-size:14px;line-height:1.5}
#atlas-flow .environment-effect{border-left:3px solid #a88472;padding-left:12px;font-size:14px}
@media(max-width:650px){#atlas-flow .environment-facts>div{grid-template-columns:1fr;gap:3px}}

/* GRAPATH identity: vineyard green, warm cream, sage and burgundy. */
body[data-map-style="6"]{background:#f6f3eb}
#atlas-flow[data-map-style="6"]{font-family:Inter,system-ui,sans-serif;color:#203b33}
#atlas-flow[data-map-style="6"] .app{background:#fffdf8;border-color:#d8dfd1}
#atlas-flow[data-map-style="6"] header{background:#fffdf8;border-color:#d8dfd1;gap:14px}
#atlas-flow[data-map-style="6"] .brand{display:flex;align-items:center;gap:12px;color:#123d33;font-family:Inter,sans-serif}
#atlas-flow .brand-wordmark{font-size:27px;letter-spacing:.12em;line-height:1.1;font-weight:600}
#atlas-flow .brand-wordmark small{display:block;font-size:10px;font-weight:400;letter-spacing:.04em;margin-top:8px}
#atlas-flow .brand-landscape{position:relative;aspect-ratio:1118/125;overflow:hidden;background:#a6ad83}
#atlas-flow .brand-landscape img{position:absolute;top:0;left:0;width:100%;height:auto;transform:translateY(-22.3%);opacity:.9}
#atlas-flow[data-map-style="6"] .map-title,#atlas-flow[data-map-style="6"] h2,#atlas-flow[data-map-style="6"] h3{font-family:'Playfair Display',Georgia,serif;color:#173e33;font-weight:600}
#atlas-flow[data-map-style="6"] button,#atlas-flow[data-map-style="6"] select,#atlas-flow[data-map-style="6"] input{background:#faf8ef;border-color:#cdd6c4;color:#244337;font-family:Inter,system-ui,sans-serif}
#atlas-flow[data-map-style="6"] button.active,#atlas-flow[data-map-style="6"] .primary{background:#641936;border-color:#641936;color:#fff8e8}
#atlas-flow[data-map-style="6"] header button.active,#atlas-flow[data-map-style="6"] .explore-paths button.primary{background:#123d33;border-color:#123d33;color:#fff8e8}
#atlas-flow[data-map-style="6"] .map-area{background:#f0efdf}
#atlas-flow[data-map-style="6"] .map-help,#atlas-flow[data-map-style="6"] .map-title{color:#244337}
#atlas-flow[data-map-style="6"] .map-wrap{border-color:#b6c8be;background:#cadcd6}
#atlas-flow[data-map-style="6"] .country.available{fill:#cbd2b6;stroke:#788563}
#atlas-flow[data-map-style="6"] .country.available.region-view{fill:#f4ecd8;stroke:#a19e7c}
#atlas-flow[data-map-style="6"] .wine-region{fill:#647d5530;stroke:#64806c}
#atlas-flow[data-map-style="6"] .wine-region.selected,#atlas-flow[data-map-style="6"] .wine-region.grape-match{fill:#671d3540;stroke:#6e2941}
#atlas-flow[data-map-style="6"] .wine-region:hover,#atlas-flow[data-map-style="6"] .wine-region:focus-visible{fill:#671d3550;stroke:#641936}
#atlas-flow[data-map-style="6"] .region-pin{color:#234c3d;font-family:Inter,system-ui,sans-serif;font-size:12px}
#atlas-flow[data-map-style="6"] .region-pin.selected{color:#641936;background:transparent;box-shadow:none}
#atlas-flow[data-map-style="6"] .region-signature{stroke:#6d7953}
#atlas-flow[data-map-style="6"] .panel,#atlas-flow[data-map-style="6"] .sheet{background:#fffdf8}
#atlas-flow[data-map-style="6"] .region-environment{background:#edf1e5;border-color:#d1dbc9}
#atlas-flow[data-map-style="6"] .environment-facts dt{color:#46634d}
#atlas-flow[data-map-style="6"] .environment-effect{border-color:#91a17b}
#atlas-flow[data-map-style="6"] a,#atlas-flow[data-map-style="6"] .compact-name-list .name-link{color:#641936}
#atlas-flow .ranking-number{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#edf1e5;color:#244337;font:600 12px Inter,sans-serif;margin-right:8px}
#atlas-flow .ranking-method{font-size:12px;margin:12px 0}
@media(max-width:650px){#atlas-flow[data-map-style="6"] header{gap:10px;padding:14px}#atlas-flow[data-map-style="6"] .brand{flex-basis:100%;gap:10px}#atlas-flow .brand-wordmark{font-size:24px}#atlas-flow .brand img{width:44px;height:44px}#atlas-flow .brand-wordmark small{font-size:9px;margin-top:6px}}

/* Restored cartographic texture and relief blending; SVG focus is handled by map-focus-v53.css. */
#atlas-flow .terrain-layer{mix-blend-mode:multiply;pointer-events:none}
#atlas-flow .geo-map{isolation:isolate}


/* Country groups in the grape directory use compact, wrapping actions. */
#atlas-flow .discovery-country{margin:10px 0 14px}
#atlas-flow .discovery-country>h4{font-size:18px;margin:0 0 6px}
#atlas-flow .discovery-chips{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
#atlas-flow .discovery-chips .discovery-chip{
 background:#fffaf0;color:#244337;border:1px solid #d8cbb7;border-radius:6px;
 min-height:32px;padding:4px 8px;margin:0;font-size:14px;font-weight:500;text-align:start;
}
#atlas-flow .discovery-chips .discovery-chip:hover{background:#f6f2e8;text-decoration:underline}
#atlas-flow .discovery-chips .discovery-chip:focus-visible{outline:2px solid #244337;outline-offset:2px}
#atlas-flow .discovery-directory{margin:4px 0 0;padding:0;border:0}
#atlas-flow .discovery-directory summary{width:fit-content;cursor:pointer;padding:6px 0;font-size:14px}
#atlas-flow .discovery-directory:not([open]) .discovery-less,
#atlas-flow .discovery-directory[open] .discovery-more{display:none}
@media (pointer:coarse){
 #atlas-flow .discovery-chips .discovery-chip{min-height:44px}
 #atlas-flow .discovery-directory summary{min-height:44px;align-content:center}
}

#atlas-flow .environment-card h4,
#atlas-flow .environment-facts dt {
  display: flex;
  align-items: center;
  gap: 8px;
}
#atlas-flow .environment-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  padding: 3px;
  box-sizing: border-box;
  border-radius: 6px;
  background: #fffaf0;
  color: #36543d;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
