/* Atlas direction. Editorial layouts built on the existing application shell. */
html:not([data-color-theme="dark"]) {
    --atlas-ink: #38271e;
    --atlas-paper: #f7f3eb;
    --atlas-muted: #776858;
    --atlas-line: #ded2c0;
    --atlas-accent: #a45d2a;
    --bg: var(--atlas-paper); --bg-solid: var(--atlas-paper);
    --text: #382e26; --text-secondary: #756453; --muted: #786b5f;
    --line: var(--atlas-line); --site-line: var(--atlas-line);
    --gold: #87502c; --gold-strong: #653b23; --gold-light: #f0e2cc;
    --radius-sm: 8px; --radius: 12px; --radius-lg: 12px; --radius-xl: 12px;
}
html[data-color-theme="dark"] { --atlas-ink: #ecd9be; --atlas-paper: #251e19; --atlas-muted: #c2ae98; --atlas-line: #584638; --atlas-accent: #e4ab78; }

/* Three primary entrances; utility navigation remains available. */
html .wk-navbar { padding-inline: clamp(.4rem, 2vw, 2rem); }
html:not([data-color-theme="dark"]) .wk-navbar { background: var(--atlas-paper) !important; }
html .wk-navbar .wk-brand-name { font-size: 1.3rem; letter-spacing: -.055em; }
html .wk-navbar .navbar-brand img { width: 38px; height: 38px; }
html .wk-navbar .nav-link { border-radius: 0; }
html:not([data-color-theme="dark"]) .wk-navbar .nav-link.active { background: transparent; box-shadow: none; border-color: transparent; border-bottom-color: var(--atlas-ink); }
@media (min-width: 1200px) {
    html .wk-navbar .wk-primary-nav { flex: 1 1 auto; gap: clamp(.25rem, 1.3vw, 1.25rem); margin-left: 2rem; }
    html .wk-primary-nav > .nav-item > .nav-link > .wk-nav-icon { display: none; }
    html .wk-utility-nav .global-search-shortcut { display: none !important; }
    html .wk-navbar .global-search-open { border-color: transparent; background: transparent; }
}

/* Full editorial opening. Map regions are real navigation links. */
html .atlas-home { max-width: 1320px; padding: 0 clamp(.75rem, 3vw, 2rem) 3rem; margin: 0 auto; }
.atlas-home a { text-decoration: none; }
.atlas-opening { display: grid; grid-template-columns: 1fr 1.04fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: 2rem 0 3.5rem; border-bottom: 1px solid var(--atlas-line); }
.atlas-kicker { color: var(--atlas-ink); font-size: .71rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1.4rem; }
.atlas-index { color: var(--atlas-accent); margin-right: .85rem; font-family: var(--font-body); font-size: .8rem; }
html .atlas-home h1 { color: var(--atlas-ink); font-family: var(--font-heading); font-size: clamp(3.2rem, 5.5vw, 5.5rem); letter-spacing: -.065em; line-height: 1.02; font-weight: 400; margin: 0 0 1.8rem; overflow-wrap: normal; }
.atlas-home h1 em, .atlas-personal h2 em { font-weight: 400; color: var(--atlas-accent); }
.atlas-lead { max-width: 29rem; line-height: 1.8; color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 1.6rem; }
.atlas-primary { display: inline-flex; align-items: center; gap: 1.5rem; background: #98552f; color: #fffaf3; padding: .65rem 1rem; border-radius: 8px; font-size: .9rem; font-weight: 600; min-height: 44px; }
.atlas-primary:hover { background: #7d4325; color: #fffaf3; }
.atlas-primary > span { font-size: 1.2rem; font-weight: 400; }
.atlas-search { margin-top: 2rem; max-width: 29rem; }
.atlas-search label { display: block; font-size: .75rem; margin-bottom: .35rem; color: var(--text-secondary); }
.atlas-search > div { display: flex; border-bottom: 1px solid var(--atlas-ink); align-items: stretch; }
html .atlas-search input[type="search"] { min-width: 0; width: 100%; background: transparent !important; border: 0 !important; border-radius: 0; padding: .7rem 0; font-size: .95rem; color: var(--text); }
.atlas-search button { border: 0; background: transparent; color: var(--atlas-ink); font-size: 1.6rem; width: 48px; min-height: 48px; flex-shrink: 0; }
.atlas-intro-meta { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; font-size: .75rem; margin-top: 1.3rem; color: var(--muted); }
.atlas-intro-meta i { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--atlas-accent); }
.atlas-map-panel { min-width: 0; padding: 1.2rem 1.4rem .6rem; background: #efe5d3; color: #453021; border-radius: 12px; position: relative; }
.atlas-map-heading { display: flex; gap: 1rem; justify-content: space-between; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; position: relative; z-index: 1; }
.atlas-map-heading span:last-child { white-space: nowrap; opacity: .65; }
.atlas-map-stage { position: relative; }
.atlas-geography { width: 100%; height: auto; max-height: 440px; display: block; overflow: visible; }
.atlas-grid { color: #a58b68; opacity: .23; }
.atlas-land { fill: #c9a878; stroke: #efe5d3; stroke-width: 1.2; transition: fill .15s; }
.atlas-land-lowland { fill: #ddc7a2; }
.atlas-land-speyside { fill: #aa7943; }
.atlas-land-islay, .atlas-land-campbeltown { fill: #a7653f; }
.atlas-geography a:hover .atlas-land, .atlas-geography a:focus .atlas-land, .atlas-geography a.is-highlighted .atlas-land { fill: #855027; stroke: #38271e; }
.atlas-geography a { color: #38271e; }
.atlas-geography circle { fill: #a45d2a; stroke: #f7f3eb; stroke-width: 2; }
.atlas-geography text { fill: #38271e; font-family: var(--font-body); font-weight: 600; font-size: 13px; paint-order: stroke; stroke: #efe5d3; stroke-width: 3px; }
.atlas-compass { position: absolute; right: 0; top: 2rem; display: grid; text-align: center; font-size: .7rem; }
.atlas-compass span { font-size: 2rem; font-weight: 300; }
.atlas-sea { position: absolute; left: -1.3rem; top: 43%; writing-mode: vertical-rl; transform: rotate(180deg); font-size: .55rem; letter-spacing: .3em; opacity: .6; }
.atlas-map-caption { position: absolute; bottom: .9rem; left: .6rem; display: grid; }
.atlas-map-caption small { font-size: .7rem; }
.atlas-map-caption strong { font-family: var(--font-heading); font-size: 2.7rem; font-weight: 400; letter-spacing: -.05em; }
.atlas-regions { display: flex; flex-wrap: wrap; border-top: 1px solid #d4bea0; padding-top: .5rem; }
.atlas-regions a { display: flex; align-items: center; gap: .4rem; min-height: 38px; padding: .3rem .55rem; color: #453021; font-size: .73rem; }
.atlas-regions a span { font-size: .6rem; color: #80694e; }
.atlas-regions a i { font-style: normal; }
.atlas-regions a.is-highlighted, .atlas-regions a:hover { background: #e4cfad; color: #38271e; }
.atlas-map-note { margin: .5rem 0 0; color: #76634d; font-size: .6rem; }

/* Destinations are an index, not a set of matching cards. */
.atlas-destinations { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3.5rem; padding: 4rem 0; }
html .atlas-home .atlas-section-title h2, html .atlas-home .atlas-directory-entry h2 { color: var(--atlas-ink); font: 400 clamp(2rem, 3vw, 3rem)/1.12 var(--font-heading); letter-spacing: -.04em; }
.atlas-section-title { max-width: 21rem; }
.atlas-destination-list a { display: grid; grid-template-columns: 2rem 1fr 1.4fr 1.5rem; align-items: center; gap: .8rem; border-bottom: 1px solid var(--atlas-line); padding: 1.15rem 0; color: var(--text); }
.atlas-destination-list a:first-child { border-top: 1px solid var(--atlas-line); }
.atlas-destination-list a strong { font-family: var(--font-heading); font-size: 1.65rem; font-weight: 400; }
.atlas-destination-list a > span:not(.atlas-destination-number) { font-size: .8rem; color: var(--text-secondary); }
.atlas-destination-number { color: var(--atlas-accent); font-size: .7rem; }
.atlas-destination-list a i { font-style: normal; font-size: 1.2rem; }
.atlas-destination-list a:hover strong { color: var(--atlas-accent); }

/* Personal collection: a light sand journal spread with copper details. */
.atlas-personal { background: #f0e7d9; color: #38271e; border-radius: 12px; padding: clamp(1.5rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.atlas-personal .atlas-kicker { color: #705d4a; }
html .atlas-home .atlas-personal h2 { color: #38271e; font: 400 clamp(2rem, 3.3vw, 3.3rem)/1.15 var(--font-heading); letter-spacing: -.04em; margin-bottom: 1.2rem; }
.atlas-personal h2 em { color: #965329; }
.atlas-personal p:not(.atlas-kicker) { color: #705d4a; max-width: 26rem; line-height: 1.8; }
.atlas-personal-links > a { display: flex; color: #38271e; align-items: center; gap: 1.2rem; padding: 1.1rem 0; border-bottom: 1px solid #dacbb8; }
.atlas-personal-links > a:first-child { padding-top: 0; }
.atlas-personal-links > a > span { color: #965329; font-size: .7rem; }
.atlas-personal-links strong { display: block; font-size: 1.05rem; font-weight: 500; }
.atlas-personal-links small { color: #705d4a; font-size: .8rem; }
.atlas-personal-links i { margin-left: auto; color: #965329; font-style: normal; font-size: 1.5rem; }
.atlas-personal-links a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.atlas-personal-links .atlas-personal-signup { font-size: .78rem; border: 0; padding-bottom: 0; }
.atlas-directory-entry { display: flex; align-items: center; gap: 1.5rem; padding: 4rem 0; border-bottom: 1px solid var(--atlas-line); }
.atlas-directory-entry .atlas-kicker { margin-bottom: .6rem; }
.atlas-directory-entry p:last-child { max-width: 36rem; color: var(--text-secondary); margin-bottom: 0; }
.atlas-text-link { margin-left: auto; display: inline-flex; gap: 1rem; color: var(--atlas-ink); white-space: nowrap; font-weight: 600; font-size: .9rem; }

/* Real events, news and releases keep their data and controls, with editorial pacing. */
html .atlas-home :is(.home-events, .home-news, .home-releases, .home-secondary-section) { margin-top: 3.5rem; }
html .atlas-home :is(.home-events, .home-news, .home-news-card, .home-release-card, .home-secondary-card) { border-radius: 0; border: 0; box-shadow: none; background: transparent; }
html .atlas-home .home-section-heading h2 { font-family: var(--font-heading); font-size: clamp(2rem, 3vw, 3rem); font-weight: 400; letter-spacing: -.04em; }
html .atlas-home .home-event-slide { border-radius: var(--radius); }
html .atlas-home .event-source-reminder { margin: .85rem 0 0; color: var(--muted); font-size: .78rem; line-height: 1.6; max-width: 65rem; }
html .atlas-home .home-secondary-grid { gap: 0; border-block: 1px solid var(--atlas-line); }
html .atlas-home .home-secondary-card { padding-block: 1.5rem; }
html .atlas-home .home-stats { border-radius: 0; background: transparent; border: 0; border-top: 1px solid var(--atlas-line); padding-inline: 0; }
html .atlas-home .home-stats strong { font-family: var(--font-heading); font-weight: 400; }

/* Whisky profile: a bottle display, tasting summary and an open fact sheet. */
html .whisky-detail-page.atlas-detail { padding-top: 1.5rem; }
html .atlas-detail .whisky-detail-hero { grid-template-columns: minmax(250px,.9fr) minmax(0,1.3fr); gap: clamp(2rem,5vw,5rem); align-items: center; padding-block: 1rem 3rem; }
html .atlas-detail .whisky-detail-image-panel { background: #efe5d3; border-radius: var(--radius); min-height: 510px; padding: 2rem; }
html .atlas-detail .whisky-detail-image { max-height: 450px; filter: drop-shadow(0 20px 18px rgb(56 39 30 / 12%)); }
html .atlas-detail .whisky-detail-hero-copy { display: block; }
html .atlas-detail .whisky-detail-identity h1 { font: 400 clamp(2.7rem, 4.8vw, 4.6rem)/1.06 var(--font-heading); letter-spacing: -.055em; color: var(--atlas-ink); }
html .atlas-detail .whisky-detail-label { font-family: var(--font-heading); font-size: 1.45rem; font-style: italic; }
html .atlas-detail .whisky-detail-chips { gap: .3rem .85rem; margin-block: 1.3rem; }
html .atlas-detail .whisky-detail-chips span { border: 0; border-radius: 0; padding: .25rem 0; background: transparent; font-size: .8rem; }
html .atlas-detail .whisky-detail-chips span + span::before { content: '·'; margin-right: .85rem; color: var(--atlas-accent); }
html .atlas-detail .whisky-detail-interaction { border-top: 1px solid var(--atlas-line); padding-top: 1.5rem; margin-top: 1.3rem; }
html .atlas-detail .whisky-detail-rating-summary { background: transparent; border: 0; padding: 0; }
html .atlas-detail .whisky-detail-score { font: 400 3.5rem/1 var(--font-heading); color: var(--atlas-ink); }
html .atlas-detail .whisky-detail-actions .btn { border-radius: var(--radius-sm); min-height: 44px; }
html .atlas-detail .whisky-detail-description { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; padding: 2.5rem 0; border-block: 1px solid var(--atlas-line); }
html .atlas-detail .whisky-detail-section { background: transparent; border-radius: 0; box-shadow: none; padding-inline: 0; border-inline: 0; }
html .atlas-detail .whisky-detail-description > p { font-family: var(--font-heading); font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.6; }
html .atlas-detail .whisky-detail-content-grid { gap: 3rem; padding-top: 1.5rem; }
html .atlas-detail .whisky-detail-fact { background: transparent; border-radius: 0; border-bottom: 1px solid var(--atlas-line); padding-block: .8rem; }
html .atlas-detail .whisky-detail-distillery { background: #efe5d3; padding: 1.5rem; color: #38271e; border-radius: var(--radius); }
html[data-color-theme="dark"] .atlas-detail .whisky-detail-distillery { background: #3d2e23; color: var(--text); }
html .atlas-detail .whisky-detail-rating-card { border-radius: var(--radius); box-shadow: none; background: var(--surface); }
html .atlas-detail .whisky-detail-related-card { border-radius: var(--radius); }
.atlas-tasting-summary { margin-top: 1.5rem; display: flex; gap: 1.5rem; padding-block: 1rem; border-top: 1px solid var(--atlas-line); }
.atlas-tasting-summary > div { min-width: 0; }
.atlas-tasting-summary small { display: block; color: var(--text-secondary); font-size: .75rem; }
.atlas-tasting-summary strong { font: 400 1.5rem var(--font-heading); color: var(--atlas-ink); }
.atlas-detail-jump { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1rem 0; border-block: 1px solid var(--atlas-line); }
.atlas-detail-jump a { color: var(--atlas-ink); font-size: .8rem; text-decoration: none; }
html .atlas-detail .whisky-detail-hero[data-image-missing] .whisky-detail-image-panel { width: auto; min-height: 350px; display: flex; justify-content: center; padding: 2rem; }
html .atlas-detail .whisky-detail-hero[data-image-missing] .whisky-detail-image-placeholder { flex-direction: column; }
html .atlas-detail .whisky-detail-image-placeholder svg { width: 85px; height: 130px; stroke-width: 1; }
html .atlas-detail .whisky-detail-hero[data-image-missing] .whisky-detail-image-placeholder svg { width: 85px; height: 130px; }

@media (max-width: 991.98px) {
    .atlas-opening { gap: 2rem; grid-template-columns: 1fr 1fr; }
    html .atlas-home h1 { font-size: 3.4rem; }
    .atlas-map-panel { padding-inline: .85rem; }
    .atlas-map-heading { letter-spacing: .04em; }
    .atlas-map-heading span:last-child { display: none; }
    .atlas-destinations { gap: 2rem; grid-template-columns: 1fr; }
    .atlas-section-title { max-width: none; }
    .atlas-personal { gap: 2rem; }
    .atlas-directory-entry { flex-wrap: wrap; }
    .atlas-text-link { margin-left: 2.3rem; }
}
@media (max-width: 767.98px) {
    .atlas-opening { grid-template-columns: 1fr; gap: 1.8rem; padding-top: 1rem; padding-bottom: 2rem; }
    html .atlas-home h1 { font-size: clamp(2.75rem, 10vw, 4.2rem); margin-bottom: 1.2rem; }
    .atlas-kicker { margin-bottom: 1rem; }
    .atlas-lead { font-size: .95rem; max-width: 34rem; margin-bottom: 1.2rem; }
    .atlas-search { margin-top: 1.3rem; max-width: none; }
    .atlas-intro-meta { margin-top: .8rem; }
    .atlas-map-panel { padding: 1rem; }
    .atlas-geography { max-height: 350px; }
    .atlas-map-caption strong { font-size: 2rem; }
    .atlas-map-caption { position: static; padding: .4rem 0 .8rem; }
    .atlas-map-heading span:last-child { display: block; }
    .atlas-regions a { min-height: 44px; }
    .atlas-destinations { padding-block: 2.5rem; gap: 1.2rem; }
    .atlas-destination-list a { grid-template-columns: 1.5rem 1fr 1.5rem; gap: .4rem .6rem; padding-block: 1rem; }
    .atlas-destination-list a > span:not(.atlas-destination-number) { grid-column: 2; grid-row: 2; }
    .atlas-destination-list a i { grid-column: 3; grid-row: 1 / 3; }
    .atlas-personal { grid-template-columns: 1fr; gap: 1.2rem; padding: 1.5rem; }
    .atlas-personal-links { min-width: 0; }
    .atlas-directory-entry { padding-block: 2.5rem; gap: .8rem; }
    .atlas-directory-entry > .atlas-index { display: none; }
    .atlas-text-link { margin-left: 0; }
    html .atlas-home :is(.home-events, .home-news, .home-releases, .home-secondary-section) { margin-top: 2.5rem; }
    html .atlas-detail .whisky-detail-hero { grid-template-columns: 1fr; gap: 1.5rem; }
    html .atlas-detail .whisky-detail-image-panel { min-height: 280px; max-height: 360px; padding: 1.3rem; }
    html .atlas-detail .whisky-detail-image { max-height: 310px; }
    html .atlas-detail .whisky-detail-identity h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
    html .atlas-detail .whisky-detail-description { grid-template-columns: 1fr; gap: .6rem; padding-block: 1.5rem; }
    html .atlas-detail .whisky-detail-content-grid { grid-template-columns: 1fr; gap: 1rem; }
    html .atlas-detail .whisky-detail-hero[data-image-missing] .whisky-detail-image-panel { min-height: 0; padding: .75rem; }
    html .atlas-detail .whisky-detail-hero[data-image-missing] .whisky-detail-image-placeholder { flex-direction: row; }
    html .atlas-detail .whisky-detail-hero[data-image-missing] .whisky-detail-image-placeholder svg { width: 24px; height: 38px; }
}
/* Shared actions use the same soft corners as the atlas entry point. */
html[data-color-theme="light"] .btn { border-radius: var(--radius-sm); }
html[data-color-theme="light"] :is(.btn-gold, .btn-primary, .btn-wk-primary) { background: #98552f; color: #fffaf3; }
html[data-color-theme="light"] :is(.btn-gold, .btn-primary, .btn-wk-primary):hover { background: #7d4325; }

/* Bring the bottles forward: compact header, inline totals and an open search. */
html .collection-page { padding-top: 1rem; }
html .collection-page .collection-page-hero { padding-bottom: 1rem; margin-bottom: .7rem; }
html .collection-page .collection-hero-layout { gap: .85rem; }
html .collection-page .collection-summary-grid { gap: .6rem 1.4rem; margin-bottom: 1rem; padding-bottom: .85rem; border-bottom: 1px solid var(--atlas-line); }
html .collection-page .collection-summary-card { grid-template-columns: auto minmax(0,1fr); gap: .55rem; padding: .2rem 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
html .collection-page .collection-summary-icon { display: none; }
html .collection-page .collection-summary-card strong { font-size: 1.4rem; }
html .collection-page .collection-summary-card > span:last-child { grid-column: auto; font-size: .72rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
html .collection-page .collection-search-panel { padding: 0; margin-bottom: .85rem; border: 0; background: transparent; box-shadow: none; }
html .collection-page .collection-advanced-search-help { margin: .65rem 0 0; }
html .collection-page .collection-advanced-search-help > summary { min-height: 44px; display: list-item; align-content: center; }
html .collection-page .collection-search-mode { max-width: 20rem; margin: .65rem 0; }
html .collection-page #search-results:empty { min-height: 0; margin: 0; }
html .collection-page .collection-results-toolbar { margin-bottom: .75rem; gap: .75rem; }
html .collection-page #whiskyAccordion { margin-top: 0; }

/* A light shelf with a fine line under each bottle instead of simulated wood. */
html :is(.collection-page #whiskyAccordion.collection-shelf-view, .whisky-directory-list.is-shelf-view) { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1rem; margin: 0; background: #f0e7d9; border-radius: var(--radius); padding: 1rem; }
html :is(.collection-page #whiskyAccordion.collection-shelf-view, .whisky-directory-list.is-shelf-view) > .whisky-card { width: 100%; margin: 0; padding: 0; }
html :is(.collection-page #whiskyAccordion.collection-shelf-view, .whisky-directory-list.is-shelf-view) > .whisky-card.shelf-expanded { grid-column: 1 / -1; }
html .collection-page #whiskyAccordion.collection-shelf-view .collection-bottle { background: transparent !important; border-color: transparent !important; border-radius: var(--radius); box-shadow: none; }
html .collection-page .collection-shelf-summary { background: transparent; }
html .collection-page .collection-shelf-summary:hover { background: #e9dcc9; }
html .collection-page .collection-shelf-copy { background: transparent; border-top: 1px solid #d3c0a6; }
html .collection-page .collection-shelf-image img { filter: drop-shadow(0 5px 5px rgb(56 39 30 / 12%)); }
html .whisky-directory-list.is-shelf-view :is(.whisky-directory-shelf-card, .whisky-directory-shelf-copy) { background: transparent; }
html .whisky-directory-list.is-shelf-view .whisky-directory-shelf-card:hover { background: #e9dcc9; }
html .whisky-directory-list.is-shelf-view .whisky-directory-shelf-copy { border-top: 1px solid #d3c0a6; }
html .whisky-directory-list.is-shelf-view .whisky-directory-item { border-radius: var(--radius); box-shadow: none; }
html .whisky-directory-list.is-shelf-view .whisky-directory-shelf-image img { filter: drop-shadow(0 5px 5px rgb(56 39 30 / 12%)); }

/* Keep the live save status; remove repeated introductory instructions. */
html .quick-rating-page .quick-rating-hero { padding-bottom: 1rem; margin-bottom: .85rem; }
html .quick-rating-page .quick-rating-lead { margin-top: .5rem; }
html .quick-rating-page #quick-autosave-status { color: var(--muted); margin-top: 0 !important; line-height: 1.5; }
html .quick-rating-page .quick-method-panel { margin-top: .75rem; }

@media (min-width: 1200px) {
    html .collection-page .collection-hero-layout { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 1.5rem; }
    html .collection-page .collection-hero-actions { width: auto; }
}
@media (max-width: 767.98px) {
    html .collection-page .collection-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    html .collection-page .collection-summary-card > span:last-child { font-size: .7rem; }
    html .quick-rating-page .quick-rating-hero { padding-bottom: .75rem; }
    html .quick-rating-page .quick-method-panel { padding: 1rem; }
}
@media (max-width: 1199.98px) {
    html :is(.collection-page #whiskyAccordion.collection-shelf-view, .whisky-directory-list.is-shelf-view) { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 767.98px) {
    html :is(.collection-page #whiskyAccordion.collection-shelf-view, .whisky-directory-list.is-shelf-view) { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; padding: .85rem; }
}
@media (max-width: 479.98px) {
    html :is(.collection-page #whiskyAccordion.collection-shelf-view, .whisky-directory-list.is-shelf-view) { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 420px) {
    /* Keep every dictation action reachable with enlarged mobile text. */
    html .quick-rating-page .quick-dictation-dock { grid-template-columns: minmax(0,1fr); }
    html .quick-rating-page .quick-dictation-status > div { min-width: 0; }
    html .quick-rating-page .quick-dictation-actions { grid-template-columns: repeat(3,minmax(0,1fr)); }
    html .quick-rating-page .quick-mic-button { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) { .atlas-land { transition: none; } }
