.admin-page{min-height:100vh;background:#f7f8fb;color:#17191d;padding:24px}.admin-shell{display:grid;gap:20px;width:min(100%,980px);margin:0 auto}.admin-header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #d8dee8;padding-bottom:18px}.admin-eyebrow{margin:0 0 6px;color:#d84c26;font-size:.74rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.admin-header h1{margin:0;font-size:1.6rem;line-height:1.15}.admin-user{display:flex;align-items:center;gap:10px;min-width:0;color:#475467;font-size:.9rem;font-weight:700}.admin-user span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-button{min-height:38px;border:1px solid #cfd7e3;border-radius:8px;background:#fff;color:#20262e;cursor:pointer;font:inherit;font-size:.88rem;font-weight:800;padding:0 14px}.admin-button:hover,.admin-button:focus-visible{border-color:#fa5b30;color:#d84c26;outline:none}.admin-button:disabled{border-color:#d8dee8;color:#98a2b3;cursor:not-allowed}.admin-button--primary{border-color:#fa5b30;background:#fa5b30;color:#fff}.admin-button--primary:hover,.admin-button--primary:focus-visible{background:#e44e27;color:#fff}.admin-tabs{display:flex;gap:8px;border-bottom:1px solid #d8dee8}.admin-tab{border:0;border-bottom:2px solid transparent;background:transparent;color:#667085;cursor:pointer;font:inherit;font-size:.9rem;font-weight:800;padding:0 2px 12px}.admin-tab--active,.admin-tab:hover,.admin-tab:focus-visible{border-bottom-color:#fa5b30;color:#20262e;outline:none}.admin-status{margin:0;color:#475467;font-size:.96rem;line-height:1.5}.admin-status--error{color:#b42318}.admin-status--ok{color:#027a48}.admin-content{display:grid;gap:20px}.admin-toolbar{display:flex;gap:10px}.admin-search{width:min(100%,420px);min-height:40px;border:1px solid #cfd7e3;border-radius:8px;background:#fff;color:#20262e;font:inherit;padding:0 12px}.admin-search:focus{border-color:#fa5b30;outline:none}.admin-role-band{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #d8dee8;border-radius:8px;background:#fff;padding:16px}.admin-role-band span,.admin-metric span,.admin-pricing-row span{color:#667085;font-size:.86rem;font-weight:750}.admin-role-band strong{font-size:1.05rem}.admin-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.admin-metric{display:grid;gap:8px;min-height:96px;border:1px solid #d8dee8;border-radius:8px;background:#fff;padding:14px}.admin-metric strong{align-self:end;font-size:1.35rem;line-height:1.1}.admin-pricing{display:grid;gap:12px}.admin-pricing h2{margin:0;font-size:1rem}.admin-pricing-list{display:grid;border:1px solid #d8dee8;border-radius:8px;background:#fff;overflow:hidden}.admin-pricing-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:0 16px}.admin-pricing-row+.admin-pricing-row{border-top:1px solid #eef1f5}.admin-pricing-row strong{text-align:right;white-space:nowrap}.admin-table-wrap{overflow-x:auto;border:1px solid #d8dee8;border-radius:8px;background:#fff}.admin-table{width:100%;min-width:820px;border-collapse:collapse;font-size:.88rem}.admin-table th,.admin-table td{border-bottom:1px solid #eef1f5;padding:12px;text-align:left;vertical-align:middle}.admin-table th{color:#667085;font-size:.78rem;font-weight:850}.admin-link-button{border:0;background:transparent;color:#d84c26;cursor:pointer;font:inherit;font-size:.88rem;font-weight:850;padding:0}.admin-link-button:hover,.admin-link-button:focus-visible{color:#b93817;outline:none;text-decoration:underline}.admin-back-button{justify-self:start}.admin-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;color:#667085;font-size:.9rem;font-weight:750}.admin-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-detail-panel{display:grid;align-content:start;gap:10px;border:1px solid #d8dee8;border-radius:8px;background:#fff;padding:16px}.admin-detail-panel--wide{grid-column:1 / -1}.admin-detail-panel h2{margin:0 0 4px;font-size:1rem}.admin-detail-row,.admin-mini-row{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr);gap:12px;align-items:center;color:#20262e;font-size:.88rem}.admin-detail-row span,.admin-mini-row span{color:#667085;font-weight:750}.admin-detail-row strong,.admin-mini-row strong{min-width:0;overflow-wrap:anywhere}.admin-mini-row{grid-template-columns:minmax(130px,1fr) minmax(90px,auto) minmax(120px,auto) minmax(260px,1.1fr);border-top:1px solid #eef1f5;padding-top:10px}.admin-mini-row small{display:block;margin-top:3px;color:#98a2b3;font-size:.75rem;font-weight:650;overflow-wrap:anywhere}.admin-token-form,.admin-revoke-form{display:grid;gap:10px}.admin-token-form label{display:grid;gap:6px}.admin-token-form label span{color:#667085;font-size:.78rem;font-weight:850}.admin-token-form input,.admin-token-form select,.admin-token-form textarea,.admin-revoke-form input{width:100%;border:1px solid #cfd7e3;border-radius:8px;background:#fff;color:#20262e;font:inherit;font-size:.88rem;padding:9px 10px}.admin-token-form textarea{resize:vertical}.admin-token-form input:focus,.admin-token-form select:focus,.admin-token-form textarea:focus,.admin-revoke-form input:focus{border-color:#fa5b30;outline:none}.admin-revoke-form{grid-template-columns:minmax(70px,.5fr) minmax(120px,1fr) auto}.admin-revoke-form .admin-status{grid-column:1 / -1}.admin-action-row{display:flex;flex-wrap:wrap;gap:10px}.admin-history-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(140px,1.2fr) minmax(110px,auto);gap:10px 14px;align-items:center;border-top:1px solid #eef1f5;color:#20262e;font-size:.88rem;padding-top:10px}.admin-history-row span,.admin-history-row small{color:#667085;font-weight:750}.admin-history-row strong,.admin-history-row small{min-width:0;overflow-wrap:anywhere}.admin-history-row small{grid-column:1 / -1;font-size:.78rem}@media(max-width:760px){.admin-page{padding:18px}.admin-header,.admin-user,.admin-toolbar,.admin-pagination{align-items:flex-start;flex-direction:column}.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-detail-grid,.admin-mini-row,.admin-revoke-form,.admin-history-row{grid-template-columns:1fr}}.payout-page{max-width:1200px;margin:auto;padding:32px 20px;color:#202b38}.payout-header,.payout-header>div:last-child,.payout-toolbar,.payout-actions,.payout-row-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.payout-header,.payout-row-heading{justify-content:space-between}.payout-header h1{margin:12px 0}.payout-sections{display:grid;gap:20px;margin:20px 0}.payout-card{background:#fff;border:1px solid #d9e1e8;border-radius:14px;padding:24px;min-width:0}.payout-card h2{margin:0 0 12px;font-size:1.15rem;overflow-wrap:anywhere}.payout-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.payout-form label{display:grid;gap:7px;font-weight:600}.payout-form input,.payout-form select,.payout-form textarea,.payout-toolbar select{border:1px solid #a7b6c5;border-radius:7px;padding:10px;background:#fff;color:#202b38;width:100%;box-sizing:border-box}.payout-form textarea{min-height:88px}.payout-form p,.payout-form .payout-actions{grid-column:1/-1}.payout-page button,.payout-admin button{border:1px solid #b7c9c2;border-radius:8px;background:#edf7f2;color:#164733;padding:10px 16px;cursor:pointer;font-weight:600}.payout-page button:disabled,.payout-admin button:disabled{opacity:.5;cursor:not-allowed}.payout-page :focus-visible,.payout-admin :focus-visible{outline:3px solid #358969;outline-offset:3px}.payout-balances{display:flex;gap:24px;flex-wrap:wrap;margin:16px 0}.payout-balances dt{font-size:.85rem;color:#556574}.payout-balances dd{margin:5px 0;font-weight:650}.payout-table-scroll{overflow:auto}.payout-card table{border-collapse:collapse;width:100%;text-align:left}.payout-card th,.payout-card td{padding:12px;border-bottom:1px solid #e1e6ec;font-size:.9rem;vertical-align:top}.payout-help{font-size:.85rem;color:#526573;overflow-wrap:anywhere}.payout-warning{background:#fff3db;color:#704912;padding:12px;border-radius:8px}.payout-toolbar{margin-top:18px}.payout-actions{margin-top:16px}.payout-admin{min-width:0}@media(max-width:600px){.payout-card{padding:16px}.payout-header{align-items:flex-start}.payout-header>div:last-child{font-size:.85rem}.payout-form{grid-template-columns:1fr}.payout-balances{gap:16px}}.profile-dialog{width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 32px);border:1px solid #e3e7ed;border-radius:12px;background:#fff;color:#20262e;box-shadow:0 18px 52px #1f293733;padding:24px;overflow:auto;overflow-wrap:anywhere}.profile-dialog::backdrop{background:#181f2873}.profile-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.profile-heading h2{margin:0;font-size:1.4rem}.profile-heading h2:focus{outline:none}.profile-sections{display:grid;gap:20px}.profile-sections>section{min-width:0;border-top:1px solid #e3e7ed;padding-top:16px}.profile-sections h3{margin:0 0 12px;font-size:1rem}.profile-sections p{margin:8px 0}.profile-sections dl{margin:0 0 12px}.profile-sections dt,.profile-note{color:#667085;font-size:.85rem;line-height:1.6}.profile-sections dd{margin:4px 0 0}.profile-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:10px 0;border:0;background:transparent;color:#344052;font:inherit;font-size:.9rem;text-align:left;text-decoration:none;cursor:pointer}.profile-navigation:hover{color:#c84622}.profile-dialog button:focus-visible,.profile-dialog a:focus-visible{outline:2px solid #c84622;outline-offset:3px}.profile-information{line-height:1.65;font-size:.95rem}.profile-dialog .buy-tokens-entry{flex-wrap:wrap;white-space:normal;margin:8px 0}.profile-dialog .payment-creation-error{text-align:left;margin:8px 0}.profile-dialog .affiliate-identity-value{overflow-wrap:anywhere;white-space:normal}.profile-dialog .affiliate-identity-status{line-height:1.6}@media(max-width:560px){.profile-dialog{padding:18px}.profile-dialog button{min-height:40px}}.input-page{min-height:100vh;background:radial-gradient(circle at 20% 20%,rgba(250,91,48,.06),transparent 24rem),linear-gradient(135deg,#fff8f4,#f7fbff 48%,#f8fafc);color:#1b1f24;padding:18px}.input-layout{max-width:1280px;margin:0 auto}.input-form{display:grid;gap:16px}.workflow-panel{display:grid;align-content:start;gap:14px;min-width:0;border:1px solid rgba(25,31,38,.1);border-radius:8px;background:#ffffffe6;box-shadow:0 18px 52px #1f29371a;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);padding:18px}.workflow-panel--output{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px}.app-title-block{display:grid;gap:4px}.main-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.7fr);align-items:center;gap:24px;margin-bottom:18px;min-height:96px;padding:14px 18px;border:1px solid #e3e7ed;border-radius:8px;background:#fff}.workspace-user-area{display:grid;justify-items:end;gap:10px;min-width:0}.header-controls{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0}.buy-tokens-entry{display:flex;align-items:center;gap:8px;white-space:nowrap}.buy-tokens-balance{display:inline-flex;align-items:center;min-height:30px;max-width:100%;border:1px solid #e3e7ed;border-radius:8px;background:#fbfcfe;color:#20262e;font-size:.78rem;font-weight:820;overflow:hidden;padding:0 9px;text-overflow:ellipsis;white-space:nowrap}.buy-tokens-button{min-height:30px;border:1px solid #fa5b30;border-radius:8px;background:#fa5b30;color:#fff;cursor:pointer;font:inherit;font-size:.78rem;font-weight:780;padding:0 10px;white-space:nowrap}.buy-tokens-button:hover:not(:disabled),.buy-tokens-button:focus-visible:not(:disabled){background:#e44e27;border-color:#e44e27;outline:none}.buy-tokens-button:disabled{border-color:#d6dbe3;background:#d6dbe3;color:#7b8492;cursor:not-allowed}.payment-creation-error{margin:-4px 0 0;color:#b42318;font-size:.8rem;font-weight:650;line-height:1.4;text-align:right}.affiliate-identity-panel{display:grid;gap:8px;border:1px solid #e3e7ed;border-radius:8px;background:#fbfcfe;padding:10px}.affiliate-identity-row{display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:8px}.affiliate-identity-label{color:#667085;font-size:.78rem;font-weight:750}.affiliate-identity-value{min-width:0;color:#20262e;font-size:.82rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.affiliate-identity-link{font-weight:650}.affiliate-identity-status{margin:-2px 0 0;color:#287157;font-size:.78rem;font-weight:650}.affiliate-identity-status--error{color:#b42318}.affiliate-identity-applied{color:#287157;font-size:.78rem;font-weight:760;white-space:nowrap}.affiliate-manual-form{display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:8px}.affiliate-manual-label{color:#667085;font-size:.78rem;font-weight:750}.affiliate-manual-input{min-height:34px;font-size:.82rem;padding:6px 9px}.signed-in-email{max-width:100%;color:#475467;font-size:.78rem;font-weight:700;overflow-wrap:anywhere;text-align:right}.input-eyebrow{margin:0;color:#d84c26;font-size:.74rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.app-title-block h1{margin:0;color:#17191d;font-size:1.65rem;line-height:1.16;letter-spacing:0}.main-header button:focus-visible{outline:2px solid #c84622;outline-offset:3px}.history-toggle-button{min-height:30px;border:1px solid #d7dce3;border-radius:8px;background:#fff;color:#344052;cursor:pointer;font:inherit;font-size:.78rem;font-weight:760;padding:0 10px}.history-toggle-button:hover,.history-toggle-button:focus-visible{border-color:#fa5b30;color:#c84622;outline:none}.history-popover-anchor{position:relative;display:flex;justify-content:flex-end}.history-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:20;display:grid;gap:8px;width:360px;max-width:calc(100vw - 36px);max-height:min(420px,calc(100vh - 96px));border:1px solid #e3e7ed;border-radius:8px;background:#fff;box-shadow:0 18px 46px #1f29372e;overflow:hidden;padding:10px}.history-panel-header{display:flex;align-items:center;justify-content:space-between;color:#20262e;font-size:.8rem;font-weight:780}.history-empty{margin:0;color:#667085;font-size:.82rem;line-height:1.4}.history-list{display:grid;gap:6px;max-height:min(320px,calc(100vh - 188px));overflow:auto}.history-record{display:grid;grid-template-columns:36px minmax(0,1fr);gap:8px;align-items:center;width:100%;border:1px solid #edf0f4;border-radius:8px;background:#fbfcfe;color:inherit;cursor:pointer;font:inherit;padding:6px;text-align:left}.history-record:hover,.history-record:focus-visible{border-color:#fa5b30;background:#fff7f3;outline:none}.history-thumbnail{width:36px;height:36px;border-radius:6px;object-fit:cover}.history-record-main{display:grid;gap:3px;min-width:0}.history-record-title{color:#20262e;font-size:.8rem;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-record-meta{color:#667085;font-size:.74rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.post-mode-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;border:1px solid #e3e7ed;border-radius:8px;background:#f7f9fc;padding:4px}.post-mode-tab{min-height:40px;border:0;border-radius:6px;background:transparent;color:#475467;cursor:pointer;font:inherit;font-size:.8rem;font-weight:780;padding:0 8px}.post-mode-tab:hover,.post-mode-tab:focus-visible{color:#c84622;outline:none}.post-mode-tab--active{background:#fff;color:#20262e;box-shadow:0 1px 3px #1f29371f}.coming-soon-panel{display:grid;gap:8px;border:1px dashed #c7ced8;border-radius:8px;background:#fbfcfe;padding:18px}.coming-soon-panel h2,.coming-soon-panel p{margin:0}.coming-soon-panel h2{color:#20262e;font-size:1rem}.coming-soon-panel p{color:#c84622;font-size:.9rem;font-weight:780}.coming-soon-panel span{color:#667085;font-size:.84rem;line-height:1.45}.four-scene-output-placeholder{display:grid;place-content:center;gap:8px;min-height:360px;border:1px dashed #c7ced8;border-radius:8px;background:#fbfcfe;color:#667085;padding:24px;text-align:center}.four-scene-output-placeholder h2,.four-scene-output-placeholder p{margin:0}.four-scene-output-placeholder h2{color:#20262e;font-size:1rem}.four-scene-output-placeholder p{max-width:360px;font-size:.9rem;line-height:1.5}.field-group{display:grid;align-content:start;min-width:0;gap:7px}.generator-input-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"title references" "settings references" "generate references";grid-template-rows:min-content min-content minmax(50px,1fr);align-items:start;gap:14px 24px}.generator-title{grid-area:title}.generator-settings{grid-area:settings}.generator-input-grid>.generate-button{grid-area:generate}.reference-area{grid-area:references;min-width:0}.reference-area-title{margin:0 0 10px;font-size:.86rem}.reference-slots{display:grid;gap:12px}.reference-area--person .reference-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.image-change-label{color:#c84622;font-size:.8rem;font-weight:750}.field-row{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:10px}.field-label{color:#20262e;font-size:.86rem;font-weight:750}.field-helper{margin-top:-4px;color:#667085;font-size:.78rem}.field-label-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.field-actions{display:flex;gap:6px}.title-action-button{min-height:36px;border:1px solid #d7dce3;border-radius:8px;background:#fff;color:#344052;cursor:pointer;font:inherit;font-size:.78rem;font-weight:760;padding:0 9px}.title-action-button:hover:not(:disabled),.title-action-button:focus-visible:not(:disabled){border-color:#fa5b30;color:#c84622;outline:none}.title-action-button:disabled{color:#98a2b3;cursor:not-allowed}.title-action-status{margin:-2px 0 0;color:#287157;font-size:.78rem;font-weight:650;line-height:1.35}.title-action-status--error{color:#b42318}.text-field{width:100%;min-width:0;border:1px solid #d7dce3;border-radius:8px;background:#fff;color:#17191d;font:inherit;font-size:.94rem;line-height:1.5;outline:none;padding:10px 12px;transition:border-color .16s ease,box-shadow .16s ease}.text-field::placeholder{color:#8b95a3}.text-field:focus{border-color:#fa5b30;box-shadow:0 0 0 4px #fa5b3024}.text-field--title{min-height:92px;resize:vertical}.language-select{min-height:42px;cursor:pointer}.image-dropzone{display:grid;place-items:center;width:100%;min-height:220px;border:1.5px dashed #c7ced8;border-radius:8px;background:#fbfcfe;color:#344052;cursor:pointer;font:inherit;padding:12px;text-align:center;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.image-dropzone--has-image{min-height:220px}.image-dropzone:hover,.image-dropzone:focus-visible,.image-dropzone--active{border-color:#fa5b30;background:#fff7f3;box-shadow:0 0 0 4px #fa5b301a;outline:none}.image-empty-state,.image-preview-wrap{display:grid;justify-items:center;gap:10px;min-width:0;max-width:100%}.image-empty-title{color:#20262e;font-size:.96rem;font-weight:780}.image-empty-meta,.image-file-name{max-width:100%;color:#667085;font-size:.82rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-preview{width:100%;height:150px;border-radius:8px;object-fit:contain;box-shadow:0 12px 32px #1f293729}.additional-reference-area{display:grid;gap:8px}.additional-reference-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.additional-reference-card{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:10px;border:1px solid #e2e7ef;border-radius:8px;background:#fbfcfe;padding:8px}.additional-reference-card .link-button{grid-column:1 / -1;justify-self:end}.additional-reference-thumbnail{width:48px;height:48px;border-radius:7px;object-fit:cover;box-shadow:0 8px 18px #1f29371f}.additional-reference-meta{display:grid;min-width:0;color:#20262e;font-size:.82rem;font-weight:750}.additional-reference-meta small{color:#667085;font-size:.76rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.additional-reference-add{justify-self:start}@media(min-width:801px){.reference-area--fourScene .product-reference-slot{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"label label" "primary extras" "actions extras";gap:8px 12px}.reference-area--fourScene .product-reference-slot>.field-label{grid-area:label}.reference-area--fourScene .image-dropzone{grid-area:primary}.reference-area--fourScene .image-actions{grid-area:actions}.reference-area--fourScene .additional-reference-area{grid-area:extras;align-content:start}.reference-area--fourScene .additional-reference-list{grid-template-columns:minmax(0,1fr)}.reference-area--fourScene .additional-reference-card{padding:6px;gap:4px 8px}}.file-input{display:none}.image-actions{display:flex;align-items:center;justify-content:space-between;min-height:18px}.field-error{color:#b42318;font-size:.8rem;font-weight:650}.link-button{min-height:36px;border:0;background:transparent;color:#c84622;cursor:pointer;font:inherit;font-size:.84rem;font-weight:750;padding:0}.link-button:hover,.link-button:focus-visible{color:#9f3518;outline:none;text-decoration:underline}.generate-button{min-height:50px;border:0;border-radius:8px;background:#fa5b30;color:#fff;cursor:pointer;font:inherit;font-size:1rem;font-weight:850;letter-spacing:0;transition:background .16s ease,box-shadow .16s ease,transform .16s ease}.generate-button:hover:not(:disabled),.generate-button:focus-visible:not(:disabled){background:#e44e27;box-shadow:0 14px 30px #fa5b3047;outline:none;transform:translateY(-1px)}.generate-button:disabled{background:#d6dbe3;color:#7b8492;cursor:not-allowed}.caption-preview,.creative-preview{display:grid;gap:10px;min-width:0;align-content:start}.caption-preview-header,.creative-preview-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.caption-preview h2,.creative-preview h2{margin:0;color:#20262e;font-size:.94rem;line-height:1.2}.output-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.copy-button{min-height:42px;border:1px solid #d7dce3;border-radius:8px;background:#fff;color:#20262e;cursor:pointer;font:inherit;font-size:.84rem;font-weight:750;padding:0 11px}.copy-button:hover:not(:disabled),.copy-button:focus-visible:not(:disabled){border-color:#fa5b30;color:#c84622;outline:none}.copy-button:disabled{color:#98a2b3;cursor:not-allowed}.caption-muted,.caption-error,.copy-status{margin:0;font-size:.84rem;line-height:1.5}.caption-muted{color:#667085}.caption-error,.copy-status--error{color:#b42318}.caption-text{min-height:240px;max-height:420px;overflow-wrap:anywhere;overflow:auto;margin:0;border:1px solid #e3e7ed;border-radius:8px;background:#fff;color:#1f2937;font-size:.94rem;line-height:1.58;padding:12px;white-space:pre-wrap}.copy-status{color:#287157;font-weight:700}.creative-image-frame{width:100%;border:1px solid #e3e7ed;border-radius:8px;background:#fff;padding:10px;overflow:hidden}.creative-image{display:block;width:100%;max-height:420px;border-radius:6px;object-fit:contain}.api-usage-panel{display:grid;gap:8px;border-top:1px solid #e3e7ed;color:#667085;font-size:.76rem;line-height:1.35;padding-top:8px}.api-usage-header,.api-usage-grid,.api-usage-total{display:grid;grid-template-columns:.8fr 1.2fr 1fr auto;gap:8px;align-items:center}.api-usage-header{grid-template-columns:1fr auto}.api-usage-header h2{margin:0;color:#20262e;font-size:.82rem}.api-usage-grid strong,.api-usage-total strong{color:#20262e}.api-usage-grid small{display:block;margin-top:2px;color:#7b8492;font-size:.72rem}.api-usage-grid--subtotal{color:#475467}.api-usage-total{grid-template-columns:.8fr 1.2fr 1fr;border-top:1px solid #edf0f4;padding-top:7px}@media(max-width:800px){.generator-input-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-template-areas:"title" "references" "settings" "generate"}.workflow-panel--output{grid-template-columns:minmax(0,1fr)}.creative-preview{border-top:1px solid #e3e7ed;padding-top:20px}.caption-text{min-height:160px;max-height:320px}.image-dropzone,.image-dropzone--has-image{min-height:160px}.image-preview{height:120px}.main-header{grid-template-columns:minmax(0,1fr) minmax(240px,.8fr)}}@media(max-width:560px){.main-header{grid-template-columns:minmax(0,1fr);gap:10px;padding:14px;min-height:auto}.workspace-user-area{justify-items:start}.signed-in-email{text-align:left}.header-controls{justify-content:flex-start}.main-header button{min-height:44px}.history-popover-anchor{position:static}.header-controls{position:relative}.history-panel{left:0;right:auto;max-width:calc(100vw - 56px)}.input-page{padding:12px}.input-form{gap:12px}.app-title-block h1{max-width:100%;font-size:1.25rem;line-height:1.2}.workflow-panel{gap:14px;padding:14px}.field-row{grid-template-columns:repeat(2,minmax(0,1fr))}.text-field{font-size:16px;padding:8px}.post-mode-tab{min-height:44px;padding:4px;font-size:.75rem}.title-action-button,.link-button,.copy-button{min-height:44px}.reference-area--person .image-dropzone{min-height:150px;padding:8px}.image-empty-title{font-size:.83rem}.image-empty-meta,.image-file-name{font-size:.72rem}.image-preview{height:100px}.image-actions{flex-wrap:wrap;gap:4px}.additional-reference-card{gap:6px}.affiliate-identity-row{grid-template-columns:1fr auto}.affiliate-identity-label{grid-column:1 / -1}.affiliate-manual-form{grid-template-columns:1fr auto}.affiliate-manual-label{grid-column:1 / -1}.generate-button{min-height:48px}.caption-preview-header,.creative-preview-header{align-items:stretch;flex-direction:column}.api-usage-grid,.api-usage-total{grid-template-columns:1fr;gap:4px}}@media(max-width:350px){.generator-settings,.reference-area--person .reference-slots,.additional-reference-list{grid-template-columns:minmax(0,1fr)}}.missing-information-backdrop{position:fixed;inset:0;z-index:100;background:#18233c66;display:grid;place-items:center;padding:20px}.missing-information-dialog{width:min(100%,460px);background:#fff;color:#17223b;padding:24px;border-radius:16px;box-shadow:0 16px 60px #14213d33}.missing-information-dialog h2{margin-top:0}.missing-information-actions{display:flex;gap:12px;justify-content:flex-end}.missing-information-actions button{padding:10px 14px;border-radius:8px;border:1px solid #ccd4df;cursor:pointer}.missing-information-actions button:last-child{background:#2356d8;color:#fff}.token-details{list-style:none;padding:0;display:grid;gap:12px}.package-picker{display:grid;gap:8px;margin:12px 0}.package-option{display:grid;gap:4px;padding:12px;text-align:left;border:1px solid #d8dfe8;border-radius:10px;background:#fff;color:#17223b;cursor:pointer}.package-option.recommended{border:2px solid #2356d8;background:#f5f8ff}.auth-page{display:grid;min-height:100vh;place-items:center;background:radial-gradient(circle at 20% 20%,rgba(250,91,48,.06),transparent 24rem),linear-gradient(135deg,#fff8f4,#f7fbff 48%,#f8fafc);color:#1b1f24;padding:20px}.auth-panel{display:grid;gap:16px;width:min(100%,420px);border:1px solid rgba(25,31,38,.1);border-radius:8px;background:#ffffffeb;box-shadow:0 18px 52px #1f29371a;padding:24px}.auth-panel-header{display:grid;gap:6px}.auth-eyebrow{margin:0;color:#d84c26;font-size:.74rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.auth-panel h1{margin:0;color:#17191d;font-size:1.45rem;line-height:1.16}.auth-message{margin:0;color:#475467;font-size:.94rem;line-height:1.5}.auth-message--error{color:#b42318}.auth-button{min-height:46px;border:0;border-radius:8px;background:#fa5b30;color:#fff;cursor:pointer;font:inherit;font-size:.98rem;font-weight:850}.auth-button:hover:not(:disabled),.auth-button:focus-visible:not(:disabled){background:#e44e27;outline:none}.auth-button:disabled{background:#d6dbe3;color:#7b8492;cursor:not-allowed}.auth-user-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.auth-user-email{min-width:0;color:#20262e;font-size:.88rem;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.payment-return-panel{width:min(100%,460px)}.payment-return-message--success{color:#087443}.payment-return-message--warning,.payment-return-message--support{color:#b42318}.payment-return-summary{display:grid;gap:10px;margin:0}.payment-return-summary div{display:grid;gap:3px;min-width:0}.payment-return-summary dt{color:#667085;font-size:.75rem;font-weight:800;text-transform:uppercase}.payment-return-summary dd{margin:0;min-width:0;color:#20262e;font-size:.9rem;font-weight:750;overflow-wrap:anywhere}.payment-return-action{display:inline-grid;place-items:center;min-height:38px;border-radius:8px;background:#fa5b30;color:#fff;font-size:.88rem;font-weight:800;text-decoration:none;padding:0 14px}.payment-return-action:hover,.payment-return-action:focus-visible{background:#e44e27;outline:none}:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0}
