/* ATLAS · Criador de Anúncios */
.atlas-ad-shell{display:grid;gap:20px}.atlas-ad-hero{position:relative;overflow:hidden;min-height:190px;padding:30px;border:1px solid #e9e9ef;border-radius:28px;background:linear-gradient(135deg,#111114 0%,#17171c 55%,#24242b 100%);color:#fff;box-shadow:0 22px 55px rgba(17,17,22,.11)}.atlas-ad-hero:before{content:"";position:absolute;inset:-40%;background:radial-gradient(circle at 78% 28%,rgba(127,0,255,.26),transparent 28%),radial-gradient(circle at 18% 90%,rgba(255,255,255,.08),transparent 24%);pointer-events:none}.atlas-ad-hero>*{position:relative;z-index:1}.atlas-ad-hero-top{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.atlas-ad-hero h2{margin:8px 0 8px;font-size:clamp(26px,4vw,42px);line-height:1;letter-spacing:-.045em}.atlas-ad-hero p{max-width:720px;margin:0;color:rgba(255,255,255,.58);font-size:12px;line-height:1.6}.atlas-ad-model{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:0 12px;border:1px solid rgba(255,255,255,.11);border-radius:999px;background:rgba(255,255,255,.055);backdrop-filter:blur(18px);font-size:9px;font-weight:820;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}.atlas-ad-model:before{content:"";width:7px;height:7px;border-radius:50%;background:#9f46ff;box-shadow:0 0 0 5px rgba(127,0,255,.13)}.atlas-ad-grid{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(330px,.72fr);gap:20px;align-items:start}.atlas-ad-panel{border:1px solid #e9e9ef;border-radius:24px;background:#fff;box-shadow:0 16px 42px rgba(18,18,24,.045);overflow:hidden}.atlas-ad-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid #eeeef2}.atlas-ad-panel-head h3{margin:0;font-size:14px;letter-spacing:-.02em}.atlas-ad-panel-head p{margin:5px 0 0;color:#8a8a94;font-size:9.5px;line-height:1.5}.atlas-ad-panel-body{padding:20px 22px}.atlas-ad-upload-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:12px}.atlas-ad-drop{position:relative;min-height:168px;border:1px dashed #d9d9e1;border-radius:20px;background:#fafafd;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;transition:.18s ease}.atlas-ad-drop:hover,.atlas-ad-drop.dragging{border-color:rgba(127,0,255,.5);background:#fbf8ff;transform:translateY(-1px)}.atlas-ad-drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:4}.atlas-ad-drop-copy{position:relative;z-index:2;padding:20px}.atlas-ad-drop-copy svg{width:25px;height:25px;margin-bottom:10px;fill:none;stroke:#5e5e67;stroke-width:1.6}.atlas-ad-drop-copy strong{display:block;font-size:10.5px}.atlas-ad-drop-copy span{display:block;margin-top:6px;color:#96969f;font-size:8.5px;line-height:1.45}.atlas-ad-drop-preview{position:absolute;inset:0;display:none;background:#111}.atlas-ad-drop.has-preview .atlas-ad-drop-preview{display:block}.atlas-ad-drop-preview img{width:100%;height:100%;object-fit:cover;opacity:.85}.atlas-ad-drop-preview:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.58) 100%)}.atlas-ad-drop-status{position:absolute;left:12px;right:12px;bottom:11px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#fff;text-align:left}.atlas-ad-drop-status strong{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.atlas-ad-drop-status span{font-size:7px;color:rgba(255,255,255,.66);white-space:nowrap}.atlas-ad-reference-note{display:flex;align-items:center;gap:8px;margin-top:12px;padding:10px 12px;border-radius:13px;background:#f8f8fb;color:#777781;font-size:8.7px;line-height:1.45}.atlas-ad-reference-note svg{width:14px;height:14px;flex:0 0 auto;fill:none;stroke:#7f00ff;stroke-width:1.8}.atlas-ad-settings{display:grid;gap:14px}.atlas-ad-field label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px;color:#66666f;font-size:8.3px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.atlas-ad-field input,.atlas-ad-field select,.atlas-ad-field textarea{width:100%;border:1px solid #e5e5eb;border-radius:14px;background:#fbfbfd;color:#111118;outline:none;transition:.17s ease}.atlas-ad-field input,.atlas-ad-field select{height:44px;padding:0 13px;font-size:10.5px}.atlas-ad-field textarea{min-height:270px;padding:13px;resize:vertical;font-size:10px;line-height:1.55}.atlas-ad-field input:focus,.atlas-ad-field select:focus,.atlas-ad-field textarea:focus{border-color:rgba(127,0,255,.38);box-shadow:0 0 0 4px rgba(127,0,255,.065);background:#fff}.atlas-ad-key-wrap{position:relative}.atlas-ad-key-wrap input{padding-right:42px}.atlas-ad-key-toggle{position:absolute;right:6px;top:6px;width:32px;height:32px;border:0;border-radius:10px;background:transparent;color:#888892;display:grid;place-items:center}.atlas-ad-key-toggle:hover{background:#f0f0f5;color:#111}.atlas-ad-key-toggle svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}.atlas-ad-hint{display:block;margin-top:6px;color:#9a9aa3;font-size:8px;line-height:1.5}.atlas-ad-stat-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.atlas-ad-stat{padding:12px;border:1px solid #ebebf0;border-radius:15px;background:#fafafd}.atlas-ad-stat span{display:block;color:#9999a2;font-size:7.2px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.atlas-ad-stat strong{display:block;margin-top:5px;font-size:10px}.atlas-ad-generate{width:100%;height:48px;border:0;border-radius:15px;background:#0e0e11;color:#fff;font-size:10.5px;font-weight:800;box-shadow:0 12px 30px rgba(13,13,17,.15);transition:.18s ease}.atlas-ad-generate:hover:not(:disabled){transform:translateY(-1px);background:#19191f}.atlas-ad-generate:disabled{opacity:.42;cursor:not-allowed}.atlas-ad-generate.is-working{position:relative;color:rgba(255,255,255,.52)}.atlas-ad-generate.is-working:after{content:"";position:absolute;right:18px;top:50%;width:14px;height:14px;margin-top:-8px;border:2px solid rgba(255,255,255,.25);border-top-color:#fff;border-radius:50%;animation:atlasAdSpin .8s linear infinite}@keyframes atlasAdSpin{to{transform:rotate(360deg)}}.atlas-ad-queue{display:grid;gap:10px}.atlas-ad-empty{padding:28px;border:1px dashed #dedee6;border-radius:18px;text-align:center;color:#91919a;font-size:9.5px;line-height:1.55;background:#fcfcfd}.atlas-ad-job{display:grid;grid-template-columns:104px minmax(0,1fr) 122px;gap:14px;align-items:center;padding:12px;border:1px solid #e9e9ef;border-radius:18px;background:#fff;transition:.18s ease}.atlas-ad-job:hover{box-shadow:0 10px 24px rgba(18,18,24,.05)}.atlas-ad-job-thumb{height:72px;border-radius:13px;overflow:hidden;background:#efeff2}.atlas-ad-job-thumb img{width:100%;height:100%;object-fit:cover}.atlas-ad-job-main{min-width:0}.atlas-ad-job-main strong{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.atlas-ad-job-main span{display:block;margin-top:6px;color:#8d8d96;font-size:8.4px}.atlas-ad-job-state{display:inline-flex!important;align-items:center;gap:6px;margin-top:8px!important;font-weight:760}.atlas-ad-job-state:before{content:"";width:6px;height:6px;border-radius:50%;background:#b8b8bf}.atlas-ad-job[data-state="working"] .atlas-ad-job-state:before{background:#7f00ff;box-shadow:0 0 0 4px rgba(127,0,255,.09)}.atlas-ad-job[data-state="done"] .atlas-ad-job-state:before{background:#2e9b55}.atlas-ad-job[data-state="error"] .atlas-ad-job-state:before{background:#d54237}.atlas-ad-job-actions{display:flex;justify-content:flex-end;gap:6px}.atlas-ad-mini{height:34px;padding:0 10px;border:1px solid #e4e4ea;border-radius:11px;background:#fff;color:#4e4e57;font-size:8px;font-weight:780;transition:.16s}.atlas-ad-mini:hover{border-color:#cfcfd7;background:#fafafd}.atlas-ad-mini.primary{border-color:#151519;background:#151519;color:#fff}.atlas-ad-mini[disabled]{opacity:.42;cursor:not-allowed}.atlas-ad-output{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.atlas-ad-result{position:relative;overflow:hidden;border:1px solid #e8e8ed;border-radius:19px;background:#f7f7f9;min-height:200px}.atlas-ad-result img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}.atlas-ad-result-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;background:#fff}.atlas-ad-result-bar strong{min-width:0;font-size:8.8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.atlas-ad-result-actions{display:flex;gap:6px}.atlas-ad-details{border:1px solid #e9e9ef;border-radius:16px;background:#fafafd;overflow:hidden}.atlas-ad-details summary{cursor:pointer;list-style:none;padding:13px 14px;font-size:8.8px;font-weight:800;color:#5d5d66}.atlas-ad-details summary::-webkit-details-marker{display:none}.atlas-ad-details[open] summary{border-bottom:1px solid #e9e9ef}.atlas-ad-details-inner{padding:14px}.atlas-ad-prompt-actions{display:flex;justify-content:flex-end;margin-top:8px}.atlas-ad-progress{height:5px;margin-top:12px;border-radius:999px;background:#eeeef2;overflow:hidden}.atlas-ad-progress span{display:block;width:0;height:100%;border-radius:inherit;background:#7f00ff;transition:width .28s ease}.atlas-ad-toast{display:none;margin-top:10px;padding:10px 12px;border-radius:13px;font-size:8.5px;line-height:1.45}.atlas-ad-toast.show{display:block}.atlas-ad-toast.error{background:#fff0ef;color:#a82e25}.atlas-ad-toast.success{background:#edf8f1;color:#176b39}.atlas-ad-toast.info{background:#f3edff;color:#6721b7}@media(max-width:1180px){.atlas-ad-grid{grid-template-columns:1fr}.atlas-ad-upload-grid{grid-template-columns:1.2fr 1fr 1fr}}@media(max-width:820px){.atlas-ad-upload-grid,.atlas-ad-output{grid-template-columns:1fr}.atlas-ad-job{grid-template-columns:82px minmax(0,1fr)}.atlas-ad-job-actions{grid-column:1/-1;justify-content:flex-start}.atlas-ad-hero-top{flex-direction:column}.atlas-ad-stat-row{grid-template-columns:1fr}}

.nav-ai-badge{margin-left:auto;min-width:22px;height:17px;padding:0 6px;border-radius:999px;background:rgba(127,0,255,.09);color:#7f00ff;display:inline-grid;place-items:center;font-size:7px;font-weight:900;letter-spacing:.08em}

.atlas-ad-progress-wrap{display:grid;gap:8px;margin-top:16px}.atlas-ad-progress-copy{display:flex;align-items:center;justify-content:space-between;gap:12px}.atlas-ad-progress-copy strong{font-size:9.5px;color:#fff}.atlas-ad-progress-copy span{font-size:8px;color:rgba(255,255,255,.66)}.atlas-ad-progress.small{height:7px;margin-top:0;background:#ececf2}.atlas-ad-progress.small span{background:#151519}.atlas-ad-upload-grid-fixed{grid-template-columns:1.35fr 1fr}.atlas-ad-drop-static{cursor:default}.atlas-ad-drop-static .atlas-ad-drop-copy{pointer-events:none}.atlas-ad-picker-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:18px 0 10px}.atlas-ad-picker-head strong{font-size:10px}.atlas-ad-picker-head span{font-size:8.5px;color:#8f8f99}.atlas-ad-plate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.atlas-ad-plate-card{position:relative;padding:10px;border:1px solid #e5e5eb;border-radius:16px;background:#fff;display:grid;gap:9px;cursor:pointer;transition:.18s ease}.atlas-ad-plate-card:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(18,18,24,.05);border-color:#d6d6de}.atlas-ad-plate-card.selected{border-color:rgba(127,0,255,.42);box-shadow:0 0 0 4px rgba(127,0,255,.07)}.atlas-ad-plate-card img{width:100%;aspect-ratio:2.8/1;object-fit:contain;border-radius:10px;background:#f7f7fb;padding:6px}.atlas-ad-plate-card strong{display:block;font-size:8.8px;line-height:1.3}.atlas-ad-plate-card span{display:block;font-size:7.8px;color:#8f8f99}.atlas-ad-plate-card:after{content:"";position:absolute;right:10px;top:10px;width:11px;height:11px;border-radius:50%;border:1px solid #d9d9e2;background:#fff}.atlas-ad-plate-card.selected:after{background:#7f00ff;border-color:#7f00ff;box-shadow:0 0 0 3px rgba(127,0,255,.11)}.atlas-ad-status-card{padding:12px 14px;border:1px solid #ececf2;border-radius:15px;background:#fafafd;display:grid;gap:4px}.atlas-ad-status-card strong{font-size:9.2px}.atlas-ad-status-card span{font-size:8.3px;color:#8a8a94;line-height:1.45}.atlas-ad-action-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.atlas-ad-generate.secondary{background:#fff;color:#151519;border:1px solid #dddde5;box-shadow:none}.atlas-ad-generate.secondary:hover:not(:disabled){background:#f8f8fb}.atlas-ad-zip-progress{display:grid;gap:8px;padding:12px;border:1px solid #ececf2;border-radius:15px;background:#fafafd}@media(max-width:820px){.atlas-ad-upload-grid-fixed,.atlas-ad-plate-grid,.atlas-ad-action-row{grid-template-columns:1fr}}

/* 2026-09 · Alinhado com a Admin Desk: superfícies claras e texto legível. */
#view-create-ad .atlas-ad-shell{gap:22px}#view-create-ad .page-sub{max-width:640px}#view-create-ad .atlas-ad-hero{min-height:0;padding:27px 30px;border:1px solid #e7e7ed;border-radius:20px;background:#fff;color:#15151a;box-shadow:none}#view-create-ad .atlas-ad-hero:before{display:none}#view-create-ad .atlas-ad-hero h2{font-size:28px;line-height:1.15;letter-spacing:-.04em;font-weight:600;margin:10px 0}#view-create-ad .atlas-ad-hero p{font-size:12px;color:#8a8a95;max-width:580px}#view-create-ad .atlas-ad-hero .home-eyebrow{font-size:9px;letter-spacing:.15em;color:#9993a4}#view-create-ad .atlas-ad-model{font-size:8px;color:#875bad;background:#f7f1fe;border-color:#eadff7;letter-spacing:.08em;backdrop-filter:none}#view-create-ad .atlas-ad-model:before{width:5px;height:5px;box-shadow:none}#view-create-ad .atlas-ad-progress-wrap{margin-top:25px;padding-top:17px;border-top:1px solid #efedf3;gap:3px}#view-create-ad .atlas-ad-progress-copy strong{font-size:11px;color:#777180;font-weight:500}#view-create-ad .atlas-ad-progress-copy span{font-size:10px;color:#928b9d}#view-create-ad .atlas-ad-progress{height:4px;background:#f0edf4;margin-top:10px}#view-create-ad .atlas-ad-grid{grid-template-columns:minmax(0,1.5fr) minmax(310px,.8fr);gap:22px}#view-create-ad .atlas-ad-panel{border-radius:18px;box-shadow:none;border-color:#e7e7ed}#view-create-ad .atlas-ad-grid>aside{position:sticky;top:100px}#view-create-ad .atlas-ad-panel-head{padding:22px 24px}#view-create-ad .atlas-ad-panel-head h3{font-size:14px;font-weight:650}#view-create-ad .atlas-ad-panel-head p{font-size:11px;line-height:1.65;margin-top:7px;color:#92909b}#view-create-ad .atlas-ad-panel-body{padding:22px 24px}#view-create-ad .atlas-ad-drop{min-height:196px;border-radius:14px;background:#faf9fc}#view-create-ad .atlas-ad-upload-grid-fixed{grid-template-columns:1.15fr 1fr;gap:14px}#view-create-ad .atlas-ad-drop-copy strong{font-size:12px}#view-create-ad .atlas-ad-drop-copy span{font-size:10px;line-height:1.6;margin-top:9px;color:#96929e}#view-create-ad .atlas-ad-drop-copy svg{stroke:#9c79bd;width:28px;height:28px}#view-create-ad .atlas-ad-drop-preview img{opacity:1}#view-create-ad .atlas-ad-drop.has-preview .atlas-ad-drop-copy{display:none}#view-create-ad .atlas-ad-drop-status strong{font-size:10px}#view-create-ad .atlas-ad-drop-status span{font-size:9px}#view-create-ad .atlas-ad-reference-note{font-size:10px;line-height:1.7;color:#8a8293;background:#f9f6fc;padding:13px;border-radius:10px;margin-top:17px}#view-create-ad .atlas-ad-picker-head{align-items:start;flex-direction:column;gap:6px;margin-top:23px}#view-create-ad .atlas-ad-picker-head strong{font-size:12px;font-weight:600}#view-create-ad .atlas-ad-picker-head span{font-size:10px;line-height:1.6}#view-create-ad .atlas-ad-plate-grid{gap:12px;margin-top:14px}#view-create-ad .atlas-ad-plate-card{border-radius:12px;padding:12px;gap:9px}#view-create-ad .atlas-ad-plate-card strong{font-size:10px}#view-create-ad .atlas-ad-plate-card span{font-size:9px}#view-create-ad .atlas-ad-plate-card.selected{box-shadow:0 0 0 2px #7f00ff0c;border-color:#b48bdc;background:#fcfaff}#view-create-ad .atlas-ad-plate-card img{background:#f6f5f8;border-radius:8px}#view-create-ad .atlas-ad-stat-row{gap:8px}#view-create-ad .atlas-ad-stat{padding:14px 10px;border-radius:11px;background:#faf9fc}#view-create-ad .atlas-ad-stat span{font-size:8px;letter-spacing:.03em}#view-create-ad .atlas-ad-stat strong{font-size:19px;letter-spacing:-.04em;margin-top:9px;font-weight:550}#view-create-ad #atlasAdRefCount{font-size:13px;padding-top:5px}#view-create-ad .atlas-ad-settings{gap:19px}#view-create-ad .atlas-ad-status-card{border-radius:11px;background:#f9f6fc;border-color:#eee5f7;padding:15px}#view-create-ad .atlas-ad-status-card strong{font-size:11px;color:#6e467e;font-weight:600}#view-create-ad .atlas-ad-status-card span{font-size:10px;line-height:1.65;margin-top:3px}#view-create-ad .atlas-ad-field label{font-size:10px;letter-spacing:0;text-transform:none;font-weight:600;color:#85818d;line-height:1.5}#view-create-ad .atlas-ad-field label>span{font-size:8px;font-weight:400}#view-create-ad .atlas-ad-field input,#view-create-ad .atlas-ad-field select{font-size:12px;border-radius:10px;background:#fcfbfd;height:44px}#view-create-ad .atlas-ad-field textarea{font-size:11px;border-radius:10px}#view-create-ad .atlas-ad-hint{font-size:10px;line-height:1.65;color:#a39dab;margin-top:9px}#view-create-ad .atlas-ad-action-row{grid-template-columns:1fr;gap:9px}#view-create-ad .atlas-ad-generate{font-size:12px;font-weight:650;border-radius:10px;box-shadow:none;min-height:46px}#view-create-ad .atlas-ad-generate:disabled{opacity:.38}#view-create-ad .atlas-ad-generate.secondary{font-size:11px}#view-create-ad .atlas-ad-details{background:#fbfafc;border-radius:10px}#view-create-ad .atlas-ad-details summary{font-size:10px;padding:15px;font-weight:550;line-height:1.5;color:#898090}#view-create-ad .atlas-ad-empty{border-radius:12px;font-size:12px;padding:32px 22px;line-height:1.8;color:#aaa2b3;background:#fcfbfd}#view-create-ad .atlas-ad-job{border-radius:12px;grid-template-columns:90px minmax(0,1fr);padding:12px}#view-create-ad .atlas-ad-job-thumb{border-radius:9px;height:69px}#view-create-ad .atlas-ad-job-main strong{font-size:11px}#view-create-ad .atlas-ad-job-main span{font-size:10px;line-height:1.5}#view-create-ad .atlas-ad-job-actions{grid-column:1/-1}#view-create-ad .atlas-ad-mini{font-size:10px;border-radius:8px}#view-create-ad .atlas-ad-result{border-radius:12px;min-height:0}#view-create-ad .atlas-ad-result-bar strong{font-size:10px}#view-create-ad .atlas-ad-toast{font-size:11px;line-height:1.6;border-radius:10px}#view-create-ad .atlas-ad-output{gap:15px}#view-create-ad .atlas-ad-zip-progress{border-radius:10px}
@media(max-width:1250px){#view-create-ad .atlas-ad-grid{grid-template-columns:minmax(0,1fr) 310px}#view-create-ad .atlas-ad-panel-body,#view-create-ad .atlas-ad-panel-head{padding:19px}#view-create-ad .atlas-ad-upload-grid-fixed{grid-template-columns:1fr}#view-create-ad .atlas-ad-drop-static{min-height:150px}}@media(max-width:1000px){#view-create-ad .atlas-ad-grid{grid-template-columns:1fr}#view-create-ad .atlas-ad-grid>aside{position:static}#view-create-ad .atlas-ad-upload-grid-fixed{grid-template-columns:1.15fr 1fr}#view-create-ad .atlas-ad-drop-static{min-height:196px}#view-create-ad .atlas-ad-hero-top{gap:15px}#view-create-ad .atlas-ad-stat-row{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){#view-create-ad .atlas-ad-hero{padding:23px}#view-create-ad .atlas-ad-hero h2{font-size:24px}#view-create-ad .atlas-ad-hero-top{flex-direction:column}#view-create-ad .atlas-ad-upload-grid-fixed{grid-template-columns:1fr}#view-create-ad .atlas-ad-plate-grid{grid-template-columns:repeat(2,1fr)}#view-create-ad .atlas-ad-panel-body,#view-create-ad .atlas-ad-panel-head{padding:18px}#view-create-ad .atlas-ad-output{grid-template-columns:1fr}}
