@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap');
:root{--green:#176448;--lime:#d9ef88;--ink:#192e29;--muted:#7a8780;--line:#e3e9e2;--bg:#f5f7f2}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'Noto Sans KR',sans-serif}button,input,select,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}aside{width:238px;background:#fff;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:36px 23px;display:flex;flex-direction:column}.brand{text-decoration:none;color:var(--ink);font-weight:900;font-size:21px;position:relative;padding-left:45px;display:block}.brand small{font-size:9px;letter-spacing:2px;display:block;margin-top:5px;color:var(--muted)}.logo{position:absolute;left:0;top:0;background:var(--green);color:var(--lime);border-radius:12px;padding:6px;font-size:25px}.navlabel{font-size:10px;color:#8a958e;letter-spacing:1.8px;margin:38px 12px 13px}nav button{display:block;border:0;background:none;width:100%;text-align:left;padding:14px;border-radius:9px;color:#63736b;margin:4px 0;font-weight:600}nav button.active{background:#eaf2e6;color:var(--green)}.aside-bottom{margin-top:auto;font-size:12px;color:#63736b;line-height:1.8}.aside-bottom small{font-size:9px;letter-spacing:1px}.dot{display:inline-block;width:7px;height:7px;background:#58a771;border-radius:50%;margin-right:5px}main{margin-left:238px}header{height:77px;padding:0 44px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#ffffff9c;font-size:12px;color:#6d7b73}.badge,.pill{font-size:11px;border-radius:30px;padding:6px 11px;background:#e8f1e3;color:var(--green);display:inline-block}.badge{background:#fff;border:1px solid var(--line)}#screen{max-width:1430px;margin:auto;padding:36px 44px 50px}h1{font-size:30px;letter-spacing:-1.4px;margin:7px 0 12px}h2{font-size:18px;letter-spacing:-.6px;margin:0 0 20px}h3{font-size:16px}p{line-height:1.8}.muted,.subtitle{color:var(--muted)}.eyebrow{letter-spacing:2px;font-size:10px;font-weight:800;color:var(--green)}.topline{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.btn{border:0;border-radius:8px;background:var(--green);color:#fff;padding:12px 20px;font-weight:600}.btn.light{background:#fff;color:var(--green);border:1px solid var(--line)}.hero{background:#173e31;border-radius:19px;color:#fff;min-height:350px;display:grid;grid-template-columns:1.2fr 1fr;overflow:hidden;margin-bottom:25px}.hero-copy{padding:45px}.hero h1{font-size:43px;line-height:1.4}.hero p{color:#b9cbbd}.hero .eyebrow{color:var(--lime)}.hero .btn{background:var(--lime);color:#173e31}.hero-art{display:flex;align-items:center;justify-content:center;position:relative;background:radial-gradient(ellipse at center,#46724a,transparent 70%)}.orbit{width:240px;height:240px;border:1px solid #ffffff26;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative;transform:rotate(-12deg)}.orbit:before{content:'';position:absolute;inset:-30px;border:1px dashed #ffffff18;border-radius:50%}.mascot{font-size:104px;transform:rotate(12deg)}.float{position:absolute;background:#f5f8ed;color:#244232;border:1px solid #ffffff50;padding:12px 17px;border-radius:12px;box-shadow:0 12px 30px #0002;font-size:12px}.float.one{top:35px;right:18px}.float.two{bottom:25px;left:-10px}.float strong{display:block;font-size:21px;margin-top:5px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:24px}.card .number{font-size:28px;font-weight:800;letter-spacing:-1px;margin:13px 0 5px}.card .label{font-size:12px;color:var(--muted)}.card p{color:#6d7c73;font-size:13px}.section{margin-top:32px}.feature-icon{font-size:22px;margin-bottom:20px}.split{display:grid;grid-template-columns:1.65fr 1fr;gap:22px;margin-top:25px}.sectionhead{display:flex;align-items:center;justify-content:space-between}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendar{grid-template-columns:repeat(7,minmax(0,1fr))}.weekday{text-align:center;color:var(--muted);font-size:11px;padding:12px 0}.day{background:#fafbf8;border:1px solid transparent;min-height:82px;text-align:left;padding:9px;border-radius:7px;color:#758178}.day strong{display:block;font-size:12px;margin-bottom:9px}.day small{display:block;font-size:9px;line-height:1.8}.day.record{background:#edf4e8;color:var(--green)}.day.selected{border-color:var(--green);background:#dfeecf}.day:disabled{cursor:default}.detail-row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #edf0e9;gap:15px;font-size:12px}.detail-row span:first-child{color:var(--muted)}.detail-row strong{text-align:right}.positive{color:var(--green)}.notice{padding:15px 20px;background:#eef3e5;border-radius:9px;color:#5c7055;font-size:12px;line-height:1.8;margin-top:18px}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:11px;color:var(--muted);background:#f7f9f4}td,th{padding:15px 12px;border-bottom:1px solid var(--line)}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:17px}label{display:block;font-size:12px;color:#607168}input,select,textarea{margin-top:7px;width:100%;padding:11px;border:1px solid #dce4d9;border-radius:7px;background:#fbfcf9;color:var(--ink)}textarea{min-height:88px;resize:vertical}.full{grid-column:1/-1}.policy p,.policy li{font-size:13px;line-height:1.95;color:#63736b}.policy li{margin:10px 0}.price{font-size:33px;font-weight:800;margin-top:22px}.price small{font-size:12px;font-weight:400;color:var(--muted)}footer{padding:25px 44px;border-top:1px solid var(--line);font-size:10px;color:#8b968e;display:flex;justify-content:space-between;gap:20px}#toast{position:fixed;bottom:25px;left:50%;background:#173e31;color:#fff;border-radius:9px;padding:14px 23px;display:none;z-index:10}button:focus-visible,a:focus-visible{outline:3px solid #9cb75f;outline-offset:3px}@media(max-width:1100px){#screen{padding:25px}.grid4{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}.hero h1{font-size:34px}.hero-copy{padding:30px}.hero-art{transform:scale(.8)}}@media(max-width:760px){aside{position:relative;width:100%;padding:18px}.brand{font-size:18px}.navlabel,.aside-bottom{display:none}nav{display:flex;overflow:auto;margin-top:20px;gap:5px}nav button{width:auto;white-space:nowrap;font-size:11px;padding:10px}main{margin:0}header{height:50px;padding:0 20px}.hero{grid-template-columns:1fr}.hero-art{min-height:230px}.hero h1{font-size:33px}.grid3{grid-template-columns:1fr}.topline{align-items:flex-start;gap:12px}.topline .btn{font-size:11px;padding:10px}h1{font-size:24px}.card{padding:18px}.day{min-height:72px;padding:5px}.day small{font-size:8px}.formgrid{grid-template-columns:1fr}.full{grid-column:auto}footer{padding:20px;display:block}footer span{display:block;margin-top:8px}table{font-size:10px}td,th{padding:12px 5px}}
.lookup-wrap{max-width:540px;margin:20px auto 60px}.lookup-intro{text-align:center;margin-bottom:28px}.lookup-intro h1{font-size:28px}.lookup-card{padding:34px}.lookup-icon{display:flex;width:48px;height:48px;border-radius:14px;background:#e8f1e3;color:var(--green);align-items:center;justify-content:center;font-size:26px;margin-bottom:22px}.lookup-card label{margin-top:19px}.lookup-card input{min-height:49px}.lookup-card .btn{width:100%;min-height:50px}.lookup-help{font-size:11px!important;margin:22px 0 0;text-align:center}#lookupError{color:#ab423c;font-size:12px;line-height:1.7}.calendar>.day{min-width:0;overflow-wrap:anywhere}.sectionhead{gap:12px}.card{min-width:0}.subtitle{line-height:1.7}input,select,textarea{font-size:16px}.mobile-admin{display:none}
@media(max-width:760px){body{padding-bottom:calc(78px + env(safe-area-inset-bottom))}aside{position:sticky;top:0;z-index:20;display:block;padding:14px 20px;background:#fffefb;box-shadow:0 2px 14px #173e3108}.brand{font-size:19px;min-height:39px;padding-left:46px}.brand small{font-size:8px}.logo{font-size:23px}nav{position:fixed;inset:auto 0 0;margin:0;padding:8px 6px calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border-top:1px solid var(--line);z-index:30;overflow:visible;gap:2px}nav button{font-size:10px;white-space:normal;text-align:center;min-height:49px;margin:0;padding:8px 3px;line-height:1.7}nav button[data-view=admin]{display:none}.mobile-admin{display:block;position:absolute;right:18px;top:20px;font-size:10px;background:none;border:1px solid var(--line);color:#63736b;border-radius:7px;padding:7px}header{padding:0 20px;height:43px;font-size:10px}header .badge{font-size:9px;padding:4px 8px}#screen{padding:25px 16px 30px}.lookup-wrap{margin:8px auto 20px}.lookup-intro h1{font-size:24px;line-height:1.5}.lookup-intro p{font-size:12px}.lookup-card{padding:25px 22px}.hero-copy{padding:28px 24px}.hero h1{font-size:32px}.hero-art{min-height:220px;transform:scale(.82)}.grid4{gap:10px}.grid4 .card{padding:16px 12px}.grid4 .number{font-size:24px}.grid4 small{font-size:10px}.sectionhead h2{font-size:16px}.sectionhead .btn{padding:9px 12px;min-height:40px}.sectionhead b{font-size:13px}.calendar{gap:3px}.day{padding:7px 3px;min-height:77px}.day small{font-size:8px;letter-spacing:-.3px}.day strong{font-size:12px}.detail-row{font-size:13px;padding:15px 0}.topline{flex-wrap:wrap;margin-bottom:22px}.topline .btn{min-height:42px}.split{gap:15px;margin-top:17px}.notice{padding:13px;font-size:11px}footer{font-size:9px}.policy ul{padding-left:19px}.policy td,.policy th{font-size:11px;line-height:1.7}#toast{left:16px;right:16px;bottom:calc(86px + env(safe-area-inset-bottom));font-size:12px;text-align:center}.card table{table-layout:fixed}.card td{overflow-wrap:anywhere}.formgrid{gap:15px}}
@media(prefers-reduced-motion:no-preference){.card,.hero{animation:appear .22s ease-out}@keyframes appear{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.btn.kakao-btn,.kakao-btn{background:#fee500;color:#261e00;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:48px}.hero .hero-report{background:#ffffff12;border:1px solid #ffffff40;color:#fff}.hero-contact{font-size:11px;color:#c2d3c5;margin-top:17px;display:flex;flex-wrap:wrap;align-items:center;gap:9px}.text-btn{border:0;background:none;color:inherit;padding:5px 2px;font-size:inherit;text-decoration:underline;text-underline-offset:3px}.contact-float{position:fixed;right:28px;bottom:27px;z-index:25;background:#fee500;color:#261e00;border:1px solid #e9d100;border-radius:50px;padding:16px 23px;font-weight:800;box-shadow:0 5px 22px #24290020}.contact-float span{margin-right:7px}dialog{padding:0;border:1px solid var(--line);border-radius:20px;max-width:460px;width:calc(100% - 32px);max-height:85dvh;overflow:auto;color:var(--ink);box-shadow:0 25px 90px #0003}dialog::backdrop{background:#12281f99;backdrop-filter:blur(3px)}.contact-modal{position:relative;padding:34px 28px}.contact-modal h2{font-size:21px;line-height:1.5;margin:12px 20px 12px 0}.contact-modal p{font-size:12px;color:#687a6c}.contact-close{position:absolute;right:12px;top:10px;border:0;background:none;color:#607168;font-size:27px;width:40px;height:40px}.contact-modal>.kakao-btn{width:100%;margin:8px 0 22px}.contact-id>div{display:flex;gap:8px;align-items:center;margin-top:6px}.contact-id input{margin:0;min-width:0;font-size:17px;font-weight:600}.contact-id .btn{flex-shrink:0}.contact-modal details{margin-top:23px;border-top:1px solid var(--line);padding-top:18px}.contact-modal summary{font-size:12px;cursor:pointer;min-height:30px}.contact-modal img{display:block;width:100%;height:auto;border-radius:12px;margin-top:12px}.contact-hint{margin-bottom:0}#toast{z-index:40}
@media(max-width:760px){.hero-actions{align-items:stretch}.hero-actions .btn{width:100%;font-size:14px}.hero-contact{gap:8px;font-size:11px}.contact-float{right:14px;bottom:calc(83px + env(safe-area-inset-bottom));font-size:12px;padding:13px 18px}.contact-modal{padding:30px 23px}.contact-modal h2{font-size:20px}.contact-modal details img{max-width:340px;margin-left:auto;margin-right:auto}footer{padding-bottom:65px}}
.logo.mascot-logo{padding:0;background:#edf3e7;width:44px;height:44px;display:flex;align-items:center;justify-content:center;overflow:hidden}.mascot-logo img{width:49px;height:49px;object-fit:contain}.hero-art .orbit{width:290px;height:290px}.mascot.mascot-hero{display:block;width:330px;height:330px;max-width:none;object-fit:contain;transform:rotate(12deg);filter:drop-shadow(0 16px 18px #08251c33)}.hero-art .float{z-index:2}.hero-art .float.one{top:10px;right:-5px}.hero-art .float.two{bottom:5px;left:-25px}.mascot-lookup{width:76px;height:76px;background:#eef4e8;border-radius:22px}.mascot-lookup img{width:84px;height:84px;object-fit:contain}.contact-float{display:flex;align-items:center;gap:7px}.contact-float img{object-fit:contain;width:34px;height:34px;margin:-8px 0}.brand{padding-left:52px}@media(max-width:1100px){.hero-art .orbit{width:240px;height:240px}.mascot.mascot-hero{width:300px;height:300px}}@media(max-width:760px){.hero-art{min-height:290px;transform:none}.hero-art .orbit{width:235px;height:235px}.mascot.mascot-hero{width:285px;height:285px}.hero-art .float.one{right:-32px;top:4px}.hero-art .float.two{left:-28px;bottom:0}.hero-art .float{font-size:10px;padding:9px 12px}.hero-art .float strong{font-size:17px}.brand{padding-left:51px}.contact-float img{width:30px;height:30px}.mascot-lookup{width:68px;height:68px}}
.admin-calendar{margin-top:10px}.admin-day-detail{margin-top:22px;background:#f8faf5;border:1px solid var(--line);border-radius:12px;padding:18px}.admin-day-detail h3{margin:0 0 12px}.admin-calendar .calendar{margin-top:18px}@media(max-width:760px){.admin-calendar>.sectionhead{flex-wrap:wrap}.admin-calendar>.sectionhead h2{margin-bottom:0}.admin-day-detail{padding:14px}}
.session-report+.session-report{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
[hidden]{display:none!important}.admin-tabs{display:flex;gap:7px;overflow-x:auto;border-bottom:1px solid var(--line);margin:0 0 25px;padding:0 0 12px}.admin-tabs button{white-space:nowrap;border:1px solid transparent;background:transparent;padding:12px 20px;border-radius:9px;color:#63736b;font-weight:700}.admin-tabs button.active{background:#173e31;color:#e4f3b8}.admin-customer-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#edf2e7;border:1px solid var(--line);padding:16px 22px;border-radius:12px;margin-bottom:20px}.admin-customer-bar label{display:flex;align-items:center;gap:17px;font-weight:600}.admin-customer-bar select{margin:0;min-width:240px;background:#fff}.admin-panel{max-width:950px}.admin-panel>h2:first-child{margin-top:0!important}.admin-panel .formgrid{max-width:800px}.admin-demo-note{font-size:10px;color:#879183;margin:25px 0 0}.summary-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.summary-heading h2{margin-top:9px;margin-bottom:0}.summary-heading input{margin-top:4px;background:#fff}.overview-table{padding:24px 0}.overview-table>.sectionhead,.overview-table>.table-tools,.overview-table>p{margin-left:24px;margin-right:24px}.table-tools{display:flex;gap:12px;margin-bottom:20px}.table-tools input{max-width:400px;margin:0;font-size:13px}.table-tools select{max-width:200px;margin:0;font-size:13px}.table-scroll{overflow-x:auto;max-height:570px;overscroll-behavior-x:contain}.customer-sheet{min-width:1280px;font-size:12px;table-layout:auto!important}.customer-sheet th{position:sticky;top:0;z-index:2;white-space:nowrap;background:#eaf0e5}.customer-sheet td{white-space:nowrap}.customer-sheet td:first-child{position:sticky;left:0;background:#fff;z-index:1;border-right:1px solid var(--line)}.customer-sheet tr:hover td{background:#f1f6eb}.customer-sheet td small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.numeric{text-align:right;font-variant-numeric:tabular-nums}.row-actions{display:flex;gap:5px}.row-actions .btn{padding:7px 9px;font-size:10px}.status-low{background:#fff1d5;color:#956118;padding:6px 9px;border-radius:25px;font-size:10px}.summary-heading+.grid4 .number{font-size:25px}.summary-heading+.grid4 .number small{font-size:13px;margin-left:4px}@media(max-width:760px){.admin-tabs{gap:4px;margin-bottom:18px}.admin-tabs button{padding:11px 13px;font-size:12px}.admin-customer-bar{padding:14px;flex-wrap:wrap;gap:12px}.admin-customer-bar label{width:100%;display:block}.admin-customer-bar select{min-width:0;width:100%;margin-top:7px}.summary-heading{align-items:flex-start}.summary-heading h2{font-size:17px}.summary-heading label{font-size:10px;max-width:140px}.summary-heading input{font-size:13px}.summary-heading+.grid4 .number{font-size:21px}.overview-table>.sectionhead,.overview-table>.table-tools,.overview-table>p{margin-left:15px;margin-right:15px}.table-tools{flex-wrap:wrap}.table-tools input,.table-tools select{max-width:100%;width:100%}.customer-sheet td,.customer-sheet th{padding:13px 12px!important;font-size:11px}.admin-panel{padding:20px 17px}}
.admin-nav{display:none!important}.manage-mode .admin-nav{display:block!important}.manage-mode .contact-float{display:none}
.manage-mode nav button:not(.admin-nav){display:none}.manage-mode nav{grid-template-columns:1fr}.manage-mode .admin-nav{width:100%}
.attention-bar{display:flex;gap:8px;flex-wrap:wrap;padding:0 24px 17px}.attention-bar button{background:#eff4e8;border:1px solid #dce5d5;color:#36573c;border-radius:8px;padding:10px 14px;font-size:12px}.table-tools{flex-wrap:wrap}.table-tools select{max-width:180px}@media(max-width:760px){.attention-bar{padding:0 15px 15px}.attention-bar button{font-size:11px;padding:9px}}
.service-highlights h3{margin-top:0}.faq-section details{border-top:1px solid var(--line);padding:0 4px}.faq-section summary{padding:16px 0;cursor:pointer;font-weight:700;line-height:1.6}.faq-section details>div{padding:0 0 12px 18px}.faq-section details p{margin:6px 0 10px;line-height:1.75}.faq-section a{color:inherit;text-decoration:underline}.faq-link{text-decoration:none}.admin-save-status{font-size:13px;font-weight:700;min-height:1.4em;margin:12px 0;overflow-wrap:anywhere}

/* Forest knight theme for the public site. */
body:not(.manage-mode) {
  background: linear-gradient(140deg, #071c15ea, #102e20c9 55%, #071c15ed),
    url("assets/neogul-forest-v2.webp") center / cover fixed;
  color: #f2e9d3;
}

body:not(.manage-mode) aside,
body:not(.manage-mode) header {
  background: #10271f;
  border-color: #af965b51;
  color: #dacda9;
}

body:not(.manage-mode) .brand,
body:not(.manage-mode) nav button {
  color: #f1e7cc;
}

body:not(.manage-mode) .navlabel,
body:not(.manage-mode) .aside-bottom {
  color: #b6c0a6;
}

body:not(.manage-mode) nav button:hover,
body:not(.manage-mode) nav button.active {
  background: #2b4937;
  color: #f6dc9d;
}

body:not(.manage-mode) .card {
  background: #fbf6e8;
  border-color: #d1bb83;
  color: #243f2d;
}

body:not(.manage-mode) .card p { color: #4c6050; }
body:not(.manage-mode) .card .muted { color: #596858; }
body:not(.manage-mode) .eyebrow { color: #e5cb90; }
body:not(.manage-mode) .card .eyebrow { color: #73531e; }
body:not(.manage-mode) .subtitle,
body:not(.manage-mode) .lookup-intro .muted,
body:not(.manage-mode) footer { color: #e0d6ba; }

.hero {
  min-height: 500px;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  isolation: isolate;
  position: relative;
  background: linear-gradient(90deg, #0a241bf7 0%, #0d291de8 32%, #0a251a38 75%),
    url("assets/neogul-forest-v2.webp") 65% 54% / cover;
  border: 1px solid #c5a768;
  box-shadow: 0 24px 48px #05130c85, inset 0 0 0 4px #bf9b4624;
}

.hero-copy { z-index: 1; padding: clamp(28px, 4vw, 60px); }
.hero h1 {
  color: #fff4d6;
  font-size: clamp(31px, 4.3vw, 65px);
  line-height: 1.19;
  letter-spacing: -.055em;
  text-shadow: 0 2px 18px #071d13;
}
.hero p { color: #f4ead1; line-height: 1.8; }
.hero .hero-report { border-color: #ccad6eaa; background: #122b20c9; }
.hero .kakao-btn { box-shadow: 0 6px 18px #1c18045c; }
.hero-contact { color: #eee3c8; }

.hero-art { align-self: stretch; min-width: 0; background: none; transform: none; }
.hero-art .orbit {
  width: 100%;
  height: 100%;
  padding: 24px 18px 20px 0;
  border: 0;
  transform: none;
}
.hero-art .orbit::before {
  inset: 15% 10% 12% 0;
  border: 0;
  background: radial-gradient(ellipse, #f3c77641 0%, #e4bd6e18 47%, transparent 72%);
}
.mascot.mascot-hero {
  width: 100%;
  height: clamp(330px, 40vw, 500px);
  max-width: 560px;
  transform: none;
  position: relative;
  filter: drop-shadow(0 18px 20px #06140bdc);
}

@media (max-width: 760px) {
  body:not(.manage-mode) {
    background-attachment: scroll;
    background-size: auto, auto 720px;
    background-repeat: repeat, repeat-y;
    background-position: center top;
  }
  body:not(.manage-mode) nav { background: #10271f; border-color: #af965b51; }
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    background-image: linear-gradient(180deg, #0b261b27 0%, #0b261b4d 34%, #092318f5 67%), url("assets/neogul-forest-v2.webp");
    background-position: 67% center;
  }
  .hero-copy { padding: 0 22px 26px; }
  .hero-art { grid-row: 1; min-height: 0; }
  .hero-art .orbit { padding: 12px 8px 6px; }
  .mascot.mascot-hero { height: clamp(230px, 70vw, 365px); }
}

/* Visitor mini-chat and the signed-in consultation inbox. */
.consultation-launchers {
  position: fixed;
  right: 26px;
  bottom: 24px;
  z-index: 24;
  display: flex;
  gap: 8px;
}
.consultation-launchers .contact-float { position: static; }
.chat-launcher {
  border: 1px solid #d6b974;
  border-radius: 999px;
  padding: 10px 16px;
  background: #224634;
  color: #fff3cf;
  font-weight: 750;
  box-shadow: 0 7px 24px #091a1760;
}
.chat-launcher:hover { background: #315940; }
.manage-mode .consultation-launchers,
.manage-mode .consultation-panel { display: none; }
.consultation-panel {
  position: fixed;
  right: 26px;
  bottom: 90px;
  z-index: 35;
  width: min(390px, calc(100vw - 34px));
  max-height: calc(100dvh - 115px);
  overflow: auto;
  background: #fcf7eb;
  color: #253e30;
  border: 1px solid #c5a768;
  border-radius: 16px;
  box-shadow: 0 14px 40px #06140db3;
}
.chat-panel-heading, .chat-admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.chat-panel-heading { padding: 14px 16px; background: #173e31; color: #fff4d6; }
.chat-panel-heading h2 { font-size: 16px; margin: 0; }
.chat-hide { border: 0; background: transparent; color: inherit; font-size: 25px; line-height: 1; padding: 4px; }
.chat-start, .consultation-panel .chat-conversation { padding: 14px 16px; }
.chat-start p { margin: 0 0 10px; }
.chat-selectors { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.chat-selectors label { display: grid; gap: 4px; font-weight: 700; }
.chat-selectors select, .chat-compose input {
  background: #fff;
  color: #1b3727;
  padding: 10px;
  border: 1px solid #a8b6a7;
  border-radius: 8px;
  min-width: 0;
}
.chat-compose { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
.chat-room-label { margin: 0 0 8px; font-weight: 750; }
.chat-status { font-size: 12px; min-height: 1.5em; margin: 8px 0; color: #415c4a; }
.chat-status.chat-error, .card .chat-status.chat-error { color: #a22619; }
.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 10px;
  height: clamp(110px, 33dvh, 250px);
  overflow-y: auto;
  background: #f0eddf;
  border-radius: 10px;
}
.chat-message { max-width: 88%; align-self: flex-start; padding: 8px 10px; border-radius: 10px; background: #fff; }
.chat-message.own { align-self: flex-end; background: #dcead1; }
.chat-message small { color: #415b4b; font-size: 10px; }
.chat-message p, .card .chat-message p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 4px 0 0; color: #253e30; }
.admin-chat-layout { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr); gap: 14px; }
.chat-queue { display: grid; align-content: start; gap: 6px; max-height: 400px; overflow: auto; }
.chat-queue-item { text-align: left; padding: 10px; border: 1px solid #c9d7c9; background: #f2f6ef; color: #203d2b; border-radius: 8px; }
.chat-queue-item.active { border-color: #2c6348; background: #dcead1; }
.admin-chat .chat-messages { height: clamp(130px, 42dvh, 390px); }
@media (max-width: 760px) {
  .consultation-launchers { right: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); }
  .consultation-panel { right: 12px; bottom: calc(133px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 147px - env(safe-area-inset-bottom)); }
  .admin-chat-layout { grid-template-columns: minmax(0, 1fr); }
  .chat-queue { max-height: 130px; }
  .chat-compose input, .chat-selectors select { font-size: 16px; }
}
/* Focused administration workspace and compact customer reports. */
[hidden]{display:none!important}
.btn.compact{padding:9px 13px;font-size:12px;min-height:38px;white-space:nowrap}
.btn.danger{background:#fff3ef;border:1px solid #e9c9c0;color:#a23d2b}
.btn:disabled{opacity:.55;cursor:wait}
.row-actions,.form-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.form-actions{margin-top:10px;justify-content:flex-end}
.wide{width:100%}
.manage-mode{background:#f3f5f7;color:#223b35}
.manage-mode aside{background:#172f29;border:0;color:#e4efe8}
.manage-mode .brand{color:#fff}
.manage-mode .brand small,.manage-mode .navlabel,.manage-mode .aside-bottom{color:#9bb1a7}
.manage-mode nav button{color:#bdcfc5;font-size:13px;padding:14px 16px}
.manage-mode nav button.active{color:#fff;background:#315b49;box-shadow:inset 3px 0 #bcdb91}
.manage-mode header{background:#fff;border-color:#e2e7e4}
.manage-mode #screen{max-width:1550px;padding:30px 34px 50px}
.manage-mode .topline{margin-bottom:20px}
.manage-mode h1{font-size:28px}
.manage-mode .subtitle{color:#6a7b73;font-size:13px}
.manage-mode .card{border-color:#e0e7e1;box-shadow:0 3px 9px #20352a03;border-radius:14px}
.manage-mode .card h2{margin-bottom:12px}
.manage-mode .admin-tabs{display:none}
.manage-mode .sectionhead{flex-wrap:wrap}
.manage-mode .number{font-variant-numeric:tabular-nums}
.save-strip{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;min-height:28px;font-size:11px;color:#63796c;margin-bottom:16px}
.save-strip #adminSaveStatus{color:#275b41}
.customer-context{display:flex;align-items:center;gap:22px;padding:16px 20px;background:#e7eee7;border:1px solid #d4dfd4;border-radius:12px;margin-bottom:20px}
.customer-context label{flex:1;max-width:400px}
.customer-context label select{background:#fff;margin-top:5px}
.customer-context small{display:block;color:#617565;font-size:11px;margin-bottom:4px}
.customer-context strong{font-size:21px}
.customer-context .btn{margin-left:auto}
.customer-workspace{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.6fr);gap:20px;align-items:start}
.customer-directory{position:sticky;top:20px;padding:18px}
.customer-directory input{font-size:13px}
.segmented{display:flex;padding:4px;background:#f0f4ef;border-radius:9px;gap:4px;margin:15px 0}
.segmented button{flex:1;border:0;background:none;padding:9px 12px;color:#617268;font-size:12px;border-radius:6px}
.segmented button.active{background:#fff;color:#175138;box-shadow:0 1px 5px #1e342c13;font-weight:700}
.directory-rows{max-height:58vh;overflow:auto;margin-top:14px}
.customer-item{display:flex;width:100%;gap:10px;align-items:center;text-align:left;background:#fff;border:1px solid transparent;padding:14px 8px;border-radius:10px;color:#213c31}
.customer-item:hover{background:#f3f7f0}
.customer-item.selected{background:#edf4e7;border-color:#9fbd97}
.customer-item span:nth-child(2){flex:1;min-width:0}
.customer-item b{display:block;overflow-wrap:anywhere;font-size:14px}
.customer-item small{display:block;color:#6f8075;font-size:11px;margin-top:5px}
.customer-item>strong{font-size:12px;white-space:nowrap}
.customer-avatar{background:#e0e9db;border-radius:11px;width:35px;height:37px;display:grid;place-items:center;font-weight:800;flex-shrink:0}
.customer-editor>.btn{margin-top:20px}
.customer-editor .eyebrow{display:block;margin-bottom:7px}
.customer-editor .sectionhead h2{margin:0}
.form-divider{font-size:14px;font-weight:700;border-top:1px solid #e3e8df;padding-top:22px;margin-top:5px}
.form-divider small{display:block;color:#78857b;font-size:11px;font-weight:400;margin-top:6px}
.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px;align-items:start}
.editor-layout label{margin-bottom:16px}
.editor-layout .formgrid label{margin:0}
.editor-layout .formgrid{margin:16px 0}
.record-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 0;border-bottom:1px solid var(--line)}
.record-item p{margin:6px 0;font-size:12px}
.record-item small{color:#7c877e;overflow-wrap:anywhere}
.record-item .row-actions{flex-shrink:0}
.ledger-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 0;border-bottom:1px solid var(--line)}
.ledger-item small{display:block;color:#778276;font-size:11px;margin-bottom:7px}
.ledger-item strong{display:block;font-size:14px}
.ledger-item p{margin:5px 0 0;font-size:12px;overflow-wrap:anywhere;white-space:pre-wrap}
.ledger-amount{text-align:right;font-weight:800;font-size:17px;white-space:nowrap}
.ledger-amount .row-actions{justify-content:flex-end;margin-top:10px}
.negative{color:#9d573f}
.amount-preview{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0;padding:20px;background:#edf4e8;border-radius:10px;font-size:12px}
.amount-preview strong{font-size:23px;color:#23543c}
.rate-details{margin-top:20px;font-size:12px;color:#687e6c}
.rate-details summary{cursor:pointer;padding:10px 0}
.empty-panel{text-align:center;padding:35px 14px;color:#667b6d}
.empty-panel h3{margin:13px 0 5px;font-size:16px}
.empty-panel p{margin:5px 0 18px}
.empty-symbol{font-size:29px;color:#88a27c}
.session-report{padding:18px 0}
.session-report .row-actions{justify-content:flex-end;margin-top:12px}
.session-report h3{margin:0 0 10px}
.session-report .notice{white-space:pre-wrap;overflow-wrap:anywhere}
.calendar-controls{display:flex;align-items:center;gap:8px;white-space:nowrap}
.calendar-help{font-size:11px!important;margin:16px 0}
.settings-card{max-width:760px}
.record-dialog{max-width:660px;background:#fff;max-height:90dvh}
.record-dialog form{padding:25px}
.record-dialog .sectionhead{margin-bottom:22px}
.record-dialog .sectionhead h2{margin:0;font-size:20px}
.change-reason{display:block;margin-top:18px}
.error-text{color:#a33726;font-size:12px}
#toast{z-index:80;max-width:calc(100vw - 32px)}
.report-summary .card{padding:24px}
.report-summary .number{font-size:27px}
.report-summary small{font-size:12px;color:#64745f}
.balance-card{text-align:left;font:inherit;cursor:pointer}
.balance-card:hover{outline:2px solid #c2b07a;outline-offset:2px}
.report-split{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
body:not(.manage-mode) .topline{color:#fff6df}
body:not(.manage-mode) .report-summary .label{color:#65745e}
.manage-mode .attention-bar button{min-height:36px}
.manage-mode .table-tools{margin:18px 0}
@media(min-width:761px){.manage-mode .customer-sheet{min-width:1050px}.manage-mode .overview-table{padding:22px}.manage-mode nav{margin-top:6px}}
@media(max-width:1150px){.customer-workspace{grid-template-columns:1fr}.customer-directory{position:static}.directory-rows{max-height:230px}.editor-layout{grid-template-columns:1fr}.report-split{grid-template-columns:1fr}.report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.report-summary>.balance-card{grid-column:1/-1}}
@media(max-width:760px){
 .manage-mode{padding-bottom:0}.manage-mode aside{position:relative;box-shadow:none;padding:16px 20px}.manage-mode aside nav,.manage-mode aside .aside-bottom{display:none}.manage-mode #screen{padding:22px 14px 35px}.manage-mode h1{font-size:25px}
 .manage-mode .admin-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;position:sticky;top:0;z-index:15;background:#f3f5f7;padding:9px 0;margin:0 -2px 15px;gap:5px;border-radius:0}.manage-mode .admin-tabs button{flex-shrink:0;min-height:43px;font-size:12px;padding:10px 13px}.manage-mode .admin-tabs button.active{background:#28543f;color:#fff}
 .customer-context{gap:12px;padding:14px;flex-wrap:wrap}.customer-context label{flex-basis:100%;max-width:none}.customer-context strong{font-size:19px}
 .customer-workspace{gap:14px}.customer-item{padding:12px 8px}.save-strip{font-size:10px}
 .editor-layout{gap:16px}.record-item{flex-wrap:wrap}.record-item .row-actions{margin-left:auto}
 .ledger-item{gap:10px}.ledger-amount{font-size:15px}.ledger-amount .btn{padding:8px 11px}
 .record-dialog form{padding:20px}.record-dialog .formgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.record-dialog .full{grid-column:1/-1}.record-dialog .sectionhead h2{font-size:17px}
 .form-actions .btn{flex:1;min-height:44px}.customer-editor .formgrid{gap:17px}
 .report-summary{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.report-summary .card{padding:18px 14px}.report-summary .number{font-size:22px}.report-summary small{font-size:10px}
 .report-summary .balance-card{grid-column:1/-1}
 .calendar .day{min-height:65px}.calendar .day small:last-child{display:none}.calendar .day strong{margin-bottom:6px}.calendar .day small{font-size:9px}.calendar .day.selected{box-shadow:inset 0 0 0 1px #527a49}
 body:not(.manage-mode) #screen{padding-bottom:96px}
 .calendar-controls{gap:4px}.calendar-controls .btn{padding:8px 12px}.customer-directory .empty-panel{padding:20px}
}

.manage-mode nav button.workspace-nav{display:block}

.customer-sheet th, .customer-sheet td { text-align:center; vertical-align:middle; }
.customer-sheet .row-actions { justify-content:center; }
#customerLedger { scroll-margin-top:5rem; }

.contact-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.contact-option {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.contact-option h3 { margin: 0; font-size: 16px; }
.contact-option > a { display: flex; justify-content: center; text-align: center; text-decoration: none; }
.contact-option .contact-id { margin-top: 16px; }
.contact-option .contact-id input { width: 100%; }
.contact-option details { margin-top: 16px; padding-top: 12px; }
.contact-option details img { max-width: 250px; margin-inline: auto; }
@media(max-width: 560px) {
  .contact-options { grid-template-columns: 1fr; }
}

.calendar-heading, .chat-admin-heading { flex-wrap: wrap; gap: 8px; }
