:root{--ink:#182b2a;--muted:#647370;--line:#dfe6e1;--bg:#f6f7f4;--white:#fff;--accent:#176b5b;--pale:#e5f1e9;--dark:#123d36}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 Inter,Segoe UI,Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8dcbb3;outline-offset:2px}button{border:0;background:none;color:inherit}a{color:inherit}.shell{max-width:1440px;margin:auto;display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.side{background:#fff;border-right:1px solid var(--line);padding:28px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{font-size:27px;font-weight:800;letter-spacing:-1.5px;margin:0 10px 34px}.brand span{color:var(--accent)}.nav{display:grid;gap:5px}.nav button{text-align:left;padding:11px 13px;border-radius:8px;color:#52635f;font-weight:600}.nav button.active,.nav button:hover{background:var(--pale);color:var(--accent)}.nav i{display:inline-block;width:29px;font-style:normal;font-size:18px}.sidefoot{margin-top:auto;border-top:1px solid var(--line);padding:18px 8px 0}.sidefoot small{color:var(--muted)}.main{min-width:0}.topbar{height:76px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:rgba(255,255,255,.75)}.topbar .left{font-weight:650}.top-actions{display:flex;align-items:center;gap:12px}.role{background:#fff;border:1px solid var(--line);padding:9px 12px;border-radius:8px;color:var(--ink)}.avatar{width:37px;height:37px;border-radius:50%;background:#d6e9dc;display:inline-grid;place-items:center;font-weight:700;color:var(--accent);flex:none}.content{padding:38px 5% 80px;max-width:1280px;margin:auto}.eyeline{font-size:13px;color:var(--muted);margin-bottom:4px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(29px,3vw,40px);letter-spacing:-1.4px;line-height:1.12;margin-bottom:10px}h2{font-size:22px;letter-spacing:-.5px;margin-bottom:15px}h3{font-size:16px;margin-bottom:5px}.muted{color:var(--muted)}.intro{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.intro p{margin:0;color:var(--muted)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--accent);color:#fff;padding:11px 17px;border-radius:8px;font-weight:650;white-space:nowrap}.btn:hover{background:#0e5548}.btn.secondary{background:#fff;color:var(--ink);border:1px solid var(--line)}.btn.ghost{background:transparent;color:var(--accent);padding-left:0}.btn.danger{color:#a23a35;background:#fff;border:1px solid #eccdca}.section{margin-top:34px}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.sectionhead h2{margin:0}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:10px;overflow:hidden}.stat{background:#fff;padding:21px}.stat strong{display:block;font-size:27px;letter-spacing:-1px}.stat span{color:var(--muted);font-size:13px}.panel,.card{background:#fff;border:1px solid var(--line);border-radius:10px}.panel{padding:23px}.card{overflow:hidden}.cardbody{padding:18px}.card h3{font-size:17px}.card p{color:var(--muted);font-size:14px}.meta{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:13px}.meta span{white-space:nowrap}.tag{display:inline-block;padding:4px 8px;border-radius:5px;background:#edf4ef;color:#39725d;font-size:12px;font-weight:650}.tag.warm{background:#f9f1df;color:#88621e}.cardtop{display:flex;justify-content:space-between;gap:10px;align-items:start}.cardlink{cursor:pointer}.cardlink:hover h3{color:var(--accent)}.cardimage{height:142px;background:#e7ece6;overflow:hidden}.cardimage img,.hero img,.portfolio img{width:100%;height:100%;object-fit:cover}.split{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:22px}.list{display:grid;gap:10px}.row{display:flex;align-items:center;gap:14px;padding:15px 0;border-bottom:1px solid var(--line)}.row:last-child{border-bottom:0}.rowmain{flex:1;min-width:0}.rowmain p{margin:2px 0 0;font-size:13px;color:var(--muted)}.row button{text-align:left}.hero{background:#e7eee7;border-radius:12px;display:grid;grid-template-columns:1fr 44%;overflow:hidden;min-height:310px}.herocopy{padding:45px}.hero h1{font-size:clamp(36px,4vw,54px);max-width:600px}.hero p{max-width:480px;color:#526960}.hero img{min-height:310px}.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{padding:9px 13px;border:1px solid var(--line);border-radius:7px;background:#fff;font-size:13px}.chip:hover,.chip.active{border-color:var(--accent);color:var(--accent);background:var(--pale)}.filters{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:10px;margin-bottom:20px}.field{display:grid;gap:6px;margin-bottom:16px}.field label{font-weight:650;font-size:13px}input,select,textarea{width:100%;border:1px solid #cdd8d1;background:#fff;color:var(--ink);border-radius:7px;padding:11px 12px}textarea{min-height:110px;resize:vertical}.detailhead{display:flex;justify-content:space-between;gap:16px;align-items:start;margin:20px 0}.back{color:var(--accent);font-weight:650;padding:0}.prohead{display:flex;gap:16px;align-items:center}.prohead .avatar{width:64px;height:64px;font-size:22px}.stars{color:#aa7925;letter-spacing:1px}.tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);margin:20px 0;overflow:auto}.tabs button{padding:10px 0;white-space:nowrap;color:var(--muted)}.tabs button.active{color:var(--accent);border-bottom:2px solid var(--accent);font-weight:700}.portfolio{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.portfolio img{height:140px;border-radius:7px}.wizard{max-width:680px;margin:auto}.progress{height:5px;background:#e3eae5;border-radius:10px;margin:15px 0 30px}.progress span{display:block;background:var(--accent);height:100%;border-radius:10px}.wizard .panel{padding:32px}.choices{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.choices button{text-align:left;padding:14px;border:1px solid var(--line);border-radius:7px}.choices button.selected{border-color:var(--accent);background:var(--pale);color:var(--accent)}.actions{display:flex;justify-content:space-between;gap:10px;margin-top:24px}.chatlayout{display:grid;grid-template-columns:300px 1fr;min-height:500px}.chatlist{border-right:1px solid var(--line);padding:10px 18px}.chatbox{display:flex;flex-direction:column;padding:20px}.messages{flex:1;display:flex;flex-direction:column;gap:10px;padding:18px 0;min-height:300px}.bubble{align-self:flex-start;max-width:80%;padding:10px 13px;border-radius:10px;background:#f0f3ef}.bubble.mine{align-self:flex-end;background:#dcefe3}.send{display:flex;gap:8px}.empty{text-align:center;padding:45px 15px;color:var(--muted)}.bottom{display:none}.modalwrap{position:fixed;inset:0;background:#102d29a8;display:grid;place-items:center;padding:18px;z-index:10}.modal{background:white;border-radius:12px;padding:25px;width:min(100%,560px);max-height:90vh;overflow:auto}.modal h2{margin-bottom:6px}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);background:#173e35;color:#fff;padding:11px 18px;border-radius:8px;opacity:0;pointer-events:none;transition:.2s;z-index:20}#toast.show{opacity:1;transform:translate(-50%,0)}.mobilebrand{display:none}.notice{padding:14px;background:#e8f2eb;border-radius:8px;color:#315e4c;margin:15px 0}.review{padding:16px 0;border-bottom:1px solid var(--line)}.review p{margin:6px 0}.click{cursor:pointer}.right{text-align:right}@media(max-width:800px){.shell{display:block}.side{display:none}.topbar{height:64px;padding:0 18px}.mobilebrand{display:block;font-size:23px;font-weight:800;letter-spacing:-1px}.mobilebrand span{color:var(--accent)}.topbar .left{display:none}.content{padding:25px 18px 100px}.bottom{position:fixed;bottom:0;left:0;right:0;display:flex;background:#fff;border-top:1px solid var(--line);padding:7px 4px max(7px,env(safe-area-inset-bottom));z-index:5}.bottom button{flex:1;display:grid;justify-items:center;gap:1px;font-size:10px;color:var(--muted);padding:3px}.bottom button i{font-style:normal;font-size:19px;line-height:1.2}.bottom button.active{color:var(--accent);font-weight:700}.grid{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}.split{grid-template-columns:1fr}.hero{grid-template-columns:1fr}.herocopy{padding:28px}.hero img{height:190px;min-height:0;grid-row:1}.filters{grid-template-columns:1fr 1fr}.filters input{grid-column:1/-1}.intro{align-items:start;flex-direction:column}.chatlayout{grid-template-columns:1fr}.chatlist{border-right:0;border-bottom:1px solid var(--line);max-height:200px;overflow:auto}.wizard .panel{padding:22px}.portfolio img{height:90px}.top-actions{gap:5px}.role{max-width:150px;font-size:12px}.cardimage{height:165px}}
/* Verfijning voor kleine schermen: primaire acties blijven leesbaar en binnen beeld. */
@media(max-width:480px){.detailhead{flex-wrap:wrap}.detailhead>div{min-width:0;flex:1 1 100%}.actions{flex-wrap:wrap}.actions>span{display:flex;gap:8px;flex-wrap:wrap}.prohead{align-items:flex-start}.prohead>div{min-width:0}.hero h1{font-size:36px}.stats .stat{padding:16px}.role{max-width:135px}.card h3,.rowmain h3{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Klaar visual system */
:root {
  --ink:#202326; --muted:#5d6269; --line:#dce0e4; --bg:#f2f3f5;
  --white:#fff; --accent:#202326; --pale:#e8eaed; --dark:#17191c;
  color-scheme:light;
}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.012em}
::selection{background:#d7dce3;color:#17191c}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #39629a;outline-offset:3px}
svg{display:inline-block;width:21px;height:21px;vertical-align:middle;flex:none}
h1{letter-spacing:-.038em}h2{letter-spacing:-.025em}h3{letter-spacing:-.016em}
.side{padding:26px 16px;background:#f9f9fa}.brand,.mobilebrand{color:var(--ink)}.brand span,.mobilebrand span{color:#7a828e}
.nav button{border-radius:999px;color:var(--muted);display:flex;align-items:center}.nav button.active{background:var(--dark);color:white}
.topbar{background:var(--bg);height:72px}.top-actions{gap:9px}.top-actions>button{position:relative;min-width:42px;min-height:42px;border-radius:50%;background:white}
.notification-dot{position:absolute;top:8px;right:8px;width:7px;height:7px;background:#355c89;border-radius:50%;border:1px solid white}
.avatar{background:#e2e5e9;color:var(--ink)}.role{border-radius:999px;padding:9px 12px}
.btn,.chip,.back{border-radius:999px;min-height:42px}.btn{white-space:normal;text-align:center}.btn:hover{background:#373b42}
.btn.secondary:hover,.chip:hover{background:#e6e8ec}.btn.ghost,.btn.ghost:hover{background:transparent;color:var(--ink);text-decoration:underline;text-underline-offset:.24em}
.btn svg{width:17px;height:17px}.back{padding:7px 13px;background:white}.chip{font-size:13px;padding:8px 16px;border-color:transparent;white-space:nowrap}.chip.active{background:var(--dark);color:white;border-color:var(--dark)}
.card,.panel{border-radius:20px}.card{border-color:#e2e5e8}.panel{border-color:transparent}
.tag,.tag.warm{background:#e8eaed;color:#444b55;border-radius:999px}.notice{background:#e8eaed;color:var(--ink)}.stars{color:#73551d}
.content{max-width:1160px;padding-top:36px}.section{margin-top:30px}.intro{align-items:center}.stats{border-radius:18px}.stat{font-variant-numeric:tabular-nums}
.home-search{display:flex;align-items:center;gap:10px;background:white;border-radius:999px;padding:5px 6px 5px 17px;max-width:640px}
.home-search input{min-width:0;flex:1;background:transparent;border:0;padding:8px 0;font-size:16px}.home-search label{display:grid;place-items:center}
.circle{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff;color:var(--ink);flex:none}
.home-search .circle{background:var(--dark);color:white}
.home-cats{margin-top:26px}.home-chips{flex-wrap:nowrap;overflow:auto;scrollbar-width:none;margin-bottom:17px}
.home-layout{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(0,1fr);gap:26px;align-items:start}.home-overview{min-width:0}.home-overview h2{margin-bottom:12px}
.compact-list{padding:5px 14px}.full-row{width:100%;text-align:left;padding:11px 0}.full-row .rowmain small{display:block;color:var(--muted)}.full-row >svg{width:16px}.full-row:hover strong{text-decoration:underline}
.thumb{width:52px;height:48px;border-radius:10px;overflow:hidden;flex:none}.thumb img{width:100%;height:100%;object-fit:cover}
.job-card{position:relative}.job-card .cardimage{height:auto;aspect-ratio:1.72}.job-card h3{font-size:18px;line-height:1.25;margin:6px 0}.job-card .meta{gap:5px 12px}.job-card .meta span{white-space:normal}
.favorite{position:absolute;top:12px;right:12px;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:white;color:var(--ink);z-index:1}.favorite.saved svg{fill:currentColor}
.card-action{display:flex;align-items:center;justify-content:space-between;gap:7px;width:100%;margin-top:10px;font-weight:650;text-align:left;padding:0}.card-action .circle{background:var(--dark);color:white;width:36px;height:36px}.card-action:hover .circle{background:#505762}
.home-layout .job-card{background:#30363b;color:white;min-height:340px;border:0;box-shadow:0 10px 24px #20232624;isolation:isolate;display:flex;align-items:end}
.home-layout .job-card .cardimage{position:absolute;inset:0;width:100%;height:100%;z-index:-2}.home-layout .job-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,#101215cc 76%,#101215);z-index:-1}
.home-layout .job-card .cardbody{width:100%;padding:20px}.home-layout .job-card .meta{color:#f0f1f2}.home-layout .job-card h3{font-size:clamp(22px,3vw,30px)}
.home-layout .card-action{padding:4px 5px 4px 15px;background:#35383c;border-radius:999px;margin-top:14px}.home-layout .card-action .circle{background:#fff;color:var(--ink)}
.hero{border-radius:24px;background:#e6e8eb}.hero p{color:var(--muted)}.hero .btn{margin-top:5px}
.detail-photo{position:relative;height:clamp(220px,31vw,410px);overflow:hidden;border-radius:24px 24px 0 0;background:#d5d9dc}
.detail-photo img{display:block;width:100%;height:100%;object-fit:cover}.photo-back{position:absolute;top:12px;left:12px}
.detail-sheet{position:relative;background:var(--bg);border-radius:26px 26px 0 0;margin:-23px 0 0;padding:25px 20px 0}
.detailhead{margin-top:9px}.detail-sheet .split>.section:first-child,.detail-sheet .split>div>.section:first-child{margin-top:0}
.detail-sheet .split aside .section{margin-top:12px}
.detail-sheet .split aside .btn{margin-top:8px}.detailhead h1{overflow-wrap:anywhere}
.filters select,.filters input,.field :is(input,select,textarea){border-color:#d8dce1;border-radius:13px;min-width:0}
.tabs{border:0;gap:7px;scrollbar-width:thin}.tabs button{background:white;border:0;border-radius:999px;padding:9px 15px;min-height:42px}
.tabs button.active{background:var(--dark);color:white;border:0}.tabs button:hover:not(.active){background:#e8eaed}
.progress{background:#dce0e5}.progress span{background:var(--dark)}
.choices button{border-radius:13px}.choices button.selected{background:var(--dark);color:white}
.modal{border-radius:24px;box-shadow:0 15px 55px #1114}.modalwrap{background:#1117}.chatbox,.chatlist{min-width:0}.chatlist .row:hover{background:var(--bg)}.bubble{overflow-wrap:anywhere}.bubble.mine{background:#e3e9ef;color:#242b34}
#toast{background:var(--dark);border-radius:999px;text-align:center;width:max-content;max-width:calc(100vw - 32px)}
@media (max-width:1000px) and (min-width:801px) {
  .shell{grid-template-columns:192px minmax(0,1fr)}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:800px) {
  .topbar{height:61px;border-bottom:0}.content{padding:16px 16px calc(112px + env(safe-area-inset-bottom))}
  .bottom{bottom:max(12px,env(safe-area-inset-bottom));left:50%;right:auto;transform:translateX(-50%);width:min(calc(100% - 30px),440px);padding:6px 7px;gap:2px;background:#202326;color:white;border:0;border-radius:999px;box-shadow:0 6px 24px #0c10142b}
  .bottom button{color:#e9eaec;min-width:0;min-height:50px;gap:0;align-items:center;padding:4px 1px;white-space:nowrap;font-size:clamp(8px,2.45vw,11px);border-radius:999px}
  .bottom button i{display:grid;place-items:center}.bottom button.active{background:white;color:#202326}
  .home-intro{flex-direction:row;align-items:center;gap:12px;margin-bottom:18px}.home-intro h1{font-size:29px;margin-bottom:3px}.home-intro p{font-size:13px}
  .home-cta{padding:9px 12px;min-width:max-content;font-size:12px}.home-cta svg{width:14px;height:14px}
  .home-layout{grid-template-columns:minmax(0,1fr);gap:25px}.home-layout .job-card{min-height:clamp(295px,90vw,390px)}
  .home-cats h2{font-size:20px}.home-cats .btn{font-size:13px;padding-right:1px}
  .home-chips{margin-right:-16px;padding-right:16px}.home-chips .chip{padding:8px 13px}
  .detail-photo{margin:-8px -16px 0;border-radius:0;height:clamp(230px,67vw,370px)}.detail-sheet{margin:-20px -16px 0;padding:22px 16px 0}
  .detailhead{align-items:start}.detailhead h1{font-size:28px}.detail-sheet .detailhead{margin-top:0}.detail-sheet .detailhead>div{flex:1 1 100%}
  .detail-sheet .split{display:flex;flex-direction:column}.detail-sheet .split aside{display:grid;gap:8px}
  .job-card .cardimage{aspect-ratio:1.8}.job-card .cardbody{padding:14px 16px}
  .panel{padding:18px}.compact-list{padding:4px 13px}
  #toast{bottom:calc(84px + env(safe-area-inset-bottom))}
}
@media (max-width:350px) {
  .home-intro{align-items:flex-start;flex-direction:column}.top-actions{gap:4px}
  .sectionhead{flex-wrap:wrap}.filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}

.card-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:8px 0 10px}
.home-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:22px}
.home-summary button{text-align:left;padding:13px 16px}.home-summary button:hover{background:#e9ebee}
.home-summary strong{display:block;font-size:23px;line-height:1.2}.home-summary span{display:block;color:var(--muted);font-size:12px}
.prohead{min-width:0}.prohead h1,.prohead h3,.rowmain{overflow-wrap:anywhere}
@media(max-width:480px){.home-summary button{padding:10px}.filterbar select,#budget,#period,#posted{max-width:100%}}

.choices{grid-template-columns:repeat(2,minmax(0,1fr))}
.choices button{overflow-wrap:anywhere}
@media(max-width:370px){.wizard .choices{grid-template-columns:minmax(0,1fr)}}

/* Berichten: op mobiel heeft elk gesprek een eigen scherm. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.chatlayout{padding:0;overflow:hidden;align-items:stretch;min-height:500px}
.chatlist{min-width:0;padding:10px;max-height:650px;overflow-y:auto}
.conversation-row{display:flex;align-items:center;gap:12px;width:100%;padding:13px 10px;text-align:left;border-radius:12px;min-width:0}
.conversation-row:hover,.conversation-row.selected{background:#f0f1f3}
.conversation-info{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.conversation-info strong,.conversation-info span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.conversation-info span{font-size:13px;color:var(--muted)}
.conversation-arrow{display:none;color:var(--muted)}
.chatbox{padding:0;min-width:0;display:flex;flex-direction:column}
.chat-header{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}
.chat-header>div{display:flex;flex-direction:column;min-width:0}
.chat-header span{overflow-wrap:anywhere;font-size:13px}
.chat-back{display:none}
.messages{padding:20px;min-height:280px;flex:1}
.send{padding:12px 20px 20px;align-items:center}
.send input{min-width:0;flex:1;border-radius:999px}
@media(max-width:800px){
  .chatlayout{display:block;min-height:0;overflow:visible;background:transparent;border:0}
  .chat-intro{margin-bottom:18px}
  .chatlist{max-height:none;overflow:visible;background:#fff;border:0;border-radius:20px;padding:8px}
  .conversation-row{min-height:70px}
  .conversation-row.selected{background:transparent}
  .conversation-row+.conversation-row{border-top:1px solid var(--line)}
  .conversation-arrow{display:block}
  .chatbox{display:none;background:#fff;border-radius:20px;min-height:0;overflow:hidden}
  .chat-open .chatlist{display:none}
  .chat-open .chatbox{display:flex}
  .chat-open .chat-back{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#f0f1f3;flex:none}
  .chat-header{padding:16px}
  .messages{min-height:220px;padding:18px 16px}
  .send{padding:12px 16px 20px}
  .send .btn{padding:10px 14px}
}
.brand-logo{display:flex;align-items:center;gap:7px;padding:0;text-align:left;line-height:1;color:#202326}
.brand-logo img{width:38px;height:38px;object-fit:contain;mix-blend-mode:multiply}
.brand-logo span{font-size:26px;font-weight:800;letter-spacing:-1.3px;color:#202326}
.mobilebrand.brand-logo img{width:33px;height:33px}.mobilebrand.brand-logo span{font-size:22px}
.mobilebrand.brand-logo{display:none}
@media(max-width:800px){.mobilebrand.brand-logo{display:flex}}

/* Chats blijven binnen de beschikbare schermhoogte. */
input,select,textarea{font-size:16px}
.view-chat .content{max-width:none;padding-top:24px;padding-bottom:20px;height:calc(100dvh - 72px);display:flex;flex-direction:column;min-height:0}
.view-chat .chat-intro{flex:none;margin-bottom:16px}
.chatlayout{flex:1;height:0;min-height:0;grid-template-columns:minmax(240px,320px) minmax(0,1fr)}
.chatlist{min-height:0;max-height:none;overscroll-behavior:contain;border-right:1px solid var(--line)}
.conversation-row{border-radius:10px;min-height:76px}
.conversation-info{gap:2px}.conversation-preview{color:#6d737b!important;font-size:12px!important}
.chatbox{min-height:0;background:#f2f3f5}
.chat-header{background:#fff;flex:none}.chat-avatar{width:42px;height:42px}
.messages{min-height:0;overflow-y:auto;overscroll-behavior:contain;justify-content:flex-start;gap:9px;padding:24px}
.bubble{max-width:min(78%,550px);padding:10px 14px;border-radius:15px 15px 15px 4px;line-height:1.45;background:#fff;box-shadow:0 1px 2px #1111;white-space:pre-wrap}
.bubble.mine{background:#dce9e1;color:#1d3028;border-radius:15px 15px 4px 15px}
.send{background:#fff;flex:none;padding:12px 16px;gap:10px}.send input{background:#f2f3f5;border:1px solid transparent;min-height:44px}.send .btn{min-height:44px}
@media(max-width:800px){
  .view-chat .content{height:calc(100dvh - 61px);padding:12px 12px calc(84px + env(safe-area-inset-bottom));overflow:hidden}
  .view-chat .chat-intro{margin:0 4px 12px}.view-chat .chat-intro h1{font-size:26px;margin-bottom:2px}.view-chat .chat-intro p{font-size:13px}
  .chatlayout{height:0;min-height:0;overflow:hidden;flex:1;border-radius:18px}
  .chatlist{height:100%;max-height:none;overflow-y:auto;overscroll-behavior:contain;border-radius:18px}
  .chatbox{height:100%;min-height:0;border-radius:18px}
  .chat-header{padding:10px 12px;gap:9px}.chat-header strong{font-size:14px}.chat-header span.muted{font-size:12px}
  .chat-avatar{width:36px;height:36px}.messages{min-height:0;padding:16px 12px}.bubble{max-width:86%;font-size:14px}
  .send{padding:9px 10px;gap:7px}.send .btn{padding:9px 12px}.send input{font-size:16px}
  .view-chat .bottom{z-index:5}
}
@media(max-height:550px) and (max-width:800px){.view-chat .chat-intro p{display:none}.view-chat .content{padding-top:4px}.view-chat .chat-intro{margin-bottom:5px}}
