/* LINEONE_MINT_PRO_V2 — premium mint inbox. No embedded fonts; Google Fonts provides Kanit. */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700;800&display=swap');
:root{color-scheme:light;--mp-bg:#f0faf5;--mp-panel:#fff;--mp-text:#13382d;--mp-sub:#48695c;--mp-line:#cce6d9;--mp-green:#067b4f;--mp-green2:#0da56d;--mp-mint:#caffdf;--mp-muted:#f5fbf7;--mp-red:#cc1736;--mp-redbg:#fff0f1;font-family:'Kanit',system-ui,sans-serif!important;color:var(--mp-text)!important;background:var(--mp-bg)!important;font-size:15px!important}
*{box-sizing:border-box}html,body{background:var(--mp-bg)!important;color:var(--mp-text)!important}body{line-height:1.52!important}button,input,select,textarea{font:inherit!important}button{border-radius:11px!important;border:1px solid #b9d8c9!important;background:#fff!important;color:var(--mp-text)!important;font-weight:500;transition:background .17s,box-shadow .17s,transform .17s}button:hover:not(:disabled){background:#edf9f1!important;box-shadow:0 4px 12px #0d50351a;filter:none!important}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #62cba1!important;outline-offset:2px}a{color:#087e54!important}.primary{color:white!important;background:linear-gradient(115deg,#028f5a,#056943)!important;border-color:#047d51!important;box-shadow:0 4px 12px #166b4529}.primary:hover:not(:disabled){color:#fff!important;background:linear-gradient(110deg,#007e4f,#035d3b)!important}.small{color:#527568!important;font-size:12px!important}.error{color:#ba1838!important}.hidden{display:none!important}h2,h3,h4,strong{color:inherit}h2{font-size:22px!important;letter-spacing:-.025em;margin-bottom:3px!important}h3{font-size:18px!important}.app{display:grid!important;grid-template-columns:248px minmax(0,1fr)!important;height:100dvh!important;min-height:640px;background:#f0faf5!important}
.sidebar{padding:14px 12px!important;gap:8px!important;background:linear-gradient(160deg,#fafffc 0%,#eefbf4 65%,#def6eb 100%)!important;border-right:1px solid #c7e9d9!important;box-shadow:3px 0 15px #1a78501c;overflow:auto!important}.sidebar .brandmark{display:flex;align-items:center;gap:11px;padding:8px 10px 21px!important;font-size:19px!important;color:#0f3529!important}.brandmark .brand-icon{display:grid;place-items:center;width:42px;height:42px;background:linear-gradient(135deg,#12af6c,#007343);border-radius:45% 45% 45% 10%;color:#fff;font:700 12px Kanit,sans-serif;box-shadow:0 4px 12px #05945d42;flex-shrink:0}.brandmark strong{display:block;font-size:21px;line-height:1.03}.brandmark small{display:block;font-weight:400;color:#476e5b;font-size:12px;margin-top:5px}.sidebar .nav{border:0!important;background:transparent!important;border-radius:12px!important;text-align:left!important;padding:11px 13px!important;color:#1c4c3a!important;font-size:14px!important;font-weight:550!important}.sidebar .nav:hover:not(:disabled){background:#dff6e9!important;color:#0b7047!important}.sidebar .nav.active{background:linear-gradient(110deg,#13a66d,#006c42)!important;color:white!important;box-shadow:0 4px 14px #06663f38!important}.sidebar .nav.active::after{content:'●';font-size:10px;color:#ff344f;float:right;margin-top:4px}.nav-kpi{margin:15px 0 6px;border:1px solid #bfe7d0;border-radius:18px;padding:15px;background:linear-gradient(145deg,#fcfffd,#e4f8ec);font-size:12px;box-shadow:0 8px 24px #006a3520}.nav-kpi strong{display:block;color:#066843;font-size:15px;margin-bottom:8px}.nav-kpi p{margin:6px 0;color:#345848}#me{color:#245d45!important;font-weight:500}
main{min-width:0!important;background:#f2fbf6!important;overflow:auto!important}.page{height:100%!important;min-height:0;background:#f2fbf6!important}.page>header{min-height:92px;padding:16px 22px!important;background:#fff!important;border-bottom:1px solid #cfe7db!important;box-shadow:0 2px 9px #0c6a3e09}.page>header h2{color:#0e3525!important;font-weight:700!important}.page>header p{color:#496e5d!important}.dashboard-top-tools{display:flex;align-items:center;gap:12px;min-width:0;flex-wrap:wrap}.dashboard-search{width:min(340px,27vw);min-width:190px;border:1px solid #c5dfd2!important;background:#fafdfe!important;padding:10px 13px!important;font-size:13px!important}.notification-pill{border-radius:99px;background:var(--mp-redbg);color:var(--mp-red);border:1px solid #f2b0bb;padding:7px 11px;font-size:12px;font-weight:700}.notification-pill strong{color:var(--mp-red)}.online{background:#dcf9e9!important;color:#00663e!important;border:1px solid #b0e3c8!important;padding:7px 11px!important;font-weight:600!important;border-radius:99px!important}#soundBtn{padding:8px 10px!important;font-size:12px!important}.page>header .right{gap:6px!important}
.inbox{flex:1;min-height:0;grid-template-columns:minmax(280px,340px) minmax(340px,1fr) minmax(290px,330px)!important;overflow:hidden!important;gap:0!important;background:#f4fcf8!important}.conversations{min-height:0;background:#fff!important;border-right:1px solid #d3ebe0!important;box-shadow:2px 0 12px #06452b08}.filters{padding:14px!important;gap:8px!important;border-color:#deebe4!important;background:#fff!important}.filters select{max-width:200px!important;min-width:145px!important;font-size:13px!important}.filters label{font-size:12px!important;color:#214a38!important}.filters button{padding:9px 12px!important}.filter-tabs{display:flex;gap:6px;padding:6px 12px 13px;border-bottom:1px solid #e3f0e8;align-items:center}.filter-tab{padding:7px 9px!important;font-size:12px!important;white-space:nowrap!important;border-radius:10px!important;font-weight:600!important}.filter-tab.active{background:#056b43!important;color:#fff!important;border-color:#056b43!important}.filter-tab .red-num{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;background:#e1193d;color:white;border-radius:99px;margin-left:5px;font:700 11px Kanit,sans-serif}.convList{scrollbar-color:#b4dfc9 #f9fdfa}.conv{padding:15px 12px!important;gap:10px!important;min-height:91px;color:#123a2b!important;border-bottom:1px solid #e0eee6!important;border-radius:0!important;align-items:flex-start!important}.conv:hover:not(:disabled){background:#f3fbf6!important}.conv.selected{border-left:4px solid #13b56e!important;background:#e5f9ed!important;box-shadow:inset 0 0 0 1px #b9ebd0}.conv .avatar,.conv .fallback{width:44px!important;height:44px!important;flex-shrink:0;border-radius:50%!important}.conv .fallback{display:grid;place-items:center;background:#d6f3e5;color:#047345;font-weight:700;font-size:18px}.conv .convData strong{font-weight:700!important;font-size:15px!important;color:#0b3926!important}.conv .rowLine{align-items:center}.conv p.small{margin:4px 0!important;max-width:100%;font-size:13px!important;color:#34574a!important}.conv .small:last-child{font-size:11px!important;color:#567b69!important}.pill{font-size:10px!important;border:1px solid #f3a3b1!important;color:#bc1230!important;background:#ffe9ec!important;font-weight:700!important;padding:3px 7px!important;border-radius:99px!important}.conv .chat-unanswered{display:inline-flex;align-items:center;gap:4px;color:var(--mp-red);background:#fff0f1;border:1px solid #ffc6ce;font-size:10px;border-radius:99px;padding:2px 7px;font-weight:700}.conv .urgent-icon{font-size:11px;color:#d21638}
.chat{min-width:0;min-height:0;background:#f1fbf5!important}.chatHead{min-height:94px!important;padding:12px 16px!important;background:#fff!important;border-color:#d6e9df!important;flex-wrap:wrap;gap:8px!important;box-shadow:0 3px 12px #1e73461c}.chatHead>div:nth-child(2){flex:1}.chatHead strong{font-size:18px;color:#123b2c!important}.chatHead .avatar{width:46px;height:46px!important}.chatHead #chatChannel{color:#4b6f5c!important}.chatHead .right select{padding:7px!important;font-size:12px!important;max-width:148px}.chatHead .right button{padding:8px 10px!important}.edit-name-trigger{background:#ddf9e9!important;border:1px solid #aedfc2!important;color:#07623d!important;font-size:12px!important;font-weight:700!important;padding:5px 9px!important;margin-left:7px}.urgent-chat-alert{display:inline-flex;background:#fff0f0;border:1px solid #fac2c9;color:#c10d30;border-radius:99px;padding:5px 9px;font-size:11px;font-weight:600;max-width:100%}.chat-status-line{display:flex;align-items:center;gap:6px;flex-wrap:wrap;flex-basis:100%}.chat-status-line select{max-width:220px}.messages{background:radial-gradient(ellipse at 70% 15%,#e4f9ed,transparent 63%),#f1fbf6!important;padding:20px!important;gap:14px!important}.bubble{font-size:14px!important;line-height:1.6!important;max-width:min(79%,550px)!important;background:#fff!important;color:#193a2e!important;border:1px solid #e0efe6!important;padding:13px 15px!important;border-radius:17px 17px 17px 5px!important;box-shadow:0 6px 18px #065b3814!important}.bubble.out{align-self:flex-end!important;background:#d4fbe3!important;color:#0d442b!important;border-color:#b9edd0!important;border-radius:17px 17px 5px 17px!important}.bubble .meta{color:#507461!important;font-size:11px!important;opacity:1!important;text-align:right!important}.composer{background:#fff!important;border-color:#d5eadf!important;padding:12px!important;gap:10px!important;align-items:center!important;box-shadow:0 -5px 16px #195b3115!important}.composer textarea{flex:1!important;border-radius:12px!important;min-width:100px;background:#fbfffd!important;min-height:46px}.composer .fileBtn{border:1px solid #b3dec6!important;border-radius:12px!important;color:#0d6742;background:#f2fff7;padding:10px!important}.composer #sendBtn{white-space:nowrap!important;padding:12px 15px!important}.notes{border-left:1px solid #d4e7db!important;background:#fff!important;padding:16px 14px!important;gap:10px!important;min-width:0}.notes>h3{font-size:18px!important;color:#0e4832!important;margin:10px 0 0!important}.notes p.small{margin:0 0 6px!important}.customer-profile-card{border-bottom:1px solid #d9ebdf;padding-bottom:14px;margin-bottom:3px}.customer-profile-head{display:flex;gap:10px;align-items:center;margin:10px 0}.customer-profile-head img,.customer-profile-head .fallback{width:52px;height:52px;object-fit:cover;border-radius:50%;border:2px solid #d4edde}.customer-profile-head strong{display:block;font-size:17px;line-height:1.3}.customer-profile-head small{font-size:11px;color:#527063;display:block;margin-top:3px}.customer-section-head{font-size:15px;font-weight:700;margin:12px 0 6px;color:#0e4e34}.customer-section-note{font-size:11px;color:#587868;margin:3px 0}.customer-field{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:7px 0;border-bottom:1px solid #e9f2eb;font-size:12px}.customer-field>span{color:#567567}.customer-field strong{font-size:12px;text-align:right;overflow-wrap:anywhere}.tag-wrap{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 4px}.tag-chip{display:inline-flex;align-items:center;gap:4px;background:#dff7e7;color:#075b37;border-radius:100px;padding:5px 9px;font-size:12px;border:1px solid #b1e6c7;font-weight:600}.tag-chip.tone-amber{color:#775001;background:#fff3cc;border-color:#f6da93}.tag-chip.tone-red{color:#ae1b37;background:#ffecef;border-color:#ffc9d0}.tag-chip.tone-blue{color:#075e75;background:#dff7fb;border-color:#ace2e9}.tag-chip button{border:0!important;background:transparent!important;color:inherit!important;padding:0 2px!important;border-radius:4px!important;font-size:15px;line-height:1}.add-tag-btn{margin:8px 0;border:1px dashed #60c495!important;background:#f2fff8!important;color:#047045!important;font-size:12px!important;padding:6px 10px!important}.notes #noteList{overflow:auto;max-height:240px;min-height:45px;flex:1}.note{background:#f6fef9!important;color:#1a4935!important;border:1px solid #d0ebd9!important;border-radius:13px!important;padding:10px!important}.note small{color:#537665!important}.notes textarea{min-height:92px;background:#fbfffc!important}.notes>button:last-child{background:#0e8452!important;color:#fff!important;border-color:#0e8452!important;font-weight:700!important}.info-empty{font-size:12px;color:#668277;padding:10px;border:1px dashed #c1e3d2;border-radius:10px}
.panel{background:#fff!important;border:1px solid #d5eadc!important;color:#15402e!important}.stack label{color:#395e4d!important}.stat{background:#fff!important;border:1px solid #d7eadc!important;color:#15402e!important}.stat .number{color:#076d46!important}.table{border-color:#d4e8dd!important}.table strong{color:#164a32!important}.toast{background:#0b7349!important;color:white!important;border-color:#1c9060!important}.modal-backdrop{position:fixed;inset:0;background:rgba(12,43,30,.48);display:grid;place-items:center;z-index:1000;padding:14px}.modal-card{width:min(460px,100%);background:#fff;border-radius:20px;padding:22px;box-shadow:0 20px 60px #123c3155;border:1px solid #b9dfca}.modal-card h3{margin:0 0 7px}.modal-card p{color:#4b725c;font-size:12px}.modal-card label{display:grid;gap:6px;margin-top:14px;font-size:13px}.modal-card input,.modal-card select{width:100%}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px}.modal-actions .primary{min-width:106px}
.login{background:radial-gradient(circle at 15% 15%,#baf1d4,transparent 42%),radial-gradient(circle at 90% 85%,#e2f9ea,transparent 41%),#f5fdf7!important}.loginCard{background:#fff!important;border:1px solid #cae6d7!important;box-shadow:0 22px 55px #0a63451d!important;border-radius:23px!important}.loginCard .brand{color:#0e6240!important}.loginCard label{color:#315e46!important}.loginCard input{background:#fbfffc!important}
/* Broadcast view shares the same theme even when previous theme CSS has been installed. */
#broadcastView{background:#f4fbf6!important}#broadcastView .br-pane,#broadcastView .br-hero,#broadcastView .br-side-info{background:#fff!important;color:#143b2b!important;border:1px solid #d4eadd!important;box-shadow:0 6px 23px #0d734312!important}#broadcastView .br-hero strong,#broadcastView h3{color:#11402f!important}#broadcastView button:not(.primary){border-color:#bcdec9!important}#broadcastView .br-pink{background:linear-gradient(110deg,#0ca56b,#057f50)!important;color:#fff!important;border:0!important}#broadcastView .br-chip{background:#e3f8ec!important;color:#07643e!important;border-color:#b3e2c7!important}#broadcastView .br-hint{color:#557563!important}#broadcastView .br-preview-window{background:#effcf5!important}#broadcastView input,#broadcastView select,#broadcastView textarea{color:#183e2b!important;background:#fff!important}
@media(max-width:1450px){.app{grid-template-columns:207px minmax(0,1fr)!important}.inbox{grid-template-columns:270px minmax(310px,1fr) minmax(250px,300px)!important}.sidebar .brandmark strong{font-size:18px}.dashboard-search{width:210px}}
@media(max-width:1140px){.app{grid-template-columns:184px minmax(0,1fr)!important}.inbox{grid-template-columns:minmax(230px,30%) minmax(330px,1fr)!important;overflow:auto!important}.notes{grid-column:1/-1!important;max-height:none!important;min-height:300px!important;border-top:1px solid #cce6d7!important;display:block!important}.chat{min-height:570px!important}.notes #noteList{max-height:160px}}
@media(max-width:700px){.app{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto minmax(0,1fr)!important;height:100dvh;min-height:640px}.sidebar{flex-direction:row!important;gap:5px!important;align-items:center!important;max-height:142px;overflow:auto}.sidebar .brandmark{padding:3px!important}.brandmark .brand-icon{width:32px;height:32px;font-size:9px}.brandmark strong{font-size:16px!important}.brandmark small{font-size:10px}.sidebar .nav{padding:7px 8px!important;font-size:12px!important}.sidebar .nav-kpi,.sidebar #me,.sidebar #logout{display:none!important}.page>header{padding:9px 11px!important;min-height:75px}.page>header h2{font-size:17px!important}.dashboard-top-tools{width:100%;gap:7px}.dashboard-search{width:160px;min-width:110px;font-size:11px!important}.notification-pill{font-size:11px}.online{font-size:10px!important;padding:6px!important}.inbox{display:grid!important;grid-template-columns:1fr!important;overflow:auto!important}.conversations{min-height:160px;max-height:240px!important}.chat{min-height:510px!important}.notes{grid-column:1!important;min-height:300px!important}.messages{min-height:270px!important;padding:12px!important}.chatHead{padding:10px!important}.bubble{max-width:94%!important;font-size:13px!important}.composer{gap:5px!important;padding:7px!important}.composer #sendBtn{font-size:12px!important;padding:10px!important}.composer .fileBtn{font-size:11px!important}.filter-tabs{padding:7px 8px}.filter-tab{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* Final contrast pass: all native inputs use legible dark text, not the old dark-theme styles. */
input,select,textarea{background:#fff!important;color:#143c2b!important;border:1px solid #b9d9c8!important;box-shadow:none!important}
input::placeholder,textarea::placeholder{color:#6a8173!important;opacity:1}
input:focus,select:focus,textarea:focus{border-color:#07945c!important;box-shadow:0 0 0 3px #74d5a955!important}
.sidebar .nav.active::after{content:none!important}
.nav-red-count{float:right;display:inline-flex;background:#e01d3e;color:#fff!important;font-weight:700;font-size:11px;border-radius:99px;align-items:center;justify-content:center;padding:1px 7px;margin-left:5px;min-width:24px}
@media(max-width:700px){.page>header{align-items:flex-start!important}.page>header .right{max-width:100%;flex-direction:column;align-items:flex-start}.dashboard-search{min-width:180px}.chatHead .right select{max-width:145px!important}}
