:root{--orange:#ff6a00;--ink:#202020;--muted:#717173;--line:#e8e7e5;--green:#287852;--bg:#f6f6f4}*{box-sizing:border-box}body{margin:0;background:var(--bg);font:16px Montserrat,Arial,sans-serif;color:var(--ink)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;border:0;background:var(--orange);color:#fff;padding:13px 20px;border-radius:10px;font-weight:600;font-size:14px}button:hover{filter:brightness(.96)}a{color:inherit;text-decoration:none}small{display:block;color:var(--muted);font-size:12px;line-height:1.6}aside{position:fixed;inset:0 auto 0 0;width:260px;background:#161616;color:#fff;display:flex;flex-direction:column;padding:32px 20px;z-index:20}.brand{font-size:42px;font-weight:800;letter-spacing:-3px;margin-left:14px;line-height:1}.brand>span{font-size:15px;font-weight:500;letter-spacing:3px;display:block;margin-top:6px}.orange{color:var(--orange)}.product{font-size:9px;letter-spacing:1.4px;color:#999;margin:26px 14px}.company{padding:18px 10px;border-top:1px solid #333;border-bottom:1px solid #333;display:flex;gap:12px;align-items:center;margin-bottom:22px}.company b{font-size:14px}.avatar{display:inline-flex;align-items:center;justify-content:center;background:#fff0e5;color:#c34b00;min-width:40px;height:40px;border-radius:12px;font-weight:700}.company .avatar{background:#35302c;color:#ff9b50}.company small{font-size:10px;color:#999}nav{display:grid;gap:7px}nav a{display:flex;gap:13px;padding:14px 16px;color:#bdbdbd;border-radius:10px;font-size:14px;font-weight:500}nav a.active{color:white;background:#35302c;box-shadow:inset 3px 0 var(--orange)}nav a:hover{background:#272727}nav svg{width:19px;height:19px}.side-bottom{margin-top:auto;border-top:1px solid #333;padding:22px 6px 0;display:flex;gap:12px;align-items:center;font-size:12px}.side-bottom .avatar{background:#303030;color:#ddd}#shell{margin-left:260px}header{height:90px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:#fff;gap:20px}header>span{font-size:13px;color:var(--muted)}header>div{display:flex;align-items:center;gap:18px}.badge{font-size:10px;letter-spacing:1px;color:#9c520e;background:#fff3e8;padding:8px 11px;border-radius:6px;font-weight:700}.secondary{background:#fff;color:#333;border:1px solid #ddd}.iconbtn{background:transparent;color:inherit;padding:6px 9px}.danger{color:#a22;background:#fee}.textbtn{background:none;color:#aa4906;padding:8px}.head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.eyebrow{color:#c25407;font-size:10px;letter-spacing:2px;font-weight:700;margin-bottom:12px}h1{font-size:31px;margin:0 0 10px;letter-spacing:-1.2px}p{line-height:1.7}h2{font-size:18px;margin:0 0 20px}h3{font-size:15px;margin:0 0 10px}.sub{color:var(--muted);font-size:14px;margin:0}main{max-width:1540px;padding:38px 40px;min-height:calc(100vh - 150px)}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.metric{background:white;border:1px solid var(--line);border-radius:14px;padding:23px;cursor:pointer}.metric .top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}.metric .top svg{width:18px;color:#b25819}.metric strong{display:block;font-size:32px;letter-spacing:-1px;margin:18px 0 8px}.metric small{font-size:11px}.panel{background:white;border:1px solid var(--line);border-radius:15px;padding:25px;margin-bottom:22px}.grid2{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.panelhead{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:22px}.panelhead h2{margin:0}.pill{font-size:11px;font-weight:600;border-radius:6px;padding:6px 9px;display:inline-block;background:#f1f1ef;color:#666}.pill.green{background:#eaf5ee;color:var(--green)}.pill.orange{background:#fff0e3;color:#a44e0a}.pill.red{background:#fcecec;color:#af4242}.chart{height:180px;display:flex;gap:15px;align-items:flex-end;border-bottom:1px solid var(--line);padding:12px 8px 0}.bar-wrap{height:100%;flex:1;display:flex;align-items:center;justify-content:end;flex-direction:column;gap:10px;font-size:10px;color:#999}.bar{width:70%;background:#ffe0c5;border-radius:5px 5px 0 0;min-height:4px}.bar.current{background:var(--orange)}.rate{display:flex;align-items:center;gap:22px;margin-bottom:20px}.rate strong{font-size:46px;letter-spacing:-2px}.stars{color:var(--orange);letter-spacing:2px}.ratingrow{display:flex;align-items:center;gap:12px;margin:13px 0;font-size:12px}.track{height:7px;background:#f3f2ef;flex:1;border-radius:6px;overflow:hidden}.track i{display:block;background:var(--orange);height:100%;border-radius:6px}.notice{background:#fff5eb;border:1px solid #ffe1c7;padding:20px;border-radius:12px;display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}.notice p{font-size:13px;margin:6px 0 0;color:#8b6648}.filters{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px}input,select,textarea{border:1px solid #dededb;border-radius:9px;padding:12px 14px;background:white;color:#333;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #ffb780;border-color:transparent}input[type=checkbox]{accent-color:var(--orange)}textarea{resize:vertical;width:100%;min-height:110px}.search{flex:1;min-width:180px}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;font-size:11px;color:#777;font-weight:500;padding:14px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:18px 14px;border-bottom:1px solid #efefed}tbody tr:last-child td{border:0}tbody tr{cursor:pointer}tbody tr:hover{background:#fcfaf7}.person{display:flex;align-items:center;gap:12px}.person b{display:block;font-size:13px}.person small{font-size:11px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px}label{display:block;font-size:13px;font-weight:600}label input,label select,label textarea{display:block;width:100%;margin-top:8px}label:has(input[type=checkbox]){display:flex;gap:10px;align-items:center;font-weight:400}label input[type=checkbox]{width:auto;margin:0}.tabs{display:flex;gap:8px;margin-bottom:25px;flex-wrap:wrap}.tabs button{background:#eee;color:#777}.tabs button.active{background:#242424;color:#fff}.kanban{display:flex;gap:18px;overflow-x:auto;padding-bottom:20px;align-items:flex-start}.column{min-width:285px;width:285px;background:#ededea;border:1px solid #e3e3df;border-radius:13px;padding:14px}.column.over{outline:2px dashed var(--orange)}.column-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px}.column-title b{font-size:13px;cursor:grab}.column-title small{display:inline}.card{padding:18px;background:#fff;border:1px solid #e5e5e0;border-radius:10px;margin-bottom:12px;cursor:grab}.card p{font-size:12px;color:#777;margin:12px 0}.card select{width:100%;font-size:11px;padding:9px}.card .person .avatar{min-width:32px;height:32px;font-size:12px}.coltools{display:flex}.coltools button{padding:3px 5px;color:#777;background:transparent}.convos{display:grid;grid-template-columns:290px 1fr;padding:0;overflow:hidden;min-height:510px}.chatlist{border-right:1px solid var(--line);padding:16px}.chatitem{padding:18px 12px;cursor:pointer;border-radius:9px;margin:6px 0}.chatitem.active{background:#fff0e4}.chatbody{display:flex;flex-direction:column;min-width:0}.chathead{padding:18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;align-items:center}.messages{padding:24px;flex:1;background:#fafaf7;display:flex;flex-direction:column;gap:15px}.bubble{background:#fff;border:1px solid #e8e8e3;max-width:78%;font-size:13px;padding:14px 18px;border-radius:14px;line-height:1.6;align-self:flex-start}.bubble.out{align-self:flex-end;background:#fff0e2;border-color:#ffe0c2}.composer{display:flex;gap:10px;padding:16px}.composer input{flex:1}.steps{display:flex;gap:10px;margin-bottom:30px}.steps span{flex:1;height:4px;border-radius:5px;background:#eee}.steps span.on{background:var(--orange)}.phone{max-width:410px;margin:0 auto;background:#fff;border:1px solid #ddd;border-radius:30px;padding:30px 25px;box-shadow:0 20px 50px #2222220a;min-height:550px}.phone .cafelogo{text-align:center;font:italic 34px Georgia,serif;color:#544133;margin:12px 0 25px}.phone h2{font-size:23px;line-height:1.4;text-align:center}.phone p{font-size:13px;color:#777;text-align:center}.phone label{margin-bottom:18px}.phone button.full{width:100%;margin-top:15px}.ratingpick{display:flex;gap:8px;margin:10px 0 23px}.ratingpick button{flex:1;padding:12px 0;background:#f6f4f1;color:#777;border:1px solid #eee;font-size:20px}.ratingpick button.selected{background:#fff0df;border-color:var(--orange);color:var(--orange)}.experience-layout{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start;max-width:1000px;margin:auto}.experience-info{padding:35px 0}.journeyitem{display:flex;gap:14px;margin:28px 0;font-size:14px}.journeyitem span{background:#fff0e4;color:#b24c00;border-radius:50%;width:28px;height:28px;display:flex;align-items:center;justify-content:center;flex:none}.journeyitem small{margin-top:6px}.coupon{border:1px dashed #efb586;border-radius:14px;padding:20px;text-align:center;background:#fffbf5}.coupon strong{font-size:34px;display:block;margin:12px}.code{letter-spacing:4px;font-size:22px;font-weight:700;padding:18px 0}.qr{width:150px;height:150px;margin:16px auto;image-rendering:pixelated}.stampgrid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:25px 0}.stamp{border:1px dashed #bbb;border-radius:50%;aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:20px;color:#aaa}.stamp.filled{background:#fff0e4;border:1px solid #ffca9e;color:var(--orange)}dialog{width:min(660px,94vw);border:0;border-radius:18px;padding:30px;max-height:90vh;box-shadow:0 20px 100px #0003}dialog::backdrop{background:#0007;backdrop-filter:blur(3px)}.modalhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.modalhead h2{margin:0}.details-row{display:flex;justify-content:space-between;border-bottom:1px solid #eee;padding:14px 0;font-size:13px}.timeline{border-left:2px solid #ffdbc0;padding-left:20px;margin:24px 0}.timeline div{padding:0 0 22px;font-size:13px}.timeline small{margin-top:6px}.actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}.hint{font-size:12px;color:#888;line-height:1.7}.empty{text-align:center;padding:50px 20px;color:#777}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#222;color:#fff;padding:16px 25px;border-radius:10px;z-index:100;display:none;font-size:13px;max-width:90vw}footer{display:flex;justify-content:space-between;padding:20px 40px;color:#999;font-size:11px;border-top:1px solid var(--line)}#mobile-menu{display:none}.questionedit{display:flex;gap:10px;align-items:center;margin-bottom:12px}.questionedit input{flex:1}.benefitcards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.benefitcards .panel{margin:0}.benefit-icon{background:#fff0e4;color:var(--orange);width:44px;height:44px;border-radius:12px;padding:12px;margin-bottom:20px}.statline{display:flex;justify-content:space-between;font-size:13px;margin:14px 0}.muted{color:var(--muted)}@media(min-width:1600px){main{margin:auto}}@media(max-width:1150px){.metrics{grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1fr}.benefitcards{grid-template-columns:1fr 1fr}header{padding:0 24px}main{padding:30px 24px}.experience-layout{gap:25px}}@media(max-width:800px){aside{transform:translateX(-100%);transition:transform .2s}aside.open{transform:translateX(0)}#shell{margin-left:0}#mobile-menu{display:block}header{height:74px;padding:0 16px}#breadcrumb{display:none}header>div{gap:10px}.badge{font-size:8px}header button{font-size:11px;padding:10px}main{padding:25px 16px}h1{font-size:26px}.head{align-items:flex-start;flex-wrap:wrap}.head>button{font-size:12px}.metrics{gap:10px}.metric{padding:16px}.metric strong{font-size:28px}.metric .top{font-size:11px}.panel{padding:18px}.formgrid,.experience-layout{grid-template-columns:1fr}.experience-info{padding:0}.experience-info .journeyitem{display:none}.phone{width:100%;max-width:410px}.convos{grid-template-columns:1fr}.chatlist{display:flex;overflow:auto;border-right:0;border-bottom:1px solid #eee;padding:8px}.chatitem{min-width:160px;padding:10px}.chatitem small{display:none}.chathead{flex-wrap:wrap}.chathead select{font-size:12px}.benefitcards{grid-template-columns:1fr}.notice{align-items:flex-start}.notice button{padding:10px;font-size:11px;flex:none}footer{padding:20px 16px;gap:15px;font-size:9px}.column{min-width:275px}.panelhead{flex-wrap:wrap}}

.company-logo{display:block;max-width:240px;max-height:115px;width:auto;height:auto;object-fit:contain;margin:auto}.logo-settings{display:flex;gap:24px;align-items:center;flex-wrap:wrap;padding:20px;background:#fafaf8;border:1px solid var(--line);border-radius:12px;margin-bottom:28px}.logo-preview{display:flex;align-items:center;justify-content:center;min-width:180px;min-height:130px;max-width:280px;background:#fff;border:1px solid #eee;border-radius:10px;padding:15px}.logo-preview img{max-width:220px}.logo-settings input{max-width:100%}#logo-status{display:block;font-size:13px;color:#777;margin-top:12px}.survey-qr{width:220px;height:220px}.survey-qr img{width:100%;height:100%}.button-link{display:inline-block;background:var(--orange);color:white;padding:13px 18px;border-radius:10px;font-size:14px;font-weight:600}.qr-actions{display:flex;align-items:center;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:15px;font-size:12px}.survey-only aside,.survey-only header,.survey-only footer,.survey-only .experience-info,.survey-only main>.head{display:none}.survey-only #shell{margin:0}.survey-only main{padding:30px 16px;min-height:100vh}.survey-only .experience-layout{display:block;max-width:460px;margin:auto}.survey-only .phone{max-width:460px;width:100%;box-shadow:none}.survey-only .phone .cafelogo{margin-top:0}.survey-only .phone label{font-size:14px}.survey-only .phone p{font-size:14px}@media(max-width:600px){.survey-only main{padding:0;background:#fff}.survey-only .phone{border:0;border-radius:0;padding:30px 24px;min-height:100vh}}

.wa-connect-layout{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:24px}.wa-instructions{padding-left:22px;font-size:14px;line-height:1.8}.wa-instructions li{padding-bottom:12px}.wa-device-panel{text-align:center;border:1px solid #e5e5e0;background:#fafaf8;border-radius:14px;padding:28px 22px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:310px}.wa-icon{color:#ff6a00;background:#fff0e2;border-radius:18px;padding:20px;margin-bottom:22px}.wa-icon svg{width:38px;height:38px}.wa-success{width:64px;height:64px;background:#e7f5ed;color:#287852;font-size:32px;display:grid;place-items:center;border-radius:50%;margin-bottom:22px}@media(max-width:800px){.wa-connect-layout{grid-template-columns:1fr}.wa-device-panel{min-height:260px}}

.campaign-model-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.campaign-model{display:flex;flex-direction:column;gap:10px;text-align:left;background:#fff;color:#252525;border:1px solid #e5e5df;padding:20px;line-height:1.5}.campaign-model:hover{border-color:#ff6a00;background:#fff8f1}.campaign-model b{font-size:15px}.campaign-model span{font-size:12px;font-weight:400;color:#666}.campaign-model small{color:#b34d06;font-weight:600}@media(max-width:700px){.campaign-model-grid{grid-template-columns:1fr}}

.brand{display:block;width:220px;max-width:100%;margin:0;background:#000;border-radius:10px;overflow:hidden;flex-shrink:0}.brand-logo{display:block;width:100%;height:112px;object-fit:cover;object-position:center}.product{margin-top:20px}footer{align-items:center}.footer-logo{width:145px;height:66px;object-fit:cover;object-position:center;flex-shrink:0;border-radius:6px}@media(max-width:500px){.footer-logo{width:125px;height:58px}}

.brand-logo{height:auto;aspect-ratio:auto;object-fit:contain}.brand{border-radius:8px}.footer-logo{height:auto;aspect-ratio:auto;object-fit:contain;width:160px}@media(max-width:500px){.footer-logo{width:130px;height:auto}}

.coupon-qr{width:174px;height:174px;max-width:100%;background:white}.coupon-qr svg{display:block;width:100%;height:100%}

#admin-company-tools{display:flex;gap:10px;align-items:center}#admin-company-tools[hidden]{display:none}#admin-company-tools select{margin-top:3px;max-width:220px}#admin-company-tools a{font-size:12px;white-space:nowrap;text-decoration:underline}@media(max-width:800px){header:has(#admin-company-tools:not([hidden])){height:auto;padding-block:8px}header:has(#admin-company-tools:not([hidden]))>div{flex-wrap:wrap;justify-content:flex-end}#admin-company-tools select{max-width:145px;padding:7px}}

.company-overview-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:680px){.company-overview-metrics{grid-template-columns:1fr}}

#company-inbox .chatitem{display:block;width:100%;text-align:left}#company-inbox .chatitem small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#company-inbox .messages{max-height:55vh;overflow:auto}#company-inbox .bubble{white-space:pre-wrap;overflow-wrap:anywhere}#company-inbox .bubble small{white-space:normal}#company-inbox .composer[hidden]{display:none}#company-inbox .inbox-send-status{margin:0 16px 12px}

#kanban-conversation .messages{max-height:40vh;overflow:auto;border-radius:10px;margin-bottom:14px}#kanban-conversation .bubble{white-space:pre-wrap;overflow-wrap:anywhere}#kanban-conversation .bubble small{white-space:normal}

.campaign-message-preview{white-space:pre-wrap;overflow-wrap:anywhere}

.campaign-fields{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}.campaign-fields span{font-size:12px;margin-right:4px}.campaign-fields button{padding:6px 10px;font-size:12px}

.company-objective{margin-top:24px;margin-bottom:0}.company-objective li+li{margin-top:6px}

.event-entry{margin-top:14px}.event-entry summary{font-weight:600;cursor:pointer}.event-entry .coupon-qr{width:208px;height:208px}

.qr-folder{margin-top:26px}.qr-folder h3{margin-bottom:10px}#create-survey-qr>label{margin-top:14px}
