:root {
  color-scheme: light;
  --ink: #3d3036;
  --muted: #655860;
  --accent: #803d57;
  --accent-dark: #693049;
  --line: #ecdce2;
  --paper: #fffdfb;
  --rose: #f9edf0;
  --white: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif; word-break: keep-all; }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: .22em; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button, input, select { min-height: 42px; min-width: 0; border: 1px solid #e5d2db; background: white; color: var(--ink); padding: .55rem .8rem; border-radius: 9px; }
button:hover:not(:disabled) { border-color: var(--accent); }
button:disabled { cursor: default; color: #6e6269; background: #f8f2f4; }
button[aria-pressed=true], .primary { background: var(--accent); color: white; border-color: var(--accent); }
button[aria-pressed=true]:hover, .primary:hover { background: var(--accent-dark); }
:focus-visible { outline: 3px solid #944f6c; outline-offset: 3px; }
p { margin: .4rem 0 1rem; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .55rem; letter-spacing: -.045em; }
h2 { font-size: clamp(1.45rem, 4vw, 2rem); }
h3 { font-size: 1.15rem; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
header { background: white; }
.masthead, .footer, .section-title, .filters, .shortcuts { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.masthead { min-height: 78px; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .62rem; text-decoration: none; color: #593245; line-height: 1; }
.brand-name strong { display: block; font-size: 1.5rem; font-weight: 850; letter-spacing: -.065em; }
.brand-name small { display: block; color: #79586a; font-size: .57rem; font-weight: 800; letter-spacing: .24em; margin-top: .3rem; }
.brand-mark { position: relative; flex: none; width: 40px; height: 40px; border-radius: 11px 11px 11px 3px; background: #803d57; }
.brand-cradle { position: absolute; left: 22%; top: 50%; width: 56%; height: 23%; border: 2px solid #fff3ea; border-radius: 2px 2px 12px 12px; }
.brand-cradle::after { content: ""; position: absolute; top: 100%; left: 4%; width: 92%; height: 5px; border-bottom: 2px solid #fff3ea; border-radius: 0 0 50% 50%; }
.brand-star { position: absolute; width: 25%; height: 25%; top: 17%; right: 22%; background: #f3c78f; clip-path: polygon(50% 0,61% 38%,100% 50%,61% 62%,50% 100%,39% 62%,0 50%,39% 38%); }
.footer-identity .brand-mark { width: 34px; height: 34px; }
.footer-identity .brand-name strong { font-size: 1.17rem; }
.footer-identity p { margin-top: .5rem; }
.header-check { text-decoration: none; font-size: .86rem; font-weight: 750; background: #f9eef1; padding: .43rem .8rem; border-radius: 8px; }
.nav-bar { border-block: 1px solid #f0e4e8; }
nav { display: flex; gap: 1.8rem; align-items: stretch; }
nav a { text-decoration: none; white-space: nowrap; font-size: .92rem; font-weight: 750; color: var(--ink); padding-block: .75rem; }
nav a:hover { color: var(--accent); text-decoration: underline; }
.hero { background: #faedef; border-bottom: 1px solid #f4e4e8; }
.hero-grid { min-height: 410px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.83fr); align-items: center; gap: 3.6rem; padding-block: 3.2rem; }
.eyebrow { color: var(--accent); font-weight: 800; font-size: .83rem; margin: 0 0 .55rem; }
.hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.5rem); font-weight: 900; line-height: 1.1; margin-bottom: .9rem; letter-spacing: -.065em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-description { color: var(--muted); margin-bottom: 1.35rem; max-width: 420px; }
.search-row { display: flex; align-items: center; gap: .65rem; padding: .33rem; background: white; border: 1px solid #e3c9d4; box-shadow: 0 6px 12px #823b5510; border-radius: 12px; max-width: 530px; }
.search-row input { border: 0; flex: 1 1 0; width: 100%; padding-inline: .15rem; }
.search-row .primary { flex: none; padding-inline: 1rem; font-weight: 750; }
.search-icon { position: relative; width: 14px; height: 14px; border: 2px solid #94677c; border-radius: 50%; flex: none; margin-left: .65rem; }
.search-icon::after { content: ""; position: absolute; top: 9px; left: 9px; width: 6px; height: 2px; border-radius: 2px; transform: rotate(45deg); background: #94677c; }
.shortcuts { margin-top: .85rem; gap: .35rem .85rem; font-size: .82rem; }
.shortcuts a { text-decoration: none; border-bottom: 1px solid #c99eaf; }
.nursery { display: grid; place-items: center; min-width: 0; }
.nursery-window {
  position: relative; width: min(100%, 398px); aspect-ratio: 1.3; border: 7px solid #fffaf5; border-radius: 49% 49% 21% 21% / 61% 61% 16% 16%;
  background-color: #f9e0e7;
  background-image: repeating-linear-gradient(90deg, transparent 0 29px, #ffffff44 29px 43px);
  box-shadow: 6px 9px 0 #edcdd6; overflow: hidden;
}
.nursery-window > span, .nursery-window > div { position: absolute; }
.mobile-bar { height: 2px; width: 60%; background: #94737f; top: 23%; left: 20%; border-radius: 6px; transform: rotate(-5deg); }
.mobile-bar::before { content: ""; position: absolute; width: 1px; height: 48px; background: #94737f; bottom: 0; left: 50%; transform: rotate(5deg); transform-origin: bottom; }
.hanger { width: 1px; background: #9d7a87; }
.moon-hanger { height: 59px; top: 25%; left: 26%; }
.cloud-hanger { height: 45px; top: 23%; left: 50%; }
.star-hanger { height: 56px; top: 21%; left: 73%; }
.hanger span { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); }
.moon { width: 40px; height: 41px; border-radius: 50%; box-shadow: -10px 5px #e6b455; margin-left: 5px; top: calc(100% - 8px) !important; }
.cloud { width: 53px; height: 22px; border-radius: 18px; background: #fffaf6; box-shadow: 0 3px #e9cbda; }
.cloud::before, .cloud::after { content: ""; position: absolute; border-radius: 50%; background: inherit; }
.cloud::before { width: 25px; height: 25px; left: 9px; top: -12px; }
.cloud::after { width: 16px; height: 16px; right: 6px; top: -5px; }
.star { width: 38px; height: 38px; background: #bd82a8; clip-path: polygon(50% 0,64% 33%,100% 38%,73% 64%,81% 100%,50% 82%,19% 100%,27% 64%,0 38%,36% 33%); }
.spark { width: 14px; height: 14px; background: #ae6c87; clip-path: polygon(50% 0,59% 41%,100% 50%,59% 59%,50% 100%,41% 59%,0 50%,41% 41%); }
.spark-one { left: 14%; top: 53%; }
.spark-two { right: 13%; top: 42%; width: 19px; height: 19px; }
.bassinet { z-index: 1; width: 55%; height: 33%; left: 22.5%; bottom: 9%; }
.cradle-liner { position: absolute; inset: 19% 0 21%; border: 2px solid #b07861; border-radius: 9px 9px 38px 38px; background: repeating-linear-gradient(105deg,#f0ceb0 0 7px,#e7bb9e 7px 9px); }
.quilt { position: absolute; top: 3%; right: 12%; width: 39%; height: 60%; border: 2px solid #976c90; border-radius: 8px 12px 10px 10px; transform: rotate(-8deg); background: repeating-linear-gradient(45deg,#e0c6df 0 8px,#cfa9d0 8px 10px); }
.cradle-rim { position: absolute; top: 16%; left: -1%; width: 102%; height: 9px; border: 2px solid #b07861; border-radius: 8px; background: #f9dfc4; }
.cradle-legs { position: absolute; bottom: 0; width: 76%; height: 27%; left: 12%; border-left: 3px solid #aa765c; border-right: 3px solid #aa765c; transform: perspective(65px) rotateX(20deg); }
.floor { bottom: 7%; left: 15%; width: 70%; height: 13%; border-radius: 50%; background: #edcbd5; }
.quick-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; padding-block: 1.35rem .8rem; }
.quick-links a { min-width: 0; display: grid; grid-template-columns: 39px 1fr auto; align-items: center; gap: .7rem; padding: .86rem; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; background: white; }
.quick-links a:hover { border-color: #bd8ea1; background: #fff9fb; }
.quick-links strong { display: block; line-height: 1.3; font-size: .93rem; }
.quick-links small { display: block; color: var(--muted); font-size: .73rem; margin-top: .15rem; }
.quick-links b { color: var(--accent); }
.quick-icon { width: 39px; height: 39px; border-radius: 12px; display: grid; place-items: center; position: relative; }
.quick-icon::before, .quick-icon::after { content: ""; position: absolute; }
.crib-icon { background: #f7e2d4; color: #985b44; }
.crib-icon::before { width: 20px; height: 12px; border: 2px solid currentColor; border-radius: 2px 2px 8px 8px; top: 11px; }
.crib-icon::after { width: 16px; height: 5px; border-inline: 2px solid currentColor; top: 24px; }
.heart-icon { background: #f7dfe7; color: #a45173; }
.heart-icon::before { width: 22px; height: 20px; background: currentColor; clip-path: polygon(50% 23%,66% 7%,84% 7%,97% 19%,100% 40%,93% 55%,50% 98%,7% 55%,0 40%,3% 19%,16% 7%,34% 7%); }
.gift-icon { background: #f5e8c9; color: #876123; }
.gift-icon::before { width: 19px; height: 14px; border: 2px solid currentColor; top: 13px; background: linear-gradient(90deg,transparent 44%,currentColor 44% 56%,transparent 56%); }
.gift-icon::after { height: 2px; width: 23px; background: currentColor; top: 17px; }
.date-icon { background: #eee2f0; color: #755586; }
.date-icon::before { width: 19px; height: 17px; border: 2px solid currentColor; border-radius: 3px; }
.date-icon::after { width: 19px; height: 2px; background: currentColor; top: 16px; }
main .wrap > section { padding: 2.45rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: .75rem; }
.section-title { justify-content: space-between; margin-bottom: 1rem; }
.section-title h2 { margin: 0; }
.note { background: #faeef2; padding: .72rem .95rem; border-radius: 9px; color: var(--muted); font-size: .89rem; }
.filters { margin: 1.15rem 0; gap: .65rem; }
.filters label { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; font-size: .86rem; }
.filters #count, .filters #visit-count { font-size: .88rem; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(250px,100%),1fr)); gap: .85rem; }
.card, .feature > div, .list-row { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 1.14rem; min-width: 0; }
.card p { color: var(--muted); font-size: .91rem; }
.card button { margin: .25rem .35rem 0 0; font-size: .85rem; }
#center-cards .card { display: flex; flex-wrap: wrap; align-content: flex-start; align-items: center; }
#center-cards .card > :is(h3,p,.price) { width: 100%; }
#center-cards .card > h3 + p { min-height: 3.1em; overflow-wrap: anywhere; }
#center-cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
.price { display: block; font-size: 1.42rem; font-weight: 900; color: var(--accent); }
.feature { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; }
.checklist { grid-template-columns: repeat(3,minmax(0,1fr)); }
.checklist > div:nth-child(1) { background: #fbf0f2; }
.checklist > div:nth-child(2) { background: #fbf2e5; }
.checklist > div:nth-child(3) { background: #f5eef7; }
.checklist label { display: flex; align-items: flex-start; gap: .55rem; margin: .7rem 0; }
.checklist input { min-height: 0; accent-color: var(--accent); margin-top: .35rem; }
footer { background: #f8edf1; }
.footer { padding: 1.5rem 0; justify-content: space-between; color: var(--muted); font-size: .87rem; }
.footer p { margin: 0; }

dialog { width: min(780px,calc(100% - 28px)); max-height: 90vh; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); padding: 1.3rem; }
dialog::backdrop { background: #30202a9c; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { min-width: 90px; text-align: left; padding: .65rem; border-bottom: 1px solid var(--line); }
thead { background: #f9ecf1; }
.sr-only, .skip:not(:focus) { position: absolute; width:1px; height:1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; left:10px; top:10px; background:white; padding:.5rem; z-index:5; }
.list-row { margin: .5rem 0; }
.subhead { margin-top: 1.5rem; }
#more-centers { margin-top: 1rem; }
@media(max-width: 850px) {
  .hero-grid { gap: 1.4rem; }
  .quick-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #center-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  nav { overflow-x: auto; gap: 1.25rem; }
}
@media(max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .masthead { min-height: 65px; gap: .35rem; }
  .brand { gap: .5rem; }
  .brand-name strong { font-size: 1.25rem; }
  .brand-mark { width: 34px; height: 34px; }
  .header-check { padding: .4rem .55rem; font-size: .75rem; }
  nav { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0 .45rem; padding-block: .2rem; overflow: visible; }
  nav a { font-size: .81rem; padding-block: .4rem; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 2rem 1.5rem; gap: .8rem; }
  .hero h1 { font-size: clamp(2.35rem,11vw,3.2rem); }
  .nursery-window { width: min(100%, 217px); border-width: 4px; }
  .mobile-bar::before { height: 24px; }
  .moon-hanger, .star-hanger { height: 28px; }
  .cloud-hanger { height: 22px; }
  .hanger span { scale: .7; transform-origin: left top; }
  .quick-links { gap: .5rem; padding-top: 1rem; }
  .quick-links a { grid-template-columns: 30px 1fr; gap: .4rem; padding: .55rem; }
  .quick-links b { display: none; }
  .quick-icon { width: 30px; height: 30px; scale: .83; }
  .quick-links strong { font-size: .81rem; }
  .quick-links small { font-size: .68rem; }
  #center-cards, .feature { grid-template-columns: 1fr; }
  #center-cards .card > h3 + p { min-height: auto; }
  .filters input { width: min(48vw,225px); }
}
@media(prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }

.portal-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem 1rem;padding:1rem;background:white;border:1px solid var(--line);border-radius:12px}.portal-form label{display:flex;flex-direction:column;gap:.28rem;font-size:.87rem}.portal-form label:has(input[type=checkbox]){flex-direction:row;align-items:center}.portal-form input[type=checkbox]{min-height:0}.portal-form .wide{grid-column:1/-1}.portal-form textarea{font:inherit;padding:.6rem;border:1px solid var(--line);border-radius:8px}.portal-form button{justify-self:start}.portal-form [role=status]{align-self:center;font-size:.88rem}.directory-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-top:.6rem}#directory-more,#my-reminders{margin-top:1rem}.directory-meta{font-size:.83rem;color:var(--muted)}.status-due{font-weight:800;color:var(--accent)}@media(max-width:600px){.portal-form{grid-template-columns:1fr}.portal-form .wide{grid-column:auto}}

.alert-count{display:inline-block;padding:0 .4em;border-radius:10px;background:var(--accent);color:white;font-size:.72em}.alert-new{border-left:4px solid var(--accent)}
