.campaign-page .titlebar { margin-bottom:18px; }
.campaign-page .titlebar h1 { font-size:clamp(2.2rem,5vw,3.25rem); letter-spacing:-.04em; }
.campaign-page .titlebar p { max-width:66ch; }
.mk-switch { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 20px; }
.mk-switch button {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  padding:8px 14px;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--white);
  color:var(--ink);
  font-weight:650;
  text-align:left;
}
.mk-switch button:hover { background:#f8eee3; }
.mk-switch [aria-pressed=true],
.mk-switch [aria-pressed=true]:hover { background:var(--brown); color:#fff9ef; border-color:var(--brown); }
.mk-switch [aria-pressed=true] svg { color:#ffb889; }
.mk-hero { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(220px,1fr); gap:clamp(18px,4vw,36px); align-items:center; border-radius:16px; padding:clamp(20px,4vw,35px); background:#2d211b; color:#fff5e8; }
.mk-meta { font-size:.79rem; line-height:1.4; font-weight:650; margin:0; }
.mk-intro h2 { margin:0 0 10px; font-size:clamp(1.6rem,3vw,2.5rem); line-height:1.1; letter-spacing:-.035em; text-wrap:balance; }
.mk-intro > p:last-child { color:#eedbd0; font-size:1rem; line-height:1.55; margin:0; max-width:52ch; }
.mk-plan { border-left:1px solid #74564a; padding:4px 0 4px clamp(18px,4vw,38px); }
.mk-plan h3 { color:#ffc296; font-size:.96rem; margin:0 0 8px; }
.mk-price { display:flex; flex-direction:column; gap:3px; }
.mk-price strong { font-size:2.2rem; letter-spacing:-.06em; line-height:1; }
.mk-price span,.mk-plan-note { color:#ecdbd0; font-size:.9rem; }
.mk-plan-note { line-height:1.45; margin:10px 0 15px; }
.mk-renewal { display:flex; align-items:flex-start; gap:10px; padding:10px 12px; margin:10px 0; border:1px solid #916f5c; border-radius:9px; cursor:pointer; }
.mk-renewal input { width:17px; height:17px; flex:none; margin:3px 0 0; accent-color:#ffab74; }
.mk-renewal small { display:block; margin-top:3px; color:#ecdbd0; }
.mk-plan-state { font-size:1rem; display:flex; align-items:baseline; gap:8px; margin:0 0 6px; font-weight:650; }
.mk-plan-state i { width:8px; height:8px; border-radius:50%; background:#aadbaf; flex:none; }
.mk-button { display:inline-flex; justify-content:center; align-items:center; min-height:44px; padding:9px 16px; border:1px solid transparent; border-radius:8px; background:#ffa774; color:#351e14; text-decoration:none; font:inherit; font-weight:720; text-align:center; }
.mk-button:hover { background:#ffc297; }
.mk-primary { background:#392820; color:#fff9f0; }
.mk-primary:hover { background:#57392d; }
.mk-quiet,.mk-back { min-height:38px; border:0; padding:4px 0; color:inherit; background:none; text-decoration:underline; text-underline-offset:3px; font:inherit; font-weight:650; }
.mk-plan .mk-quiet { display:block; color:#ffe1ce; }
.mk-section { margin:34px 0; }
.mk-heading { display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.mk-heading h2 { font-size:1.38rem; margin:0; letter-spacing:-.025em; }
.mk-heading > span,.mk-description,.mk-meta,.mk-end,.mk-help { color:#655950; }
.mk-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.mk-template {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:12px;
  align-items:start;
  padding:16px;
  border:1px solid #e4dace;
  border-radius:12px;
  background:var(--white);
  color:#261e19;
  text-align:left;
}
.mk-template:not(:disabled):hover { border-color:#a36b52; background:#fff9f1; }
.mk-template:disabled { opacity:1; background:#f3eee7; }
.mk-template strong { display:block; font-size:1.04rem; line-height:1.25; }
.mk-description { display:block; margin-top:4px; font-size:.9rem; line-height:1.4; }
.mk-description small { display:block; margin-top:6px; font-size:.82rem; }
.mk-symbol { display:inline-grid; place-items:center; flex:none; width:39px; height:39px; border-radius:9px; color:#773e2e; background:#fbe4d6; }
.mk-type-quiet { color:#6b4314; background:#f5ead1; }
.mk-type-referral { color:#385942; background:#e2ede3; }
.mk-type-message { color:#4a4160; background:#eae5f1; }
.mk-arrow { margin-top:2px; color:#6c5448; }
.mk-empty { border-block:1px solid #e4dace; padding:19px 0; color:#655950; margin:0; }
.mk-campaigns { border-top:1px solid #e4dace; }
.mk-row { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(110px,.6fr); gap:20px; align-items:center; padding:14px 0; border-bottom:1px solid #e4dace; }
.mk-row h3 { margin:3px 0; font-size:1rem; overflow-wrap:anywhere; }
.mk-row dl,.mk-review dl { margin:0; display:flex; flex-wrap:wrap; gap:clamp(12px,3vw,30px); }
.mk-row dt,.mk-review dt { color:#655950; font-size:.79rem; }
.mk-row dd,.mk-review dd { margin:3px 0 0; font-weight:680; }
.mk-end { display:grid; font-size:.79rem; justify-items:start; }
.mk-tag { color:#63564e; font-size:.77rem; font-weight:680; }
.mk-tag.active { color:#36593d; }
.mk-tag.scheduled { color:#775016; }
.mk-editor { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(230px,.8fr); align-items:start; gap:20px; }
.mk-editor-main,.mk-preview { border:1px solid #e4dace; border-radius:14px; padding:clamp(18px,3vw,28px); background:#fffdf8; }
.mk-editor-head { display:flex; gap:12px; align-items:start; margin-bottom:17px; }
.mk-editor-head h2,.mk-review h2 { margin:0; letter-spacing:-.04em; line-height:1.15; overflow-wrap:anywhere; }
.mk-editor-head p { margin:5px 0 0; color:#655950; line-height:1.4; }
.mk-editor-head .mk-guide-example { margin-top:10px; color:var(--ink); }
.mk-form { display:grid; gap:13px; }
.mk-form textarea { width:100%; resize:vertical; border:1px solid var(--line); border-radius:8px; padding:10px 12px; font:inherit; color:var(--ink); background:var(--white); }
.mk-form fieldset { min-width:0; margin:0; border:1px solid #e4dace; border-radius:10px; padding:10px; }
.mk-form legend { padding:0 5px; font-size:.84rem; font-weight:650; }
.mk-form small { color:#655950; font-weight:400; }
.mk-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; align-items:end; }
.mk-fields input { min-width:0; width:100%; }
.mk-form fieldset .mk-meta { margin-top:8px; }
.mk-form > button { justify-self:start; }
.mk-preview { background:#f6ede1; }
.mk-preview > h3 { font-size:1rem; margin:0 0 8px; }
.mk-preview-card { padding:17px; border:1px solid #e3cdb9; border-radius:12px; margin:12px 0; background:#fffdf8; overflow-wrap:anywhere; }
.mk-preview-card h3,.mk-preview-card p { margin:7px 0 0; }
.mk-preview-card p,.mk-help,.mk-review-message p { line-height:1.45; }
.mk-preview-points { color:#854021; font-weight:720; }
.mk-help { font-size:.85rem; margin:0; }
.mk-review { max-width:720px; }
.mk-review-message { margin:15px 0; padding:12px 15px; background:#f6ede1; border-radius:8px; overflow-wrap:anywhere; }
.mk-review-message p { margin:4px 0 0; }
.mk-error { color:#9d2720; margin:0; }
.mk-plan .mk-error { color:#ffd3c8; margin-top:7px; }
.mk-error:empty { display:none; }
.mk-template:focus-visible,.mk-button:focus-visible,.mk-switch button:focus-visible,.mk-quiet:focus-visible,.mk-back:focus-visible { outline:2px solid #ac522a; outline-offset:3px; }
.mk-plan :focus-visible,.mk-intro h2:focus-visible { outline:2px solid #ffc296; outline-offset:4px; }
@media(max-width:650px) {
  .mk-switch { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:5px; }
  .mk-switch button { flex-direction:column; justify-content:center; gap:4px; padding:8px 4px; font-size:.82rem; text-align:center; }
  .mk-hero,.mk-editor,.mk-grid { grid-template-columns:1fr; gap:12px; }
  .mk-hero { border-radius:14px; padding:22px; }
  .mk-plan { border-left:0; border-top:1px solid #74564a; padding:16px 0 0; }
  .mk-template { padding:13px; }
  .mk-row { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:9px; }
  .mk-end { grid-column:1/-1; display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; }
  .mk-editor-main,.mk-preview { padding:16px; }
}
@media(max-width:390px) {
  .mk-fields { grid-template-columns:1fr; }
}
