/* Yeoyu Design Foundation v1 — catalog-only layer.
   Existing hub.css, theme.css, calculator and account styles remain authoritative elsewhere.
   Uses shared typography from theme.css; no decorative media, extra scripts or new layout dependencies. */
:root{
  --yy-ink:#17243e;
  --yy-muted:#52627c;
  --yy-brand:#3157d5;
  --yy-border:#dee6f2;
  --yy-panel:#ffffff;
  --yy-soft:#f4f7ff;
  --yy-shadow:0 8px 24px rgba(25,42,88,.04);
}
#catalog{font-variant-numeric:tabular-nums}
#catalog .service-hero{
  position:relative;isolation:isolate;overflow:hidden;
  display:grid;grid-template-columns:minmax(0,1.13fr) minmax(295px,.87fr);
  gap:clamp(20px,4vw,66px);align-items:center;
  margin:22px 0 18px;padding:clamp(26px,4.5vw,66px);
  border:1px solid #e3e9f2;border-radius:24px;
  background:linear-gradient(125deg,#fff 8%,#f7f9fd 100%);
  box-shadow:none;
}
#catalog .service-hero .hero-copy,#catalog .service-hero .hero-service{position:relative;z-index:1;min-width:0}
#catalog .service-hero .eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  margin:0 0 14px;color:#2c52ae;font-weight:650;letter-spacing:0;
}
#catalog .service-hero h1{
  font-size:clamp(30px,3.25vw,45px);line-height:1.38;
  letter-spacing:-.035em;color:var(--yy-ink);font-weight:750;word-break:keep-all;
  margin-bottom:20px;
}
#catalog .service-hero h1 span{color:var(--yy-brand)}
#catalog .service-hero .lead{
  max-width:560px;color:var(--yy-muted);font-size:clamp(14px,1.2vw,16px);
  line-height:1.75;word-break:keep-all;
}
#catalog .search-wrap{
  position:relative;top:auto;max-width:640px;margin-top:25px;
  min-height:60px;gap:10px;border:1.5px solid #aec0ec;border-radius:17px;
  background:var(--yy-panel);box-shadow:0 4px 14px rgba(33,72,167,.045);
  padding:3px 13px 3px 17px;
}
#catalog .search-wrap>span{color:var(--yy-brand)}
#catalog .search-wrap input{
  min-width:0;min-height:54px;flex:1;font-size:16px;color:var(--yy-ink);
  background:transparent;
}
#catalog .search-wrap:focus-within{
  border-color:#365ed9;outline:3px solid rgba(63,104,217,.22);outline-offset:2px;
}
#catalog .search-wrap .yy-search-key{
  flex:none;border:1px solid #dee6f6;border-radius:8px;background:#f3f6fc;
  color:#596c92;padding:6px 8px;font-size:11px;font-weight:700;line-height:1;
  white-space:nowrap;pointer-events:none;font-family:inherit;
}
#catalog .search-hint{color:var(--yy-muted);font-size:12px;margin-top:12px}
#catalog .hero-service{
  padding:20px 23px;border:1px solid #e3e9f1;border-radius:19px;
  background:#fff;box-shadow:0 3px 14px rgba(24,50,114,.035);
}
#catalog .hero-service-heading{margin-bottom:12px}
#catalog .hero-service-heading>span{font-size:17px;font-weight:800;color:var(--yy-ink)}
#catalog .hero-service-heading small{color:var(--yy-muted)}
#catalog .hero-service>a{
  min-height:65px;grid-template-columns:39px minmax(0,1fr) 18px;
  gap:11px;border-color:#e4eaf5;border-radius:11px;
  padding:10px 5px;transition:background-color .16s;
}
#catalog .hero-service>a:hover,
#catalog .hero-service>a:focus-visible{
  background:#f7f9fc;
}
#catalog .hero-service>a strong{color:var(--yy-ink)}
#catalog .hero-service>a small{color:var(--yy-muted)}
#catalog .hero-service .service-symbol{border-radius:12px}
#catalog .quick-search{margin:0 0 33px;gap:9px}
#catalog .quick-search>span{font-weight:700;color:var(--yy-muted)}
#catalog .quick-search button{
  min-height:44px;padding:8px 15px;border:1px solid #dfe5ee;
  border-radius:100px;background:#fff;color:#385575;font-weight:600;
  transition:background-color .16s,border-color .16s;
}
#catalog .quick-search button:hover{background:#f6f8fc;border-color:#afbfda}
#catalog .category-section{margin:35px 0}
#catalog .section-heading h2,#catalog .browse-bar h2{color:var(--yy-ink);letter-spacing:-.035em}
#catalog .section-heading p{color:var(--yy-muted)}
#catalog .category-grid>button{
  background:var(--yy-panel);border:1px solid var(--yy-border);border-radius:16px;
  box-shadow:none;
  transition:border-color .16s,background-color .16s;
}
#catalog .category-grid>button:hover{border-color:#adc1f1;background:#fbfcff}
#catalog .category-grid>button[aria-pressed=true]{
  background:#f0f4fc;border-color:#6d92e8;box-shadow:inset 0 0 0 1px #c6d5f1;
}
#catalog .browse-bar{margin-top:34px}
#catalog .browse-bar select{min-height:44px;border-radius:12px;padding:8px 14px}
#catalog .cards{gap:17px}
#catalog .calc-card{
  overflow:hidden;min-width:0;border:1px solid var(--yy-border);border-radius:19px;
  background:var(--yy-panel);box-shadow:none;
  transition:border-color .18s,background-color .18s;
}
#catalog .calc-card:hover,
#catalog .calc-card:focus-within{
  border-color:#b0c5f8;background:#fcfdff;
}
#catalog .calc-card>a{color:var(--yy-ink)}
#catalog .calc-card h3{color:var(--yy-ink);line-height:1.45;letter-spacing:-.03em;word-break:keep-all}
#catalog .calc-card p{color:var(--yy-muted);line-height:1.7}
#catalog .calc-card .tag{color:var(--yy-brand);font-weight:750}
#catalog .calc-card .card-arrow{color:var(--yy-brand)}
#catalog .calc-card .fav{border-radius:12px}
#catalog .empty{border:1px dashed #b8c8e5;border-radius:19px;padding:25px;background:#f8faff}
#catalog :is(a,button,input,select,summary):focus-visible{
  outline:3px solid #5278ed;outline-offset:3px;
}
html[data-theme=dark]{
  --yy-ink:#eff4ff;--yy-muted:#b7c5dd;--yy-brand:#a7c0ff;
  --yy-border:#40506b;--yy-panel:#202d43;--yy-soft:#223351;
  --yy-shadow:0 16px 42px rgba(0,0,0,.25);
}
html[data-theme=dark] #catalog .service-hero{
  border-color:#3b4b62;background:linear-gradient(130deg,#1b2535,#202b3c);
  box-shadow:none;
}
html[data-theme=dark] #catalog .service-hero .eyebrow{color:#b1c8ff}
html[data-theme=dark] #catalog .search-wrap{
  background:#1e2c43;border-color:#7088b7;box-shadow:none;
}
html[data-theme=dark] #catalog .search-wrap input{color:var(--yy-ink);background:transparent}
html[data-theme=dark] #catalog .search-wrap .yy-search-key{
  background:#33445f;border-color:#526989;color:#d9e6ff;
}
html[data-theme=dark] #catalog .hero-service{
  background:#202c3c;border-color:#465873;box-shadow:none;
}
html[data-theme=dark] #catalog .hero-service>a{border-color:#354862}
html[data-theme=dark] #catalog .hero-service>a:is(:hover,:focus-visible){background:#2a3c58}
html[data-theme=dark] #catalog .quick-search button{
  background:#293c5e;border-color:#475d83;color:#dce6ff;
}
html[data-theme=dark] #catalog .quick-search button:hover{background:#344c72}
html[data-theme=dark] #catalog .category-grid>button,
html[data-theme=dark] #catalog .calc-card{
  background:var(--yy-panel);border-color:var(--yy-border);
}
html[data-theme=dark] #catalog .category-grid>button[aria-pressed=true]{
  background:#32476e;border-color:#95b2f4;box-shadow:inset 0 0 0 1px #688bcf;
}
html[data-theme=dark] #catalog .empty{background:#1b2940;border-color:#586e92}
html[data-theme=dark] #catalog :is(a,button,input,select,summary):focus-visible{
  outline-color:#afc5ff;
}
@media(max-width:900px){
  #catalog .service-hero{grid-template-columns:1fr;gap:24px;padding:35px;border-radius:24px}
  #catalog .hero-service{max-width:none}
}
@media(max-width:600px){
  #catalog .service-hero{margin:12px 0 20px;padding:23px 18px;gap:24px;border-radius:20px}
  #catalog .service-hero h1{font-size:clamp(28px,8vw,36px);line-height:1.3}
  #catalog .service-hero .lead{font-size:14px}
  #catalog .search-wrap{margin-top:18px;min-height:54px;padding:3px 10px 3px 12px}
  #catalog .search-wrap input{min-height:48px;font-size:16px}
  #catalog .search-wrap .yy-search-key{display:none}
  #catalog .hero-service{padding:16px 17px;border-radius:17px}
  #catalog .hero-service>a{min-height:60px}
  #catalog .quick-search{gap:7px}
  #catalog .quick-search button{padding:8px 13px}
  #catalog .cards{gap:12px}
  #catalog .calc-card:hover,#catalog .calc-card:focus-within{transform:none}
}
@media(max-width:360px){
  #catalog .service-hero{padding:20px 13px}
  #catalog .service-hero h1{font-size:27px}
  #catalog .search-wrap{gap:6px}
  #catalog .hero-service{padding:12px 13px}
  #catalog .hero-service>a{grid-template-columns:34px minmax(0,1fr) 14px;gap:8px}
  #catalog .quick-search button{font-size:12px}
}
@media(max-width:240px){
  #catalog .service-hero{padding:14px 10px}
  #catalog .hero-service>a{grid-template-columns:1fr}
  #catalog .hero-service>a>span:last-child{display:none}
}
@media(prefers-reduced-motion:reduce){
  #catalog :is(.hero-service>a,.quick-search button,.category-grid>button,.calc-card){
    transition:none!important;transform:none!important;
  }
}
@media print{
  #catalog .service-hero,#catalog .hero-service,#catalog .calc-card{background:#fff!important;box-shadow:none!important;color:#000!important}
  #catalog .search-wrap .yy-search-key{display:none}
}

