/* Posting UX: presentation and additive local media only. */
:root{--posting-blue:#2189cc;--posting-ink:#183e62;--posting-line:#dcebf5}
#posting-home{display:grid;gap:24px;margin-bottom:36px;color:var(--posting-ink)}
.posting-hero{position:relative;text-align:center;border:1px solid #d7eafb;border-radius:28px;padding:46px 26px;background:radial-gradient(ellipse at 85% 10%,#c4efee99,transparent 55%),linear-gradient(130deg,#eaf6ff,#f8fcff);box-shadow:0 12px 40px #3d82b00b}
.posting-kicker{display:block;color:#397b9e;font-size:13px;font-weight:650;margin-bottom:14px}.posting-hero h1{font-size:clamp(25px,3.3vw,40px);color:#173c60;line-height:1.4;letter-spacing:-1px}.posting-hero p{font-size:18px;line-height:1.9;color:#456b89;margin:17px 0 25px}.posting-hero>.primary-button{padding:16px 28px;font-size:17px}.posting-hero small{display:block;font-size:12px;line-height:1.8;color:#617b90;margin:20px auto 0;max-width:640px}
.home-section{padding:24px;border:1px solid var(--posting-line);border-radius:22px;background:#fff;box-shadow:0 6px 25px #2f6e9a06;min-width:0}.home-section h2{color:#21486a;font-size:20px}.home-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.home-section-heading button{flex-shrink:0}.home-continue{display:grid;gap:10px;color:#667f92;font-size:14px}.continue-posting{border:1px solid #d5e8f6;background:#f4faff;color:#285d84;padding:16px;border-radius:13px;text-align:left;overflow-wrap:anywhere}
.recent-postings{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.recent-posting{border:1px solid #e0ecf5;border-radius:15px;overflow:hidden;display:flex;flex-direction:column;gap:10px;padding-bottom:14px;min-width:0}.recent-posting>img,.posting-thumbnail-empty{width:100%;height:110px;object-fit:cover;background:linear-gradient(130deg,#e6f5ff,#eefafa)}.posting-thumbnail-empty{display:grid;place-items:center;color:#6d98b4;font-size:11px}.recent-posting>button{font-size:14px;color:#21486a;text-align:left;margin:0 12px;overflow-wrap:anywhere;line-height:1.6}.recent-posting>span,.recent-posting>small{font-size:11px;color:#6d8497;margin:0 12px}.posting-help{font-size:12px;line-height:1.8;color:#667e92;overflow-wrap:anywhere;margin:16px 0 0}
.usage-card{background:#f6fbff}.usage-card h2{margin-bottom:15px}#posting-usage{font-weight:700;font-size:19px;color:#2677af}.usage-card p{line-height:1.8;font-size:14px}.usage-card small,.premium-card small{display:block;line-height:1.8;color:#648097;font-size:12px}.premium-card{background:linear-gradient(140deg,#eaf6ff,#effbfb)}.premium-card p{line-height:1.9;color:#466c88;font-size:16px}.premium-features{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.locked-feature{padding:10px 12px;border:1px solid #cfe4f3;border-radius:12px;background:#ffffffa8;color:#476e8c;font-size:12px;display:flex;gap:8px;align-items:center}.locked-feature small{font-size:10px}
.posting-photos{grid-column:1/-1}.photo-drop{border:2px dashed #abd5ee;border-radius:18px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:#f1f9ff;padding:24px 14px;text-align:center;cursor:pointer;color:#2f719f;max-width:100%}.photo-drop.dragging{background:#daf3ff;border-color:#2189cc}.photo-drop>span{font-weight:700}.photo-drop small{font-size:12px;line-height:1.6}.photo-drop input{max-width:100%;font-size:12px;color:#526d83}.photo-drop:focus-visible{outline:3px solid #2189cc;outline-offset:3px}#photo-save-status{font-size:12px;color:#557589;line-height:1.6}
#posting-photo-list{display:grid;gap:12px;margin-top:12px}.posting-photo{display:grid;grid-template-columns:95px minmax(0,1fr);gap:12px;border:1px solid #dceaf5;padding:10px;border-radius:15px;background:#fff}.posting-photo>img{width:95px;height:95px;border-radius:9px;object-fit:cover}.photo-fields{display:grid;gap:8px;min-width:0}.photo-fields input,.photo-fields select{width:100%;min-width:0;border:1px solid #d7e6f2;border-radius:8px;padding:9px;font:inherit;font-size:12px;background:#fff}.photo-actions{display:flex;gap:5px;flex-wrap:wrap}.photo-actions button{min-height:38px;font-size:12px}.posting-story{margin:0 0 18px;color:#466a88}.posting-story h3{font-size:17px}.posting-story p,.posting-story small{line-height:1.8}.posting-story p{font-size:14px}#posting-example{display:block;font-size:12px;overflow-wrap:anywhere}
.posting-state-card,.posting-edit-card{margin:18px 0;border:1px solid #dceaf5;background:#f6fbff;border-radius:15px;padding:16px;min-width:0}.posting-state-card small,.posting-edit-card small{display:block;font-size:12px;color:#688096;line-height:1.8}.posting-state-card select{width:100%;border:1px solid #cfe2f1;border-radius:10px;padding:11px;background:white}.posting-state-card p{font-size:12px;line-height:1.8;color:#52738d}.posting-edit-card summary{cursor:pointer;line-height:1.6;font-size:14px;font-weight:700;color:#285e85}.posting-edit-card p{font-size:13px;line-height:1.8}.posting-edit-card h4{font-size:15px;line-height:1.7}.posting-dialog{max-width:480px;width:calc(100% - 32px);border:1px solid #cfe4f3;border-radius:23px;padding:26px;color:#214a69;box-shadow:0 20px 90px #113a6140}.posting-dialog::backdrop{background:#173b6659}.posting-dialog h2{line-height:1.6;font-size:21px}.posting-dialog p{font-size:14px;line-height:1.8}.posting-dialog button{margin:7px 0;max-width:100%}.posting-dialog img{max-width:100%;max-height:270px;object-fit:contain;display:block;margin:12px auto}.posting-dialog .field{margin-bottom:13px}.posting-dialog-actions{display:flex;flex-wrap:wrap;gap:8px}
.onboarding-promise{padding:20px;background:linear-gradient(135deg,#e8f6ff,#eefaf9);border-radius:17px;margin-bottom:24px}.onboarding-promise h2{font-size:24px;color:#235c87;line-height:1.5}.onboarding-promise p{line-height:1.9;color:#496e88;font-size:15px}.onboarding-promise small,.onboarding-example{font-size:12px;color:#5e819b;line-height:1.8}.onboarding-example{display:block;margin-top:9px}
#fact-confirmation{background:#fffaf1;border:1px solid #f0dfbb;padding:14px;border-radius:13px;margin:14px 0}#fact-confirmation>summary{color:#795b2c}#fact-confirmation p{font-size:13px}.confirmation-actions{display:flex;gap:7px;flex-wrap:wrap}.confirmation-actions button{border:1px solid #d8e7f1;border-radius:8px;padding:8px;background:#fff;color:#315d7d;font-size:12px;min-height:40px}
#posting-temporary-error{font-size:14px;background:#edf7ff;border-radius:12px;padding:14px;color:#285e83}#posting-retry{margin:12px 0}button:disabled{cursor:not-allowed}.posting-hero [hidden],#posting-home [hidden],[hidden]#posting-temporary-error,[hidden]#posting-retry{display:none!important}
@media(max-width:850px){.recent-postings{grid-template-columns:repeat(2,minmax(0,1fr))}.home-section{padding:20px}.posting-hero{padding:32px 20px}.posting-hero p{font-size:16px}}
@media(max-width:560px){#posting-home{gap:18px;margin-bottom:25px}.posting-hero{padding:28px 16px;border-radius:22px}.posting-hero h1{font-size:25px}.posting-hero>.primary-button{width:100%}.home-section{padding:17px;border-radius:18px}.home-section h2{font-size:17px}.home-section-heading{align-items:flex-start}.home-section-heading button{font-size:11px}.recent-postings{gap:10px}.recent-posting>button{font-size:13px;margin:0 9px}.recent-posting>span,.recent-posting>small{margin:0 9px;font-size:10px}.recent-posting>img,.posting-thumbnail-empty{height:100px}.photo-drop{padding:20px 10px}.posting-photo{grid-template-columns:70px minmax(0,1fr);gap:9px}.posting-photo>img{width:70px;height:80px}.photo-actions button{padding:6px}.onboarding-promise{padding:15px}.onboarding-promise h2{font-size:21px}.posting-dialog-actions{display:grid;grid-template-columns:1fr 1fr}.posting-hero small{font-size:11px}.premium-card>.primary-button{width:100%}.generation-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
.posting-extra-settings{grid-column:1/-1;border:1px solid #dbeaf5;border-radius:16px;padding:16px;background:#f7fbff}.posting-extra-settings>summary{cursor:pointer;color:#376483;font-size:14px;font-weight:650;line-height:1.7}.posting-extra-settings>summary small{font-size:11px;color:#728b9e}.posting-extra-settings>.form-grid{margin:18px 0}.posting-extra-settings>#voice-card{border:0;padding:0;background:transparent;box-shadow:none}.posting-extra-settings .section-mark{display:none}.generation-steps li{min-width:0;overflow-wrap:anywhere}
.posting-hero>.primary-button{margin-left:auto;margin-right:auto;width:fit-content;min-width:230px}.generation-steps{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:560px){.posting-hero>.primary-button{width:100%;min-width:0}.generation-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
