/* Main panel layout and content sections. */

.main{
  grid-area:main;
  width:min(100%,var(--content-max));
  min-width:0;
  min-height:0;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.section-bar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  padding:4px 4px 0;
}

.section-copy{
  min-width:0;
}

.section-kicker{
  font-family:'IBM Plex Mono',monospace;
  font-size:10px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--accent);
}

.section-bar h1{
  margin-top:10px;
  font-family:'Cormorant Garamond',serif;
  font-size:44px;
  line-height:.96;
  letter-spacing:-.02em;
}

.section-bar p{
  margin-top:8px;
  max-width:720px;
  color:var(--ink-soft);
  font-size:14px;
  line-height:1.7;
}

.section-meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  min-width:360px;
}

.section-chip{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:14px 16px;
  border:1px solid rgba(61,48,33,.08);
  border-radius:20px;
  background:rgba(255,255,255,.58);
}

.section-chip span{
  font-family:'IBM Plex Mono',monospace;
  font-size:10px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--muted);
}

.section-chip strong{
  font-size:13px;
  color:var(--ink);
}

.workspace{
  flex:1;
  min-height:0;
}

.panel{
  border-color:rgba(61,48,33,.08);
  border-radius:30px;
  background:rgba(255,252,248,.76);
  animation:panelSwap .28s cubic-bezier(.2,.8,.2,1);
}

@keyframes panelSwap{
  from{opacity:0;transform:translateY(8px) scale(.994)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

#p-chat{
  border:none;
  background:transparent;
  box-shadow:none;
}

.cb{
  padding:0 12px 14px;
}

.starter{
  position:relative;
  min-height:min(64vh,620px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:28px 18px 18px;
  text-align:center;
}

.starter > *{
  position:relative;
  z-index:1;
}

.starter::before,
.starter::after{
  content:'';
  position:absolute;
  border-radius:999px;
  pointer-events:none;
}

.starter::before{
  width:320px;
  height:320px;
  top:calc(50% - 160px);
  left:calc(50% - 160px);
  background:radial-gradient(circle,rgba(140,102,64,.08),transparent 66%);
  filter:blur(10px);
}

.starter::after{
  width:220px;
  height:220px;
  bottom:26px;
  right:80px;
  background:radial-gradient(circle,rgba(63,123,90,.06),transparent 68%);
}

.starter-topline{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
}

.starter-label{
  font-family:'IBM Plex Mono',monospace;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--accent);
}

.starter-mark{
  width:58px;
  height:58px;
  border-radius:18px;
  display:grid;
  place-items:center;
  font-family:'Cormorant Garamond',serif;
  font-size:34px;
  color:var(--accent);
  background:linear-gradient(145deg,#fefaf4,rgba(214,190,161,.6));
  border:1px solid rgba(140,102,64,.14);
  box-shadow:0 14px 28px rgba(55,39,18,.08);
}

.starter h1{
  max-width:820px;
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(58px,7vw,86px);
  line-height:.92;
  letter-spacing:-.03em;
}

.starter p{
  max-width:660px;
  font-size:15px;
  color:var(--ink-soft);
  line-height:1.75;
}

.starter-strip{
  width:min(100%,660px);
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.starter-mini{
  padding:14px 16px;
  border-radius:20px;
  border:1px solid rgba(61,48,33,.08);
  background:rgba(255,255,255,.56);
  backdrop-filter:blur(14px);
  text-align:left;
}

.starter-mini-value{
  margin-top:6px;
  font-size:13px;
  color:var(--ink);
  font-weight:600;
}

.quick-grid{
  width:min(100%,820px);
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.quick-card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  padding:16px 18px;
  border:1px solid rgba(61,48,33,.08);
  border-radius:22px;
  background:rgba(255,255,255,.7);
  color:var(--ink);
  text-align:left;
  cursor:pointer;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background .22s ease;
}

.quick-card:hover{
  transform:translateY(-2px);
  border-color:rgba(61,48,33,.14);
  box-shadow:0 18px 30px rgba(55,39,18,.07);
  background:rgba(255,255,255,.82);
}

.quick-card-title{
  font-size:14px;
  font-weight:600;
}

.quick-card-copy{
  font-size:12px;
  line-height:1.65;
  color:var(--ink-soft);
}

.mr2,
.chat-approvals,
.iw,
.im,
#dbg{
  width:100%;
  max-width:900px;
  margin-inline:auto;
}

.screen-suggest-popover-backdrop{
  position:fixed;
  inset:0;
  z-index:78;
  background:rgba(39,30,17,.18);
  backdrop-filter:blur(1px);
}

.screen-suggest-popover{
  position:fixed;
  right:28px;
  bottom:26px;
  width:min(360px,calc(100vw - 24px));
  max-height:min(70vh,520px);
  overflow:auto;
  z-index:79;
  border:1px solid rgba(61,48,33,.12);
  border-radius:20px;
  background:linear-gradient(160deg,rgba(255,253,250,.98),rgba(248,240,229,.98));
  box-shadow:0 26px 52px rgba(49,35,16,.2);
  padding:16px;
  animation:screenSuggestIn .18s ease;
}

.screen-suggest-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.screen-suggest-kicker{
  font-family:'IBM Plex Mono',monospace;
  font-size:10px;
  letter-spacing:.11em;
  text-transform:uppercase;
  color:var(--accent);
}

.screen-suggest-title{
  margin-top:3px;
  font-family:'Cormorant Garamond',serif;
  font-size:30px;
  line-height:.95;
  letter-spacing:-.02em;
  color:var(--ink);
}

.screen-suggest-sub{
  margin-top:8px;
  font-size:12px;
  line-height:1.6;
  color:var(--ink-soft);
}

.screen-suggest-list{
  margin-top:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.screen-suggest-item{
  border:1px solid rgba(61,48,33,.1);
  border-radius:14px;
  padding:10px 11px;
  background:rgba(255,255,255,.72);
}

.screen-suggest-item-title{
  font-size:13px;
  font-weight:600;
  color:var(--ink);
}

.screen-suggest-item-copy{
  margin-top:5px;
  font-size:12px;
  line-height:1.56;
  color:var(--ink-soft);
}

.screen-suggest-item .work-actions{
  margin-top:8px;
}

.work-item-clickable{
  cursor:pointer;
}

.work-item-clickable:hover{
  border-color:rgba(61,48,33,.18);
  box-shadow:0 14px 28px rgba(49,35,16,.06);
}

@keyframes screenSuggestIn{
  from{opacity:0;transform:translateY(8px) scale(.985)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

@media (max-width:780px){
  .screen-suggest-popover{
    right:12px;
    left:12px;
    width:auto;
    bottom:14px;
  }
}
