/* 캠페인 탭 온보딩 (release 24 'creator-onboard', 2026-11-01). Phone first (320 / 390), then wider screens.
   The guide sits in the campaign list grid, so it spans every column. */
.cco{grid-column:1/-1;min-width:0;max-width:960px;background:#fff;border:1px solid #dce0e6;border-radius:15px;color:#181b22}
.cco-full{padding:22px 16px 6px}
.cco-hero{display:grid;gap:14px;padding:0 0 20px;border-bottom:1px solid #e4e7ec}
.cco-title{font-size:22px;line-height:1.35;letter-spacing:-.03em;font-weight:700;margin:0;word-break:keep-all;text-wrap:balance}
.cco-alert{display:grid;gap:10px;min-width:0}
.cco-alert-row{display:grid;gap:8px}
.cco-alert .cco-alert-button{width:100%;font-size:15px;font-weight:700}
.cco-on{display:inline-flex;align-items:center;justify-self:start;min-height:48px;margin:0;padding:0 18px;border-radius:8px;background:#edf4ed;color:#2f5b3c;font-size:15px;font-weight:700}
.cco-consent{margin:0;font-size:12px;line-height:1.6;color:#667080;word-break:keep-all;overflow-wrap:anywhere}
.cco-consent a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.cco-parts{display:grid;min-width:0}
.cco-part{min-width:0;padding:20px 0;border-top:1px solid #eceef1}
.cco-part:first-child{border-top:0}
.cco-part h4{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:0 0 12px;font-size:17px;line-height:1.4;letter-spacing:-.02em}
.cco-part h4 small{font-size:12px;font-weight:500;color:#667080;letter-spacing:0}
.cco-plus{margin:0 0 14px;padding:12px 14px;border-radius:10px;background:#eef1fb;color:#1f3a8f;font-size:15px;line-height:1.55;font-weight:700;word-break:keep-all;text-wrap:balance}
.cco-table{width:100%;border-collapse:collapse;margin:0 0 4px;font-size:14px;line-height:1.4}
.cco-table th,.cco-table td{padding:9px 2px;border-bottom:1px solid #eceef1}
.cco-table thead th{font-size:12px;font-weight:600;color:#667080;text-align:left}
.cco-table thead th:last-child,.cco-table td{text-align:right}
.cco-table tbody th{font-weight:500;text-align:left;word-break:keep-all}
.cco-table td{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.cco-facts{display:grid;margin:0}
.cco-facts>div{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid #eceef1}
.cco-facts dt{font-size:13px;line-height:1.5;color:#667080}
.cco-facts>div:last-child{border-bottom:0}
.cco-facts dd{margin:0;font-size:14px;line-height:1.5;font-weight:600;word-break:keep-all;overflow-wrap:anywhere}
.cco-line{display:block}
.cco-fine{margin:8px 0 0;font-size:12px;line-height:1.5;color:#667080;word-break:keep-all}
.cco-types{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.cco-types li{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:10px;font-size:14px;line-height:1.5;word-break:keep-all}
.cco-types li .cco-chip{justify-self:start}
.cco-chip{display:inline-flex;align-items:center;min-height:28px;padding:2px 10px;border:1px solid #cfd5df;border-radius:999px;background:#fff;font-size:13px;font-weight:700;white-space:nowrap}
.cco-combo{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:14px 0 0;font-size:13px;color:#667080}
.cco-plus-sign{font-weight:700;color:#181b22}
.cco-compact>summary{min-height:52px;padding:14px 16px;font-size:15px;line-height:24px;font-weight:700;cursor:pointer}
.cco-compact>summary:focus-visible{outline:3px solid #3456eb;outline-offset:2px;border-radius:12px}
.cco-compact>.cco-parts{padding:0 16px 6px;border-top:1px solid #e4e7ec}
/* Narrow phones (320): the label sits above its value so a value line is not split. */
@media (max-width:359px){.cco-facts>div{grid-template-columns:minmax(0,1fr);gap:2px}}
@media (min-width:760px){
 .cco-full{padding:28px 28px 8px}
 .cco-title{font-size:26px}
 .cco-alert{grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:20px}
 .cco-alert .cco-alert-button{width:auto;min-width:220px}
 .cco-consent{max-width:560px}
 .cco-compact>summary{padding:14px 24px}
 .cco-compact>.cco-parts{padding:0 24px 8px}
}
/* Wide: pay on the left beside the upload rules and the payout; the campaign types across the bottom. */
@media (min-width:900px){
 .cco-parts{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"earn upload" "earn payout" "types types";column-gap:40px;align-items:start}
 .cco-part-earn{grid-area:earn}
 .cco-part-upload{grid-area:upload;border-top:0}
 .cco-part-payout{grid-area:payout}
 .cco-part-types{grid-area:types}
 .cco-part-types .cco-types{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:40px}
}
