:root{
  --pf-page:#f3f7fd;
  --pf-surface:#ffffff;
  --pf-surface-soft:#f8fbff;
  --pf-border:#e2eaf6;
  --pf-border-strong:#d5deef;
  --pf-text:#172136;
  --pf-muted:#66758f;
  --pf-primary:#3f63ff;
  --pf-primary-2:#0ea5e9;
  --pf-success:#16a34a;
  --pf-danger:#dc4b68;
  --pf-shadow:0 14px 40px rgba(26,40,72,.08);
  --pf-shadow-lg:0 26px 80px rgba(18,32,67,.18);
  --pf-radius-xl:28px;
  --pf-radius-lg:22px;
  --pf-radius-md:16px;
  --pf-shell-gap:16px;
}

html,body{min-height:100%}
body{
  color:var(--pf-text);
  background:
    radial-gradient(circle at 0% 0%, rgba(80,106,255,.12), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(14,165,233,.09), transparent 22%),
    linear-gradient(180deg,#f8fbff 0%, var(--pf-page) 100%);
}

.shell{
  min-height:100vh;
  grid-template-columns:290px minmax(0,1fr) 70px;
  gap:var(--pf-shell-gap);
  padding:var(--pf-shell-gap);
  align-items:start;
}

.sidebar,
.topbar,
.card,
.drawer,
.auth-card,
.rail-btn,
.drawer-card,
.drawer-section,
.drawer-section-inline,
.table-shell,
.toolbar-card,
.workday-pill,
.comment-card,
.kanban-column,
.modal-card,
.hero-kpi,
.kpi-card,
.calendar-cell,
.chat-compose-card,
.group-inline-manage,
.analytics-focus-card,
.entity-record-details,
.builder-entity-card{
  background:var(--pf-surface);
  border:1px solid var(--pf-border);
  box-shadow:var(--pf-shadow);
}

.sidebar{
  position:sticky;
  top:var(--pf-shell-gap);
  height:calc(100vh - (var(--pf-shell-gap) * 2));
  padding:20px 18px;
  border-radius:var(--pf-radius-xl);
  background:linear-gradient(180deg,#0f172a 0%,#13203a 100%);
  border-color:rgba(255,255,255,.06);
  color:#edf3ff;
}
.brand{padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.08)}
.brand strong{color:#fff}
.brand p,.company-user-card p{color:rgba(230,238,255,.65)}
.nav-section-label{color:rgba(213,223,245,.55);padding:10px 8px 8px}
.nav-pro .nav-link,
.nav-link{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:11px 14px;
  border-radius:14px;
  color:rgba(244,247,255,.78);
  font-weight:600;
  transition:background .16s ease, transform .16s ease, color .16s ease;
}
.nav-pro .nav-link:hover,
.nav-link:hover{
  color:#fff;
  background:rgba(255,255,255,.08);
  transform:translateX(2px);
}
.nav-pro .nav-link.is-active,
.nav-link.is-active{
  color:#fff;
  background:linear-gradient(180deg,rgba(87,111,255,.48),rgba(63,99,255,.28));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.10),0 12px 26px rgba(8,19,47,.32);
}
.company-user-card{
  text-align:left;
  width:100%;
  padding:12px 14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.06);
  color:#fff;
}
.company-user-card:hover{background:rgba(255,255,255,.10)}
.sidebar-footer .ghost-btn{background:rgba(255,255,255,.07);color:#fff;border-color:rgba(255,255,255,.08)}
.sidebar-footer .ghost-btn:hover{background:rgba(255,255,255,.11)}

.main-area{min-width:0;display:grid;grid-template-rows:auto 1fr;gap:var(--pf-shell-gap)}
.topbar{
  position:sticky;
  top:var(--pf-shell-gap);
  z-index:25;
  display:grid;
  grid-template-columns:minmax(240px,380px) minmax(240px,1fr) auto;
  align-items:center;
  gap:16px;
  min-height:84px;
  padding:16px 18px;
  border-radius:26px;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(18px);
}
.topbar-left{display:flex;align-items:center;gap:14px;min-width:0}
.topbar-left h1{font-size:30px;line-height:1.05;margin:4px 0 0;letter-spacing:-.03em}
.eyebrow{font-size:11px;letter-spacing:.14em;color:var(--pf-muted)}
.topbar-center,.topbar-actions{min-width:0}
.search-shell{
  height:52px;
  border-radius:16px;
  border:1px solid var(--pf-border);
  background:var(--pf-surface-soft);
  box-shadow:none;
}
.search-shell span{color:var(--pf-muted)}
.search-input{font-size:15px}
.workday-bar{gap:12px}
.workday-pill{
  min-width:160px;
  padding:10px 12px;
  border-radius:16px;
  background:var(--pf-surface-soft);
}
.workday-actions .ghost-btn{background:var(--pf-surface);border-color:var(--pf-border)}
.mobile-nav-trigger{display:none}

.right-rail{
  position:sticky;
  top:var(--pf-shell-gap);
  height:calc(100vh - (var(--pf-shell-gap) * 2));
  gap:12px;
  z-index:20;
}
.rail-btn{
  width:62px;
  min-height:88px;
  border-radius:22px;
  background:rgba(255,255,255,.92);
}
.rail-label{color:var(--pf-muted)}

.content{
  max-width:none;
  padding:8px 2px 26px;
}
.page-block{display:grid;gap:20px}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.section-head h2,.section-head h3{margin:0;letter-spacing:-.03em}
.section-head p{margin:8px 0 0;color:var(--pf-muted);max-width:80ch}
.section-head-actions,.section-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}

