/* Shared navigation and catalog; sample Tailwind layouts remain independent. */
:root { color-scheme:light; --ink:#183b34; --muted:#687771; --line:#dfe8e3; --green:#007b57; --foreground-rgb:24,40,35; --background-rgb:255,255,255; }
body { color:rgb(var(--foreground-rgb)); background:#fff; }
a,button,summary { touch-action:manipulation; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline:3px solid #10a678; outline-offset:4px; }
html { scroll-padding-top:calc(var(--site-nav-height,68px) + 20px); }
.skip-link { position:fixed; top:-80px; left:16px; z-index:100; padding:12px 18px; background:#fff; color:var(--green); }
.skip-link:focus { top:8px; }
.site-nav { position:sticky; top:0; z-index:60; border-bottom:1px solid var(--line); background:#fff; }
.nav-inner { max-width:1440px; min-height:76px; margin:auto; padding:0 48px; display:flex; align-items:center; gap:36px; }
.brand { display:flex; align-items:center; gap:10px; flex-shrink:0; color:var(--ink); }
.brand-mark { width:34px; height:34px; background:var(--green); color:#fff; border-radius:10px; text-align:center; font-weight:700; font-size:26px; line-height:30px; }
.brand strong { display:flex; align-items:baseline; gap:8px; font-size:22px; letter-spacing:-1px; }
.brand strong span { font-size:13px; font-weight:400; letter-spacing:0; color:var(--muted); }
.nav-location { flex:1; display:flex; gap:12px; align-items:center; color:var(--muted); font-size:12px; }
.nav-location strong { color:var(--ink); font-weight:500; }
.example-menu { margin-left:auto; }
.example-menu summary { display:flex; gap:10px; align-items:center; cursor:pointer; list-style:none; padding:10px 14px; border:1px solid var(--line); border-radius:9px; font-size:13px; font-weight:500; }
.example-menu summary::-webkit-details-marker { display:none; }
.example-menu[open] summary { background:#eef7f2; border-color:#a8cbbb; }
.menu-count { color:var(--green); font-size:11px; }
.example-menu-panel { position:absolute; top:calc(100% + 10px); right:32px; width:min(880px,calc(100vw - 64px)); max-height:calc(100dvh - 106px); overflow:auto; padding:28px; border:1px solid var(--line); border-radius:16px; background:#fff; box-shadow:0 20px 70px #14352b26; }
.menu-heading { display:flex; justify-content:space-between; gap:20px; padding-bottom:22px; border-bottom:1px solid var(--line); }
.menu-heading strong { font-size:18px; }
.menu-heading p { margin-top:5px; color:var(--muted); font-size:12px; }
.menu-heading>a { align-self:center; white-space:nowrap; color:var(--green); font-size:12px; }
.menu-groups { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; padding-top:24px; }
.menu-groups h2 { font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.6px; margin-bottom:12px; }
.menu-groups a { display:flex; justify-content:space-between; align-items:center; padding:11px 9px; border-radius:6px; font-size:13px; }
.menu-groups a span { color:#91a69c; }
.menu-groups a:hover,.menu-groups a[aria-current] { background:#edf6f0; color:var(--green); }
.exercise-header { background:#f5f7f3; border-bottom:1px solid var(--line); }
.exercise-inner { max-width:1344px; margin:auto; padding:32px 48px 20px; }
.exercise-heading { display:flex; align-items:center; justify-content:space-between; gap:32px; }
.eyebrow { font-size:11px; letter-spacing:1.4px; font-weight:600; text-transform:uppercase; color:var(--green); }
.exercise-heading h1 { font-size:34px; line-height:1.25; font-weight:600; letter-spacing:-1px; color:var(--ink); margin:9px 0; }
.exercise-description { max-width:780px; color:#5a6961; font-size:14px; line-height:1.8; }
.exercise-switcher { display:flex; align-items:center; gap:8px; white-space:nowrap; }
.exercise-switcher a { padding:10px 14px; background:white; border:1px solid var(--line); border-radius:8px; font-size:12px; }
.exercise-switcher a:hover { border-color:#80b39a; }
.exercise-switcher span { margin-left:12px; }
.exercise-footer { margin-top:20px; display:flex; gap:20px; justify-content:space-between; align-items:flex-start; }
.practice-note { flex:1; max-width:900px; }
.practice-note summary { cursor:pointer; display:flex; align-items:center; gap:8px; width:fit-content; color:var(--green); font-size:12px; list-style:none; }
.practice-note summary::-webkit-details-marker { display:none; }
.practice-dot { display:inline-block; width:7px; height:7px; border-radius:50%; background:#00a874; }
.practice-note summary>span:last-child { margin-left:12px; font-size:18px; }
.practice-note p { font-size:13px; line-height:1.85; margin-top:12px; padding-left:15px; border-left:2px solid #b2d4c2; color:#466052; }
.version-link { color:var(--green); font-size:12px; text-decoration:underline; white-space:nowrap; }

.catalog-page { max-width:1344px; margin:auto; padding:0 40px; }
.catalog-hero { padding:64px 0 44px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.catalog-hero h1 { font-size:42px; line-height:1.2; font-weight:500; letter-spacing:-1.6px; color:var(--ink); }
.catalog-hero p { margin-top:14px; font-size:14px; line-height:24px; color:var(--muted); }
.catalog-total { color:var(--muted); font-size:12px; white-space:nowrap; }
.catalog-group { padding-top:24px; margin-bottom:36px; scroll-margin-top:100px; }
.catalog-group-heading { display:flex; align-items:center; gap:12px; margin-bottom:22px; }
.catalog-group-heading h2 { font-size:21px; font-weight:500; letter-spacing:-.4px; }
.catalog-group-heading>span { font-size:11px; color:var(--muted); }
.catalog-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.feature-card { display:block; border:1px solid var(--line); border-radius:10px; overflow:hidden; transition:border-color .16s,transform .16s; }
.feature-card:hover { border-color:#84b79e; transform:translateY(-2px); }
.feature-preview { aspect-ratio:2.5/1; overflow:hidden; background:#f1f4ef; border-bottom:1px solid #edf1ed; }
.feature-preview img { width:100%; height:100%; object-fit:cover; }
.feature-copy { padding:20px; }
.feature-copy h3 { font-size:16px; font-weight:500; display:flex; justify-content:space-between; align-items:center; gap:12px; color:var(--ink); }
.feature-copy h3>span { font-size:16px; color:var(--green); }
.catalog-footer { margin-top:52px; padding:24px 0 36px; border-top:1px solid var(--line); font-size:11px; color:var(--muted); }
.data-pager,#pager { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:5px; }
.data-pager>a,.data-pager>span,#pager>button { min-width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; font-size:13px; border-radius:6px; }
.data-pager>a:hover,#pager>button:hover:not(:disabled) { background:#eff7f2; }
.data-pager [aria-current],#pager [aria-current] { background:var(--green); color:#fff; text-decoration:none; }
.data-pager [aria-disabled],#pager>button:disabled { opacity:.3; }
.pager-caption { text-align:center; font-size:12px; color:var(--muted); margin:14px 0 32px; }
.goods-shell { margin-top:44px; }
.goods-toolbar { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; margin-bottom:32px; }
.goods-toolbar h2 { font-size:24px; font-weight:500; }
.goods-toolbar p { color:var(--muted); font-size:12px; }
#goods { grid-template-columns:repeat(3,minmax(0,1fr)); margin-bottom:32px; }
#load-status { font-size:13px; color:var(--muted); padding:12px 0; }
#load-more { max-width:100%; border-radius:8px; }
#promotion { padding:clamp(24px,5vw,80px); }
#promotion h2 { font-size:clamp(36px,6vw,96px); }
.goods-detail-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:64px; }
.goods-detail-image { width:100%; height:auto; aspect-ratio:600/740; }
.alphabet-nav { flex-wrap:wrap; gap:8px; justify-content:flex-start; }
.popover-stage { height:70vh; min-height:520px; }
.popover-stage>.absolute.flex { width:min(455px,100%); }
@media(min-width:1440px) { .catalog-page { padding:0 80px; } }
@media(max-width:1100px) { .nav-location { display:none; } .nav-inner { padding-inline:28px; } .catalog-page { padding-inline:32px; } .hero-index { width:220px; padding-left:30px; } .catalog-hero h1 { font-size:50px; } .exercise-inner { padding-inline:32px; } .goods-sidebar { display:none; } }
@media(max-width:760px) {
 .nav-inner { min-height:64px; padding-inline:18px; gap:10px; } .brand strong { font-size:20px; } .brand strong span { display:none; } .example-menu summary { font-size:11px; padding:9px 10px; gap:6px; }
 .example-menu-panel { right:12px; width:calc(100vw - 24px); padding:20px; max-height:calc(100dvh - 86px); } .menu-groups { grid-template-columns:1fr; gap:20px; } .menu-groups h2 { margin-bottom:5px; } .menu-groups a { padding:12px 8px; } .menu-heading { flex-direction:column; gap:10px; } .menu-heading>a { align-self:flex-start; }
 .exercise-inner { padding:24px 20px 18px; } .exercise-heading { align-items:flex-start; gap:20px; flex-direction:column; } .exercise-heading h1 { font-size:29px; } .exercise-description { font-size:13px; } .exercise-switcher a { padding:8px 12px; } .exercise-footer { flex-wrap:wrap; gap:12px; } .practice-note { min-width:200px; }
 .catalog-page { padding-inline:20px; } .catalog-hero { padding:44px 0 34px; gap:0; } .catalog-hero h1 { font-size:43px; letter-spacing:-2px; } .catalog-hero-copy>p:last-of-type { font-size:13px; } .hero-index { display:none; } .catalog-sections { gap:8px; } .catalog-sections>span { width:100%; margin-bottom:6px; } .catalog-sections a { padding:9px 12px; font-size:11px; }
 .catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; } .feature-copy { padding:16px; } .feature-copy h3 { font-size:15px; } .catalog-group-heading h2 { font-size:20px; } .catalog-footer { flex-direction:column; gap:8px; }
 #goods { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; } #goods>li>a>div { margin-bottom:16px; } #goods>li .text-lg { font-size:14px; } .goods-shell { margin-top:30px; }
 .goods-detail-layout { grid-template-columns:1fr; gap:28px; } #pagination-app { overflow-x:auto; } #pagination-app[data-kind='articles'] .relative.flex { flex-direction:column; } #pagination-app[data-kind='articles'] .h-50 { max-width:100%; } #pagination-app[data-kind='articles'] .absolute.bottom-0 { position:static; align-self:flex-end; }
 .data-pager>a,.data-pager>span { min-width:26px; } .iframe-layout { flex-direction:column; } .iframe-layout>div { width:100%; }
 .house-detail { left:12px; width:calc(100% - 24px); max-width:none; z-index:20; }
 .house-detail>.px-11 { padding-inline:20px; }
 .house-detail .items-end { align-items:flex-start; flex-direction:column; gap:12px; }
}
@media(max-width:440px) { .catalog-grid { grid-template-columns:1fr; } .feature-preview { aspect-ratio:2.3/1; } .feature-copy>p { min-height:0; } }
@media(prefers-reduced-motion:reduce) { .feature-card { transition:none; } }
.collection-note { margin-top:14px; font-size:11px; line-height:1.8; color:var(--muted); }
.catalog-group-description { margin:-10px 0 24px; max-width:800px; font-size:13px; line-height:1.8; color:var(--muted); }
.company-loading { height:380px; }
.course-layout { display:grid; grid-template-columns:200px minmax(0,1fr); gap:32px; }
.course-layout>aside { width:auto; }
.course-layout table { min-width:900px; }
#pagination-app[data-kind='reviews'] #rows img { border-radius:50%; }
@media(max-width:760px) {
 .course-layout { grid-template-columns:1fr; gap:24px; }
 .course-layout>aside { display:flex; flex-wrap:wrap; gap:8px; }
 .course-layout>aside>div { width:100%; padding-bottom:4px; }
 .course-layout>aside>hr { display:none; }
 .course-layout>aside>a { width:auto; padding:8px 12px; border:1px solid var(--line); border-radius:8px; }
}

/* Comfortable reading density; a single sticky pager stays above each list. */
.goods-shell,.compact-list { max-width:1344px; width:100%; padding-inline:40px; margin:32px auto 56px; }
.goods-flow,.compact-list { display:flex; flex-direction:column; }
.goods-toolbar { margin-bottom:24px; min-height:48px; }
.goods-toolbar h2 { font-size:23px; }
.goods-toolbar .collection-description { font-size:12px; margin-top:6px; }
#goods { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:32px 24px; margin:0; grid-auto-rows:var(--product-row-height); }
.goods-flow { --product-photo-height:clamp(190px,17vw,230px); --product-row-height:calc(var(--product-photo-height) + 108px); }
.product-card { min-width:0; }
.product-card>a { display:block; height:100%; }
.product-photo { height:var(--product-photo-height); position:relative; background:#f4f4f1; overflow:hidden; border-radius:5px; }
.product-photo img { width:100%; height:100%; object-fit:contain; }
.product-sale { position:absolute; top:10px; left:10px; padding:3px 6px; background:#fff; color:#8b4234; font-size:10px; border-radius:3px; }
.product-copy { padding-top:14px; }
.product-brand { display:flex; justify-content:space-between; gap:4px; font-size:11px; color:var(--muted); line-height:17px; }
.product-brand span { font-size:10px; }
.product-copy h3 { font-size:14px; font-weight:500; line-height:22px; margin-top:4px; min-height:44px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.product-price { display:flex; align-items:baseline; gap:8px; font-size:14px; line-height:22px; margin-top:6px; }
.product-price del { color:#818781; font-size:12px; }
.product-card a:hover h3 { color:var(--green); text-decoration:underline; }
#load-status { padding:0; }
#load-status:not(:empty) { padding:16px 0; }
#load-more { width:240px; height:46px; margin-top:32px; font-size:13px; }
.pagination-footer { order:-1; position:sticky; top:var(--site-nav-height,69px); z-index:30; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px 24px; margin:0 0 28px; padding:14px 0; background:#fff; border-block:1px solid var(--line); }
.pagination-footer .pager-caption { order:-1; margin:0; font-size:12px; color:var(--muted); }
.list-heading { order:-2; display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px; }
.list-heading h2 { font-size:23px; font-weight:500; }
.list-heading>span { font-size:12px; color:var(--muted); }
.article-row { display:grid; grid-template-columns:148px minmax(0,1fr); gap:28px; padding:24px 0; border-bottom:1px solid var(--line); min-height:138px; }
.article-row:first-child { padding-top:0; min-height:114px; }
.article-row>img { width:148px; height:90px; object-fit:cover; border-radius:4px; }
.article-meta { display:flex; gap:16px; font-size:11px; color:var(--muted); line-height:18px; }
.article-row h3 { font-size:19px; line-height:28px; margin:5px 0 8px; }
.article-row p { color:#5f6d66; font-size:13px; line-height:23px; max-width:920px; }
.review-row { display:flex; gap:20px; padding:26px 0; border-bottom:1px solid var(--line); min-height:120px; }
.review-row:first-child { padding-top:0; min-height:94px; }
.review-row>img { width:48px; height:48px; object-fit:cover; border-radius:50%; flex-shrink:0; }
.review-body { min-width:0; flex:1; }
.review-body header { display:flex; align-items:baseline; gap:16px; line-height:24px; font-size:14px; }
.review-body time { color:var(--muted); font-size:11px; }
.review-rating { margin-left:auto; color:#957136; white-space:nowrap; font-size:12px; }
.review-body p { font-size:14px; line-height:25px; color:#5f6d66; margin-top:10px; max-width:1000px; }
.list-table-scroll { overflow-x:auto; }
.music-table,.company-table { width:100%; table-layout:fixed; }
.music-table th,.company-table th { font-size:11px; text-align:left; font-weight:500; color:var(--muted); border-bottom:1px solid var(--line); height:40px; text-transform:uppercase; letter-spacing:.5px; }
.music-table th:first-child { width:7%; }.music-table th:nth-child(2) { width:37%; }.music-table th:nth-child(3) { width:28%; }.music-table th:nth-child(4),.music-table th:nth-child(5) { width:14%; text-align:right; }
.music-table td { height:70px; border-bottom:1px solid #edf1ed; font-size:14px; padding:12px 0; }
.music-table td:nth-child(n+4) { text-align:right; }
.music-rank { color:var(--muted); }
.track-cell { display:flex; gap:16px; align-items:center; }
.track-cell img { width:44px; height:44px; object-fit:cover; border-radius:3px; }
.track-cell strong,.track-cell span { display:block; font-size:13px; line-height:21px; }
.track-cell strong { font-weight:500; }.track-cell span { font-size:12px; color:var(--muted); }
.company-table th:first-child { width:30%; }.company-table th:nth-child(2) { width:20%; }
.company-table td { height:110px; border-bottom:1px solid var(--line); padding:24px 24px 24px 0; font-size:14px; line-height:24px; }
.makers-table th:first-child { width:25%; }.makers-table th:nth-child(2) { width:35%; }
.makers-table td { height:92px; }.makers-table strong { font-weight:600; }
.company-identity { display:flex; align-items:center; gap:20px; }
.company-identity img { width:72px; height:56px; object-fit:contain; }
.company-identity strong { font-size:14px; font-weight:500; }
.company-loading { height:550px; }
.company-loading td { text-align:center; }.company-loading img { width:24px; }
@media(min-width:761px) {
 .nav-inner { min-height:68px; }
 .exercise-inner { padding:28px 40px 24px; }
 .exercise-heading h1 { font-size:30px; margin:8px 0; }
 .exercise-description { font-size:13px; line-height:24px; }
 .exercise-footer { margin-top:16px; }
 .practice-note summary { line-height:22px; }
 .exercise-switcher a { padding:10px 14px; }
}
@media(max-width:1100px) and (min-width:761px) {
 .goods-shell,.compact-list { padding-inline:28px; }
 #goods { grid-template-columns:repeat(4,minmax(0,1fr)); }
 .product-brand span { display:none; }
}
@media(max-width:760px) {
 .goods-shell,.compact-list { padding-inline:20px; margin-top:28px; }
 .goods-flow { --product-photo-height:clamp(160px,44vw,250px); }
 #goods { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 16px; }
 #goods>li>a>div { margin-bottom:0; }
 .product-brand { display:block; }.product-brand span { display:none; }
 .product-copy h3 { font-size:13px; }
 .goods-toolbar { align-items:flex-end; margin-bottom:20px; }
 .goods-toolbar h2,.list-heading h2 { font-size:20px; }
 .goods-toolbar>p { font-size:11px; }
 .pagination-footer { top:var(--site-nav-height,65px); justify-content:center; gap:10px; padding:12px 0; margin-bottom:24px; }
 .pagination-footer .pager-caption { width:100%; text-align:center; font-size:11px; }
 #pagination-app { overflow-x:visible; }
 .article-row { grid-template-columns:84px minmax(0,1fr); gap:16px; padding:22px 0; }
 .article-row>img { width:84px; height:72px; }
 .article-meta { flex-wrap:wrap; gap:0 10px; font-size:10px; }
 .article-row h3 { font-size:17px; line-height:25px; margin-block:5px 8px; }
 .article-row p { font-size:12px; line-height:21px; }
 .review-body header { flex-wrap:wrap; gap:0 10px; }.review-rating { margin-left:0; }
 .review-row { gap:14px; }
 .review-body p { font-size:13px; line-height:23px; }
 .music-table { min-width:640px; }.company-table { min-width:700px; }
 .list-heading { gap:12px; margin-bottom:20px; }
 .list-heading>span { font-size:11px; }
}

@media(max-width:1100px) { .catalog-page { padding-inline:28px; } }
@media(max-width:760px) {
 .catalog-page { padding-inline:20px; }
 .catalog-hero { padding:40px 0 24px; align-items:flex-start; }
 .catalog-hero h1 { font-size:32px; letter-spacing:-1px; }
 .catalog-hero p { font-size:13px; margin-top:12px; }
 .catalog-total { display:none; }
 .catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
 .catalog-group { padding-top:24px; margin-bottom:20px; }
 .catalog-group-heading { margin-bottom:18px; }
 .catalog-group-heading h2 { font-size:19px; }
 .feature-copy { padding:18px 16px; }
 .feature-copy h3 { font-size:14px; }
}
@media(max-width:500px) { .catalog-grid { grid-template-columns:1fr; } .feature-preview { aspect-ratio:2.6/1; } }

/* Match the public Listly web header: language is the rightmost control. */
.language-picker { flex:none; margin:0; }
.language-picker select { max-width:132px; min-height:40px; padding:8px 27px 8px 10px; border:1px solid var(--line); border-radius:8px; background-color:#fff; color:var(--ink); font:inherit; font-size:12px; cursor:pointer; }
.language-picker select:focus-visible { outline:3px solid #10a678; outline-offset:3px; }
.catalog-start { padding:24px; margin-inline:-24px; border:1px solid #b7d7c6; border-radius:20px; background:linear-gradient(125deg,#eaf6ee,#f4faf6); }
.catalog-start .catalog-group-heading h2 { color:#126044; font-weight:650; }
.catalog-start .feature-card { background:#fff; border-color:#c5dcd0; box-shadow:0 3px 10px #194c3210; }
.catalog-start .feature-copy h2 { color:#126044; }
.catalog-start .feature-card:hover { border-color:#21865d; box-shadow:0 6px 18px #194c3220; }
@media(max-width:900px) { .nav-inner { gap:14px; padding-inline:24px; }.nav-location { min-width:0; }.nav-location strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } }
@media(max-width:760px) { .catalog-start { margin-inline:0; padding:18px; }.nav-inner { gap:10px; padding-inline:16px; }.nav-location { display:none; }.example-menu summary { padding:9px; font-size:12px; }.language-picker select { max-width:105px; padding-left:7px; }.brand strong { font-size:20px; }.brand strong span { font-size:11px; } }
@media(max-width:430px) { .nav-inner { flex-wrap:wrap; padding-block:12px; gap:10px; }.brand { flex:1; }.example-menu { order:2; flex-basis:100%; margin-left:0; }.example-menu summary { justify-content:center; }.language-picker { margin-left:auto; }.catalog-start { padding:14px; } }