/* Korean, English and Japanese text use different line breaking rules. */
html[lang=ja] #catalog .service-hero :is(h1,.lead),
html[lang=ja] #catalog .calc-card h3{
  word-break:normal;line-break:strict;overflow-wrap:anywhere;
}
html[lang=en] #catalog .service-hero h1,
html[lang=en] #catalog .calc-card h3{overflow-wrap:anywhere}
html[data-theme=dark] #catalog .calc-card:hover,
html[data-theme=dark] #catalog .calc-card:focus-within{
  background:#243349;
}
html[data-theme=dark] #catalog .category-grid>button:hover{
  background:#25354b;
}

/* Searching is a focused task, not another promotional hero. */
#catalog.searching .service-hero{
  margin:12px 0 8px;padding:8px 0 12px;
  border:0;border-radius:0;background:transparent;box-shadow:none;
}
#catalog.searching .search-wrap{
  max-width:760px;margin:0;
}


/*
 * Yeoyu / The decision atelier — editorial signature v2.
 * Original CSS geometry, no third-party art, tracking, data or scripts.
 * The rings recall measuring and reconsidering; the dark ledger lists real tools.
 * Scoped to #catalog so calculator, quote, auth and production helpers stay intact.
 */
#catalog .service-hero{
  grid-template-columns:minmax(0,1.1fr) minmax(305px,.9fr);
  gap:clamp(26px,4vw,56px);
  padding:clamp(30px,4.5vw,62px);
  border:1px solid #d5dfef;
  border-radius:30px;
  background:
    radial-gradient(ellipse at 4% 2%,rgba(124,160,235,.19),transparent 48%),
    linear-gradient(135deg,#fbfcff 0%,#f0f4fb 100%);
  box-shadow:0 18px 54px rgba(33,57,100,.09),inset 0 1px 0 rgba(255,255,255,.84);
}
#catalog .service-hero::before{
  content:"";position:absolute;inset:auto auto auto -185px;top:-225px;
  width:555px;aspect-ratio:1;border-radius:50%;
  background:repeating-radial-gradient(circle,transparent 0 37px,rgba(47,91,164,.16) 38px 39px,transparent 40px 62px);
  opacity:.57;pointer-events:none;
}
#catalog .service-hero::after{
  content:"";position:absolute;left:clamp(30px,4.5vw,62px);bottom:0;
  width:min(290px,47%);height:15px;pointer-events:none;
  background:repeating-linear-gradient(90deg,rgba(44,90,167,.35) 0 1px,transparent 1px 13px);
  -webkit-mask-image:linear-gradient(90deg,#000,transparent);
  mask-image:linear-gradient(90deg,#000,transparent);
  opacity:.55;
}
#catalog .service-hero .hero-copy{position:relative;z-index:1;align-self:center}
#catalog .service-hero .eyebrow{
  gap:12px;align-items:center;
  color:#31569a;font-size:13px;font-weight:720;letter-spacing:.018em;
  margin-bottom:25px;
}
#catalog .service-hero .eyebrow::before{
  content:"";width:8px;height:8px;flex:none;border-radius:50%;
  background:#3e67c5;box-shadow:0 0 0 5px rgba(61,106,206,.12);
}
#catalog .service-hero h1{
  font-size:clamp(37px,4.1vw,56px);
  line-height:1.24;letter-spacing:-.056em;font-weight:800;
  color:#1b304f;margin-bottom:23px;
  text-wrap:balance;
}
#catalog .service-hero h1 span{
  color:#2855b1;
  background:linear-gradient(transparent 81%,rgba(125,165,242,.24) 81% 95%,transparent 95%);
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
}
#catalog .service-hero .lead{
  font-size:clamp(14px,1.19vw,16px);line-height:1.86;
  color:#536681;max-width:540px;
}
#catalog .service-hero .search-wrap{
  margin-top:31px;max-width:640px;
  border:1.5px solid #9eb7e8;border-radius:18px;
  background:#fff;box-shadow:0 13px 30px rgba(41,79,144,.105),inset 0 1px 0 #fff;
  transition:border-color .2s ease,box-shadow .2s ease;
}
#catalog .service-hero .search-wrap:focus-within{
  border-color:#3e68cb;
  box-shadow:0 14px 32px rgba(43,86,174,.15),0 0 0 4px rgba(89,133,215,.11);
}
#catalog .service-hero .search-wrap input{font-weight:520}
#catalog .service-hero .search-hint{margin-top:15px;color:#5b6e89;letter-spacing:.005em}
#catalog .hero-service{
  --yy-ledger-rule:rgba(183,204,237,.17);
  position:relative;isolation:isolate;overflow:hidden;
  border:1px solid #304e78;border-radius:24px;
  background:
    radial-gradient(circle at 115% -15%,rgba(91,142,229,.28),transparent 53%),
    linear-gradient(150deg,#1c3a67 0%,#152a49 80%);
  box-shadow:0 20px 40px rgba(15,40,77,.19),inset 0 1px 0 rgba(255,255,255,.14);
  padding:clamp(21px,2.25vw,30px);
  color:#eef4ff;
}
#catalog .hero-service::before{
  content:"";position:absolute;z-index:0;top:-126px;right:-116px;
  width:380px;aspect-ratio:1;pointer-events:none;
  border-radius:50%;
  background:repeating-radial-gradient(circle,transparent 0 36px,rgba(188,212,248,.17) 37px 38px,transparent 39px 57px);
  opacity:.56;
}
#catalog .hero-service::after{
  content:"";position:absolute;z-index:0;left:22px;top:0;
  width:70px;height:3px;background:#d6bf8d;opacity:.92;
}
#catalog .hero-service-heading{position:relative;z-index:1;margin:0 0 20px;gap:5px}
#catalog .hero-service-heading>span{font-size:18px;letter-spacing:-.03em;font-weight:740;color:#fcfdff}
#catalog .hero-service-heading small{font-size:12px;color:#c0d2ec;line-height:1.65}
#catalog .hero-service>a{
  position:relative;z-index:1;min-height:68px;
  grid-template-columns:42px minmax(0,1fr) 20px;gap:12px;
  padding:10px 7px;border-color:var(--yy-ledger-rule);
  border-radius:10px;color:#e8f0ff;
  transition:background-color .2s ease,transform .2s cubic-bezier(.2,.8,.2,1);
}
#catalog .hero-service>a:is(:hover,:focus-visible){
  background:rgba(196,219,255,.11);transform:translateX(3px);
}
#catalog .hero-service>a:focus-visible{outline:3px solid #edd8ab;outline-offset:1px}
#catalog .hero-service>a strong{color:#f4f8ff;font-weight:680;font-size:14px;line-height:1.5}
#catalog .hero-service>a:is(:hover,:focus-visible) strong{color:#fff}
#catalog .hero-service>a small{color:#becfe8;line-height:1.55;font-size:12px}
#catalog .hero-service .service-symbol{
  width:39px;height:39px;border-radius:12px;
  background:rgba(205,225,255,.11);
  border:1px solid rgba(205,225,255,.19);
  color:#dce9ff;font-weight:740;box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
