/* Shared component contract. Keep layout-specific rules in the page styles. */
:root{--ui-ink:#355c7d;--ui-muted:#637184;--ui-accent:#f97316;--ui-accent-hover:#ea580c;--ui-accent-active:#c2410c;--ui-soft:#fff7ed;--ui-line:#e5e0e9;--ui-disabled:#f1f3f5;--ui-disabled-ink:#8993a0;--ui-space-1:8px;--ui-space-2:12px;--ui-space-3:16px;--ui-space-4:24px;--ui-space-5:32px}
html body :is(button,a,input,textarea,select){box-sizing:border-box}
html body button{font-family:inherit;line-height:1.5;color:var(--ui-ink);transition:background-color .16s,color .16s,border-color .16s;transform:none!important}
html body button:not(:disabled):hover{background-color:var(--ui-soft);color:var(--ui-ink)}
html body button:not(:disabled):active{background-color:#ffedd5;color:var(--ui-ink)}
/* Filled action buttons: same default, hover, press, and disabled states. */
html body :is(.home-search .primary,.searchbar .primary,.camp-summary .primary,.primary,.member-primary,.feedback-launch,.feedback-send,.feedback-submit,.dash-controls button,button[type=submit]){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:48px;padding:12px 22px;border-radius:999px;background:#f97316!important;border-color:#f97316!important;color:#fff!important;font-size:14px;font-weight:500!important;line-height:1.5!important;box-shadow:none!important;text-decoration:none;vertical-align:middle}
html body :is(.home-search .primary,.searchbar .primary,.camp-summary .primary,.primary,.member-primary,.feedback-launch,.feedback-send,.feedback-submit,.dash-controls button,button[type=submit]):not(:disabled):hover{background:#ea580c!important;border-color:#ea580c!important;color:#fff!important;box-shadow:none!important}
html body :is(.home-search .primary,.searchbar .primary,.camp-summary .primary,.primary,.member-primary,.feedback-launch,.feedback-send,.feedback-submit,.dash-controls button,button[type=submit]):not(:disabled):active{background:#c2410c!important;border-color:#c2410c!important;color:#fff!important;box-shadow:none!important}
/* Secondary controls and chips use the body ink. */
html body :is(.filter-toggle,.member-login,.korea-region-shortcuts button,.community-tabs button,.category,.home-modes button,.search-mode-switch button){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;color:var(--ui-ink)!important;background:#fff;border-color:var(--ui-line)!important;font-size:14px;font-weight:500;line-height:1.5!important;box-shadow:none!important}
html body :is(.filter-toggle,.member-login,.korea-region-shortcuts button,.community-tabs button,.category,.home-modes button,.search-mode-switch button):not(:disabled):hover{background:var(--ui-soft)!important;color:var(--ui-ink)!important;border-color:var(--ui-line)!important;box-shadow:none!important}
html body :is(.filter-toggle,.member-login,.korea-region-shortcuts button,.community-tabs button,.category,.home-modes button,.search-mode-switch button):not(:disabled):active{background:#ffedd5!important;color:var(--ui-ink)!important}
html body :is(.home-modes,.search-mode-switch,.community-tabs) button[aria-pressed=true],html body .category.active,html body .filter-toggle[aria-expanded=true]{background:#f97316!important;color:#fff!important;border-color:#f97316!important;box-shadow:none!important}
html body :is(.home-modes,.search-mode-switch,.community-tabs) button[aria-pressed=true]:hover,html body .category.active:hover{background:#ea580c!important;color:#fff!important}
html body :is(.home-modes,.search-mode-switch,.community-tabs) button[aria-pressed=true]:active{background:#c2410c!important;color:#fff!important}
/* Popup rows share selection and interaction states across language and filters. */
html body :is(.destination-option,.home-select-option,.site-language-menu button){display:flex!important;align-items:center!important;justify-content:space-between;gap:12px!important;padding:12px!important;min-height:44px!important;background:#fff!important;color:var(--ui-ink)!important;border:0!important;border-radius:10px!important;font-size:14px!important;font-weight:400!important;line-height:1.5!important;box-shadow:none!important}
html body :is(.destination-option,.home-select-option,.site-language-menu button):hover{background:var(--ui-soft)!important;color:var(--ui-ink)!important}
html body .destination-option[aria-pressed=true],html body :is(.home-select-option,.site-language-menu button)[aria-selected=true]{background:#fff7ed!important;color:#c2410c!important;box-shadow:none!important}
html body :is(.destination-option,.home-select-option,.site-language-menu button):active{background:#ffedd5!important;color:#c2410c!important}
html body :is(.destination-option,.home-select-option,.site-language-menu button):is([aria-pressed=true],[aria-selected=true])::after{content:'✓';font-size:14px;flex:none;margin-left:auto}
html body .destination-option:is([aria-pressed=true],[aria-selected=true])::after{content:none}
/* Text actions don't acquire filled backgrounds. */
html body :is(.home-section-heading button,.home-section-heading a,.community-action,.member-switch button,.community-actions button,.catalog-tools a){color:var(--ui-ink)!important;background:transparent!important;border:0;text-underline-offset:4px;line-height:1.5}
html body :is(.home-section-heading button,.home-section-heading a,.community-action,.member-switch button,.community-actions button,.catalog-tools a):hover{color:#c2410c!important;background:transparent!important;text-decoration:underline}
html body :is(.home-section-heading button,.community-action,.member-switch button,.community-actions button):active{color:#9a3412!important}
/* Icon-plus-label controls align through flex; SVGs never shrink. */
html body :is(.hero-picker-toggle,.home-select-toggle,.destination-control,.filter-toggle,.destination-actions button,.community-actions button,.feedback-launch){align-items:center!important;gap:8px!important;line-height:1.5!important}
html body :is(button,a)>svg{display:block;flex-shrink:0;vertical-align:middle}
html body :is(.hero-picker-toggle,.home-select-toggle,.filter-toggle)>svg{width:16px;height:16px}
html body :is(.member-close,.site-about-close,.feedback-close,.destination-menu-heading>button){display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border-radius:50%;line-height:1;background:transparent!important;color:var(--ui-ink)!important}
html body :is(.member-close,.site-about-close,.feedback-close,.destination-menu-heading>button):hover{background:var(--ui-soft)!important}
/* Header states retain the white background and current-page underline. */
html body>.site-header .site-navigation>[data-site-menu]{background:transparent!important;color:var(--ui-ink)!important;line-height:1.5!important}
html body>.site-header .site-navigation>[data-site-menu]:hover{color:#c2410c!important;text-decoration:underline;text-underline-offset:8px}
html body>.site-header .site-navigation>[data-site-menu][aria-current=page]{color:#f97316!important;text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:8px!important}
html body>.site-header .site-language-toggle{background:transparent!important;color:var(--ui-ink)!important;display:inline-flex;align-items:center;justify-content:center;line-height:1.5!important}
html body>.site-header .site-language-toggle:hover{color:#c2410c!important}
html body>.site-header .custom-language>.language-flag{z-index:2;opacity:1!important;visibility:visible!important}
/* Unified paragraphs, card rhythm, and readable metadata. */
html body :is(.home-card-body,.card-body){gap:0;padding:20px!important}
html body :is(.home-card h3,.card h3){font-weight:500!important;line-height:1.5!important;margin-top:0;margin-bottom:12px}
html body :is(.home-card-meta,.home-card-status,.camp-tags,.metadata-badges,.home-city,.provider-row){line-height:1.6!important}
html body :is(.home-card-bottom,.card-bottom){gap:12px!important;align-items:center!important}
html body :is(.community-heading-detail p,.home-campaign-detail p,.camp-section p,.community-guidelines p,.site-about-dialog p,.member-intro){line-height:1.8!important;overflow-wrap:anywhere}
html body :is(.home-section-heading,.destination-heading){align-items:center;gap:24px;margin-bottom:24px}
html body :is(.home-section-heading h2,.destination-heading h2){line-height:1.4!important;margin-bottom:8px}
html body :is(.community-filter,.community-actions,.camp-review-links){gap:12px}
html body :is(.community-compose,.member-dialog) label{gap:8px;margin-block:16px}
html body :is(.home-select-menu,.destination-menu,.site-language-menu){padding:12px!important;border-radius:19px!important;background:#fff!important;border:1px solid var(--ui-line)!important}
/* All disabled controls, including filled buttons. */
html body button:disabled,html body :is(.home-search .primary,.searchbar .primary,.camp-summary .primary,.primary,.member-primary,.feedback-launch,button[type=submit]):disabled{background:var(--ui-disabled)!important;color:var(--ui-disabled-ink)!important;border-color:var(--ui-line)!important;box-shadow:none!important;transform:none!important;cursor:not-allowed;opacity:1}
/* User preference: no focus outlines, glow, or movement. */
html body :is(a,button,input,textarea,select):is(:focus,:focus-visible){outline:none!important;box-shadow:none!important}
@media(max-width:600px){html body :is(.home-card-body,.card-body){padding:16px!important}html body :is(.home-section-heading,.destination-heading){gap:12px}html body :is(.primary,.member-primary,button[type=submit]){padding:12px 18px}html body>.site-header .site-login{min-height:36px!important}html body>.site-header .site-language-toggle{min-height:36px!important}}
@media(prefers-reduced-motion:reduce){html body :is(a,button,input,textarea,select){transition:none!important}}
/* Widget IDs must follow the same action contract as page buttons. */
html body #tomelumi-feedback :is(.feedback-launch,.feedback-send,.feedback-submit){background:#f97316!important;color:#fff!important;box-shadow:none!important;transform:none!important}
html body #tomelumi-feedback :is(.feedback-launch,.feedback-send,.feedback-submit):not(:disabled):hover{background:#ea580c!important;color:#fff!important;box-shadow:none!important;transform:none!important}
html body #tomelumi-feedback :is(.feedback-launch,.feedback-send,.feedback-submit):not(:disabled):active{background:#c2410c!important;color:#fff!important;box-shadow:none!important}
html body #tomelumi-feedback :is(.feedback-launch,.feedback-send,.feedback-submit):disabled{background:#f1f3f5!important;color:#8993a0!important;box-shadow:none!important}
html body #tomelumi-feedback :is(button,a,input,select,textarea):is(:focus,:focus-visible){outline:none!important;box-shadow:none!important}
html body .korea-region-shortcuts button>span{color:#f97316!important}

/* Every catalog card opens details through the same compact secondary action. */
html body :is(.card,.home-card) .view-camp{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto;gap:0!important;min-height:40px!important;padding:9px 16px!important;border:1px solid #e5e0e9!important;border-radius:999px!important;background:#fff!important;color:#355c7d!important;font-size:14px!important;font-weight:500!important;line-height:20px!important;white-space:nowrap;box-shadow:none!important}
html body :is(.card,.home-card):hover .view-camp{background:#fff7ed!important;color:#355c7d!important;border-color:#e5e0e9!important;box-shadow:none!important}
html body :is(.card,.home-card) .card-main:active .view-camp{background:#ffedd5!important;color:#355c7d!important}
/* One inset chevron for native selects, independent of browser defaults. */
html body select:not([hidden]):not(#language){appearance:none!important;-webkit-appearance:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23355c7d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-size:16px 16px!important;background-position:right 14px center!important;padding-right:40px!important;min-height:44px;line-height:1.5!important;text-overflow:ellipsis}
html body :is(.hero-picker-toggle,.home-select-toggle){display:flex!important;align-items:center!important;justify-content:space-between!important;min-width:0;position:relative;padding-right:28px!important}
html body .hero-picker-toggle>svg{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:16px;height:16px;margin:0!important}
html body :is(.home-select-toggle,.mx-picker .hero-picker-toggle)::after{position:absolute;right:8px;top:50%;transform:translateY(-65%) rotate(45deg);margin:0!important;width:7px;height:7px}
html body :is(.hero-picker-toggle,.home-select-toggle)>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Collection links share the same typography, spacing, and interaction. */
html body :is(.home-section-heading [data-show-all],.home-view-all,.destination-actions [data-browse-collection]){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:0!important;min-height:36px!important;padding:6px 10px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#355c7d!important;font-size:14px!important;font-weight:500!important;line-height:24px!important;text-decoration:none!important;white-space:nowrap;box-shadow:none!important}
html body :is(.home-section-heading [data-show-all],.home-view-all,.destination-actions [data-browse-collection]):hover{background:#fff7ed!important;color:#c2410c!important;text-decoration:none!important}
html body :is(.home-section-heading [data-show-all],.home-view-all,.destination-actions [data-browse-collection]):active{background:#ffedd5!important;color:#9a3412!important}
/* Keep preview close to AI mode, distinguished by a quiet gray badge. */
html body :is(#home-ai-mode,#searchModeAi,#korea-modeAi){gap:5px!important}
html body :is(#home-ai-mode,#searchModeAi,#korea-modeAi) small{display:inline-flex!important;align-items:center;justify-content:center;min-height:22px;margin:0!important;padding:2px 7px!important;border-radius:999px!important;background:#f1f3f5!important;color:#637184!important;font-size:11px!important;font-weight:500!important;line-height:18px!important}
/* Compact detail action, with stronger price hierarchy across all cards. */
html body :is(.card,.home-card) .view-camp{min-height:32px!important;height:32px!important;padding:5px 11px!important;font-size:12px!important;line-height:20px!important;font-weight:500!important}
html body :is(.card .card-bottom .price,.card .card-bottom .price-unconfirmed,.home-card-bottom>span:first-child){font-size:16px!important;font-weight:500!important;line-height:1.5!important;color:#355c7d!important;min-width:0;overflow-wrap:anywhere}
html body :is(.home-card-bottom,.card-bottom){align-items:center!important;gap:12px!important}

/* Entire cards remain links; their footer only presents the price. */
html body :is(.home-card-bottom,.card-bottom){justify-content:flex-start!important}
html body :is(.home-card,.card) .card-main{cursor:pointer}

/* The same image zoom and lift on every linked program card. */
html body :is(.card,.home-card):has(>.card-main){transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;transform:translateY(0);will-change:auto}
html body :is(.card .art,.home-card-art){overflow:hidden}
html body :is(.card .art,.home-card-art)>:is(img,svg){transition:transform .25s ease;transform:scale(1);transform-origin:center}
@media(hover:hover){
 html body :is(.card,.home-card):has(>.card-main):hover{transform:translateY(-3px)!important;box-shadow:0 12px 28px #355c7d14!important;border-color:#e5e0e9!important}
 html body :is(.card,.home-card):hover :is(.art,.home-card-art)>:is(img,svg){transform:scale(1.035)!important}
}
html body .destination-row{padding-top:6px}
@media(prefers-reduced-motion:reduce){
 html body :is(.card,.home-card):has(>.card-main),html body :is(.card,.home-card):has(>.card-main):hover{transition:none!important;transform:none!important}
 html body :is(.card,.home-card) :is(.art,.home-card-art)>:is(img,svg),html body :is(.card,.home-card):hover :is(.art,.home-card-art)>:is(img,svg){transition:none!important;transform:none!important}
}

/* US results share the Korea/Mexico count, controls, notes and regional chips. */
html body.us-page .demo-note{max-width:1200px;margin:16px auto 0;padding:0;border:0;background:transparent!important;box-shadow:none;color:#637184;font-size:12px;line-height:1.8;display:block}
html body.us-page .demo-note .pill{display:none!important}html body.us-page .demo-note p{margin:0;line-height:1.8}
html body.us-page .workspace{max-width:none;margin:0 var(--site-page-gutter,5%);padding-top:25px}
html body.us-page .result-header{border:0;margin:25px 0 18px;padding:0;display:flex;align-items:center;justify-content:space-between;gap:16px}
html body.us-page .result-header #count{display:flex;align-items:center;gap:5px;font-size:18px;font-weight:400!important;line-height:1.5;color:#355c7d}
html body.us-page .result-count{background:transparent!important;color:#355c7d!important;padding:0!important;border:0!important;border-radius:0!important;font:inherit!important;min-width:0}
html body.us-page .result-controls{display:flex;align-items:center;gap:10px;margin-left:auto}
html body.us-page .result-controls .sort{display:flex;align-items:center;gap:10px;padding:9px 13px;border:1px solid #e5e0e9;border-radius:13px;min-height:44px;background:#fff}
html body.us-page .result-controls .sort>span{font-size:11px;color:#637184}html body.us-page .result-controls select{font-size:13px;border:0;background-color:transparent;min-width:85px;min-height:24px}
html body.us-page .result-controls .filter-toggle{border:1px solid #e5e0e9;border-radius:13px;min-height:44px;padding:10px 16px;font-size:13px}
html body.us-page .collection-reading-note{font-size:12px;line-height:1.8;color:#637184;margin:0 0 24px}
html body.us-page .destination-heading h2{font-size:24px!important;font-weight:400!important;line-height:1.4}
html body.us-page .destination-heading .collection-count{font-size:14px!important;color:#f97316!important;margin-left:8px}
html body.us-page .destination-section{margin-bottom:32px}
html body.us-page .us-region-shortcuts{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 16px}html body.us-page .us-region-shortcuts button{padding:12px 18px;border:1px solid #e5e0e9;border-radius:999px;background:white;color:#355c7d!important;font-size:14px}html body.us-page .us-region-shortcuts span{margin-left:6px;color:#f97316;font-size:14px}
@media(max-width:720px){html body.us-page .demo-note{margin:16px 5% 0}html body.us-page .result-header{flex-wrap:wrap}html body.us-page .result-header #count{font-size:15px}html body.us-page .destination-heading h2{font-size:21px!important}}

/* All collection headers share the US category title and numeric badge. */
html body :is(.destination-heading,.korea-region-heading,.home-section-heading){display:flex;align-items:center!important;gap:16px!important;margin:0 0 24px!important}
html body :is(.destination-heading,.korea-region-heading,.home-section-heading) h2{font-family:Inter,'Noto Sans KR',sans-serif!important;font-size:24px!important;font-weight:400!important;line-height:1.4!important;letter-spacing:0!important;color:#355c7d!important;margin:0!important}
html body :is(.destination-heading,.korea-region-heading) .collection-count{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:3px 9px!important;border-radius:999px;background:#fff7ed!important;color:#c2410c!important;font-size:14px!important;font-weight:500!important;line-height:20px;vertical-align:middle;margin-left:8px}
html body .korea-region-heading{gap:0!important}html body .korea-region-section{margin:12px 0 32px!important}
/* One custom sort menu; no visible prefix or operating-system dropdown. */
html body label.shared-sort,html body.us-page .result-controls label.shared-sort{display:inline-flex!important;align-items:center!important;position:relative;padding:0!important;gap:0!important;min-height:44px!important;border:1px solid #e5e0e9!important;border-radius:13px!important;background:#fff!important;margin:0!important;overflow:visible}
html body label.shared-sort>span,html body label.shared-sort>select{display:none!important}
html body .shared-sort-toggle{display:inline-flex;align-items:center;justify-content:flex-start;min-width:124px;height:44px;padding:10px 40px 10px 16px!important;border:0;background:transparent!important;color:#355c7d!important;font-size:14px!important;font-weight:400!important;line-height:24px!important;position:relative;text-align:left}
.shared-sort-toggle::after{content:'';position:absolute;right:17px;top:50%;width:7px;height:7px;border-right:1.5px solid;border-bottom:1.5px solid;transform:translateY(-65%) rotate(45deg)}
html body .shared-sort-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:90;min-width:180px;padding:12px;border:1px solid #e5e0e9;border-radius:19px;background:#fff;box-shadow:0 15px 45px #0f172a20}.shared-sort-menu[hidden]{display:none!important}
html body .shared-sort-menu button{display:flex;align-items:center;width:100%;min-height:44px;padding:12px;border:0;border-radius:10px;background:white;color:#355c7d;font-size:14px;font-weight:400;text-align:left;line-height:20px}
html body .shared-sort-menu button:hover,html body .shared-sort-menu button[aria-selected=true]{background:#fff7ed!important;color:#c2410c!important}.shared-sort-menu button[aria-selected=true]::after{content:'✓';margin-left:auto}
html body :is(.result-controls,.korea-result-controls){display:flex;align-items:center!important;gap:10px!important}html body :is(.result-controls,.korea-result-controls) .filter-toggle{height:44px!important;min-height:44px!important;font-size:14px!important;line-height:24px!important}
@media(max-width:650px){html body :is(.destination-heading,.korea-region-heading,.home-section-heading) h2{font-size:21px!important}html body .shared-sort-toggle{min-width:110px}}

/* Center status-label text with equal block padding at every card size. */
html body :is(.enrollment-badge,.registration-status){display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box;min-height:0!important;height:auto!important;padding:.5em .85em!important;line-height:1.35!important;text-align:center;vertical-align:middle}

/* Optical centering: Latin/Korean font ascenders leave more space below the ink. */
html body .enrollment-badge>.status-label-text{display:block;min-width:0;line-height:inherit;transform:translateY(.08em)}
