/* Shared controls and layouts across all three portals. */
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}input,select,textarea,button{font-family:inherit;box-sizing:border-box}button{cursor:pointer}.publisher-portal .topbar,.admin-portal .admin-topbar{min-height:82px;justify-content:space-between}.topbar-leading{min-width:44px}.admin-top-actions{margin-left:auto}.side-brand>small{display:none}
.campaign-form label,.placement-form label,.settings-form label,.payout-form label{display:block!important;font-size:16px!important;font-weight:650;line-height:1.5!important;margin:0 0 20px!important}.campaign-form label em,.placement-form label em,.settings-form label em{display:inline!important;font-style:normal;font-size:inherit;color:#b54c50;margin-left:3px}.campaign-form label>input,.campaign-form label>select,.campaign-form label>textarea,.placement-form label>input,.placement-form label>select,.settings-form label>input,.settings-form label>select,.settings-form label>textarea{display:block!important;width:100%;height:54px;min-height:54px;margin-top:9px!important;padding:12px 15px!important;border:1px solid #c6d9d7!important;border-radius:11px!important;box-shadow:none;font-size:17px!important;color:#18383f;background:#fff;line-height:1.5}.campaign-form textarea,.settings-form textarea{height:auto!important;min-height:108px!important}.campaign-form input:focus,.placement-form input:focus,.settings-form input:focus,select:focus{outline:3px solid #12958d22;outline-offset:1px;border-color:#128c85!important}.field-row,.form-duo,.placement-form-row{gap:20px!important;align-items:start}.input-unit{display:flex;align-items:center;margin-top:9px;border:1px solid #c6d9d7;border-radius:11px;height:54px;padding:0 15px;gap:12px}.input-unit input{width:100%;min-width:0;border:0!important;outline:0!important;background:transparent;box-shadow:none!important;font-size:17px!important;height:50px;margin:0!important;padding:0!important}.input-unit span{font-size:14px;white-space:nowrap;color:#59767a}.campaign-dialog{width:min(820px,calc(100% - 32px))!important;border-radius:22px!important;max-height:90dvh}.campaign-dialog-head{padding:28px 30px!important;background:#f5faf9}.campaign-dialog-head h2{font-size:27px}.campaign-dialog-head p{font-size:16px}.campaign-form section{padding:26px 30px!important}.campaign-form h3{font-size:18px;margin-bottom:22px}.campaign-form-foot{position:sticky;bottom:0;background:#fff;border-top:1px solid #dae6e4;padding:20px 30px!important}.tracking-note{padding:16px;border:1px solid #cae4df;border-radius:12px;background:#eff8f5;font-size:15px}.creative-preview{max-width:88px;height:88px;object-fit:cover;border-radius:14px;margin:12px 0}.campaign-budget-preview{display:block;color:#487974;font-weight:500;font-size:14px;margin-top:7px}
dialog form[method="dialog"]>button,dialog .funds-close,dialog .detail-close,dialog .dialog-close button,dialog .modal-close,dialog button[aria-label="Close"],dialog button[aria-label^="Close "],dialog #wall-close{box-sizing:border-box!important;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;max-height:40px!important;padding:0!important;display:grid!important;place-items:center!important;font-size:25px!important;font-weight:400!important;line-height:1!important;border:1px solid #d7e5e2!important;border-radius:12px!important;background:#f1f7f5!important;color:#285b5c!important;box-shadow:none!important;flex:none!important}dialog form[method="dialog"]>button:hover{background:#e3eeea!important}.placement-dialog-header button{top:24px!important;right:24px!important}.dialog-heading{padding-right:64px}
:is(.date-range,.date-filter),.report-filter{gap:16px!important;align-items:end!important}:is(.date-range,.date-filter){display:flex!important;flex-wrap:wrap;background:white;border:1px solid #d7e5e2;border-radius:14px;padding:13px 16px!important;max-width:100%}:is(.date-range,.date-filter) label,.report-filter label{font-size:14px!important;line-height:1.5;display:block!important;font-weight:650;color:#52777b}:is(.date-range,.date-filter) input[type="date"],.report-filter input[type="date"]{display:block;width:165px;max-width:100%;min-height:46px;border:1px solid #c5d9d5!important;border-radius:9px;font-size:16px!important;padding:10px 12px!important;margin-top:6px!important;color:#173c40;background:#fbfdfc}:is(.date-range,.date-filter) button,.report-filter button{min-height:46px!important;padding:11px 20px!important;border-radius:10px!important;font-size:16px!important;white-space:nowrap}.report-filter input,.report-filter select{font-size:16px!important;min-height:46px;border-radius:10px}.report-filter{grid-template-columns:minmax(180px,1.5fr) repeat(2,minmax(145px,1fr)) auto auto!important}
.payment-stats article{background:#f0f7f3!important;border:1px solid #dbe6df!important;box-shadow:none!important;border-radius:16px!important;padding:23px!important;min-height:165px}.payment-stats article:nth-child(2){background:#fbf2ec!important;border-color:#ebded5!important}.payment-stats article:nth-child(3){background:#edf4f8!important;border-color:#d9e3eb!important}.payment-stats article:nth-child(4){background:#f5f1f8!important;border-color:#e4dce9!important}.payment-stats article:nth-child(5){background:#f6f4eb!important;border-color:#e7e3d4!important}.payment-stats strong{font-size:36px!important;font-weight:750!important;font-variant-numeric:tabular-nums;letter-spacing:-1px;line-height:1.3}.payment-stats small{color:#486d6b!important;letter-spacing:.5px;font-size:13px!important}.payment-stats p{font-size:14px!important;color:#5c7272!important;margin-top:9px}.method-banner{background:#eff6f4!important;color:#254b4c!important;border-bottom:1px solid #d7e6e1}.method-banner span,.method-banner p{color:#557570!important}.method-icon{background:#dfeee7!important;border-color:#cddfd5!important}
.funds-dialog{width:min(630px,calc(100% - 32px))!important;border-radius:22px!important}.funds-head{padding:28px!important;background:#f4faf7}.funds-body{padding:26px 28px!important}.funds-amount{display:flex!important;align-items:center;height:72px!important;padding:0 20px!important;border:1px solid #bed6ce!important;background:#f9fcfa!important;border-radius:14px!important;gap:12px}.funds-amount span{font-size:27px!important;color:#477b6a}.funds-amount input{width:100%;min-width:0;height:64px!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;outline:0!important;font-size:30px!important;font-weight:700;color:#194239}.funds-body>label{font-size:16px!important;margin-bottom:10px}.funds-quick{grid-template-columns:repeat(4,1fr)!important;gap:10px!important}.funds-quick button{font-size:15px;min-height:45px}.coin-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px}.coin-choice{display:flex!important;align-items:center;gap:12px;position:relative;margin:0!important;border:1px solid #d5e4df;padding:16px;border-radius:12px;background:#fafcfb;cursor:pointer}.coin-choice:has(input:checked){border-color:#188779;background:#e9f6ef;box-shadow:0 0 0 2px #18877918}.coin-choice input{accent-color:#087f82;position:absolute;right:14px;width:18px;height:18px}.coin-choice b{display:block;font-size:17px}.coin-choice small{display:block;font-size:13px;color:#60817c}.coin-monogram{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#e1ece7;font-weight:750;color:#317265}.funding-estimate{font-size:15px;background:#edf6f1;padding:14px 16px;border-radius:12px;color:#2a6856}.funds-actions{padding:20px 28px!important}.funds-actions button{min-height:52px;font-size:17px}.billing-table a{color:#087f82;font-weight:650}.field-hint{font-size:14px!important;display:block;margin:10px 0 22px}
.placement-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr))!important;gap:20px}.placement-card{padding:22px!important}.placement-card h2{font-size:21px}.placement-id code{font-size:12px!important}.placement-endpoint input{font-size:13px!important;min-height:42px}.placement-card-foot{margin-top:16px}.placement-tools{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.placement-tools button{background:#eef5f1;color:#276461;border:1px solid #d1e4dc;border-radius:9px;padding:9px 13px;font-size:14px}.placement-mini{font-size:14px!important;line-height:1.65;color:#5a7774}.placement-dialog{width:min(820px,calc(100% - 32px))!important;max-height:90dvh!important}.placement-dialog-header{background:#eff7f3!important;color:#214e4d!important;border-bottom:1px solid #d5e5df;padding:27px 30px!important}.placement-dialog-header h2{color:#214e4d!important;font-size:27px!important}.placement-dialog-header p{color:#537973!important}.placement-tabs{display:flex;border-bottom:1px solid #d9e6e0;background:#f8fbf9;padding:0 22px;gap:7px;position:sticky;top:0;z-index:3;overflow:auto}.placement-tabs button{white-space:nowrap;padding:17px 12px;border:0;background:transparent;font-size:15px;color:#657b78;border-bottom:3px solid transparent}.placement-tabs button[aria-selected="true"]{color:#087f82;border-bottom-color:#087f82;font-weight:700}.placement-pane[hidden]{display:none!important}.placement-pane .callback-test-panel{border:0;margin:0;border-radius:0;padding:28px 30px}.placement-form-actions{padding:20px 30px!important;background:#fff}.promotion-history{padding:0 30px 28px}.promotion-history article{border:1px solid #dce8e3;border-radius:12px;padding:17px;margin-bottom:12px}.promotion-history small{display:block;color:#607c76;font-size:14px}
.docs-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:start}.docs-nav{position:sticky;top:110px;background:white;border:1px solid #dbe6e2;border-radius:16px;padding:20px}.docs-nav a{display:block;padding:8px 0;font-size:15px;color:#3b746c}.docs-content section,.faq-card{padding:28px;background:white;border:1px solid #dae7e1;border-radius:18px;margin-bottom:22px;scroll-margin-top:110px}.docs-content h2{font-size:24px;margin:0 0 14px}.docs-content p,.docs-content li{font-size:16px;line-height:1.8}.docs-content pre{background:#12363c;color:#d4eee6;font-size:14px;line-height:1.7;padding:23px;border-radius:12px;overflow:auto;white-space:pre;max-width:100%;margin:19px 0}.docs-content table{width:100%;border-collapse:collapse;font-size:15px}.docs-content th,.docs-content td{padding:12px;border-bottom:1px solid #e0e9e4;text-align:left}.faq-card summary{font-size:19px;font-weight:650;cursor:pointer}.faq-card p{font-size:16px;line-height:1.8}.postback-table{min-width:1800px}.postback-table td{max-width:260px;overflow-wrap:anywhere;vertical-align:top}.postback-table .endpoint{font-size:13px}.postback-table details pre{max-width:450px;white-space:pre-wrap;background:#eef4f1;padding:12px;font-size:13px}.postback-table button{background:#087f82;color:#fff;border:0;border-radius:9px;padding:9px 14px;font-size:14px}.auth-pending{max-width:720px;margin:10vh auto;background:white;border:1px solid #d6e6de;border-radius:24px;padding:44px}.auth-pending h1{font-size:30px}.auth-pending button{padding:12px 20px;background:#087f82;color:white;border:0;border-radius:10px}.form-wrap select{width:100%;min-height:52px;padding:12px 15px;border:1px solid #c7dcd4;border-radius:10px;font-size:17px;background:white;color:#16393d}
@media(max-width:1100px){.report-filter{grid-template-columns:repeat(2,minmax(0,1fr))!important}.report-filter>label:first-child{grid-column:1/-1}:is(.date-range,.date-filter){justify-content:flex-start}.docs-grid{grid-template-columns:1fr}.docs-nav{position:static;display:flex;flex-wrap:wrap;gap:6px 16px}.docs-nav strong{width:100%}}
@media(max-width:600px){:is(.date-range,.date-filter){width:100%;gap:10px!important}:is(.date-range,.date-filter) label{flex:1;min-width:110px}:is(.date-range,.date-filter) input[type=date]{width:100%;font-size:14px!important}:is(.date-range,.date-filter) button{width:100%}.report-filter{grid-template-columns:1fr!important}.report-filter>label:first-child{grid-column:auto}.report-filter input[type=date]{width:100%}.campaign-form section,.funds-body{padding:22px!important}.campaign-dialog-head{padding:24px!important}.campaign-form-foot{padding:16px 20px!important;flex-wrap:wrap}.coin-choices{gap:9px}.coin-choice{padding:12px 10px}.coin-choice input{right:8px}.coin-choice small{font-size:12px}.coin-monogram{width:28px;height:28px;font-size:13px}.placement-grid{grid-template-columns:1fr!important}.docs-content section{padding:22px}.auth-pending{margin:35px 16px;padding:28px}.payment-stats strong{font-size:31px!important}.payment-stats article{padding:19px!important}}

.report-filter-card{background:white;border:1px solid #dbe8e1;border-radius:16px;margin:22px 0;padding:22px}.report-filter{display:grid!important}.settings-form .field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.settings-form button[type=submit]{background:#087f82;color:white;border:0;border-radius:11px;padding:13px 22px;font-size:17px}@media(max-width:600px){.settings-form .field-row{grid-template-columns:1fr}}

.offer-access-error{position:fixed;inset:0;margin:auto;width:min(480px,calc(100% - 32px));max-height:85dvh;padding:32px;background:#fff;color:#17373e;border:1px solid #d5e5db;border-radius:21px;box-shadow:0 25px 100px #173d3826}.offer-access-error::backdrop{background:#10383c88;backdrop-filter:blur(3px)}.offer-access-error form[method=dialog]{position:absolute;right:21px;top:21px}.offer-access-error h2{font-size:24px;line-height:1.35;margin:24px 0 12px}.offer-access-error p{font-size:16px;line-height:1.8;color:#61776b}.access-error-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:#fdf0e5;color:#b48249;font-size:27px}.detail-start[aria-busy=true]{opacity:.65;pointer-events:none}