#catalog .hero-service>a>span:last-child{
  color:#c6dcfb;transition:transform .2s ease;
}
#catalog .hero-service>a:is(:hover,:focus-visible)>span:last-child{transform:translateX(3px)}
#catalog .quick-search{margin:3px 0 41px;padding:0 0 23px;border-bottom:1px solid #e0e8f4}
#catalog .quick-search>span{letter-spacing:.015em}
#catalog .quick-search button{
  border-color:#d6e0f0;background:#f8faff;
  color:#365985;font-weight:640;
  transition:border-color .2s ease,background-color .2s ease,transform .2s ease;
}
#catalog .quick-search button:is(:hover,:focus-visible){
  border-color:#9db7e4;background:#eef4ff;transform:translateY(-1px);
}
#catalog .section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}
#catalog .section-heading h2,#catalog .browse-bar h2{
  font-size:clamp(20px,2vw,26px);letter-spacing:-.04em;font-weight:760;
}
#catalog .section-heading h2::before{
  content:"";display:inline-block;vertical-align:.13em;
  width:5px;height:.83em;border-radius:8px;margin-right:13px;background:#3c64be;
}
#catalog .category-grid{counter-reset:yy-category}
#catalog .category-grid>button{
  position:relative;overflow:hidden;
  min-height:127px;padding:22px;
  background:linear-gradient(155deg,#fff,#f9fbff);
  border:1px solid #dce5f3;border-radius:17px;
  box-shadow:0 6px 20px rgba(29,61,118,.035);
  counter-increment:yy-category;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
#catalog .category-grid>button::before{
  content:counter(yy-category,decimal-leading-zero);
  position:absolute;right:17px;top:15px;
  font-size:10px;letter-spacing:.1em;font-variant-numeric:tabular-nums;
  color:#879ebc;pointer-events:none;
}
#catalog .category-grid>button:is(:hover,:focus-visible){
  transform:translateY(-2px);
  border-color:#a7c0e9;box-shadow:0 11px 26px rgba(32,67,126,.09);
}
#catalog .category-grid>button[aria-pressed=true]{
  background:linear-gradient(150deg,#edf4ff,#f9fbff);
  border-color:#7096d9;box-shadow:inset 0 0 0 1px rgba(94,133,200,.2);
}
#catalog .cards{gap:19px}
#catalog .calc-card{
  box-shadow:0 7px 21px rgba(36,64,105,.045);
  transition:transform .23s cubic-bezier(.2,.8,.2,1),box-shadow .23s ease,border-color .23s ease;
}
#catalog .calc-card::before{
  content:"";position:absolute;top:0;left:20px;right:20px;height:2px;
  background:linear-gradient(90deg,#527bd2,#9cbaee);
  opacity:0;transform:scaleX(.6);transform-origin:left center;
  transition:opacity .23s ease,transform .23s ease;
}
#catalog .calc-card:is(:hover,:focus-within){
  transform:translateY(-3px);
  background:#fff;border-color:#a7bfe8;
  box-shadow:0 16px 32px rgba(28,61,112,.10);
}
#catalog .calc-card:is(:hover,:focus-within)::before{opacity:1;transform:scaleX(1)}
#catalog .calc-card .tag{letter-spacing:.025em}

