:root { --page:#f5f5f5; --line:#e5e5e5; --line2:#d1d1d1; --text:#202020; --muted:#737373; --accent:#262626; --accent-h:#080808; --rail:#171717; --r:16px; }
body { font-family:'Public Sans','Helvetica Neue',Arial,sans-serif; font-size:13px; line-height:1.6; }
body:has(#login:not(.hidden)) { min-height:100dvh; display:flow-root; background:linear-gradient(165deg,#303030 0%,#191919 45%,#0d0d0d 100%); }
h1,h2,h3,strong { font-weight:600; }
button,input,select,textarea { border-radius:10px; }
button { overflow-wrap:normal; word-break:normal; }
.icon-action,#page button.icon-action,#page a.icon-action,#btnNum.icon-action { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; min-width:44px; min-height:44px; padding:10px; flex:0 0 44px; }
.icon-action svg { width:20px; height:20px; pointer-events:none; }
.save-action { display:inline-flex; align-items:center; justify-content:center; gap:8px; width:auto; min-height:40px; padding:9px 14px; white-space:nowrap; }
.save-action svg { width:18px; height:18px; flex-shrink:0; pointer-events:none; }
#page .card:has(> #logoutAll) { width:fit-content; max-width:100%; padding:8px; }
#logoutAllResult:empty { display:none; }
#logoutAllResult:not(:empty) { margin:6px 10px; }
.page-form > .icon-action,.rule-form > .icon-action,.agent-form > .icon-action { align-self:flex-end; }
#templateForm { align-items:flex-start; }
#templateForm #templateTitle,#templateForm #templateBody { box-sizing:border-box; height:44px; min-height:44px; line-height:26px; padding:8px 10px; }
#templateForm #templateBody { resize:none; overflow-y:hidden; }
#templateForm > .icon-action { align-self:flex-start; }
.card,#page > *,#workspace { min-width:0; }
.mobile-number-picker { display:none; }
.enhanced-select { display:none !important; }
.select-trigger { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-width:0; min-height:44px; padding:10px 12px; background:#fff; border:1px solid var(--line); border-radius:12px; text-align:left; box-shadow:0 1px 2px #00000004; }
.select-trigger > span { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.select-trigger > svg { width:16px; height:16px; color:var(--muted); }
.select-trigger[aria-expanded=true] { border-color:#8b8b8b; box-shadow:0 0 0 3px #00000006; }
.inbox-status-filter .select-trigger { flex:1; width:0; font-size:12px; }
.select-menu { position:fixed; inset:auto; margin:0; padding:8px; max-width:calc(100vw - 24px); max-height:min(520px,80dvh); border:1px solid var(--line); border-radius:18px; background:#fff; color:var(--text); box-shadow:0 16px 64px #00000026; overflow:auto; }
.select-menu::backdrop { background:#17171718; }
.select-menu-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:4px 6px 10px 10px; }
.select-menu-heading strong { font-size:14px; }
.select-menu-close { border:0; background:#f4f4f4; border-radius:50%; width:32px; height:32px; padding:0; font-size:22px; line-height:1; }
.select-menu-search { margin-bottom:8px; padding:12px; font-size:16px; background:#f7f7f7; border-color:transparent; border-radius:12px; }
.select-menu-options { display:grid; gap:4px; max-height:300px; overflow-y:auto; overscroll-behavior:contain; }
.select-menu-option { display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; min-height:48px; border:0; padding:12px; border-radius:10px; background:transparent; text-align:left; font-size:14px; }
.select-menu-option > span:first-child { overflow-wrap:anywhere; min-width:0; }
.select-menu-option[aria-selected=true] { background:#f0f0f0; font-weight:600; }
.select-menu-check { visibility:hidden; flex-shrink:0; }
.select-menu-option[aria-selected=true] .select-menu-check { visibility:visible; }
.select-menu-empty { padding:16px; text-align:center; color:var(--muted); }
@media(max-width:820px) {
 .select-menu { left:12px; right:12px; bottom:calc(12px + env(safe-area-inset-bottom)); width:auto; max-width:none; padding:12px; border-radius:22px; }
 .select-menu::backdrop { background:#17171755; backdrop-filter:blur(3px); }
 .select-menu-heading { padding-bottom:14px; }
 .select-menu-close { width:40px; height:40px; }
 .select-menu-options { max-height:50dvh; }
}
.table-scroll { width:100%; max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; }
.table-scroll:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.table-scroll table { min-width:520px; }
.field-feedback { display:block; color:#b42318; font-size:12px; line-height:1.5; margin:4px 0 0; flex:0 0 100%; }
.field-feedback[hidden] { display:none; }
input[aria-invalid=true],textarea[aria-invalid=true],select[aria-invalid=true] { border-color:#d92d20; background:#fffafa; }
select[aria-invalid=true] + .select-trigger { border-color:#d92d20; }
.labels-layout { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:22px; align-items:start; }
.labels-layout h3 { margin:0; font-size:16px; }
.labels-count { color:var(--muted); font-size:12px; background:#f5f5f5; padding:4px 10px; border-radius:20px; white-space:nowrap; }
.labels-list { display:grid; gap:8px; }
.label-item { display:flex; align-items:center; gap:12px; padding:14px 12px; border:1px solid var(--line); border-radius:12px; }
.label-swatch { display:block; width:32px; height:32px; border-radius:9px; flex-shrink:0; border:1px solid #0000001a; box-shadow:inset 0 0 0 2px #ffffff50; }
.label-item-info { min-width:0; flex:1; overflow-wrap:anywhere; }
.label-item-info strong { display:block; font-size:13px; }
.label-item-info small { display:block; font-size:11px; color:var(--muted); margin-top:3px; }
.label-item > button { display:grid; place-items:center; width:44px; height:44px; flex-shrink:0; }
.labels-empty { display:grid; justify-items:center; gap:10px; padding:42px 18px; text-align:center; }
.labels-empty > svg { width:36px; height:36px; color:#999; }
.labels-empty p { max-width:280px; margin:0; color:var(--muted); }
.label-create { display:grid; gap:22px; }
.label-create > label { gap:8px; font-weight:500; color:var(--text); }
.label-create input:not([type=color]) { min-height:44px; font-weight:400; }
.label-palette { padding:0; margin:0; border:0; min-width:0; }
.label-palette legend { font-size:12px; font-weight:500; margin-bottom:10px; }
.label-color-options { display:flex; flex-wrap:wrap; gap:8px; }
.label-color-option { display:grid; place-items:center; width:34px; height:34px; min-width:34px; padding:5px; background:var(--swatch); border:3px solid #fff; border-radius:50%; box-shadow:0 0 0 1px var(--line); }
.label-color-option:hover { background:var(--swatch); box-shadow:0 0 0 2px #aaa; }
.label-color-option[aria-pressed=true] { box-shadow:0 0 0 2px #262626; }
.label-color-option svg { width:16px; height:16px; stroke:#fff; stroke-width:2.5; visibility:hidden; }
.label-color-option[aria-pressed=true] svg { visibility:visible; }
.label-custom-color { display:flex; align-items:center; gap:10px; margin-top:16px; font-size:12px; }
.label-custom-color input[type=color] { width:36px; height:36px; padding:3px; flex-shrink:0; cursor:pointer; }
#labelColorCode { margin-left:auto; font-size:11px; font-variant-numeric:tabular-nums; }
.label-preview-area { display:grid; justify-items:start; gap:10px; padding:16px; background:#fafafa; border:1px dashed var(--line2); border-radius:12px; }
.label-preview-area > span { color:var(--muted); font-size:11px; }
.label-preview { display:inline-flex; align-items:center; gap:8px; max-width:100%; padding:6px 12px; border:1px solid var(--line); border-radius:20px; background:white; font-size:12px; overflow-wrap:anywhere; }
.label-preview i { width:8px; height:8px; border-radius:50%; flex-shrink:0; }
.label-create-actions { display:flex; justify-content:flex-end; padding-top:16px; border-top:1px solid var(--line); }
.label-create-actions button { display:grid; place-items:center; width:44px; height:44px; padding:10px; }
@media(max-width:1100px) { .labels-layout { grid-template-columns:minmax(0,1fr); } }
@media(max-width:820px) {
 #page button.label-color-option { min-width:44px; width:44px; height:44px; min-height:44px; }
 #page .label-color-options { display:grid; grid-template-columns:repeat(4,44px); gap:10px; }
 #page .label-custom-color input[type=color] { min-height:36px; }
 .labels-layout { gap:16px; }
}
th.action-col,td.action-col { width:1%; min-width:116px; max-width:none; white-space:nowrap; overflow-wrap:normal; }
td.action-col button,td.action-col a,.actions button,.actions a { display:inline-flex; align-items:center; justify-content:center; vertical-align:middle; width:auto; min-width:40px; min-height:36px; margin:2px; white-space:nowrap; overflow-wrap:normal; word-break:normal; }
td.action-col .ghost { padding:8px; }
.page-form button,.rule-form button,.agent-form button,.dialog-actions button,#pageAction,.panel-head > button { flex-shrink:0; white-space:nowrap; }
.panel-head { flex-wrap:wrap; gap:12px; }
.rule-form,.agent-form { flex-wrap:wrap; }
.rule-form input,.agent-form input { min-width:140px; }
.card { padding:22px; box-shadow:0 4px 18px #00000004; }
#workspace { max-width:none; width:100%; margin:0; padding:28px 24px; }
#workspace > header { background:transparent; border:0; padding:0 0 20px; box-shadow:none; }
#pageTitle { font-size:22px; letter-spacing:-.4px; }
#page { gap:22px; }
#main { padding:24px; gap:16px; }
#msgs { background:#fafafa; }
#msgs .b { background:white; border:1px solid var(--line); border-radius:14px 14px 14px 4px; }
#msgs .b.me { background:#ececec; border-color:#e0e0e0; border-radius:14px 14px 4px 14px; }
#msgs .b.plain { border:0; background:transparent; }
.b a { color:var(--accent-h); }
.number-panel { background:#fff; padding:24px 16px; }
.section-head { font-size:18px; margin-bottom:18px; }
.num { padding:12px; margin-bottom:5px; }
.num.active,.chat.active { background:#f1f1f1; border-color:#dedede; }
.dot.online { background:#ffb020; box-shadow:0 0 0 3px #ffb02020; }
#btnNum { color:var(--accent); border:1px dashed #bcbcbc; background:#fafafa; min-height:40px; }
.chat { padding:16px 10px; border-bottom-color:#eee; }
.chat:hover,.num:hover { background:#f5f5f5; }
th { text-transform:none; letter-spacing:0; font-size:12px; font-weight:500; }
th,td { padding:15px 12px; }
thead th,tbody tr:nth-child(even) { background:#fafafa; }
.dialog { border-radius:20px; padding:26px; box-shadow:0 24px 80px #00000030; }
.overlay { background:#17171770; backdrop-filter:blur(4px); z-index:40; }
#login { width:410px; max-width:calc(100vw - 32px); padding:36px; border-radius:22px; box-shadow:0 18px 65px #00000010; }
#login h3 { font-size:21px; letter-spacing:-.3px; }
.login-brand { display:flex; align-items:center; justify-content:center; gap:10px; color:var(--accent); font-size:20px; font-weight:600; margin-bottom:28px; }
.login-brand img,.rail .logo img { width:32px; height:32px; flex-shrink:0; }
.login-brand img { width:48px; height:48px; }
.login-brand .brand-word { font-size:30px; font-weight:500; letter-spacing:-.04em; line-height:1; }
.rail .logo .brand-mark { width:22px; height:22px; display:block; stroke-linecap:butt; stroke-linejoin:miter; }
.rail .logo .brand-word { font-size:25px; font-weight:500; letter-spacing:-.04em; text-transform:none; line-height:1; }
.login-intro { color:var(--muted); margin-bottom:24px; }
#login input,#login button { min-height:46px; }
.dashboard-welcome { --brand-gold:#ffb020; display:flex; align-items:center; justify-content:space-between; gap:24px; border-left:3px solid var(--brand-gold); padding-left:16px; }
.eyebrow { color:var(--muted); font-size:11px; font-weight:500; letter-spacing:0; text-transform:lowercase; }
.eyebrow::first-letter { text-transform:uppercase; }
.dashboard-welcome h2 { font-size:25px; margin:8px 0; letter-spacing:-.5px; }
.dashboard-welcome p,.dashboard-inbox p,.quick-actions p,.section-description { color:var(--muted); line-height:1.7; }
.dashboard-date { color:var(--muted); font-size:12px; }
.stat-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.stat { display:flex; flex-direction:column; gap:10px; }
.stat > span,.stat > small { color:var(--muted); font-size:12px; }
.stat > strong { font-size:32px; font-weight:500; letter-spacing:-.6px; font-variant-numeric:tabular-nums; }
.dashboard-grid { display:grid; grid-template-columns:1.2fr 1fr; gap:22px; }
.dashboard-inbox { display:grid; grid-template-columns:minmax(0,1fr) minmax(120px,.75fr); column-gap:16px; align-content:center; background:linear-gradient(135deg,#303030,#101010); border-color:#303030; padding:30px; color:#fff; }
.dashboard-inbox > * { grid-column:1; }
.dashboard-inbox::after { content:''; grid-column:2; grid-row:1 / span 4; align-self:center; justify-self:center; width:100%; max-width:240px; aspect-ratio:280 / 250; background:url('/conversation-art.svg') center / contain no-repeat; pointer-events:none; }
.dashboard-inbox > button { justify-self:start; }
.dashboard-inbox .eyebrow { color:#ffca65; }
.dashboard-inbox p { color:#c5c5c5; }
.dashboard-inbox button.primary { background:linear-gradient(135deg,#ffc54d,#ffb020); color:#201500; border-color:#ffb020; }
.dashboard-inbox button.primary:hover { background:#ffd16f; border-color:#ffd16f; }
.rail { background:linear-gradient(165deg,#303030 0%,#191919 45%,#0d0d0d 100%); }
.rail button { color:#b7b7b7; }
button.primary { background:linear-gradient(150deg,#393939,#171717); border-color:#252525; }
button.primary:hover { background:linear-gradient(150deg,#252525,#080808); }
.dashboard-inbox h2 { font-size:23px; max-width:320px; line-height:1.4; letter-spacing:-.4px; margin:22px 0 12px; }
.dashboard-inbox p { max-width:340px; margin-bottom:24px; }
.quick-actions h3 { margin:0; font-size:15px; }
.quick-actions > button { display:flex; justify-content:space-between; width:100%; text-align:left; padding:17px 0; border:0; border-top:1px solid var(--line); border-radius:0; background:transparent; }
.quick-actions small { display:block; color:var(--muted); margin-top:5px; font-size:12px; }
.quick-actions > button > span:last-child { display:grid; place-items:center; flex-shrink:0; width:30px; height:30px; border-radius:9px; background:#fff4db; color:#815400; }
.quick-actions > button:hover { background:#fffbf2; }
.section-description { font-size:12px; margin:6px 0 0; }
.connection-badge { display:inline-flex; border-radius:20px; padding:4px 10px; font-size:11px; color:#737373; background:#f0f0f0; }
.connection-badge.connected { color:#795000; background:#fff1cc; border:1px solid #ffdf8b; }
.dashboard-empty { padding:28px; text-align:center; color:var(--muted); }
.search-head { display:grid; gap:12px; }
.search-head #search { height:40px; }
.inbox-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; margin:0; padding:5px; border:1px solid var(--line); border-radius:12px; background:#f7f7f7; }
.inbox-filters button { min-width:0; min-height:36px; border:1px solid transparent; padding:7px 5px; font-size:11px; line-height:1.4; background:transparent; border-radius:8px; }
.inbox-filters button[aria-pressed=true] { background:#262626; border-color:#262626; color:#fff; }
.inbox-status-filter { display:flex; align-items:center; gap:10px; margin:0; }
.inbox-status-filter label { font-size:11px; }
.inbox-status-filter select { padding:6px 8px; font-size:11px; }
#inboxCount { display:block; color:var(--muted); font-size:11px; margin:0; padding:0 0 12px; border-bottom:1px solid var(--line); }
.chat-avatar { display:grid; place-items:center; width:36px; height:36px; flex:0 0 36px; border-radius:12px; color:#525252; background:linear-gradient(145deg,#f1f1f1,#e5e5e5); font-size:11px; font-weight:600; }
.chat-info { overflow:hidden; overflow-wrap:normal; }
.chat-topline,.chat-bottomline { display:flex; align-items:center; gap:6px; min-width:0; }
.chat-topline strong { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:12px; flex:1; }
.chat-topline time { color:var(--muted); font-size:9px; flex-shrink:0; }
.chat-topline .chat-rename { display:grid; place-items:center; width:28px; height:28px; min-width:28px; min-height:28px; padding:6px; flex-shrink:0; color:var(--muted); }
.chat-rename svg { width:16px; height:16px; }
.rename-chat-dialog { width:400px; max-width:calc(100vw - 32px); padding:24px; border:1px solid var(--line); border-radius:20px; color:var(--text); background:#fff; box-shadow:0 24px 80px #00000035; }
.rename-chat-dialog::backdrop { background:#17171770; backdrop-filter:blur(3px); }
.rename-chat-dialog .contact-name-editor { display:grid; gap:16px; margin:0; }
.rename-chat-dialog h2 { margin:0; font-size:20px; }
.rename-chat-dialog p { margin:0; color:var(--muted); font-size:12px; }
.rename-chat-dialog label { gap:8px; }
.rename-chat-dialog input { height:44px; font-size:16px; }
.rename-chat-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; padding-top:8px; }
.rename-chat-actions > button { min-width:44px; min-height:44px; }
.rename-chat-actions > button:first-child { margin-right:auto; }
.rename-chat-dialog .rename-error { color:#b42318; }
@media(max-width:820px) { .chat-topline .chat-rename { width:44px; height:44px; min-width:44px; min-height:44px; } }
.chat-preview { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:var(--muted); font-size:11px; margin:3px 0 7px; }
.conversation-tag { flex-shrink:0; font-size:9px; padding:1px 5px; border:1px solid #dcdcdc; border-radius:4px; color:#525252; white-space:nowrap; }
.chat-bottomline small { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:9px; }
.unread-count { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; white-space:nowrap; overflow-wrap:normal; line-height:18px; height:18px; margin-left:auto; background:#262626; color:#fff; border-radius:20px; min-width:18px; padding:0 5px; text-align:center; font-size:10px; }
#head #conversationStatus { width:112px; flex:0 0 112px; font-size:11px; padding:7px; }
#head #conversationStatusTrigger { width:128px; flex:0 0 128px; font-size:11px; }
@media(min-width:821px) {
 #head { gap:10px; padding:20px; }
 #head .contact-heading { margin-right:12px; }
 #head #chips { margin:0 8px 0 2px; gap:6px; }
 #head #chips:empty { margin:0; }
 #head .chat-label { padding:4px 8px; line-height:16px; }
}
.rule-form .select-trigger,.page-form .select-trigger { width:160px; flex:0 0 160px; }
.chat { gap:10px; position:relative; }
@media(min-width:821px) {
 .chat { padding-right:10px; }
 .chat .chat-topline { padding-right:32px; }
 #chats .chat .chat-pin { position:absolute; top:16px; right:10px; width:28px; height:28px; padding:5px; }
}
.num .number-rename { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; flex:0 0 32px; padding:7px; color:var(--muted); }
.num .number-rename svg { width:16px; height:16px; }
.chat .chat-pin { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; flex:0 0 32px; padding:7px; color:var(--muted); }
.chat .chat-pin svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.chat .chat-pin[aria-pressed=true] { color:var(--accent); background:var(--page); }
@media(max-width:820px) { .chat .chat-pin { width:44px; height:44px; flex-basis:44px; } }
.chat > .row-del { position:absolute; right:4px; bottom:4px; padding:0; width:20px; height:20px; min-width:20px; min-height:20px; background:#fff; }
@media(max-width:820px) {
 .inbox-filters { margin:10px 0; }
 .inbox-status-filter { margin-bottom:8px; }
 .chat-avatar { width:42px; height:42px; flex-basis:42px; }
 .chat-topline strong { font-size:14px; }
 .chat-preview { font-size:12px; }
 .chat-bottomline small,.conversation-tag { font-size:10px; }
 .chat > .row-del { position:static; width:32px; height:44px; min-width:32px; flex-shrink:0; background:transparent; }
 #head #conversationStatus { display:block !important; margin-right:4px; width:86px; flex-basis:86px; padding:7px 4px; }
 .chat > .row-del { display:none; }
 td.action-col button,td.action-col a { min-height:44px; }
}
@media(min-width:821px) {
 #app { grid-template-columns:190px 290px minmax(0,1fr); }
 .rail { align-items:stretch; padding:24px 12px 16px; gap:4px; }
 .rail .logo { order:-1; width:auto; display:flex; gap:10px; background:transparent; margin-bottom:24px; padding-left:12px; }
 .rail button { display:flex; align-items:center; gap:12px; padding:11px 13px; border-radius:9px; text-align:left; }
 .rail button::after { content:attr(aria-label); font-size:12px; }
 .rail button.active { background:linear-gradient(130deg,#ffffff24,#ffffff0d); box-shadow:inset 0 0 0 1px #ffffff12; color:#fff; }
 #railNotifications::after { order:1; }
 #notificationBadge { order:2; margin-left:auto; min-width:18px; padding:1px 5px; border-radius:6px; background:#ffffff18; text-align:center; }
 #notificationBadge:empty { display:none; }
 .rail > button.m-only { display:none; }
}
@media(min-width:821px) and (max-width:1100px) {
 #app { grid-template-columns:164px 260px minmax(0,1fr); }
 #workspace { padding:28px; }
 .dashboard-welcome { align-items:flex-start; flex-direction:column; gap:4px; }
 .dashboard-grid { grid-template-columns:1fr; }
}
@media(max-width:820px) {
 #app { grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr) calc(56px + env(safe-area-inset-bottom)); }
 #workspace { grid-column:1; grid-row:1; padding:calc(20px + env(safe-area-inset-top)) 16px 24px; min-height:0; overflow-y:auto; }
 #workspace > header { flex-wrap:wrap; align-items:center; padding-bottom:8px; gap:12px; }
 #pageTitle { font-size:21px; }
 #pageAction { min-height:44px; margin-left:auto; }
 #page { gap:16px; }
 #page > *,#page .card > *,#rulesTable { min-width:0; max-width:100%; }
 #workspace .card:has(table) { overflow:visible; }
 #page .table-scroll { overflow:visible; }
 #page .table-scroll table { display:block; width:100%; min-width:0; }
 #page .table-scroll thead { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
 #page .table-scroll tbody { display:grid; gap:12px; }
 #page .table-scroll tbody tr { display:block; min-width:0; padding:14px; border:1px solid var(--line); border-radius:12px; background:#fafafa; }
 #page .table-scroll td { display:block; width:100%; min-width:0; max-width:none; padding:0; border:0; white-space:normal; overflow-wrap:anywhere; word-break:normal; }
 #page .table-scroll td + td { margin-top:12px; }
 #page .table-scroll td[data-label]::before { content:attr(data-label); display:block; color:var(--muted); font-size:11px; font-weight:400; margin-bottom:4px; }
 #page .table-scroll td:first-child:not([colspan]) { font-weight:600; }
 #page .table-scroll td:is([data-label="Isi"],[data-label="Balasan"],[data-label="Pesan"],[data-label="Detail"]) { white-space:pre-wrap; }
 #page .table-scroll td.action-col { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding-top:12px; border-top:1px solid var(--line); }
 #page .table-scroll td.action-col::before { flex-basis:100%; margin-bottom:0; }
 #page .table-scroll td.action-col button,#page .table-scroll td.action-col a { margin:0; min-height:44px; padding:8px 12px; white-space:normal; }
 #page .table-scroll td.action-col button[aria-label] { gap:6px; }
 #page .table-scroll td.action-col button[aria-label]::after { content:none; }
 #page .table-scroll td[colspan] { padding:8px 0; text-align:center; }
 #page .table-scroll td input[type=checkbox] { width:22px; height:22px; margin:4px 0; }
 #page .table-scroll + .page-form { margin-top:20px; padding-top:20px; border-top:1px solid var(--line); }
 #page .page-form,#page .rule-form,#page .agent-form { display:flex; flex-direction:column; align-items:stretch; gap:12px; }
 #page .page-form > *,#page .rule-form > *,#page .agent-form > * { width:100%; min-width:0; flex:auto; }
 #page .page-form input[type=color] { width:54px; min-height:44px; flex:auto; }
 #page .page-filter { max-width:none; }
 #page input:not([type=checkbox]),#page select,#page textarea { min-height:44px; font-size:16px; }
 #page button { min-height:44px; }
 #page textarea { min-height:100px; resize:vertical; }
 #page p,#page small,#page [data-notif] { overflow-wrap:anywhere; }
 #login { padding:28px 24px; margin:8dvh auto; }
 #login input { font-size:16px; }
 .number-panel > .mobile-number-picker { display:grid; gap:6px; margin:12px 12px 4px; font-size:12px; flex-shrink:0; }
 #mobileNumber { min-height:48px; font-size:16px; width:100%; }
 .number-panel > #nums { display:none; }
 .search-head { display:grid; gap:12px; margin:12px; }
 .inbox-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; margin:0; padding:5px; border:1px solid var(--line); border-radius:14px; background:#f7f7f7; }
 .inbox-filters button { min-width:0; min-height:40px; padding:8px 6px; border-color:transparent; border-radius:9px; background:transparent; font-size:12px; line-height:1.4; }
 .inbox-filters button[aria-pressed=true] { box-shadow:0 2px 5px #00000012; }
 .inbox-status-filter { display:grid; grid-template-columns:42px minmax(0,1fr); gap:10px; margin:0; }
 .inbox-status-filter .select-trigger { width:100%; min-height:44px; }
 #inboxCount { margin:0; padding:0; font-size:11px; }
 #inboxCount:empty { display:none; }
 .inbox-status-filter select { width:auto; flex:1; min-height:44px; }
 .chat { display:flex; padding:10px 12px; }
 .chat .chat-info { padding:0; background:var(--page); }
 #head #conversationStatus { display:none !important; }
 #main { padding:0; gap:0; }
 #msgs { min-height:0; }
 .composer-card { border-radius:0; }
 .dialog-actions { flex-wrap:wrap; }
 .card { padding:18px; border-radius:14px; }
 .dashboard-welcome { align-items:flex-start; flex-direction:column; gap:8px; }
 .dashboard-welcome h2 { font-size:23px; }
 .stat-grid { gap:8px; }
 .stat { padding:14px 10px; gap:8px; }
 .stat > span,.stat > small { font-size:10px; }
 .stat > strong { font-size:28px; }
 .dashboard-grid { grid-template-columns:1fr; gap:16px; }
 .rail > button.m-slot.active { color:#fff; }
}
@media(max-width:380px) {
 .stat-grid { grid-template-columns:1fr; }
 .stat { display:grid; grid-template-columns:1fr auto; align-items:center; }
 .stat > small { grid-column:1 / -1; }
}
@media(max-width:600px) {
 .dashboard-inbox { display:block; }
 .dashboard-inbox::after { display:none; }
}
