:root{--ink:#233b38;--muted:#788580;--teal:#17675b;--teal-dark:#105044;--lime:#e6edbb;--paper:#f7f8f4;--line:#e3e8e1;--white:#fff;--yellow:#f6edcb;--danger:#a14232;font-family:"Pretendard","맑은 고딕","Malgun Gothic",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #8fbb8a;outline-offset:3px}button{border:0;background:none}a{color:inherit;text-decoration:none}p{line-height:1.7}small{line-height:1.5}.hidden{display:none!important}.muted{color:var(--muted)}.test-strip{height:32px;display:flex;align-items:center;justify-content:center;gap:8px;background:#e9eee3;color:#5e6d58;font-size:11px;letter-spacing:.2px}.strip-divider{opacity:.35;margin:0 4px}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#7a985c}.workspace{display:grid;grid-template-columns:minmax(0,600px);justify-content:center;max-width:656px;margin:auto;padding:24px 28px;height:calc(100dvh - 32px);min-height:600px}.brand-rail{display:flex;flex-direction:column;padding:16px 0}.brand{display:flex;gap:12px;align-items:center;font-size:20px;font-weight:800;letter-spacing:-1px}.brand-mark{display:grid;place-items:center;background:var(--teal);color:#fff;font-size:31px;width:44px;height:44px;border-radius:14px}.brand small{display:block;font-size:10px;font-weight:400;letter-spacing:0;color:var(--muted);margin-top:3px}.rail-copy{margin-top:75px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#83917b}.rail-copy h1{font-size:40px;line-height:1.4;letter-spacing:-2px;font-weight:600;margin:18px 0}.rail-copy p{font-size:14px;color:var(--muted)}.rail-trust{display:grid;grid-template-columns:26px 1fr;align-items:center;gap:14px 10px;margin-top:30px;font-size:12px}.rail-trust>span{color:#93a278;font-size:10px}.rail-trust p{margin:0}.rail-bottom{margin-top:auto;display:flex;flex-direction:column;gap:8px;font-size:10px;color:var(--muted)}.text-button{padding:0;text-align:left;font-size:12px;text-decoration:underline;text-underline-offset:4px}.chat-shell{min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid #dfe5db;border-radius:26px;overflow:hidden;box-shadow:0 12px 50px #34452b08;height:100%;position:relative}.chat-header{display:flex;align-items:center;gap:11px;padding:17px 20px;border-bottom:1px solid var(--line);background:#fff;flex-shrink:0}.avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:var(--teal);color:#fff;font-size:28px}.header-title{flex:1}.header-title strong{display:block;font-size:16px;letter-spacing:-.6px}.header-title>span{display:block;font-size:10px;color:#879087;margin-top:5px}.header-title i{width:5px;height:5px;margin-right:3px}.icon-button{width:36px;height:36px;border-radius:12px;font-size:21px;color:#758578;display:grid;place-items:center}.icon-button:hover{background:var(--paper)}.chat-viewport{flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d9dfd5 transparent;background:linear-gradient(180deg,#fff,#f8faf6)}.welcome{padding:30px 25px 12px}.welcome-badge{font-size:11px;color:#6c7d65;letter-spacing:-.2px}.welcome h2{font-size:31px;font-weight:600;letter-spacing:-1.7px;line-height:1.35;margin:13px 0}.welcome h2 span{color:#8ba378}.welcome>p{color:var(--muted);font-size:12px;line-height:1.8;margin:0 0 22px}.menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.menu-card{position:relative;text-align:left;min-height:124px;border:1px solid #e4e9df;border-radius:17px;padding:15px 16px;background:#fff;transition:transform .15s,box-shadow .15s}.menu-card:hover{transform:translateY(-2px);box-shadow:0 4px 14px #233b3809}.menu-card.primary{background:var(--teal);border-color:var(--teal);color:#fff}.menu-icon{display:flex;align-items:center;height:29px;font-size:28px;font-weight:400;color:#78946d;margin-bottom:10px}.primary .menu-icon{color:#dce9b1}.menu-card strong{display:block;font-size:15px;font-weight:700;letter-spacing:-.6px}.menu-card small{display:block;color:#8b9588;font-size:10px;margin-top:6px;letter-spacing:-.3px}.primary small{color:#c1d7c6}.card-arrow{position:absolute;top:13px;right:14px;font-size:15px;color:#9fac96}.primary .card-arrow{color:#c4d6b3}.external-shortcut{display:flex;align-items:center;gap:12px;padding:15px 12px;width:100%;text-align:left;background:#f1f4e9;border-radius:13px;margin-top:15px}.external-shortcut>span{font-size:22px;color:#829666}.external-shortcut>div{flex:1}.external-shortcut strong{display:block;font-size:11px;font-weight:600}.external-shortcut small{display:block;font-size:10px;color:#86907d;margin-top:4px}.external-shortcut>b{font-size:20px;font-weight:400;color:#8b967f}.welcome-note{font-size:10px;line-height:1.7;text-align:center;color:#9aa293;margin:18px 0 8px}.chat-footer{flex-shrink:0;padding:12px 16px 8px;background:#fff;border-top:1px solid var(--line)}.composer{display:flex;align-items:flex-end;border:1px solid #dde5d8;border-radius:19px;padding:7px;background:#fbfcf8;gap:5px}.composer textarea{border:0;outline:none;background:transparent;resize:none;flex:1;min-width:0;padding:8px 0;line-height:1.5;height:38px;max-height:100px;font-size:13px;color:var(--ink)}.composer textarea::placeholder{color:#9da598}.attach-button{width:30px;height:36px;font-size:25px;color:#92a08a;flex-shrink:0}.send-button{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;color:#fff;background:var(--teal);font-size:23px;flex-shrink:0}.bottom-nav{display:flex;justify-content:space-around;margin-top:9px}.bottom-nav :is(button,a){display:flex;align-items:center;justify-content:center;gap:5px;min-height:32px;color:#7f8b78;font-size:17px}.bottom-nav span{font-size:10px}.summary-rail{padding-top:45px}.summary-rail h2{font-size:23px;line-height:1.5;font-weight:500;letter-spacing:-1px;margin-top:12px}.side-conditions{border-top:1px solid #dce3d5;margin-top:24px;padding-top:15px}.side-conditions p{font-size:12px}.condition-item{padding:11px 0;border-bottom:1px solid var(--line)}.condition-item dt{font-size:10px;color:#8b9982;margin-bottom:5px}.condition-item dd{margin:0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.summary-foot{margin-top:26px;font-size:11px;line-height:1.9;color:#93a08b}.summary-foot strong{display:block;font-weight:400;margin-top:8px}.admin-link{display:block;margin-top:40px;font-size:11px;color:#859179;text-decoration:underline;text-underline-offset:4px}.messages{padding:22px 18px}.messages:empty{display:none}.date-divider{text-align:center;font-size:10px;color:#a3ad9d;margin:0 0 22px}.message-row{display:flex;gap:8px;margin:0 0 18px;align-items:flex-start}.message-row.user{justify-content:flex-end}.small-avatar{display:grid;place-items:center;width:28px;height:28px;border-radius:10px;background:var(--teal);color:#fff;font-size:21px;flex-shrink:0}.message-content{max-width:87%;min-width:0}.message-name{font-size:10px;color:#7b8c74;margin:2px 0 6px}.bubble{font-size:13px;line-height:1.85;letter-spacing:-.25px;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px 15px;border:1px solid #e6eadd;border-radius:0 16px 16px 16px;background:#fff;box-shadow:0 2px 8px #33432003}.user .bubble{background:var(--yellow);border-color:var(--yellow);border-radius:16px 0 16px 16px}.message-time{text-align:right;color:#a7afa0;font-size:9px;margin-top:5px}.bubble.error{color:var(--danger);border-color:#f0d8ca}.typing{display:flex;gap:8px;padding:0 18px 20px;align-items:center;font-size:11px;color:#8a9a80}.typing>span:last-child{padding:12px;background:#fff;border-radius:12px}.typing i{display:inline-block;width:4px;height:4px;border-radius:50%;background:#95a688;margin-left:3px;animation:pulse 1.2s infinite}.typing i:nth-child(2){animation-delay:.2s}.typing i:nth-child(3){animation-delay:.4s}@keyframes pulse{50%{opacity:.2}}.context-bar{display:flex;gap:8px;padding:9px 18px;background:#f5f8ef;border-top:1px solid #e7ecdf;justify-content:space-between;flex-shrink:0}.context-bar button{font-size:10px;color:#6b815b;min-height:26px}.context-bar button:last-child{color:var(--teal);font-weight:700}.intake-cta{display:block;border:1px solid #cbd9be;color:var(--teal);padding:11px 14px;border-radius:12px;font-size:12px;margin-top:8px;background:#f4f8eb;width:100%}.listing-card{margin-top:10px;border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#fff}.listing-visual{position:relative;height:135px;background:#e9e6d9;overflow:hidden}.listing-visual img{width:100%;height:100%;object-fit:cover}.listing-card.sage .listing-visual{filter:hue-rotate(30deg)}.listing-card.rose .listing-visual{filter:hue-rotate(325deg)}.sample-tag{position:absolute;top:10px;left:10px;font-size:9px;background:#fffdf2dc;border-radius:6px;padding:5px 8px;color:#6d6d55}.listing-body{padding:13px}.listing-meta{font-size:10px;color:#8c987e}.listing-title{font-size:13px;font-weight:600;margin:6px 0}.listing-price{font-size:16px;font-weight:700;letter-spacing:-.7px}.listing-details{font-size:11px;line-height:1.7;color:#788773;margin:9px 0}.listing-action{background:var(--teal);color:#fff;border-radius:9px;padding:10px;width:100%;font-size:11px}.listing-missing{font-size:11px;line-height:1.7;padding:12px;background:#f5f2e7;border-radius:10px;margin-top:10px}.request-pill{font-size:11px;line-height:1.7;padding:12px;margin-top:10px;background:#eef3e6;border-radius:12px}.request-pill button{display:block;margin-top:8px;text-decoration:underline}dialog{border:1px solid var(--line);border-radius:22px;box-shadow:0 22px 80px #142d2830;width:min(460px,calc(100% - 28px));padding:23px;max-height:90dvh;overflow:auto;color:var(--ink)}dialog::backdrop{background:#17352b60;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.modal-header h2{font-size:19px;font-weight:600;letter-spacing:-.8px;margin:0}.modal-copy{font-size:13px;line-height:1.8;color:#71806b}.modal-copy strong{color:var(--ink)}.modal-copy li{margin-bottom:8px}.form-field{display:block;margin:17px 0;font-size:12px;color:#65775b}.form-field input,.form-field textarea,.form-field select{display:block;width:100%;border:1px solid #dce3d6;border-radius:11px;margin-top:7px;background:#fff;padding:12px;color:var(--ink);font-size:14px;min-height:46px}.form-field textarea{min-height:74px;resize:vertical}.full-button{width:100%;display:block;background:var(--teal);color:#fff;padding:14px;border-radius:12px;margin-top:15px;font-size:13px;font-weight:600;min-height:46px}.full-button.secondary{background:#eef2e7;color:var(--teal)}.check-label{display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.7;margin:15px 0}.check-label input{width:18px;height:18px;flex-shrink:0;accent-color:var(--teal);margin:2px 0}.notice-box{padding:12px;background:#f3f5ec;border-radius:12px;font-size:11px;line-height:1.8;color:#748269}.notice-box.warning{background:#faf1df;color:#8b6e3e}.form-error{font-size:12px;color:var(--danger);line-height:1.6}.modal-menu{display:flex;flex-direction:column;gap:8px}.modal-menu button,.history-item{width:100%;display:block;border:1px solid var(--line);padding:14px;border-radius:12px;text-align:left;font-size:13px;background:#fbfcf8}.history-item small{display:block;margin-top:7px;color:var(--muted);font-size:10px}.toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);background:#233e34ed;color:#fff;font-size:12px;padding:12px 20px;border-radius:12px;z-index:100;max-width:90%;box-shadow:0 5px 20px #0002;text-align:center;line-height:1.6}
/* Staff view remains separate from the customer's one-page flow. */
.admin-page{max-width:1240px;margin:auto;padding:28px}.admin-header{display:flex;align-items:center;gap:15px;margin-bottom:25px}.admin-header h1{font-size:22px;flex:1}.admin-header a,.admin-header button{font-size:12px}.admin-login{max-width:420px;margin:60px auto;background:#fff;border:1px solid var(--line);padding:30px;border-radius:20px}.admin-tabs{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}.admin-tabs button{padding:12px 20px;border-radius:12px;border:1px solid var(--line);background:#fff;font-size:13px}.admin-tabs button.active{background:var(--teal);color:#fff}.admin-grid{display:grid;grid-template-columns:300px 1fr;gap:20px}.admin-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;min-width:0}.admin-card h2{font-size:17px}.admin-conv{border:1px solid var(--line);border-radius:12px;margin-bottom:8px;padding:14px;text-align:left;width:100%;background:#fff}.admin-conv.selected{border-color:#698f5d;background:#f3f7ec}.admin-conv strong{font-size:13px}.admin-conv small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.admin-thread{max-height:460px;overflow:auto;padding:12px;background:#f8faf5;border-radius:13px}.admin-thread .bubble{max-width:90%;margin-bottom:10px}.admin-thread .bubble.user{margin-left:auto;background:var(--yellow)}.admin-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.admin-row>*{flex:1}.admin-form button{min-height:44px}.admin-badge{display:inline-block;font-size:10px;background:#eaf0de;border-radius:5px;padding:4px 7px;margin-top:6px}.danger-button{color:var(--danger);text-decoration:underline;font-size:12px;padding:10px}.status-success{color:var(--teal);font-size:12px}.admin-stats{display:flex;gap:15px;margin-bottom:20px}.admin-stats>div{background:#fff;border:1px solid var(--line);padding:16px 20px;border-radius:14px;flex:1}.admin-stats strong{display:block;font-size:24px;margin-top:5px}.admin-stats small{color:var(--muted)}
@media(min-width:1400px){.workspace{padding-top:30px;padding-bottom:30px}}

@media(max-width:760px){.workspace{display:block;height:calc(100dvh - 28px);min-height:0;padding:0;max-width:560px}.test-strip{height:28px;font-size:10px}.brand-rail,.summary-rail{display:none}.chat-shell{border:0;border-radius:0;box-shadow:none}.chat-header{padding:13px 18px}.chat-viewport{background:#fbfcf8}.welcome{padding:25px 22px 10px}.welcome h2{font-size:31px}.welcome>p{font-size:13px}.menu-card{min-height:120px;padding:14px 15px}.menu-card strong{font-size:16px}.menu-card small{font-size:11px}.menu-icon{margin-bottom:8px}.external-shortcut strong{font-size:12px}.external-shortcut small{font-size:10px}.welcome-note{font-size:10px}.chat-footer{padding:10px 14px calc(5px + env(safe-area-inset-bottom))}.composer textarea{font-size:16px;padding:6px 0}.bubble{font-size:14px}.bottom-nav :is(button,a){min-height:36px}.bottom-nav span{font-size:11px}.context-bar button{font-size:11px}.form-field input,.form-field select,.form-field textarea{font-size:16px}.admin-page{padding:16px}.admin-grid{grid-template-columns:1fr}.admin-stats{gap:8px}.admin-stats>div{padding:12px}.admin-stats strong{font-size:19px}}
@media(max-height:740px) and (max-width:760px){.welcome{padding-top:18px}.welcome h2{font-size:27px;margin:10px 0}.welcome>p{margin-bottom:15px;font-size:12px}.menu-card{min-height:105px;padding:12px 14px}.menu-icon{height:24px;font-size:24px;margin-bottom:5px}.external-shortcut{margin-top:10px;padding:11px}.welcome-note{margin:11px 0}.chat-header{padding-top:10px;padding-bottom:10px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Bright, four-color customer experience */
:root{--ink:#29334b;--muted:#7c8397;--teal:#5276df;--teal-dark:#3c5ac1;--lime:#fff0b2;--paper:#fafaff;--line:#e8eaf3;--yellow:#fff0bf;background:#fafaff}
body{background:radial-gradient(ellipse at 10% 12%,#ffecdd88,transparent 45%),radial-gradient(ellipse at 90% 85%,#e6e1ff99,transparent 40%),#fafaff}
.test-strip{background:#edf0ff;color:#6f7896}.live-dot{background:#f3b557}.brand-mark,.avatar{background:linear-gradient(140deg,#87a4fa,#6377de);box-shadow:0 4px 12px #7795ed22}.brand small,.rail-copy p{color:#89899f}.eyebrow{color:#a09bc2}.rail-copy h1{color:#43415e}.rail-trust>span{background:#e7efff;color:#6685d5;border-radius:7px;padding:5px}.rail-trust>span:nth-of-type(2){background:#ffebde;color:#c78a65}.rail-trust>span:nth-of-type(3){background:#eee5ff;color:#9e7bcb}.rail-bottom{color:#9291a4}.chat-shell{border-color:#e9e7f1;box-shadow:0 15px 60px #9c94c51a}.chat-header{border-color:#f0edf5}.header-title>span{color:#9793aa}.icon-button{color:#8887a5}.chat-viewport{background:linear-gradient(180deg,#fffdfb,#faf9ff)}.welcome{padding:0 22px 12px}.welcome-hero{position:relative;height:205px;margin:0 -22px 18px;overflow:hidden;background:#fffdf9}.hero-house{position:absolute;right:-16px;bottom:-17px;width:265px;height:182px;object-fit:cover;object-position:72% 65%;mix-blend-mode:multiply}.hero-text{position:relative;z-index:1;padding:28px 22px}.welcome-badge{font-size:10px;font-weight:700;letter-spacing:2px;color:#b6a0c1}.welcome h2{font-size:25px;font-weight:700;line-height:1.5;letter-spacing:-1.2px;margin:13px 0 8px}.welcome h2 span{color:#667bd5}.hero-text>p{font-size:12px;color:#9692a5;margin:7px 0}.menu-grid{gap:12px}.menu-card,.menu-card.primary{border:0;border-radius:20px;min-height:125px;box-shadow:0 5px 14px #b0b4d010;color:#334965;background:#e8f2ff;padding:16px 17px}.menu-card:nth-child(2){background:#ffede2;color:#8a5744}.menu-card:nth-child(3){background:#f0e9ff;color:#6f548f}.menu-card:nth-child(4){background:#fff5d5;color:#867039}.menu-icon,.primary .menu-icon{font-size:31px;height:32px;margin-bottom:9px;color:inherit;filter:drop-shadow(0 3px 2px #5551)}.menu-card strong{font-size:16px}.menu-card small,.primary small{color:inherit;opacity:.65;font-size:11px}.card-arrow,.primary .card-arrow{color:inherit;opacity:.45;background:#ffffff70;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;right:14px;top:14px}.external-shortcut{background:#fff;border:1px solid #eae6f5;box-shadow:0 4px 12px #aca4c408;padding:14px}.external-shortcut>span{background:#eae5ff;color:#9686cc;width:32px;height:32px;display:grid;place-items:center;border-radius:10px}.external-shortcut strong{color:#635e7f}.external-shortcut small{color:#aaa2ba}.external-shortcut>b{color:#b1a6c6}.welcome-note{color:#a8a4b5}.composer{border-color:#e7e4f1;background:#fcfbff}.composer textarea::placeholder{color:#aaa5b9}.attach-button{color:#b0a8c1}.send-button{background:linear-gradient(135deg,#849bf1,#687bdd);border-radius:13px;box-shadow:0 3px 7px #7885cf25}.bottom-nav :is(button,a){color:#9a91ae}.small-avatar{background:linear-gradient(140deg,#8ca7fa,#7382df)}.bubble{border-color:#ede9f5;box-shadow:0 2px 7px #9d91bd07}.message-name{color:#9c94ad}.message-time{color:#b1aabc}.context-bar{background:#f1effd;border-color:#eae6f5}.context-bar button{color:#8b7bb0}.context-bar button:last-child{color:#6f67aa}.intake-cta{border-color:#d8cef0;color:#7d65b1;background:#f4efff}.side-conditions{border-color:#e4e1f1}.condition-item{border-color:#eeeaf5}.condition-item dt{color:#9992ae}.summary-foot{color:#a19ab2}.admin-link{color:#8d82a5}.request-pill{background:#f0ebff}.full-button.secondary{background:#efebff;color:#7865b6}.notice-box{background:#f1effb;color:#827595}.listing-meta{color:#9990ad}.listing-details{color:#8b819a}.form-field{color:#80758f}.form-field input,.form-field textarea,.form-field select{border-color:#e5deef}.typing{color:#9d8eaf}.typing i{background:#ab99c6}.toast{background:#575077f5}.admin-badge{background:#eeebfc;color:#8371ad}.admin-conv.selected{background:#f1effc;border-color:#a89cd1}.admin-thread{background:#faf8ff}
@media(max-width:760px){.welcome{padding:0 20px 10px}.welcome-hero{margin:0 -20px 17px;height:188px}.hero-text{padding:23px 20px}.welcome h2{font-size:24px}.hero-house{width:235px;height:160px;right:-21px;bottom:-12px}.hero-text>p{font-size:12px}.menu-card,.menu-card.primary{min-height:119px;padding:14px 16px}.menu-icon{font-size:29px;height:29px}.menu-card strong{font-size:16px}.menu-card small{font-size:10px}.external-shortcut{padding:12px}.chat-viewport{background:linear-gradient(180deg,#fffdfb,#faf9ff)}}
@media(max-height:740px) and (max-width:760px){.welcome{padding-top:0}.welcome-hero{height:163px;margin-bottom:13px}.hero-text{padding-top:16px}.welcome h2{font-size:22px;margin:10px 0 6px}.hero-house{height:143px;width:215px;right:-20px;bottom:-15px}.hero-text>p{font-size:11px}.menu-card,.menu-card.primary{min-height:106px;padding:12px 15px}.menu-icon{font-size:26px;height:26px;margin-bottom:6px}.menu-grid{gap:10px}.external-shortcut{padding:10px}}
@font-face{font-family:'Pretendard';src:url('/fonts/PretendardVariable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:'Gowun Dodum';src:url('/fonts/GowunDodum-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
:root{font-family:'Pretendard','Apple SD Gothic Neo','맑은 고딕',sans-serif}
.welcome h2,.rail-copy h1,.menu-card strong,.header-title strong{font-family:'Gowun Dodum','Pretendard',sans-serif;font-weight:400;letter-spacing:-.65px}
.header-title strong{font-size:20px;display:flex;align-items:center;gap:7px}.ai-badge{font-family:'Pretendard',sans-serif;font-size:9px;line-height:1;padding:4px 5px;background:#eee9fd;border-radius:5px;letter-spacing:0;color:#9580bc}.header-title>span{font-size:11px}.welcome h2{font-size:27px;line-height:1.4}.menu-card strong{font-size:18px}.bubble{font-family:'Pretendard',sans-serif;font-size:15px;line-height:1.8;letter-spacing:-.2px}.menu-card small{font-size:11px}.external-shortcut strong{font-size:13px}.avatar{width:46px;height:46px;border-radius:16px;background:#ede8ff;overflow:hidden;box-shadow:none}.avatar img,.small-avatar img{width:100%;height:100%;object-fit:cover}.small-avatar{width:33px;height:33px;border-radius:12px;background:#ede8ff;overflow:hidden;box-shadow:0 2px 6px #9988bb12}.message-name{font-size:11px}.hero-text>p{color:#8f879d}.bottom-nav span{font-size:12px}.welcome-note{font-size:11px}
@media(max-width:760px){.welcome h2{font-size:25px}.header-title strong{font-size:20px}.bubble{font-size:15px}.menu-card strong{font-size:18px}.welcome-badge{font-size:10px}.composer textarea{font-family:'Pretendard',sans-serif}}
@media(max-height:740px) and (max-width:760px){.welcome h2{font-size:23px}.menu-card strong{font-size:17px}}

.external-chat-shortcut{margin:4px 0 18px;text-align:left}.external-chat-shortcut small{display:block;margin-top:5px;font-size:11px;color:var(--muted)}

/* Let the four home choices fill the space released by the hidden composer. */
.is-home .chat-viewport{display:flex;flex-direction:column}
.is-home .welcome{flex:1;display:flex;flex-direction:column;justify-content:center;padding-bottom:16px}
.is-home .welcome-hero{flex-shrink:0;height:clamp(190px,26dvh,260px);margin-bottom:20px}
.is-home .hero-text{padding-top:clamp(24px,4dvh,42px)}
.is-home .hero-house{width:clamp(235px,43vw,300px);height:clamp(160px,23dvh,220px);bottom:0}
.is-home .menu-grid{flex:1;min-height:270px;max-height:410px;grid-template-rows:repeat(2,minmax(130px,1fr));gap:14px}
.is-home .menu-card{display:flex;flex-direction:column;justify-content:center;padding:22px;min-height:130px;border-radius:24px}
.is-home .menu-icon{height:42px;font-size:37px;margin-bottom:15px}
.is-home .menu-card strong{font-family:'Pretendard',sans-serif;font-size:23px;font-weight:700;line-height:1.4;letter-spacing:-.7px;color:#35394f}
.is-home .menu-card small{font-size:13px;font-weight:500;line-height:1.5;margin-top:7px;opacity:1;color:#626278}
.is-home .welcome-note{margin:22px 0 4px;flex-shrink:0}
@media(max-width:380px){.is-home .menu-card{padding:16px}.is-home .menu-card strong{font-size:20px}.is-home .menu-card small{font-size:12px}}
@media(max-height:800px){.is-home .welcome-hero{height:165px;margin-bottom:12px}.is-home .hero-text{padding-top:16px}.is-home .hero-house{height:145px;width:215px}.is-home .menu-grid{min-height:230px;grid-template-rows:repeat(2,minmax(110px,1fr));gap:10px}.is-home .menu-card{min-height:110px;padding:14px 16px;border-radius:19px}.is-home .menu-icon{font-size:28px;height:29px;margin-bottom:7px}.is-home .menu-card strong{font-size:20px}.is-home .menu-card small{font-size:12px;margin-top:4px}.is-home .welcome-note{margin-top:14px}}

@media(max-width:480px){.is-home .menu-card{padding:16px}.is-home .menu-card strong{font-size:20px;word-break:keep-all}.is-home .menu-card small{font-size:12px}.is-home .welcome-hero{height:clamp(165px,24dvh,215px)}.is-home .hero-house{width:235px;height:165px}.is-home .menu-grid{max-height:380px}}

/* Clear, easy-to-tap shortcuts at the bottom of the consultation. */
.bottom-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}
.bottom-nav :is(button,a){min-height:48px;padding:9px 5px;border:1px solid #e4e4e7;border-radius:14px;background:#f8f8f9;color:#53535b;font-size:22px;gap:6px;box-shadow:0 2px 5px #00000005;transition:background .15s,transform .15s}
.bottom-nav svg{flex-shrink:0}
.bottom-nav span{font-size:13px;font-weight:600;white-space:nowrap}
.bottom-nav :is(button,a):hover{filter:brightness(.97)}
.bottom-nav :is(button,a):active{transform:translateY(1px)}
.is-home .bottom-nav{margin-top:0}
@media(max-width:360px){.bottom-nav{gap:6px}.bottom-nav :is(button,a){font-size:19px;gap:4px}.bottom-nav span{font-size:12px}}

.profile-trigger{padding:0;flex-shrink:0;cursor:zoom-in;transition:transform .15s,box-shadow .15s}
.profile-trigger:hover{transform:scale(1.05);box-shadow:0 3px 12px #9a83bc30}
.profile-dialog{width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 40px);border:0;padding:0;background:#f8f4ff;border-radius:26px;overflow:auto;box-shadow:0 24px 90px #16112355}
.profile-dialog::backdrop{background:#211c31c9;backdrop-filter:blur(8px)}
.profile-close{position:absolute;z-index:1;top:12px;right:12px;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#ffffffed;color:#6d5d85;font-size:28px;box-shadow:0 2px 12px #75628b18}
.profile-photo{margin:0;text-align:center}
.profile-photo>img{display:block;width:100%;max-height:65dvh;object-fit:contain;background:#f8f4ff}
.profile-photo figcaption{padding:19px 20px 23px;background:#fffafc}
.profile-photo h2{font-family:'Gowun Dodum','Pretendard',sans-serif;font-size:25px;font-weight:400;margin:0;color:#655480}
.profile-photo p{font-size:13px;color:#9486a6;margin:5px 0 0}

.profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.profile-actions a,.profile-actions button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px;border-radius:15px;font-size:14px;font-weight:600;background:#edf2ff;color:#5a70b4}
.profile-actions button{background:#eee5ff;color:#8160ad}
.profile-actions span{font-size:23px;font-weight:400}
.profile-actions a:hover,.profile-actions button:hover{filter:brightness(.97)}
@media(max-height:700px){.profile-photo>img{max-height:52dvh}.profile-photo figcaption{padding:12px 16px 16px}.profile-actions{margin-top:12px}}

/* A readable, mobile-first booking sheet. */
.about-guide-menu{display:grid;gap:8px;margin:8px 0 18px 42px;max-width:340px}
.about-menu-title{font-size:12px;color:#858296;margin:0 0 2px}
.about-guide-button{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;min-height:46px;width:100%;padding:11px 14px;background:#fff;border:1px solid #e5dff2;border-radius:13px;color:#665b79;font-size:14px}
.about-guide-button:hover{background:#f5f2fc}
.about-guide-button:disabled{opacity:.55;cursor:wait}
.about-chevron{font-size:21px;color:#9988b3}
.about-source{display:block;font-size:12px;color:#776198;text-decoration:underline;margin:10px 0}
.consultation-controls{margin:4px 0 18px 42px}
.quick-replies{display:flex;flex-wrap:wrap;gap:8px}
.quick-reply{min-height:44px;padding:10px 17px;border:1px solid #dcd6ec;border-radius:22px;background:#fff;color:#62577b;font-size:14px}
.quick-reply:hover{background:#f0ecfb;border-color:#a99ad0}
.quick-hint{font-size:12px;line-height:1.6;color:#8a8399;margin:9px 0 0}
.condition-summary{background:#fff;border:1px solid #e4dff0;border-radius:18px;padding:18px;margin-top:14px;box-shadow:0 4px 16px #9182b409}
.condition-summary h3{font-size:16px;color:#514968;line-height:1.5;margin:0 0 12px}
.condition-summary dl,.booking-confirmed>dl{margin:0 0 14px}
.condition-summary .condition-item,.booking-confirmed>.condition-item{padding:8px 0}
.condition-summary dd,.booking-confirmed dd{font-size:14px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}
.condition-summary .condition-item,.booking-confirmed .condition-item{display:grid;grid-template-columns:86px minmax(0,1fr);gap:10px;align-items:start;padding:7px 0}
.condition-summary dt,.booking-confirmed dt{font-size:11px;line-height:1.6;margin:0}
.condition-summary dd,.booking-confirmed dd{font-size:13px;margin:0}
.summary-actions{display:flex;flex-wrap:wrap;gap:8px}
.summary-actions button{flex:1;min-height:44px;padding:11px 12px;border-radius:12px;font-size:13px;line-height:1.5}
.summary-primary{background:#eee9fc;color:#65528e;border:1px solid #ded4f3}
.summary-secondary{background:#f8f7fa;color:#797286;border:1px solid #e9e6ed}
.summary-visit{border-top:1px solid #eeeaf4;margin-top:16px;padding-top:13px}
.summary-visit p{font-size:14px;line-height:1.7;color:#665c78;margin:0 0 12px}
.summary-visit small{display:block;font-size:11px;color:#91899f;line-height:1.6;margin-top:10px}
.condition-editor input,.condition-editor textarea,.condition-editor select{font-size:16px;min-height:46px}
.summary-edit-more>summary,.booking-condition-edit>summary{cursor:pointer;color:#76648f;font-size:14px;padding:12px 0;min-height:44px}
.booking-condition-edit>.booking-section{border:0;box-shadow:none;padding:0;margin:0}
@media(max-width:400px){.consultation-controls{margin-left:0}.condition-summary{padding:15px}.summary-actions button{font-size:12px;padding:10px 8px}}
.header-title{min-width:0}
.header-title strong{font-size:23px}
.header-title .ai-badge{font-size:11px;padding:5px 6px}
.header-title>span{font-size:13px;line-height:1.4;color:#78738a}
.chat-header>.avatar{width:50px;height:50px;flex-shrink:0}
.chat-more{position:relative;margin-left:auto;flex-shrink:0}
.chat-more-trigger{width:44px;height:44px;font-size:28px;color:#666b89;border-radius:14px}
.chat-more-trigger:hover,.chat-more-trigger[aria-expanded=true]{background:#f0edff}
.chat-more-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:5;min-width:168px;padding:6px;background:#fff;border:1px solid #e6e3f0;border-radius:15px;box-shadow:0 8px 28px #51497824}
.chat-more-panel button{width:100%;min-height:46px;padding:12px;display:flex;align-items:center;gap:10px;text-align:left;font-size:14px;color:#5a5c78;border-radius:10px;white-space:nowrap}
.chat-more-panel button:hover{background:#f6f3ff}
.chat-more-panel button span{font-size:20px;color:#9180bc}
.booking-dialog{width:min(560px,calc(100% - 24px));padding:0;background:linear-gradient(160deg,#f8fbff,#fffaf5 65%,#fcf9ff);border-color:#fff;border-radius:24px;max-height:92dvh;box-shadow:0 20px 70px #6978a526}
.booking-dialog::backdrop{background:#67759a29;backdrop-filter:blur(2px)}
.booking-dialog .modal-header{position:sticky;top:0;z-index:2;margin:0;padding:16px 20px;background:#fff;border-bottom:1px solid #e8e9f3}
.booking-dialog .modal-header h2{font-size:20px;font-weight:700;color:#3d425b}
.booking-form{padding:0 16px 16px}
.booking-intro{font-size:13px;color:#626d86;line-height:1.7;margin:18px 4px}
.booking-section{background:#fff;border:1px solid #e7e9f4;border-radius:19px;padding:20px;margin:14px 0;box-shadow:0 3px 12px #7c87b006}
.booking-section h3{display:flex;align-items:center;gap:9px;font-size:16px;margin:0 0 12px;letter-spacing:-.4px;color:#414864}
.booking-number{display:grid;place-items:center;width:25px;height:25px;border-radius:9px;font-size:12px;background:#eaf0ff;color:#6d82cd}
.booking-section:nth-of-type(2) .booking-number{background:#f0e8ff;color:#9973c1}
.booking-section:nth-of-type(3) .booking-number{background:#fff0df;color:#ba8a54}
.booking-help{font-size:12px;line-height:1.6;color:#717b92;margin:4px 0 12px}
.booking-form .form-field{font-size:13px;font-weight:600;color:#565d79;margin:18px 0}
.booking-form .form-field input,.booking-form .form-field textarea,.booking-form .form-field select{font-size:16px;font-weight:400;background:#fff;border-color:#d9e2f0;border-radius:12px;min-height:48px}
.booking-form input::placeholder,.booking-form textarea::placeholder{font-size:13px;color:#858fa5}
.booking-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}
.booking-grid .form-field{min-width:0;margin-bottom:8px}
.booking-choice{margin:18px 0;padding:0;border:0;min-width:0}
.booking-choice legend{font-size:13px;font-weight:600;color:#565d79;padding:0;margin-bottom:9px}
.booking-chips{display:flex;gap:8px;flex-wrap:wrap}
.booking-chip{position:relative;cursor:pointer;flex:1 0 auto}
.booking-chip input{position:absolute;opacity:0;width:1px;height:1px}
.booking-chip span{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;border:1px solid #dce6f5;border-radius:11px;background:#f7fbff;color:#616e89;font-size:13px;white-space:nowrap;transition:background .12s,border-color .12s}
.booking-chip input:checked+span{background:#eaf3ff;border-color:#8bafee;color:#3c65aa;font-weight:600}
.booking-chip input:focus-visible+span{outline:3px solid #b5c3ff;outline-offset:2px}
.booking-pet-details{background:#f8f5ff;padding:0 12px 12px;border-radius:13px;border:1px solid #ece4fb}
.booking-privacy,.booking-retained{font-size:12px;color:#84899b;line-height:1.7;margin:15px 0}
.booking-privacy summary,.booking-retained summary{cursor:pointer;min-height:36px;display:list-item;padding:7px 0}
.booking-form .check-label{font-size:13px;align-items:center;min-height:32px}
.booking-form .check-label input{width:20px;height:20px}
.booking-form .notice-box{font-size:11px;line-height:1.7}
.booking-submit{position:sticky;bottom:-16px;background:#fffaf8f5;padding:10px 0 2px;z-index:1}
.booking-submit .full-button{margin:0;min-height:50px;font-size:15px;border-radius:14px;background:linear-gradient(120deg,#668de8,#9573df);box-shadow:0 5px 12px #7d8cd32b}
.booking-submit .form-error:empty{display:none}
.booking-submit .form-error{margin:0 0 8px}
@media(max-width:480px){.booking-section{padding:16px}.booking-form{padding-right:12px;padding-left:12px}.booking-grid{gap:9px}.booking-dialog .modal-header{padding:13px 16px}.booking-chip span{padding:10px;font-size:13px}}

.booking-calendar{border-top:1px solid #edf0f7;padding-top:14px;margin-top:14px}.calendar-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.calendar-header strong{font-size:16px;color:#4c5779}.calendar-arrow{width:40px;height:40px;border-radius:12px;background:#f1f3ff;color:#7589c8;font-size:25px}.calendar-arrow:disabled,.calendar-day:disabled,.time-slot:disabled{opacity:.3;cursor:default}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.calendar-week{font-size:11px;text-align:center;color:#9ba2b8;margin-bottom:6px}.calendar-day{min-height:40px;border-radius:11px;font-size:14px;color:#646e89}.calendar-day:hover:not(:disabled){background:#eef1fc}.calendar-day[aria-pressed=true]{background:#8499e5;color:#fff;font-weight:700}.calendar-week span:first-child{color:#d08e9b}.booking-selection{background:#f1edfc;border-radius:11px;padding:12px;font-size:12px;color:#8975aa}.time-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.time-slot{min-height:40px;border:1px solid #e1e6f3;border-radius:10px;font-size:13px;background:#fafbff;color:#8791ab}.time-slot[aria-pressed=true]{background:#eef0ff;border-color:#9b9bdd;color:#7976bc;font-weight:700}
/* Keep the conversation visible while typing; restore navigation on blur. */
.bottom-nav{max-height:64px;overflow:hidden;opacity:1;transition:max-height .22s ease,margin-top .22s ease,opacity .15s ease}
@media(hover:none) and (pointer:coarse){
.chat-footer:has(#messageInput:focus) .bottom-nav{max-height:0;margin-top:0;opacity:0;visibility:hidden;pointer-events:none}
.chat-shell:has(#messageInput:focus) .chat-viewport{overflow-anchor:none}
}
.chat-footer{transition:padding .22s ease}
@media(prefers-reduced-motion:reduce){.bottom-nav,.chat-footer{transition:none}}
@media(max-width:760px){
  .composer{padding:4px;border-radius:15px;gap:4px}
  .composer textarea{min-height:32px;max-height:72px;padding:4px 0}
  .composer .send-button{width:32px;height:32px;border-radius:10px}
  .composer .attach-button{height:32px}
}
@media(max-width:760px) and (hover:none) and (pointer:coarse){
  .chat-footer:has(#messageInput:focus){padding:6px 12px calc(6px + env(safe-area-inset-bottom))}
}
/* Readable messages and a compact, comfortable composer. */
.chat-viewport{min-height:0}
.messages{padding:20px 16px}
.message-row{gap:9px;margin-bottom:22px}
.bubble{font-size:15px;line-height:1.65;letter-spacing:-.15px;color:#343447;padding:12px 14px;border-color:#e3e0ed}
.user .bubble{color:#393449}
.message-name{color:#706980;font-size:11px;margin-bottom:6px}
.message-time{color:#827b90;font-size:10px;margin-top:6px}
.composer{background:#fff;border-color:#d6d0e5;padding:4px 5px 4px 12px;align-items:center}
.composer:focus-within{border-color:#8a79c7;box-shadow:0 0 0 2px #a79ada20}
.composer textarea{font-size:16px;line-height:1.5;color:#343447;padding:6px 0;max-height:80px;outline:none}
.composer textarea::placeholder{color:#837b94}
.composer textarea:focus-visible{outline:none}
.composer .send-button{width:40px;height:40px;border-radius:12px;flex-shrink:0}
@media(max-width:760px){
  .workspace{height:calc(var(--chat-screen-height,100dvh) - 28px)}
  .messages{padding:18px 12px}
  .message-content{max-width:calc(100% - 42px)}
  .user .message-content{max-width:88%}
  .bubble{padding:12px 14px}
  .composer textarea{max-height:72px}
}
.booking-dialog.booking-input-active{overflow-anchor:none}
.booking-focus-space{pointer-events:none}
@media(max-width:760px){
  .booking-dialog.booking-input-active{position:fixed;margin:0 auto;top:calc(var(--booking-visible-top,0px) + 10px);bottom:auto;max-height:calc(var(--booking-visible-height,100dvh) - 20px)}
}
.chat-visit-form{display:grid;gap:12px}
.chat-visit-form .form-field{margin:0}
.chat-visit-form input:not([type=checkbox]){font-size:16px;min-height:44px}
.chat-visit-form p{margin:0}
.chat-visit-form details{font-size:13px;line-height:1.6}
.chat-visit-form .summary-primary{min-height:46px}
.chat-visit-fields{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:10px}
.chat-visit-phone{grid-column:1/-1}
.chat-visit-form h3{margin:0}
.chat-visit-form .booking-privacy{margin:0}
.chat-visit-form .check-label{margin:0;min-height:32px;align-items:center}
.chat-visit-form .check-label input{width:20px;height:20px;min-height:0;flex-shrink:0;margin:0}
.chat-visit-form .form-error:empty{display:none}
.visit-step-choices{display:grid;gap:10px}
.visit-date-choice{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px}
.visit-date-choice input{min-height:44px;max-width:100%;font-size:16px;border:1px solid #dcd6ec;border-radius:10px;background:#fff;color:#484153;padding:6px}
.chat-visit-form>div>p,.chat-visit-form>div>details,.chat-visit-form>div>.check-label{margin-bottom:12px}
.visit-step-choices{border:1px solid #e8e5ef;background:#fff;border-radius:18px;padding:14px;gap:12px}
.visit-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.visit-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:48px;padding:10px 4px;border:1px solid #dfd9ed;border-radius:12px;background:#faf8ff;color:#51466b;font-size:14px;line-height:1.35;cursor:pointer}
.visit-choice:hover,.visit-choice:focus-visible{background:#eee8fc;border-color:#a495ca}
.visit-choice strong{font-size:15px;font-weight:600}
.visit-choice small{font-size:11px;color:#756b88;white-space:nowrap}
.visit-selection{margin:0;font-size:13px;font-weight:600;color:#645584}
.visit-other{font-size:13px;color:#655d74}
.visit-other summary{cursor:pointer;min-height:36px;display:flex;align-items:center}
.visit-other summary:after{content:'⌄';margin-left:auto}
.visit-other[open] summary:after{content:'⌃'}
.visit-other input{flex:1;min-width:0}
.visit-later{border:0;background:none;color:#7b7487;font-size:12px;padding:7px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.chat-visit-form .summary-actions{position:sticky;bottom:0;background:#fff;padding:8px 0 2px}
.past-requests{margin:8px 0 12px 42px;font-size:12px;color:#82798f}
.past-requests summary{cursor:pointer;padding:8px 0}
.prior-contact-choices{display:grid;gap:9px}
.prior-contact-choice{min-height:48px;padding:13px 16px;text-align:left;border:1px solid #dfd9ed;border-radius:13px;background:#faf8ff;color:#51466b;font-size:14px;line-height:1.5}
.prior-contact-choice:hover,.prior-contact-choice:focus-visible{background:#eee8fc;border-color:#a495ca}
.staff-summary h4{font-size:13px;margin:16px 0 6px;color:#66577f}
.staff-summary ul{padding-left:19px;margin:0;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.staff-summary details{margin-top:15px;font-size:12px;color:#82798f}
.staff-summary p{white-space:pre-wrap;overflow-wrap:anywhere}
.guide-message{margin-bottom:10px}
.guide-message .message-content{min-width:0;max-width:calc(100% - 42px);flex:1}
.guide-continuation{padding-left:42px}
.guide-continuation .message-content{max-width:100%}
.guide-bubble{padding:16px;white-space:normal;background:#fff;box-shadow:none}
.guide-section-title{display:flex;align-items:flex-start;gap:9px;margin:0 0 12px;font-size:15px;font-weight:750;line-height:1.5;color:#292638;word-break:keep-all;overflow-wrap:anywhere}
.guide-step{flex-shrink:0;color:#75639e;font-size:16px;line-height:1.4}
.guide-copy p{margin:0 0 9px;font-size:14px;line-height:1.75;color:#464252;word-break:keep-all;overflow-wrap:anywhere}
.guide-copy p:last-child{margin-bottom:0}
@media(max-width:480px){.guide-bubble{padding:14px}.guide-section-title{font-size:14px}.guide-copy p{font-size:14px;line-height:1.7}}

/* Familiar attachment button, native album picker, and compact photo sheet. */
.composer{padding-left:4px;gap:5px}
.composer .attach-photo{width:38px;height:38px;flex:0 0 38px;border-radius:50%;font:28px/1 sans-serif;color:#757580;display:grid;place-items:center}
.attach-photo:hover{background:#f0f0f3}
.photo-draft{padding:3px 3px 8px}.photo-draft-open{font-size:13px;color:#61508e;background:#f0ebfa;padding:8px 12px;border-radius:12px}
.photo-sheet{width:min(100%,480px);max-width:100%;max-height:85dvh;margin:auto auto 0;border:0;border-radius:24px 24px 0 0;padding:12px 20px calc(18px + env(safe-area-inset-bottom));background:#fff;color:#343443}
.photo-sheet::backdrop,.photo-viewer::backdrop{background:#25263570}
.sheet-handle{width:40px;height:5px;background:#dddde2;border-radius:10px;margin:0 auto 14px}
.photo-sheet-heading{display:flex;align-items:center;justify-content:space-between}.photo-sheet-heading h2{margin:0;font-size:19px;font-weight:700}
.photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0 12px}.photo-actions button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:64px;border:1px solid #e8e7ed;background:#f7f7fa;border-radius:16px;font-size:15px;font-weight:600}.photo-actions span{font:28px/1 sans-serif;color:#6a6788}
.photo-help{font-size:12px;line-height:1.6;color:#7a7886;margin:12px 0}
.photo-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-height:34dvh;overflow:auto;padding:4px}
.photo-preview-item{position:relative;aspect-ratio:1}.photo-preview-item img{width:100%;height:100%;object-fit:cover;border-radius:12px}
.remove-photo{position:absolute;top:3px;right:3px;width:30px;height:30px;border-radius:50%;background:#333a;color:#fff;font:24px/1 sans-serif}.photo-order{position:absolute;bottom:6px;left:6px;background:#fff;color:#555;border-radius:50%;width:22px;height:22px;text-align:center;font-size:12px;line-height:22px}
.chat-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:240px;max-width:100%;margin-top:6px}.chat-photos:has(>:only-child){grid-template-columns:1fr}.chat-photo{padding:0;aspect-ratio:1;overflow:hidden;border-radius:10px}.chat-photo img{width:100%;height:100%;object-fit:cover;display:block}
.photo-viewer{padding:42px 12px 12px;border:0;background:#202027;border-radius:16px;width:min(94vw,850px);max-height:90dvh}.photo-viewer img{display:block;max-width:100%;max-height:77dvh;object-fit:contain;margin:auto}.photo-viewer button{position:absolute;right:8px;top:4px;color:#fff;font-size:30px;width:40px;height:38px}
.listing-summary{background:#f7f5fc;padding:14px;border-radius:14px;margin:12px 0}.listing-summary h3{font-size:15px;margin:0 0 8px}.listing-summary dl{margin:0}.listing-summary .condition-item{font-size:13px}

.listing-contact-form{padding:16px;border:1px solid #e3ddef;border-radius:16px;background:white;margin:12px 0}.listing-contact-form h3{font-size:16px;margin:0}.listing-contact-form .form-field{margin-top:12px}

.guide-action{display:block;margin-top:10px;padding:12px 16px;border-radius:12px;background:#efecf9;border:1px solid #dcd5ed;color:#61518b;font-size:14px;font-weight:600;text-align:center}.guide-action:hover{background:#e7e1f4}

.chat-header .header-call{width:42px;height:42px;flex:0 0 42px;color:#7762b5;border-radius:50%;background:linear-gradient(145deg,#f5f0ff,#e8e0fb);border:1px solid #e1d8f3;box-shadow:inset 0 1px 0 #ffffffd9,0 3px 9px #7762b515;transition:background .16s,box-shadow .16s,transform .16s}
.chat-header .header-call svg{width:21px;height:21px;stroke-width:1.8;fill:#7762b514}
.chat-header .header-call:hover{background:linear-gradient(145deg,#eee7fc,#ded2f5);box-shadow:0 4px 12px #7762b528}
.chat-header .header-call:active{transform:scale(.94);box-shadow:inset 0 1px 3px #7762b51a}
.chat-header .header-call:focus-visible{outline:3px solid #ac96d6;outline-offset:3px}
.chat-header .chat-more{margin-right:-5px}
@media(prefers-reduced-motion:reduce){.chat-header .header-call{transition:none}}

/* One quiet visual language across all four conversations. */
.chat-progress{display:flex;align-items:center;justify-content:center;gap:18px;flex-shrink:0;padding:9px 12px;background:#fcfbff;border-bottom:1px solid #eeeaf6}
.chat-progress[hidden]{display:none}
.chat-progress span{display:flex;gap:5px;align-items:center;color:#9992a5;font-size:11px;line-height:1.4;white-space:nowrap}
.chat-progress i{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;font:600 10px/1 'Pretendard',sans-serif;background:#f0edf5;color:#938a9f}
.chat-progress .active{color:#655188;font-weight:700}.chat-progress .active i{background:#e9e0f7;color:#6a50a0}
.chat-progress .complete i{background:#e8f2ed;color:#567d69}
.chat-progress{gap:4px;padding:4px 8px}
.chat-progress-step{display:flex;flex:1;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:6px 4px;border-radius:10px;border-bottom:3px solid #eeeaf5}
.chat-progress-step.active{background:#f4effb;border-bottom-color:#b69acf}
.chat-progress-step.complete{border-bottom-color:#8ab89c}
.chat-progress-step.complete span{color:#567d69}
.chat-progress-step:disabled{opacity:.6;cursor:default}
.chat-progress-step:not(:disabled):hover{background:#eee7f8}
.progress-jump-target{animation:progress-jump-highlight 1.8s ease-out}
@keyframes progress-jump-highlight{0%,40%{background-color:#eee3fc;box-shadow:0 0 0 5px #eee3fc;border-radius:12px}100%{background-color:transparent;box-shadow:0 0 0 0 transparent}}
@media(prefers-reduced-motion:reduce){.progress-jump-target{animation:none;outline:2px solid #b69acf;outline-offset:3px}}
.about-guide-menu{gap:9px;max-width:360px}
.about-menu-title{font-size:12px;color:#80748f;font-weight:600;letter-spacing:-.2px;margin-bottom:3px}
.about-guide-button{font-family:'Pretendard','맑은 고딕',sans-serif;font-size:14px;font-weight:550;line-height:1.6;padding:12px 14px;min-height:48px;border-radius:15px;color:#514760;border-color:#e7e1ef;background:#fff;box-shadow:0 2px 5px #69538104;word-break:keep-all}
.about-chevron{font-size:21px;color:#b1a0c4;font-weight:400;flex-shrink:0}
.about-guide-button:hover,.prior-contact-choice:hover,.quick-reply:hover{background:#f6f2fc;border-color:#cdbddd}
.prior-contact-choice{border-radius:15px;background:#fff;color:#514760;min-height:48px;border-color:#e7e1ef;font-weight:550}
.quick-reply{border-radius:18px;min-height:44px;padding:10px 16px;color:#5c4c76;border-color:#e2d9ed;font-weight:550}
.visit-choice{border-radius:15px;border-color:#e7e1ef;background:#fff;color:#514760}
.guide-copy .guide-subheading{font-size:14px;font-weight:700;line-height:1.6;color:#574569;margin:16px 0 8px;word-break:keep-all}
.guide-copy .guide-subheading:first-child{margin-top:0}
.guide-copy p{line-height:1.8;color:#4d4656;margin-bottom:8px}
.guide-bubble{border-radius:16px;border-color:#e9e3ef}
.condition-summary{border-radius:18px;padding:17px;border-color:#e5dced;box-shadow:0 3px 12px #745a9108}
.condition-summary h3{font-size:15px;font-weight:700;color:#514064}
.quick-hint{font-size:12px;color:#84798f;line-height:1.65}
.request-status-card{margin:8px 0 16px 36px;padding:16px 18px;border:1px solid #e0d6ef;border-radius:18px;background:#f6f1fc;color:#594572}
.request-status-card strong{font-size:15px}.request-status-card p{font-size:13px;line-height:1.6;margin:6px 0}.request-status-card small{display:block;color:#80718e;font-size:12px}.request-status-card button{display:block;margin-top:12px;color:#84758d}
.chat-footer{position:relative;z-index:3;flex:0 0 auto;background:#fff;min-width:0}
.composer{min-height:44px;border-radius:20px;background:#fff}
.composer textarea{color:#393440}
@media(hover:none) and (pointer:coarse){.composer textarea{font-size:16px}.chat-header .header-call{width:44px;height:44px;flex-basis:44px}}
@media(max-width:360px){.chat-progress{gap:12px}.about-guide-menu,.consultation-controls{margin-left:20px}.about-guide-button{padding:11px 12px}.request-status-card{margin-left:20px}}
.staff-overview{border:1px solid #e2d9ec;background:#faf7fe;border-radius:17px;padding:18px;margin:14px 0 20px}
.staff-overview h3{margin:0 0 10px;font-size:16px;color:#58446e}.staff-overview .condition-item{padding:8px 0}.staff-overview .condition-item dt{color:#796b87;font-size:12px}.staff-overview .condition-item dd{font-size:14px;color:#3e3549}
.staff-overview .staff-owner{display:block;margin:8px 0;padding:10px 12px;border-radius:10px;background:#f1e7d6;color:#735633;font-size:13px}
.notification-state{display:inline-block;border-radius:9px;background:#f0ecf5;color:#71627f;font-size:12px;padding:5px 8px;margin:6px 0}
.admin-thread-details>summary{cursor:pointer;font-weight:600;padding:12px 0;color:#655273}

/* Mobile visual refresh: readable type, quiet surfaces, clear primary action. */
.chat-shell{--angel-ink:#332d43;--angel-muted:#70687e;--angel-accent:#7252ad;color:var(--angel-ink);border-color:#e6dfed;box-shadow:0 16px 64px #51406e0c}
.chat-shell .chat-header{background:#fff;border-bottom:1px solid #ece7f1;padding:18px 20px;gap:12px}
.chat-shell .header-title strong{font-family:'Pretendard',sans-serif;font-size:22px;font-weight:750;color:#332d43}
.chat-shell .header-title>span{font-size:12px;color:#70687e}
.chat-shell .ai-badge{background:#eee7f9;color:#7252ad;font-size:10px}
.chat-shell .avatar{border:1px solid #e9e0f3;border-radius:16px}
.chat-shell .chat-viewport{background:#faf9fc}
.chat-shell.is-home .welcome{padding:8px 20px 18px;justify-content:flex-start}
.chat-shell.is-home .welcome-hero{height:190px;min-height:190px;margin:0 0 16px;overflow:hidden}
.chat-shell.is-home .hero-text{padding-top:22px;position:relative;z-index:1}
.chat-shell .welcome-badge{font:600 11px/1.5 'Pretendard',sans-serif;letter-spacing:.1px;color:#77628f;margin-bottom:12px}
.chat-shell .welcome h2{font-family:'Pretendard',sans-serif;font-size:28px;font-weight:750;letter-spacing:-1px;line-height:1.35;color:#332d43}
.chat-shell .welcome h2 span{color:#7252ad}
.chat-shell .hero-text>p{font-family:'Pretendard',sans-serif;font-size:13px;line-height:1.7;color:#70687e;margin-top:12px}
.chat-shell.is-home .hero-house{width:215px;height:155px;right:-28px;bottom:4px;opacity:.9}
.chat-shell.is-home .menu-grid{flex:0 0 auto;min-height:0;max-height:none;grid-template-rows:repeat(2,minmax(142px,auto));gap:12px}
.chat-shell.is-home .menu-card{min-width:0;min-height:142px;justify-content:flex-start;padding:18px;border:1px solid #e6dfed;background:#fff;border-radius:20px;box-shadow:0 3px 12px #44305704;text-align:left;transition:background .16s,border-color .16s,transform .16s}
.chat-shell.is-home .menu-card.primary{background:#eee7fa;border-color:#d8c7ef}
.chat-shell.is-home .menu-card:hover{background:#f4effb;border-color:#bda6da}
.chat-shell.is-home .menu-card:active{transform:scale(.98)}
.chat-shell.is-home .menu-icon{width:38px;height:38px;display:grid;place-items:center;margin-bottom:13px;background:#f4f0f9;color:#79589e;border-radius:12px}
.chat-shell.is-home .primary .menu-icon{background:#fff9;color:#7252ad}
.chat-shell .menu-icon svg{width:25px;height:25px}
.chat-shell.is-home .menu-card strong{font-size:19px;line-height:1.4;letter-spacing:-.6px;color:#332d43;word-break:keep-all}
.chat-shell.is-home .menu-card small{font-family:'Pretendard',sans-serif;font-size:12px;line-height:1.5;color:#70687e;margin-top:5px;word-break:keep-all}
.chat-shell .card-arrow{color:#9684ac;top:18px;right:17px;font-size:16px}
.chat-shell.is-home .welcome-note{margin:18px 0 0;font-family:'Pretendard',sans-serif;font-size:12px;line-height:1.6;color:#776e83}
.chat-shell .bottom-nav{gap:6px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #ece7f1;background:#fff}
.chat-shell .bottom-nav button,.chat-shell .bottom-nav a{min-height:48px;border:0;border-radius:14px;background:#f7f5fa;color:#655575;font-family:'Pretendard',sans-serif;font-size:12px;gap:7px}
.chat-shell.is-home #homeButton{background:#eee7f8;color:#7252ad;font-weight:700}
.chat-shell .bubble{font-family:'Pretendard',sans-serif;color:#393242;font-size:15px;line-height:1.75;border:1px solid #eae4f0;box-shadow:0 2px 6px #44305703;padding:13px 16px;border-radius:18px}
.chat-shell .user .bubble{background:#eee6fa;border-color:#e3d5f4;color:#4e386d}
.chat-shell .message-name{color:#796e87;font-size:12px;margin-bottom:6px}
.chat-shell .composer{border:1px solid #ded4e9;background:#fff;box-shadow:0 2px 8px #44305706;padding:6px;border-radius:22px}
.chat-shell .composer textarea{font-family:'Pretendard',sans-serif;font-size:16px;line-height:1.5}
.chat-shell .send-button{background:#7855ad;color:white;min-width:40px;min-height:40px;border-radius:50%}
.chat-shell .chat-more-panel{min-width:220px;padding:8px;border-radius:18px;box-shadow:0 12px 36px #33204420}
.chat-shell .chat-more-panel button{font-family:'Pretendard',sans-serif;font-size:14px;min-height:48px;padding:12px;color:#51405f}
.chat-shell #leaveChatButton{border-top:1px solid #eee7f3;border-radius:0 0 10px 10px;color:#82516e}
.chat-shell button:focus-visible,.chat-shell a:focus-visible{outline:3px solid #a68ac8;outline-offset:3px}
@media(max-width:380px){.chat-shell .chat-header{padding:14px;gap:8px}.chat-shell .header-title>span{font-size:10px}.chat-shell.is-home .welcome{padding-left:16px;padding-right:16px}.chat-shell.is-home .hero-house{width:175px;height:135px;right:-40px}.chat-shell .welcome h2{font-size:26px}.chat-shell.is-home .menu-card{padding:15px}.chat-shell.is-home .menu-card strong{font-size:17px}.chat-shell.is-home .menu-card small{font-size:11px}}
@media(max-height:700px){.chat-shell.is-home .welcome-hero{height:165px;min-height:165px;margin-bottom:10px}.chat-shell.is-home .hero-text{padding-top:14px}.chat-shell.is-home .menu-grid{grid-template-rows:repeat(2,minmax(128px,auto))}.chat-shell.is-home .menu-card{min-height:128px;padding:14px 16px}.chat-shell.is-home .menu-icon{margin-bottom:8px;width:32px;height:32px}.chat-shell.is-home .welcome-note{margin-top:12px}}
@media(prefers-reduced-motion:reduce){.chat-shell.is-home .menu-card{transition:none}}

/* Soft accents for the home center; preserve the familiar two-column layout. */
.chat-shell.is-home .chat-viewport{background:linear-gradient(180deg,#fcfaff 0%,#faf9fd 65%,#fffaf5 100%)}
.chat-shell.is-home .welcome{padding-top:16px}
.chat-shell.is-home .welcome-hero{border:1px solid #ece2f5;border-radius:24px;background:radial-gradient(ellipse at 100% 85%,#ffe9cf 0%,transparent 56%),linear-gradient(120deg,#f4ecff,#fffcf8);box-shadow:inset 0 1px 0 #fff,0 5px 18px #79639307}
.chat-shell.is-home .hero-text{padding-left:17px}
.chat-shell.is-home .welcome-badge{display:inline-block;font-size:10px;padding:5px 9px;background:#ffffffb8;border:1px solid #eee4f5;border-radius:20px;color:#79628d;margin-bottom:10px}
.chat-shell.is-home .welcome h2{font-size:26px;line-height:1.4}
.chat-shell.is-home .hero-text>p{color:#74667e;font-size:12px;margin-top:9px}
.chat-shell.is-home .hero-house{mix-blend-mode:multiply;width:180px;height:145px;right:-25px;bottom:0;opacity:.88}
.chat-shell.is-home .menu-card{box-shadow:0 5px 14px #66517d09,inset 0 1px 0 #ffffff;border-color:#e8deef;border-radius:21px}
.chat-shell.is-home .menu-card[data-intent="search"]{background:linear-gradient(140deg,#eee4fc,#f7f2ff);border-color:#d9c8ef}
.chat-shell.is-home .menu-card[data-intent="list"]{background:linear-gradient(140deg,#fff0e5,#fff9f3);border-color:#f0dfd0}
.chat-shell.is-home .menu-card[data-intent="questions"]{background:linear-gradient(140deg,#eaf3ff,#f6faff);border-color:#dbe6f4}
.chat-shell.is-home .menu-card[data-intent="about"]{background:linear-gradient(140deg,#fff5da,#fffbee);border-color:#eee3c7}
.chat-shell.is-home .menu-icon{background:#ffffffba;box-shadow:0 3px 8px #6f56840a;border:1px solid #ffffffc9;border-radius:13px}
.chat-shell.is-home [data-intent="list"] .menu-icon{color:#b48359}
.chat-shell.is-home [data-intent="questions"] .menu-icon{color:#6c8db7}
.chat-shell.is-home .card-arrow{display:grid;place-items:center;width:25px;height:25px;top:15px;right:15px;border-radius:50%;background:#ffffff80;color:#9987ad;font-size:14px}
.chat-shell.is-home .menu-card:hover{border-color:#baa5d4;box-shadow:0 7px 18px #66517d12}
@media(max-width:380px){.chat-shell.is-home .hero-text{padding-left:13px}.chat-shell.is-home .welcome h2{font-size:23px}.chat-shell.is-home .welcome-badge{font-size:9px;padding:4px 7px}.chat-shell.is-home .hero-house{width:145px;height:120px;right:-36px}.chat-shell.is-home .hero-text>p{font-size:11px}}
.chat-shell.is-home .welcome-hero{height:210px;min-height:210px}
@media(max-height:700px){.chat-shell.is-home .welcome-hero{height:190px;min-height:190px}.chat-shell.is-home .hero-text{padding-top:14px}.chat-shell.is-home .welcome-badge{margin-bottom:7px}}

/* Show the full conversation list in the page; selection jumps to details. */
.admin-conversation-list{max-height:none;overflow:visible;align-self:start}
.admin-conversation-list>h2{position:sticky;top:-1px;background:#fff;padding:10px 0;margin-top:0;z-index:1}
.admin-conversation-detail{min-width:0;scroll-margin-top:16px}
.admin-conversation-detail .admin-thread-details{margin:18px 0;border-top:1px solid #e6dfed}
.admin-conversation-detail .admin-thread-details>summary{font-size:15px;color:#65518a}


.admin-date-heading{margin:22px 0 12px;padding:10px 12px;border-radius:10px;background:#f0ebf8;color:#685281;font-family:'Pretendard',sans-serif;font-size:14px;font-weight:700;line-height:1.5}
.admin-date-help{margin:0 0 12px;font-size:12px;color:#82768f}
.admin-date-help+.admin-date-heading{margin-top:12px}

/* Read the full conversation in the page instead of a short nested scroll box. */
.admin-conversation-detail .admin-thread{height:auto;max-height:none;overflow:visible}

.admin-conversation-row{position:relative;margin-bottom:8px}
.admin-conversation-row .admin-conv{margin-bottom:0;padding-right:54px}
.admin-conversation-delete{position:absolute;right:7px;top:7px;width:40px;height:40px;display:grid;place-items:center;border-radius:10px;color:#9a8290;background:transparent;cursor:pointer}
.admin-conversation-delete:hover{background:#fff0f0;color:#b64c62}
.admin-conversation-delete:focus-visible{outline:2px solid #a280bc;outline-offset:1px}
.admin-conversation-delete:disabled{opacity:.45;cursor:wait}

.budget-picker{padding:12px;border:1px solid #e4d9ef;border-radius:18px;background:#faf7ff;margin:10px 0;color:#51405f}
.budget-picker-title{margin:0 0 13px;font-size:14px;font-weight:600}
.budget-picker-row{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.budget-picker-selection{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:10px 12px;border-radius:10px;background:#eee7f7;font-size:14px}
.budget-picker-selection[hidden],.budget-picker-submit[hidden]{display:none}
.budget-picker-edit{min-height:44px;min-width:48px;border-radius:8px;background:#fff;color:#7252ad;font-size:13px}
.budget-picker-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:13px;font-weight:600}
.budget-picker-field select{width:100%;min-height:54px;padding:12px 30px 12px 12px;border:1px solid #d7c8e7;border-radius:12px;background:#fff;color:#51405f;font-size:16px;cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238875a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}
.budget-wheel{position:relative;border-radius:20px;background:linear-gradient(180deg,#f3edf9,#faf7ff 50%,#f3edf9);box-shadow:inset 0 1px 10px #78609308;isolation:isolate}
.budget-wheel:before{content:'';position:absolute;top:66px;left:12px;right:12px;height:44px;background:#e9dcf6;border:1px solid #dfcdee;border-radius:12px;pointer-events:none;z-index:-1}
.budget-amount-list{height:176px;padding:66px 0;overflow-y:auto;overscroll-behavior:contain;border:0;border-radius:20px;background:transparent;scrollbar-width:none;touch-action:pan-y;scroll-snap-type:y mandatory;mask-image:linear-gradient(transparent,#000 16%,#000 84%,transparent)}
.budget-amount-list::-webkit-scrollbar{display:none}
.budget-amount-option{display:block;width:100%;height:44px;min-height:44px;padding:0 64px 0 16px;line-height:44px;border:0;text-align:center;font-size:27px;font-weight:600;font-variant-numeric:tabular-nums;color:#89769d;scroll-snap-align:center;transform-origin:calc(50% - 24px) center;backface-visibility:hidden}
.budget-amount-option{scroll-snap-stop:always;transition:transform 120ms ease-out,opacity 120ms ease-out,color 120ms ease-out}
@media(prefers-reduced-motion:reduce){.budget-amount-option{transition:none}}
.budget-amount-option.selected{background:transparent;color:#67408e;font-weight:750}
.budget-wheel-unit{position:absolute;top:66px;left:calc(50% + 48px);height:44px;line-height:44px;font-size:16px;font-weight:600;color:#79558e;pointer-events:none}
.budget-amount-list:focus-visible{outline:3px solid #c3abdf;outline-offset:2px}
.chat-shell.is-home #chatMore{display:none!important}
.budget-picker-field select:hover{border-color:#a88ac8;background-color:#fefcff}
.budget-picker-field select:focus-visible{outline:3px solid #c3abdf;outline-offset:2px}
.budget-picker-submit{width:100%;min-height:48px;margin-top:14px;border-radius:12px;background:#7855ad;color:#fff;font-size:15px;font-weight:600}
.budget-picker-submit:disabled{background:#e9e2f1;color:#9a8ba9;opacity:1;cursor:default}
.budget-picker .quick-hint{margin:10px 0 0;font-size:12px;line-height:1.6}

/* Keep more of the viewport available for the conversation. */
.chat-shell .messages{padding-left:10px;padding-right:10px}
@media(max-width:760px){.chat-shell .messages{padding-left:8px;padding-right:8px}}
.consultation-controls .booking-calendar{margin-top:0;padding-top:0;border-top:0}
.consultation-controls .calendar-header{margin-bottom:6px}
.consultation-controls .booking-selection{margin:8px 0;padding:8px 10px}
.chat-shell .message-row.assistant:has(+ .consultation-controls){margin-bottom:12px}
.chat-shell .bubble{font-size:14px;line-height:1.7;padding:10px 14px}
.chat-shell .chat-header{padding:8px 14px;gap:10px}
.chat-shell .chat-header>.avatar{width:44px;height:44px;border-radius:14px}
.chat-shell .header-title strong{font-size:20px;line-height:1.2}
.chat-shell .header-title>span{margin-top:3px;font-size:11px}
.chat-shell .chat-more-trigger{width:44px;height:44px}
.chat-shell .chat-footer{padding:6px 10px calc(6px + env(safe-area-inset-bottom))}
.chat-shell .composer{padding:2px 5px;align-items:center;border-radius:18px}
.chat-shell .composer textarea{padding:7px 0}
.chat-shell .composer .send-button{min-width:38px;min-height:38px;width:38px;height:38px}
.chat-shell .composer .attach-button{width:36px;height:44px}
.chat-shell .bottom-nav{margin-top:6px;padding:0;gap:5px;max-height:52px}
.chat-shell .bottom-nav button,.chat-shell .bottom-nav a{min-height:44px;padding:6px 4px;border-radius:11px;gap:5px}
.chat-shell .bottom-nav svg{width:19px;height:19px}
.chat-shell .bottom-nav span{font-size:12px}
@media(min-width:761px){.workspace{padding-top:12px;padding-bottom:12px;min-height:0}}

/* The list stays in place while only the selected conversation changes. */
@media(min-width:761px){
 .admin-conversation-detail{position:sticky;top:16px;align-self:start;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
}

.admin-learning-row{display:flex;align-items:flex-start;gap:8px;margin-bottom:10px}
.admin-learning-row>.bubble{flex:1;min-width:0;margin-bottom:0}
.learn-message-button{flex-shrink:0;padding:10px 8px;min-height:40px;border:1px solid #dbcbea;border-radius:10px;background:#f1e9fa;color:#79549a;font-size:12px}
.learning-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px;align-items:start}.learning-grid .admin-conv{overflow-wrap:anywhere}
.learning-original{margin-top:20px}.learning-original .bubble,.calendar-history .bubble{white-space:pre-wrap;margin:10px 0;padding:12px;border:1px solid #e7dfef;border-radius:12px;background:#faf7ff}.learning-source{outline:2px solid #b290d0}
.visit-admin-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,1fr);gap:18px;align-items:start}.visit-admin-detail{min-width:0;max-height:calc(100dvh - 40px);overflow:auto;position:sticky;top:16px}.visit-admin-detail h2{font-size:17px}
.visit-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid #e9e1f0;border-left:1px solid #e9e1f0}.visit-weekday{text-align:center;padding:10px 2px;font-size:12px;background:#f6f1fb}.visit-day,.visit-empty{min-height:105px;border-right:1px solid #e9e1f0;border-bottom:1px solid #e9e1f0;padding:4px;min-width:0}.visit-day.selected{background:#f5edff}.visit-day-number{min-height:32px;min-width:32px;border-radius:8px;font-size:13px}.visit-day.selected .visit-day-number{background:#815caf;color:#fff}
.visit-event{display:block;width:100%;padding:6px 3px;margin:3px 0;border-radius:6px;background:#ece5f7;color:#644782;font-size:11px;line-height:1.4;text-align:left;overflow-wrap:anywhere}.visit-event.selected{background:#7855ad;color:white}.visit-event.cancelled{opacity:.6;text-decoration:line-through}.calendar-today{padding:10px;border:1px solid #dfd5eb;border-radius:10px}.calendar-history summary,.learning-original summary{cursor:pointer;padding:8px 0;font-weight:600}
@media(max-width:900px){.visit-admin-layout,.learning-grid{grid-template-columns:1fr}.visit-admin-detail{position:static;max-height:none}.visit-admin-calendar{padding:12px}.visit-event{font-size:10px}.visit-day{padding:2px}}

/* Give the monthly calendar more room while keeping booking details alongside it. */
@media(min-width:901px){.admin-page:has(.visit-admin-layout){max-width:1440px}.visit-admin-layout{grid-template-columns:minmax(0,1.8fr) minmax(340px,1fr)}.visit-day,.visit-empty{min-height:125px}.visit-event{font-size:12px;padding:7px 5px}.visit-day-number{font-size:14px;min-height:36px;min-width:36px}.visit-admin-calendar .calendar-header strong{font-size:20px}}

.visit-admin-calendar .calendar-header{gap:10px}.visit-admin-calendar .calendar-header strong{flex:1;text-align:center}.visit-admin-calendar .calendar-header>.calendar-arrow:last-child{margin-left:4px}

/* Consistent admin frame: the booking sidebar matches the conversation list. */
.admin-page{max-width:1440px}
.visit-admin-layout{grid-template-columns:300px minmax(0,1fr);gap:20px}
.visit-admin-detail>.admin-card{padding:16px}.visit-admin-detail .admin-card .admin-card{padding:14px}
.visit-day.drag-over{background:#eadcf9;box-shadow:inset 0 0 0 2px #9a76bf}.visit-event[draggable=true]{cursor:grab}.visit-event.dragging{opacity:.4;cursor:grabbing}
@media(max-width:900px){.visit-admin-layout{grid-template-columns:1fr}.visit-admin-calendar{grid-row:1}.visit-admin-detail{grid-row:2}}

/* Reserve scrollbar and panel space during admin tab transitions. */
html:has(.admin-page){scrollbar-gutter:stable}
.learning-panel{min-height:calc(100dvh - 280px)}

.settings-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px;align-items:start}.settings-grid>section{min-width:0}.customer-block-list{display:grid;gap:10px}.customer-block-card{padding:14px;border:1px solid #e5deee;border-radius:12px}.customer-block-card summary{cursor:pointer;line-height:1.7}.customer-block-card summary .admin-badge{margin-left:10px}.customer-block-card summary small{display:block;color:#82728e;margin-top:5px}.customer-block-card .full-button{max-width:300px}
.request-status-card dl{margin:10px 0}.request-status-card .condition-item{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;padding:7px 0}.request-status-card dd{margin:0;overflow-wrap:anywhere}.request-status-card h4{margin:16px 0 8px;font-size:13px}.request-card-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}.request-card-actions button{flex:1;min-width:75px;min-height:42px;font-size:12px}.request-inline-edit{border-top:1px solid #ded1ef;margin-top:14px;padding-top:10px}.request-inline-edit .form-field{margin:12px 0}.request-inline-edit{scroll-margin-top:14px}
.request-status-card>.request-card-actions{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:6px}.request-status-card>.request-card-actions>button{width:100%;min-width:0;height:44px;min-height:44px;margin:0;padding:8px 4px;display:flex;align-items:center;justify-content:center;border:1px solid #dfd3ee;border-radius:10px;background:#f8f3fd;color:#755591;font-size:12px;font-weight:600;line-height:1.2;text-decoration:none;white-space:nowrap}.request-status-card>.request-card-actions>button:hover{background:#eee4f8}.request-status-card>.request-card-actions>.text-button{color:#986477}
.conversation-heading{display:flex;align-items:center;gap:12px;width:100%}.conversation-heading h2{flex:1;min-width:0;margin:0;overflow-wrap:anywhere}.conversation-actions{display:flex;align-items:center;gap:6px;margin-left:auto;flex-shrink:0}.conversation-action{min-height:40px;min-width:40px;padding:8px 12px;display:grid;place-items:center;border:1px solid #e5deee;border-radius:10px;color:#7c688b;background:#faf7fd;font-size:12px}.conversation-action:hover{background:#eee5f8}.conversation-action.is-blocked{background:#fff0f0;color:#ae5064}.conversation-trash{padding:8px;color:#a46d7a}.conversation-action:focus-visible{outline:2px solid #a280bc;outline-offset:2px}.conversation-action:disabled{opacity:.45}.customer-block-dialog{width:min(440px,calc(100% - 28px));border:1px solid #e5deee;border-radius:18px;padding:24px;background:white;max-height:90dvh;overflow:auto}.customer-block-dialog::backdrop{background:#33234055}
.statistics-panel>.form-field{max-width:240px}.statistics-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.statistics-cards>div{padding:18px;border:1px solid #e8dff2;border-radius:14px;background:linear-gradient(135deg,#faf7ff,#fff)}.statistics-cards strong{display:block;font-size:26px;color:#70529a;margin:10px 0}.statistics-cards small{display:block;font-size:12px;color:#82728e;line-height:1.6}.statistics-panel h3{font-size:14px;margin-top:24px}.statistics-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.statistics-types>div{display:flex;justify-content:space-between;gap:8px;padding:12px;background:#f8f5fc;border-radius:9px;font-size:13px}.statistics-panel progress{width:100%;height:10px;accent-color:#8865b0}.statistics-table-wrap{overflow-x:auto;margin-bottom:20px}.statistics-table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.statistics-table th,.statistics-table td{padding:12px 10px;border-bottom:1px solid #eee7f4;text-align:right}.statistics-table th{background:#f8f5fc;color:#806b91;font-weight:500}.statistics-table :is(th,td):first-child{text-align:left}.statistics-table tbody tr:hover{background:#fcfaff}
@media(max-width:480px){.statistics-cards{gap:8px}.statistics-cards>div{padding:12px}.statistics-cards strong{font-size:21px}.statistics-types{grid-template-columns:1fr}.conversation-heading{gap:6px}}
@media(max-width:900px){.settings-grid{grid-template-columns:1fr}}

/* Phone administration: one task per screen, with a stable menu and clear return path. */
.admin-mobile-back,.admin-mobile-overview,.visit-mobile-count,.admin-calendar-hint{display:none}
@media(max-width:760px){
 html:has(.admin-page){scrollbar-gutter:auto;background:#f7f6fb}
 body:has(.admin-page)>.test-strip{display:none}
 .admin-page,.admin-page:has(.visit-admin-layout){width:100%;max-width:100%;padding:12px 12px calc(20px + env(safe-area-inset-bottom))}
 .admin-header{gap:8px;margin:0 0 12px;min-height:44px;flex-wrap:wrap}
 .admin-header>.brand-mark{display:none}
 .admin-header h1{font-size:19px;margin:0;letter-spacing:-.6px}
 .admin-header a,.admin-header button{display:grid;place-items:center;min-height:44px;padding:8px;font-size:12px;border-radius:10px;background:#fff;white-space:nowrap}
 .admin-stats{gap:6px;margin:0 0 10px}
 .admin-stats>div{min-width:0;padding:10px 8px;border-radius:12px}
 .admin-stats small{font-size:10px;white-space:nowrap}
 .admin-stats strong{font-size:18px;line-height:1.4;letter-spacing:-.5px;overflow-wrap:anywhere}
 .admin-page:has(.mobile-detail-open) .admin-stats{display:none}
 .admin-tabs{position:sticky;top:0;z-index:5;display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding:8px 0;margin:0 0 10px;background:#f7f6fb;border-bottom:1px solid #e8e3ef}
 .admin-tabs::-webkit-scrollbar{display:none}
 .admin-tabs button{flex:0 0 auto;min-height:44px;padding:10px 14px;border-radius:12px;font-size:13px;white-space:nowrap}
 .admin-tabs button.active{background:#7855ad;border-color:#7855ad;box-shadow:0 3px 8px #7855ad20}
 .admin-grid,.learning-grid,.settings-grid,.visit-admin-layout{grid-template-columns:minmax(0,1fr);gap:12px}
 .admin-card{border-radius:16px;padding:14px;overflow-wrap:anywhere}
 .admin-card h2{font-size:16px;margin:2px 0 12px}
 .admin-page :is(input:not([type=checkbox]),select,textarea){font-size:16px;max-width:100%;min-width:0}
 .admin-page :is(button.full-button,button.danger-button,.text-button,summary){min-height:44px}
 .admin-page .form-field{margin:12px 0;font-size:13px}
 .admin-page .modal-copy,.admin-page .notice-box{font-size:12px;line-height:1.65}
 .admin-page .notice-box{padding:10px 12px;margin:10px 0;border-radius:10px}
 .admin-page .admin-row{flex-wrap:wrap}
 .admin-login{width:100%;margin:20px auto;padding:20px}
 .admin-conversation-list>h2{position:static;padding:0;margin:0}
 .admin-date-help{font-size:11px;margin:6px 0 12px}
 .admin-date-heading{font-size:12px;margin:16px 0 8px;padding:8px 10px}
 .admin-conversation-row .admin-conv{padding:14px 52px 14px 12px}
 .admin-conv strong{font-size:14px;line-height:1.5}
 .admin-conv small{font-size:12px;line-height:1.5}
 .admin-conversation-delete{width:44px;height:44px;right:4px;top:6px}
 .admin-grid:not(.mobile-detail-open)>.admin-conversation-detail,.admin-grid.mobile-detail-open>.admin-conversation-list{display:none}
 .learning-grid:not(.mobile-detail-open)>section:last-child,.learning-grid.mobile-detail-open>section:first-child{display:none}
 .admin-conversation-detail{position:static;max-height:none;overflow:visible;scroll-margin-top:70px}
 .admin-mobile-back{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;text-align:left;color:#7855ad;font-size:14px;font-weight:700;padding:8px 0;margin:-4px 0 10px;border-bottom:1px solid #eee8f4}
 .conversation-heading{align-items:center;gap:8px}
 .conversation-heading h2{font-size:15px;margin:0;line-height:1.5}
 .conversation-actions{gap:4px}
 .conversation-action{min-height:44px;min-width:44px;padding:8px;font-size:12px}
 .admin-mobile-overview{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin:10px 0;border-radius:10px;border:1px solid #e2d6ed;background:#f8f3fc;color:#7855ad;font-size:13px;font-weight:600}
 .admin-conversation-detail>.staff-overview:not(.mobile-expanded){display:none}
 .admin-conversation-detail>.staff-overview{margin:10px 0;padding:12px}
 .admin-conversation-detail .admin-thread{padding:0;background:transparent}
 .admin-thread .bubble{font-size:14px;line-height:1.7;padding:10px 12px;max-width:100%;border-radius:13px}
 .admin-thread>.bubble.assistant{margin-right:20px;background:#f7f5fb}
 .admin-learning-row{flex-wrap:wrap;justify-content:flex-end;gap:4px;margin:0 0 12px 20px}
 .admin-learning-row>.bubble{flex-basis:100%;margin:0}
 .learn-message-button{min-height:44px;padding:8px 12px;background:#f7f3fc;font-size:12px}
 .admin-page dl .condition-item{display:grid;grid-template-columns:82px minmax(0,1fr);gap:8px;padding:9px 0;align-items:start}
 .admin-page dl dt{font-size:12px;margin:0;line-height:1.7}
 .admin-page dl dd{font-size:14px;margin:0;line-height:1.6;overflow-wrap:anywhere}
 .admin-page dl a[href^='tel:']{display:inline-flex;align-items:center;min-height:32px;color:#7855ad;text-decoration:underline;text-underline-offset:3px}
 .learning-panel{min-height:0}
 .learning-original>summary,.calendar-history>summary{display:flex;align-items:center}
 .settings-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:12px}
 .settings-menu>h2{grid-column:1/-1;font-size:13px;margin:0 0 4px;color:#82728e}
 .settings-menu>.admin-conv{margin:0;min-height:44px;padding:8px 3px;text-align:center;font-size:12px;word-break:keep-all}
 .settings-menu>.admin-conv.selected{color:#7855ad;font-weight:700;background:#f1e8fa;border-color:#c5aedc}
 .visit-admin-calendar{grid-row:1;padding:12px 8px}
 .visit-admin-detail{grid-row:2;position:static;max-height:none;overflow:visible;scroll-margin-top:70px}
 .visit-admin-calendar .calendar-header{gap:4px;margin-bottom:10px}
 .visit-admin-calendar .calendar-header strong{font-size:17px}
 .visit-admin-calendar .calendar-arrow,.visit-admin-calendar .calendar-today{min-width:40px;min-height:44px;padding:6px;border-radius:10px}
 .visit-weekday{padding:8px 0;font-size:11px}
 .visit-day,.visit-empty{padding:0;min-height:66px}
 .visit-day-number{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;height:66px;min-width:0;margin:0;padding:4px 0;border-radius:0;font-size:13px}
 .visit-day.selected .visit-day-number{background:#eee4f7;color:#64458b;box-shadow:inset 0 0 0 2px #b194ce}
 .visit-mobile-count{display:block;min-height:17px;font-size:10px;line-height:17px;color:#7855ad;font-weight:600}
 .visit-event{display:none}
 .admin-calendar-hint{display:block;font-size:11px;line-height:1.6;text-align:center;color:#82728e;margin:12px 2px 0}
 .visit-admin-detail>h2{font-size:16px;margin:4px 2px 10px}
 .visit-admin-detail>.admin-card{padding:12px}
 .visit-admin-detail .admin-card .admin-card{padding:12px;margin-top:12px;border-radius:12px}
 .visit-admin-detail .admin-card .admin-card>h2{color:#7855ad;font-size:16px;padding-bottom:10px;border-bottom:1px solid #eee8f4}
 .statistics-cards{gap:8px;margin-top:12px}
 .statistics-cards>div{min-width:0;padding:12px}
 .statistics-cards strong{font-size:22px;overflow-wrap:anywhere}
 .statistics-table-wrap{max-width:100%;overscroll-behavior-x:contain}
 .admin-page .customer-block-dialog{max-width:calc(100vw - 24px);padding:20px}
}

.admin-reservation-toggle{display:none}
@media(max-width:760px){
 .visit-admin-calendar{scroll-margin-top:70px}
 .admin-reservation-card{margin-top:10px;border:1px solid #e6deef;border-radius:12px;overflow:hidden}
 .admin-reservation-toggle{display:flex;flex-direction:column;gap:5px;position:relative;width:100%;min-height:68px;padding:12px 34px 12px 12px;text-align:left;background:#faf7fd}
 .admin-reservation-toggle:after{content:'⌄';position:absolute;right:14px;top:20px;color:#7855ad}
 .admin-reservation-toggle[aria-expanded=true]:after{content:'⌃'}
 .admin-reservation-toggle strong{font-size:14px;color:#64458b;line-height:1.5}
 .admin-reservation-toggle small{font-size:12px;color:#82728e}
 .admin-reservation-card:not(.mobile-expanded)>form{display:none}
 .visit-admin-detail .admin-reservation-card>form.admin-card{margin:0;border:0;border-radius:0}
 .admin-reservation-card>form>h2{display:none}
}

/* Keep the header inside the visible phone screen while the keyboard pans it. */
@media(max-width:760px) and (hover:none) and (pointer:coarse){
  html.chat-visual-viewport:has(.chat-shell),html.chat-visual-viewport:has(.chat-shell) body{overflow:hidden}
  .chat-visual-viewport .workspace{position:fixed;top:calc(var(--chat-screen-top,0px) + 28px);left:0;right:0;width:100%;height:calc(var(--chat-screen-height,100dvh) - 28px);min-height:0;padding:0}
  .chat-visual-viewport body>.test-strip{position:fixed;top:var(--chat-screen-top,0px);left:0;right:0;height:28px}
}

/* Explicit image dimensions avoid collapsed grid tracks during message updates. */
.message-row>.small-avatar,.typing>.small-avatar{width:33px;height:33px;min-width:33px;min-height:33px;flex:0 0 33px}
.small-avatar img{display:block;width:33px;height:33px;min-width:33px;min-height:33px;object-fit:cover}