/* Night palette: a warmer paper and legible deep-blue ledger, not inverted colours. */
html[data-theme=dark] #catalog .service-hero{
  background:
    radial-gradient(ellipse at 1% 0%,rgba(64,111,188,.23),transparent 53%),
    linear-gradient(145deg,#1c2839,#202c3e);
  border-color:#465775;box-shadow:0 18px 48px rgba(0,0,0,.22);
}
html[data-theme=dark] #catalog .service-hero::before{
  background:repeating-radial-gradient(circle,transparent 0 37px,rgba(174,199,235,.15) 38px 39px,transparent 40px 62px);
}
html[data-theme=dark] #catalog .service-hero .eyebrow{color:#b6c9e9}
html[data-theme=dark] #catalog .service-hero h1{color:#f1f6ff}
html[data-theme=dark] #catalog .service-hero h1 span{color:#a9c4fd}
html[data-theme=dark] #catalog .service-hero .lead,
html[data-theme=dark] #catalog .service-hero .search-hint{color:#b9c8dc}
html[data-theme=dark] body #catalog .hero-service{
  border-color:#6681a4;
  background:
    radial-gradient(circle at 115% -15%,rgba(101,144,215,.24),transparent 53%),
    linear-gradient(155deg,#19375e,#10243d 80%);
}
html[data-theme=dark] #catalog .quick-search{border-bottom-color:#455572}
html[data-theme=dark] #catalog .quick-search button{
  color:#dce8ff;background:#2b3c59;border-color:#526a8c;
}
html[data-theme=dark] #catalog .category-grid>button{
  background:linear-gradient(155deg,#26354b,#202d42);
  border-color:#465c79;box-shadow:0 7px 18px rgba(0,0,0,.1);
}
html[data-theme=dark] #catalog .category-grid>button::before{color:#a9b8d1}
html[data-theme=dark] #catalog .category-grid>button[aria-pressed=true]{
  background:linear-gradient(160deg,#314b73,#263a5b);
  border-color:#9db9ed;
}
html[data-theme=dark] body #catalog .calc-card{
  background:#202d42;border-color:#465977;
}
html[data-theme=dark] body #catalog .calc-card:is(:hover,:focus-within){
  background:#293a52;border-color:#8da9d8;box-shadow:0 17px 30px rgba(0,0,0,.17);
}
@media(max-width:1050px){
  #catalog .service-hero{gap:28px;padding:36px;grid-template-columns:minmax(0,1fr) minmax(285px,.91fr)}
  #catalog .service-hero h1{font-size:clamp(34px,3.9vw,46px)}
}
@media(max-width:900px){
  #catalog .service-hero{grid-template-columns:1fr;gap:30px;padding:38px}
  #catalog .hero-service{max-width:none}
  #catalog .service-hero::before{top:-230px;left:-190px}
}
@media(max-width:600px){
  #catalog .service-hero{margin:12px 0 20px;padding:28px 21px;gap:27px;border-radius:23px}
  #catalog .service-hero::before{width:390px;top:-185px;left:-165px;opacity:.4}
  #catalog .service-hero::after{left:21px;width:140px}
  #catalog .service-hero .eyebrow{margin-bottom:17px;font-size:12px}
  #catalog .service-hero h1{font-size:clamp(29px,8.7vw,39px);line-height:1.27;margin-bottom:17px}
  #catalog .service-hero .lead{font-size:14px;line-height:1.78}
  #catalog .service-hero .search-wrap{margin-top:23px;border-radius:15px}
  #catalog .hero-service{padding:23px 19px;border-radius:20px}
  #catalog .hero-service>a{grid-template-columns:minmax(0,1fr) 16px;gap:8px;min-height:61px;padding:11px 5px}
  #catalog .hero-service .service-symbol{display:none}
  #catalog .hero-service>a small{display:block;font-size:11px}
  #catalog .quick-search{margin-bottom:29px;gap:7px}
  #catalog .quick-search button{padding:8px 12px}
  #catalog .section-heading{display:block}
  #catalog .section-heading h2,#catalog .browse-bar h2{font-size:21px}
  #catalog .category-grid>button{min-height:90px;padding:16px}
  #catalog .category-grid>button::before{font-size:9px;top:12px;right:12px}
  #catalog .cards{gap:12px}
  #catalog .calc-card:is(:hover,:focus-within){transform:none}
}
@media(max-width:360px){
  #catalog .service-hero{padding:24px 15px}
  #catalog .service-hero::after{left:15px}
  #catalog .service-hero h1{font-size:29px}
  #catalog .hero-service{padding:20px 14px}
  #catalog .hero-service>a{grid-template-columns:minmax(0,1fr) 14px}
  #catalog .hero-service>a strong{font-size:13px}
}
@media(prefers-reduced-motion:reduce){
  #catalog .service-hero :is(.search-wrap,.hero-service>a,.hero-service>a>span:last-child),
  #catalog :is(.quick-search button,.category-grid>button,.calc-card,.calc-card::before){
    transition:none!important;transform:none!important;
  }
}
@media print{
  #catalog .service-hero::before,#catalog .service-hero::after,
  #catalog .hero-service::before,#catalog .hero-service::after,
  #catalog .calc-card::before{display:none!important}
  #catalog .hero-service{background:#fff!important;border-color:#555!important;box-shadow:none!important}
  #catalog .hero-service :is(strong,small,span){color:#000!important}
}
/*
 * A legacy global CSS rule disables transforms with !important. Restore only
 * three-pixel, direct-manipulation feedback for fine pointers. Never animate
 * coarse touch or users who request reduced motion.
 */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  #catalog .hero-service>a:is(:hover,:focus-visible){transform:translateX(3px)!important}
  #catalog .quick-search button:is(:hover,:focus-visible){transform:translateY(-1px)!important}
}
/* Search mode is a tool, never a decorative marketing overlay. */
#catalog.searching .service-hero{
  display:block;margin:12px 0 8px;padding:8px 0 12px;
  border:0;border-radius:0;background:transparent;box-shadow:none;
}
#catalog.searching .service-hero::before,
#catalog.searching .service-hero::after{display:none}
#catalog.searching .service-hero .search-wrap{max-width:760px;margin:0}


