@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root {
  --navy: #071735;
  --navy-2: #0b2357;
  --blue: #1769ff;
  --blue-2: #3e8bff;
  --cyan: #1bdcff;
  --violet: #6d28ff;
  --violet-2: #8b5cf6;
  --bg: #f3f7ff;
  --surface: #ffffff;
  --surface-soft: #f7f9ff;
  --text: #0b1740;
  --muted: #7181a3;
  --line: rgba(31, 76, 155, .12);
  --success: #0bb86f;
  --warning: #ff9b35;
  --danger: #ef4444;
  --shadow: 0 14px 36px rgba(25, 61, 120, .08);
  --radius: 20px;
  --sidebar: 282px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, sans-serif; }
button, input { font: inherit; }
a { color: inherit; }
svg { display: block; }

.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed; z-index: 40; inset: 0 auto 0 0; width: var(--sidebar);
  display: flex; flex-direction: column;
  padding: 28px 18px 18px; color: #eef5ff; overflow: hidden;
  border-radius: 0 28px 28px 0;
  border-right: 1px solid rgba(118, 190, 255, .10);
  background-color: #03112d;
  background:
    linear-gradient(90deg, rgba(1, 8, 29, .44) 0%, rgba(1, 9, 32, .24) 66%, rgba(1, 9, 32, .05) 100%),
    linear-gradient(180deg, rgba(2, 10, 34, .18), rgba(3, 12, 39, .06) 48%, rgba(3, 10, 33, .12)),
    url('/assets/brand/sidebar-bg.webp') center top / auto 132% no-repeat;
  box-shadow: 18px 0 50px rgba(6, 24, 63, .16), inset -1px 0 rgba(61, 144, 255, .10);
}
.sidebar::before, .sidebar::after {
  content: ''; position: absolute; pointer-events: none; z-index: 1;
}
.sidebar::before {
  inset: 0; border-radius: inherit;
  background:
    radial-gradient(circle at 4% 2%, rgba(0, 220, 255, .22), transparent 24%),
    radial-gradient(circle at 96% 92%, rgba(98, 44, 255, .30), transparent 31%),
    linear-gradient(180deg, rgba(12, 34, 91, .05), rgba(16, 31, 82, .02));
  mix-blend-mode: screen;
}
.sidebar::after {
  width: 260px; height: 260px; right: -145px; bottom: -115px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 124, 255, .28), rgba(108, 45, 255, .22) 38%, transparent 70%);
  filter: blur(18px); opacity: .88;
}
.brand { position: relative; z-index: 3; flex: 0 0 auto; display: flex; justify-content: flex-start; align-items: center; margin-bottom: 16px; padding: 0 11px 18px; border-bottom: 0; background: transparent; box-shadow: none; }
.brand::after { content: ''; position: absolute; left: 9px; right: 9px; bottom: 0; height: 1px; background: rgba(255,255,255,.09); }
.brand img { display: block; width: 170px; max-width: 100%; height: auto; margin: 0; }
.brand-sub { display: none; }
.nav {
  position: relative; z-index: 2;
  flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden;
  padding: 0 5px 34px 12px; margin-left: -12px; margin-right: -5px;
  scroll-padding-bottom: 34px;
  scrollbar-width: thin;
  scrollbar-color: rgba(74, 122, 255, .46) transparent;
}
.nav::-webkit-scrollbar { width: 5px; }
.nav::-webkit-scrollbar-track { background: transparent; }
.nav::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(36, 154, 255, .48), rgba(112, 44, 255, .42));
  background-clip: padding-box;
  border: 1px solid transparent;
}
.nav::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(41, 184, 255, .72), rgba(124, 58, 255, .68));
  background-clip: padding-box;
}
.nav::-webkit-scrollbar-corner { background: transparent; }
.nav-section { margin: 18px 0 7px; padding: 0 13px; color: #7fa5df; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.nav-divider { height: 1px; background: rgba(255,255,255,.09); margin: 13px 9px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 12px; min-height: 42px; margin: 3px 0; padding: 10px 12px; border-radius: 12px; color: #c9d8f3; text-decoration: none; font-size: 13px; font-weight: 500; transition: .18s ease; }
.nav-item i, .nav-item svg { width: 18px; height: 18px; flex: 0 0 auto; stroke-width: 1.8; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.07); transform: translateX(2px); }
.nav-item.active { color: #fff; font-weight: 700; background: linear-gradient(100deg, #1558ff, #14d9f4); box-shadow: 0 9px 24px rgba(20, 130, 255, .3); }
.nav-item .badge { margin-left: auto; min-width: 21px; padding: 2px 6px; border-radius: 999px; text-align: center; font-size: 10px; color: #c7dcff; background: rgba(255,255,255,.09); }
.nav-coming-soon{color:#91a4c5;cursor:default}.nav-coming-soon:hover{color:#91a4c5;background:transparent;transform:none}.nav-coming-soon .soon-badge{margin-left:auto;padding:3px 7px;border:1px solid rgba(199,220,255,.15);border-radius:999px;color:#b7c8e4;background:rgba(255,255,255,.06);font-size:9px;font-weight:700;white-space:nowrap}
.nav-brand-icon { width: 19px; height: 19px; flex: 0 0 19px; display: grid; place-items: center; border-radius: 6px; color: #fff; box-shadow: 0 3px 9px rgba(0,0,0,.16); }
.nav-brand-icon img, .nav-item .nav-brand-icon img { width: 13px; height: 13px; display: block; object-fit: contain; }
.nav-brand-icon.facebook { background: #1877f2; }
.nav-brand-icon.instagram { background: linear-gradient(135deg,#6338e6 4%,#df2f8c 56%,#ff932b 100%); box-shadow: 0 3px 9px rgba(87,33,151,.22); }
.nav-brand-icon.tiktok { background: #0b0d12; }
.nav-brand-icon.facebook img, .nav-brand-icon.instagram img, .nav-brand-icon.tiktok img, .nav-brand-icon.kwai img { filter: brightness(0) invert(1); }
.nav-brand-icon.kwai { background: #ff6500; }
.nav-brand-icon.whatsapp { background: transparent; box-shadow: none; }

.sidebar-footer { position: relative; z-index: 3; flex: 0 0 auto; margin-top: 0; padding: 15px 11px 4px; border-top: 0; background: transparent; box-shadow: none; }
.sidebar-footer::before { content: ''; position: absolute; top: 0; left: 9px; right: 9px; width: auto; height: 1px; background: rgba(255,255,255,.09); }
.user-mini { display: flex; align-items: center; gap: 10px; }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; color: #fff; background: linear-gradient(135deg, #27d9ff, #3d63ff 55%, #812eff); box-shadow: 0 7px 20px rgba(30,116,255,.3); }
.user-mini strong { display: block; font-size: 12px; color: #fff; }
.user-mini span { display: block; margin-top: 2px; font-size: 10px; color: #89a9d8; }
.logout-btn { margin-top: 11px; padding: 7px 0; border: 0; color: #8facd8; background: none; cursor: pointer; font-size: 11px; }
.logout-btn:hover { color: #fff; }
.main-shell { min-height: 100vh; margin-left: var(--sidebar); }
.topbar { position: sticky; top: 0; z-index: 30; height: 76px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(26,77,164,.08); background: rgba(255,255,255,.88); backdrop-filter: blur(16px); }
.topbar-left { display: flex; align-items: center; gap: 14px; flex: 1; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); }
.search { position: relative; width: min(470px, 100%); }
.search i, .search svg { position: absolute; left: 15px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: #5370a5; }
.search input { width: 100%; height: 43px; padding: 0 16px 0 44px; border: 1px solid rgba(51,100,182,.08); border-radius: 14px; outline: none; color: var(--text); background: linear-gradient(180deg,#f7f9ff,#f1f5fd); transition: .2s ease; }
.search input:focus { border-color: rgba(38,112,255,.35); background: #fff; box-shadow: 0 0 0 4px rgba(38,112,255,.07); }
.search input::placeholder { color: #8492af; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: #24497e; background: #fff; cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; }
.notify-dot { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: #ff2f52; box-shadow: 0 0 0 3px #fff; }

.profile-chip { display: flex; align-items: center; gap: 10px; padding: 4px 8px 4px 5px; border-radius: 14px; }
.profile-chip .avatar { width: 38px; height: 38px; font-size: 12px; }
.profile-copy strong { display: block; font-size: 12px; }
.profile-copy span { display: block; margin-top: 2px; color: #7f8dac; font-size: 10px; }
.topbar { overflow: visible; }
.top-actions { position: relative; }
.profile-menu { position: relative; z-index: 60; }
.profile-chip { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; cursor: pointer; text-align: right; }
.profile-chip:hover { background: transparent; }
.profile-chip:focus-visible { background: transparent; outline: 2px solid rgba(38,112,255,.22); outline-offset: 2px; }
.profile-menu .profile-copy { order: 1; }
.profile-avatar-wrap { position: relative; order: 2; width: 38px; height: 38px; flex: 0 0 38px; }
.profile-menu .profile-avatar { width: 100%; height: 100%; object-fit: cover; }
.profile-chevron-badge { position: absolute; right: -5px; bottom: -3px; width: 19px; height: 19px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; color: #4166a6; background: #eef4ff; box-shadow: 0 2px 6px rgba(25, 61, 120, .18); }
.profile-chevron { width: 11px; height: 11px; stroke-width: 2.5; transition: transform .18s ease; }
.profile-chip[aria-expanded="true"] .profile-chevron { transform: rotate(180deg); }
.profile-dropdown { position: absolute; top: calc(100% + 8px); right: 0; z-index: 1000; width: min(280px, calc(100vw - 24px)); padding: 7px; border: 1px solid rgba(71,103,157,.16); border-radius: 15px; background: rgba(255,255,255,.98); box-shadow: 0 20px 55px rgba(16,37,76,.18), 0 4px 14px rgba(16,37,76,.08); backdrop-filter: blur(16px); }
.profile-dropdown[hidden] { display: none; }
.profile-dropdown-heading { padding: 10px 11px 12px; border-bottom: 1px solid #edf1f8; margin-bottom: 5px; }
.profile-dropdown-heading strong, .profile-dropdown-heading span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-dropdown-heading strong { font-size: 12px; }
.profile-dropdown-heading span { margin-top: 4px; color: #7f8dac; font-size: 10px; }
.profile-dropdown a, .profile-dropdown form button { width: 100%; min-height: 39px; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 9px; color: #425675; background: transparent; font: inherit; font-size: 12px; text-align: left; text-decoration: none; cursor: pointer; }
.profile-dropdown a:hover, .profile-dropdown form button:hover, .profile-dropdown a:focus-visible, .profile-dropdown form button:focus-visible { outline: none; color: #1d4fba; background: #f0f5ff; }
.profile-dropdown svg { width: 16px; height: 16px; }
.profile-dropdown form { margin-top: 5px; padding-top: 5px; border-top: 1px solid #edf1f8; }
.profile-dropdown form button { color: #bd3149; }
.account-card { max-width: 620px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.account-field { display: block; margin-bottom: 18px; color: #32496e; font-size: 12px; font-weight: 700; }
.account-field input { display: block; width: 100%; height: 46px; margin-top: 7px; padding: 0 13px; border: 1px solid #dbe4f2; border-radius: 12px; outline: none; color: var(--text); background: #fbfcff; }
.account-field input:focus { border-color: rgba(30,105,255,.55); background: #fff; box-shadow: 0 0 0 4px rgba(30,105,255,.08); }
.account-alert { max-width: 620px; margin-bottom: 16px; padding: 12px 14px; border: 1px solid #b8ebd2; border-radius: 12px; color: #087444; background: #effcf5; font-size: 12px; }
.account-alert.error { border-color: #ffd1d9; color: #b72e42; background: #fff4f6; }
.page { padding: 30px 32px 46px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.eyebrow { margin-bottom: 7px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.page-head h1 { margin: 0; font-size: clamp(26px, 2.2vw, 36px); line-height: 1.1; letter-spacing: -.045em; }
.page-head p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.head-actions { display: flex; gap: 10px; align-items: center; }
.date-pill, .primary-btn { min-height: 42px; display: inline-flex; align-items: center; gap: 9px; padding: 0 14px; border-radius: 13px; font-size: 11px; font-weight: 700; }
.date-pill { color: #36547e; border: 1px solid var(--line); background: #fff; }
.date-pill svg, .primary-btn svg { width: 16px; height: 16px; }
.primary-btn { color: #fff; border: 0; cursor: pointer; text-decoration: none; background: linear-gradient(105deg,#155dff,#12cfe9); box-shadow: 0 10px 24px rgba(21,105,255,.22); }
.primary-btn:hover { transform: translateY(-1px); box-shadow: 0 13px 28px rgba(21,105,255,.28); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; margin-bottom: 16px; }
.kpi { position: relative; overflow: hidden; display: flex; gap: 14px; min-height: 126px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.kpi::after { content: ''; position: absolute; width: 90px; height: 90px; top: -50px; right: -34px; border-radius: 50%; background: radial-gradient(circle, rgba(38,123,255,.09), transparent 70%); }
.kpi-icon { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; border-radius: 15px; }
.kpi-icon svg { width: 23px; height: 23px; stroke-width: 1.9; }
.kpi-icon.blue { color: #1267ff; background: linear-gradient(135deg,#dff6ff,#b9e9ff); }
.kpi-icon.purple { color: #6329f2; background: linear-gradient(135deg,#eee5ff,#ddc7ff); }
.kpi-icon.cyan { color: #0a9fde; background: linear-gradient(135deg,#d9fbff,#b8f0fb); }
.kpi-icon.violet { color: #7b2df0; background: linear-gradient(135deg,#f0e8ff,#d9c8ff); }

.kpi-copy { min-width: 0; padding-top: 1px; }
.kpi-label { color: #425477; font-size: 11px; font-weight: 700; }
.kpi-value { margin-top: 5px; font-size: 30px; line-height: 1; font-weight: 800; letter-spacing: -.045em; }
.kpi-note { margin-top: 8px; color: #8390aa; font-size: 10px; }
.kpi-trend { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 4px 7px; border-radius: 999px; color: #0b9b61; background: #e6f9f0; font-size: 9px; font-weight: 800; vertical-align: middle; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(340px,.86fr); gap: 16px; margin-bottom: 16px; }
.panel { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.panel-pad { padding: 20px; }
.panel-head { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 20px; border-bottom: 1px solid rgba(38,85,165,.08); }
.panel-title { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; }
.panel-title > span:first-child { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: #1966ff; background: #edf4ff; }
.panel-title svg { width: 16px; height: 16px; }
.panel-link { color: #1262ff; text-decoration: none; font-size: 10px; font-weight: 800; }
.panel-select { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: #5f7192; background: #fff; font-size: 10px; }
.chart-wrap { position: relative; padding: 22px 22px 17px; }
.chart-meta { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; color: #8996b1; font-size: 9px; }
.chart-svg { width: 100%; height: 230px; display: block; }
.chart-empty { position: absolute; inset: 80px 20px 20px; display: grid; place-items: center; pointer-events: none; }
.chart-empty div { padding: 9px 12px; border: 1px solid rgba(37,102,255,.09); border-radius: 11px; color: #8593ad; background: rgba(255,255,255,.9); font-size: 10px; box-shadow: 0 8px 22px rgba(38,72,130,.06); }
.channels { padding: 4px 16px 10px; }
.channels-compact .channel { min-height: 46px; }
.channel { display: grid; grid-template-columns: 28px minmax(0,1fr) auto 14px; gap: 9px; align-items: center; min-height: 49px; border-bottom: 1px solid rgba(38,85,165,.075); }
.channel:last-child { border-bottom: 0; }
.network-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 7px; color: #fff; box-shadow: 0 3px 8px rgba(16,39,83,.12), inset 0 0 0 1px rgba(255,255,255,.16); }
.network-icon img { width: 15px; height: 15px; display: block; object-fit: contain; }
.network-icon.facebook { background: #1877f2; }
.network-icon.instagram { background: linear-gradient(135deg,#6338e6 4%,#df2f8c 56%,#ff932b 100%); box-shadow: 0 3px 8px rgba(87,33,151,.18); }
.network-icon.tiktok { background: #0b0d12; }
.network-icon.facebook img, .network-icon.instagram img, .network-icon.tiktok img, .network-icon.kwai img { filter: brightness(0) invert(1); }
.network-icon.kwai { background: #ff6500; }
.network-icon.whatsapp { background: transparent; box-shadow: none; }
.channel-copy { min-width: 0; }
.channel-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #142345; font-size: 10px; font-weight: 700; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; font-size: 8px; font-weight: 800; white-space: nowrap; }
.status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; }
.status.on { color: #07804e; background: #e8f9f0; }
.status.on::before { background: #0abd72; }
.status.off { color: #8794aa; background: #f1f4f9; }
.status.off::before { background: #a9b3c5; }
.channel-arrow { display: grid; place-items: center; color: #83a0ca; }
.channel-arrow svg { width: 12px; height: 12px; stroke-width: 2; }
.lower-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(360px,.9fr); gap: 16px; }
.upcoming { padding: 4px 18px 11px; }
.post-row { display: grid; grid-template-columns: 45px minmax(0,1fr) auto auto 22px; gap: 11px; align-items: center; min-height: 63px; border-bottom: 1px solid rgba(38,85,165,.07); }
.post-row:last-child { border-bottom: 0; }
.post-thumb { width: 43px; height: 43px; display: grid; place-items: center; overflow: hidden; border-radius: 11px; color: #fff; background: linear-gradient(135deg,#1838b8,#3c82ff 45%,#7826ff); }
.post-thumb svg { width: 20px; height: 20px; }
.post-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 700; }
.post-sub { margin-top: 4px; color: #8a98b2; font-size: 9px; }
.post-time { color: #647593; font-size: 9px; white-space: nowrap; }
.post-status { padding: 5px 9px; border-radius: 999px; color: #1e64c8; background: #e9f3ff; font-size: 9px; font-weight: 700; }
.more { color: #8ca0c2; text-align: center; }
.empty-row { padding: 28px 8px; text-align: center; color: #8695ae; font-size: 10px; }
.calendar { padding: 14px 17px 18px; }
.week { display: grid; grid-template-columns: 44px repeat(7, 1fr); gap: 5px; margin-bottom: 7px; }
.week div { text-align: center; color: #8a97b0; font-size: 8px; }
.week .today { color: #1769ff; font-weight: 800; }
.calendar-grid { position: relative; display: grid; grid-template-columns: 44px repeat(7, 1fr); grid-template-rows: repeat(4, 38px); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }

.calendar-grid > div { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.time-cell { display: flex; align-items: center; justify-content: center; color: #91a0b9; font-size: 8px; background: #fbfcff; }
.slot { position: relative; background: linear-gradient(180deg,#fff,#fcfdff); }
.slot::after { content: ''; position: absolute; inset: 8px; border-radius: 7px; opacity: 0; }
.slot.has-blue::after { opacity: 1; background: #e7f2ff; box-shadow: inset 0 0 0 1px #cae4ff; }
.slot.has-purple::after { opacity: 1; background: #f0e9ff; box-shadow: inset 0 0 0 1px #e4d7ff; }
.slot.has-green::after { opacity: 1; background: #e8f9f0; box-shadow: inset 0 0 0 1px #cdf0dd; }
.calendar-empty { margin-top: 10px; color: #91a0b8; text-align: center; font-size: 9px; }
.sidebar-overlay { display: none; }
.login-page { min-height: 100vh; display: grid; grid-template-columns: minmax(520px,1.08fr) minmax(420px,.92fr); background: #f5f8ff; }
.login-brand { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 48px 58px 42px; color: #fff; background: linear-gradient(90deg,rgba(2,9,31,.22),rgba(2,9,31,.06) 56%,rgba(2,9,31,.18)),url('/assets/img/login-side-bg.webp') center center / cover no-repeat; }
.login-brand::before { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg,rgba(2,9,31,.04),rgba(2,9,31,.03) 48%,rgba(2,9,31,.28)); pointer-events: none; }
.login-brand::after { content: none; }
.login-logo { position: relative; z-index: 2; display: block; width: 172px; height: auto; }
.login-hero { position: relative; z-index: 2; max-width: 640px; margin-top: clamp(48px,7vh,72px); }
.login-hero h1 { margin: 0 0 18px; max-width: 620px; font-size: clamp(38px,4.5vw,64px); line-height: 1.02; letter-spacing: -.055em; text-shadow: 0 6px 24px rgba(0,0,0,.18); }
.login-hero p { max-width: 540px; margin: 0; color: #c7d6f1; font-size: 15px; line-height: 1.7; text-shadow: 0 2px 14px rgba(0,0,0,.12); }
.login-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.login-chip { padding: 8px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #d8e5ff; background: rgba(5,18,49,.34); backdrop-filter: blur(8px); font-size: 10px; }
.login-foot { position: absolute; z-index: 2; left: 58px; bottom: 42px; margin: 0; padding: 0; color: #91a9d2; font-size: 10px; }

.login-side { display: flex; align-items: center; justify-content: center; padding: 45px; background: radial-gradient(circle at 100% 0%,rgba(25,121,255,.06),transparent 34%),#fff; }
.login-card { width: min(430px,100%); }
.login-card .eyebrow { margin-bottom: 11px; }
.login-card h2 { margin: 0; font-size: 34px; letter-spacing: -.045em; }
.login-card > p { margin: 9px 0 28px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 7px; color: #32496e; font-size: 11px; font-weight: 700; }
.input-wrap { position: relative; }
.input-wrap svg { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: #8292ae; }
.input-wrap input { width: 100%; height: 48px; padding: 0 14px 0 43px; border: 1px solid #dbe4f2; border-radius: 14px; outline: none; color: var(--text); background: #fbfcff; transition: .2s ease; }
.input-wrap input:focus { border-color: rgba(30,105,255,.55); background: #fff; box-shadow: 0 0 0 4px rgba(30,105,255,.08); }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 5px 0 20px; color: #72809b; font-size: 10px; }
.check { display: flex; align-items: center; gap: 7px; }
.login-submit { width: 100%; height: 49px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; color: #fff; cursor: pointer; font-weight: 800; background: linear-gradient(100deg,#155bff,#15cfeb); box-shadow: 0 13px 26px rgba(27,105,255,.23); }
.login-submit:hover { transform: translateY(-1px); box-shadow: 0 16px 30px rgba(27,105,255,.29); }
.login-submit svg { width: 17px; height: 17px; }
.login-error { margin-bottom: 17px; padding: 11px 13px; border: 1px solid #ffd1d9; border-radius: 12px; color: #b72e42; background: #fff4f6; font-size: 10px; }
.login-secure { display: flex; justify-content: center; gap: 6px; align-items: center; margin-top: 18px; color: #94a0b5; font-size: 9px; }
.login-secure svg { width: 13px; height: 13px; }

@media (max-width: 1180px) {
  .kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-grid, .lower-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --sidebar: 272px; }
  .sidebar { transform: translateX(-105%); transition: transform .23s ease; }
  body.sidebar-open .sidebar { transform: translateX(0); }
  .sidebar-overlay { position: fixed; z-index: 35; inset: 0; display: block; visibility: hidden; opacity: 0; background: rgba(2,12,35,.42); backdrop-filter: blur(3px); transition: .2s ease; }
  body.sidebar-open .sidebar-overlay { visibility: visible; opacity: 1; }
  .main-shell { margin-left: 0; }
  .menu-toggle { display: grid; place-items: center; }
  .topbar { padding: 0 18px; }
  .page { padding: 24px 18px 38px; }
  .login-page { grid-template-columns: 1fr; }
  .login-brand { display: none; }
  .login-side { min-height: 100vh; padding: 28px; }
}
@media (max-width: 640px) {
  .kpis { grid-template-columns: 1fr; }
  .profile-copy, .date-pill { display: none; }
  .profile-menu .profile-copy { display: block; }
  .profile-chip { gap: 7px; padding: 4px; }
  .profile-avatar-wrap { width: 34px; height: 34px; flex-basis: 34px; }
  .profile-chevron { width: 13px; height: 13px; }
  .topbar { gap: 8px; }
  .account-card { padding: 18px; }
  .page-head { flex-direction: column; }
  .head-actions { width: 100%; }
  .primary-btn { flex: 1; justify-content: center; }
  .post-row { grid-template-columns: 43px minmax(0,1fr) auto; }
  .post-time, .more { display: none; }
  .channel { grid-template-columns: 35px minmax(0,1fr) auto; }
  .channel-arrow { display: none; }
}

.nav-brand-icon.whatsapp img { width: 18px; height: 18px; }
.network-icon.whatsapp img { width: 22px; height: 22px; }

/* Zynk global custom selects */
.zynk-select{position:relative;width:100%;min-width:0}.zynk-select-native{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;margin:0!important;padding:0!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;clip:rect(0 0 0 0)!important}.zynk-select-trigger{width:100%;min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 13px;border:1px solid #d8e2ef;border-radius:11px;color:#425678;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 1px 2px rgba(25,54,101,.02);font:inherit;font-size:9px;font-weight:600;text-align:left;cursor:pointer;transition:border-color .18s,box-shadow .18s,background .18s}.zynk-select-trigger:hover{border-color:#bfcfe4;background:#fff}.zynk-select-trigger:focus-visible,.zynk-select-trigger.open{outline:none;border-color:#6f91ff;box-shadow:0 0 0 3px rgba(71,104,255,.09),0 7px 20px rgba(42,74,136,.06)}.zynk-select-trigger.invalid{border-color:#e86b80;box-shadow:0 0 0 3px rgba(232,107,128,.08)}.zynk-select-trigger.disabled{opacity:.55;cursor:not-allowed}.zynk-select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zynk-select-trigger.placeholder .zynk-select-value{color:#8998ae}.zynk-select-arrow{width:8px;height:8px;flex:0 0 8px;border-right:1.8px solid #607493;border-bottom:1.8px solid #607493;transform:rotate(45deg) translateY(-2px);transition:transform .18s}.zynk-select-trigger.open .zynk-select-arrow{transform:rotate(225deg) translate(-1px,-1px)}

.zynk-select-menu{position:fixed;z-index:1000000;display:grid;gap:3px;padding:6px;overflow-y:auto;overscroll-behavior:contain;border:1px solid rgba(71,103,157,.16);border-radius:13px;background:rgba(255,255,255,.98);box-shadow:0 20px 55px rgba(16,37,76,.18),0 4px 14px rgba(16,37,76,.08);backdrop-filter:blur(16px);opacity:0;transform:translateY(-5px) scale(.985);transform-origin:top center;transition:opacity .14s ease,transform .14s ease;scrollbar-width:thin;scrollbar-color:rgba(85,114,169,.28) transparent}.zynk-select-menu.visible{opacity:1;transform:translateY(0) scale(1)}.zynk-select-option{width:100%;min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border:0;border-radius:9px;color:#425675;background:transparent;font:inherit;font-size:9px;font-weight:600;text-align:left;cursor:pointer;transition:background .14s,color .14s,transform .14s}.zynk-select-option:hover,.zynk-select-option:focus-visible{outline:none;color:#1d4fba;background:#f0f5ff}.zynk-select-option:active{transform:scale(.992)}.zynk-select-option.selected{color:#fff;background:linear-gradient(100deg,#5d3ff0 0%,#2878ff 58%,#16cce9 100%);box-shadow:0 6px 14px rgba(56,91,230,.16)}.zynk-select-option:disabled{opacity:.4;cursor:not-allowed}.zynk-select-check{font-size:12px;font-weight:900}.zynk-select-menu::-webkit-scrollbar{width:5px}.zynk-select-menu::-webkit-scrollbar-track{background:transparent}.zynk-select-menu::-webkit-scrollbar-thumb{border-radius:999px;background:rgba(85,114,169,.28)}
@media(max-width:640px){.zynk-select-trigger{min-height:42px;font-size:10px}.zynk-select-option{min-height:40px;font-size:10px}}

/* Topbar search: proporção mais compacta */
.search { width:min(390px, 100%); }
.search input { height:40px; padding:0 14px 0 40px; border-radius:12px; font-size:13px; }
.search i, .search svg { left:14px; width:16px; height:16px; }

@media (max-width:900px) {
  .search { width:min(360px, 100%); }
}
