/* Growth Work — front end. Fonts inherit from the theme; colors use --gw-accent (Settings). */
.gw{
  --gw-accent:#C67B6B; --gw-ink:#2A2A2A; --gw-ink2:#4A4A4A; --gw-muted:#6F737A;
  --gw-line:#E6E2DB; --gw-line2:#EFECE6; --gw-soft:#F6E9E5; --gw-paper:#FAF8F4;
  --gw-sage:#5F8A6B; --gw-sage-soft:#E6EFE8; --gw-sand:#F3E7CF; --gw-sand-ink:#7D5F22; --gw-gray:#EEEDEA;
  color:var(--gw-ink); line-height:1.5; margin:32px 0; text-align:left;
}
.gw *{box-sizing:border-box}
.gw h3,.gw h4{margin:0;padding:0;line-height:1.3;color:inherit;font-family:inherit;letter-spacing:0;text-transform:none}
.gw p{margin:0}
.gw a{color:var(--gw-accent);text-decoration:none}
.gw a:hover{text-decoration:underline}
.gw-muted{color:var(--gw-muted)} .gw-sm{font-size:14px}

.gw-card{background:#fff;border:1px solid var(--gw-line);border-radius:6px;margin-bottom:22px}
.gw-card-head{background:var(--gw-accent);color:#fff;padding:18px 24px;border-radius:6px 6px 0 0;display:flex;justify-content:space-between;align-items:center;gap:16px}
.gw-card-head h3{font-size:18px;font-weight:700;color:#fff}
.gw-card-head span{font-size:13px;font-weight:600;opacity:.92;white-space:nowrap}
.gw-card-body{padding:4px 28px 24px}
.gw-card-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px 28px;border-top:1px solid var(--gw-line);background:#FAF9F6;border-radius:0 0 6px 6px}

.gw-intro{font-size:17px;margin-bottom:22px}
.gw-intro p,.gw-intro ul,.gw-intro ol,.gw-intro blockquote{margin:0 0 14px!important}
.gw-intro > :last-child{margin-bottom:0!important}
.gw-intro ul,.gw-intro ol{padding-left:24px!important}
.gw-intro li{margin:0 0 6px}
.gw-intro h2,.gw-intro h3,.gw-intro h4{font-weight:700;line-height:1.3;margin:22px 0 10px!important;color:var(--gw-ink)}
.gw-intro h2{font-size:24px}.gw-intro h3{font-size:20px}.gw-intro h4{font-size:17px}
.gw-intro blockquote{border-left:3px solid var(--gw-accent);padding:4px 0 4px 16px;font-style:italic;color:var(--gw-ink2)}
.gw-intro img{max-width:100%;height:auto;border-radius:6px}
.gw-privacy,.gw-note{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--gw-muted);background:#fff;border:1px dashed #DCD7CF;border-radius:6px;padding:12px 16px;margin-bottom:22px}
.gw-privacy b{color:var(--gw-ink2)}
.gw-note-fac{border-style:solid;border-color:var(--gw-line);background:var(--gw-paper)}
.gw-lock{width:14px;height:11px;border:2px solid #A09B93;border-radius:2px;margin-top:6px;position:relative;flex:none}
.gw-lock:before{content:"";position:absolute;left:1px;top:-8px;width:8px;height:7px;border:2px solid #A09B93;border-bottom:none;border-radius:5px 5px 0 0}

.gw-msg{padding:12px 16px;border-radius:6px;margin-bottom:20px;font-size:15px;font-weight:500}
.gw-msg-ok{background:var(--gw-sage-soft);color:#2F5A3B;border-left:4px solid var(--gw-sage)}
.gw-msg-err{background:var(--gw-soft);color:#8C3F31;border-left:4px solid var(--gw-accent)}

/* questions */
.gw-q{padding:24px 0;border-bottom:1px solid var(--gw-line2)}
.gw-q:last-child{border-bottom:none}
.gw-qn{display:flex;gap:12px;align-items:baseline}
.gw-n{font-size:13px;font-weight:700;color:var(--gw-accent);background:var(--gw-soft);border-radius:50%;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;flex:none}
.gw-qn h4{font-size:17px;font-weight:700}
.gw-prompt{margin:6px 0 0 38px!important;color:var(--gw-ink2);font-size:16px!important;line-height:1.5!important}
.gw-prompt-sm{font-size:14px!important;color:var(--gw-muted)}
.gw-hint{margin:4px 0 12px 38px!important;font-size:13px!important;color:var(--gw-muted);font-style:italic}
.gw-field{margin:12px 0 0 38px}
.gw-hint + .gw-field{margin-top:0}
.gw textarea,.gw input[type=number]{width:100%;border:1px solid #D9D5CE;border-radius:6px;background:#FCFBF9;padding:12px 14px;font:inherit;font-size:16px;color:var(--gw-ink);line-height:1.5;box-shadow:none;margin:0;resize:vertical}
.gw textarea:focus,.gw input[type=number]:focus{outline:none;border-color:var(--gw-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--gw-accent) 18%,transparent);background:#fff}
.gw-pair{display:flex;gap:16px}
.gw-pair label{flex:1;font-size:13px;font-weight:600;color:var(--gw-muted)}
.gw-pair input{margin-top:6px!important;height:46px}

/* read-only answers */
.gw-ans{margin:10px 0 0 38px;background:var(--gw-paper);border-left:3px solid var(--gw-accent);padding:10px 14px;border-radius:0 6px 6px 0}
.gw-ans-stat{display:flex;gap:28px;font-weight:600}
.gw-ans-stat em{font-style:normal;font-weight:400;color:var(--gw-muted);font-size:13px;display:block}

/* buttons */
.gw-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
/* !important: themes (BuddyBoss included) style every <button> heavily */
.gw .gw-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;height:46px!important;min-height:0!important;padding:0 28px!important;border-radius:24px!important;font-family:inherit!important;font-weight:700!important;font-size:15px!important;background:var(--gw-accent)!important;color:#fff!important;border:2px solid var(--gw-accent)!important;white-space:nowrap;cursor:pointer;text-decoration:none!important;line-height:1!important;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important;width:auto!important;margin:0!important;outline-offset:2px}
.gw .gw-btn:hover,.gw .gw-btn:focus{filter:brightness(.94);background:var(--gw-accent)!important;color:#fff!important}
.gw .gw-btn-ghost,.gw .gw-btn-ghost:hover,.gw .gw-btn-ghost:focus{background:transparent!important;color:var(--gw-accent)!important}
.gw .gw-btn-sm{height:36px!important;padding:0 18px!important;font-size:14px!important}
.gw-saved{font-size:13px;color:var(--gw-muted);display:flex;align-items:center;gap:8px}
.gw-dot{width:8px;height:8px;border-radius:50%;background:var(--gw-sage);display:inline-block}
.gw-link{font-weight:700;font-size:14px;white-space:nowrap}

.gw-banner{padding:16px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-left:4px solid var(--gw-sage)}

/* conversation */
.gw-thread{margin-top:28px}
.gw-thread h3{font-size:20px;font-weight:700;margin-bottom:14px}
.gw-cmt{display:flex;gap:14px;padding:18px 20px;background:#fff;border:1px solid var(--gw-line);border-radius:6px;margin-bottom:12px}
.gw-cmt-fac{border-left:4px solid var(--gw-accent)}
.gw-cmt-reply{margin-left:50px}
.gw-who{font-weight:700;font-size:15px}
.gw-role{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--gw-accent);margin-left:8px}
.gw-when{font-size:13px;color:var(--gw-muted);margin-left:8px}
.gw-cmt-text{margin-top:6px;color:var(--gw-ink2)}
.gw-cmt-text p{margin:0 0 8px!important}.gw-cmt-text p:last-child{margin:0!important}
.gw-compose{background:#fff;border:1px solid var(--gw-line);border-radius:6px;padding:16px 20px}
.gw-compose textarea{background:#fff;min-height:84px}
.gw-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:12px;flex-wrap:wrap}

/* avatars & pills */
.gw-avatar{width:36px;height:36px;border-radius:50%;background:#E4E1DC;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;color:#6c6a66;flex:none}
.gw-a1{background:#E8D5CF;color:#8C4F42}.gw-a2{background:#D9E4DC;color:#3F6A4B}.gw-a3{background:#E3DDEB;color:#5B4A75}.gw-a4{background:#F0E3C8;color:#7D5F22}
.gw-pill{display:inline-block;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:5px 12px;border-radius:20px;white-space:nowrap;line-height:1.3}
.gw-pill-soft{background:var(--gw-soft);color:#A35A4C}.gw-pill-sand{background:var(--gw-sand);color:var(--gw-sand-ink)}
.gw-pill-sage{background:var(--gw-sage-soft);color:var(--gw-sage)}.gw-pill-gray{background:var(--gw-gray);color:var(--gw-muted)}

/* ---------- facilitator dashboard ---------- */
/* The dashboard breaks out of narrow theme content columns, up to 1180px wide. */
.gw-dash{--gw-w:min(1180px,calc(100vw - 48px));width:var(--gw-w)!important;max-width:none!important;margin-left:calc(50% - var(--gw-w) / 2)!important;margin-right:calc(50% - var(--gw-w) / 2)!important;container-type:inline-size}
.gw-eyebrow{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--gw-accent)}
.gw-dash h1,.gw-dash h2.gw-title{font-size:40px;line-height:1.15;font-weight:700;margin:8px 0 6px;padding:0;color:var(--gw-ink);font-family:inherit}
.gw-dash-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap}
.gw-group-select{background:#fff;border:1px solid var(--gw-line);border-radius:6px;padding:10px 14px;font:inherit;font-weight:600;font-size:15px;color:var(--gw-ink);min-width:260px}
.gw-tabs{display:flex;gap:4px;margin:28px 0 24px;border-bottom:1px solid var(--gw-line);overflow-x:auto}
.gw-tabs a{padding:12px 18px;font-weight:600;font-size:15px;color:var(--gw-muted);border-bottom:3px solid transparent;margin-bottom:-1px;white-space:nowrap;text-decoration:none!important}
.gw-tabs a.on{color:var(--gw-accent);border-color:var(--gw-accent)}
.gw-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}
.gw-stat{padding:20px 22px;margin:0;display:flex;justify-content:space-between;align-items:center;gap:10px}
.gw-stat .v{font-size:34px;font-weight:700;line-height:1.1}
.gw-stat .v small{font-size:16px;color:var(--gw-muted);font-weight:500}
.gw-stat .l{font-size:14px;color:var(--gw-muted);margin-top:4px;font-weight:500}
.gw-stat.t1{border-top:4px solid var(--gw-sage)}.gw-stat.t2{border-top:4px solid var(--gw-accent)}.gw-stat.t3{border-top:4px solid #D9B66A}.gw-stat.t4{border-top:4px solid #CFCBC4}
.gw-tbl-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:16px 20px;border-bottom:1px solid var(--gw-line)}
.gw-filters{display:flex;gap:8px;flex-wrap:wrap}
.gw .gw-filters button{font-family:inherit!important;font-size:13px!important;font-weight:600!important;padding:6px 12px!important;border-radius:16px!important;background:var(--gw-gray)!important;color:var(--gw-muted)!important;border:none!important;cursor:pointer;line-height:1.3!important;height:auto!important;min-height:0!important;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important;margin:0!important;width:auto!important}
.gw .gw-filters button.on{background:var(--gw-ink)!important;color:#fff!important}
.gw-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.gw-table{width:100%;border-collapse:collapse;margin:0;border:none}
.gw-table th{font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:var(--gw-muted);text-align:left;padding:14px 20px;border:none;border-bottom:1px solid var(--gw-line);font-weight:700;background:#FAF9F6}
.gw-table td{padding:14px 20px;border:none;border-bottom:1px solid var(--gw-line2);font-size:15px;vertical-align:middle;background:#fff}
.gw-table tr:last-child td{border-bottom:none}
.gw-stu{display:flex;align-items:center;gap:12px;font-weight:600}
.gw-med{font-weight:600}.gw-med span{color:var(--gw-muted);font-weight:400;font-size:13px}
.gw-cnt{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--gw-muted)}
.gw-bub{width:16px;height:13px;border:2px solid #B5B0A8;border-radius:4px}
.gw-newdot{width:8px;height:8px;border-radius:50%;background:var(--gw-accent);display:inline-block}
.gw-empty{padding:40px;text-align:center;color:var(--gw-muted)}

/* single view */
.gw-pager{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:10px}
.gw-pager .nav{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:var(--gw-muted)}
.gw-pager .nav a,.gw-pager .nav span.off{border:1px solid var(--gw-line);background:#fff;border-radius:18px;padding:7px 14px;text-decoration:none!important}
.gw-pager .nav span.off{color:#C4C0B9}
.gw-grid{display:grid;grid-template-columns:1fr 320px;gap:32px;align-items:start;margin-top:20px}
.gw-prof{padding:22px;text-align:center}
.gw-prof .gw-avatar{width:64px;height:64px;font-size:20px;margin:0 auto 10px;display:flex}
.gw-side-card{padding:18px 20px}
.gw-side-card h5{font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:var(--gw-muted);margin:0 0 12px;font-weight:700}
.gw-hist{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--gw-line2);font-size:14px}
.gw-hist:last-child{border-bottom:none}
.gw-bars{display:flex;align-items:flex-end;gap:8px;height:70px;margin-top:6px}
.gw-bars div{flex:1;background:color-mix(in srgb,var(--gw-accent) 28%,#fff);border-radius:3px 3px 0 0;min-height:3px}
.gw-bars div.cur{background:var(--gw-accent)}
.gw-bars-l{display:flex;gap:8px;font-size:12px;color:var(--gw-muted);margin-top:6px}
.gw-bars-l span{flex:1;text-align:center}
.gw-edited{font-size:13px;color:var(--gw-muted);font-style:italic}

@container (max-width:900px){
  .gw-stats{grid-template-columns:1fr 1fr}
  .gw-grid{grid-template-columns:1fr}
  .gw-table th:nth-child(3),.gw-table td:nth-child(3),.gw-table th:nth-child(5),.gw-table td:nth-child(5){display:none}
  .gw-title{font-size:30px!important}
}
@container (max-width:560px){
  .gw-stats{grid-template-columns:1fr}
  .gw-table th:nth-child(4),.gw-table td:nth-child(4){display:none}
  .gw-table th,.gw-table td{padding:12px 12px}
  .gw-stu .gw-avatar{display:none}
}
@media (max-width:600px){
  .gw-card-body{padding:4px 18px 20px}.gw-card-foot{padding:16px 18px}
  .gw-prompt,.gw-hint{margin-left:0!important}.gw-field,.gw-ans{margin-left:0}
  .gw-pair{flex-direction:column;gap:10px}
  .gw-stats{grid-template-columns:1fr}
  .gw-table th:nth-child(4),.gw-table td:nth-child(4){display:none}
  .gw-cmt-reply{margin-left:20px}
}
