
.slch-explore{box-sizing:border-box;width:100%;max-width:100%;color:var(--sl-text,#202825);background:var(--sl-card,#fff);border:1px solid rgba(125,145,132,.22);border-radius:18px;padding:12px 12px 14px;font-family:inherit;min-width:0;box-shadow:0 4px 16px rgba(13,31,21,.04)}
.slch-explore *{box-sizing:border-box}
.slch-explore-header{width:100%;min-height:48px;border:0;background:transparent;color:inherit;display:flex;align-items:center;gap:10px;text-align:start;cursor:pointer;padding:4px}
.slch-explore-symbol{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:rgba(23,145,91,.1);color:#138653;font-size:23px;flex-shrink:0}
.slch-explore-heading{display:grid;flex:1;min-width:0;gap:2px}
.slch-explore-heading strong{font-size:16px;font-weight:700;letter-spacing:-.01em}
.slch-explore-heading small{font-size:12px;opacity:.74}
.slch-explore-chevron{width:28px;height:28px;border-radius:999px;display:grid;place-items:center;flex-shrink:0;background:rgba(20,40,30,.05);border:1px solid rgba(20,40,30,.08);transition:background .18s ease,border-color .18s ease,transform .18s ease}
.slch-explore-chevron-glyph{display:block;width:10px;height:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-1px);transition:transform .18s ease;opacity:.82}
.slch-explore-header:hover .slch-explore-chevron,.slch-explore-header:focus-visible .slch-explore-chevron{background:rgba(17,130,84,.08);border-color:rgba(17,130,84,.18)}
.slch-explore-header[aria-expanded=false] .slch-explore-chevron-glyph{transform:rotate(-135deg) translateY(-1px)}
.slch-explore-body{margin-top:11px}.slch-explore-body[hidden]{display:none!important}
.slch-explore-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px}
.slch-explore-tabs button{min-height:44px;padding:8px 8px;border:1px solid rgba(125,145,132,.28);border-radius:999px;background:transparent;color:inherit;font:inherit;font-size:13px;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease}
.slch-explore-tabs button[aria-selected=true]{background:var(--sl-green,#2f9e2f);color:#fff;border-color:var(--sl-green,#2f9e2f);font-weight:700}
.slch-explore-panel h3{font-size:14px;font-weight:700;margin:0 0 10px}
.slch-explore-cards{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;padding:2px 2px 8px;margin:0 -2px 0 0;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.slch-explore-cards.is-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;padding:0;margin:0}
.slch-explore-card{min-width:0;color:inherit;text-decoration:none;display:grid;gap:6px;flex:0 0 clamp(86px,25vw,108px);scroll-snap-align:start}
.slch-explore-cards.is-results .slch-explore-card{flex:initial}
.slch-explore-card img,.slch-explore-card-fallback{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;background:rgba(125,145,132,.1)}
.slch-explore-card-fallback{display:grid;place-items:center;font-size:28px;color:#14885c}
.slch-explore-card strong{font-size:12px;line-height:1.35;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.slch-explore-status{font-size:13px;line-height:1.5;min-height:0;margin:8px 0 0}.slch-explore-status:empty{display:none}
.slch-explore-status button{margin-inline-start:8px;min-height:44px}
.slch-explore-search-label{display:block;margin:0 0 12px}
.slch-explore-search-label input{width:100%;min-height:48px;border-radius:14px;border:1px solid rgba(125,145,132,.34);padding:0 14px;background:rgba(255,255,255,.78);color:inherit;font:inherit;font-size:16px}
.slch-explore :focus-visible{outline:3px solid #268fca;outline-offset:2px}

@media(max-width:325px){.slch-explore-cards{gap:8px}.slch-explore-card{flex-basis:84px}.slch-explore-card strong{font-size:11px}}
@media(min-width:680px){.slch-explore-cards.is-results{grid-template-columns:repeat(5,minmax(0,1fr))}.slch-explore-tabs{max-width:460px}.slch-explore-card{flex-basis:110px}}

@media(prefers-color-scheme:dark){
 .slch-explore{background:#111c1d;color:#edf3ef;border-color:#294244;box-shadow:none}
 .slch-explore-symbol{background:rgba(35,177,109,.15);color:#61d29b}
 .slch-explore-tabs button{border-color:#3c5050;background:rgba(255,255,255,.01)}
 .slch-explore-tabs button[aria-selected=true]{background:var(--sl-green,#2f9e2f);border-color:var(--sl-green,#2f9e2f);color:#fff}
 .slch-explore-chevron{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.08)}
 .slch-explore-card img,.slch-explore-card-fallback{background:#203033}
 .slch-explore-search-label input{background:#0c1722;border-color:#2e4551;color:#f3f7f4}
}
.dark .slch-explore,[data-theme=dark] .slch-explore,.send-list-app.dark .slch-explore{background:#111c1d;color:#edf3ef;border-color:#294244;box-shadow:none}
.dark .slch-explore-symbol,[data-theme=dark] .slch-explore-symbol,.send-list-app.dark .slch-explore-symbol{background:rgba(35,177,109,.15);color:#61d29b}
.dark .slch-explore-tabs button,[data-theme=dark] .slch-explore-tabs button,.send-list-app.dark .slch-explore-tabs button{border-color:#3c5050;background:rgba(255,255,255,.01);color:#edf3ef}
.dark .slch-explore-tabs button[aria-selected=true],[data-theme=dark] .slch-explore-tabs button[aria-selected=true],.send-list-app.dark .slch-explore-tabs button[aria-selected=true]{background:var(--sl-green,#2f9e2f);border-color:var(--sl-green,#2f9e2f);color:#fff}
.dark .slch-explore-chevron,[data-theme=dark] .slch-explore-chevron,.send-list-app.dark .slch-explore-chevron{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.08);color:#edf3ef}
.dark .slch-explore-card img,.dark .slch-explore-card-fallback,[data-theme=dark] .slch-explore-card img,[data-theme=dark] .slch-explore-card-fallback,.send-list-app.dark .slch-explore-card img,.send-list-app.dark .slch-explore-card-fallback{background:#203033}
.dark .slch-explore-search-label input,[data-theme=dark] .slch-explore-search-label input,.send-list-app.dark .slch-explore-search-label input{background:#0c1722;border-color:#2e4551;color:#f3f7f4}

/* 0.044: Canonical Send Listy dark-mode class, not OS theme detection alone. */
.send-list-app.sl-dark-mode .slch-explore{background:#111c1d!important;color:#edf3ef!important;border-color:#294244!important;box-shadow:none!important}
.send-list-app.sl-dark-mode .slch-explore-header{color:#edf3ef!important}
.send-list-app.sl-dark-mode .slch-explore-symbol{background:rgba(35,177,109,.15)!important;color:#61d29b!important}
.send-list-app.sl-dark-mode .slch-explore-tabs button{background:#142527!important;border-color:#3c5050!important;color:#edf3ef!important}
.send-list-app.sl-dark-mode .slch-explore-tabs button[aria-selected=true]{background:var(--sl-green,#2f9e2f)!important;border-color:var(--sl-green,#2f9e2f)!important;color:#fff!important}
.send-list-app.sl-dark-mode .slch-explore-chevron{background:#253337!important;border-color:#3b4e53!important;color:#edf3ef!important}
.send-list-app.sl-dark-mode .slch-explore-card img,.send-list-app.sl-dark-mode .slch-explore-card-fallback{background:#203033!important}
.send-list-app.sl-dark-mode .slch-explore-card{color:#edf3ef!important}
.send-list-app.sl-dark-mode .slch-explore-search-label input{background:#0c1722!important;border-color:#2e4551!important;color:#f3f7f4!important}
.send-list-app.sl-dark-mode .slch-explore-search-label input::placeholder{color:#a3b4be!important;opacity:1}
/* Explicit light mode must override operating-system dark preference. */
.send-list-app:not(.sl-dark-mode) .slch-explore{background:#fff;color:#202825;border-color:rgba(125,145,132,.22)}
.send-list-app:not(.sl-dark-mode) .slch-explore-search-label input{background:#fff;color:#202825;border-color:rgba(125,145,132,.34)}

/* 0.062: compact heading action owned by Explore Library. */
.slch-explore-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
.slch-explore-section-heading h3{margin:0;min-width:0}
.slch-explore-section-heading [data-slch-view-all]{border:0;background:transparent;color:#219c51;font:inherit;font-size:12px;font-weight:700;cursor:pointer;padding:7px 3px;white-space:nowrap}
.slch-explore-section-heading [data-slch-view-all][hidden]{display:none!important}
.send-list-app.sl-dark-mode .slch-explore-section-heading [data-slch-view-all]{color:#70d69b}

/* 0.063: on-demand full library overlay. Home gallery rendering remains unchanged. */
.slch-explore-gallery-overlay{position:fixed;top:0;bottom:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:12px;background:rgba(0,0,0,.65);box-sizing:border-box}
.slch-explore-gallery-dialog{width:min(100%,680px);max-height:min(90dvh,840px);display:flex;flex-direction:column;background:#111e27;color:#edf5ef;border:1px solid #385159;border-radius:18px;box-shadow:0 16px 60px #0007;overflow:hidden;font-family:inherit}
.slch-explore-gallery-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #3d5358;font-size:17px}
.slch-explore-gallery-close{display:grid;place-items:center;min-width:36px;min-height:36px;border:1px solid #385159;border-radius:50%;font-size:26px;line-height:1;background:transparent;color:inherit;cursor:pointer}
.slch-explore-gallery-content{padding:14px;overflow-y:auto;min-height:0;overscroll-behavior:contain}
.slch-explore-gallery-search{display:block;width:100%;min-height:44px;padding:8px 12px;border-radius:12px;border:1px solid #3b5558;background:#0b1820;color:inherit;font-size:16px;box-sizing:border-box;margin-bottom:16px}
.slch-explore-gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:12px}
.slch-explore-gallery-grid .slch-explore-card{flex:initial;text-align:center}
.slch-explore-gallery-status{font-size:13px;margin:12px 0;text-align:center}
.slch-explore-gallery-more{display:block;min-height:40px;margin:12px auto 0;border:1px solid #368b60;background:#1c7047;color:#fff;border-radius:10px;padding:6px 20px;font:inherit;cursor:pointer}
.slch-explore-gallery-more[hidden]{display:none!important}
@media(max-width:500px){.slch-explore-gallery-overlay{padding:8px}.slch-explore-gallery-dialog{max-height:94dvh}.slch-explore-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}}

/* 0.065 — View selector is scoped to the full-library modal only. */
.slch-explore-gallery-views{display:flex;justify-content:flex-end;gap:5px;margin:-5px 0 12px}
.slch-explore-gallery-view{display:inline-flex;align-items:center;justify-content:center;width:38px;height:34px;border:1px solid #40575d;border-radius:9px;background:#182a32;color:#c2d0d4;cursor:pointer;transition:background-color .15s,border-color .15s}
.slch-explore-gallery-view.is-active{background:#218c3a;border-color:#299b4a;color:#fff}
.slch-explore-gallery-view:focus-visible{outline:2px solid #a5e8b4;outline-offset:2px}
.slch-explore-gallery-grid.is-list{display:flex;flex-direction:column;gap:7px}
.slch-explore-gallery-grid.is-list .slch-explore-card{display:flex;flex-direction:row;align-items:center;gap:12px;width:100%;min-height:64px;padding:7px 10px;text-align:start;border:1px solid #304951;border-radius:10px;box-sizing:border-box;background:#1b2c34}
.slch-explore-gallery-grid.is-list .slch-explore-card img,.slch-explore-gallery-grid.is-list .slch-explore-card .slch-explore-card-fallback{width:50px;height:50px;min-width:50px;min-height:50px;max-width:50px;max-height:50px;object-fit:cover;border-radius:7px;margin:0;flex-shrink:0}
.slch-explore-gallery-grid.is-list .slch-explore-card strong{flex:1;min-width:0;text-align:start;white-space:normal;overflow-wrap:anywhere}

/* 0.068 — Full-library overlay is portaled to body, so it must use the app's
   explicit light theme, not the hard-coded dark modal palette or OS preference.
   The existing dark styles remain untouched when the app uses sl-dark-mode. */
.slch-explore-gallery-overlay.slch-gallery-light .slch-explore-gallery-dialog{background:#fff;color:#202825;border-color:rgba(125,145,132,.25);box-shadow:0 16px 48px rgba(20,40,30,.16)}
.slch-explore-gallery-overlay.slch-gallery-light .slch-explore-gallery-header{border-bottom-color:rgba(125,145,132,.22)}
.slch-explore-gallery-overlay.slch-gallery-light .slch-explore-gallery-close{border-color:rgba(125,145,132,.34);color:#33433c}
.slch-explore-gallery-overlay.slch-gallery-light .slch-explore-gallery-search{background:#fff;border-color:rgba(125,145,132,.34);color:#202825}
.slch-explore-gallery-overlay.slch-gallery-light .slch-explore-gallery-search::placeholder{color:#75817a;opacity:1}
.slch-explore-gallery-overlay.slch-gallery-light .slch-explore-gallery-view{background:#f5f8f6;border-color:#cedbd3;color:#536a60}
.slch-explore-gallery-overlay.slch-gallery-light .slch-explore-gallery-view.is-active{background:#218c3a;border-color:#299b4a;color:#fff}
.slch-explore-gallery-overlay.slch-gallery-light .slch-explore-gallery-grid.is-list .slch-explore-card{background:#f6f9f7;border-color:#dce7df}
.slch-explore-gallery-overlay.slch-gallery-light .slch-explore-card{color:#202825}
.slch-explore-gallery-overlay.slch-gallery-light .slch-explore-card-fallback{background:#f0f5f2}
.slch-explore-gallery-overlay.slch-gallery-light .slch-explore-gallery-status{color:#4b5c53}

/* 0.118 — Home Explore: countries are discoverable after featured templates.
   No changes to template, step, favorite, or gallery interaction contracts. */
.slch-explore-countries{margin-top:16px;padding-top:13px;border-top:1px solid rgba(125,145,132,.20);min-width:0}
.slch-explore-countries[hidden],.slch-explore-country[hidden]{display:none!important}
.slch-explore-countries h3{font-size:14px;font-weight:700;margin:0 0 11px;text-align:start;color:inherit}
.slch-explore-countries-track{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding:2px 2px 9px}
.slch-explore-country{display:flex;flex:0 0 108px;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:11px 8px;border:1px solid rgba(125,145,132,.28);background:var(--sl-card,#fff);border-radius:13px;color:inherit;text-decoration:none;text-align:center;scroll-snap-align:start}
.slch-explore-country-flag{font-size:29px;line-height:1.25}
.slch-explore-country-name{font-size:12px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}
.slch-explore-country:hover,.slch-explore-country:focus-visible{border-color:var(--sl-green,#2f9e2f)}
.send-list-app.sl-dark-mode .slch-explore-countries{border-top-color:#294244}
.send-list-app.sl-dark-mode .slch-explore-country{background:#17282b;color:#edf3ef;border-color:#385052}
.send-list-app.sl-dark-mode .slch-explore-country:hover,.send-list-app.sl-dark-mode .slch-explore-country:focus-visible{border-color:var(--sl-green,#2f9e2f)}
