.posting-view {
  min-height: calc(100vh - 76px);
  overflow: auto;
  background:
    radial-gradient(circle at 88% 4%, rgba(255, 121, 22, .15), transparent 26rem),
    linear-gradient(135deg, #fff 0%, #fffaf5 52%, #fff 100%);
  color: #111827;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}
.posting-view *, .posting-view button, .posting-view input, .posting-view select { font-family: inherit; }
.posting-shell { width: min(1120px, calc(100% - 56px)); margin: 0 auto; padding: 60px 0 84px; }
.posting-hero { max-width: 690px; margin: 0 auto 42px; text-align: center; }
.posting-eyebrow, .posting-section-kicker { display: block; color: #ff5a17; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.posting-hero h1 { margin: 11px 0 12px; font-size: clamp(34px, 4vw, 56px); line-height: .98; letter-spacing: -.055em; }
.posting-hero p { margin: 0 auto; max-width: 570px; color: #687386; font-size: 16px; font-weight: 600; line-height: 1.5; }
.posting-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 18px; align-items: start; }
.posting-card, .posting-plan-gate { border: 1px solid #f0e5dc; border-radius: 22px; background: rgba(255,255,255,.92); box-shadow: 0 18px 40px rgba(56, 36, 19, .08); }
.posting-card { padding: 26px; }
.posting-card-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; margin-bottom: 21px; }
.posting-card h2 { margin: 5px 0 0; font-size: 21px; letter-spacing: -.025em; }
.posting-status-note, .posting-card-footnote, .posting-connection small, .posting-delivery-choice small { color: #788395; font-size: 12px; font-weight: 600; line-height: 1.35; }
.posting-status-note { border-radius: 999px; background: #fff5ed; color: #bd4b15; padding: 7px 10px; white-space: nowrap; }
.posting-connections { display: grid; gap: 10px; }
.posting-connection { min-height: 72px; padding: 11px; border: 1px solid #eee4dc; border-radius: 15px; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 11px; align-items: center; }
.posting-provider-mark { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-size: 19px; font-weight: 900; }
.posting-provider-youtube { background: linear-gradient(135deg, #ff7a16, #ff3d15); }
.posting-connection strong, .posting-connection small { display: block; }
.posting-connection strong { font-size: 15px; }
.posting-connection button, .posting-primary-button, .posting-plan-gate button { border: 0; border-radius: 11px; padding: 10px 14px; color: #fff; background: linear-gradient(110deg, #ff961b, #ff4e16); box-shadow: 0 10px 20px rgba(255, 100, 20, .2); font-size: 13px; font-weight: 800; cursor: pointer; }
.posting-connection button:hover, .posting-primary-button:hover, .posting-plan-gate button:hover { filter: brightness(.97); transform: translateY(-1px); }
.posting-card-footnote { margin: 16px 0 0; }
.posting-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.posting-automation-card label { color: #566174; font-size: 12px; font-weight: 800; }
.posting-automation-card select, .posting-automation-card input { display: block; width: 100%; box-sizing: border-box; min-height: 43px; margin-top: 7px; border: 1px solid #e5e9ef; border-radius: 11px; outline: none; background: #fbfcfd; color: #172033; padding: 0 12px; font-size: 14px; font-weight: 650; }
.posting-automation-card input:focus, .posting-automation-card select:focus { border-color: #ff8a20; box-shadow: 0 0 0 3px rgba(255, 123, 24, .12); }
.posting-source-label { display: block; margin-top: 13px; }
.posting-switch { display: flex; align-items: center; gap: 7px; color: #677386; white-space: nowrap; }
.posting-switch input { position: absolute; opacity: 0; pointer-events: none; }
.posting-switch span { position: relative; width: 36px; height: 22px; border-radius: 999px; background: #dce1e8; transition: .2s; }
.posting-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: .2s; }
.posting-switch input:checked + span { background: linear-gradient(110deg, #ff9c1b, #ff5016); }
.posting-switch input:checked + span::after { transform: translateX(14px); }
.posting-delivery-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 17px 0; }
.posting-delivery-choice label { display: flex; gap: 8px; align-items: flex-start; border: 1px solid #e9e6e2; border-radius: 12px; padding: 11px; cursor: pointer; transition: .16s; }
.posting-delivery-choice label:has(input:checked) { border-color: #ff801b; background: #fff8f2; box-shadow: inset 0 0 0 1px rgba(255, 120, 20, .13); }
.posting-delivery-choice input { width: 16px; min-height: 16px; margin: 1px 0 0; accent-color: #ff6817; }
.posting-delivery-choice b, .posting-delivery-choice small { display: block; }
.posting-delivery-choice b { color: #1f2937; font-size: 13px; }
.posting-primary-button { width: 100%; min-height: 46px; font-size: 14px; }
.posting-queue-card { margin-top: 18px; }
.posting-queue-count { align-self: center; color: #b6531c; background: #fff3e8; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 800; }
.posting-queue-empty { border: 1px dashed #f0d6c4; border-radius: 14px; padding: 21px; color: #7b8594; font-size: 14px; font-weight: 600; text-align: center; }
.posting-queue-list { display: grid; gap: 9px; }
.posting-queue-item, .posting-selected-clip { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-radius: 14px; border: 1px solid #eee7e0; background: #fffaf6; padding: 13px 15px; }
.posting-queue-item strong, .posting-selected-clip strong { display: block; font-size: 14px; }
.posting-queue-item small, .posting-selected-clip small { display: block; margin-top: 3px; color: #718095; font-size: 12px; }
.posting-draft-status { color: #bd4b15; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.posting-draft-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.posting-approve-draft { border: 0; border-radius: 9px; padding: 7px 10px; background: linear-gradient(110deg, #ff961b, #ff4e16); color: #fff; font-size: 11px; font-weight: 800; cursor: pointer; }
.posting-selected-clip { margin-bottom: 12px; background: linear-gradient(100deg, #fff8ef, #fff); border-color: #ffcfaa; }
.posting-selected-clip button { flex: 0 0 auto; border: 0; border-radius: 10px; padding: 9px 12px; background: #172033; color: #fff; font-size: 12px; font-weight: 800; cursor: pointer; }
.posting-plan-gate { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 0 auto 18px; padding: 18px 22px; background: linear-gradient(100deg, #fff8f1, #fff); }
.posting-plan-gate > div { display: grid; grid-template-columns: 31px 1fr; column-gap: 11px; align-items: center; }
.posting-lock { grid-row: span 2; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 10px; background: #ffeddd; color: #ff5c17; }
.posting-plan-gate strong { font-size: 14px; }.posting-plan-gate p { grid-column: 2; margin: 3px 0 0; color: #707b8d; font-size: 12px; font-weight: 600; }
.posting-plan-gate button { white-space: nowrap; }
.posting-view.is-locked .posting-grid, .posting-view.is-locked .posting-queue-card { opacity: .55; pointer-events: none; filter: grayscale(.12); }
@media (max-width: 860px) { .posting-shell { width: min(100% - 32px, 650px); padding-top: 38px; }.posting-grid { grid-template-columns: 1fr; }.posting-plan-gate { align-items: flex-start; flex-direction: column; gap: 12px; }.posting-plan-gate button { width: 100%; }.posting-hero h1 { font-size: 40px; } }
@media (max-width: 520px) { .posting-shell { width: min(100% - 24px, 650px); }.posting-card { padding: 18px; }.posting-form-grid, .posting-delivery-choice { grid-template-columns: 1fr; }.posting-card-head { flex-direction: column; }.posting-status-note { white-space: normal; }.posting-connection { grid-template-columns: 39px minmax(0,1fr); }.posting-connection button { grid-column: 2; justify-self: start; }.posting-hero h1 { font-size: 35px; } }
