/* Same cream, wine and gold family as the Gourmet Round Popcorn front. */
:root {
  --ink: #2b1d17;
  --muted: #6b5547;
  --cream: #f7eddc;
  --paper: #fffaf2;
  --forest: #7a1631;
  --mint: #f7e9df;
  --line: #e6d6bf;
  --gold: #c8912c;
  --coral: #c9541a;
  --shadow: 0 18px 42px rgba(80, 34, 23, .08);
}

body { background: var(--cream); }
.brand-mark, .brand { color: var(--wine, #7a1631); }
.brand-mark span { color: var(--gold); }
.brand-icon, .brand-light .brand-icon { background: #edc676; color: #5a0f24; box-shadow: inset 0 0 0 5px #f8e1ab; }
.brand-light { color: #fff7ea; }
.login-story {
  background: linear-gradient(90deg, rgba(72, 9, 29, .97) 0%, rgba(93, 14, 39, .93) 51%, rgba(103, 20, 43, .54) 100%), url('/assets/popcorn-hero.webp') right center / cover;
}
.login-story:after { display: none; }
.login-story h1 { color: #fff7e9; max-width: 650px; }
.login-story p { color: #f8e6d5; }
.story-proof { border-color: #ffffff4d; color: #ffe9b8; }
.story-footer { color: #f6dbcd !important; }
.login-panel { background: #fbf6ee; }
.login-kicker, .section-kicker, .week-marker { color: #ad7023; }
.login-card h2 { color: var(--forest); }
.login-card label, .field label { color: #51332c; }
.login-card input, .field input, .field select, .field textarea, .select-input, #coach-form textarea { border-color: #e0cab6; background: #fffefa; }
.login-card input:focus, .field input:focus, .field select:focus, .field textarea:focus, #coach-form textarea:focus { border-color: #a94745; box-shadow: 0 0 0 3px #a9474528; }
.button-primary { background: linear-gradient(180deg, #8f2241, #70152e); color: white; box-shadow: 0 8px 19px #68102d29; }
.button-light { background: #f6e9d5; color: var(--forest); }
.button-outline { border-color: #d8bda7; background: #fffaf2; color: var(--forest); }
.button-danger { background: #f9e2d7; color: #a24128; }
.text-button, .topbar-action, .icon-button { color: var(--forest); }
.form-message { color: var(--forest); }
.sidebar { background: #fff8eb; border-color: #e9d8bd; }
.sidebar-label { color: #ae8d72; }
.nav-item { color: #755446; }
.nav-item span { color: #ac8976; }
.nav-item:hover { background: #f7ead6; }
.nav-item.active { background: var(--forest); box-shadow: 0 7px 16px #68102d22; }
.nav-item.active span { color: #f5cf87; }
.sidebar-bottom { border-color: #e9d8bd; }
.member-avatar { background: #f4dcaa; color: var(--forest); }
.topbar { background: #fffaf2; border-color: var(--line); color: #8a6657; }
.save-indicator { color: #8b5833; }
.card { border-color: #ead8c2; }
.hero-card { background: linear-gradient(120deg, #71162f, #9a3047); }
.hero-card:after { display: none; }
.hero-card p { color: #fff0e0; }
.hero-card .button { background: #f0c679; color: #5a0f24; }
.metric-label, .metric-foot, .data-table th { color: #9b806f; }
.pill { background: #f7e9d9; color: #7a1631; }
.pill.gold { background: #f6e5b8; color: #775014; }
.pill.coral { background: #f8dfd2; color: #a44f2a; }
.mini-icon { background: #f7e8cc; color: #7a1631; }
.template-card:nth-child(2) { border-color: #8e2542; }
.template-card:nth-child(3) { border-color: #d4733c; }
.template-card:nth-child(4) { border-color: #bb8a2e; }
.flavor-option.checked { border-color: #9c3550; background: #fff1e7; }
.flavor-option input, .task-row input { accent-color: #7a1631; }
.empty { border-color: #d7bda2; background: #fff9ef; }
.notice.green { background: #fff2d8; border-color: #ebd7a2; color: #765323; }
.calc-box { background: #fcf0dc; }
.calc-box small { color: #8e693e; }
.progress-track { background: #f2e4d3; }
.progress-bar { background: linear-gradient(90deg, #d1943d, #842640); }
.toast { background: #72172f; }
.coach-messages { background: #fff5e8; }
.coach-bubble.mine { background: #7a1631; border-color: #7a1631; }
.coach-starters button { background: #fff8ee; border-color: #e4d1bb; }
.coach-bubble p { margin: 0 0 9px; }
.coach-bubble p:last-child { margin-bottom: 0; }
.coach-bubble ul { margin: 7px 0 10px; padding-left: 20px; }
.coach-bubble li { margin-bottom: 6px; }

.business-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(230px, .65fr); gap: 24px; align-items: center; padding: 30px; }
.business-hero .hero-copy { position: relative; z-index: 1; }
.business-hero h2 { max-width: 710px; }
.business-hero .hero-visual { width: 100%; height: 255px; object-fit: cover; border-radius: 13px; border: 3px solid #fff5e6; box-shadow: 0 15px 30px #3e0a202b; }
.business-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.business-hero .button-ghost { color: #fff5df; border: 1px solid #fff4d484; background: transparent; box-shadow: none; }
.journey-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.journey-step { border: 1px solid #e7d3b9; border-radius: 15px; background: #fffaf2; padding: 17px; min-height: 178px; display: flex; flex-direction: column; align-items: flex-start; }
.journey-step.done { background: #fff4db; border-color: #e4bd72; }
.journey-step .step-number { font-weight: 800; letter-spacing: .12em; font-size: 11px; color: #b1772b; }
.journey-step h3 { font-size: 19px; margin: 10px 0 5px; }
.journey-step p { font-size: 12px; line-height: 1.45; margin-bottom: 13px; }
.journey-step button { margin-top: auto; }
.business-board { border: 1px solid #e4cfb1; background: #fffcf5; border-radius: 18px; overflow: hidden; }
.business-board-head { padding: 22px 24px; background: linear-gradient(100deg, #fff0d0, #fff9eb); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.business-board-head h2 { font-size: 28px; margin: 5px 0 0; }
.business-board-body { padding: 23px 24px; }
.board-flavors { display: flex; flex-wrap: wrap; gap: 7px; margin: 11px 0 22px; }
.board-flavors span { border: 1px solid #e4c9ab; background: #fff6e9; border-radius: 999px; padding: 7px 10px; font-size: 11px; font-weight: 700; }
.board-offers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.board-offer { border: 1px solid #ead9c3; background: #fffdfa; border-radius: 11px; padding: 14px; }
.board-offer small { color: #9b6729; font-weight: 800; font-size: 9px; letter-spacing: .1em; }
.board-offer strong { display: block; margin: 8px 0; line-height: 1.25; }
.board-offer em { font-style: normal; font-weight: 800; color: #7a1631; }
.board-offer .draft-label { color: #8e776a; font-size: 11px; }
.board-foot { margin-top: 17px; font-size: 11px; color: #8a6c5d; line-height: 1.5; }
.recovery-strip { margin-top: 16px; border: 1px solid #e5c78e; border-radius: 14px; background: #fff3d8; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.recovery-strip strong, .recovery-strip span { display: block; }
.recovery-strip strong { color: #6c2336; }
.recovery-strip span { color: #725d4c; font-size: 12px; margin-top: 3px; }
.access-dialog { width: min(570px, calc(100vw - 28px)); max-height: calc(100vh - 36px); border: 1px solid #dec5aa; border-radius: 20px; box-shadow: 0 28px 70px #2b0d2170; padding: 0; color: #2b1d17; background: #fffaf2; }
.access-dialog::backdrop { background: #2d1029a8; }
.access-dialog-inner { position: relative; padding: 31px; }
.access-dialog h2 { font: 600 30px Georgia, serif; color: #7a1631; margin: 10px 0; }
.access-dialog p { font-size: 14px; line-height: 1.55; color: #6b5547; }
.access-close { position: absolute; top: 18px; right: 19px; border: 0; background: transparent; font-size: 27px; color: #7a1631; cursor: pointer; }
#access-key { display: block; padding: 14px; background: #f5e7d5; border-radius: 10px; word-break: break-all; font-size: 13px; user-select: all; }
.access-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 15px 0 25px; }
.access-dialog details { border-top: 1px solid #e5d3bc; padding-top: 17px; }
.access-dialog summary { color: #7a1631; font-weight: 700; cursor: pointer; }
.access-dialog form { display: grid; gap: 9px; margin-top: 15px; }
.access-dialog input { border: 1px solid #dec5aa; padding: 11px; border-radius: 8px; background: white; width: 100%; }

@media (max-width: 1050px) { .journey-grid, .board-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .login-story { background-position: center; }
  .business-hero { grid-template-columns: 1fr; padding: 21px; }
  .business-hero .hero-visual { height: 175px; }
  .journey-grid, .board-offers { grid-template-columns: 1fr 1fr; }
  .business-board-head { align-items: flex-start; flex-direction: column; }
  .recovery-strip { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 460px) { .journey-grid, .board-offers { grid-template-columns: 1fr; } }

@media print {
  #print-sheet { color: #2b1d17; }
  #print-sheet .print-kicker { color: #8c2840; text-transform: uppercase; letter-spacing: .18em; font-size: 10px; font-weight: 800; }
  #print-sheet h1 { color: #7a1631; font-family: Georgia, serif; }
  #print-sheet h2 { color: #7a1631; font-family: Georgia, serif; font-size: 19px; margin: 24px 0 7px; }
  #print-sheet .print-meta { color: #795c4c; }
  #print-sheet .print-note { color: #795c4c; font-size: 12px; }
}

/* Business-in-a-Box additions: coach copy blocks, ready-to-send scripts */
.coach-bubble h4 { font-family: Fraunces, serif; font-size: 15px; margin: 12px 0 6px; color: var(--forest); }
.coach-bubble ol { margin: 7px 0 10px; padding-left: 20px; }
.coach-messages { height: 470px; }
.copy-block { background: #fbf4e8; border: 1px dashed var(--gold); border-radius: 12px; padding: 12px 14px; margin: 10px 0; }
.copy-block pre { white-space: pre-wrap; font-family: 'DM Sans', sans-serif; font-size: 12px; line-height: 1.55; margin: 0 0 8px; color: var(--ink); }
.script-text { background: #fbf6ee; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 13px; line-height: 1.6; color: var(--ink); }
.script-text mark { background: #f6dfae; color: #6b4a12; border-radius: 4px; padding: 0 3px; }
.coach-starters .icon-button.active { background: var(--forest); color: #fff; border-color: var(--forest); }
#access-link { display: block; word-break: break-all; }
.access-dialog details code { display: block; word-break: break-all; margin: 8px 0; }
