:root{--ink:#17231b;--muted:#637067;--line:#dce2da;--paper:#f8f6ef;--card:#fffefb;--green:#0d5b38;--green-dark:#0b3d2a;--green-soft:#e6f1ea;--orange:#b95617;--orange-soft:#fff0e4;--red:#a12c2c;--shadow:0 18px 50px rgba(20,51,33,.09);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);line-height:1.55}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}a{color:inherit}.hidden{display:none!important}.skip-link{position:fixed;z-index:100;left:16px;top:-80px;padding:10px 14px;background:#fff;border-radius:8px}.skip-link:focus{top:12px}.site-header{position:sticky;z-index:30;top:0;border-bottom:1px solid rgba(210,218,210,.85);background:rgba(248,246,239,.93);backdrop-filter:blur(16px)}.header-inner{max-width:1200px;height:76px;margin:auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand img{display:block;width:190px;max-height:48px;object-fit:contain}.site-header nav{display:flex;align-items:center;gap:28px}.site-header nav a{text-decoration:none;font-size:14px;font-weight:700}.site-header nav a:last-child{padding:10px 16px;border:1px solid var(--green);border-radius:999px;color:var(--green)}.hero{max-width:1200px;min-height:590px;margin:auto;padding:88px 24px 72px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);align-items:center;gap:70px}.eyebrow,.step-kicker{display:block;color:var(--orange);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.hero h1{max-width:760px;margin:16px 0 22px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(44px,5.4vw,76px);font-weight:500;letter-spacing:-.045em;line-height:1.02;color:var(--green-dark)}.hero-copy>p{max-width:680px;font-size:19px;color:var(--muted)}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}.button{min-height:48px;padding:12px 20px;border:1px solid transparent;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;font-weight:800;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.button:hover{transform:translateY(-1px)}.button:focus-visible,.icon-button:focus-visible,.back-button:focus-visible,.text-button:focus-visible{outline:3px solid rgba(185,86,23,.35);outline-offset:2px}.button:disabled{opacity:.55;cursor:not-allowed;transform:none}.button-primary{background:var(--green);color:white;box-shadow:0 14px 30px rgba(13,91,56,.2)}.button-primary:hover{background:#084a2c}.button-secondary{border-color:var(--green);background:white;color:var(--green)}.button-ghost{border-color:var(--line);background:transparent;color:var(--ink)}.trust-line{display:flex;flex-wrap:wrap;gap:8px 15px!important;margin-top:28px!important;font-size:13px!important}.trust-line span{color:var(--green);font-weight:900}.hero-panel{position:relative;height:430px}.book-glow{position:absolute;inset:42px 32px;border-radius:48% 52% 46% 54%;background:radial-gradient(circle at 50% 40%,#dcebdd 0,#e9e7d7 48%,transparent 72%);filter:blur(2px)}.flow-card{position:absolute;border:1px solid rgba(211,220,211,.9);background:rgba(255,254,251,.95);box-shadow:var(--shadow);border-radius:18px}.flow-card-main{inset:88px 78px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.flow-number{font-family:Georgia,serif;font-size:94px;line-height:.9;color:var(--green)}.flow-card-main strong{margin-top:16px;font-size:19px}.flow-card-main small{margin-top:6px;color:var(--muted)}.flow-card-a,.flow-card-b,.flow-card-c{padding:14px 18px;display:flex;align-items:center;gap:10px;font-size:13px}.flow-card-a{left:0;top:28px}.flow-card-b{right:0;top:54px}.flow-card-c{right:18px;bottom:26px}.flow-card:not(.flow-card-main) span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--green-soft);color:var(--green);font-weight:900}.workspace-section{max-width:1200px;margin:0 auto 92px;padding:0 24px}.state-card,.guest-card,.dashboard,.project-view{border:1px solid var(--line);border-radius:24px;background:var(--card);box-shadow:var(--shadow)}.state-card{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:36px;text-align:center}.spinner{width:38px;height:38px;border:4px solid #dbe4dc;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.state-error{border-color:#eccccc}.state-error h2{margin-bottom:4px}.guest-card{padding:42px 48px;display:flex;align-items:center;justify-content:space-between;gap:36px}.guest-card h2,.dashboard h2,.project-view h2,.how-section h2{margin:8px 0 9px;font-family:Georgia,serif;font-size:clamp(30px,4vw,44px);font-weight:500;color:var(--green-dark)}.guest-card p,.dashboard-heading p{margin:0;color:var(--muted)}.guest-actions{display:flex;gap:10px;flex-shrink:0}.dashboard{padding:42px}.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:30px}.notice{margin-top:24px;padding:14px 16px;border-radius:12px;background:#fff6dd;border:1px solid #ecd89f;color:#684e0d;font-size:14px}.empty-projects{margin-top:34px;padding:55px 30px;text-align:center;border:1px dashed #bdc9be;border-radius:18px;background:#fbfcf9}.empty-icon{font-size:38px;color:var(--orange)}.empty-projects h3{margin:8px 0;font-size:22px}.empty-projects p{max-width:580px;margin:0 auto 22px;color:var(--muted)}.projects-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:32px}.project-card{min-height:235px;padding:22px;border:1px solid var(--line);border-radius:16px;background:white;display:flex;flex-direction:column;cursor:pointer;transition:transform .18s ease,border .18s ease,box-shadow .18s ease}.project-card:hover{transform:translateY(-3px);border-color:#aabdac;box-shadow:0 13px 35px rgba(30,64,41,.09)}.project-card:focus-visible{outline:3px solid rgba(13,91,56,.25);outline-offset:2px}.card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.type-pill,.status-pill,.project-type{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;background:var(--green-soft);color:var(--green);font-size:11px;font-weight:850;letter-spacing:.05em;text-transform:uppercase}.status-pill{background:#f1f0e9;color:#59635b}.project-card h3{margin:22px 0 4px;font-size:21px;line-height:1.25}.project-card .author{margin:0;color:var(--muted);font-size:14px}.mini-progress{height:7px;margin-top:auto;border-radius:999px;background:#e8ece7;overflow:hidden}.mini-progress span{display:block;height:100%;border-radius:inherit;background:var(--green)}.project-card footer{display:flex;justify-content:space-between;margin-top:10px;color:var(--muted);font-size:12px}.project-view{padding:34px 42px 44px}.back-button,.text-button{padding:0;border:0;background:none;color:var(--green);font-weight:800;cursor:pointer}.project-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:30px 0;border-bottom:1px solid var(--line)}.project-hero h2{margin:10px 0 3px}.project-hero p{margin:0;color:var(--muted)}.progress-ring{--progress:0deg;width:112px;height:112px;flex:0 0 112px;border-radius:50%;display:grid;place-content:center;text-align:center;background:radial-gradient(circle,#fff 58%,transparent 60%),conic-gradient(var(--green) var(--progress),#e6ebe5 0)}.progress-ring strong{display:block;font-size:24px}.progress-ring span{font-size:11px;color:var(--muted)}.action-card{margin:26px 0;padding:20px 22px;border-radius:16px;background:var(--green-soft);border:1px solid #cee0d3;display:flex;align-items:center;justify-content:space-between;gap:24px}.action-card h3{margin:0 0 4px}.action-card p{margin:0;color:#486052;font-size:14px}.action-card .button{flex-shrink:0}.project-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px}.pipeline-panel,.brief-panel{border:1px solid var(--line);border-radius:16px;background:white}.pipeline-panel{padding:24px}.section-heading h3{margin:6px 0 20px;font-size:24px}.pipeline-list{display:grid;gap:8px}.pipeline-stage{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border-radius:11px;border:1px solid transparent}.pipeline-stage.active{background:#eff7f1;border-color:#c8dfcf}.pipeline-stage.done{background:#f7faf7}.stage-number{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#edf0eb;color:#6a746d;font-size:12px;font-weight:900}.pipeline-stage.active .stage-number,.pipeline-stage.done .stage-number{background:var(--green);color:white}.stage-copy strong{display:block;font-size:14px}.stage-copy small{color:var(--muted)}.stage-state{font-size:11px;font-weight:800;color:var(--muted);text-transform:uppercase}.pipeline-stage.active .stage-state{color:var(--green)}.brief-panel{align-self:start;padding:24px;position:sticky;top:98px}.brief-panel dl{margin:20px 0}.brief-panel dt{margin-top:15px;color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.brief-panel dd{margin:3px 0 0;white-space:pre-wrap;font-size:14px}.danger-text{margin-top:15px;color:var(--red)}.how-section{padding:90px max(24px,calc((100vw - 1152px)/2));background:var(--green-dark);color:white}.how-section .eyebrow{color:#f2a36e}.section-intro{max-width:780px}.how-section h2{color:white}.how-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:45px}.how-grid article{padding:26px;border:1px solid rgba(255,255,255,.15);border-radius:16px;background:rgba(255,255,255,.055)}.how-grid article>span{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#f4a36d;color:#47210c;font-weight:900}.how-grid h3{margin:18px 0 8px}.how-grid p{margin:0;color:#cddbd2;font-size:14px}.site-footer{max-width:1200px;margin:auto;padding:40px 24px;display:flex;justify-content:space-between;gap:24px;color:var(--muted);font-size:13px}.site-footer>div{display:flex;gap:18px}.site-footer a{text-decoration:none}.wizard-dialog{width:min(780px,calc(100vw - 28px));max-height:calc(100vh - 28px);padding:0;border:0;border-radius:22px;background:var(--card);box-shadow:0 28px 90px rgba(5,30,17,.3);overflow:auto}.wizard-dialog::backdrop{background:rgba(8,25,15,.64);backdrop-filter:blur(4px)}.wizard-header{position:sticky;z-index:2;top:0;padding:24px 28px 18px;background:var(--card);display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.wizard-header h2{margin:5px 0 0;font-family:Georgia,serif;font-size:31px;color:var(--green-dark)}.icon-button{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:white;font-size:25px;cursor:pointer}.step-meter{display:flex;align-items:center;padding:22px 30px 0}.step-meter i{height:2px;flex:1;background:#dfe4dd}.step-dot{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#e6e9e4;color:#657066;font-size:12px;font-weight:900}.step-dot.active,.step-dot.done{background:var(--green);color:white}.wizard-body{padding:22px 30px}.wizard-step h3{margin:5px 0 22px;font-size:25px}.choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 20px;padding:0;border:0}.choice-grid legend{grid-column:1/-1;margin-bottom:8px;font-size:13px;font-weight:800}.choice-card{position:relative;min-height:125px;padding:17px;border:1px solid var(--line);border-radius:13px;cursor:pointer}.choice-card:has(input:checked){border-color:var(--green);background:var(--green-soft);box-shadow:0 0 0 1px var(--green)}.choice-card input{position:absolute;opacity:0}.choice-card strong,.choice-card small{display:block}.choice-card small{margin-top:6px;color:var(--muted);font-size:12px}.field{display:block;margin:0 0 17px}.field>span{display:block;margin-bottom:6px;font-size:13px;font-weight:800}.field input,.field textarea,.field select{width:100%;border:1px solid #bec8bf;border-radius:10px;background:#fff;padding:12px;color:var(--ink)}.field textarea{resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{outline:3px solid rgba(13,91,56,.16);border-color:var(--green)}.field small{display:block;margin-top:5px;color:var(--muted)}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.check-field{display:flex;align-items:flex-start;gap:10px;margin:16px 0;font-size:14px}.check-field input{width:18px;height:18px;flex:0 0 18px;margin-top:2px;accent-color:var(--green)}.review-box{padding:15px 17px;border-radius:11px;background:var(--orange-soft);border:1px solid #efd4bf}.review-box p{margin:4px 0 0;font-size:13px;color:#6a4d3b}.form-error{padding:11px 13px;border-radius:9px;background:#fdeaea;color:var(--red);font-size:13px}.wizard-footer{position:sticky;bottom:0;padding:16px 30px;background:var(--card);border-top:1px solid var(--line);display:flex;align-items:center;gap:10px}.footer-spacer{flex:1}.toast{position:fixed;z-index:80;right:24px;bottom:24px;max-width:380px;padding:14px 17px;border-radius:12px;background:var(--green-dark);color:#fff;box-shadow:var(--shadow);font-weight:700}.toast.error{background:#8b2929}@media(max-width:980px){.hero{grid-template-columns:1fr;gap:20px;padding-top:65px}.hero-panel{height:360px;max-width:600px;width:100%;margin:auto}.projects-grid{grid-template-columns:repeat(2,1fr)}.project-layout{grid-template-columns:1fr}.brief-panel{position:static}.how-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.header-inner{height:66px;padding:0 16px}.brand img{width:145px}.site-header nav{gap:12px}.site-header nav a:not(:last-child){display:none}.hero{padding:55px 18px}.hero h1{font-size:43px}.hero-copy>p{font-size:17px}.hero-panel{height:300px}.flow-card-main{inset:65px 44px}.flow-number{font-size:70px}.flow-card-a{top:5px}.flow-card-b{top:20px}.flow-card-c{right:0;bottom:4px}.workspace-section{padding:0 14px}.guest-card,.dashboard,.project-view{padding:26px 20px}.guest-card,.dashboard-heading,.project-hero,.action-card{align-items:flex-start;flex-direction:column}.guest-actions{width:100%}.guest-actions .button{flex:1}.projects-grid{grid-template-columns:1fr}.progress-ring{width:96px;height:96px;flex-basis:96px}.project-layout{gap:16px}.pipeline-panel{padding:16px}.pipeline-stage{grid-template-columns:38px 1fr}.stage-state{grid-column:2}.how-section{padding:70px 18px}.how-grid{grid-template-columns:1fr}.site-footer,.site-footer>div{flex-direction:column}.choice-grid{grid-template-columns:1fr}.choice-card{min-height:95px}.two-columns{grid-template-columns:1fr}.wizard-header{padding:20px}.wizard-body{padding:20px}.wizard-footer{padding:14px 20px}.step-meter{padding:18px 20px 0}.button{min-height:46px;padding:11px 15px}}


/* v35.2 — Authorial Core + Cofre de Fontes */
.source-vault{margin:0 0 26px;padding:22px;border:1px solid #d7e1d8;border-radius:16px;background:#fbfdf9}.source-vault-head{display:flex;align-items:center;justify-content:space-between;gap:24px}.source-vault-head h3{margin:5px 0 4px;font-size:22px}.source-vault-head p{margin:0;color:var(--muted);font-size:13px}.source-list{display:grid;gap:8px;margin-top:16px}.source-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:11px;background:white}.source-icon{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--green-soft);color:var(--green);font-weight:900}.source-copy strong,.source-copy small{display:block}.source-copy strong{overflow-wrap:anywhere}.source-copy small{margin-top:3px;color:var(--muted);font-size:11px;text-transform:none}.source-remove{border:0;background:none;color:var(--red);font-weight:800;cursor:pointer;padding:8px}.source-empty{margin:14px 0 0;padding:14px;border:1px dashed #c8d0c8;border-radius:10px;color:var(--muted);font-size:13px;text-align:center}.materials-box{margin:0 0 17px;padding:16px;border:1px solid #d4ddd4;border-radius:13px;background:#f8fbf7}.materials-box strong{display:block}.materials-box p{margin:5px 0 12px;color:var(--muted);font-size:12px}.file-picker{display:inline-flex;align-items:center;cursor:pointer}.file-picker input{position:absolute;opacity:0;pointer-events:none}.file-picker span{display:inline-flex;min-height:42px;align-items:center;padding:10px 14px;border-radius:9px;background:var(--green);color:#fff;font-weight:800;font-size:13px}.wizard-file-list{margin-top:10px;color:var(--muted);font-size:12px;overflow-wrap:anywhere}.choice-card small{line-height:1.45}.brief-panel dd{overflow-wrap:anywhere}
@media(max-width:680px){.source-vault-head{align-items:flex-start;flex-direction:column}.source-vault-head .button{width:100%}.source-row{grid-template-columns:32px minmax(0,1fr)}.source-remove{grid-column:2;justify-self:start;padding-left:0}}

/* v35.3 — UX comercial, briefing editável, gêneros adaptativos e coautoria */
.authorial-core-logo{display:block;width:min(500px,92%);max-height:150px;object-fit:contain;object-position:left center;margin:12px 0 4px}.dashboard-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.button-warning{background:var(--orange);color:#fff;box-shadow:0 12px 26px rgba(185,86,23,.18)}.button-warning:hover{background:#9f4811}.button-small{min-height:38px;padding:8px 12px;font-size:12px}.action-buttons{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;flex-shrink:0}.plan-preview{margin:-3px 0 17px;padding:15px 17px;border:1px solid #d5dfd5;border-radius:12px;background:#f5faf6;display:flex;align-items:center;justify-content:space-between;gap:16px}.plan-preview strong{color:var(--green-dark)}.plan-preview span{font-size:13px;color:var(--muted);text-align:right}.coauthors-box{margin:0 0 18px;padding:16px;border:1px solid var(--line);border-radius:13px;background:#fbfcfa}.coauthors-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.coauthors-head p{margin:3px 0 0;color:var(--muted);font-size:12px}.coauthors-list{display:grid;gap:9px;margin-top:12px}.coauthor-row{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) auto;gap:8px;align-items:center}.coauthor-row input{width:100%;border:1px solid #bec8bf;border-radius:9px;background:#fff;padding:10px}.compact-dialog{width:min(620px,calc(100vw - 28px))}.payment-summary{padding:4px 2px 10px}.payment-plan-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.payment-plan-head h3{margin:0;font-size:27px;color:var(--green-dark)}.payment-price{font-size:24px;color:var(--green);white-space:nowrap}.payment-summary>p{color:var(--muted)}.payment-note{padding:13px 15px;border-radius:10px;background:var(--green-soft);color:#405b48!important;font-size:13px}.payment-button{width:100%;margin-top:12px}.payment-warning{margin:10px 0 0;color:#7b5714!important;background:#fff5db;padding:11px 13px;border-radius:9px;font-size:12px}.admin-plans-dialog{width:min(980px,calc(100vw - 28px))}.admin-help{margin-top:0;color:var(--muted)}.admin-sales-toggle{padding:14px;border:1px solid #d9dfd8;border-radius:12px;background:#f8faf7}.admin-plan-rows{display:grid;gap:14px;margin-top:20px}.admin-plan-row{padding:16px;border:1px solid var(--line);border-radius:13px;background:#fff}.admin-plan-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.admin-plan-head strong,.admin-plan-head small{display:block}.admin-plan-head small{margin-top:3px;color:var(--muted)}.mini-check{font-size:13px;font-weight:800;white-space:nowrap}.mini-check input{accent-color:var(--green)}.admin-plan-grid{display:grid;grid-template-columns:160px 200px minmax(260px,1fr);gap:12px}.admin-plan-grid .field{margin:0}.admin-plan-url{grid-column:auto}.admin-plan-row input{font-size:13px}.flow-card-a,.flow-card-b,.flow-card-c{white-space:nowrap}
@media(max-width:780px){.dashboard-actions,.action-buttons{width:100%;justify-content:stretch}.dashboard-actions .button,.action-buttons .button{flex:1}.plan-preview,.payment-plan-head,.coauthors-head{align-items:flex-start;flex-direction:column}.plan-preview span{text-align:left}.coauthor-row{grid-template-columns:1fr}.coauthor-row .source-remove{justify-self:start}.admin-plan-grid{grid-template-columns:1fr}.authorial-core-logo{width:100%;max-height:130px}.flow-card-a,.flow-card-b,.flow-card-c{white-space:normal}}

/* v37.0 — produção supervisionada e integração comercial */
.hero{min-height:520px;padding-top:48px;padding-bottom:58px}.hero h1{margin-top:14px}.nav-button{border:0;background:transparent;color:var(--green);font-size:14px;font-weight:800;cursor:pointer;padding:10px 4px}.nav-button:hover{text-decoration:underline}.checkout-methods{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.checkout-method{padding:13px;border:1px solid var(--line);border-radius:10px;background:#fff;font-weight:800;cursor:pointer}.checkout-method.active{border-color:var(--green);background:var(--green-soft);color:var(--green)}.checkout-panel{padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff}.checkout-panel h4{margin:0 0 8px;font-size:18px}.checkout-panel p{margin:0 0 14px;color:var(--muted);font-size:13px}.checkout-doc-grid{display:grid;grid-template-columns:120px 1fr;gap:10px}.checkout-doc-grid .field{margin:0}.checkout-account-warning{padding:13px;border:1px solid #ecd89f;border-radius:10px;background:#fff6dd;color:#684e0d}.checkout-account-warning a{font-weight:800}.pix-result{margin-top:16px;padding:18px;border-radius:13px;background:var(--green-soft);text-align:center}.pix-result img{display:block;width:min(260px,100%);margin:12px auto;background:white;padding:10px;border-radius:10px}.pix-code{width:100%;min-height:74px;resize:none;border:1px solid #afc6b6;border-radius:9px;padding:10px}.payment-status{margin-top:13px;padding:12px;border-radius:10px;background:#f1f3ef;font-size:13px}.payment-status.paid{background:#e4f5e9;color:#155d35}.payment-status.failed{background:#fde7e7;color:#8d2020}.mp-card-host{min-height:220px}.secure-note{display:flex;gap:8px;align-items:flex-start;margin-top:10px!important}.delivery-list{display:grid;gap:9px;margin-top:14px}.delivery-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border:1px solid var(--line);border-radius:10px;text-decoration:none;background:#fff}.delivery-link:hover{border-color:#aabdac}.invoice-card{margin-top:12px;padding:13px;border:1px solid var(--line);border-radius:10px;background:#fbfcf9;font-size:13px}
@media(max-width:980px){.hero{padding-top:42px;min-height:auto}}
@media(max-width:680px){.site-header nav a[href="/livros"],.site-header nav a[href="/servicos"],.site-header nav a[href="#app-shell"]{display:none}.site-header nav #account-link{display:inline-flex!important}.hero{padding-top:36px}.checkout-methods,.checkout-doc-grid{grid-template-columns:1fr}}

.admin-body{background:#f3f4ef}.admin-main{max-width:1280px;margin:auto;padding:44px 24px 90px}.admin-title{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;margin-bottom:28px}.admin-title h1{margin:7px 0 8px;font-family:Georgia,serif;font-size:clamp(34px,5vw,56px);font-weight:500;color:var(--green-dark)}.admin-title p{margin:0;color:var(--muted)}.admin-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:18px}.admin-metrics article{padding:20px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 10px 28px rgba(20,51,33,.05)}.admin-metrics span,.admin-metrics strong{display:block}.admin-metrics span{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-weight:800}.admin-metrics strong{margin-top:7px;font-size:24px;color:var(--green-dark)}.admin-card{margin-top:18px;padding:26px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(20,51,33,.05)}.admin-card h2{margin:5px 0 0;font-family:Georgia,serif;font-size:31px;font-weight:500;color:var(--green-dark)}.admin-card h3{margin:8px 0 16px}.admin-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.status-pill.ready{background:#e3f5e8;color:#155d35}.readiness-list{margin:20px 0 8px;padding-left:20px}.readiness-list li{margin:6px 0}.admin-muted{color:var(--muted);font-size:13px}.operations-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px}.operations-grid .field{margin:0}.admin-control-toggle{grid-column:1/-1;padding:14px;border:1px solid var(--line);border-radius:11px;background:#f8faf7}.operations-submit{grid-column:1/-1;display:flex;align-items:center;gap:15px}.admin-table-wrap{overflow:auto;margin-top:20px}.admin-table{width:100%;min-width:980px;border-collapse:collapse}.admin-table th,.admin-table td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.admin-table th{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.06em}.admin-table td{font-size:13px}.admin-table td strong,.admin-table td small{display:block}.admin-table td small{margin-top:3px;color:var(--muted)}.operator-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:22px}.compact-form{padding:17px;border:1px solid var(--line);border-radius:13px;background:#fafbf8}.operator-list{display:grid;gap:8px;margin-top:15px}.operator-row{display:flex;align-items:center;gap:8px;padding:11px;border:1px solid var(--line);border-radius:10px}.operator-row>div{min-width:0;flex:1}.operator-row strong,.operator-row small{display:block}.operator-row small{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.invoice-operator{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.invoice-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.invoice-grid .button{align-self:end;margin-bottom:17px}.source-vault{margin:20px 0;padding:22px;border:1px solid var(--line);border-radius:16px;background:#fbfcf9}.source-vault-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.source-vault-head h3{margin:5px 0}.source-vault-head p{margin:0;color:var(--muted);font-size:13px}.source-list{display:grid;gap:8px;margin-top:16px}.source-row{display:flex;align-items:center;gap:11px;padding:10px;border:1px solid var(--line);border-radius:9px;background:#fff}.source-copy{min-width:0;flex:1}.source-copy strong,.source-copy small{display:block}.source-copy small{color:var(--muted)}.source-remove{border:0;background:transparent;color:var(--red);cursor:pointer}.source-empty{color:var(--muted);font-size:13px}
@media(max-width:980px){.admin-metrics{grid-template-columns:1fr 1fr}.operations-grid{grid-template-columns:1fr 1fr}.operator-grid{grid-template-columns:1fr}}
@media(max-width:680px){.admin-main{padding:30px 14px 70px}.admin-title,.admin-card-head,.source-vault-head{flex-direction:column}.admin-metrics,.operations-grid,.invoice-grid{grid-template-columns:1fr}.admin-control-toggle,.operations-submit{grid-column:auto}.admin-card{padding:20px}.operator-row{align-items:flex-start;flex-wrap:wrap}}

/* Ajuste de densidade do hero v35.3 */
@media(min-width:981px){.hero{min-height:520px;padding-top:58px;padding-bottom:54px}.hero-panel{height:390px}}
.admin-metrics article>small{display:block;margin-top:5px;color:var(--muted);font-size:11px}
.milestone-preview{grid-column:1/-1;max-height:520px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7f2;border:1px solid var(--line);border-radius:14px;padding:16px;font:13px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;color:#24342b}
.approval-comment{grid-column:1/-1;width:100%;min-height:100px;border:1px solid #aebdaf;border-radius:12px;padding:12px;font:inherit;resize:vertical}

/* v37.1 — visualizador editorial BookStar e impressão para PDF */
.action-card.editorial-approval-card{display:block;padding:28px;background:#edf5ef;border-color:#c5dacb}.editorial-approval-card .action-card-intro{margin-bottom:20px}.editorial-approval-card .action-card-intro h3{font-size:24px;color:var(--green-dark)}.editorial-approval-card .action-card-intro p{max-width:850px;line-height:1.65}.editorial-project{width:100%;overflow:hidden;border:1px solid #d8dfd8;border-radius:18px;background:#fff;box-shadow:0 18px 46px rgba(15,61,42,.08);color:#1d2921}.editorial-cover{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:center;gap:32px;padding:34px 38px;background:linear-gradient(135deg,#fff 0%,#f7f3e8 60%,#edf5ef 100%);border-bottom:1px solid #dfe5dc}.editorial-cover img{display:block;width:100%;height:128px;object-fit:contain;object-position:center}.editorial-kicker{display:block;margin-bottom:8px;color:var(--orange);font-size:11px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.editorial-cover h2{margin:0!important;font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(30px,4.2vw,49px)!important;font-weight:500!important;line-height:1.08;color:var(--green-dark)!important}.editorial-subtitle{margin:8px 0 0!important;color:#526359!important;font-family:Georgia,"Times New Roman",serif;font-size:19px!important}.editorial-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.editorial-meta span{display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border-radius:999px;background:#fff;border:1px solid #d7dfd7;color:#4a5a50;font-size:11px;font-weight:800}.editorial-meta span:first-child{background:#fff2df;border-color:#eed5ae;color:#704509}.editorial-notice{margin:24px 38px 0!important;padding:15px 17px;border-left:4px solid var(--orange);border-radius:0 10px 10px 0;background:#fff8ed;color:#604d36!important;font-size:14px!important;line-height:1.6}.editorial-section{padding:30px 38px;border-bottom:1px solid #e4e8e2}.editorial-section:last-of-type{border-bottom:0}.editorial-section-heading{display:grid;grid-template-columns:minmax(200px,.7fr) minmax(260px,1.3fr);gap:26px;align-items:end;margin-bottom:22px}.editorial-section-heading h3{margin:0!important;font-family:Georgia,"Times New Roman",serif;font-size:27px!important;font-weight:500;color:var(--green-dark)}.editorial-section-heading p{margin:0!important;color:#647168!important;font-size:13px!important;line-height:1.55}.editorial-section-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.editorial-field{min-width:0;padding:17px 18px;border:1px solid #e0e5df;border-radius:12px;background:#fcfdfb}.editorial-field:has(.editorial-chapter-list),.editorial-field:has(.editorial-card-list),.editorial-field:has(.editorial-object){grid-column:1/-1}.editorial-field h4,.editorial-field h6{margin:0 0 8px;color:#31513d;font-family:inherit;font-size:12px;font-weight:900;letter-spacing:.055em;text-transform:uppercase}.editorial-field h6{font-size:11px;color:#607168}.editorial-text{margin:0!important;white-space:pre-wrap;overflow-wrap:anywhere;color:#29372e!important;font-size:15px!important;line-height:1.72}.editorial-list{margin:0;padding-left:20px;color:#29372e}.editorial-list li{margin:5px 0;padding-left:3px}.editorial-object{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.editorial-object.nested{grid-template-columns:1fr}.editorial-object .editorial-field{background:#fff}.editorial-card-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.editorial-nested-card{padding:18px;border:1px solid #dce4dd;border-radius:12px;background:#fff}.editorial-nested-card h5,.editorial-chapter h5{margin:0 0 13px;font-family:Georgia,"Times New Roman",serif;font-size:19px;color:var(--green-dark)}.editorial-nested-card>.editorial-field,.editorial-chapter>.editorial-field{padding:10px 0;border:0;border-top:1px solid #edf0eb;border-radius:0;background:transparent}.editorial-nested-card>.editorial-field:first-of-type,.editorial-chapter>.editorial-field:first-of-type{border-top:0}.editorial-chapter-list{display:grid;gap:10px;counter-reset:chapters}.editorial-chapter{position:relative;padding:19px 20px 19px 74px;border:1px solid #dce4dd;border-radius:13px;background:linear-gradient(90deg,#f3f8f4 0,#fff 32%)}.editorial-chapter:before{counter-increment:chapters;content:counter(chapters,decimal-leading-zero);position:absolute;left:20px;top:18px;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:var(--green);color:#fff;font-size:12px;font-weight:900}.editorial-chapter h5{font-size:20px}.editorial-document-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 38px;background:var(--green-dark);color:#fff}.editorial-document-footer strong{font-size:14px}.editorial-document-footer span{color:#d5e3da;font-size:12px;text-align:right}.editorial-print-tools{display:flex;align-items:center;gap:14px;margin-top:18px}.editorial-print-tools small{color:#5d6d62}.approval-comment-box{margin-top:24px;padding:20px;border:1px solid #d3ddd4;border-radius:14px;background:#fff}.approval-comment-box label{display:block;margin-bottom:3px;color:var(--green-dark);font-weight:900}.approval-comment-box p{margin:0 0 11px!important;color:var(--muted)!important;font-size:12px!important}.approval-comment-box .approval-comment{display:block;min-height:132px}.editorial-approval-card .approval-decision{justify-content:flex-end;margin-top:15px;padding-top:18px;border-top:1px solid #d2ded5}
@media(max-width:780px){.action-card.editorial-approval-card{padding:18px 14px}.editorial-cover{grid-template-columns:1fr;padding:26px 20px;gap:14px}.editorial-cover img{width:180px;height:105px;object-position:left center}.editorial-notice{margin:18px 20px 0!important}.editorial-section{padding:25px 20px}.editorial-section-heading,.editorial-section-content,.editorial-object,.editorial-card-list{grid-template-columns:1fr}.editorial-section-heading{gap:8px}.editorial-field:has(.editorial-chapter-list),.editorial-field:has(.editorial-card-list),.editorial-field:has(.editorial-object){grid-column:auto}.editorial-chapter{padding:66px 16px 17px}.editorial-document-footer{align-items:flex-start;flex-direction:column;padding:20px}.editorial-document-footer span{text-align:left}.editorial-print-tools{align-items:flex-start;flex-direction:column}.editorial-print-tools .button,.editorial-approval-card .approval-decision .button{width:100%}.editorial-approval-card .approval-decision{flex-direction:column}.approval-comment-box{padding:16px}}
@media print{@page{size:A4;margin:14mm}body.printing-editorial-project{background:#fff!important}body.printing-editorial-project *{visibility:hidden!important}body.printing-editorial-project .editorial-project,body.printing-editorial-project .editorial-project *{visibility:visible!important}.printing-editorial-project .editorial-project{position:absolute;left:0;top:0;width:100%;overflow:visible;border:0;border-radius:0;box-shadow:none;color:#17231b;-webkit-print-color-adjust:exact;print-color-adjust:exact}.printing-editorial-project .editorial-cover{grid-template-columns:145px 1fr;padding:0 0 18px;background:#fff;border-bottom:2px solid #0b3d2a}.printing-editorial-project .editorial-cover img{height:92px}.printing-editorial-project .editorial-cover h2{font-size:30px!important}.printing-editorial-project .editorial-subtitle{font-size:15px!important}.printing-editorial-project .editorial-meta{margin-top:10px}.printing-editorial-project .editorial-meta span{font-size:9px;min-height:22px}.printing-editorial-project .editorial-notice{margin:16px 0 0!important;padding:10px 12px;font-size:11px!important}.printing-editorial-project .editorial-section{padding:20px 0}.printing-editorial-project .editorial-section-heading{grid-template-columns:.7fr 1.3fr;margin-bottom:13px}.printing-editorial-project .editorial-section-heading h3{font-size:20px!important}.printing-editorial-project .editorial-section-heading p{font-size:10px!important}.printing-editorial-project .editorial-section-content{gap:8px}.printing-editorial-project .editorial-field{padding:10px;border-radius:7px;break-inside:avoid}.printing-editorial-project .editorial-field h4,.printing-editorial-project .editorial-field h6{font-size:9px}.printing-editorial-project .editorial-text,.printing-editorial-project .editorial-list{font-size:10.5px!important;line-height:1.5}.printing-editorial-project .editorial-chapter,.printing-editorial-project .editorial-nested-card{break-inside:avoid;padding-top:11px;padding-bottom:11px}.printing-editorial-project .editorial-chapter{padding-left:50px}.printing-editorial-project .editorial-chapter:before{left:10px;top:10px;width:29px;height:29px;font-size:9px}.printing-editorial-project .editorial-chapter h5,.printing-editorial-project .editorial-nested-card h5{font-size:14px}.printing-editorial-project .editorial-document-footer{padding:12px 15px;break-inside:avoid}.printing-editorial-project .editorial-document-footer span{font-size:9px}}