/* Continuity is a useful feature: show a compact shortcut only after real use.
   Previous inputs are never implied to be saved. Fits the editorial paper/blue
   identity without adding heavy artwork, remote services or perpetual motion. */
#catalog .yy-return[hidden],#catalog .yy-return-favorites[hidden]{display:none!important}
#catalog .yy-return{
  display:grid;gap:11px;
  margin:19px 0 0;padding:15px 17px;
  border:1px solid #cbdcf2;border-radius:16px;
  background:linear-gradient(115deg,rgba(239,245,255,.96),rgba(250,252,255,.94));
  box-shadow:inset 3px 0 0 #527fca;
}
#catalog .yy-return-copy{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:13px;row-gap:4px}
#catalog .yy-return-kicker{font-size:12px;font-weight:760;letter-spacing:.015em;color:#365b98}
#catalog .yy-return-note{color:#657790;font-size:11px;line-height:1.6}
#catalog .yy-return-actions{display:flex;align-items:stretch;gap:9px;min-width:0;flex-wrap:wrap}
#catalog .yy-return-link{
  display:flex;justify-content:space-between;align-items:center;gap:15px;
  min-width:0;flex:1 1 185px;min-height:44px;
  padding:10px 13px;border-radius:11px;
  background:#244b8d;color:#fff;text-decoration:none;
  transition:background-color .17s ease,transform .17s ease;
}
#catalog .yy-return-link strong{font-size:13px;line-height:1.5;font-weight:680;overflow-wrap:anywhere}
#catalog .yy-return-link>span:last-child{font-size:16px;flex:none;color:#d7e6ff}
#catalog .yy-return-link:is(:hover,:focus-visible){background:#1a3769;color:#fff}
#catalog .yy-return-favorites{
  min-height:44px;flex:0 0 auto;padding:10px 12px;
  border:1px solid #afc4e5;border-radius:11px;
  background:#f9fbff;color:#365b98;font-size:12px;font-weight:650;
  transition:background-color .17s ease;
}
#catalog .yy-return-favorites:is(:hover,:focus-visible){background:#e8f1ff}
#catalog .yy-return :is(a,button):focus-visible{
  outline:3px solid #4774ce;outline-offset:3px;
}
#catalog.searching .yy-return{display:none}
html[data-theme=dark] body #catalog .yy-return{
  border-color:#536d93;background:linear-gradient(125deg,#263d5d,#24354e);
  box-shadow:inset 3px 0 0 #a2bff1;
}
html[data-theme=dark] #catalog .yy-return-kicker{color:#bfd5fa}
html[data-theme=dark] #catalog .yy-return-note{color:#c0cee4}
html[data-theme=dark] #catalog .yy-return-link{background:#486cb3;color:#f5f8ff}
html[data-theme=dark] #catalog .yy-return-link:is(:hover,:focus-visible){background:#5b82d0}
html[data-theme=dark] #catalog .yy-return-favorites{
  background:#2e4565;border-color:#6d8ab1;color:#e3edff;
}
html[data-theme=dark] #catalog .yy-return-favorites:is(:hover,:focus-visible){background:#38547a}
html[data-theme=dark] #catalog .yy-return :is(a,button):focus-visible{outline-color:#b9d0ff}
@media(max-width:600px){
  #catalog .yy-return{padding:13px 14px;margin-top:16px;border-radius:14px}
  #catalog .yy-return-note{font-size:11px}
  #catalog .yy-return-link{min-width:0;flex:1 1 100%}
  #catalog .yy-return-favorites{flex:1 1 auto}
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  #catalog .yy-return-link:hover{transform:translateY(-1px)}
}
@media(prefers-reduced-motion:reduce){
  #catalog .yy-return :is(a,button){transition:none!important;transform:none!important}
}
@media print{#catalog .yy-return{display:none!important}}

/*
 * Yeoyu / calm ledger — verified contrast and tactile feedback.
 * Root cause: old hub.css first-of-type and .yeoyu-motion-mouse rules applied
 * pale backgrounds underneath the new light text. Reinstate a single coherent
 * navy surface with specificity above those legacy rules in BOTH theme modes.
 * Font uses the existing Pretendard 1.3.9 import in theme.css (no new request).
 */
#catalog{
  font-family:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,
    "Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;
}
html:not([data-theme=dark]) body #catalog .service-hero{
  border-color:#dae2ee;
  background:
    radial-gradient(ellipse at 3% 1%,rgba(119,152,201,.10),transparent 49%),
    linear-gradient(138deg,#fafbfe 0%,#f3f6fa 100%);
  box-shadow:0 14px 40px rgba(30,55,92,.065),inset 0 1px 0 rgba(255,255,255,.86);
}
html:not([data-theme=dark]) body #catalog .service-hero::before{
  opacity:.35;
}
html:not([data-theme=dark]) body #catalog .service-hero h1 span{
  color:#315890;
  background:linear-gradient(transparent 84%,rgba(127,157,208,.17) 84% 95%,transparent 95%);
}
html:not([data-theme=dark]) body #catalog .service-hero .eyebrow{color:#385d91}
html:not([data-theme=dark]) body #catalog .service-hero .eyebrow::before{
  background:#5479b6;
  box-shadow:0 0 0 4px rgba(84,121,182,.09);
}
html:not([data-theme=dark]) body #catalog .service-hero .search-wrap{
  border-color:#b3c4dd;
  box-shadow:0 7px 21px rgba(39,69,108,.065);
}
html:not([data-theme=dark]) body #catalog .service-hero .search-wrap:focus-within{
  border-color:#6288c5;
  box-shadow:0 8px 23px rgba(39,69,108,.09),0 0 0 4px rgba(90,128,183,.10);
}
html body #catalog .hero-service{
  border:1px solid #39516e;
  background:
    radial-gradient(circle at 110% -15%,rgba(125,166,211,.17),transparent 58%),
    linear-gradient(155deg,#213b5a 0%,#1a2e49 90%);
  color:#f3f7ff;
  box-shadow:0 17px 34px rgba(21,42,69,.16),inset 0 1px 0 rgba(255,255,255,.10);
}
html body #catalog .hero-service-heading>span{
  color:#f6f9ff;
}
html body #catalog .hero-service-heading small{
  color:#c9d7eb;
}
/* Both the featured card and the four others keep legible light-on-dark text. */
html body #catalog .hero-service>a{
  color:#f2f6ff;
  border-color:rgba(198,218,241,.12);
  background:rgba(218,231,252,.025);
  box-shadow:none;
  transition:background-color .2s ease,border-color .2s ease,
    box-shadow .2s ease,transform .22s cubic-bezier(.22,1,.36,1);
}
html body #catalog .hero-service>a:first-of-type{
  background:linear-gradient(135deg,#2d4b70 0%,#284266 100%);
  border:1px solid rgba(205,222,247,.26);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 5px 14px rgba(8,25,44,.13);
}
html body #catalog .hero-service>a strong{
  color:#f9fbff;
  font-weight:680;
  letter-spacing:-.018em;
  text-shadow:none;
}
html body #catalog .hero-service>a small{
  color:#d5e1f1;
  font-weight:450;
  line-height:1.6;
  text-shadow:none;
}
html body #catalog .hero-service>a .service-symbol,
html body #catalog .hero-service>a:first-of-type .service-symbol{
  color:#e5efff;
  border-color:rgba(206,226,250,.26);
  background:rgba(198,219,247,.12);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07);
}
html body #catalog .hero-service>a>span:last-child{
  color:#d8e6f9;
}
/* Earlier mobile and reduced-motion selectors stay authoritative for layout. */
html body #catalog .hero-service>a:is(.yeoyu-motion-mouse:hover,:hover,:focus-visible){
  color:#fff;
  background:rgba(109,155,211,.16);
  border-color:rgba(203,222,249,.45);
  box-shadow:0 9px 20px rgba(8,23,42,.17),inset 0 1px 0 rgba(255,255,255,.09);
}
html body #catalog .hero-service>a:first-of-type:is(.yeoyu-motion-mouse:hover,:hover,:focus-visible){
  background:linear-gradient(135deg,#385b83 0%,#2e4a70 100%);
  border-color:rgba(209,228,255,.55);
  box-shadow:0 11px 23px rgba(8,23,42,.23),inset 0 1px 0 rgba(255,255,255,.11);
}
html body #catalog .hero-service>a:is(:hover,:focus-visible) strong,
html body #catalog .hero-service>a:first-of-type:is(:hover,:focus-visible) strong{
  color:#fff;
}
html body #catalog .hero-service>a:is(.yeoyu-motion-mouse:active,:active),
html body #catalog .hero-service>a:first-of-type:is(.yeoyu-motion-mouse:active,:active){
  background:rgba(122,162,206,.22);
  box-shadow:inset 0 2px 6px rgba(8,24,46,.14);
}
html body #catalog .hero-service>a:focus-visible{
  outline:3px solid #efdda9;
  outline-offset:2px;
}
/* An even quieter night palette, without white hover inversion. */
html[data-theme=dark] body #catalog .hero-service{
  border-color:#5c789d;
  background:linear-gradient(160deg,#203754,#14253e);
  box-shadow:0 15px 31px rgba(0,0,0,.19);
}
html[data-theme=dark] body #catalog .hero-service>a:first-of-type{
  background:linear-gradient(135deg,#304d72,#284163);
}
html[data-theme=dark] body #catalog .hero-service>a:first-of-type:is(.yeoyu-motion-mouse:hover,:hover,:focus-visible){
  background:linear-gradient(135deg,#3a5a80,#304b70);
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  html body #catalog .hero-service>a:is(:hover,:focus-visible),
  html body #catalog .hero-service>a:first-of-type:is(:hover,:focus-visible){
    transform:translateY(-3px)!important;
  }
  html body #catalog .hero-service>a:active,
  html body #catalog .hero-service>a:first-of-type:active{
    transform:translateY(-1px) scale(.992)!important;
  }
}
@media (prefers-reduced-motion:reduce),(hover:none),(pointer:coarse){
  html body #catalog .hero-service>a{
    transition:none!important;
    transform:none!important;
  }
}
@media print{
  html body #catalog .hero-service,
  html body #catalog .hero-service>a,
  html body #catalog .hero-service>a:first-of-type{
    background:#fff!important;
    border-color:#888!important;
    box-shadow:none!important;
    color:#000!important;
  }
  html body #catalog .hero-service>a :is(strong,small,span){color:#000!important}
}
