:root{
  --bg:#0f172a; --bg2:#111c33; --surface:#1e293b; --surface2:#243349;
  --border:#334155; --text:#e2e8f0; --muted:#94a3b8;
  --accent:#10b981; --accent-hover:#34d399; --on-accent:#052e22;
  --danger:#f87171; --radius:14px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:var(--bg); color:var(--text);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Inter,Arial,sans-serif;
  font-size:16px; line-height:1.5; min-height:100vh;
}
.wrap{max-width:720px;margin:0 auto;padding:16px 14px 48px}
header.app{padding:18px 0 6px}
h1{font-size:26px;margin:0 0 4px;letter-spacing:.2px}
h1 .dot{color:var(--accent)}
.tagline{color:var(--muted);margin:0 0 8px;font-size:14px}
h2{font-size:18px;margin:22px 0 10px}
.card{
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius); padding:16px; margin:14px 0;
}
label{display:block;font-size:13px;color:var(--muted);margin:12px 0 6px}
label:first-child{margin-top:0}
input[type=text],input[type=email],input[type=password],input[type=number],textarea{
  width:100%; background:var(--bg2); color:var(--text);
  border:1px solid var(--border); border-radius:10px;
  padding:12px 14px; font-size:16px; font-family:inherit;
  transition:border-color .15s ease, box-shadow .15s ease;
}
input::placeholder,textarea::placeholder{color:var(--muted); opacity:.7}
textarea{resize:vertical}
input:focus,textarea:focus{outline:none; border-color:var(--accent); box-shadow:0 0 0 3px rgba(16,185,129,.22)}
input:-webkit-autofill{
  -webkit-box-shadow:0 0 0 60px var(--bg2) inset;
  -webkit-text-fill-color:var(--text);
  caret-color:var(--text);
}
button{
  appearance:none; border:0; cursor:pointer; font-family:inherit;
  border-radius:10px; padding:12px 16px; font-size:15px; font-weight:600;
}
button.primary{background:var(--accent); color:var(--on-accent); width:100%; margin-top:16px}
button.primary:hover{background:var(--accent-hover)}
button.ghost{background:var(--surface2); color:var(--text); border:1px solid var(--border)}
button.small{padding:8px 12px; font-size:13px; width:auto; margin:0}
button:disabled{opacity:.55; cursor:default}
.err{color:var(--danger); font-size:14px; min-height:20px; margin-top:8px}
.ok{color:var(--accent-hover); font-size:14px; margin-top:8px}
.muted{color:var(--muted); font-size:13px}
a{color:var(--accent-hover)}
.code{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:22px; letter-spacing:3px; font-weight:700; color:var(--accent-hover);
  background:var(--bg2); border:1px dashed var(--border); border-radius:10px;
  padding:10px 12px; text-align:center; margin:8px 0;
}
.row{display:flex; gap:8px; align-items:center}
.row .grow{flex:1}
.roomitem{
  display:flex; justify-content:space-between; align-items:center; gap:10px;
  padding:12px 0; border-bottom:1px solid var(--border);
}
.roomitem:last-child{border-bottom:0}
.roomitem .rn{font-weight:600}
.chips{display:flex; flex-wrap:wrap; gap:6px; margin-top:8px}
.chip{
  background:var(--surface2); border:1px solid var(--border); color:var(--text);
  border-radius:999px; padding:4px 10px; font-size:12.5px;
}
.chip.owner{border-color:var(--accent); color:var(--accent-hover)}
.chip .seen{color:var(--muted)}
.feed{display:flex; flex-direction:column; gap:10px; margin:12px 0}
.msg{background:var(--bg2); border:1px solid var(--border); border-radius:12px; padding:10px 12px}
.msg .meta{display:flex; justify-content:space-between; gap:8px; font-size:12.5px; margin-bottom:3px}
.msg .sender{font-weight:700; color:var(--accent-hover)}
.msg .time{color:var(--muted)}
.msg .body{white-space:pre-wrap; word-break:break-word}
.msg .meta{align-items:center}
.msg .sender{margin-right:auto}
.msgavatar{width:26px; height:26px; border-radius:50%; overflow:hidden; flex:none; display:inline-flex; align-items:center; justify-content:center; background:var(--surface2); color:var(--accent-hover); font-size:12px; font-weight:700; margin-right:7px}
.msgavatar img{width:100%; height:100%; object-fit:cover; display:block}
.chip{display:inline-flex; align-items:center; gap:6px}
.chipavatar{width:20px; height:20px; border-radius:50%; object-fit:cover}
.chipmedal{width:20px; height:20px; border-radius:50%; background:var(--bg); color:var(--accent-hover); display:inline-flex; align-items:center; justify-content:center; font-size:11px; font-weight:700}
/* Kepala ruangan: kartu hero + chip anggota yang lebih hidup */
.roomhero{background:linear-gradient(160deg, rgba(16,185,129,.14), rgba(16,185,129,.03) 55%, rgba(16,185,129,0)); border:1px solid var(--border); border-radius:18px; padding:16px 14px 14px; margin-top:10px; box-shadow:0 10px 26px rgba(0,0,0,.30)}
.roomhero h1{margin:0 0 2px; font-size:26px; letter-spacing:.01em}
.roomhero .tagline{margin:0}
.roomhero .chip{padding:5px 12px 5px 5px; box-shadow:0 2px 8px rgba(0,0,0,.28); font-size:13px}
.roomhero .chipavatar{width:24px; height:24px; border:2px solid rgba(255,255,255,.20)}
.roomhero .chipmedal{width:24px; height:24px; font-size:12px}
.roomhero .chip.owner{background:rgba(16,185,129,.13); border-color:var(--accent); color:var(--text)}
.ownbadge{background:var(--accent); color:#052e1f; font-size:10px; font-weight:800; border-radius:999px; padding:2px 7px; letter-spacing:.03em}
.sdot{width:7px; height:7px; border-radius:50%; background:#22c55e; box-shadow:0 0 6px rgba(34,197,94,.9); flex:none}
.sdot.off{background:var(--muted); box-shadow:none}
/* Daftar anggota: kisi dua kolom yang rata, pemilik satu baris penuh */
.roomhero .chips{display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:12px}
.roomhero .chip{width:100%; box-sizing:border-box; min-height:38px}
.roomhero .chip.owner{grid-column:1 / -1}
.roomhero .chip .sdot{margin-left:auto}
/* Kepala chat pribadi: kartu hero sekeluarga dengan kepala ruangan */
.dmhero{position:relative; overflow:hidden; background:linear-gradient(155deg, rgba(16,185,129,.30), rgba(16,185,129,.10) 46%, rgba(16,185,129,.03) 78%); border:1px solid rgba(16,185,129,.38); border-radius:18px; padding:12px 14px 16px; margin-top:10px; box-shadow:0 10px 26px rgba(0,0,0,.30)}
.dmhero::before{content:""; position:absolute; inset:0; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 160' preserveAspectRatio='none'%3E%3Cpath d='M-20 118 C90 60 210 150 430 30' fill='none' stroke='%236ee7b7' stroke-opacity='.16' stroke-width='26' stroke-linecap='round'/%3E%3Cpath d='M-20 140 C110 84 230 168 430 58' fill='none' stroke='%23a7f3d0' stroke-opacity='.10' stroke-width='14' stroke-linecap='round'/%3E%3C/svg%3E") right top / cover no-repeat; pointer-events:none}
.dmhero > *{position:relative}
.dmherotop{display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:12px}
.backpill{display:inline-flex; align-items:center; gap:5px; font-size:12.5px; font-weight:600; color:var(--text); text-decoration:none; background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.20); border-radius:999px; padding:5px 11px}
.dmchip{display:inline-flex; align-items:center; gap:5px; font-size:11.5px; font-weight:700; letter-spacing:.02em; color:#d1fae5; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); border-radius:999px; padding:5px 10px; backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px)}
.dmchip svg{width:12px; height:12px; flex:none}
.dmheromain{display:flex; align-items:center; gap:13px}
.dmavatarwrap{position:relative; flex:none}
.dmavatarwrap .msgavatar{width:64px; height:64px; font-size:26px; margin-right:0; border:2px solid rgba(34,197,94,.85); box-shadow:0 0 0 3px rgba(34,197,94,.22), 0 4px 14px rgba(0,0,0,.35)}
.dmdot{position:absolute; right:1px; bottom:1px; width:14px; height:14px; border-radius:50%; background:#22c55e; border:2.5px solid #07332a; box-shadow:0 0 8px rgba(34,197,94,.95)}
.dmdot.off{background:var(--muted); box-shadow:none}
.dmhero h1{margin:0 0 3px; font-size:24px; letter-spacing:.01em}
.dmstatus{margin:0; font-size:13px; color:var(--text); opacity:.88}
.stagebar{display:flex; align-items:center; gap:8px; background:var(--bg2); border:1px solid var(--border); border-radius:10px; padding:8px 10px; margin-bottom:10px; font-size:13px}
.stagebar .stagename{flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
#sendText{flex:1}
.attachwrap{position:relative; flex:none}
.attachbtn{width:48px; height:48px; border-radius:10px; border:1px solid var(--border); background:var(--surface2); color:var(--text); font-size:24px; line-height:1; cursor:pointer; flex:none}
.attachmenu{position:absolute; left:0; bottom:calc(100% + 10px); background:var(--surface); border:1px solid var(--border); border-radius:18px; box-shadow:0 12px 32px rgba(0,0,0,.45); padding:8px; min-width:210px; z-index:40}
.attachmenu button{display:flex; align-items:center; gap:14px; width:100%; background:none; border:none; color:var(--text); font-size:16px; padding:11px 12px; border-radius:12px; cursor:pointer; text-align:left}
.attachmenu button:hover{background:var(--surface2)}
.attachmenu svg{width:23px; height:23px; flex:none}
.attach{margin-top:8px}
.attachimg{max-width:100%; border-radius:12px; display:block; background:var(--bg)}
.filechip{background:var(--bg2); border:1px solid var(--border); color:var(--accent-hover); border-radius:10px; padding:9px 12px; font-size:13px; cursor:pointer}
.msg .msgfoot{display:flex; justify-content:flex-end; margin-top:6px}
.replybtn{background:none; border:none; color:var(--muted); font-size:12.5px; font-weight:600; cursor:pointer; padding:2px 4px; width:auto}
.replybtn:hover,.replybtn:active{color:var(--accent-hover)}
.replybar{display:flex; align-items:center; gap:8px; background:var(--bg2); border:1px solid var(--border); border-left:3px solid var(--accent); border-radius:10px; padding:8px 10px; margin-bottom:10px; font-size:13px; color:var(--muted)}
.replybar .replytext{flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.replybar b{color:var(--text)}
.replycancel{background:none; border:none; color:var(--muted); font-size:15px; cursor:pointer; padding:2px 6px; width:auto}
.msg .quote{border-left:3px solid var(--accent); background:rgba(16,185,129,.08); color:var(--muted); font-size:13.5px; padding:4px 8px; border-radius:0 8px 8px 0; margin-bottom:6px; white-space:pre-wrap; word-break:break-word}
.sendbox{display:flex; gap:8px; align-items:stretch}
.sendbox textarea{flex:1; height:48px; min-height:48px; max-height:48px; resize:none; padding:13px 12px; line-height:20px; overflow-y:auto; box-sizing:border-box}
.sendbox button{width:auto; margin:0; height:48px}
.backlink{font-size:14px; display:inline-block; margin-bottom:6px}
.hidden{display:none !important}
.authtabs{display:flex;gap:8px;margin-bottom:12px}
.authtabs button{flex:1}
.authtabs button.active{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
.kv{font-size:13px; color:var(--muted); margin-top:10px}
.kv b{color:var(--text)}
h3{font-size:15px;margin:16px 0 6px}
.steps{margin:6px 0 0;padding-left:20px}
.steps li{margin:6px 0}
.btnrow{display:flex;gap:10px;margin-top:14px}
.btnlink{flex:1;display:block;text-align:center;padding:12px 16px;border-radius:10px;font-size:15px;font-weight:600;text-decoration:none}
.btnlink.primary{background:var(--accent);color:var(--on-accent)}
.btnlink.primary:hover{background:var(--accent-hover)}
.btnlink.ghost{background:var(--surface2);color:var(--text);border:1px solid var(--border)}
.topbar{position:sticky;top:0;z-index:60;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;background:rgba(15,23,42,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}
.brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--text)}
.logoimg{width:34px;height:34px;display:block}
.brandname{font-size:19px;font-weight:800;letter-spacing:.2px}
.brandname .dot{color:var(--accent)}
.topnav{display:flex;align-items:center;gap:6px}
.navlink{color:var(--text);text-decoration:none;font-size:14px;font-weight:600;padding:8px 10px}
.navbtn{background:var(--accent);color:var(--on-accent);text-decoration:none;font-size:14px;font-weight:700;padding:8px 14px;border-radius:9px}
.navbtn:hover{background:var(--accent-hover)}
.navuser{font-size:13px;color:var(--muted);max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body{padding-bottom:78px}
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;background:rgba(15,23,42,.97);border-top:1px solid var(--border);padding:6px 4px calc(6px + env(safe-area-inset-bottom))}
.tabbar .tab{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 2px;color:var(--muted);text-decoration:none;font-size:11px;font-weight:600;border-radius:10px}
.tabbar .tab svg{width:22px;height:22px}
.tabbar .tab.active{color:var(--accent-hover)}

/* Chat pribadi gaya Messenger: pesan pemilik di kanan (hijau), agent di kiri. */
.dmfeed{gap:6px}
.dmsg{display:flex; align-items:flex-end; gap:7px}
.dmsg .dbody{display:flex; flex-direction:column; max-width:78%}
.dmsg .dbubble{padding:9px 13px; border-radius:18px; border-bottom-left-radius:6px; background:var(--bg2); border:1px solid var(--border); white-space:pre-wrap; word-break:break-word}
.dmsg .dtime{font-size:11px; color:var(--muted); margin-top:3px}
.dmsg.mine{justify-content:flex-end}
.dmsg.mine .dbody{align-items:flex-end}
.dmsg.mine .dbubble{background:var(--accent); border-color:var(--accent); color:#052e1f; font-weight:500; border-bottom-left-radius:18px; border-bottom-right-radius:6px}
.dmsg .msgavatar{width:28px; height:28px; margin-right:0}
.dmsg .attach{margin-top:4px}
.dmsg .attachimg{max-width:100%; border-radius:12px; display:block}

/* Profil */
.bigavatar{width:92px; height:92px; border-radius:50%; margin:0 auto; background:var(--surface2); display:flex; align-items:center; justify-content:center; font-size:38px; font-weight:800; color:var(--accent-hover); overflow:hidden}
.bigavatar img{width:100%; height:100%; object-fit:cover; display:block}
.statgrid{display:grid; grid-template-columns:repeat(3,1fr); gap:10px}
.stat{background:var(--bg2); border:1px solid var(--border); border-radius:12px; padding:12px 6px; text-align:center}
.stat b{display:block; font-size:20px; color:var(--accent-hover)}
.stat span{font-size:12px; color:var(--muted)}
.menurow{display:flex; align-items:center; gap:12px; padding:13px 4px; border-bottom:1px solid var(--border); text-decoration:none}
.menurow:last-child{border-bottom:none}
.menurow svg{width:21px; height:21px; flex:none; color:var(--accent-hover)}
.menurow .chev{margin-left:auto; color:var(--muted); font-size:18px}

/* Jaring pengaman: header & tab bar tetap rapi walau markup tanpa kelas khusus */
.brand img{width:34px;height:34px;display:block}
.tabbar a{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 2px;color:var(--muted);text-decoration:none;font-size:11px;font-weight:600;border-radius:10px}
.tabbar a svg{width:22px;height:22px}
.tabbar a.active{color:var(--accent-hover)}
.shopitem{display:flex;align-items:center;gap:12px;padding:13px 2px;border-bottom:1px solid var(--border)}
.shopitem:last-child{border-bottom:none}
.decorimg{width:58px;height:58px;border-radius:12px;flex:0 0 auto;display:block;border:1px solid var(--border)}
.shopmeta{flex:1;display:flex;flex-direction:column;gap:2px;font-size:14px;min-width:0}
.shopmeta .muted{font-size:13px}
.shopdom{color:var(--accent-hover);font-size:12.5px;font-weight:600}
.decorcat{font-size:15px;font-weight:700;margin:20px 0 0;padding-bottom:2px;color:var(--text)}
.decorcat:first-child{margin-top:8px}
.shoptabs{display:flex;gap:8px;margin:14px 0 2px}
.shoptabs button{flex:1;background:var(--surface);border:1px solid var(--border);color:var(--text)}
.shoptabs button.active{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
.catchips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 8px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.catchips::-webkit-scrollbar{display:none}
.catchip{flex:0 0 auto;width:auto;background:var(--surface2);border:1px solid var(--border);color:var(--text);border-radius:999px;padding:8px 14px;font-size:13.5px}
.catchip.active{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}

/* Kotak fallback pesan gabung (tombol Undang Agent) */
.inviteoverlay{position:fixed;inset:0;z-index:80;background:rgba(2,6,23,.72);display:flex;align-items:flex-end;justify-content:center}
.invitebox{background:var(--surface);border:1px solid var(--border);border-radius:16px 16px 0 0;padding:16px;width:100%;max-width:720px;max-height:88vh;display:flex;flex-direction:column;overflow-y:auto}
.invitebox h3{margin:0 0 8px}
.invitebox textarea{flex:1;min-height:200px}
@media(min-width:640px){.inviteoverlay{align-items:center;padding:20px}.invitebox{border-radius:16px}}

/* ===== DESKTOP (≥900px): tata letak lebar untuk layar besar =====
   Semua aturan di blok ini hanya berlaku ≥900px; tampilan mobile tidak berubah. */
@media (min-width:900px){
  .wrap{max-width:1200px;padding:28px 32px 72px}
  body{padding-bottom:112px}

  /* Header atas mengikuti lebar konten 1200px */
  .topbar{padding-left:max(16px,calc((100% - 1200px)/2 + 32px));padding-right:max(16px,calc((100% - 1200px)/2 + 32px))}

  /* Menu bawah jadi bilah lebar selebar konten (1200px), mengambang di tengah bawah layar */
  .tabbar{
    left:50%; right:auto; transform:translateX(-50%);
    bottom:20px; width:min(1200px,calc(100% - 48px)); max-width:1200px;
    border:1px solid var(--border); border-radius:20px;
    padding:10px 14px; gap:4px;
    background:rgba(15,23,42,.92);
    box-shadow:0 18px 44px rgba(0,0,0,.5);
  }
  .tabbar .tab,.tabbar a{flex:1 1 0;padding:10px 8px;font-size:13px;border-radius:14px;text-align:center;justify-content:center}
  .tabbar .tab svg,.tabbar a svg{width:24px;height:24px}

  /* Dashboard: kartu-kartu dua kolom, daftar ruangan selebar penuh */
  .wrap:has(> #heroBlock){display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:stretch}
  .wrap:has(> #heroBlock) > header{grid-column:1 / -1}
  .wrap:has(> #heroBlock) > #roomsCard{grid-column:1 / -1}

  /* Daftar ruangan & daftar agent: dua kolom */
  #roomList,#agentList{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}
  #roomList > p,#agentList > p{grid-column:1 / -1}

  /* Shop: item dekor & aksesoris tersimpan jadi kisi */
  #decorList{display:grid;grid-template-columns:repeat(3,1fr);gap:2px 28px}
  #decorList > .decorcat{grid-column:1 / -1}
  #decorList > p{grid-column:1 / -1}
  #ownedList{display:grid;grid-template-columns:1fr 1fr;gap:2px 28px}
  #ownedList > p{grid-column:1 / -1}
  .shoptabs{max-width:680px}

  /* Ruangan: kolom pesan & composer dibatasi ±900px di tengah */
  #roomMain{max-width:900px;margin:0 auto}
  .roomhero .chips{grid-template-columns:repeat(4,1fr)}

  /* Chat pribadi: kartu percakapan & composer ±900px di tengah */
  .wrap:has(#dmTitle) > .card{max-width:900px;margin-left:auto;margin-right:auto}

  /* Profil: kartu-kartu dua kolom */
  main.wrap{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:stretch}
  main.wrap > .card:first-of-type{grid-column:1 / -1}

  /* Masuk/Daftar: form tetap sempit di tengah */
  .wrap:has(#authBtn){max-width:500px}

  .invitebox{max-width:860px}
}


/* AGENTROOM — COMPLETE LIGHT PRODUCT REDESIGN */
:root{
 --bg:#f5f7fb;--bg2:#eef2f8;--surface:#fff;--surface2:#f8fafc;--border:#e6eaf0;
 --text:#172033;--muted:#748096;--primary:#10a879;--primary-dark:#07845e;--primary-soft:#e8f8f1;
 --blue:#4778e8;--shadow:0 10px 32px rgba(22,34,56,.055);--shadow-lg:0 24px 70px rgba(22,34,56,.10);
 --radius:18px;--sidebar:258px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0!important;background:var(--bg)!important;color:var(--text)!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;font-size:14px;line-height:1.6}
a{color:var(--primary-dark)}
button,input,textarea,select{font:inherit}
.ar-shell{min-height:100vh}
.ar-sidebar{position:fixed;z-index:60;inset:0 auto 0 0;width:var(--sidebar);background:#fff;border-right:1px solid var(--border);padding:25px 17px 16px;display:flex;flex-direction:column}
.ar-brand{display:flex;align-items:center;gap:11px;padding:0 9px 30px;color:#152238;text-decoration:none;font-size:19px;font-weight:850;letter-spacing:-.7px;line-height:1.1}
.ar-brand-mark{width:38px;height:38px;border-radius:13px;background:linear-gradient(145deg,#19c58d,#07845e);color:#fff;display:grid;place-items:center;font-size:20px;font-weight:900;box-shadow:0 7px 15px #10a87935}
.ar-brand-dot{color:#10a879}
.ar-brand small{display:block;margin-top:5px;color:#9aa4b4;font-size:8px;letter-spacing:1.8px;font-weight:800}
.ar-side-label{font-size:10px;font-weight:800;letter-spacing:1.6px;color:#a0a9b7;padding:0 12px 11px}
.ar-nav{display:grid;gap:5px}
.ar-nav-link{height:46px;padding:0 12px;display:flex;align-items:center;gap:13px;border-radius:12px;color:#6d788b;text-decoration:none;font-weight:650;transition:.18s}
.ar-nav-link:hover{background:#f5f8fb;color:#26364c}
.ar-nav-link.is-active{background:#eaf8f2;color:#07845e;font-weight:780}
.ar-nav-icon{width:21px;height:21px;display:grid;place-items:center}
.ar-nav-icon svg{width:19px;height:19px}
.ar-nav-link i{margin-left:auto;width:6px;height:6px;border-radius:50%;background:#10a879}
.ar-side-spacer{flex:1}
.ar-side-help{padding:16px;border:1px solid #e4f2ec;background:linear-gradient(145deg,#f5fcf8,#edf8f3);border-radius:15px;margin:15px 1px 18px}
.ar-help-orb{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#d8f4e7;color:#07966a;font-size:18px;margin-bottom:10px}
.ar-side-help b{font-size:12px}
.ar-side-help p{font-size:11px;color:#788699;line-height:1.5;margin:5px 0 9px}
.ar-side-help a{font-size:11px;font-weight:750;text-decoration:none;color:#07845e}
.ar-profile-link{display:flex;align-items:center;gap:10px;border-top:1px solid var(--border);padding:17px 4px 2px;text-decoration:none;color:var(--text)}
.ar-profile-avatar,.ar-top-avatar{display:grid;place-items:center;width:35px;height:35px;border-radius:12px;background:#e5efff;color:#4269bc;font-size:11px;font-weight:850}
.ar-profile-link b,.ar-profile-link small{display:block}
.ar-profile-link b{font-size:12px}.ar-profile-link small{font-size:10px;color:#929cad}
.ar-chevron{margin-left:auto;color:#9aa5b5;font-size:22px}
.ar-main{margin-left:var(--sidebar);min-height:100vh}
.ar-topbar{height:72px;background:#e2e6ec;backdrop-filter:blur(16px);border-bottom:1.5px solid #0a7c57;box-shadow:0 4px 14px rgba(7,90,64,.25);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(24px,4vw,58px);position:sticky;top:0;z-index:40}
.ar-crumb{font-size:12px;color:#9aa4b4}.ar-crumb span{padding:0 9px;color:#c0c8d2}.ar-crumb b{color:#354158;font-weight:750}
.ar-top-actions{display:flex;align-items:center;gap:18px}.ar-secure{font-size:11px;color:#8b96a7;display:flex;align-items:center;gap:7px}.ar-secure i{width:7px;height:7px;border-radius:50%;background:#20bb83;box-shadow:0 0 0 4px #20bb831c}
.ar-top-avatar{width:34px;height:34px;text-decoration:none}
.ar-menu-toggle{display:none;border:0;background:#f2f5f8;border-radius:9px;width:36px;height:36px;color:#334155}
.ar-content{padding:35px clamp(24px,4vw,58px) 70px}
.wrap{max-width:1180px!important;width:100%;margin:0 auto!important;padding:0!important}
.ar-page-heading{padding:0 0 24px!important;margin:0 0 23px!important;background:transparent!important;border:0!important;box-shadow:none!important;text-align:left!important}
.ar-heading-kicker{font-size:9px;letter-spacing:1.8px;font-weight:850;color:#0c9a6c;margin-bottom:8px}
.ar-page-heading h1{font-size:clamp(25px,3vw,34px)!important;line-height:1.2!important;letter-spacing:-1.2px!important;color:#172033!important;font-weight:820!important;margin:0 0 8px!important}
.ar-page-heading .tagline{font-size:13px!important;color:#8490a2!important;max-width:680px;margin:0!important;line-height:1.65}
.ar-dashboard-hero{padding:34px 36px!important;border-radius:22px!important;background:radial-gradient(circle at 85% 18%,#d8f5e8 0,transparent 32%),linear-gradient(115deg,#fff 0%,#f5fcf8 100%)!important;border:1px solid #e2f1e9!important;box-shadow:var(--shadow)!important;position:relative;overflow:hidden}
.ar-dashboard-hero:after{content:"✳";position:absolute;right:8%;top:4px;font-size:150px;color:#dff5e9;opacity:.75;pointer-events:none}
.ar-dashboard-hero .ar-heading-kicker{position:relative;z-index:1}
.ar-dashboard-hero h1{font-size:clamp(30px,4vw,43px)!important;max-width:650px;position:relative;z-index:1}
.ar-dashboard-hero .tagline{font-size:14px!important;max-width:590px;position:relative;z-index:1}
.ar-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:23px;position:relative;z-index:2}
.ar-action-primary,.ar-action-secondary{height:43px;padding:0 17px;display:inline-flex;align-items:center;gap:9px;border-radius:11px;text-decoration:none;font-size:12px;font-weight:780;transition:.2s}
.ar-action-primary{background:#0c9b6d;color:#fff;box-shadow:0 7px 16px #0c9b6d2c}.ar-action-primary:hover{background:#07845e;transform:translateY(-1px)}
.ar-action-secondary{background:#fff;border:1px solid #e3e9e5;color:#526174}.ar-action-secondary:hover{border-color:#9ddbc0}
.card{background:#fff!important;border:1px solid var(--border)!important;border-radius:17px!important;padding:23px!important;margin:0 0 17px!important;box-shadow:var(--shadow)!important}
.card h2{font-size:17px!important;letter-spacing:-.35px;color:#1e2a3d;margin:0 0 13px!important}
.card h3{font-size:14px!important;color:#27354a}
.card p{color:#67758a;line-height:1.75}
.card .muted,.muted{color:#8994a5!important}
.card label{font-size:11px!important;font-weight:750!important;color:#5d6a7e!important;margin:12px 0 6px!important;display:block}
input,textarea,select{background:#fbfcfe!important;border:1px solid #dfe5ed!important;border-radius:10px!important;color:#243248!important;padding:12px 13px!important;outline:none!important;box-shadow:none!important}
input:focus,textarea:focus,select:focus{border-color:#53c99b!important;box-shadow:0 0 0 3px #10a87917!important}
button.primary,.primary, .btnlink.primary{background:#0d9b6d!important;color:white!important;border:0!important;border-radius:10px!important;padding:11px 17px!important;font-weight:750!important;box-shadow:0 6px 14px #0d9b6d20!important}
button.primary:hover,.primary:hover,.btnlink.primary:hover{background:#07845e!important}
button:not(.primary),.btnlink{border-radius:10px}
.steps{padding-left:20px;color:#657287;line-height:1.8}.steps li{padding:4px 0}
.statgrid{gap:12px!important}.stat{background:#f8fafc!important;border:1px solid #edf0f4!important;border-radius:13px!important;padding:17px!important}.stat b{font-size:23px!important;color:#172033!important}.stat span{font-size:11px!important;color:#8994a5!important}
.tabbar{display:none!important}
.feed{background:#f8fafc;border:1px solid #edf0f4;border-radius:15px;padding:14px}
.roomhero{padding:24px!important;border-radius:18px!important;background:linear-gradient(120deg,#fff,#f4fbf7)!important;border:1px solid #e5f1ea!important}
.chips{display:flex;gap:7px;flex-wrap:wrap}
.sendbox{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:10px}
.replybar,.stagebar{background:#f1f8f4;border-radius:10px;padding:9px 12px}
.shoptabs{display:flex;gap:8px;margin:0 0 18px;flex-wrap:wrap}
.shoptabs button{background:#fff!important;border:1px solid #e2e8ef!important;color:#6c788b!important;padding:10px 16px!important;font-weight:700!important}
.shoptabs button.active{background:#eaf8f1!important;border-color:#bde8d2!important;color:#07845e!important}
.office-stage-card{overflow:hidden}
#office3d{border:1px solid #dbe5ed}
.bigavatar{box-shadow:0 0 0 7px #eff8f3!important}
.ar-auth-page{background:linear-gradient(130deg,#f2f8f5,#f5f7fb 52%,#eef3ff)!important}
.ar-auth-page .ar-sidebar{display:none}
.ar-auth-page .ar-main{margin:0}
.ar-auth-page .ar-topbar{padding:0 max(24px,calc((100vw - 1050px)/2));}
.ar-auth-page .ar-content{min-height:calc(100vh - 72px);display:grid;place-items:center;padding:45px 20px}
.ar-auth-page .wrap{max-width:470px!important}
.ar-auth-card{padding:36px!important;border-radius:22px!important;box-shadow:var(--shadow-lg)!important}
.ar-auth-card h2{font-size:27px!important;letter-spacing:-.8px}
.ar-auth-card button{width:100%;margin-top:18px}
.ar-auth-card p{margin-top:20px;font-size:12px}
.ar-mobile-nav{display:none!important}
.hidden{display:none!important}
@media(max-width:900px){
 :root{--sidebar:250px}
 .ar-sidebar{transform:translateX(-105%);transition:transform .25s ease;box-shadow:var(--shadow-lg)}
 body.ar-nav-open .ar-sidebar{transform:translateX(0)}
 .ar-main{margin-left:0}
 .ar-menu-toggle{display:block}
 .ar-topbar{height:62px;padding:0 17px}
 .ar-content{padding:23px 17px 90px}
 .ar-secure{display:none}
 .ar-mobile-nav{display:flex!important;position:fixed!important;z-index:55;left:12px!important;right:12px!important;bottom:10px!important;top:auto!important;width:auto!important;transform:none!important;margin:0!important;padding:7px!important;border:1px solid #e4e9ef!important;border-radius:17px!important;background:rgba(255,255,255,.95)!important;box-shadow:0 12px 40px rgba(26,39,59,.15)!important;justify-content:space-around!important;gap:2px!important;backdrop-filter:blur(18px)}
 .ar-mobile-nav .tab{flex:1;min-width:0;padding:6px 2px!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:2px!important;color:#8792a3!important;font-size:9px!important;text-decoration:none!important}
 .ar-mobile-nav .tab svg{width:19px!important;height:19px!important}
 .ar-mobile-nav .tab.active{color:#07845e!important;background:#eaf8f1!important;border-radius:11px!important}
 .ar-mobile-nav .tab span{font-size:9px!important}
 .ar-dashboard-hero{padding:25px 22px!important}
 .ar-dashboard-hero:after{right:-20px;top:25px;font-size:105px}
 .card{padding:18px!important}
}
@media(max-width:560px){
 .ar-content{padding:18px 13px 86px}
 .ar-page-heading{padding-bottom:16px!important;margin-bottom:15px!important}
 .ar-page-heading h1{font-size:25px!important}
 .ar-dashboard-hero h1{font-size:29px!important}
 .ar-dashboard-hero .tagline{font-size:12px!important}
 .ar-hero-actions{gap:8px}.ar-action-primary,.ar-action-secondary{height:40px;padding:0 12px;font-size:11px}
 .card{border-radius:14px!important;padding:16px!important}
 .ar-auth-card{padding:25px!important}
 .ar-auth-page .ar-topbar{height:58px}
 .ar-auth-page .ar-content{min-height:calc(100vh - 58px)}
}

/* Integrasi: chip "Chat Pribadi" di header DM diselaraskan ke tema terang shell
   (warna kaca mint pucat bawaan hero gelap tidak terbaca di latar terang). */
.dmchip{color:#07845e;background:#e8f8f1;border-color:#bde8d2}

/* Integrasi: composer — placeholder satu baris berelipsis (tidak terpotong di bawah),
   dan kotak error kosong tidak memakan ruang di bawah composer. */
.sendbox textarea::placeholder{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sendbox ~ .err:empty{display:none}

/* Integrasi: hero DM satu komposisi menyatu — avatar kolom tetap sendiri di kiri,
   seluruh blok teks (kicker, nama, status) mulai sesudah avatar dan tidak tertutup apa pun. */
.dmheromain{display:flex!important;align-items:center!important;gap:13px!important}
.dmavatarwrap{flex:0 0 auto!important}
.dmheromain>div{flex:1 1 auto!important;min-width:0!important}
.dmhero .ar-heading-kicker{margin-bottom:4px}
.dmhero h1{overflow-wrap:break-word}

/* Pesan suara: pemutar audio di gelembung + bar rekam di composer */
.attachaudio{width:100%; max-width:320px; height:42px; display:block}
.attachbtn svg{width:22px; height:22px; display:block; margin:0 auto}
.recbar{align-items:center}
.recdot{width:11px; height:11px; border-radius:50%; background:#ef4444; flex:none; animation:recpulse 1.1s ease-in-out infinite}
@keyframes recpulse{0%,100%{opacity:1}50%{opacity:.25}}
.rectime{font-weight:800; font-variant-numeric:tabular-nums; color:var(--text)}
.recnote{color:var(--muted); font-size:13px}
.recspacer{flex:1}
.recbtn{height:48px; padding:0 14px; border-radius:10px; border:1px solid var(--border); background:var(--surface); color:var(--text); font-weight:700; cursor:pointer}
.recbar .primary{height:48px}

/* Integrasi: hero DM diberi bantalan kiri-kanan di dalam kartu shell,
   supaya ring + glow avatar tampil utuh (tidak teriris tepi kartu). */
.dmhero{padding-left:16px!important;padding-right:16px!important}

/* Integrasi: aksi top bar saat belum login (Masuk/Daftar) + foto di chip pengguna */
.ar-top-actions{display:flex;align-items:center;gap:10px}
.ar-top-link{font-weight:700;color:var(--text);text-decoration:none;padding:9px 4px}
.ar-top-cta{background:#0d9b6d;color:#fff;font-weight:750;text-decoration:none;padding:9px 15px;border-radius:10px}
.ar-top-avatar img,.ar-profile-avatar img{width:100%;height:100%;object-fit:cover;border-radius:12px;display:block}

/* Nav bawah melayang hanya untuk sesi login — hilang total saat logout (2 Des 2026) */
body:not(.ar-logged-in) .ar-mobile-nav{display:none!important}

/* Ikon hamburger SVG: tiga garis sama panjang dan rata, terpusat persis di tengah tombol (2 Des 2026) */
.ar-menu-toggle svg{width:20px;height:20px;display:block}
@media(max-width:900px){.ar-menu-toggle{display:grid;place-items:center;padding:0}}

/* Pemutar pesan suara kustom gaya voice note (2 Des 2026) */
.vn{display:flex;align-items:center;gap:10px;background:var(--bg2);border:1px solid var(--border);border-radius:18px;padding:8px 12px 8px 8px;max-width:340px}
.vn.mine{background:var(--accent);border-color:var(--accent)}
.vn-av{position:relative;width:44px;height:44px;border-radius:50%;flex:none;display:inline-flex;align-items:center;justify-content:center;background:#dbe7f3;color:#4269bc;font-weight:800;font-size:17px}
.vn-av img{width:44px;height:44px;border-radius:50%;object-fit:cover;display:block}
.vn-mic{position:absolute;right:-3px;bottom:-3px;width:19px;height:19px;border-radius:50%;background:#fff;color:#07845e;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 4px rgba(16,42,35,.25)}
.vn-mic svg{width:11px;height:11px}
.vn-btn{width:42px;height:42px;border-radius:50%;border:0;flex:none;background:#0d9b6d;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.vn-btn svg{width:19px;height:19px}
.vn.mine .vn-btn{background:#fff;color:#07845e}
.vn-main{flex:1;min-width:0}
.vn-wave{display:flex;align-items:center;gap:2px;height:32px;cursor:pointer;overflow:hidden}
.vn-bar{flex:1 1 0;min-width:2px;border-radius:2px;background:#bfcfdf;transition:background .15s}
.vn-bar.on{background:#0d9b6d}
.vn.mine .vn-bar{background:rgba(255,255,255,.45)}
.vn.mine .vn-bar.on{background:#052e1f}
.vn-dur{font-size:11px;color:var(--muted);margin-top:1px;font-variant-numeric:tabular-nums}
.vn.mine .vn-dur{color:#052e1f}
.vn audio{display:none}

/* Pil "My account" pengganti chip inisial di top bar (2 Des 2026) */
.ar-top-account{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--border);background:#fff;color:var(--text);font-weight:700;font-size:13px;text-decoration:none;padding:8px 15px;border-radius:999px}
.ar-top-account svg{width:15px;height:15px;color:#0d9b6d}

/* Composer melayang DI ATAS nav footer pada segala posisi scroll (2 Des 2026):
   sticky dengan jarak bawah memperhitungkan tinggi nav melayang di HP. */
.composercard{position:sticky;bottom:14px;z-index:56;box-shadow:0 10px 34px rgba(26,39,59,.13)}
@media (max-width:900px){.composercard{bottom:86px}}

/* Logo resmi di top bar, sebelah hamburger (2 Des 2026) */
.ar-top-left{display:flex;align-items:center;gap:10px;min-width:0}
.ar-top-logo{height:27px;width:auto;display:block;flex:none}
.ar-crumb{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
@media (max-width:480px){.ar-top-logo{height:23px}}

.ar-top-account{white-space:nowrap;flex:none}
@media (max-width:480px){.ar-top-logo{height:18px}.ar-top-left{gap:8px}}



/* HP: breadcrumb keluar dari baris top bar yang sempit — nama halaman
   terbaca di judul besar di bawahnya; logo + pil jadi lega (2 Des 2026). */


/* Top bar dua baris di HP sesuai referensi user (2 Des 2026):
   baris 1 = hamburger + logo + pil; baris 2 = breadcrumb "Workspace / <halaman>". */
.ar-crumb{margin-right:auto}
.ar-crumb span{padding:0}
.ar-top-actions{margin-left:auto}
@media (max-width:900px){
  .ar-topbar{flex-wrap:wrap;row-gap:2px;height:auto;min-height:62px;padding-top:8px;padding-bottom:3px}
  .ar-crumb{order:3;flex:1 1 100%;margin-right:0;padding:1px 2px 5px;font-size:12.5px}
  .ar-top-logo{height:23px}
}
.recenttime{font-size:12px;color:var(--muted);white-space:nowrap;padding-top:3px}
.menugrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.menutile{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px 6px 13px;border:1px solid var(--border);border-radius:14px;background:#fff;color:#354158;font-weight:650;font-size:13.5px;text-decoration:none}
.menutile svg{width:26px;height:26px;color:#0d9d6c}
.menutile:active{background:#eef7f2}
.ar-brand-logo{height:30px;width:auto;display:block}

/* Dashboard ala referensi user (2 Des 2026): hero maskot + overview + agent */
.herocard{padding:0;overflow:hidden;background:linear-gradient(120deg,#eafaf0,#d9f4e4)}
.hero-flex{display:flex;align-items:stretch}
.hero-text{padding:20px 18px 14px;flex:1.38;min-width:0}
.hero-greet{margin:0 0 6px;color:#07845e;font-weight:700;font-size:14px;white-space:nowrap}
.hero-title{margin:0 0 8px;font-size:26px;line-height:1.15;color:#12233a;font-weight:850;letter-spacing:-.5px}
.hero-sub{margin:0 0 16px;color:#5b6b7f;font-size:13.5px;line-height:1.5}
.hero-actions{display:flex;gap:10px;padding:2px 18px 18px}
.hero-actions .btnlink{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-align:center}
.hero-actions .btnlink svg{width:17px;height:17px;flex:none}
.hero-img{flex:.62;position:relative;min-height:200px}
.hero-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center;display:block}
.hero-img::after{content:"";position:absolute;inset:0;background:linear-gradient(to right,#ddf3e5 0%,rgba(221,243,229,0) 30%)}
.cardhead{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:12px}
.cardhead .muted{font-size:12px}
.seeall{color:#07845e;font-weight:700;font-size:13px;text-decoration:none;white-space:nowrap}
.statgrid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.stattile{display:flex;align-items:center;gap:11px;border:1px solid var(--border);border-radius:14px;padding:12px;background:#fff}
.tileicon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex:none}
.tileicon svg{width:23px;height:23px}
.ti-green{background:#e2f6ea;color:#0d9d6c}
.ti-purple{background:#efe9fd;color:#7c5cd6}
.ti-orange{background:#fdeeda;color:#e08a1e}
.ti-blue{background:#e3eefc;color:#3b82c4}
.tiletext{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.tiletext b{font-size:19px;color:#152238}
.tiletext span{font-size:12px;color:var(--muted)}
.agentrow{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px}
.agentchip{min-width:96px;max-width:96px;display:flex;flex-direction:column;align-items:center;gap:3px;border:1px solid var(--border);border-radius:14px;padding:12px 6px 10px;background:#fff;text-decoration:none;color:#152238}
.agentava{position:relative;width:54px;height:54px;border-radius:50%;background:#e2f6ea;color:#07845e;display:grid;place-items:center;font-weight:800;font-size:16px}
.agentava img{width:54px;height:54px;border-radius:50%;object-fit:cover;display:block}
.agentdot{position:absolute;right:1px;bottom:1px;width:12px;height:12px;border-radius:50%;background:#c3ccd6;border:2px solid #fff}
.agentdot.on{background:#16b981}
.agentchip b{font-size:12px;letter-spacing:.2px;max-width:88px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.agentchip span{font-size:11px;color:var(--muted)}
.hero-actions .btnlink{white-space:nowrap;font-size:13.5px;padding-left:8px;padding-right:8px}

/* Karakter hero tampil UTUH, tidak terpotong (koreksi user 2 Des 2026):
   panel putih menyatu dengan latar gambar, object-fit contain. */
.hero-img{background:#fff;flex:.8}
.hero-img img{object-fit:contain;object-position:center}
.hero-img::after{display:none}
.hero-img{flex:.95}
.hero-img img{object-position:center bottom}

/* Dashboard diselaraskan ke contoh user (2 Des 2026): hero menyatu hijau,
   karakter BESAR membaur di kanan (bukan kotak putih kecil), judul seksi
   berikon, lencana pertumbuhan asli. */
.herocard{position:relative;overflow:hidden;background:radial-gradient(130% 100% at 88% -10%,#aef0c6 0%,rgba(174,240,198,0) 55%),linear-gradient(120deg,#f3fbf6 0%,#e6f7ee 55%,#d7f2e1 100%)}
.hero-flex{position:static}
.hero-text{flex:none;max-width:59%;position:relative;z-index:1}
.hero-greet{color:#3c4a5c}
.hero-greet .gname{color:#0a9d58}
.hero-img{position:absolute;top:0;right:0;bottom:0;width:64%;flex:none;background:none;min-height:0;z-index:0}
.hero-img img{object-fit:cover;object-position:top center;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 32%);mask-image:linear-gradient(to right,transparent 0,#000 32%)}
.hero-actions{position:relative;z-index:1}
.stattile{position:relative}
.delta{position:absolute;top:8px;right:8px;font-size:11px;font-weight:800;color:#0a9d58;background:#e2f6ea;border-radius:999px;padding:2px 7px}
.delta.down{color:#cf3a3a;background:#fdecec}
.secicon{display:inline-grid;place-items:center;width:27px;height:27px;border-radius:9px;background:#e2f6ea;color:#0a9d58;margin-right:9px;vertical-align:-7px}
.secicon svg{width:16px;height:16px}
.agentava{width:60px;height:60px}
.agentava img{width:60px;height:60px}

/* Baris agent dashboard: grid 4 kolom pas selebar kartu — tidak ada lagi
   chip ke-4 yang terpotong di tepi (koreksi user 2 Des 2026). */
.agentrow{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;overflow:visible}
.agentchip{min-width:0;max-width:none;width:auto;padding:10px 2px 9px}
.agentchip b{max-width:100%}

/* Ongoing Tasks (2 Des 2026): baris tugas + bar progres ala contoh. */
.taskrow{display:flex;align-items:center;gap:11px;padding:9px 2px;border-bottom:1px solid var(--border)}
.taskrow:last-child{border-bottom:none}
.taskicon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;flex:none}
.taskicon svg{width:18px;height:18px}
.taskicon.ti-g{background:#e2f6ea;color:#0a9d58}
.taskicon.ti-b{background:#e3ecfd;color:#3b6fe0}
.taskicon.ti-p{background:#f0e7fd;color:#8b46d9}
.taskmain{flex:1;min-width:0}
.tasktitle{font-weight:700;font-size:13.5px;color:#152238;margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.taskbar{height:7px;border-radius:99px;background:#e7edf3;overflow:hidden;cursor:pointer}
.taskbar i{display:block;height:100%;background:#12b76a;border-radius:99px}
.taskpct{font-weight:800;font-size:13px;color:#152238;min-width:38px;text-align:right}
.taskdel{border:none;background:none;color:#b3bfcc;font-size:17px;cursor:pointer;padding:2px 4px;line-height:1}
.taskadd{display:flex;gap:8px;margin-top:11px}
.taskadd input{flex:1;border:1px solid var(--border);border-radius:11px;padding:10px 12px;font-size:13.5px;min-width:0;font-family:inherit}
.taskadd .btnlink{flex:none}
.taskadd input{flex:1 1 0;width:auto}
.taskadd .btnlink{flex:0 0 auto;width:auto}

/* Hero dirapatkan (keluhan user 2 Des 16:31): kartu berakhir tepat di bawah
   tombol — tanpa pita kosong; maskot tetap utuh membaur, menempel dasar kartu. */
.hero-text{padding-bottom:8px}
.hero-sub{margin-bottom:10px}
.hero-actions{padding:0 18px 12px}
.hero-img img{object-position:center top}

/* Ruang di bawah tombol hero dimatikan (user 2 Des 16:52): padding kartu +
   padding actions ditumpuk jadi ~28px — sekarang total tinggal +-8px. */
.herocard{padding-bottom:6px !important}
.hero-actions{padding-bottom:2px}

/* ===== Landing page (desain user 2 Des 20:16) ===== */
#landingWrap{display:flex;flex-direction:column;gap:14px}
#landingWrap.hidden{display:none}
.lp-hero{position:relative;overflow:hidden;border-radius:22px;background:radial-gradient(120% 130% at 88% -10%,#c9f5da 0%,rgba(201,245,218,0) 55%),linear-gradient(120deg,#ffffff 0%,#f2fbf6 60%,#e4f7ec 100%);border:1px solid #e2f1e9;padding:24px 20px 26px;min-height:308px}
.lp-hero-img{position:absolute;top:0;right:0;bottom:0;width:57%;z-index:0}
.lp-hero-img img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 34%);mask-image:linear-gradient(to right,transparent 0,#000 34%)}
.lp-hero-text{position:relative;z-index:1;max-width:62%}
.lp-badge{display:inline-block;background:#d9f7e6;color:#07845e;font-weight:800;font-size:12px;padding:6px 12px;border-radius:999px;margin-bottom:14px}
.lp-title{margin:0 0 12px;font-size:29px;line-height:1.16;font-weight:850;letter-spacing:-.5px;color:#101f31}
.lp-hl{color:#0a9d58;text-decoration:underline;text-decoration-color:#34d399;text-decoration-thickness:3px;text-underline-offset:5px}
.lp-sub{margin:0 0 18px;font-size:13.5px;line-height:1.55;color:#5b6b7f;max-width:340px}
.lp-btns{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.lp-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 16px;border-radius:13px;font-weight:800;font-size:14px;text-decoration:none}
.lp-btn svg{width:19px;height:19px;flex:none}
.lp-btn.primary{background:linear-gradient(120deg,#0bb673,#07845e);color:#fff;box-shadow:0 8px 20px rgba(7,132,94,.30)}
.lp-btn.ghost{background:#fff;color:#12233a;border:1px solid #dbe7df;box-shadow:0 4px 14px rgba(18,35,58,.07)}
.lp-minis{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;background:#fff;border:1px solid #e5f1ea;border-radius:18px;padding:16px 8px 13px}
.lp-mini{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;color:#12233a;font-size:11.5px;font-weight:700;line-height:1.3}
.lp-mini svg{width:23px;height:23px;color:#0a9d58}
.lp-fitur{margin-top:8px}
.lp-kicker{text-align:center;color:#0a9d58;font-weight:850;font-size:12.5px;letter-spacing:2.5px;margin:0 0 8px}
.lp-h2{text-align:center;font-size:23px;line-height:1.25;font-weight:850;letter-spacing:-.4px;color:#101f31;margin:0 auto 16px;max-width:340px}
.lp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.lp-card{background:#fff;border:1px solid #e5f1ea;border-radius:16px;padding:14px 12px}
.lp-cicon{display:inline-flex;width:38px;height:38px;border-radius:11px;background:#e7f8ef;color:#0a9d58;align-items:center;justify-content:center;margin-bottom:9px}
.lp-cicon svg{width:21px;height:21px}
.lp-card h3{margin:0 0 4px;font-size:13.5px;font-weight:800;color:#12233a;line-height:1.3}
.lp-card p{margin:0;font-size:11.8px;line-height:1.45;color:#5b6b7f}
.lp-cta{position:relative;overflow:hidden;border-radius:22px;background:radial-gradient(110% 150% at 90% 0%,#0d7a4e 0%,rgba(13,122,78,0) 60%),linear-gradient(125deg,#075e3c,#043f29);padding:22px 20px;display:flex;align-items:center;gap:14px}
.lp-cta-text{flex:1.15;position:relative;z-index:1}
.lp-cta-text h2{margin:0 0 8px;color:#fff;font-size:21px;line-height:1.25;font-weight:850;letter-spacing:-.3px}
.lp-cta-text p{margin:0 0 16px;color:#b9e8cf;font-size:13px;line-height:1.5}
.lp-btn.white{background:#fff;color:#07845e}
.lp-atau{color:#d7f5e4;font-size:13.5px}
.lp-atau a{color:#fff;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.lp-cta-img{flex:.85;max-width:190px}
.lp-cta-img img{width:100%;border-radius:16px;display:block;box-shadow:0 14px 34px rgba(0,0,0,.40)}
.lp-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;background:#fff;border:1px solid #e5f1ea;border-radius:18px;padding:16px 6px 14px}
.lp-stat{display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center}
.lp-stat svg{width:21px;height:21px;color:#0a9d58;margin-bottom:3px}
.lp-stat b{font-size:16.5px;font-weight:850;color:#101f31}
.lp-stat span{font-size:10.8px;color:#5b6b7f;line-height:1.3}
@media (max-width:480px){ .lp-title{font-size:26px} .lp-hero-text{max-width:64%} .lp-grid{grid-template-columns:repeat(3,1fr)} }

/* Landing: hero dirapatkan mengikuti referensi (satu baris tombol) */
.lp-hero{min-height:0;padding:22px 20px 20px}
.lp-title{font-size:26px}
.lp-hero-text{max-width:63%}
.lp-sub{font-size:12.8px}
.lp-btns{flex-wrap:nowrap}
.lp-btn{font-size:13px;padding:11px 13px;white-space:nowrap}

/* Landing: tombol hero selebar kartu + lencana satu baris + kubus CTA lebih besar */
.lp-badge{white-space:nowrap;font-size:11.5px}
.lp-hero .lp-btns{position:relative;z-index:1;margin-top:16px}
.lp-cta-img{flex:1;max-width:215px}

/* Teks kosong di baris agent harus selebar kartu, bukan terjepit di kolom pertama */
.agentrow > p{grid-column:1 / -1}

/* Halaman Undang Agent: pemilih ruangan + panel tertanam */
#roomPick{width:100%;padding:12px;border:1px solid var(--border);border-radius:12px;background:#fff;font-size:15px;color:#152238}
#inviteMount{margin-top:16px}
#inviteMount .invitebox{max-height:none;overflow:visible;border:0;border-radius:0;padding:0;background:transparent;width:100%;max-width:none}
#inviteMount .invitebox textarea{flex:none}

/* Lonceng notifikasi di header, di depan pill saldo */
.ar-top-bell{display:inline-flex;align-items:center;justify-content:center;width:37px;height:37px;flex:none;border-radius:999px;background:#fff;border:1px solid var(--border);color:#12233a;text-decoration:none}
.ar-top-bell svg{width:19px;height:19px}

/* Breadcrumb di header abu-abu muda: teks dipergelap supaya terbaca */
.ar-crumb{color:#5b6b7f}
.ar-crumb .ar-crumb-root{color:#5b6b7f;font-weight:600}
.ar-crumb .ar-crumb-sep{color:#93a1b3}
