#leel-grid .plan-item[data-has="1"]{background:#fff}
#leel-grid .plan-item:not([data-has]){background:#d9d9d9;color:#111827}
#leel-grid .plan-item[data-has="1"]{background:#fff !important;color:inherit}
#leel-grid .plan-item:not([data-has]){
  background:#d9d9d9 !important;
  background-color:#d9d9d9 !important;
  background-image:none !important;
  box-shadow: inset 0 0 0 9999px #d9d9d9 !important; /* 강제 채움: 첨부 회색 */
  color:#111827;
  border-color:#d9d9d9
}
/* REMIAN: 기본은 항상 흰색 (이미지 있음) */
#remian-grid .plan-item{background:#fff !important;color:inherit;border-color:#cbd5e1;box-shadow:none !important}
/* REMIAN: 표시 이미지가 없는 코드 회색 처리 */
#remian-grid .plan-item[data-plan^="118"],
#remian-grid .plan-item[data-plan^="129"],
#remian-grid .plan-item[data-plan^="157"]{
  background:#d9d9d9 !important;
  background-image:none !important;
  box-shadow: inset 0 0 0 9999px #d9d9d9 !important;
  color:#111827;
  border-color:#d9d9d9
}
.plan-grid .plan-item.is-disabled{background:#f3f4f6 !important;color:#111827}
:root{--brand:#0f1b2d;--brand2:#1e2a44;--accent:#1f5eff;--paper:#ffffff;--muted:#6b7280;--bg:#0b1220}
*{box-sizing:border-box}
body{margin:0;font-family:'Pretendard',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;line-height:1.6;color:#0b1220;background:#fff}
.snap-section, main{position:relative}
html,body{height:100%}
body{min-height:100vh;display:flex;flex-direction:column}
main{flex:1}
.bg-full{position:relative}
.bg-layer{position:fixed;inset:0;background:url('../img/hero.jpg') center/cover no-repeat fixed;z-index:-1}
.container{max-width:1160px;margin:0 auto;padding:0 20px}
.container.narrow{max-width:980px}
.site-header{background:#fff;border-bottom:1px solid #e5e8ef}
.site-header .brand{font-weight:700;color:var(--brand);text-decoration:none}
.site-header .nav{display:flex;gap:14px;float:right}
.site-header .nav a{color:#4a5568;text-decoration:none}
.site-footer{border-top:1px solid #e5e8ef;margin-top:40px;padding:24px 0;color:#6b7280}
.tail-lines{font-size:14px;line-height:1.8;color:#fff;background:rgba(17,24,39,.9);border-radius:12px;padding:16px}
.tail-lines strong{display:block;margin-top:8px;color:#fff}
.tail-lines a{color:#fff;text-decoration:underline}

.hero{display:none}
.alp-hero{position:relative;color:#fff;background:transparent;padding:calc(96px + 1cm) 0 calc(40px + 2cm);overflow:hidden}
.alp-hero:before{content:"";position:absolute;inset:0;background:rgba(15,27,45,.5)}
.alp-hero__inner{position:relative;z-index:1;max-width:1160px;margin:0 auto;padding:0 20px}
.alp-hero .eyebrow{letter-spacing:.06em;color:#cbd5e1;margin:0 0 6px}
.alp-hero .title{font-size:36px;line-height:1.3;margin:0}
.alp-hero .title strong{color:#9cc5ff}
.alp-hero .title .text-blue{color:#9cc5ff}
/* 모바일/앱 브라우저에서도 히어로 내 파란색을 동일하게 고정 */
.alp-hero .title a.text-blue,
.alp-hero .title a.text-blue:visited{color:#9cc5ff}
.alp-hero .cta-row{margin-top:18px;display:flex;flex-direction:column;align-items:center;gap:12px}
.hero-phones{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px;justify-content:center}
.phone-chip{display:inline-flex;align-items:center;gap:6px;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.14);color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.35)}
.phone-chip:hover{background:rgba(255,255,255,.2)}
.alp-hero .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:28px 0 0;padding:0;list-style:none}
.alp-hero .stats li{background:rgba(15,27,45,.55);border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:14px;display:flex;gap:10px;align-items:center}
.alp-hero .stats b{font-size:28px}
.alp-hero .stats span{opacity:.9}
.btn{display:inline-block;background:var(--accent);color:#fff;padding:12px 16px;border-radius:10px;text-decoration:none;border:0;cursor:pointer}
.btn.primary{background:#2d5bff}
.btn.call{background:#03c75a;color:#fff}
.btn.call:hover{filter:brightness(0.98)}
.btn.kakao{background:#ffd83d;color:#111827}
.btn.kakao:hover{filter:brightness(0.98)}
.btn.naver{background:#03c75a;color:#fff;display:block;width:100%;text-align:center;margin-top:8px}
.info-card .btn.kakao{display:block;width:100%;text-align:center}
.btn.ghost{background:transparent;color:#2d5bff;border:1px solid #bcd0ff}
.btn-secondary{background:#64748b}
.alert{padding:12px 14px;border-radius:8px;margin:12px 0}
.alert.success{background:#ecfdf5;color:#065f46}
.alert.error{background:#fef2f2;color:#991b1b}

.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}
.card{display:block;border:1px solid #e5e8ef;border-radius:10px;overflow:hidden;color:inherit;text-decoration:none;background:#fff}
.card img{width:100%;height:160px;object-fit:cover;background:#f4f6fa}
.card .card-body{padding:10px}
.card .price{color:#0ea5e9;font-weight:700}
.card .addr{color:#6b7280}

.filters{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0}
.filters input,.filters select{padding:8px;border:1px solid #e5e8ef;border-radius:8px}

.detail header{margin:10px 0}
.detail .meta{display:flex;flex-wrap:wrap;gap:10px;color:#6b7280}
.detail .gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;margin:10px 0}
.detail .gallery img{width:100%;height:200px;object-fit:cover;border-radius:6px}
.detail pre{white-space:pre-wrap;background:#f8fafc;padding:12px;border-radius:8px}

.contact-form,.admin-form{display:grid;gap:12px;max-width:1440px}
.contact-form input,.contact-form textarea,.admin-form input,.admin-form textarea,.admin-form select{padding:10px;border:1px solid #e5e8ef;border-radius:8px}
.row{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}

/* Alpaca-like landing sections */
.alp-services{padding:56px 0}
.alp-services .eyebrow{color:#6b7280;margin-bottom:16px}
.alp-services .cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:14px}
.alp-services .svc{display:block;border:1px solid #e5e8ef;border-radius:14px;padding:18px;text-decoration:none;color:inherit;background:#ffd83d;transition:transform .2s ease, box-shadow .2s ease}
.alp-services .svc:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(0,0,0,.06)}
.alp-services .svc .kicker{display:inline-block;font-size:12px;letter-spacing:.08em;color:#6b7280;margin-bottom:6px}
.alp-services .svc h3{margin:6px 0}
.alp-services .svc p{color:#6b7280;margin:0}

.plan-grid{display:none;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;margin:10px 0}
.plan-grid .plan-item{padding:10px;border:1px solid #cbd5e1;background:#fff;border-radius:8px;cursor:pointer;-webkit-appearance:none;appearance:none}
.plan-grid .plan-item[data-plan^="118"],
.plan-grid .plan-item[data-plan^="129"],
.plan-grid .plan-item[data-plan^="157"]{background:#f3f4f6}
.plan-detail{display:none}
.plan-detail-inner{display:none}

/* modal */
.modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.5);z-index:50}
.modal .modal-card{background:#fff;border-radius:12px;max-width:420px;width:90%;padding:16px;box-shadow:0 10px 24px rgba(0,0,0,.2)}
.modal .modal-card h3{margin:0 0 8px;color:#111827}
.modal .modal-card p{margin:0 0 12px;color:#374151}
.modal .modal-card .actions{display:flex;justify-content:flex-end;gap:8px}
.modal .modal-card .btn{padding:8px 14px;border-radius:8px;background:#2d5bff;color:#fff}

.alp-newsletter{padding:48px 0}
.alp-newsletter .container{display:flex;align-items:center;justify-content:space-between}
.alp-newsletter .container h3{margin:0}
.alp-newsletter .btn{margin-left:16px}

/* info blocks & link chips */
.info-section{padding:40px 0}
.naver-banner + .container{margin-top:0}
.info-section.pad-extra{padding-top:calc(40px + 2cm);padding-bottom:calc(40px + 2cm)}
.info-section .lead{font-size:20px;line-height:1.6;margin:0 0 14px}
.naver-banner .banner-img{width:100%;height:auto;display:block;border-radius:12px}
.white-box{background:#ffffff;border:1px solid #e5e7eb;border-radius:12px;padding:14px 16px;color:#111827;line-height:1.6;display:flex;gap:8px;align-items:flex-start}
.white-box .ico{width:18px;height:18px;flex:0 0 18px;fill:#0ea5e9;margin-top:3px}
.emph-red{color:#dc2626;font-weight:600}
.text-blue{color:#2563eb}

/* Gwangjun list - make the more button match container width like white-box */
.gwangjun-list .more-wrap{margin:12px 0 24px}
.gwangjun-list .more-wrap .more-btn{display:block!important;width:100%!important;text-align:center;padding:12px 16px!important;border-radius:12px!important}

/* Luxury announcement section */
.announcement-section{padding:28px 0;margin-top:2cm}
.announcement-card{background:linear-gradient(180deg, rgba(17,24,39,.66), rgba(17,24,39,.58));
  color:#fff;border:1px solid #d4af37;border-radius:16px;padding:18px 18px;box-shadow:0 10px 28px rgba(212,175,55,.18);
  backdrop-filter:blur(2px)}
.announcement-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.announcement-head .ico{width:20px;height:20px;fill:#facc15}
.announcement-head span{font-weight:800;letter-spacing:.02em;color:#ffe38a}
.announcement-body{color:#e5e7eb}
.announcement-body ul{margin:6px 0 0 18px;padding:0}
.announcement-body li{margin:4px 0}
/* rows inside announcement body */
.announcement-body .item{margin:6px 0}

/* blinking effect for announcement title */
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.25; }
}
.announcement-head.blink{animation: blink 1s infinite}

/* link button inside announcement */
.announcement-body .btn-more{display:inline-block;margin-left:12px;padding:6px 10px;border-radius:8px;border:0;color:#ffe38a;text-decoration:none}
.announcement-body .btn-more:hover{background:rgba(212,175,55,.14)}
.announcement-body .btn-more.is-disabled{opacity:.55;pointer-events:none;cursor:default;text-decoration:none}
.info-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}
.info-card{border:1px solid #e5e8ef;border-radius:14px;background:rgba(243,244,246,.5);padding:16px}
.info-card h4{margin:0 0 8px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.chip{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;border:1px solid #bcd0ff;background:rgba(255,255,255,.92);color:#1f5eff;text-decoration:underline}
.chip.kakao{background:#ffd83d;color:#111827;border-color:#e9c633}
.chip.tel{background:#03c75a;color:#fff;border-color:#03c75a;text-decoration:none}
/* stretch phone chips to full width and use blue like primary */
.info-card .chip.tel{background:#2d5bff;border-color:#2d5bff;color:#fff;display:block;width:100%;text-align:center;flex:1 1 100%;display:flex;align-items:center;gap:10px;justify-content:center}
.info-card .chip.tel .ico{width:18px;height:18px;flex:0 0 auto}
.note{background:rgba(243,244,246,.5);border:1px solid #e5e7eb;border-radius:10px;padding:12px;color:#374151}
.blog-links{display:flex;flex-direction:column;gap:10px}
.blog-links a{display:flex;align-items:center;gap:10px;text-decoration:none;color:#111827;border:2px solid #03c75a;border-radius:10px;padding:8px}
.blog-links img{width:28px;height:28px}
.blog-links span{font-weight:600}
/* Official blog badge */
.blog-links a.official{background:#03c75a;color:#fff;border-color:#03c75a}
.blog-links a.official span{color:#fff}
.blog-links a.official span{position:relative;display:inline-block}
.blog-links a.official span .char{opacity:0;display:inline-block;animation:ob-appear .5s ease forwards;font-style:normal}
@keyframes ob-appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.blog-links a.official span.blink3{animation:ob-blink .25s steps(1) 3}
@keyframes ob-blink{0%,49%{opacity:1}50%,100%{opacity:0}}
.blog-links a.official span.fadeOut{opacity:0;transition:opacity .25s linear}

/* reveal animation */
[data-reveal]{opacity:0;transform:translateY(16px);transition:opacity .6s ease, transform .6s ease}
[data-reveal].is-visible{opacity:1;transform:none}

/* 문의하기 버튼 가로폭 3배 (기존 좌우 패딩 16px → 48px) */
.alp-hero .btn{padding-left:48px;padding-right:48px}
.alp-hero .cta-row .btn{width:280px;text-align:center;justify-content:center}

/* disable fullpage snap for single-page layout */
body.snap{scroll-snap-type:none;overflow-y:auto;height:auto}
.snap-section{scroll-snap-align:none;min-height:auto;display:block;align-items:unset}
.snap-section.alp-hero{min-height:auto}

/* responsive type scale for hero title */
@media (max-width: 768px){
  .alp-hero .title{font-size:20px;line-height:1.45}
}
@media (max-width: 480px){
  .alp-hero .title{font-size:17px;line-height:1.5}
}

/* contact page centering and unified widths */
.contact-page h1{margin-top:20px;text-align:center}
.contact-page .contact-form{max-width:1440px;width:100%;margin:0 auto}
.container.contact-page{max-width:1440px}
.contact-page .contact-form input,
.contact-page .contact-form textarea,
.contact-page .contact-form button,
.contact-page .contact-form select{width:100%}

/* Desktop: double the input/button width */
@media (min-width: 1200px){
  .contact-page .contact-form{width:720px;margin:0 auto}
  .contact-page .contact-form input,
  .contact-page .contact-form textarea,
  .contact-page .contact-form button{width:720px}
}


/* 상담이력 섹션 */
.consult-log-section{padding:28px 0}
.consult-log-section{border-bottom:0;margin-top:16px;margin-bottom:32px;padding-bottom:48px}

/* Home: blog latest section */
.blog-brief{position:relative}
.home-blog-title{margin:0 0 10px;text-align:left;font-size:22px;letter-spacing:.02em;font-weight:800;color:#03c75a}
.home-blog-title::before{content:none !important;display:none !important}
.home-blog-more{position:absolute;right:0;top:0;color:#03c75a;text-decoration:none;font-weight:700}
.home-blog-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:10px}
.home-blog-list a.blog-card{
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 16px;
  border-radius:14px;
  text-decoration:none;
  /* match the '급매' 카드 스타일: 어두운 네이비 그라데이션 + 금색 테두리 + 부드러운 그림자 */
  background:linear-gradient(180deg, rgba(17,24,39,.66), rgba(17,24,39,.58));
  border:1px solid #d4af37;             /* gold */
  box-shadow:0 10px 28px rgba(212,175,55,.18);
  color:#ffffff;
  font-weight:700
}
.home-blog-list a.blog-card:hover{filter:brightness(.98)}
.home-blog-list a.blog-card .logo-icon{
  width:18px;height:18px;display:block;border-radius:4px;background:#fff;padding:2px;flex:0 0 18px
}
.home-blog-list a.blog-card{position:relative}
.home-blog-list a.blog-card .title{font-weight:700;font-size:17px;line-height:1.4}
.home-blog-list a.blog-card .title-wrap{display:flex;align-items:center;gap:6px;min-width:0;flex:1 1 auto}
.home-blog-list .new-badge{position:static;align-self:center;margin-left:8px;background:#03c75a;color:#fff;border-radius:999px;font-size:11px;padding:2px 8px;font-weight:800;box-shadow:0 2px 6px rgba(0,0,0,.2);flex:0 0 auto;line-height:1.2}
/* increase vertical space around home blog section by ~20% (base 40px → 48px) */
.info-section.home-blog-sec{padding-top:48px;padding-bottom:48px}
/* mobile: shrink blog latest titles and ellipsize to one line */
@media (max-width: 820px){
  .home-blog-list a.blog-card .title-wrap{display:flex;align-items:center;gap:6px;min-width:0;flex:1 1 auto}
  .home-blog-list a.blog-card .title{
    font-size:13px !important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    display:block;
    flex:1 1 auto;
    min-width:0
  }
  /* ensure blog cards never overflow container on mobile */
  .home-blog-list{overflow:hidden}
  .home-blog-list a.blog-card{max-width:100%;width:100%;box-sizing:border-box}
}

/* home gallery */
.home-g-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.home-g-head h4{margin:0}
.home-g-head .more{color:#111827;text-decoration:none;font-weight:700}
.home-g-main{display:grid;grid-template-columns:1fr 180px;gap:10px}
.home-g-view{background:rgba(255,255,255,.4);border:1px solid #e5e7eb;border-radius:12px;display:flex;align-items:center;justify-content:center;height:560px;overflow:hidden}
.home-g-view.is-portrait{background:rgba(255,255,255,.4)}
.home-g-view img{width:100%;height:100%;object-fit:cover;border-radius:12px}
.home-g-view img.fit-contain{object-fit:contain}
.home-g-thumbs{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:8px;overflow-y:auto;max-height:560px}
.home-g-tip{display:flex;align-items:center;gap:6px;color:#111827;font-size:13px;margin:6px 0 10px;background:rgba(243,244,246,.92);border:1px solid #e5e7eb;border-radius:8px;padding:8px 10px}
.home-g-tip .ico{color:#2563eb}
.home-g-thumbs .thumb{display:block;border:2px solid transparent;border-radius:8px;overflow:hidden;margin-bottom:8px}
.home-g-thumbs .thumb.active{border-color:#03c75a}
.home-g-thumbs .thumb img{display:block;width:100%;height:144px;object-fit:cover}
@media (max-width: 768px){
  .home-g-main{grid-template-columns:1fr}
  .home-g-thumbs{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;max-height:none}
  .home-g-thumbs .thumb{flex:0 0 120px}
  .home-g-thumbs .thumb img{height:72px}
}

/* Lightbox (홈 갤러리 확대보기) */
.lb-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.85);display:none;align-items:center;justify-content:center;z-index:1000}
.lb-backdrop.on{display:flex}
.lb-inner{position:relative;max-width:92vw;max-height:92vh}
.lb-inner img{display:block;max-width:92vw;max-height:92vh;border-radius:12px}
.lb-close{position:absolute;top:-14px;right:-14px;background:#000;color:#fff;border:2px solid #fff;border-radius:999px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-weight:800}
/* lb arrows */
.lb-nav-btn{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;border-radius:999px;border:1px solid rgba(255,255,255,.6);background:rgba(0,0,0,.55);color:#fff;display:flex;align-items:center;justify-content:center;font-size:28px;cursor:pointer;user-select:none}
.lb-nav-btn.prev{left:12px}
.lb-nav-btn.next{right:12px}
.lb-nav-btn:hover{background:rgba(0,0,0,.65)}
@media (min-width: 1024px){
  .lb-nav-btn.prev{left:-56px}
  .lb-nav-btn.next{right:-56px}
}
/* animated wave for each character of title */
.home-blog-title .wave-ch{display:inline-block;animation:homeTextWave 1.2s ease-in-out infinite}
@keyframes homeTextWave{
  0%,80%,100%{transform:translateY(0)}
  40%{transform:translateY(-6px)}
}

/* Remove any accidental divider lines between sections on mobile */
main > section{border:0 !important}
.info-section, .consult-log-section, .announcement-section{border:0 !important}

/* push NAVER banner section a bit lower (1cm) */
.naver-banner{margin-top:1cm}
.consult-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px}
.consult-card{background:#ffffff;border:1px solid #e5e8ef;border-radius:14px;padding:16px}
.consult-card-header{margin:0 0 8px}
.consult-title{margin:0}
.consult-sub{margin:6px 0 0;color:#6b7280;font-size:14px}
.consult-card-header{position:relative;padding-right:120px}
.consult-cta{position:absolute;right:0;top:50%;transform:translateY(-50%);opacity:1;pointer-events:auto;transition:opacity .18s ease, transform .18s ease}
.consult-cta.btn{padding:8px 12px;border-radius:10px;background:#28c400;color:#ffffff;border:1px solid #28c400;text-decoration:none;font-weight:700}
.consult-cta.btn:hover{filter:brightness(.98)}

/* 의뢰 모달 */
.modal .modal-card.wide{max-width:720px}
.request-form{display:grid;gap:12px}
.request-row{display:grid;grid-template-columns:96px 1fr;gap:10px;align-items:center}
.request-row .req-label{color:#374151}
.chip-radios{display:flex;flex-wrap:wrap;gap:12px}
.chip-radio{display:inline-flex;align-items:center;gap:8px;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer}
.chip-radio input{appearance:auto;width:16px;height:16px;accent-color:#28c400}
.request-form input[type="text"], .request-form input[type="tel"], .request-form textarea{width:100%;padding:10px;border:1px solid #e5e7eb;border-radius:8px}
.request-form textarea{min-height:160px}
.request-form input::placeholder, .request-form textarea::placeholder{color:#9ca3af}
.request-form input:focus::placeholder, .request-form textarea:focus::placeholder{color:transparent}
/* phone inputs in one line */
.phone-split{display:flex;gap:8px}
.phone-split input{width:auto;text-align:center;flex:1 1 0}
.phone-split input[name="phone1"]{flex:0 0 63px}
.phone-split input[name="phone2"],.phone-split input[name="phone3"]{flex:0 0 84px}
/* match name input width to phone group total width */
.inline-narrow{max-width:248px;width:248px}
.request-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:6px}
.request-actions .btn{background:#28c400;color:#fff;border:1px solid #28c400}
.btn.submit{background:#28c400;color:#fff;border:1px solid #28c400}
.modal .modal-card .request-actions .btn{background:#28c400;color:#fff;border:1px solid #28c400}
.modal .modal-card .request-actions .btn:hover{filter:brightness(.98)}

/* required red dot */
.req-label.required:after{content:"";display:inline-block;width:6px;height:6px;background:#ef4444;border-radius:50%;margin-left:6px;vertical-align:middle}
.err-msg{color:#ef4444;font-size:12px;margin-top:6px}

/* success info message */
.success-wrap{display:flex;gap:10px;align-items:flex-start}
.success-wrap .ico{width:22px;height:22px;flex:0 0 22px;fill:#2563eb}
.success-wrap .msg{line-height:1.6}
.consult-list{list-style:none!important;list-style-type:none!important;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.consult-list li{list-style:none!important;margin:0;padding:0}
.consult-list ul{list-style:none!important;margin:0;padding:0}
.consult-text{word-break:keep-all;overflow-wrap:anywhere}
.consult-row{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;border:1px solid #e5e7eb;background:#f9fafb;border-radius:10px;padding:10px 12px}
.consult-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.consult-date{color:#6b7280;font-size:14px}
.badge{display:inline-block;padding:8px 10px;border-radius:8px;font-weight:700;font-size:13px;line-height:1}
.badge.done{background:#ef4444;color:#ffffff}
.badge.pending{background:#9ca3af;color:#ffffff}

/* Mobile adjustments for consult rows */
@media (max-width: 480px){
  .consult-grid{gap:12px}
  .consult-card{padding:14px}
  .consult-row{grid-template-columns:1fr auto auto;gap:6px;align-items:center}
  .consult-text{font-size:14px}
  .consult-date{font-size:12px}
  .badge{justify-self:auto}
}