.hero-kpi,
.kpi-grid,
.stats-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:12px;
}
.hero-kpi{padding:18px}
.hero-kpi > div,
.kpi-card,
.metric-card,
.drawer-stat{
  padding:14px 16px;
  border-radius:18px;
  background:linear-gradient(180deg,#fff,#f7faff);
  border:1px solid var(--pf-border);
  box-shadow:none;
}
.hero-kpi strong,.kpi-value,.metric-card strong,.drawer-stat-value{font-size:28px;line-height:1.05;font-weight:800;letter-spacing:-.03em}
.hero-kpi span,.metric-meta,.muted,.mini,.small-label{color:var(--pf-muted)}
.drawer-stat.compact{padding:12px 14px}
.card,.drawer-card,.drawer-section,.drawer-section-inline,.table-shell,.modal-card,.entity-record-details,.builder-entity-card{border-radius:var(--pf-radius-lg)}
.card,.drawer-card{padding:20px}
.drawer-section,.drawer-section-inline{padding:18px}
.card-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.card-title h3{margin:0;font-size:20px;letter-spacing:-.02em}

.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid #dbe4fa;
  background:#f3f7ff;
  color:#4560be;
  font-size:12px;
  font-weight:700;
}
.badge.soft{background:#f8fbff;color:#5f6b84}
.badge.status-blocked{background:#fff2f4;color:#af3150;border-color:#ffd6df}
.badge.status-review{background:#fff6e7;color:#9b6317;border-color:#ffe0aa}
.badge.status-done{background:#edfdf4;color:#157f48;border-color:#cdefd8}
.danger-text{color:var(--pf-danger)!important}

.input,.textarea,select.input,select,textarea,input[type="text"],input[type="email"],input[type="password"],input[type="number"],input[type="date"],input[type="datetime-local"]{
  width:100%;
  min-height:46px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--pf-border-strong);
  background:#fff;
  color:var(--pf-text);
  box-shadow:inset 0 1px 2px rgba(15,23,42,.03);
}
.textarea{min-height:118px;resize:vertical}
.input:focus,.textarea:focus,select:focus,input:focus,textarea:focus{
  outline:none;
  border-color:#9bb2ff;
  box-shadow:0 0 0 4px rgba(63,99,255,.12);
}
.primary-btn,.ghost-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:0 16px;
  border-radius:14px;
  font-weight:700;
  cursor:pointer;
  transition:transform .16s ease, background .16s ease, border-color .16s ease;
}
.primary-btn{
  color:#fff;
  background:linear-gradient(135deg,var(--pf-primary),#496dff 55%,var(--pf-primary-2));
  border:none;
}
.primary-btn:hover{transform:translateY(-1px)}
.ghost-btn{
  background:#fff;
  color:var(--pf-text);
  border:1px solid var(--pf-border-strong);
}
.ghost-btn:hover{background:#f7faff}
.ghost-btn.active,.segmented-tab.is-active,.drawer-tab.is-active{
  background:#edf2ff;
  border-color:#cdd8ff;
  color:#2741bf;
}
.danger-btn{color:#b53a57}

.toolbar-inline,.analytics-toolbar,.entity-toolbar,.filters-grid,.toolbar-line{
  display:grid;
  grid-template-columns:minmax(240px,1.4fr) repeat(2,minmax(180px,.8fr)) auto;
  gap:12px;
  align-items:end;
}
.filters-grid{grid-template-columns:1.3fr repeat(3,minmax(170px,.7fr)) auto}
.segmented-tabs{display:inline-flex;flex-wrap:wrap;gap:6px;padding:5px;border-radius:999px;background:#f4f7ff;border:1px solid var(--pf-border)}
.segmented-tab,.drawer-tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 14px;
  min-height:40px;
  border-radius:999px;
  border:1px solid transparent;
  color:var(--pf-text);
  font-size:14px;
  font-weight:700;
  background:transparent;
}
.drawer-tabs-shell{display:grid;gap:16px}
.drawer-tabs-nav{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  position:sticky;
  top:0;
  z-index:4;
  padding:8px;
  border-radius:18px;
  background:rgba(247,250,255,.96);
  border:1px solid var(--pf-border);
  backdrop-filter:blur(10px);
}
.drawer-tab-panel[hidden]{display:none!important}

.table-shell{padding:8px;overflow:auto}
.table-like{padding:0}
.table-row{display:grid;gap:12px;align-items:center;padding:14px 16px;border-bottom:1px solid #edf2fa}
.table-row:last-child{border-bottom:none}
.table-head{background:#f6f9ff;color:#5b6982;font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:700}
.list-stack{display:grid;gap:10px}
.list-item,.notice-row,.task-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:14px;
  align-items:flex-start;
  padding:12px 0;
  border-bottom:1px solid #edf2fa;
}
.list-item:last-child,.notice-row:last-child,.task-row:last-child{border-bottom:none}
.compact-list .list-item{padding:10px 0}
.person-line{display:flex;align-items:center;gap:12px;min-width:0}
.person-meta{min-width:0}
.avatar,.logo{border-radius:16px;overflow:hidden;background:linear-gradient(135deg,var(--pf-primary),var(--pf-primary-2));box-shadow:0 10px 24px rgba(64,97,255,.22)}
.avatar{width:44px;height:44px}
.avatar img{width:100%;height:100%;object-fit:cover;display:block}
.mini-avatar,.tiny-avatar{width:30px;height:30px;border-radius:12px}

.drawer-backdrop,.mobile-overlay{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.36);
  backdrop-filter:blur(6px);
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
  z-index:39;
}
.drawer-backdrop.open,.mobile-overlay.open{opacity:1;pointer-events:auto}
.drawer{
  position:fixed;
  top:16px;
  right:16px;
  width:min(960px,calc(100vw - 32px));
  height:calc(100vh - 32px);
  border-radius:30px;
  overflow:hidden;
  background:linear-gradient(180deg,#f8fbff 0%,#f2f6fc 100%);
  border:1px solid var(--pf-border);
  box-shadow:var(--pf-shadow-lg);
}
.drawer-header{padding:16px 18px;border-bottom:1px solid var(--pf-border);background:#fff}
.drawer-body{display:flex;flex-direction:column;overflow:auto;padding:0;background:transparent}
.drawer-body > *{width:100%}
.drawer-card{border:none;box-shadow:none;background:transparent}
.drawer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.drawer-grid .full{grid-column:1/-1}
.drawer-headline{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.drawer-view-title{margin:6px 0 0;font-size:32px;line-height:1.06;letter-spacing:-.04em}
.drawer-subtitle{margin-top:6px;color:var(--pf-muted)}
.task-view-grid,.profile-summary-grid{margin-top:16px}
.task-focus-strip,.project-focus-strip{
  display:grid;
  gap:14px;
  margin-top:18px;
  padding:16px 18px;
  border-radius:20px;
  background:linear-gradient(180deg,#fbfdff 0%,#f3f7ff 100%);
  border:1px solid #dfe8fb;
}
.task-focus-actions,.task-focus-analytics,.compact-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.task-focus-analytics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.drawer-actions-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:12px}
.inline-create-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.inline-create-row > *{min-width:0}
.vertical-create-row{flex-direction:column;align-items:stretch}

.profile-drawer-card .drawer-headline{padding-bottom:4px}
.profile-drawer-card .drawer-input-title{font-size:26px;font-weight:800;letter-spacing:-.03em;background:#fff;border:1px solid var(--pf-border)}
.profile-drawer-card .drawer-tabs-shell{margin-top:20px}
.profile-drawer-card .drawer-tab-panel{display:grid;gap:16px}
.profile-drawer-card .password-inline{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.profile-drawer-card .password-inline .input{min-width:190px}
.notification-pref-row{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:14px 0;border-bottom:1px solid #edf2fa}
.notification-pref-row:last-child{border-bottom:none}
.profile-drawer-card pre,.profile-drawer-card code,.api-center-page pre, .api-center-page code{word-break:break-word}

.chat-side-top{display:flex;gap:10px;align-items:center;justify-content:space-between}
.drawer-chat-layout{display:grid;grid-template-columns:300px minmax(0,1fr);height:100%}
.chat-side{
  border-right:1px solid var(--pf-border);
  background:linear-gradient(180deg,#fbfdff 0%,#f5f8ff 100%);
  padding:18px;
  gap:14px;
}
.chat-main{display:flex;flex-direction:column;min-width:0;padding:18px;background:transparent}
.chat-thread,
.chat-thread.active,
.chat-thread.unread{
  width:100%;
  text-align:left;
  padding:14px;
  border-radius:18px;
  border:1px solid #e6edfa;
  background:linear-gradient(180deg,#fff,#f8fbff);
  box-shadow:none;
}
.chat-thread.active{border-color:#9db5ff;background:#f1f6ff;box-shadow:0 10px 24px rgba(64,97,255,.12)}
.chat-thread-main{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.thread-meta-badges{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-start}
.chat-thread-hero{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
  padding:4px 0 14px;
  border-bottom:1px solid var(--pf-border);
  margin-bottom:14px;
}
.chat-thread-hero-main{display:flex;gap:14px;align-items:flex-start;min-width:0}
.chat-thread-hero-meta{display:grid;gap:6px;min-width:0}
.chat-thread-hero-meta strong{font-size:24px;line-height:1.08;letter-spacing:-.03em}
.chat-hero-avatar{width:56px;height:56px;border-radius:18px;overflow:hidden}
.modern-messages{
  flex:1;
  min-height:320px;
  max-height:none;
  padding:18px;
  border-radius:22px;
  background:linear-gradient(180deg,#fcfdff 0%,#f7faff 100%);
  border:1px solid var(--pf-border);
}
.message-line{display:flex;gap:10px;align-items:flex-end}
.message-line.mine{justify-content:flex-end}
.message{max-width:min(78%,560px);padding:12px 14px;border-radius:18px;border:1px solid #e7edf9;background:#fff;box-shadow:none}
.message.mine{background:linear-gradient(180deg,#edf4ff,#e7f0ff);border-color:#cfe0ff}
.message-author{font-size:12px;font-weight:700;color:#52627f;margin-bottom:4px}
.message-time{display:block;margin-top:8px;text-align:right;color:var(--pf-muted)}
.chat-compose-card{
  margin-top:14px;
  padding:14px;
  border-radius:20px;
  background:#fff;
  border:1px solid var(--pf-border);
}
.chat-compose-row{display:flex;gap:10px;align-items:flex-end}
.chat-compose-input{min-height:92px}
.attach-row,.compose-files,.member-chip-row{display:flex;gap:8px;flex-wrap:wrap}
.member-chip{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;border:1px solid var(--pf-border);background:#f6f9ff;color:#334563}
.member-chip img{width:22px;height:22px;border-radius:50%;object-fit:cover}

.kanban-grid,.entity-kanban-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;align-items:start}
.kanban-column,.kanban-col,.entity-kanban-card,.kanban-card{
  border-radius:18px;
  background:linear-gradient(180deg,#fff,#f8fbff);
  border:1px solid var(--pf-border);
}
.kanban-column-head,.kanban-head{display:flex;justify-content:space-between;align-items:center;padding:14px;border-bottom:1px solid var(--pf-border)}
.kanban-list,.entity-kanban-list{min-height:180px;padding:14px;display:grid;gap:10px}
.kanban-card,.entity-kanban-card{padding:14px;cursor:grab}
.kanban-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.kanban-title{font-weight:700;letter-spacing:-.01em}
.kanban-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.board-editor-row{display:grid;grid-template-columns:46px 1.1fr 1.3fr 140px 120px auto;gap:12px;align-items:end;padding:14px;border:1px solid var(--pf-border);border-radius:18px;background:#fff}
.board-editor-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.board-editor-handle{display:grid;place-items:center;height:44px;border-radius:14px;background:#eef3ff;color:#5d70a8;font-weight:800}

.analytics-page-pro .analytics-toolbar,.entity-toolbar{margin-bottom:18px}
.analytics-focus-card{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px}
.analytics-summary-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.analytics-secondary-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.analytics-top-grid,.analytics-bottom-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:16px}
.analytics-trend-chart{display:grid;grid-template-columns:repeat(auto-fit,minmax(28px,1fr));gap:10px;align-items:end;min-height:240px}
.analytics-trend-col{display:grid;gap:8px;align-items:end}
.analytics-trend-bars{height:190px;border-radius:18px;padding:10px 8px;display:flex;align-items:flex-end;justify-content:center;gap:6px;background:#f5f8ff;border:1px solid var(--pf-border)}
.analytics-trend-bars .bar{display:block;width:10px;border-radius:999px}
.analytics-trend-bars .bar-done{background:linear-gradient(180deg,#496dff,#2948d1)}
.analytics-trend-bars .bar-time{background:linear-gradient(180deg,#28b5ee,#0ea5e9)}
.analytics-trend-label{text-align:center;font-size:11px;color:var(--pf-muted)}
.analytics-status-row{align-items:center}
.analytics-status-right{display:grid;gap:6px;min-width:140px}
.analytics-progress{width:140px;height:8px;border-radius:999px;background:#edf2fa;overflow:hidden}
.analytics-progress>span{display:block;height:100%;background:linear-gradient(90deg,#496dff,#0ea5e9);border-radius:inherit}

.access-center-page .hero-kpi{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.access-center-page .access-tabs{display:flex;gap:10px;flex-wrap:wrap}
.access-hub-grid{display:grid;grid-template-columns:minmax(320px,1fr) minmax(320px,1fr);gap:16px}
.access-role-summary-row{display:grid;grid-template-columns:220px 1fr;gap:12px;align-items:flex-start}
.access-role-tags{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.role-matrix-shell .table-row>div{text-align:center}
.role-matrix-shell .table-row>div:first-child{text-align:left}

.entity-page-pro code,.api-center-page code{display:block;padding:10px 12px;border-radius:14px;background:#f5f8ff;border:1px solid var(--pf-border);font-size:12px}
.entity-page-pro .entity-record-details{padding:14px 16px}
.entity-page-pro .entity-record-details summary{list-style:none;cursor:pointer}
.entity-page-pro .entity-record-details[open]{box-shadow:0 16px 34px rgba(17,24,39,.08)}
.entity-page-pro .toolbar-inline .input{min-width:0}
.builder-field-row{padding:14px;border:1px dashed var(--pf-border-strong);border-radius:18px;background:#fbfdff}
.builder-field-chip-row{display:flex;gap:8px;flex-wrap:wrap}
.builder-field-chip-row .chip{padding:8px 12px;border-radius:999px;background:#f5f8ff;border:1px solid var(--pf-border)}

.platform-grid .card,.platform-grid .table-like{background:#fff}
.cmdk-modal{background:#fff;border-color:var(--pf-border)}
.cmdk-item{background:#fff;border-color:var(--pf-border)}
.cmdk-item:hover{background:#f7faff}

@media (max-width: 1400px){
  .shell{grid-template-columns:270px minmax(0,1fr) 64px}
}
@media (max-width: 1180px){
  .shell{grid-template-columns:1fr;gap:14px;padding:14px}
  .sidebar,.right-rail{display:none}
  .topbar{grid-template-columns:1fr;gap:12px;position:static}
  .mobile-nav-trigger{display:inline-flex}
  .content{padding:6px 0 24px}
  .drawer{top:14px;right:14px;width:calc(100vw - 28px);height:calc(100vh - 28px)}
  .drawer-chat-layout,.analytics-top-grid,.analytics-bottom-grid,.access-hub-grid,.grid-2,.grid-3{grid-template-columns:1fr}
}
@media (max-width: 860px){
  .drawer-grid,.task-focus-analytics,.hero-kpi,.kpi-grid,.stats-grid{grid-template-columns:1fr}
  .toolbar-inline,.analytics-toolbar,.entity-toolbar,.filters-grid{grid-template-columns:1fr}
  .drawer-tabs-nav{overflow:auto;flex-wrap:nowrap}
  .chat-compose-row,.inline-create-row,.password-inline{flex-direction:column;align-items:stretch}
  .table-row,.task-table-row,.employee-table-row,.project-table-row,.access-table-row,.task-table-row-plus,.project-table-row-plus,.workday-table-row,.task-table-row-wide,.access-table-row-wide,.board-editor-row{grid-template-columns:1fr!important}
  .access-role-summary-row{grid-template-columns:1fr}
  .chat-side{padding:14px}
  .chat-main{padding:14px}
  .modern-messages{padding:14px}
  .message{max-width:100%}
}
