/* Composer, chat approvals, and workspace card styles. */

.cf{
  position:sticky;
  bottom:0;
  padding:14px 18px 18px;
  border-top:none;
  background:linear-gradient(180deg,rgba(243,237,228,0),rgba(243,237,228,.74) 18%,rgba(243,237,228,.95) 100%);
}

.iw{
  gap:12px;
  align-items:stretch;
  padding:8px 8px 8px 12px;
  border:1px solid rgba(61,48,33,.08);
  border-radius:32px;
  background:rgba(255,255,255,.82);
  box-shadow:0 22px 48px rgba(55,39,18,.08);
}

.composer-access{
  align-self:flex-end;
  height:44px;
  padding:0 14px;
  border:none;
  border-radius:16px;
  background:rgba(140,102,64,.08);
  color:var(--accent);
  font-family:'IBM Plex Mono',monospace;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  cursor:pointer;
}

.ifw{
  flex:1;
  border:none;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  display:flex;
  flex-direction:column;
  min-width:0;
}

.ifw:focus-within{
  border:none;
  box-shadow:none;
}

textarea#inp{
  min-height:58px;
  max-height:160px;
  padding:12px 8px 6px;
  font-size:16px;
}

.composer-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:0 8px 8px;
}

.composer-pill{
  padding:7px 10px;
  border-radius:999px;
  background:rgba(140,102,64,.08);
  border:1px solid rgba(140,102,64,.12);
  font-family:'IBM Plex Mono',monospace;
  font-size:10px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--accent);
}

.sb{
  width:62px;
  height:62px;
  border-radius:22px;
  align-self:flex-end;
  box-shadow:0 18px 34px rgba(62,47,31,.16);
}

.im{
  display:none;
  margin-top:10px;
  padding-top:10px;
}

.im.open{
  display:flex;
}

#dbg{
  margin-top:10px;
  border-radius:18px;
}

.sp,
.tp,
.cp{
  padding:20px;
}

.comm-title,
.work-item-title{
  letter-spacing:-.01em;
}

.comm-title{
  font-size:30px;
}

.comm-sub,
.work-item-copy,
.settings-note{
  color:rgba(31,26,21,.72);
}

.section-card,
.integration-card,
.work-item,
.chat-approval-card,
.fcd{
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease;
}

.section-card{
  padding:18px;
  border-radius:22px;
  border-color:rgba(61,48,33,.08);
  background:linear-gradient(180deg,rgba(255,255,255,.8),rgba(252,248,243,.74));
}

.section-card:hover,
.integration-card:hover,
.work-item:hover,
.chat-approval-card:hover{
  transform:translateY(-2px);
  border-color:rgba(61,48,33,.14);
  box-shadow:0 20px 36px rgba(55,39,18,.07);
}

.work-grid,
.settings-grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:14px;
  align-content:start;
}

.span-4{grid-column:span 4}
.span-5{grid-column:span 5}
.span-7{grid-column:span 7}
.span-8{grid-column:span 8}

.comm-grid{
  grid-template-columns:320px minmax(0,1fr);
  gap:14px;
}

.comm-metrics,
.work-stats{
  gap:12px;
}

.metric-card,
.work-stat{
  border-radius:18px;
  background:rgba(255,255,255,.62);
}

.integration-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.integration-card{
  padding:18px;
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.8),rgba(252,248,243,.72));
}

.integration-card.active{
  border-color:rgba(63,123,90,.18);
  background:linear-gradient(180deg,rgba(241,250,246,.94),rgba(248,252,250,.78));
}

.integration-card .settings-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}

.settings-shell .section-card:first-child{
  box-shadow:0 18px 38px rgba(55,39,18,.05);
}
