@import url('/fonts.css');
:root{--ink:#182f2c;--muted:#788682;--line:#e4eae7;--bg:#f5f7f5;--green:#176d61;--pale:#e9f2ed;--gold:#d8b875;--danger:#a24040;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:14px;background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:var(--green)}button{border:1px solid var(--line);background:white;border-radius:9px;padding:10px 15px;color:var(--ink);font-weight:550}button:hover{background:#f3f6f3}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#11584f}.danger{color:var(--danger)}.ghost{border:0;background:none}.small{padding:7px 11px;font-size:12px}.icon{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.brand{display:flex;align-items:center;gap:10px;font-size:24px;letter-spacing:-1px;font-weight:750}.brand img{width:38px;height:38px}.brand span{font-weight:400}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:700;color:var(--muted)}.subtle{color:var(--muted);line-height:1.7}.shell{display:grid;grid-template-columns:230px 1fr;min-height:100vh}.sidebar{padding:28px 18px 20px;background:#fcfdfb;border-right:1px solid var(--line);display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.sidebar .brand{padding:0 13px 34px}.workspace{background:#f0f3ee;border:1px solid var(--line);border-radius:10px;padding:12px;margin:0 5px 27px;display:flex;gap:10px;align-items:center}.workspace strong{display:block;font-size:12px;margin-bottom:4px}.workspace small{font-size:11px;color:var(--muted)}.monogram{background:#dae8dc;border:1px solid #c7d9cb;border-radius:8px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;color:var(--green);font-weight:700}.nav-label{padding:0 15px;font-size:9px;color:#89978e;letter-spacing:1.6px;margin:8px 0 12px}.nav button{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:0;background:none;margin:3px 0;padding:13px 15px;font-size:13px;color:#65766e;font-weight:500}.nav button.active{background:var(--pale);color:var(--green);font-weight:650}.nav button:hover{background:#eff4ef}.sidebar-bottom{margin-top:auto}.help-card{margin:28px 5px 18px;padding:16px;background:#eff3e9;border-radius:10px;font-size:12px;line-height:1.7}.help-card strong{display:block;margin-bottom:5px}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:17px}.profile .who{flex:1;min-width:0}.who strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.who small{color:var(--muted);font-size:10px}.main{min-width:0}.topbar{height:77px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px}.topbar .crumb{font-size:12px;color:var(--muted)}.topbar .crumb strong{color:var(--ink);font-weight:500}.topbar-right{display:flex;gap:20px;align-items:center;font-size:11px;color:var(--muted)}.status{display:inline-flex;gap:7px;align-items:center}.dot{width:6px;height:6px;border-radius:50%;background:#419875;display:inline-block}.content{padding:30px 34px 35px}.pagehead{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.pagehead h1{font-size:27px;letter-spacing:-.9px;margin:5px 0 8px;font-weight:650}.pagehead p{margin:0;color:var(--muted);font-size:12px;line-height:1.7}.pagehead .actions{display:flex;gap:10px}.badge{display:inline-flex;align-items:center;background:var(--pale);color:var(--green);padding:5px 9px;font-size:10px;border-radius:6px;font-weight:600}.badge.gray{background:#f0f2ef;color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.stat{border:1px solid var(--line);border-radius:12px;background:white;padding:20px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px}.stat-top .icon{color:var(--green);background:var(--pale);box-sizing:content-box;padding:7px;border-radius:8px}.stat strong{display:block;font-size:29px;font-weight:600;margin:10px 0 7px;letter-spacing:-1px}.stat small{font-size:10px;color:var(--muted)}.card{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.cardhead{padding:19px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.cardhead h2{margin:0;font-size:14px;font-weight:600}.cardbody{padding:23px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.widegrid{display:grid;grid-template-columns:1.6fr 1fr;gap:22px}.inbox{display:grid;grid-template-columns:285px minmax(280px,1fr) 230px;height:calc(100vh - 215px);min-height:510px;border:1px solid var(--line);background:#fff;border-radius:13px;overflow:hidden}.conversation-list{border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.list-tools{padding:17px 16px 12px;border-bottom:1px solid var(--line)}.search{display:flex;align-items:center;background:#f5f7f4;border:1px solid var(--line);border-radius:8px;padding:0 10px;gap:7px}.search input{background:none;border:0;margin:0;width:100%;font-size:11px;padding:10px 0}.list-filters{display:flex;gap:8px;margin-top:12px}.list-filters button{font-size:10px;flex:1;padding:7px;border:0;background:none;color:var(--muted)}.list-filters button.active{background:var(--pale);color:var(--green)}.list-items{overflow:auto;flex:1}.thread{border:0;border-radius:0;border-bottom:1px solid #f0f3ef;display:flex;text-align:left;gap:11px;padding:18px 16px;width:100%;background:#fff}.thread.active{background:#edf4ef;border-left:3px solid var(--green);padding-left:13px}.avatar{width:36px;height:36px;border-radius:50%;background:#e9eee3;color:#718062;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:650;flex-shrink:0}.avatar.alt{background:#efe8dc;color:#967b52}.thread-text{flex:1;min-width:0}.thread-line{display:flex;align-items:center;justify-content:space-between;gap:8px}.thread strong{font-size:11px}.thread time{font-size:9px;color:var(--muted);font-weight:400}.thread p{margin:7px 0;font-size:11px;font-weight:400;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thread small{font-size:9px;color:#7c8a80;font-weight:400}.unread{background:var(--green);border-radius:50%;color:white;font-size:9px;padding:3px 5px}.chat-pane{min-width:0;display:flex;flex-direction:column;min-height:0}.chat-head{height:70px;padding:16px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:11px}.chat-head .chat-title{flex:1}.chat-head strong{font-size:12px}.chat-head small{font-size:10px;display:block;color:var(--muted);margin-top:5px}.message-area{flex:1;min-height:0;overflow:auto;padding:25px 24px;background:#fcfdfa}.message{margin-bottom:18px;max-width:85%;width:fit-content}.message.staff{margin-left:auto}.message .bubble{background:#f0f3ee;border:1px solid #e8ede5;padding:11px 14px;border-radius:12px 12px 12px 2px;font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.message.staff .bubble{background:var(--green);border-color:var(--green);color:white;border-radius:12px 12px 2px 12px}.message.auto .bubble{background:#f5f5ed;color:#76816f;border-style:dashed}.message .meta{font-size:9px;color:#99a398;margin-top:6px}.message.staff .meta{text-align:right}.composer{padding:15px 18px 16px;border-top:1px solid var(--line)}.composer textarea{width:100%;resize:none;border:0;background:none;min-height:57px;font-size:12px;padding:4px;outline:none}.compose-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center}.compose-bottom select{max-width:190px;padding:7px;border:0;color:var(--muted);font-size:10px}.compose-bottom small{font-size:9px;color:var(--muted)}.details-pane{padding:21px 19px;border-left:1px solid var(--line);overflow:auto;font-size:11px}.details-pane h3{font-size:11px;margin:0 0 24px}.details-pane .visitor-profile{text-align:center;border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:24px}.visitor-profile .avatar{margin:0 auto 13px;width:51px;height:51px;font-size:17px}.visitor-profile strong{display:block;font-size:12px;margin-bottom:6px}.detail{margin-bottom:20px}.detail small{font-size:9px;color:var(--muted);display:block;margin-bottom:7px}.detail span{line-height:1.8;overflow-wrap:anywhere}.detail select{width:100%;font-size:11px}.empty{height:100%;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center;color:var(--muted)}.empty .symbol{background:#eef3e9;color:#689079;width:60px;height:60px;border-radius:18px;display:flex;align-items:center;justify-content:center;margin-bottom:18px}.empty .symbol .icon{width:25px;height:25px}.empty strong{color:var(--ink);font-size:15px;font-weight:550}.empty p{font-size:12px;line-height:1.8;max-width:320px}.site-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}.site-card{padding:23px}.site-card .site-title{display:flex;gap:12px;align-items:center;margin-bottom:21px}.site-title h3{margin:0 0 6px;font-size:15px}.site-card p{font-size:12px;color:var(--muted);line-height:1.7}.site-card .btns{border-top:1px solid var(--line);padding-top:17px;display:flex;justify-content:space-between;margin-top:20px}.site-icon{width:42px;height:42px;background:var(--pale);color:var(--green);display:flex;align-items:center;justify-content:center;border-radius:11px}label.field{display:block;font-size:11px;font-weight:600;margin:0 0 17px}input,textarea,select{width:100%;border:1px solid #dbe3dc;border-radius:8px;background:white;padding:11px 12px;color:var(--ink);margin-top:7px}input[type=checkbox]{width:auto;margin:0 7px 0 0;accent-color:var(--green)}input[type=color]{height:42px;padding:5px}label.check{display:flex;gap:4px;align-items:flex-start;font-size:12px;line-height:1.7;margin:14px 0;color:#62746b}textarea{resize:vertical;line-height:1.7}input:focus,textarea:focus,select:focus{border-color:var(--green)}.hint{font-size:11px;line-height:1.7;color:var(--muted)}.note{background:#f2f5e9;padding:14px 16px;font-size:11px;line-height:1.8;border-radius:9px;color:#677255;margin:15px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid .field{margin-bottom:2px}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{padding:13px 20px;background:#fafbf8;font-size:10px;color:var(--muted);font-weight:500;border-bottom:1px solid var(--line)}td{padding:16px 20px;border-bottom:1px solid #f0f3ed;line-height:1.65}td small{font-size:10px;color:var(--muted);display:block}td.wrap{max-width:300px;overflow-wrap:anywhere}.table-scroll{overflow:auto}.inline-actions{display:flex;gap:6px}.chart{height:200px;display:flex;align-items:flex-end;gap:8px;padding:15px 5px 0}.bar-group{display:flex;flex:1;min-width:0;height:100%;flex-direction:column;justify-content:flex-end;align-items:center;gap:9px}.bar{width:100%;max-width:34px;border-radius:5px 5px 0 0;background:#75a58c;min-height:3px}.bar-group small{font-size:8px;color:var(--muted)}.bar-group span{font-size:10px;color:var(--green)}.reply-card{padding:22px}.reply-card h3{font-size:14px;margin:0 0 12px}.reply-card p{font-size:12px;color:var(--muted);line-height:1.8;white-space:pre-wrap}.reply-card footer{display:flex;justify-content:flex-end;gap:7px;padding-top:12px}.tabs{display:flex;gap:8px;margin:0 0 20px}.tabs button{border:0;background:none;font-size:12px;color:var(--muted)}.tabs button.active{background:var(--pale);color:var(--green)}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#193c31;color:white;padding:13px 21px;border-radius:10px;box-shadow:0 8px 40px #193c3125;z-index:100;display:none;font-size:12px;max-width:90vw}#toast.visible{display:block}dialog{border:1px solid var(--line);border-radius:17px;box-shadow:0 25px 90px #163a3030;width:min(600px,94vw);padding:0;max-height:90vh;color:var(--ink)}dialog::backdrop{background:#13392e55;backdrop-filter:blur(3px)}.modalhead{display:flex;align-items:center;justify-content:space-between;padding:19px 23px;border-bottom:1px solid var(--line)}.modalhead h2{font-size:17px;margin:0}.modalbody{padding:23px}.modalfoot{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--line);padding:15px 23px;background:#fbfcf9}.form-error{color:var(--danger);font-size:12px;line-height:1.8;min-height:1px}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.auth-story{background:#193d33;padding:50px 65px;color:#fff;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-story .brand img{background:white;border-radius:12px}.auth-story .brand{font-size:28px}.auth-story .story{margin:auto 0;max-width:510px}.auth-story .eyebrow{color:#b3cbaa}.auth-story h1{font-size:49px;line-height:1.22;font-weight:450;letter-spacing:-2px;margin:23px 0}.auth-story h1 em{font-style:normal;color:#c9dc99}.auth-story p{font-size:14px;color:#bdd0c3;line-height:1.9;max-width:350px}.auth-mini{margin-top:40px;max-width:370px;background:#f6f8f0;color:#253e31;padding:22px;border-radius:15px;transform:rotate(-2deg);box-shadow:15px 17px 0 #ffffff10}.auth-mini strong{font-size:12px}.auth-mini p{font-size:12px;color:#6b7e69;background:white;border-radius:10px;padding:12px;line-height:1.7}.auth-mini .mini-reply{margin-left:45px;background:#e2ead8;color:#425b37}.auth-foot{font-size:10px;color:#97b29d;letter-spacing:.5px;padding-top:30px}.auth-form-wrap{display:flex;align-items:center;justify-content:center;padding:35px}.auth-form{width:360px}.auth-form h2{font-size:29px;font-weight:600;letter-spacing:-1px;margin:15px 0 10px}.auth-form>p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:27px}.auth-form .primary{width:100%;margin-top:8px;padding:13px}.auth-switch{margin-top:22px;text-align:center;font-size:12px;color:var(--muted)}.auth-switch button{padding:0 0 0 4px;border:0;color:var(--green)}.auth-note{border-top:1px solid var(--line);padding-top:22px;margin-top:30px;font-size:10px;color:var(--muted);line-height:1.8}.loading{padding:60px;text-align:center;color:var(--muted)}.support-banner{background:#fff2cf;padding:11px;text-align:center;font-size:12px}.code{background:#18392f;color:#d9e6ce;border-radius:9px;padding:17px;white-space:pre-wrap;word-break:break-all;font-size:12px;line-height:1.7}#mobile-menu{display:none}.footer-line{display:flex;justify-content:space-between;color:#9aa499;font-size:9px;margin-top:20px}.large-empty{padding:50px}.error-panel{color:var(--danger);padding:30px;line-height:1.8}.widget-preview{max-width:350px;margin:auto;background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 15px 50px #18392f10}.widget-preview header{background:var(--green);color:white;padding:23px}.widget-preview h3{margin:0 0 8px}.widget-preview p{font-size:12px;line-height:1.7}.widget-preview main{padding:22px}.mobile-only{display:none}@media(min-width:1600px){.content{max-width:1600px;margin:auto}.inbox{grid-template-columns:330px 1fr 270px}}@media(max-width:1250px){.shell{grid-template-columns:200px 1fr}.sidebar{padding-left:10px;padding-right:10px}.content{padding:25px 22px}.topbar{padding:0 22px}.inbox{grid-template-columns:250px minmax(260px,1fr)}.details-pane{display:none}.topbar-right .date{display:none}}@media(max-width:900px){.shell{grid-template-columns:75px 1fr}.sidebar{padding:22px 9px}.sidebar .brand{padding:0 8px 25px}.brand .brand-name,.sidebar .workspace,.nav-label,.nav button span,.help-card,.profile .who,.profile .ghost{display:none}.nav button{justify-content:center;padding:14px}.profile{justify-content:center}.inbox{grid-template-columns:220px 1fr}.stats{grid-template-columns:repeat(2,1fr)}.auth-story{padding:35px}.auth-story h1{font-size:36px}.grid2,.widegrid{grid-template-columns:1fr}.content{padding:22px 17px}.pagehead h1{font-size:24px}}@media(max-width:650px){.shell{display:block}.sidebar{display:none;position:fixed;z-index:30;width:220px;box-shadow:10px 0 50px #0002}.shell.menu-open .sidebar{display:flex}.shell.menu-open .nav button span,.shell.menu-open .brand .brand-name,.shell.menu-open .profile .who{display:block}.shell.menu-open .nav button{justify-content:flex-start}.shell.menu-open .sidebar .brand{padding:0 8px 25px}.topbar{height:62px;padding:0 17px}.topbar-right{gap:8px}.topbar-right>.badge{display:none}#mobile-menu{display:block;padding:5px;border:0}.pagehead{align-items:flex-start;margin-bottom:20px}.pagehead h1{font-size:22px}.pagehead .actions button{font-size:11px;padding:9px}.pagehead p{font-size:11px}.content{padding:20px 13px}.inbox{height:calc(100dvh - 205px);min-height:430px;display:block}.conversation-list{height:100%;border:0}.chat-pane{display:none;height:100%}.inbox.has-selection .conversation-list{display:none}.inbox.has-selection .chat-pane{display:flex}.mobile-only{display:inline-flex}.chat-head{padding:12px}.message-area{padding:20px 15px}.stat{padding:15px}.stat strong{font-size:25px}.stat-top{font-size:10px}.stats{gap:10px}.auth{display:block}.auth-story{display:none}.auth-form-wrap{min-height:100vh;padding:25px}.auth-form{max-width:360px}.form-grid{grid-template-columns:1fr}.form-grid .field{margin-bottom:10px}.site-grid{grid-template-columns:1fr}.footer-line{line-height:1.8;gap:15px}.inline-actions{flex-wrap:wrap}.tabs{overflow:auto}.pagehead .actions{flex-wrap:wrap}.modalbody{padding:18px}.message{max-width:92%}}
