/* ── Media Kit Generator (/tools/media-kit-generator) ── */
.mk-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; align-items: start; }
/* The 794px A4 preview must not set the column width (it caused sideways scrolling on phones) */
.mk-layout > * { min-width: 0; }
.mk-form { gap: 14px; }
.mk-step { margin: 10px 0 0; padding-top: 14px; border-top: 2px solid #eee; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
.mk-step:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.mk-step small { font-weight: 400; text-transform: none; letter-spacing: 0; color: #888; margin-left: 4px; }
.mk-grow { flex: 1; }
.mk-textarea { resize: vertical; min-height: 70px; font-family: inherit; line-height: 1.5; }
.mk-photo-row { display: flex; gap: 16px; align-items: flex-end; }
.mk-photo-pick {
    width: 72px; height: 72px; flex-shrink: 0; border-radius: 50%; border: 3px dashed #000; cursor: pointer; overflow: hidden;
    display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; background: #f7f7f7;
}
.mk-photo-pick:hover, .mk-photo-pick:focus-visible { background: var(--textColor); outline: none; }
.mk-photo-pick img { width: 100%; height: 100%; object-fit: cover; }
.mk-link { align-self: flex-start; padding: 0; border: none; background: none; font: inherit; font-size: 12px; color: #000; text-decoration: underline; cursor: pointer; letter-spacing: 0; }
.mk-add-platforms { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-chip { padding: 5px 10px; background: #fff; border: 2px solid #000; box-shadow: 2px 2px 0 #000; font: inherit; font-size: 11px; font-weight: 800; letter-spacing: 1px; cursor: pointer; }
.mk-chip:hover { background: var(--textColor); }
.mk-chip:active { box-shadow: none; transform: translate(2px, 2px); }
.mk-platform-list, .mk-rate-list { display: flex; flex-direction: column; gap: 10px; }
.mk-plat-row { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: #f7f7f7; border: 2px solid #000; }
.mk-plat-row-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.mk-plat-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mk-small { font-size: 12px; padding: 6px 12px; margin: 0; }
.mk-lookup-msg:empty { display: none; }
.mk-rate-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px auto 28px; gap: 8px; align-items: center; }
.mk-from { padding: 6px 4px; font-size: 12px; }
.mk-x { width: 28px; height: 28px; padding: 0; border: 2px solid #000; background: #fff; font-size: 16px; font-weight: 800; line-height: 1; cursor: pointer; }
.mk-x:hover { background: var(--textColor); }
.mk-rate-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mk-themes { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-theme { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; background: #fff; border: 2px solid #000; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.mk-theme span { width: 22px; height: 22px; border: 2px solid #000; background: linear-gradient(135deg, var(--mk-bg) 50%, var(--mk-accent) 50%); }
.mk-theme.on { background: var(--textColor); box-shadow: 3px 3px 0 #000; }
.mk-actions { display: flex; align-items: center; gap: 16px; }
.mk-download { flex: 1; margin-top: 4px; }

.mk-preview-col { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 12px; }
.mk-preview-head { display: flex; justify-content: space-between; align-items: baseline; }
.mk-preview { position: relative; overflow: hidden; border: 3px solid #000; box-shadow: 8px 8px 0 #000; background: #fff; }
.mk-scale { width: 794px; transform-origin: top left; }
.mk-orbit .rc-cta { margin-top: 10px; }

/* The kit itself (A4 at 96dpi). Themes set the colours; swatches reuse them. */
.mk-theme-orbit { --mk-bg: #0d2b52; --mk-fg: #fff;    --mk-accent: #EFDC75; --mk-ink: #0d2b52; }
.mk-theme-mono  { --mk-bg: #111;    --mk-fg: #fff;    --mk-accent: #d9d9d9; --mk-ink: #111; }
.mk-theme-blush { --mk-bg: #f6d9d6; --mk-fg: #3b1f24; --mk-accent: #c75b6b; --mk-ink: #3b1f24; }
.mk-theme-sage  { --mk-bg: #dde7da; --mk-fg: #1f3324; --mk-accent: #4d7a56; --mk-ink: #1f3324; }
.mk-theme-sun   { --mk-bg: #ff7a45; --mk-fg: #fff;    --mk-accent: #ffd166; --mk-ink: #4a1d0c; }
.mk-page {
    width: 794px; min-height: 1123px; box-sizing: border-box; display: flex; flex-direction: column;
    background: #fff; color: #222; font-family: "Open Sans", Arial, sans-serif; letter-spacing: 0;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
/* Site-wide p/span letter-spacing shouldn't leak into the kit; classes below set their own */
.mk-page * { letter-spacing: inherit; }
/* Site-wide h2 is display:inline, which breaks heading spacing and borders */
.mk-page h1, .mk-page h2 { display: block; }
.mk-head { display: flex; gap: 32px; align-items: center; padding: 48px 56px; background: var(--mk-bg); color: var(--mk-fg); }
.mk-avatar { width: 150px; height: 150px; flex-shrink: 0; border-radius: 50%; overflow: hidden; border: 5px solid var(--mk-accent); background: rgba(255, 255, 255, .15); display: flex; align-items: center; justify-content: center; }
.mk-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mk-avatar span { font-size: 48px; font-weight: 800; }
.mk-kicker { display: inline-block; margin-bottom: 8px; padding: 3px 10px; background: var(--mk-accent); color: var(--mk-ink); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; }
.mk-head h1 { margin: 0 0 6px; font-size: 40px; font-weight: 800; line-height: 1.1; color: inherit; text-transform: none; letter-spacing: 0; text-decoration: none; }
.mk-meta { margin: 0 0 12px; font-size: 14px; font-weight: 700; opacity: .85; }
.mk-bio { margin: 0; font-size: 14px; line-height: 1.6; opacity: .95; }
.mk-totals { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 2px solid #eee; }
.mk-totals div { display: flex; flex-direction: column; align-items: center; padding: 22px 10px; }
.mk-totals div + div { border-left: 2px solid #eee; }
.mk-totals strong { font-size: 34px; font-weight: 800; color: var(--mk-ink); line-height: 1.1; }
.mk-totals span { margin-top: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #888; }
.mk-section { padding: 22px 56px 0; }
.mk-section h2, .mk-foot h2 { margin: 0 0 12px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; color: var(--mk-ink); }
.mk-section h2::after { content: ""; display: block; width: 36px; height: 4px; margin-top: 6px; background: var(--mk-accent); }
.mk-plat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.mk-plat { padding: 14px 16px; border: 2px solid #eee; border-top: 5px solid var(--mk-bg); }
.mk-plat-name { font-size: 15px; font-weight: 800; color: var(--mk-ink); }
.mk-plat-handle { font-size: 12px; color: #777; margin-top: 2px; }
.mk-plat-stats { display: flex; gap: 12px; margin-top: 10px; }
.mk-plat-stats div { display: flex; flex-direction: column; min-width: 0; }
.mk-plat-stats strong { font-size: 18px; font-weight: 800; color: #222; }
.mk-plat-stats span { font-size: 9px; text-transform: uppercase; letter-spacing: .5px; color: #888; white-space: nowrap; }
.mk-cols { display: grid; grid-template-columns: 1fr 1fr; }
.mk-cols > .mk-section:only-child { grid-column: 1 / -1; }
.mk-line { display: flex; flex-direction: column; margin: 0 0 10px; font-size: 14px; }
.mk-line span { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #888; }
.mk-gender { margin-bottom: 10px; }
.mk-gender-bar { height: 12px; background: #eee; }
.mk-gender-bar span { display: block; height: 100%; background: var(--mk-accent); }
.mk-gender-labels { display: flex; justify-content: space-between; margin-top: 4px; font-size: 12px; font-weight: 700; }
.mk-brands { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-brands span { padding: 5px 12px; border: 2px solid var(--mk-ink); font-size: 13px; font-weight: 700; color: var(--mk-ink); }
.mk-rates { width: 100%; border-collapse: collapse; font-size: 14px; }
.mk-rates td { padding: 8px 0; border-bottom: 1px solid #eee; }
.mk-rates td:last-child { text-align: right; font-weight: 800; color: var(--mk-ink); white-space: nowrap; }
.mk-note { margin: 8px 0 0; font-size: 11px; color: #888; }
.mk-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 28px 56px; background: var(--mk-bg); color: var(--mk-fg); }
.mk-foot h2 { color: inherit; }
.mk-foot p { margin: 0; font-size: 15px; font-weight: 700; word-break: break-word; }
.mk-made { font-size: 10px; opacity: .7; white-space: nowrap; }
/* Breathing room above the footer when the page is short */
.mk-page > section:last-of-type { padding-bottom: 28px; }

@media (max-width: 900px) {
    .mk-layout { grid-template-columns: minmax(0, 1fr); }
    .mk-preview-col { position: static; }
}
@media (max-width: 560px) {
    .mk-plat-nums { grid-template-columns: 1fr 1fr; }
    .mk-rate-row { grid-template-columns: minmax(0, 1fr) 80px 28px; }
    .mk-from { grid-column: 1; grid-row: 2; }
    .mk-actions { flex-direction: column; align-items: stretch; }
}

/* ── Layout picker ── */
.mk-layouts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.mk-layout-btn { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; background: #fff; border: 2px solid #000; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.mk-layout-btn.on { background: var(--textColor); box-shadow: 3px 3px 0 #000; }
.mk-thumb { position: relative; display: inline-block; width: 26px; height: 34px; border: 2px solid #000; background: #fff; flex-shrink: 0; }
.mk-thumb i { position: absolute; background: #0d2b52; }
.mk-thumb i + i { background: #aaa; }
.mk-thumb-classic i:nth-child(1)   { top: 0; left: 0; right: 0; height: 11px; }
.mk-thumb-classic i:nth-child(2)   { top: 15px; left: 3px; right: 3px; height: 4px; }
.mk-thumb-classic i:nth-child(3)   { top: 22px; left: 3px; right: 9px; height: 4px; }
.mk-thumb-sidebar i:nth-child(1)   { top: 0; bottom: 0; left: 0; width: 9px; }
.mk-thumb-sidebar i:nth-child(2)   { top: 4px; left: 12px; right: 3px; height: 4px; }
.mk-thumb-sidebar i:nth-child(3)   { top: 11px; left: 12px; right: 6px; height: 4px; }
.mk-thumb-editorial i:nth-child(1) { top: 3px; right: 3px; width: 8px; height: 10px; }
.mk-thumb-editorial i:nth-child(2) { top: 5px; left: 3px; width: 10px; height: 5px; }
.mk-thumb-editorial i:nth-child(3) { top: 17px; left: 3px; right: 3px; height: 2px; }
.mk-thumb-poster i:nth-child(1)    { top: 0; left: 0; right: 0; height: 18px; }
.mk-thumb-poster i:nth-child(2)    { top: 18px; left: 0; right: 0; height: 5px; background: #EFDC75; }
.mk-thumb-poster i:nth-child(3)    { top: 26px; left: 3px; right: 8px; height: 3px; }
.mk-thumb-bento i:nth-child(1)     { top: 3px; left: 3px; right: 3px; height: 9px; }
.mk-thumb-bento i:nth-child(2)     { top: 15px; left: 3px; width: 8px; height: 12px; }
.mk-thumb-bento i:nth-child(3)     { top: 15px; right: 3px; width: 8px; height: 12px; }

/* ── Layout: Sidebar ── */
.mk-l-sidebar { flex-direction: row; }
.mk-side { width: 270px; flex-shrink: 0; display: flex; flex-direction: column; padding: 48px 30px 32px; background: var(--mk-bg); color: var(--mk-fg); }
.mk-side .mk-avatar { width: 150px; height: 150px; margin-bottom: 24px; }
.mk-side .mk-kicker { align-self: flex-start; }
.mk-side h1 { margin: 0 0 6px; font-size: 32px; font-weight: 800; line-height: 1.1; color: inherit; text-transform: none; text-decoration: none; }
.mk-side .mk-bio { font-size: 13px; }
.mk-side-foot { margin-top: auto; padding-top: 32px; }
.mk-side .mk-contact h2 { margin: 0 0 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; color: inherit; }
.mk-side .mk-contact p { margin: 0 0 16px; font-size: 13px; font-weight: 700; line-height: 1.6; word-break: break-word; }
.mk-main { flex: 1; min-width: 0; padding-bottom: 32px; }
.mk-l-sidebar .mk-section { padding: 22px 36px 0; }
.mk-l-sidebar .mk-totals div { padding: 32px 6px 24px; }
.mk-l-sidebar .mk-totals strong { font-size: 28px; }
.mk-l-sidebar .mk-plat-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }

/* ── Layout: Editorial ── */
.mk-l-editorial .mk-head { justify-content: space-between; padding: 60px 56px 32px; background: #fff; color: #222; border-bottom: 3px solid var(--mk-ink); }
.mk-l-editorial .mk-head-text { max-width: 470px; }
.mk-l-editorial .mk-avatar { width: 180px; height: 210px; border-radius: 0; border: none; box-shadow: 12px 12px 0 var(--mk-accent); background: #eee; }
.mk-l-editorial .mk-avatar span { color: var(--mk-ink); }
.mk-l-editorial .mk-kicker { padding: 0; margin-bottom: 14px; background: none; color: #888; letter-spacing: 5px; }
.mk-l-editorial .mk-head h1 { font-family: Georgia, "Times New Roman", serif; font-size: 58px; font-weight: 700; color: var(--mk-ink); }
.mk-l-editorial .mk-meta { color: var(--mk-ink); opacity: 1; }
.mk-l-editorial .mk-bio { color: #444; font-size: 15px; }
.mk-l-editorial .mk-totals { border-bottom: 1px solid #ddd; }
.mk-l-editorial .mk-totals strong { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.mk-l-editorial .mk-totals div + div { border-left: 1px solid #ddd; }
.mk-l-editorial .mk-section h2 { padding-bottom: 8px; border-bottom: 1px solid #ddd; }
.mk-l-editorial .mk-section h2::after { display: none; }
.mk-l-editorial .mk-plat { border: none; border-left: 4px solid var(--mk-bg); background: #fafafa; }
.mk-l-editorial .mk-brands span { border-width: 1px; border-radius: 20px; }
.mk-l-editorial .mk-foot { margin: auto 56px 0; padding: 22px 0 36px; background: #fff; color: var(--mk-ink); border-top: 3px solid var(--mk-ink); }
.mk-l-editorial > section:last-of-type { padding-bottom: 32px; }

/* ── Layout: Poster ── */
.mk-l-poster .mk-head { position: relative; height: 250px; padding: 0; align-items: flex-end; overflow: hidden; }
.mk-l-poster .mk-head.has-photo { height: 400px; color: #fff; }
.mk-poster-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-l-poster .mk-head.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .78)); }
.mk-l-poster .mk-head-text { position: relative; z-index: 1; padding: 40px 56px; }
.mk-l-poster .mk-head h1 { font-size: 66px; line-height: .95; text-transform: uppercase; margin-bottom: 10px; }
.mk-l-poster .mk-meta { margin: 0; font-size: 15px; opacity: 1; }
.mk-l-poster .mk-totals { background: var(--mk-accent); border: none; }
.mk-l-poster .mk-totals div + div { border-left: 2px solid rgba(0, 0, 0, .15); }
.mk-l-poster .mk-totals strong { color: var(--mk-ink); }
.mk-l-poster .mk-totals span { color: var(--mk-ink); opacity: .7; }
.mk-l-poster .mk-s-bio .mk-bio { font-size: 16px; line-height: 1.7; color: #333; }

/* ── Layout: Bento ── */
.mk-l-bento { background: #f1f1f1; }
.mk-l-bento .mk-head { flex-direction: column; text-align: center; gap: 16px; margin: 24px 24px 0; padding: 36px 56px 30px; border-radius: 20px; }
.mk-l-bento .mk-head-text { max-width: 560px; }
.mk-l-bento .mk-avatar { width: 130px; height: 130px; }
.mk-l-bento .mk-head h1 { font-size: 36px; }
.mk-bento { flex: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; align-content: start; padding: 14px 24px 24px; }
.mk-tile { grid-column: span 2; min-width: 0; padding: 18px; background: #fff; border-radius: 16px; }
.mk-tile-wide { grid-column: span 3; }
.mk-tile-full { grid-column: 1 / -1; }
.mk-tile .mk-section { padding: 0; }
.mk-tile .mk-plat { padding: 0; border: none; }
.mk-tile-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px 10px; }
.mk-tile-stat strong { font-size: 32px; font-weight: 800; line-height: 1.1; color: var(--mk-ink); }
.mk-tile-stat span { margin-top: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #888; }
.mk-tile-contact { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; background: var(--mk-bg); color: var(--mk-fg); }
.mk-tile-contact h2 { margin: 0 0 8px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; color: inherit; }
.mk-tile-contact p { margin: 0; font-size: 15px; font-weight: 700; word-break: break-word; }

/* ── Rate Card (/tools/rate-card-template) — uses the page styles above ── */
.rk-plat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.rk-plat { padding: 12px 16px 6px; border: 2px solid #eee; border-top: 5px solid var(--mk-bg); }
.rk-plat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.rk-plat-head strong { font-size: 15px; font-weight: 800; color: var(--mk-ink); }
.rk-plat-head span { font-size: 11px; color: #888; white-space: nowrap; }
.rk-row { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.rk-row:last-child { border-bottom: none; }
.rk-row span { flex: 0 1 auto; min-width: 0; }
.rk-row i { flex: 1; }
.rk-row b { font-weight: 800; color: var(--mk-ink); white-space: nowrap; }
.rk-packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.rk-pack { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--mk-bg); color: var(--mk-fg); }
.rk-pack-name { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
.rk-pack p { flex: 1; margin: 0; font-size: 13px; line-height: 1.5; opacity: .9; }
.rk-pack-price { font-size: 24px; font-weight: 800; color: var(--mk-accent); }
.rk-terms { list-style: none; margin: 0; padding: 0; }
.rk-terms li { padding: 5px 0; font-size: 13px; line-height: 1.5; }
.rk-terms span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #888; }
.rk-page .mk-cols { gap: 0; }
/* Sidebar: terms sit in the coloured column */
.mk-side .mk-section { padding: 26px 0 0; }
.mk-side .mk-section h2 { color: inherit; }
.mk-side .rk-terms span { color: inherit; opacity: .7; }
.mk-l-sidebar.rk-page .rk-plat-grid { grid-template-columns: 1fr; }
/* Form: package price row and add-on rows */
.rk-pack-row { grid-template-columns: 120px auto; justify-content: start; }
.rk-addon-row { grid-template-columns: minmax(0, 1fr) 120px 28px; }
.mk-plat-row-head .rc-input { flex: 1; margin-right: 10px; }

/* Layout: Menu — centred, serif, dotted leaders between item and price */
.rk-l-menu .mk-head { flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 56px 56px 20px; background: #fff; color: var(--mk-ink); }
.rk-l-menu .mk-avatar { width: 110px; height: 110px; }
.rk-l-menu .mk-avatar span { color: var(--mk-fg); background: var(--mk-bg); width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.rk-l-menu .mk-kicker { margin: 0; padding: 0; background: none; color: #999; letter-spacing: 6px; }
.rk-l-menu .mk-head h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 50px; font-weight: 700; color: var(--mk-ink); }
.rk-l-menu .mk-meta { margin: 0; color: #666; opacity: 1; }
.rk-l-menu .mk-section h2 { text-align: center; }
.rk-l-menu .mk-section h2::after { margin: 6px auto 0; }
.rk-l-menu .rk-plat-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px 44px; }
.rk-l-menu .rk-plat { padding: 0; border: none; }
.rk-l-menu .rk-plat-head { justify-content: center; gap: 10px; }
.rk-l-menu .rk-plat-head strong { font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.rk-l-menu .rk-row { border: none; padding: 5px 0; }
.rk-l-menu .rk-row i { border-bottom: 2px dotted #bbb; transform: translateY(-4px); }
.rk-l-menu .rk-pack { background: #fff; color: #222; border: 2px solid var(--mk-ink); text-align: center; }
.rk-l-menu .rk-pack-name { color: var(--mk-ink); }
.rk-l-menu .rk-pack-price { color: var(--mk-ink); }
.rk-l-menu .rk-terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.rk-l-menu .mk-foot { margin: auto 56px 0; padding: 22px 0 36px; background: #fff; color: var(--mk-ink); border-top: 2px solid var(--mk-ink); }
.rk-l-menu > section:last-of-type { padding-bottom: 28px; }
.mk-thumb-menu i:nth-child(1) { top: 4px; left: 7px; right: 7px; height: 4px; }
.mk-thumb-menu i:nth-child(2) { top: 13px; left: 3px; right: 3px; height: 0; border-top: 2px dotted #aaa; background: none; }
.mk-thumb-menu i:nth-child(3) { top: 20px; left: 3px; right: 3px; height: 0; border-top: 2px dotted #aaa; background: none; }

/* Print: only the kit, edge to edge on A4 */
#mk-print { display: none; }
@media print {
    @page { size: A4; margin: 0; }
    body > *:not(#mk-print) { display: none !important; }
    html, body { margin: 0 !important; padding: 0 !important; background: #fff !important; }
    #mk-print { display: block; }
    /* Size comes from fitKit() in tool-media-kit.js (shrinks long kits onto one page); clip to one sheet */
    #mk-print { height: 296.5mm; overflow: hidden; }
}

/* ── Influencer Brief (/tools/influencer-brief-template) — uses the page styles above ── */
.bf-logo-pick { border-radius: 12px; }
.mk-avatar.bf-logo { border-radius: 18px; background: #fff; }
.mk-avatar.bf-logo img { object-fit: contain; }
.mk-avatar.bf-logo span { color: var(--mk-ink); }
.mk-l-editorial .mk-avatar.bf-logo { width: 150px; height: 150px; }
.bf-text { margin: 0 0 10px; font-size: 14px; line-height: 1.6; color: #333; white-space: pre-line; }
.bf-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.bf-facts .mk-line:only-child { grid-column: 1 / -1; }
.bf-list { margin: 0; padding: 0; list-style: none; }
.bf-list li { position: relative; padding: 4px 0 4px 22px; font-size: 14px; line-height: 1.5; }
.bf-list li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 8px; background: var(--mk-accent); }
.bf-do li::before, .bf-dont li::before { top: 4px; width: auto; height: auto; background: none; font-weight: 800; }
.bf-do li::before { content: "✓"; color: #2e7d32; }
.bf-dont li::before { content: "✕"; color: #c0392b; }
.bf-page .rk-row b { font-size: 13px; }
.bf-del-row { grid-template-columns: minmax(0, 1fr) 140px 28px; }
@media (max-width: 560px) {
    .bf-del-row { grid-template-columns: minmax(0, 1fr) 28px; }
    .bf-del-row [data-f="due"] { grid-column: 1; grid-row: 2; }
}
/* Briefs are text-heavy: a slimmer header, and no extra gap before the two-column rows */
.bf-page.mk-l-classic .mk-head { padding: 32px 56px; }
.bf-page.mk-l-classic .mk-avatar { width: 110px; height: 110px; }
.bf-page.mk-l-classic .mk-head h1 { font-size: 34px; }
.bf-page.mk-l-editorial .mk-head { padding: 44px 56px 24px; }
.bf-page > section:last-of-type { padding-bottom: 0; }
.bf-page > div.mk-cols:last-of-type .mk-section { padding-bottom: 28px; }

/* ── Influencer Invoice (/tools/influencer-invoice-template) — uses the page and brief styles above ── */
.iv-head { gap: 24px; }
.iv-head .mk-head-text { flex: 1; min-width: 0; }
.iv-page.mk-l-classic .iv-logo { width: 90px; height: 90px; }
.iv-page.mk-l-editorial .iv-logo { width: 90px; height: 90px; box-shadow: none; }
.iv-page .mk-meta { margin: 0 0 2px; }
.iv-page.mk-l-classic .mk-head h1 { font-size: 30px; }
.iv-page.mk-l-editorial .mk-head h1 { font-size: 44px; }
.iv-total-head { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.iv-total-head span { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; opacity: .75; }
.iv-total-head strong { font-size: 30px; font-weight: 800; color: var(--mk-accent); white-space: nowrap; }
.mk-l-editorial .iv-total-head strong { color: var(--mk-ink); }
.iv-parties { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; padding-top: 28px; }
.iv-parties p { margin: 0; font-size: 13px; line-height: 1.6; word-break: break-word; }
.iv-meta div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; font-size: 13px; font-weight: 700; }
.iv-meta span { font-size: 10px; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; color: #888; padding-top: 2px; }
.iv-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.iv-table th { padding: 8px 6px; background: var(--mk-bg); color: var(--mk-fg); font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; text-align: right; }
.iv-table td { padding: 10px 6px; border-bottom: 1px solid #eee; text-align: right; white-space: nowrap; }
.iv-table th:first-child, .iv-table td:first-child { text-align: left; white-space: normal; width: 100%; }
.iv-table td:last-child { font-weight: 800; }
.iv-empty { color: #999; }
.mk-l-editorial .iv-table th { background: none; color: var(--mk-ink); border-bottom: 2px solid var(--mk-ink); }
.iv-totals { width: 280px; margin: 12px 0 0 auto; font-size: 13px; }
.iv-totals div { display: flex; justify-content: space-between; padding: 5px 6px; }
.iv-totals span { color: #666; }
.iv-totals .iv-grand { margin-top: 4px; padding: 10px 6px; border-top: 3px solid var(--mk-ink); font-size: 17px; font-weight: 800; color: var(--mk-ink); }
.iv-totals .iv-grand span { color: inherit; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; align-self: center; }
.iv-page .mk-cols { margin-top: 10px; }
/* Form */
.iv-item-row { grid-template-columns: minmax(0, 1fr) 56px 96px 28px; }
.iv-sum { font-size: 13px; letter-spacing: 0; text-align: right; }
.iv-sum strong { background: var(--textColor); padding: 0 4px; }
.iv-warn { color: #c0392b; }
.iv-warn:empty { display: none; }
.mk-actions .mk-link { flex-shrink: 0; }
@media (max-width: 560px) {
    .iv-item-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 28px; }
    .iv-item-row [data-f="desc"] { grid-column: 1 / 3; }
    .iv-item-row .mk-x { grid-column: 3; grid-row: 1; }
}
