/* English product screens, drawn at a fixed design size and scaled by bb.js
   to fit their frame, so they behave like screenshots but stay sharp. */
.scr { position: relative; overflow: hidden; width: 100%; }
.scr > .scr__in { position: absolute; top: 0; left: 0; transform-origin: 0 0; }
.s-app { direction: ltr; text-align: left; display: flex; background: #F7F8FB; color: #1B1E2E;
  font: 500 13px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: 0; }
.s-app * { box-sizing: border-box; }
.s-app b { font-weight: 700; }
.s-app small { display: block; color: #6B7085; font-size: 11.5px; font-weight: 500; }
.s-app p { margin: 0; }
.s-app .i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.s-app .i--s { width: 14px; height: 14px; }
.s-app .i--w { color: #fff; }

/* app chrome */
.s-rail { width: 72px; flex: none; background: #fff; border-right: 1px solid #E8EAF0; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.s-logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 8px; color: #fff; font-weight: 900; font-size: 18px; background: linear-gradient(140deg, #12B4FF, #2456FF 55%, #7B3DFC); }
.s-rail__g { width: 100%; text-align: left; padding: 10px 6px 2px; font-size: 11px; font-weight: 700; color: #1B1E2E; }
.s-rail__i { position: relative; width: 60px; display: grid; justify-items: center; gap: 2px; padding: 7px 2px; border-radius: 10px; color: #4E5470; font-size: 10.5px; }
.s-rail__i.on { background: #EEF2FF; color: #2456FF; }
.s-badge { position: absolute; top: 2px; right: 10px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #E5484D; color: #fff; font-size: 9.5px; font-style: normal; font-weight: 700; display: grid; place-items: center; }
.s-sub { width: 190px; flex: none; background: #fff; border-right: 1px solid #E8EAF0; padding: 18px 12px; display: grid; gap: 6px; align-content: start; }
.s-sub > b { font-size: 15px; padding: 0 8px 6px; }
.s-sub span { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 8px; color: #4E5470; }
.s-sub span.on { background: #EEF2FF; color: #2456FF; font-weight: 700; }
.s-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.s-top { height: 46px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; background: #fff; border-bottom: 1px solid #E8EAF0; }
.s-ws { display: flex; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid #E8EAF0; border-radius: 8px; font-weight: 700; }
.s-ws__b { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; color: #fff; font-size: 11px; background: linear-gradient(140deg, #12B4FF, #2456FF 55%, #7B3DFC); }
.s-top__r { display: flex; align-items: center; gap: 12px; }
.s-moon { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset -4px -2px 0 0 #6B7085; }
.s-me { width: 28px; height: 28px; border-radius: 50%; background: #C2264E; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; }

/* inbox */
.i-cols { flex: 1; min-height: 0; display: flex; }
.i-list { width: 330px; flex: none; background: #fff; border-right: 1px solid #E8EAF0; overflow: hidden; }
.i-list__h { padding: 14px 16px 6px; } .i-list__h b { font-size: 16px; }
.i-list__f { display: flex; justify-content: space-between; align-items: center; padding: 6px 16px; font-weight: 700; }
.i-list__tabs { display: flex; gap: 16px; padding: 8px 16px; border-bottom: 1px solid #E8EAF0; color: #6B7085; }
.i-list__tabs .on { color: #2456FF; font-weight: 700; }
.i-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.i-pill--r { background: #FFE9EA; color: #C2264E; } .i-pill--g { background: #E4F7EF; color: #11795A; }
.i-row { display: flex; gap: 10px; padding: 11px 16px; border-bottom: 1px solid #F0F1F5; }
.i-row.on { background: #F6F0FF; box-shadow: inset 3px 0 0 #7B3DFC; }
.i-av { width: 30px; height: 30px; flex: none; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.i-row__t { flex: 1; min-width: 0; } .i-row__t p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #2D3142; }
.i-row__m { display: flex; gap: 8px; margin-top: 4px; font-size: 11px; color: #6B7085; }
.i-new { color: #2456FF; background: #EEF2FF; padding: 0 6px; border-radius: 6px; font-weight: 700; }
.i-ago { font-size: 11px; color: #6B7085; white-space: nowrap; }
.i-thread { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #FAFBFD; border-right: 1px solid #E8EAF0; }
.i-th__h { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border-bottom: 1px solid #E8EAF0; }
.i-th__acts { margin-left: auto; display: flex; gap: 8px; }
.i-th__acts span { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border: 1px solid #E8EAF0; border-radius: 8px; font-size: 12px; }
.i-th__acts .i-close { background: #2456FF; border-color: #2456FF; color: #fff; }
.i-th__meta { display: flex; gap: 14px; align-items: center; padding: 8px 16px; font-size: 12px; color: #4E5470; background: #fff; border-bottom: 1px solid #E8EAF0; }
.i-banner { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 16px; padding: 9px 12px; border-radius: 10px; background: #EAF3FF; color: #1D47D6; font-size: 12px; }
.i-btn { background: #2456FF; color: #fff; padding: 5px 12px; border-radius: 8px; font-weight: 700; white-space: nowrap; }
.i-day { align-self: center; font-size: 11px; color: #6B7085; background: #fff; border: 1px solid #E8EAF0; border-radius: 999px; padding: 2px 10px; }
.i-sys { align-self: center; margin: 6px 0; font-size: 11px; color: #6B7085; }
.i-mail { margin: 4px 16px; padding: 14px 16px; background: #fff; border: 1px solid #E8EAF0; border-radius: 10px; display: grid; gap: 10px; max-width: 420px; align-self: flex-end; font-size: 12.5px; }
.i-compose { margin-top: auto; margin: auto 16px 12px; background: #fff; border: 1px solid #E8EAF0; border-radius: 12px; }
.i-compose__to, .i-compose__s, .i-compose__b { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: 1px solid #F0F1F5; font-size: 12px; }
.i-compose__to span:first-child { display: inline-flex; gap: 4px; align-items: center; font-weight: 700; }
.i-sw { margin-left: auto; color: #2456FF; font-weight: 700; }
.i-compose__box { padding: 12px; height: 54px; color: #9AA0B4; font-size: 12px; }
.i-compose__b { border-bottom: 0; border-top: 1px solid #F0F1F5; color: #6B7085; }
.i-compose__b .on { color: #2456FF; font-weight: 700; }
.i-send { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; background: #8FA8FF; color: #fff; padding: 6px 12px; border-radius: 8px; font-weight: 700; }

/* customer card */
.c-card { width: 480px; flex: none; background: #fff; overflow: hidden; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.s-app--card { display: block; background: #fff; }
.c-card--solo { height: 820px; }
.c-head { display: flex; gap: 12px; align-items: center; }
.c-head b { font-size: 18px; }
.c-av { width: 44px; height: 44px; border-radius: 50%; background: #5B3FD6; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.c-ext { margin-left: auto; color: #6B7085; }
.c-tags, .c-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.c-tag, .c-acts span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 8px; background: #F3F5FA; font-size: 11.5px; }
.c-tag--b { background: #EEF2FF; color: #2456FF; font-weight: 700; }
.c-acts span { background: #fff; border: 1px solid #E8EAF0; }
.c-kpis { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #E8EAF0; border-radius: 10px; }
.c-kpis > div { padding: 8px 10px; border-left: 1px solid #E8EAF0; } .c-kpis > div:first-child { border-left: 0; }
.c-kpis b { display: block; font-size: 17px; font-weight: 800; }
.c-spark { width: 80px; height: 18px; }
.c-tabs { display: flex; gap: 14px; border-bottom: 1px solid #E8EAF0; font-size: 12px; color: #4E5470; padding-bottom: 6px; }
.c-tabs .on { color: #2456FF; font-weight: 700; box-shadow: 0 8px 0 -6px #2456FF; }
.c-box { padding: 10px 12px; border-radius: 10px; }
.c-box b { display: flex; align-items: center; gap: 6px; }
.c-box--b { background: #EEF2FF; } .c-box--v { background: #F3EEFF; color: #3E2C8F; }
.c-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; }
.c-col { display: grid; gap: 10px; align-content: start; }
.c-panel { border: 1px solid #E8EAF0; border-radius: 10px; padding: 10px; display: grid; gap: 8px; align-content: start; }
.c-panel h5 { margin: 0; font-size: 12.5px; display: flex; justify-content: space-between; }
.c-panel h5 small { display: inline; }
.c-fav { display: flex; gap: 8px; align-items: center; }
.c-fav__img { width: 26px; height: 26px; border-radius: 6px; flex: none; }
.c-fav > div:nth-child(2) { flex: 1; min-width: 0; }
.c-fav__n { text-align: right; } .c-fav__n b { display: block; }
.c-addr { line-height: 1.5; }
.c-links { display: flex; gap: 12px; color: #2456FF; font-size: 11.5px; font-weight: 700; }
.c-links span { display: inline-flex; gap: 4px; align-items: center; }
.c-int { display: grid; grid-template-columns: 80px 1fr 34px; align-items: center; gap: 8px; font-size: 12px; }
.c-int i { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #2456FF var(--v), #EEF0F5 var(--v)); }
.c-int b { text-align: right; }

/* channels */
.s-app--chan { display: block; padding: 18px 20px; background: #F7F8FB; }
.h-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.h-ok { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; background: #E4F7EF; color: #11795A; font-size: 11px; font-weight: 700; }
.h-ok .i { width: 12px; height: 12px; } .h-ok--big { font-size: 12px; }
.h-note { color: #4E5470; }
.h-add { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; background: #2456FF; color: #fff; padding: 8px 14px; border-radius: 9px; font-weight: 700; }
.h-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.h-card { background: #fff; border: 1px solid #E8EAF0; border-radius: 12px; overflow: hidden; }
.h-card__h { display: flex; gap: 10px; align-items: center; padding: 12px 14px 4px; }
.h-card__h b { font-size: 14.5px; }
.h-card__h .h-ok { margin-left: auto; }
.h-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; flex: none; }
.h-l { font-weight: 900; font-size: 14px; color: #fff; }
.h-desc { padding: 2px 14px 10px; color: #4E5470; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #F0F1F5; border-bottom: 1px solid #F0F1F5; }
.h-stats > div { padding: 8px 14px; } .h-stats > div + div { border-left: 1px solid #F0F1F5; }
.h-stats b { font-size: 15px; }
.h-tog { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; }
.h-sw { width: 32px; height: 18px; border-radius: 999px; background: #D5D9E5; position: relative; flex: none; }
.h-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.h-foot { display: flex; gap: 12px; padding: 8px 14px; background: #FAFBFD; border-top: 1px solid #F0F1F5; font-size: 12px; }
.h-foot span { display: inline-flex; gap: 4px; align-items: center; padding: 3px 8px; border: 1px solid #E8EAF0; border-radius: 7px; background: #fff; }

/* service reports */
.s-main--dash { background: #F7F8FB; }
.d-wrap { padding: 14px 20px; display: flex; flex-direction: column; gap: 10px; }
.d-h b { font-size: 17px; }
.d-filters { display: flex; gap: 8px; align-items: center; font-size: 12px; }
.d-filters > span { display: inline-flex; gap: 5px; align-items: center; padding: 5px 10px; border: 1px solid #E8EAF0; border-radius: 8px; background: #fff; }
.d-seg i { font-style: normal; padding: 0 6px; color: #4E5470; } .d-seg i.on { color: #1B1E2E; font-weight: 700; }
.d-tz { border: 0 !important; background: none !important; color: #6B7085; margin-left: auto; }
.d-kpis { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid #E8EAF0; border-radius: 12px; }
.d-kpi { padding: 9px 14px; border-right: 1px solid #F0F1F5; border-bottom: 1px solid #F0F1F5; }
.d-kpi:nth-child(4n) { border-right: 0; } .d-kpi:nth-child(n+5) { border-bottom: 0; }
.d-kpi b { display: block; font-size: 20px; font-weight: 800; line-height: 1.3; } .d-kpi b.warn { color: #D9480F; }
.d-kpi span { font-size: 11px; color: #6B7085; } .d-kpi .up { color: #11795A; font-style: normal; font-weight: 700; }
.d-panel { background: #fff; border: 1px solid #E8EAF0; border-radius: 12px; padding: 10px 14px; }
.d-ph { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; }
.d-legend { display: flex; gap: 12px; font-size: 11.5px; color: #4E5470; }
.d-legend span { display: inline-flex; gap: 5px; align-items: center; } .d-legend i { width: 9px; height: 9px; border-radius: 2px; }
.d-svg { display: block; width: 100%; height: auto; font: 10px system-ui, sans-serif; fill: #6B7085; }
.d-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.d-edit { font-size: 12px; color: #4E5470; }
.d-top { display: grid; grid-template-columns: 170px 1fr 74px; gap: 10px; align-items: center; font-size: 12px; padding: 1.5px 0; }
.d-top i { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #2456FF var(--v), #EEF0F5 var(--v)); }
.d-top b { text-align: right; font-weight: 600; color: #4E5470; }
