.adp-portal{
    --adp-orange:#fc9012;
    --adp-cyan:#00bddd;
    --adp-ink:#172033;
    --adp-muted:#64748b;
    --adp-line:#dce7ee;
    --adp-soft:#f5f9fc;
    --adp-warm:#fff8ef;
    --adp-white:#ffffff;
    --adp-slate-900:#0f172a;
    --adp-slate-800:#1e293b;
    --adp-success:#0f9f6e;
    --adp-danger:#dc2626;
    color:var(--adp-ink);
    line-height:1.65;
    width:100%;
    min-height:680px;
    text-align:start;
}
.adp-portal[data-language="ar"],.adp-portal[data-language="ar"] button,.adp-portal[data-language="ar"] input,.adp-portal[data-language="ar"] textarea,.adp-portal[data-language="ar"] select{font-family:"Cairo",sans-serif}
.adp-portal[data-language="en"],.adp-portal[data-language="en"] button,.adp-portal[data-language="en"] input,.adp-portal[data-language="en"] textarea,.adp-portal[data-language="en"] select{font-family:"Montserrat",sans-serif}
.adp-portal *{box-sizing:border-box}
.adp-portal button,.adp-portal input,.adp-portal select,.adp-portal textarea{font:inherit}
.adp-portal button{cursor:pointer}
.adp-portal code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;direction:ltr;unicode-bidi:embed}
.adp-portal-shell{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px;align-items:start;background:var(--adp-soft);border:1px solid var(--adp-line);border-radius:28px;padding:18px;box-shadow:0 24px 70px rgba(23,32,51,.08);overflow:visible}
.adp-portal-sidebar{position:sticky;top:24px;min-height:calc(100vh - 80px);max-height:calc(100vh - 48px);display:flex;flex-direction:column;background:var(--adp-white);border:1px solid var(--adp-line);border-radius:22px;padding:18px;box-shadow:0 12px 32px rgba(15,23,42,.06)}
.adp-portal-brand{display:flex;gap:12px;align-items:center;padding:7px 6px 18px;border-bottom:1px solid var(--adp-line)}
.adp-portal-brand-mark{width:44px;height:44px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--adp-orange),#ffb252);color:#fff;font-weight:800;box-shadow:0 10px 22px rgba(252,144,18,.24);direction:ltr}
.adp-portal-brand strong{display:block;font-size:15px;font-weight:800}.adp-portal-brand small{display:block;color:var(--adp-muted);font-size:11px}
.adp-portal-nav{display:flex;flex-direction:column;gap:7px;padding:20px 0}
.adp-portal-nav-item{border:0;background:transparent;color:var(--adp-muted);padding:11px 12px;border-radius:12px;display:flex;align-items:center;gap:10px;text-align:start;font-weight:700;transition:.18s ease}
.adp-portal-nav-item:hover{background:var(--adp-soft);color:var(--adp-ink)}.adp-portal-nav-item.is-active{background:var(--adp-warm);color:var(--adp-orange)}
.adp-portal-nav-item span{width:23px;text-align:center;direction:ltr;font-family:ui-monospace,monospace}
.adp-portal-sidebar-status{margin-top:auto;padding:14px;border-radius:14px;background:var(--adp-slate-900);color:#fff;display:flex;gap:10px;align-items:center}
.adp-portal-sidebar-status strong,.adp-portal-sidebar-status small{display:block}.adp-portal-sidebar-status strong{font-size:12px}.adp-portal-sidebar-status small{font-size:10px;color:#94a3b8}
.adp-portal-status-dot{width:10px;height:10px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 5px rgba(148,163,184,.12);flex:0 0 auto}.adp-portal-status-dot.is-online{background:#21c98b;box-shadow:0 0 0 5px rgba(33,201,139,.14)}
.adp-portal-main{min-width:0;padding:4px 4px 10px}
.adp-portal-topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:8px 4px 20px}
.adp-portal-topbar p{margin:0;color:var(--adp-muted);font-size:12px}.adp-portal-topbar h1{margin:2px 0 0;font-size:25px;line-height:1.3;font-weight:800;color:var(--adp-ink)}
.adp-portal-topbar-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.adp-portal-segmented{display:inline-flex;padding:4px;background:#e8f1f6;border-radius:12px}.adp-portal-segmented button{border:0;background:transparent;color:var(--adp-muted);padding:7px 13px;border-radius:9px;font-weight:700;font-size:12px}.adp-portal-segmented button.is-active{background:#fff;color:var(--adp-ink);box-shadow:0 4px 14px rgba(15,23,42,.08)}
.adp-portal-button{border:1px solid var(--adp-line);background:#fff;color:var(--adp-ink);border-radius:11px;padding:9px 14px;font-weight:800;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:.18s ease;text-decoration:none}.adp-portal-button:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(15,23,42,.08)}.adp-portal-button:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}
.adp-portal-button--primary{background:var(--adp-orange);color:#fff;border-color:var(--adp-orange);box-shadow:0 10px 20px rgba(252,144,18,.2)}.adp-portal-button--secondary{background:var(--adp-cyan);color:#fff;border-color:var(--adp-cyan)}.adp-portal-button--quiet{background:#fff}.adp-portal-button--danger{color:var(--adp-danger);border-color:#fecaca;background:#fff5f5;padding:7px 10px}
.adp-portal-content{display:flex;flex-direction:column;gap:18px}
.adp-portal-hero{background:linear-gradient(135deg,#fff 0%,#fff8ef 100%);border:1px solid #f3ddc3;border-radius:22px;padding:24px;display:flex;justify-content:space-between;align-items:center;gap:20px;overflow:hidden;position:relative}.adp-portal-hero:after{content:"</>";position:absolute;inset-inline-end:24%;top:-26px;color:rgba(252,144,18,.06);font:800 120px/1 ui-monospace,monospace;direction:ltr}.adp-portal-hero>div{position:relative;z-index:1}.adp-portal-hero h2{font-size:21px;line-height:1.55;max-width:720px;margin:5px 0 7px;font-weight:800}.adp-portal-hero p{margin:0;color:var(--adp-muted);font-size:12px}.adp-portal-hero p code{color:var(--adp-cyan)}
.adp-portal-hero-status{min-width:170px;padding:16px;background:#fff;border:1px solid var(--adp-line);border-radius:16px;display:grid;grid-template-columns:auto 1fr;gap:1px 10px;align-items:center;box-shadow:0 12px 28px rgba(15,23,42,.06)}.adp-portal-hero-status .adp-portal-status-dot{grid-row:1/3}.adp-portal-hero-status strong,.adp-portal-hero-status small{display:block}.adp-portal-hero-status strong{font-size:12px}.adp-portal-hero-status small{color:var(--adp-muted);font-size:10px}
.adp-portal-eyebrow{font-size:10px;font-weight:800;letter-spacing:.08em;color:var(--adp-orange);text-transform:uppercase}
.adp-portal-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.adp-portal-metric-card{background:#fff;border:1px solid var(--adp-line);border-radius:17px;padding:17px;display:flex;gap:13px;align-items:center;box-shadow:0 8px 24px rgba(15,23,42,.04)}.adp-portal-metric-card>span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--adp-soft);color:var(--adp-cyan);font-weight:900}.adp-portal-metric-card small,.adp-portal-metric-card strong{display:block}.adp-portal-metric-card small{color:var(--adp-muted);font-size:10px}.adp-portal-metric-card strong{font-size:23px;line-height:1.25;color:var(--adp-ink)}
.adp-portal-two-column{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.8fr);gap:14px}.adp-portal-panel{background:#fff;border:1px solid var(--adp-line);border-radius:18px;padding:18px;box-shadow:0 8px 24px rgba(15,23,42,.04);min-width:0}.adp-portal-panel-head,.adp-portal-section-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.adp-portal-panel-head h3,.adp-portal-section-head h2{margin:3px 0 0;font-weight:800;color:var(--adp-ink)}.adp-portal-panel-head h3{font-size:16px}.adp-portal-section-head h2{font-size:23px}.adp-portal-panel-head p,.adp-portal-section-head p{margin:3px 0 0;color:var(--adp-muted);font-size:11px;max-width:620px}
.adp-portal-security-card{display:flex;align-items:center;gap:16px;background:linear-gradient(145deg,var(--adp-slate-900),var(--adp-slate-800));color:#fff;border-color:transparent}.adp-portal-security-card h3{color:#fff;margin:3px 0}.adp-portal-security-card p{margin:0;color:#cbd5e1;font-size:11px}.adp-portal-security-icon{width:48px;height:48px;border-radius:15px;background:rgba(0,189,221,.15);color:#6ee7f7;display:grid;place-items:center;font-weight:900;font-size:20px}
.adp-portal-chart{height:220px;display:flex;gap:13px;align-items:flex-end;padding-top:22px}.adp-portal-chart-column{height:100%;flex:1;display:grid;grid-template-rows:1fr auto auto;align-items:end;gap:3px;text-align:center;min-width:0}.adp-portal-chart-column span{display:block;width:66%;min-height:4px;margin:auto;background:linear-gradient(180deg,var(--adp-cyan),#77dff0);border-radius:8px 8px 3px 3px;transition:.2s ease}.adp-portal-chart-column small{font-size:9px;color:var(--adp-muted);direction:ltr}.adp-portal-chart-column b{font-size:9px;color:var(--adp-ink)}
.adp-portal-table-wrap{overflow:auto}.adp-portal-table{width:100%;border-collapse:collapse;min-width:720px;font-size:11px}.adp-portal-table th{text-align:start;color:var(--adp-muted);font-weight:700;padding:10px;border-bottom:1px solid var(--adp-line);white-space:nowrap}.adp-portal-table td{padding:12px 10px;border-bottom:1px solid #edf3f7;vertical-align:middle}.adp-portal-table tbody tr:last-child td{border-bottom:0}.adp-portal-table td strong,.adp-portal-table td small{display:block}.adp-portal-table td small{color:var(--adp-muted);font-size:9px}.adp-portal-table code{font-size:10px;color:#334155}
.adp-method{display:inline-flex;min-width:48px;justify-content:center;padding:4px 7px;border-radius:7px;font-size:9px;font-weight:900;direction:ltr}.adp-method.is-get{background:#e6fafd;color:#0489a1}.adp-method.is-post{background:#fff1de;color:#c86b00}
.adp-status-code{display:inline-flex;padding:4px 7px;border-radius:7px;font-size:9px;font-weight:900;direction:ltr}.adp-status-code.is-success{background:#e9fbf4;color:#087f5b}.adp-status-code.is-error{background:#fff0f0;color:#c92a2a}
.adp-portal-link-button{border:0;background:transparent;color:var(--adp-cyan);font-weight:800;padding:4px;font-size:11px;text-decoration:none}.adp-portal-link-button:hover{color:var(--adp-orange)}
.adp-portal-section-head{padding:4px 2px 2px}.adp-portal-base-url{background:#fff;border:1px solid var(--adp-line);border-radius:13px;padding:8px 10px;display:flex;gap:8px;align-items:center;max-width:100%}.adp-portal-base-url small{color:var(--adp-muted);font-size:9px}.adp-portal-base-url code{font-size:10px}.adp-portal-base-url button{border:0;background:var(--adp-soft);border-radius:7px;padding:5px 8px;font-size:9px;font-weight:800}
.adp-portal-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.adp-portal-project-card{background:#fff;border:1px solid var(--adp-line);border-radius:18px;padding:18px;display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:start;box-shadow:0 8px 24px rgba(15,23,42,.04)}.adp-portal-project-icon{width:48px;height:48px;border-radius:15px;background:var(--adp-warm);color:var(--adp-orange);display:grid;place-items:center;font-weight:900}.adp-portal-project-main h3{margin:5px 0 4px;font-size:16px}.adp-portal-project-main>code{font-size:10px;color:var(--adp-muted)}.adp-portal-project-meta{display:flex;gap:14px;margin-top:12px;color:var(--adp-muted);font-size:9px}
.adp-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:9px;font-weight:800}.adp-badge.is-test{background:#e6fafd;color:#07889e}.adp-badge.is-live{background:#fff0df;color:#bd6200}.adp-badge.is-active{background:#e9fbf4;color:#087f5b}.adp-badge.is-revoked,.adp-badge.is-expired{background:#f1f5f9;color:#64748b}
.adp-ability-list{display:flex;flex-wrap:wrap;gap:4px}.adp-ability-list span{background:var(--adp-soft);border:1px solid var(--adp-line);border-radius:6px;padding:2px 5px;font-size:8px;direction:ltr}
.adp-portal-empty{padding:24px;text-align:center;color:var(--adp-muted);font-size:12px}.adp-portal-empty--large{min-height:220px;border:1px dashed #cbdbe4;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}.adp-portal-empty--large strong{color:var(--adp-ink)}
.adp-portal-doc-list{display:grid;gap:13px}.adp-portal-doc-card{background:#fff;border:1px solid var(--adp-line);border-radius:17px;padding:17px;box-shadow:0 8px 24px rgba(15,23,42,.035)}.adp-portal-doc-summary{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.adp-portal-doc-summary>code{font-size:12px;font-weight:700}.adp-portal-doc-summary .adp-badge{margin-inline-start:auto}.adp-portal-doc-card>p{color:var(--adp-muted);font-size:11px;margin:9px 0}.adp-portal-doc-meta{font-size:10px;margin-bottom:8px}.adp-portal-doc-card details{margin:8px 0}.adp-portal-doc-card summary{cursor:pointer;font-weight:800;font-size:10px;color:var(--adp-cyan)}
.adp-code-panel{background:var(--adp-slate-900);color:#e2e8f0;border-radius:15px;position:relative;overflow:hidden}.adp-code-panel pre{margin:0;padding:18px;overflow:auto;min-height:120px;direction:ltr;text-align:left}.adp-code-panel code{font-size:11px;line-height:1.7;white-space:pre-wrap;word-break:break-word}.adp-code-panel>button{position:absolute;top:10px;inset-inline-end:10px;border:1px solid #334155;background:#1e293b;color:#cbd5e1;border-radius:7px;padding:5px 8px;font-size:9px;z-index:1}.adp-code-panel-head{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #26354a}.adp-code-panel-head strong{font-size:11px}.adp-code-panel--response pre{min-height:440px;max-height:620px}
.adp-portal-playground-grid{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(0,1.2fr);gap:14px;align-items:stretch}.adp-portal-form{display:flex;flex-direction:column;gap:14px}.adp-portal-form label{display:flex;flex-direction:column;gap:6px}.adp-portal-form label>span,.adp-portal-form legend{font-size:10px;font-weight:800;color:var(--adp-ink)}.adp-portal-form input,.adp-portal-form select,.adp-portal-form textarea{width:100%;border:1px solid var(--adp-line);background:#fff;color:var(--adp-ink);border-radius:10px;padding:10px 11px;outline:0;font-size:11px}.adp-portal-form input:focus,.adp-portal-form select:focus,.adp-portal-form textarea:focus{border-color:var(--adp-cyan);box-shadow:0 0 0 3px rgba(0,189,221,.1)}.adp-portal-form textarea{resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.adp-portal-form-row{display:grid;grid-template-columns:110px 1fr;gap:10px}.adp-portal-form .is-hidden{display:none}.adp-portal-form fieldset{border:1px solid var(--adp-line);border-radius:12px;padding:12px;margin:0}.adp-portal-form legend{padding:0 5px}.adp-portal-ability-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.adp-check{display:flex!important;flex-direction:row!important;align-items:center;gap:7px!important;background:var(--adp-soft);border-radius:8px;padding:7px}.adp-check input{width:auto!important}.adp-check span{font-size:9px!important;direction:ltr}
.adp-portal-toast{position:fixed;top:22px;inset-inline-end:22px;z-index:99999;max-width:360px;padding:12px 16px;border-radius:12px;color:#fff;font-weight:800;font-size:11px;box-shadow:0 14px 35px rgba(15,23,42,.22)}.adp-portal-toast.is-success{background:#087f5b}.adp-portal-toast.is-error{background:#c92a2a}
.adp-portal-modal-backdrop{position:fixed;inset:0;z-index:99998;background:rgba(15,23,42,.58);backdrop-filter:blur(4px);display:grid;place-items:center;padding:20px}.adp-portal-modal{width:min(470px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:20px;padding:24px;position:relative;box-shadow:0 30px 80px rgba(15,23,42,.3)}.adp-portal-modal--wide{width:min(620px,100%)}.adp-portal-modal h2{margin:4px 0 18px;font-size:21px;font-weight:800}.adp-portal-modal>p{color:var(--adp-muted);font-size:11px}.adp-portal-modal-close{position:absolute;top:12px;inset-inline-end:12px;width:32px;height:32px;border:0;border-radius:10px;background:var(--adp-soft);color:var(--adp-muted);font-size:20px;line-height:1}.adp-portal-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.adp-portal-modal-actions--stack{flex-direction:column}.adp-portal-modal--secret{text-align:center}.adp-portal-secret-icon{width:58px;height:58px;border-radius:18px;background:var(--adp-warm);color:var(--adp-orange);display:grid;place-items:center;margin:0 auto 10px;font-size:28px;font-weight:900}.adp-portal-secret-value{display:flex;gap:7px;align-items:center;background:var(--adp-slate-900);padding:10px;border-radius:12px;margin:16px 0;direction:ltr}.adp-portal-secret-value code{color:#fff;overflow:auto;white-space:nowrap;flex:1;text-align:left;font-size:10px}.adp-portal-secret-value button{border:0;background:#334155;color:#fff;border-radius:7px;padding:6px 8px;font-size:9px}
.adp-portal-loading,.adp-portal-error,.adp-portal-guest-card{min-height:520px;border:1px solid var(--adp-line);background:#fff;border-radius:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:30px;box-shadow:0 20px 60px rgba(15,23,42,.07)}.adp-portal-loading strong,.adp-portal-error h2,.adp-portal-guest-card h2{margin:0;font-size:20px}.adp-portal-loading small,.adp-portal-error p,.adp-portal-guest-card p,.adp-portal-guest-card small{max-width:520px;color:var(--adp-muted);font-size:11px}.adp-portal-spinner{width:38px;height:38px;border:3px solid var(--adp-line);border-top-color:var(--adp-orange);border-radius:50%;animation:adpPortalSpin .8s linear infinite}@keyframes adpPortalSpin{to{transform:rotate(360deg)}}
.adp-portal-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;color:var(--adp-muted);font-size:9px;padding:10px 5px 0}.adp-portal-footer code{font-size:9px}
@media(max-width:1024px){.adp-portal-shell{grid-template-columns:1fr}.adp-portal-sidebar{position:static;min-height:auto;max-height:none}.adp-portal-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding-bottom:8px}.adp-portal-nav-item{justify-content:center}.adp-portal-nav-item span{display:none}.adp-portal-sidebar-status{display:none}.adp-portal-brand{border-bottom:0}.adp-portal-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.adp-portal-shell{padding:10px;border-radius:20px;gap:12px}.adp-portal-sidebar{padding:12px;border-radius:16px}.adp-portal-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.adp-portal-nav-item{padding:8px 6px;font-size:10px}.adp-portal-topbar{align-items:flex-start;flex-direction:column}.adp-portal-topbar-actions{width:100%;justify-content:flex-start}.adp-portal-hero{align-items:flex-start;flex-direction:column}.adp-portal-hero-status{width:100%}.adp-portal-metric-grid,.adp-portal-two-column,.adp-portal-project-grid,.adp-portal-playground-grid{grid-template-columns:1fr}.adp-portal-section-head{flex-direction:column}.adp-portal-base-url{width:100%;overflow:auto}.adp-portal-chart{gap:5px;height:180px}.adp-portal-project-card{grid-template-columns:auto 1fr}.adp-portal-project-card>.adp-portal-link-button{grid-column:1/-1}.adp-portal-form-row{grid-template-columns:1fr}.adp-portal-ability-grid{grid-template-columns:1fr}.adp-portal-footer{flex-direction:column;align-items:flex-start}.adp-code-panel--response pre{min-height:300px}}
@media(max-width:480px){.adp-portal-metric-grid{grid-template-columns:1fr}.adp-portal-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.adp-portal-brand-mark{width:38px;height:38px}.adp-portal-modal{padding:20px 15px}.adp-portal-modal-actions{flex-direction:column}.adp-portal-modal-actions .adp-portal-button{width:100%}}
@media(prefers-reduced-motion:reduce){.adp-portal *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Public developer account access */
.adp-auth-shell{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(360px,1fr);min-height:680px;border:1px solid var(--adp-line);border-radius:28px;overflow:hidden;background:var(--adp-white);box-shadow:0 24px 70px rgba(23,32,51,.08)}
.adp-auth-shell--single{display:grid;grid-template-columns:1fr;place-items:center;padding:30px;background:var(--adp-soft)}
.adp-auth-intro{position:relative;display:flex;flex-direction:column;justify-content:center;gap:24px;padding:52px;background:linear-gradient(145deg,var(--adp-slate-900),#172a42);color:var(--adp-white);overflow:hidden}
.adp-auth-intro:after{content:"</>";position:absolute;inset-inline-end:-24px;bottom:-30px;color:rgba(255,255,255,.05);font:800 180px/1 ui-monospace,monospace;direction:ltr}
.adp-auth-intro>*{position:relative;z-index:1}
.adp-auth-brand{display:flex;align-items:center;gap:12px}
.adp-auth-brand strong,.adp-auth-brand small{display:block}.adp-auth-brand strong{font-size:17px}.adp-auth-brand small{color:#a9bdd1;font-size:11px}
.adp-auth-intro h1{margin:0;max-width:540px;font-size:30px;line-height:1.55;font-weight:800;color:var(--adp-white)}
.adp-auth-intro>small{color:#9fb2c7;font-size:11px}
.adp-auth-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.adp-auth-features span{padding:12px 14px;border:1px solid rgba(255,255,255,.12);border-radius:13px;background:rgba(255,255,255,.05);font-size:11px;font-weight:700}
.adp-auth-card{align-self:center;margin:36px;padding:34px;border:1px solid var(--adp-line);border-radius:22px;background:var(--adp-white);box-shadow:0 18px 46px rgba(15,23,42,.08)}
.adp-auth-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:8px}
.adp-auth-card-head h2{margin:3px 0 0;font-size:25px;font-weight:800;color:var(--adp-ink)}
.adp-auth-hint{margin:0 0 20px;color:var(--adp-muted);font-size:11px}
.adp-auth-form{gap:12px}.adp-auth-form label>small{color:var(--adp-muted);font-size:9px}
.adp-auth-form .adp-portal-button--primary{width:100%;min-height:43px;margin-top:3px}
.adp-auth-agreement{background:transparent;border:0;padding:2px!important;align-items:flex-start!important}
.adp-auth-agreement a{color:var(--adp-ink);text-decoration:none}.adp-auth-agreement a:hover{color:var(--adp-cyan)}
.adp-auth-honeypot{position:absolute!important;inline-size:1px!important;block-size:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
.adp-auth-links{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.adp-auth-text-button{border:0;background:transparent;color:var(--adp-cyan);padding:4px 0;font-size:10px;font-weight:800;text-decoration:none}
.adp-auth-text-button:hover{color:var(--adp-orange)}
.adp-auth-resend{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding-top:12px;border-top:1px solid var(--adp-line)}
.adp-auth-resend input{min-width:0;border:1px solid var(--adp-line);border-radius:9px;padding:8px 10px;font-size:10px}
.adp-auth-message{margin:14px 0;padding:11px 13px;border-radius:11px;font-size:10px;font-weight:700}
.adp-auth-message.is-success{background:#e9fbf4;color:#087f5b;border:1px solid #b9efdc}
.adp-auth-message.is-error{background:#fff0f0;color:#c92a2a;border:1px solid #ffd0d0}
.adp-auth-status-card{width:min(520px,100%);min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:34px;border:1px solid var(--adp-line);border-radius:22px;background:var(--adp-white);text-align:center;box-shadow:0 18px 46px rgba(15,23,42,.08)}
.adp-auth-status-card h2{margin:0;font-size:23px}.adp-auth-status-card p{margin:0;color:var(--adp-muted);font-size:11px}
@media(max-width:900px){.adp-auth-shell{grid-template-columns:1fr}.adp-auth-intro{padding:34px;min-height:330px}.adp-auth-intro h1{font-size:24px}.adp-auth-card{margin:22px}}
@media(max-width:560px){.adp-auth-intro{padding:25px}.adp-auth-features{grid-template-columns:1fr}.adp-auth-card{margin:12px;padding:22px 16px}.adp-auth-card-head{flex-direction:column}.adp-auth-resend{grid-template-columns:1fr}.adp-auth-links{flex-direction:column;align-items:flex-start}}

/* Existing WordPress account developer activation */
.adp-existing-activation .adp-auth-status-card{min-height:430px}
.adp-existing-activation-email{width:100%;display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:1px solid var(--adp-line);border-radius:12px;background:var(--adp-soft);direction:ltr}
.adp-existing-activation-email small{color:var(--adp-muted);font-size:9px}
.adp-existing-activation-email strong{color:var(--adp-ink);font-size:12px;overflow-wrap:anywhere}
.adp-existing-activation .adp-auth-form{width:100%;max-width:420px}
.adp-existing-activation .adp-auth-links{width:100%;max-width:420px;margin-top:4px}

/* Project actions — v0.7.0 */
.adp-portal-project-card{position:relative}.adp-portal-project-card.is-archived{background:#f8fafc;border-style:dashed;opacity:.92}.adp-portal-project-card.is-archived .adp-portal-project-icon{background:#eef2f7;color:var(--adp-muted)}.adp-portal-project-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.adp-portal-project-title-row .adp-badge+.adp-badge{margin-inline-start:5px}.adp-badge.is-archived{background:#eef2f7;color:#475569;border-color:#cbd5e1}.adp-project-actions{position:relative;flex:0 0 auto}.adp-project-menu-trigger{width:34px;height:34px;border:1px solid var(--adp-line);border-radius:10px;background:#fff;color:var(--adp-ink);font-size:20px;line-height:1;display:grid;place-items:center;cursor:pointer}.adp-project-menu-trigger:hover,.adp-project-menu-trigger[aria-expanded="true"]{border-color:var(--adp-orange);color:var(--adp-orange);background:var(--adp-warm)}.adp-project-action-menu{position:absolute;z-index:30;inset-inline-end:0;top:40px;min-width:190px;background:#fff;border:1px solid var(--adp-line);border-radius:13px;padding:6px;box-shadow:0 18px 45px rgba(15,23,42,.16)}.adp-project-action-menu button{width:100%;border:0;background:transparent;border-radius:9px;padding:10px 11px;text-align:start;color:var(--adp-ink);font-family:inherit;font-size:11px;cursor:pointer}.adp-project-action-menu button:hover{background:var(--adp-soft)}.adp-project-action-menu button.is-danger{color:var(--adp-danger)}.adp-project-action-menu button.is-danger:hover{background:#fff1f2}.adp-project-filter{display:inline-flex;align-items:center;gap:8px;margin-top:9px;padding:6px 9px;border:1px solid #bae6fd;background:#f0f9ff;border-radius:10px;color:#075985;font-size:10px}.adp-project-filter button{border:0;background:transparent;color:#0284c7;text-decoration:underline;font-family:inherit;font-size:9px;cursor:pointer}.adp-portal-button--danger-solid{background:var(--adp-danger);border-color:var(--adp-danger);color:#fff;box-shadow:0 10px 20px rgba(220,38,38,.18)}.adp-portal-modal--danger{border-top:4px solid var(--adp-danger)}.adp-portal-danger-icon{width:52px;height:52px;border-radius:16px;background:#fff1f2;color:var(--adp-danger);display:grid;place-items:center;font-size:25px;font-weight:900;margin-bottom:10px}
@media(max-width:760px){.adp-project-action-menu{position:fixed;inset-inline:18px;top:auto;bottom:18px;min-width:0}.adp-portal-project-title-row{gap:8px}}

/* ADP PROJECT ACTION BUTTON FIX START */
.adp-portal [data-project-actions-toggle],
.adp-portal .adp-project-actions-toggle,
.adp-portal .adp-project-card button[aria-haspopup="menu"],
.adp-portal .adp-project-card [data-menu-trigger="project-actions"]{
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    min-width:0 !important;
    width:44px !important;
    height:44px !important;
    padding:0 !important;
    margin:0 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    line-height:1 !important;
    font-size:30px !important;
    font-weight:700 !important;
    color:var(--adp-ink,#172033) !important;
    border-radius:0 !important;
    vertical-align:middle !important;
}

.adp-portal [data-project-actions-toggle]:hover,
.adp-portal .adp-project-actions-toggle:hover,
.adp-portal .adp-project-card button[aria-haspopup="menu"]:hover,
.adp-portal .adp-project-card [data-menu-trigger="project-actions"]:hover,
.adp-portal [data-project-actions-toggle]:focus,
.adp-portal .adp-project-actions-toggle:focus,
.adp-portal .adp-project-card button[aria-haspopup="menu"]:focus,
.adp-portal .adp-project-card [data-menu-trigger="project-actions"]:focus{
    background:transparent !important;
    box-shadow:none !important;
    outline:none !important;
}

.adp-portal [data-project-actions-toggle] span,
.adp-portal .adp-project-actions-toggle span,
.adp-portal .adp-project-card button[aria-haspopup="menu"] span,
.adp-portal .adp-project-card [data-menu-trigger="project-actions"] span{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    line-height:1 !important;
    font-size:30px !important;
    font-weight:700 !important;
    transform:none !important;
}

.adp-portal [data-project-actions-toggle] svg,
.adp-portal .adp-project-actions-toggle svg,
.adp-portal .adp-project-card button[aria-haspopup="menu"] svg,
.adp-portal .adp-project-card [data-menu-trigger="project-actions"] svg{
    width:24px !important;
    height:24px !important;
    display:block !important;
    margin:0 auto !important;
}

.adp-portal .adp-project-card .adp-project-actions,
.adp-portal .adp-project-card .adp-project-header-actions{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
}
/* ADP PROJECT ACTION BUTTON FIX END */

/* ==========================================================
   ADP_API_AUTH_HERO_MODAL_V1
   Public API entry hero + authentication modal
   ========================================================== */

.adp-api-entry-hero{
    position:relative;
    width:100%;
    max-width:1440px;
    margin:0 auto 28px;
    overflow:hidden;
    background:#fff;
    border:1px solid var(--adp-line);
    border-radius:28px;
    box-shadow:0 20px 60px rgba(23,32,51,.08);
}

.adp-api-entry-hero-image{
    display:block;
    width:100%;
    height:auto;
    margin:0;
    object-fit:contain;
}

.adp-api-entry-hero-footer{
    position:absolute;
    z-index:3;
    inset-inline:0;
    bottom:clamp(18px,3vw,36px);
    display:flex;
    justify-content:center;
    align-items:center;
    pointer-events:none;
}

.adp-api-entry-button{
    pointer-events:auto;
    min-width:min(290px,calc(100% - 42px));
    min-height:54px;
    padding:12px 30px;
    border:1px solid rgba(255,255,255,.58);
    border-radius:14px;
    background:linear-gradient(
        135deg,
        var(--adp-orange),
        #ffab3d
    );
    color:#fff;
    font-family:"Cairo",sans-serif;
    font-size:16px;
    font-weight:700;
    line-height:1.4;
    cursor:pointer;
    box-shadow:
        0 14px 32px rgba(252,144,18,.3),
        0 2px 7px rgba(23,32,51,.1);
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.adp-api-entry-button:hover,
.adp-api-entry-button:focus-visible{
    transform:translateY(-2px);
    box-shadow:
        0 18px 38px rgba(252,144,18,.35),
        0 3px 9px rgba(23,32,51,.12);
}

.adp-auth-modal-backdrop{
    position:fixed;
    inset:0;
    z-index:100000;
    display:grid;
    place-items:center;
    padding:22px;
    background:rgba(15,23,42,.63);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
}

.adp-auth-modal{
    position:relative;
    width:min(520px,100%);
    max-height:92vh;
    overflow:auto;
    padding:32px;
    background:var(--adp-white);
    border:1px solid var(--adp-line);
    border-radius:24px;
    box-shadow:0 30px 90px rgba(15,23,42,.35);
    direction:rtl;
    text-align:right;
}

.adp-auth-modal[dir="ltr"],
html[lang="en"] .adp-auth-modal{
    direction:ltr;
    text-align:left;
}

.adp-auth-modal-close{
    position:absolute;
    z-index:5;
    top:13px;
    inset-inline-end:13px;
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    padding:0;
    border:0;
    border-radius:11px;
    background:var(--adp-soft);
    color:var(--adp-muted);
    font-family:"Montserrat",sans-serif;
    font-size:23px;
    line-height:1;
    cursor:pointer;
}

.adp-auth-google-button{
    width:100%;
    min-height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin:17px 0 14px;
    padding:10px 16px;
    border:1px solid var(--adp-line);
    border-radius:12px;
    background:#fff;
    color:var(--adp-ink)!important;
    text-decoration:none!important;
    font-family:"Cairo",sans-serif;
    font-size:13px;
    font-weight:700;
    box-shadow:0 6px 18px rgba(15,23,42,.04);
    transition:.18s ease;
}

.adp-auth-google-button:hover,
.adp-auth-google-button:focus{
    border-color:#c6d7e2;
    transform:translateY(-1px);
    box-shadow:0 9px 24px rgba(15,23,42,.07);
}

.adp-auth-google-mark{
    width:25px;
    height:25px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border:1px solid #e2e8f0;
    border-radius:50%;
    background:#fff;
    color:#4285f4;
    font-family:"Montserrat",sans-serif!important;
    font-size:14px;
    font-weight:800;
}

.adp-auth-divider{
    display:flex;
    align-items:center;
    gap:11px;
    margin:10px 0 17px;
    color:var(--adp-muted);
    font-size:10px;
}

.adp-auth-divider::before,
.adp-auth-divider::after{
    height:1px;
    flex:1;
    background:var(--adp-line);
    content:"";
}

.adp-auth-modal .adp-auth-card-head{
    padding-inline-end:40px;
    margin-bottom:16px;
}

.adp-auth-modal .adp-auth-form{
    margin-top:10px;
}

body:has(.adp-auth-modal-backdrop){
    overflow:hidden;
}

@media(max-width:760px){
    .adp-api-entry-hero{
        border-radius:20px;
    }

    .adp-api-entry-hero-footer{
        bottom:14px;
    }

    .adp-api-entry-button{
        min-height:48px;
        min-width:min(250px,calc(100% - 30px));
        padding:10px 20px;
        font-size:14px;
    }

    .adp-auth-modal-backdrop{
        padding:12px;
    }

    .adp-auth-modal{
        padding:25px 17px 20px;
        border-radius:19px;
    }
}

@media(max-width:480px){
    .adp-api-entry-hero-footer{
        position:static;
        padding:14px;
        background:#fff;
    }

    .adp-api-entry-button{
        width:100%;
        min-width:0;
    }
}

/* ==========================================================
   ADP_DEVELOPER_DASHBOARD_V1
   Professional overview dashboard
   ========================================================== */

.adp-dashboard-v1{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.adp-dash-welcome{
    position:relative;
    overflow:hidden;
    display:grid;
    grid-template-columns:minmax(0,1.55fr) minmax(260px,.65fr);
    gap:20px;
    padding:26px;
    border:1px solid #e8dccb;
    border-radius:22px;
    background:
        radial-gradient(
            circle at 92% 0%,
            rgba(0,189,221,.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            var(--adp-warm) 100%
        );
    box-shadow:0 12px 34px rgba(23,32,51,.055);
}

.adp-dash-welcome:before{
    content:"API";
    position:absolute;
    inset-inline-end:34%;
    top:-54px;
    color:rgba(252,144,18,.045);
    font:800 150px/1 "Montserrat",sans-serif;
    pointer-events:none;
}

.adp-dash-welcome-copy,
.adp-dash-health{
    position:relative;
    z-index:1;
}

.adp-dash-heading-row{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.adp-dash-account-scope{
    display:inline-flex;
    align-items:center;
    padding:4px 8px;
    border:1px solid var(--adp-line);
    border-radius:999px;
    background:rgba(255,255,255,.82);
    color:var(--adp-muted);
    font-size:9px;
    font-weight:700;
}

.adp-dash-welcome h2{
    max-width:720px;
    margin:8px 0 7px;
    color:var(--adp-ink);
    font-size:24px;
    line-height:1.45;
    font-weight:800;
}

.adp-dash-welcome p{
    max-width:680px;
    margin:0;
    color:var(--adp-muted);
    font-size:12px;
}

.adp-dash-welcome-actions{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-top:18px;
}

.adp-dash-health{
    align-self:stretch;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:18px;
    padding:18px;
    border:1px solid rgba(220,231,238,.9);
    border-radius:18px;
    background:rgba(255,255,255,.92);
    box-shadow:0 14px 32px rgba(15,23,42,.07);
}

.adp-dash-health-top{
    display:flex;
    align-items:center;
    gap:12px;
}

.adp-dash-health-top small,
.adp-dash-health-top strong{
    display:block;
}

.adp-dash-health-top small{
    color:var(--adp-muted);
    font-size:9px;
}

.adp-dash-health-top strong{
    margin-top:1px;
    color:var(--adp-ink);
    font-size:14px;
}

.adp-dash-health-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px;
}

.adp-dash-health-grid>div{
    min-width:0;
    padding:10px 8px;
    border-radius:11px;
    background:var(--adp-soft);
}

.adp-dash-health-grid small,
.adp-dash-health-grid strong{
    display:block;
}

.adp-dash-health-grid small{
    overflow:hidden;
    color:var(--adp-muted);
    font-size:8px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.adp-dash-health-grid strong{
    margin-top:2px;
    color:var(--adp-ink);
    font-size:15px;
    line-height:1.3;
}

.adp-dash-health-grid strong span{
    color:var(--adp-muted);
    font-size:8px;
    font-weight:600;
}

.adp-dash-metrics{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
}

.adp-dash-metric{
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
    padding:17px;
    border:1px solid var(--adp-line);
    border-radius:17px;
    background:#fff;
    box-shadow:0 8px 22px rgba(15,23,42,.04);
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.adp-dash-metric:hover{
    transform:translateY(-2px);
    box-shadow:0 13px 30px rgba(15,23,42,.07);
}

.adp-dash-metric-icon{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border-radius:13px;
    background:var(--adp-soft);
    color:var(--adp-cyan);
    font-weight:900;
}

.adp-dash-metric-copy{
    min-width:0;
}

.adp-dash-metric-copy small,
.adp-dash-metric-copy strong,
.adp-dash-metric-copy em{
    display:block;
}

.adp-dash-metric-copy small{
    color:var(--adp-muted);
    font-size:9px;
    font-style:normal;
}

.adp-dash-metric-copy strong{
    margin-top:1px;
    color:var(--adp-ink);
    font-size:24px;
    line-height:1.2;
}

.adp-dash-metric-copy em{
    overflow:hidden;
    margin-top:3px;
    color:#94a3b8;
    font-size:8px;
    font-style:normal;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.adp-dash-getting-started,
.adp-dash-actions-panel{
    padding:19px;
    border:1px solid var(--adp-line);
    border-radius:19px;
    background:#fff;
    box-shadow:0 8px 24px rgba(15,23,42,.04);
}

.adp-dash-panel-heading{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
}

.adp-dash-panel-heading h3{
    margin:3px 0 0;
    color:var(--adp-ink);
    font-size:17px;
    font-weight:800;
}

.adp-dash-panel-heading p{
    max-width:650px;
    margin:4px 0 0;
    color:var(--adp-muted);
    font-size:10px;
}

.adp-dash-progress-value{
    text-align:end;
}

.adp-dash-progress-value strong,
.adp-dash-progress-value small{
    display:block;
}

.adp-dash-progress-value strong{
    color:var(--adp-orange);
    font-size:19px;
}

.adp-dash-progress-value small{
    color:var(--adp-muted);
    font-size:9px;
}

.adp-dash-progress{
    height:7px;
    margin:15px 0 17px;
    overflow:hidden;
    border-radius:999px;
    background:#edf3f7;
}

.adp-dash-progress span{
    display:block;
    height:100%;
    border-radius:inherit;
    background:linear-gradient(
        90deg,
        var(--adp-orange),
        var(--adp-cyan)
    );
    transition:width .3s ease;
}

.adp-dash-steps{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:9px;
}

.adp-dash-step{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    gap:9px;
    align-items:start;
    min-width:0;
    padding:12px;
    border:1px solid var(--adp-line);
    border-radius:14px;
    background:var(--adp-soft);
}

.adp-dash-step.is-complete{
    border-color:#c9eee1;
    background:#f2fcf8;
}

.adp-dash-step-number{
    width:27px;
    height:27px;
    display:grid;
    place-items:center;
    border-radius:9px;
    background:#fff;
    color:var(--adp-muted);
    font-size:10px;
    font-weight:900;
    box-shadow:0 3px 10px rgba(15,23,42,.05);
}

.adp-dash-step.is-complete .adp-dash-step-number{
    background:#e3f8f0;
    color:#087f5b;
}

.adp-dash-step strong{
    display:block;
    color:var(--adp-ink);
    font-size:10px;
}

.adp-dash-step p{
    min-height:38px;
    margin:3px 0 6px;
    color:var(--adp-muted);
    font-size:8.5px;
}

.adp-dash-step .adp-portal-link-button{
    grid-column:2;
    justify-self:start;
}

.adp-portal-link-button:disabled{
    opacity:.4;
    cursor:not-allowed;
}

.adp-dash-actions-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    margin-top:14px;
}

.adp-dash-action{
    width:100%;
    min-width:0;
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:10px;
    padding:13px;
    border:1px solid var(--adp-line);
    border-radius:14px;
    background:#fff;
    color:var(--adp-ink);
    text-align:start;
    transition:.18s ease;
}

.adp-dash-action:hover:not(:disabled){
    border-color:#c4dbe5;
    background:var(--adp-soft);
    transform:translateY(-1px);
}

.adp-dash-action:disabled{
    opacity:.42;
    cursor:not-allowed;
}

.adp-dash-action-icon{
    width:35px;
    height:35px;
    display:grid;
    place-items:center;
    border-radius:11px;
    background:var(--adp-warm);
    color:var(--adp-orange);
    font-weight:900;
}

.adp-dash-action strong,
.adp-dash-action small{
    display:block;
}

.adp-dash-action strong{
    font-size:10px;
}

.adp-dash-action small{
    margin-top:2px;
    color:var(--adp-muted);
    font-size:8px;
    line-height:1.45;
}

.adp-dash-action>b{
    color:var(--adp-cyan);
    font-size:14px;
}

.adp-dash-main-grid{
    display:grid;
    grid-template-columns:minmax(0,1.65fr) minmax(260px,.7fr);
    gap:14px;
}

.adp-dash-chart-total{
    color:var(--adp-ink);
    font-size:25px;
    line-height:1;
}

.adp-dash-chart{
    gap:9px;
    height:230px;
}

.adp-dash-chart .adp-portal-chart-column{
    grid-template-rows:1fr auto auto;
}

.adp-dash-bar-track{
    position:relative;
    width:68%;
    height:100%;
    min-height:100px;
    margin:auto;
    overflow:hidden;
    border-radius:9px 9px 4px 4px;
    background:#eef5f8;
}

.adp-dash-bar-track span{
    position:absolute;
    inset-inline:0;
    bottom:0;
    width:100%;
    margin:0;
    border-radius:9px 9px 4px 4px;
    background:linear-gradient(
        180deg,
        var(--adp-cyan),
        #72dff1
    );
}

.adp-dash-summary-list{
    display:grid;
    gap:3px;
    margin-top:14px;
}

.adp-dash-summary-list>div{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    padding:10px 0;
    border-bottom:1px solid #edf3f7;
}

.adp-dash-summary-list>div:last-child{
    border-bottom:0;
}

.adp-dash-summary-list span{
    color:var(--adp-muted);
    font-size:9px;
}

.adp-dash-summary-list strong{
    color:var(--adp-ink);
    font-size:13px;
}

.adp-dash-summary-list strong.is-danger{
    color:var(--adp-danger);
}

.adp-dash-security-note{
    display:flex;
    gap:9px;
    align-items:flex-start;
    margin-top:13px;
    padding:11px;
    border-radius:12px;
    background:var(--adp-slate-900);
}

.adp-dash-security-note>span{
    width:25px;
    height:25px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border-radius:8px;
    background:rgba(0,189,221,.15);
    color:#6ee7f7;
    font-size:10px;
    font-weight:900;
}

.adp-dash-security-note p{
    margin:0;
    color:#cbd5e1;
    font-size:8.5px;
    line-height:1.6;
}

.adp-dash-activity-panel .adp-dash-panel-heading{
    margin-bottom:8px;
}

.adp-dash-empty-activity{
    min-height:220px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:30px;
    text-align:center;
}

.adp-dash-empty-activity>span{
    width:46px;
    height:46px;
    display:grid;
    place-items:center;
    margin-bottom:10px;
    border-radius:15px;
    background:var(--adp-soft);
    color:var(--adp-cyan);
    font-size:18px;
    font-weight:900;
}

.adp-dash-empty-activity strong{
    color:var(--adp-ink);
    font-size:13px;
}

.adp-dash-empty-activity p{
    max-width:480px;
    margin:5px 0 13px;
    color:var(--adp-muted);
    font-size:10px;
}

@media(max-width:1180px){
    .adp-dash-steps,
    .adp-dash-actions-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:1024px){
    .adp-dash-welcome,
    .adp-dash-main-grid{
        grid-template-columns:1fr;
    }

    .adp-dash-metrics{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:680px){
    .adp-dash-welcome{
        padding:19px;
    }

    .adp-dash-welcome h2{
        font-size:20px;
    }

    .adp-dash-health-grid{
        grid-template-columns:1fr;
    }

    .adp-dash-metrics,
    .adp-dash-steps,
    .adp-dash-actions-grid{
        grid-template-columns:1fr;
    }

    .adp-dash-panel-heading{
        flex-direction:column;
    }

    .adp-dash-progress-value{
        text-align:start;
    }

    .adp-dash-chart{
        height:185px;
        gap:4px;
    }
}

/* ==========================================================
   ADP_PROJECTS_UI_V1
   Professional projects workspace
   ========================================================== */

.adp-projects-v1{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.adp-projects-v1-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    padding:4px 2px;
}

.adp-projects-v1-head h2{
    margin:4px 0 3px;
    color:var(--adp-ink);
    font-size:24px;
    font-weight:800;
}

.adp-projects-v1-head p{
    max-width:680px;
    margin:0;
    color:var(--adp-muted);
    font-size:11px;
}

.adp-projects-v1-summary{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
}

.adp-projects-v1-summary article{
    padding:15px 16px;
    border:1px solid var(--adp-line);
    border-radius:15px;
    background:#fff;
    box-shadow:0 7px 20px rgba(15,23,42,.035);
}

.adp-projects-v1-summary small,
.adp-projects-v1-summary strong{
    display:block;
}

.adp-projects-v1-summary small{
    color:var(--adp-muted);
    font-size:9px;
}

.adp-projects-v1-summary strong{
    margin-top:2px;
    color:var(--adp-ink);
    font-size:22px;
}

.adp-projects-v1-toolbar{
    display:grid;
    grid-template-columns:minmax(240px,1fr) auto auto;
    gap:10px;
    align-items:center;
    padding:11px;
    border:1px solid var(--adp-line);
    border-radius:16px;
    background:#fff;
}

.adp-project-search{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
    padding:0 11px;
    border:1px solid var(--adp-line);
    border-radius:11px;
    background:var(--adp-soft);
}

.adp-project-search>span{
    color:var(--adp-muted);
    font-size:17px;
}

.adp-project-search input{
    width:100%;
    min-width:0;
    height:40px;
    padding:0;
    border:0;
    outline:0;
    background:transparent;
    color:var(--adp-ink);
    font-family:inherit;
    font-size:10px;
}

.adp-project-filter-tabs{
    display:inline-flex;
    gap:4px;
    padding:4px;
    border-radius:11px;
    background:var(--adp-soft);
}

.adp-project-filter-tabs button{
    display:flex;
    align-items:center;
    gap:5px;
    padding:7px 10px;
    border:0;
    border-radius:8px;
    background:transparent;
    color:var(--adp-muted);
    font-family:inherit;
    font-size:9px;
    font-weight:800;
}

.adp-project-filter-tabs button.is-active{
    background:#fff;
    color:var(--adp-ink);
    box-shadow:0 4px 12px rgba(15,23,42,.06);
}

.adp-project-filter-tabs span{
    display:grid;
    place-items:center;
    min-width:18px;
    height:18px;
    padding:0 4px;
    border-radius:999px;
    background:#e8f1f6;
    color:var(--adp-muted);
    font-size:8px;
}

.adp-project-sort{
    display:flex;
    align-items:center;
    gap:7px;
}

.adp-project-sort>span{
    color:var(--adp-muted);
    font-size:9px;
    font-weight:700;
}

.adp-project-sort select{
    min-height:40px;
    padding:0 10px;
    border:1px solid var(--adp-line);
    border-radius:10px;
    outline:0;
    background:#fff;
    color:var(--adp-ink);
    font-family:inherit;
    font-size:9px;
    font-weight:700;
}

.adp-projects-v1-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}

.adp-project-v1-card{
    position:relative;
    min-width:0;
    padding:18px;
    border:1px solid var(--adp-line);
    border-radius:19px;
    background:#fff;
    box-shadow:0 8px 24px rgba(15,23,42,.04);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.adp-project-v1-card:hover{
    transform:translateY(-2px);
    border-color:#cbdde6;
    box-shadow:0 14px 32px rgba(15,23,42,.07);
}

.adp-project-v1-card.is-archived{
    border-style:dashed;
    background:#f8fafc;
}

.adp-project-v1-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
}

.adp-project-v1-identity{
    display:flex;
    gap:12px;
    min-width:0;
}

.adp-project-v1-icon{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border-radius:15px;
    font-family:"Montserrat",sans-serif;
    font-size:15px;
    font-weight:800;
}

.adp-project-v1-icon.is-test{
    background:#e7faff;
    color:#07889e;
}

.adp-project-v1-icon.is-live{
    background:var(--adp-warm);
    color:#bd6200;
}

.adp-project-v1-badges{
    display:flex;
    align-items:center;
    gap:5px;
    flex-wrap:wrap;
}

.adp-project-v1-identity h3{
    margin:5px 0 2px;
    color:var(--adp-ink);
    font-size:16px;
    line-height:1.4;
    font-weight:800;
}

.adp-project-v1-identity code{
    display:block;
    overflow:hidden;
    max-width:280px;
    color:var(--adp-muted);
    font-size:9px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.adp-project-health{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:4px 7px;
    border-radius:999px;
    font-size:8px;
    font-weight:800;
}

.adp-project-health i{
    width:6px;
    height:6px;
    border-radius:50%;
}

.adp-project-health.is-healthy{
    background:#e9fbf4;
    color:#087f5b;
}

.adp-project-health.is-healthy i{
    background:#21c98b;
}

.adp-project-health.is-warning{
    background:#fff8e7;
    color:#a16207;
}

.adp-project-health.is-warning i{
    background:#eab308;
}

.adp-project-health.is-archived{
    background:#eef2f7;
    color:#64748b;
}

.adp-project-health.is-archived i{
    background:#94a3b8;
}

.adp-project-v1-stats{
    display:grid;
    grid-template-columns:.65fr 1.25fr 1.1fr;
    gap:7px;
    margin-top:17px;
}

.adp-project-v1-stats>div{
    min-width:0;
    padding:10px;
    border-radius:11px;
    background:var(--adp-soft);
}

.adp-project-v1-stats small,
.adp-project-v1-stats strong,
.adp-project-v1-stats span{
    display:block;
}

.adp-project-v1-stats small{
    color:var(--adp-muted);
    font-size:8px;
}

.adp-project-v1-stats strong{
    margin-top:2px;
    color:var(--adp-ink);
    font-size:16px;
}

.adp-project-v1-stats strong.is-date{
    overflow:hidden;
    font-size:9px;
    line-height:1.45;
    text-overflow:ellipsis;
}

.adp-project-v1-stats span{
    margin-top:1px;
    color:#94a3b8;
    font-size:7px;
}

.adp-project-v1-actions{
    display:flex;
    gap:6px;
    flex-wrap:wrap;
    margin-top:14px;
    padding-top:13px;
    border-top:1px solid #edf3f7;
}

.adp-project-v1-actions .adp-portal-button{
    padding:7px 10px;
    font-size:9px;
}

.adp-project-v1-actions .adp-portal-button:first-child{
    margin-inline-end:auto;
}

.adp-projects-v1-empty{
    min-height:300px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:35px;
    border:1px dashed #cbdbe4;
    border-radius:19px;
    background:#fff;
    text-align:center;
}

.adp-projects-v1-empty>span{
    width:50px;
    height:50px;
    display:grid;
    place-items:center;
    margin-bottom:11px;
    border-radius:16px;
    background:var(--adp-soft);
    color:var(--adp-cyan);
    font-size:22px;
    font-weight:900;
}

.adp-projects-v1-empty.is-first>span{
    background:var(--adp-warm);
    color:var(--adp-orange);
}

.adp-projects-v1-empty strong{
    color:var(--adp-ink);
    font-size:14px;
}

.adp-projects-v1-empty p{
    max-width:520px;
    margin:5px 0 15px;
    color:var(--adp-muted);
    font-size:10px;
}

.adp-project-action-menu button:disabled{
    opacity:.4;
    cursor:not-allowed;
}

@media(max-width:1100px){
    .adp-projects-v1-toolbar{
        grid-template-columns:1fr;
    }

    .adp-project-filter-tabs{
        justify-self:start;
    }

    .adp-project-sort{
        justify-self:start;
    }
}

@media(max-width:900px){
    .adp-projects-v1-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:680px){
    .adp-projects-v1-head{
        flex-direction:column;
    }

    .adp-projects-v1-head>.adp-portal-button{
        width:100%;
    }

    .adp-projects-v1-summary{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .adp-project-filter-tabs{
        width:100%;
    }

    .adp-project-filter-tabs button{
        flex:1;
        justify-content:center;
    }

    .adp-project-v1-stats{
        grid-template-columns:1fr;
    }

    .adp-project-v1-actions{
        display:grid;
        grid-template-columns:1fr;
    }

    .adp-project-v1-actions .adp-portal-button{
        width:100%;
    }

    .adp-project-v1-actions .adp-portal-button:first-child{
        margin-inline-end:0;
    }
}


/* ==========================================================
   ADP_API_KEYS_UI_V2
   Professional API key manager
   ========================================================== */

.adp-keys-v2{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.adp-keys-v2-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    padding:4px 2px;
}

.adp-keys-v2-head h2{
    margin:4px 0 3px;
    color:var(--adp-ink);
    font-size:24px;
    font-weight:800;
}

.adp-keys-v2-head p{
    max-width:700px;
    margin:0;
    color:var(--adp-muted);
    font-size:11px;
}

.adp-keys-v2-security{
    display:flex;
    align-items:center;
    gap:7px;
    width:max-content;
    max-width:100%;
    margin-top:10px;
    padding:7px 10px;
    border:1px solid #bae6fd;
    border-radius:10px;
    background:#f0f9ff;
    color:#075985;
}

.adp-keys-v2-security>span{
    width:21px;
    height:21px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border-radius:7px;
    background:#dff6fd;
    color:var(--adp-cyan);
    font-size:9px;
    font-weight:900;
}

.adp-keys-v2-security strong{
    font-size:8.5px;
    line-height:1.5;
}

.adp-keys-v2-summary{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
}

.adp-keys-v2-summary article{
    position:relative;
    overflow:hidden;
    padding:15px 16px;
    border:1px solid var(--adp-line);
    border-radius:15px;
    background:#fff;
    box-shadow:0 7px 20px rgba(15,23,42,.035);
}

.adp-keys-v2-summary article:after{
    content:"";
    position:absolute;
    inset-inline:0;
    bottom:0;
    height:3px;
    background:var(--adp-line);
}

.adp-keys-v2-summary article.is-active:after{
    background:#22c55e;
}

.adp-keys-v2-summary article.is-used:after{
    background:var(--adp-cyan);
}

.adp-keys-v2-summary article.is-inactive:after{
    background:#94a3b8;
}

.adp-keys-v2-summary small,
.adp-keys-v2-summary strong{
    display:block;
}

.adp-keys-v2-summary small{
    color:var(--adp-muted);
    font-size:9px;
}

.adp-keys-v2-summary strong{
    margin-top:2px;
    color:var(--adp-ink);
    font-size:22px;
}

.adp-keys-v2-toolbar{
    display:grid;
    grid-template-columns:minmax(260px,1fr) auto auto;
    gap:10px;
    align-items:center;
    padding:11px;
    border:1px solid var(--adp-line);
    border-radius:16px;
    background:#fff;
}

.adp-key-search{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
    padding:0 11px;
    border:1px solid var(--adp-line);
    border-radius:11px;
    background:var(--adp-soft);
}

.adp-key-search>span{
    color:var(--adp-muted);
    font-size:17px;
}

.adp-key-search input{
    width:100%;
    min-width:0;
    height:40px;
    padding:0;
    border:0;
    outline:0;
    background:transparent;
    color:var(--adp-ink);
    font-family:inherit;
    font-size:10px;
}

.adp-key-filter-tabs{
    display:inline-flex;
    gap:4px;
    padding:4px;
    border-radius:11px;
    background:var(--adp-soft);
}

.adp-key-filter-tabs button{
    display:flex;
    align-items:center;
    gap:5px;
    padding:7px 9px;
    border:0;
    border-radius:8px;
    background:transparent;
    color:var(--adp-muted);
    font-family:inherit;
    font-size:8.5px;
    font-weight:800;
    cursor:pointer;
}

.adp-key-filter-tabs button.is-active{
    background:#fff;
    color:var(--adp-ink);
    box-shadow:0 4px 12px rgba(15,23,42,.06);
}

.adp-key-filter-tabs button span{
    display:grid;
    place-items:center;
    min-width:18px;
    height:18px;
    padding:0 4px;
    border-radius:999px;
    background:#e8f1f6;
    color:var(--adp-muted);
    font-size:8px;
}

.adp-key-sort{
    display:flex;
    align-items:center;
    gap:7px;
}

.adp-key-sort>span{
    color:var(--adp-muted);
    font-size:9px;
    font-weight:700;
}

.adp-key-sort select{
    min-height:40px;
    padding:0 10px;
    border:1px solid var(--adp-line);
    border-radius:10px;
    outline:0;
    background:#fff;
    color:var(--adp-ink);
    font-family:inherit;
    font-size:9px;
    font-weight:700;
}

.adp-keys-v2-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}

.adp-key-v2-card{
    position:relative;
    min-width:0;
    padding:18px;
    border:1px solid var(--adp-line);
    border-radius:19px;
    background:#fff;
    box-shadow:0 8px 24px rgba(15,23,42,.04);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.adp-key-v2-card:hover{
    transform:translateY(-2px);
    border-color:#cbdde6;
    box-shadow:0 14px 32px rgba(15,23,42,.07);
}

.adp-key-v2-card.is-revoked,
.adp-key-v2-card.is-expired{
    background:#fbfcfd;
}

.adp-key-v2-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
}

.adp-key-v2-identity{
    display:flex;
    gap:11px;
    min-width:0;
}

.adp-key-v2-icon{
    width:45px;
    height:45px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border-radius:14px;
    font-size:15px;
    font-weight:900;
}

.adp-key-v2-icon.is-test{
    background:#e7faff;
    color:#07889e;
}

.adp-key-v2-icon.is-live{
    background:var(--adp-warm);
    color:#bd6200;
}

.adp-key-v2-badges{
    display:flex;
    align-items:center;
    gap:5px;
    flex-wrap:wrap;
}

.adp-key-v2-identity h3{
    margin:5px 0 2px;
    color:var(--adp-ink);
    font-size:16px;
    line-height:1.4;
    font-weight:800;
}

.adp-key-v2-identity small{
    display:block;
    overflow:hidden;
    max-width:300px;
    color:var(--adp-muted);
    font-family:"Montserrat",sans-serif;
    font-size:8.5px;
    text-overflow:ellipsis;
    white-space:nowrap;
    direction:ltr;
}

.adp-key-v2-revoke{
    flex:0 0 auto;
    padding:7px 9px;
    border:1px solid #fecaca;
    border-radius:9px;
    background:#fff;
    color:#b91c1c;
    font-family:inherit;
    font-size:8.5px;
    font-weight:800;
    cursor:pointer;
}

.adp-key-v2-revoke:hover{
    background:#fff1f2;
}

.adp-key-v2-secret{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    margin-top:16px;
    padding:11px 12px;
    border-radius:12px;
    background:var(--adp-slate-900);
    direction:ltr;
}

.adp-key-v2-secret>div{
    min-width:0;
}

.adp-key-v2-secret small{
    display:block;
    color:#94a3b8;
    font-size:7.5px;
}

.adp-key-v2-secret code{
    display:block;
    overflow:hidden;
    max-width:100%;
    margin-top:2px;
    color:#f8fafc;
    font-size:9.5px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.adp-key-v2-secret button{
    flex:0 0 auto;
    padding:6px 8px;
    border:1px solid #475569;
    border-radius:8px;
    background:#1e293b;
    color:#fff;
    font-family:inherit;
    font-size:8px;
    cursor:pointer;
}

.adp-key-v2-details{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:6px;
    margin-top:12px;
}

.adp-key-v2-details>div{
    min-width:0;
    padding:9px;
    border-radius:10px;
    background:var(--adp-soft);
}

.adp-key-v2-details small,
.adp-key-v2-details strong{
    display:block;
}

.adp-key-v2-details small{
    color:var(--adp-muted);
    font-size:7.5px;
}

.adp-key-v2-details strong{
    overflow:hidden;
    margin-top:2px;
    color:var(--adp-ink);
    font-size:8.5px;
    line-height:1.45;
    text-overflow:ellipsis;
}

.adp-key-v2-abilities{
    margin-top:12px;
    padding-top:11px;
    border-top:1px solid #edf3f7;
}

.adp-key-v2-section-title{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
}

.adp-key-v2-section-title span{
    color:var(--adp-muted);
    font-size:8px;
    font-weight:800;
}

.adp-key-v2-section-title strong{
    display:grid;
    place-items:center;
    min-width:22px;
    height:22px;
    padding:0 5px;
    border-radius:7px;
    background:var(--adp-soft);
    color:var(--adp-ink);
    font-size:8px;
}

.adp-key-v2-ability-list{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    margin-top:8px;
}

.adp-key-v2-ability-list span{
    padding:5px 7px;
    border:1px solid #dce7ee;
    border-radius:8px;
    background:#fff;
    color:#475569;
    font-size:7.8px;
    font-weight:700;
}

.adp-key-v2-actions{
    display:flex;
    gap:6px;
    flex-wrap:wrap;
    margin-top:13px;
}

.adp-key-v2-actions .adp-portal-button{
    padding:7px 10px;
    font-size:9px;
}

.adp-keys-v2-empty{
    min-height:310px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:35px;
    border:1px dashed #cbdbe4;
    border-radius:19px;
    background:#fff;
    text-align:center;
}

.adp-keys-v2-empty>span{
    width:50px;
    height:50px;
    display:grid;
    place-items:center;
    margin-bottom:11px;
    border-radius:16px;
    background:var(--adp-soft);
    color:var(--adp-cyan);
    font-size:22px;
    font-weight:900;
}

.adp-keys-v2-empty.is-first>span{
    background:var(--adp-warm);
    color:var(--adp-orange);
}

.adp-keys-v2-empty strong{
    color:var(--adp-ink);
    font-size:14px;
}

.adp-keys-v2-empty p{
    max-width:520px;
    margin:5px 0 15px;
    color:var(--adp-muted);
    font-size:10px;
}

@media(max-width:1180px){
    .adp-keys-v2-toolbar{
        grid-template-columns:1fr;
    }

    .adp-key-filter-tabs,
    .adp-key-sort{
        justify-self:start;
    }

    .adp-key-v2-details{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:900px){
    .adp-keys-v2-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:680px){
    .adp-keys-v2-head{
        flex-direction:column;
    }

    .adp-keys-v2-head>.adp-portal-button{
        width:100%;
    }

    .adp-keys-v2-summary{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .adp-key-filter-tabs{
        width:100%;
        overflow:auto;
    }

    .adp-key-v2-details{
        grid-template-columns:1fr;
    }

    .adp-key-v2-actions{
        display:grid;
        grid-template-columns:1fr;
    }

    .adp-key-v2-actions .adp-portal-button{
        width:100%;
    }
}


/* ==========================================================
   ADP_PLAYGROUND_V2
   Professional API request / response inspector
   ========================================================== */

.adp-playground-v2{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.adp-playground-v2-heading{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
}

.adp-playground-v2-heading h2{
    margin:4px 0 3px;
    color:var(--adp-ink);
    font-size:24px;
    font-weight:800;
}

.adp-playground-v2-heading p{
    max-width:720px;
    margin:0;
    color:var(--adp-muted);
    font-size:11px;
}

.adp-playground-v2-runtime{
    display:inline-flex;
    align-items:center;
    gap:7px;
    flex:0 0 auto;
    padding:8px 11px;
    border:1px solid var(--adp-line);
    border-radius:999px;
    background:#fff;
    color:var(--adp-muted);
    font-size:9px;
    font-weight:800;
}

.adp-playground-v2-runtime i{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#94a3b8;
}

.adp-playground-v2-runtime.is-online{
    border-color:#bcebdc;
    color:#087f5b;
}

.adp-playground-v2-runtime.is-online i{
    background:#22c98b;
    box-shadow:0 0 0 4px rgba(34,201,139,.12);
}

.adp-playground-v2-grid{
    display:grid;
    grid-template-columns:minmax(360px,.9fr) minmax(0,1.15fr);
    gap:14px;
    align-items:stretch;
}

.adp-playground-v2-request,
.adp-playground-v2-response{
    min-width:0;
    overflow:hidden;
    border:1px solid var(--adp-line);
    border-radius:19px;
    background:#fff;
    box-shadow:0 8px 24px rgba(15,23,42,.04);
}

.adp-playground-v2-panel-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    padding:14px 16px;
    border-bottom:1px solid var(--adp-line);
    background:#fff;
}

.adp-playground-v2-panel-head>div{
    min-width:0;
}

.adp-playground-v2-panel-head span,
.adp-playground-v2-panel-head strong{
    display:block;
}

.adp-playground-v2-panel-head>div>span{
    color:var(--adp-muted);
    font-size:8px;
    font-weight:800;
    text-transform:uppercase;
}

.adp-playground-v2-panel-head>div>strong{
    overflow:hidden;
    margin-top:2px;
    color:var(--adp-ink);
    font-size:11px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.adp-playground-v2-form-body{
    display:flex;
    flex-direction:column;
    gap:13px;
    padding:16px;
}

.adp-playground-v2-form-body label{
    display:flex;
    flex-direction:column;
    gap:6px;
}

.adp-playground-v2-form-body label>span{
    color:var(--adp-ink);
    font-size:9px;
    font-weight:800;
}

.adp-playground-v2-form-body input,
.adp-playground-v2-form-body select,
.adp-playground-v2-form-body textarea{
    width:100%;
    border:1px solid var(--adp-line);
    border-radius:11px;
    outline:0;
    background:#fff;
    color:var(--adp-ink);
    font-family:inherit;
    font-size:10px;
}

.adp-playground-v2-form-body input,
.adp-playground-v2-form-body select{
    min-height:42px;
    padding:0 11px;
}

.adp-playground-v2-form-body textarea{
    min-height:230px;
    padding:12px;
    resize:vertical;
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
    line-height:1.65;
}

.adp-playground-v2-form-body input:focus,
.adp-playground-v2-form-body select:focus,
.adp-playground-v2-form-body textarea:focus{
    border-color:var(--adp-cyan);
    box-shadow:0 0 0 3px rgba(0,189,221,.09);
}

.adp-playground-v2-form-body .is-hidden{
    display:none;
}

.adp-playground-v2-secret-input{
    position:relative;
}

.adp-playground-v2-secret-input input{
    padding-inline-end:115px;
    direction:ltr;
}

.adp-playground-v2-secret-input>span{
    position:absolute;
    top:50%;
    inset-inline-end:9px;
    transform:translateY(-50%);
    padding:5px 7px;
    border-radius:7px;
    background:#eef7fa;
    color:#07889e;
    font-size:7.5px;
    font-weight:800;
}

.adp-playground-v2-security-note{
    color:#94a3b8;
    font-size:8px;
}

.adp-playground-v2-route{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    gap:7px;
    align-items:center;
}

.adp-playground-v2-route input{
    direction:ltr;
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
}

.adp-playground-v2-send{
    min-height:45px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    margin-top:2px;
}

.adp-playground-v2-spinner{
    width:14px;
    height:14px;
    border:2px solid rgba(255,255,255,.45);
    border-top-color:#fff;
    border-radius:50%;
    animation:adpPlaygroundSpin .7s linear infinite;
}

@keyframes adpPlaygroundSpin{
    to{
        transform:rotate(360deg);
    }
}

.adp-playground-v2-response{
    display:flex;
    flex-direction:column;
    min-height:600px;
}

.adp-playground-v2-response-meta{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:1px;
    border-bottom:1px solid var(--adp-line);
    background:var(--adp-line);
}

.adp-playground-v2-response-meta>div{
    min-width:0;
    padding:10px 12px;
    background:var(--adp-soft);
}

.adp-playground-v2-response-meta small,
.adp-playground-v2-response-meta strong{
    display:block;
}

.adp-playground-v2-response-meta small{
    color:var(--adp-muted);
    font-size:7px;
}

.adp-playground-v2-response-meta strong{
    overflow:hidden;
    margin-top:2px;
    color:var(--adp-ink);
    font-size:10px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.adp-playground-v2-tabs{
    display:flex;
    align-items:center;
    gap:4px;
    padding:8px 10px;
    border-bottom:1px solid #26354a;
    background:var(--adp-slate-900);
}

.adp-playground-v2-tabs>span{
    flex:1;
}

.adp-playground-v2-tabs button{
    padding:6px 8px;
    border:1px solid transparent;
    border-radius:7px;
    background:transparent;
    color:#94a3b8;
    font-family:inherit;
    font-size:8px;
    font-weight:800;
    cursor:pointer;
}

.adp-playground-v2-tabs button:hover{
    color:#fff;
}

.adp-playground-v2-tabs button.is-active{
    border-color:#334155;
    background:#1e293b;
    color:#fff;
}

.adp-playground-v2-response-content{
    flex:1;
    min-height:470px;
    overflow:auto;
    background:var(--adp-slate-900);
}

.adp-playground-v2-response-content pre{
    min-height:100%;
    margin:0;
    padding:18px;
    direction:ltr;
    text-align:left;
}

.adp-playground-v2-response-content code{
    color:#dbeafe;
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
    font-size:10px;
    line-height:1.75;
    white-space:pre-wrap;
    word-break:break-word;
}

.adp-playground-v2-waiting{
    min-height:470px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:30px;
    color:#cbd5e1;
    text-align:center;
}

.adp-playground-v2-waiting>span{
    width:46px;
    height:46px;
    display:grid;
    place-items:center;
    margin-bottom:11px;
    border-radius:15px;
    background:#17233a;
    color:#55d8ed;
    font-size:17px;
    font-weight:900;
}

.adp-playground-v2-waiting strong{
    color:#fff;
    font-size:12px;
}

.adp-playground-v2-waiting p{
    max-width:430px;
    margin:5px 0 0;
    color:#94a3b8;
    font-size:9px;
}

.adp-playground-v2-preview{
    min-height:470px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:13px;
    padding:30px;
    background:#f8fafc;
}

.adp-playground-v2-preview img{
    width:min(330px,80%);
    max-height:360px;
    object-fit:contain;
    padding:18px;
    border:1px solid var(--adp-line);
    border-radius:17px;
    background:#fff;
    box-shadow:0 10px 28px rgba(15,23,42,.07);
}

.adp-playground-v2-preview small{
    color:var(--adp-muted);
    font-size:8px;
}

.adp-playground-v2-code{
    overflow:hidden;
    border:1px solid var(--adp-line);
    border-radius:19px;
    background:var(--adp-slate-900);
    box-shadow:0 8px 24px rgba(15,23,42,.04);
}

.adp-playground-v2-code-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:15px;
    padding:16px;
    background:#fff;
}

.adp-playground-v2-code-head h3{
    margin:3px 0 2px;
    color:var(--adp-ink);
    font-size:15px;
    font-weight:800;
}

.adp-playground-v2-code-head p{
    margin:0;
    color:var(--adp-muted);
    font-size:9px;
}

.adp-playground-v2-code-tabs{
    display:flex;
    gap:4px;
    padding:9px 13px;
    border-bottom:1px solid #26354a;
}

.adp-playground-v2-code-tabs button{
    padding:6px 10px;
    border:1px solid transparent;
    border-radius:7px;
    background:transparent;
    color:#94a3b8;
    font-family:inherit;
    font-size:8.5px;
    font-weight:800;
    cursor:pointer;
}

.adp-playground-v2-code-tabs button.is-active{
    border-color:#334155;
    background:#1e293b;
    color:#fff;
}

.adp-playground-v2-code pre{
    max-height:460px;
    margin:0;
    overflow:auto;
    padding:18px;
    direction:ltr;
    text-align:left;
}

.adp-playground-v2-code code{
    color:#e2e8f0;
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
    font-size:10px;
    line-height:1.7;
    white-space:pre-wrap;
    word-break:break-word;
}

.adp-playground-v2-empty{
    min-height:280px;
    display:grid;
    place-items:center;
    border:1px dashed var(--adp-line);
    border-radius:18px;
    background:#fff;
    color:var(--adp-muted);
}

@media(max-width:1100px){
    .adp-playground-v2-grid{
        grid-template-columns:1fr;
    }

    .adp-playground-v2-response{
        min-height:520px;
    }
}

@media(max-width:760px){
    .adp-playground-v2-heading,
    .adp-playground-v2-code-head{
        flex-direction:column;
    }

    .adp-playground-v2-response-meta{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .adp-playground-v2-tabs{
        overflow:auto;
    }

    .adp-playground-v2-tabs>span{
        display:none;
    }

    .adp-playground-v2-code-tabs{
        overflow:auto;
    }

    .adp-playground-v2-response-content,
    .adp-playground-v2-waiting,
    .adp-playground-v2-preview{
        min-height:360px;
    }
}


/* ==========================================================
   ADP_PLAYGROUND_SMART_KEY_CONTEXT_V1
   Project / key selector with memory-only secret
   ========================================================== */

.adp-playground-smart-context{
    display:flex;
    flex-direction:column;
    gap:11px;
    padding:13px;
    border:1px solid var(--adp-line);
    border-radius:15px;
    background:var(--adp-soft);
}

.adp-playground-smart-context-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
}

.adp-playground-smart-context-head>div>span,
.adp-playground-smart-context-head>div>strong{
    display:block;
}

.adp-playground-smart-context-head>div>span{
    color:var(--adp-muted);
    font-size:8px;
    font-weight:800;
}

.adp-playground-smart-context-head>div>strong{
    margin-top:2px;
    color:var(--adp-ink);
    font-size:11px;
}

.adp-playground-smart-memory{
    display:inline-flex;
    align-items:center;
    gap:6px;
    flex:0 0 auto;
    padding:6px 8px;
    border:1px solid #e2e8f0;
    border-radius:999px;
    background:#fff;
    color:var(--adp-muted);
    font-size:7.5px;
    font-weight:800;
}

.adp-playground-smart-memory i{
    width:7px;
    height:7px;
    border-radius:50%;
    background:#94a3b8;
}

.adp-playground-smart-memory.is-loaded{
    border-color:#a7ead6;
    background:#f0fdf8;
    color:#087f5b;
}

.adp-playground-smart-memory.is-loaded i{
    background:#20c997;
    box-shadow:0 0 0 3px rgba(32,201,151,.12);
}

.adp-playground-smart-selects{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
}

.adp-playground-smart-selects label{
    min-width:0;
}

.adp-playground-smart-selects select{
    background:#fff;
}

.adp-playground-smart-no-key{
    min-height:42px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:8px;
    padding:7px 9px;
    border:1px dashed #cbdbe4;
    border-radius:11px;
    background:#fff;
}

.adp-playground-smart-no-key span{
    color:var(--adp-muted);
    font-size:8px;
}

.adp-playground-smart-no-key button{
    flex:0 0 auto;
    border:0;
    background:transparent;
    color:var(--adp-cyan);
    font-size:8px;
    font-weight:800;
}

.adp-playground-smart-empty{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    padding:10px;
    border:1px dashed #cbdbe4;
    border-radius:11px;
    background:#fff;
}

.adp-playground-smart-empty strong{
    color:var(--adp-muted);
    font-size:9px;
}

.adp-playground-smart-key-meta{
    padding:11px;
    border:1px solid var(--adp-line);
    border-radius:12px;
    background:#fff;
}

.adp-playground-smart-key-title>div{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    margin-bottom:4px;
}

.adp-playground-smart-key-title>strong,
.adp-playground-smart-key-title>code{
    display:block;
}

.adp-playground-smart-key-title>strong{
    color:var(--adp-ink);
    font-size:11px;
}

.adp-playground-smart-key-title>code{
    margin-top:2px;
    color:var(--adp-muted);
    font-size:8px;
}

.adp-playground-smart-meta-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
    margin-top:9px;
}

.adp-playground-smart-meta-grid>div{
    min-width:0;
    padding:7px;
    border-radius:8px;
    background:var(--adp-soft);
}

.adp-playground-smart-meta-grid small,
.adp-playground-smart-meta-grid strong{
    display:block;
}

.adp-playground-smart-meta-grid small{
    color:var(--adp-muted);
    font-size:7px;
}

.adp-playground-smart-meta-grid strong{
    overflow:hidden;
    margin-top:2px;
    color:var(--adp-ink);
    font-size:7.8px;
    line-height:1.45;
    text-overflow:ellipsis;
}

.adp-playground-smart-abilities{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    margin-top:9px;
    padding-top:9px;
    border-top:1px solid #edf3f7;
}

.adp-playground-smart-abilities span{
    padding:4px 6px;
    border:1px solid #dce7ee;
    border-radius:7px;
    background:#fff;
    color:#475569;
    font-size:7px;
    font-weight:700;
}

.adp-playground-smart-secret{
    margin-top:1px;
}

.adp-playground-v2-secret-input span.is-ready{
    background:#e9fbf4;
    color:#087f5b;
}

.adp-playground-v2-secret-input span.is-required{
    background:#fff7e8;
    color:#b76500;
}

@media(max-width:760px){
    .adp-playground-smart-context-head{
        align-items:flex-start;
        flex-direction:column;
    }

    .adp-playground-smart-selects{
        grid-template-columns:1fr;
    }

    .adp-playground-smart-meta-grid{
        grid-template-columns:1fr;
    }

    .adp-playground-smart-empty{
        align-items:stretch;
        flex-direction:column;
    }

    .adp-playground-smart-empty .adp-portal-button{
        width:100%;
    }
}


/* ==========================================================
   ADP_DOCUMENTATION_STUDIO_V1_1
   ========================================================== */

.adp-doc-studio{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.adp-doc-studio-hero{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:22px;
}

.adp-doc-studio-hero h2{
    margin:4px 0;
    color:var(--adp-ink);
    font-size:24px;
    font-weight:800;
}

.adp-doc-studio-hero p{
    max-width:720px;
    margin:0;
    color:var(--adp-muted);
    font-size:10px;
    line-height:1.75;
}

.adp-doc-studio-base{
    width:310px;
    flex:0 0 auto;
    padding:11px;
    border:1px solid var(--adp-line);
    border-radius:13px;
    background:var(--adp-white);
}

.adp-doc-studio-base small,
.adp-doc-studio-base code{
    display:block;
}

.adp-doc-studio-base small{
    color:var(--adp-muted);
    font-size:7px;
}

.adp-doc-studio-base code{
    overflow:hidden;
    margin:3px 0 8px;
    color:var(--adp-ink);
    font-size:8px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.adp-doc-studio-base button,
.adp-doc-studio-route button,
.adp-doc-studio-section-head>button{
    padding:6px 9px;
    border:1px solid var(--adp-line);
    border-radius:8px;
    background:var(--adp-white);
    color:var(--adp-ink);
    font-family:inherit;
    font-size:8px;
    font-weight:800;
    cursor:pointer;
}

.adp-doc-studio-toolbar{
    display:grid;
    grid-template-columns:minmax(260px,1fr) auto;
    gap:10px;
    padding:8px;
    border:1px solid var(--adp-line);
    border-radius:14px;
    background:var(--adp-white);
}

.adp-doc-studio-search{
    display:flex;
    align-items:center;
    gap:7px;
    padding:0 10px;
    border:1px solid var(--adp-line);
    border-radius:10px;
    background:var(--adp-soft);
}

.adp-doc-studio-search span{
    color:var(--adp-muted);
}

.adp-doc-studio-search input{
    width:100%;
    height:38px;
    border:0;
    outline:0;
    background:transparent;
    color:var(--adp-ink);
    font-family:inherit;
    font-size:9px;
}

.adp-doc-studio-groups{
    display:flex;
    align-items:center;
    gap:4px;
}

.adp-doc-studio-groups button{
    display:flex;
    align-items:center;
    gap:5px;
    padding:7px 9px;
    border:1px solid transparent;
    border-radius:8px;
    background:var(--adp-soft);
    color:var(--adp-muted);
    font-family:inherit;
    font-size:8px;
    font-weight:800;
    cursor:pointer;
}

.adp-doc-studio-groups button.is-active{
    border-color:#bcebf3;
    background:#ebfbfe;
    color:#087f91;
}

.adp-doc-studio-groups span{
    min-width:18px;
    padding:2px 5px;
    border-radius:999px;
    background:var(--adp-white);
    font-size:7px;
    text-align:center;
}

.adp-doc-studio-layout{
    display:grid;
    grid-template-columns:245px minmax(0,1fr);
    gap:13px;
    align-items:start;
}

.adp-doc-studio-nav{
    position:sticky;
    top:18px;
    overflow:hidden;
    border:1px solid var(--adp-line);
    border-radius:15px;
    background:var(--adp-white);
}

.adp-doc-studio-nav-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:11px 12px;
    border-bottom:1px solid var(--adp-line);
}

.adp-doc-studio-nav-head strong{
    color:var(--adp-ink);
    font-size:10px;
}

.adp-doc-studio-nav-head span{
    color:var(--adp-muted);
    font-size:8px;
}

.adp-doc-studio-endpoint{
    width:100%;
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:7px;
    align-items:center;
    padding:10px;
    border:0;
    border-bottom:1px solid #edf3f7;
    background:var(--adp-white);
    text-align:inherit;
    cursor:pointer;
}

.adp-doc-studio-endpoint:hover{
    background:var(--adp-soft);
}

.adp-doc-studio-endpoint.is-active{
    background:#effbfe;
    box-shadow:inset -3px 0 0 var(--adp-cyan);
}

html[lang="en"] .adp-doc-studio-endpoint.is-active{
    box-shadow:inset 3px 0 0 var(--adp-cyan);
}

.adp-doc-studio-endpoint-main{
    min-width:0;
}

.adp-doc-studio-endpoint-main strong,
.adp-doc-studio-endpoint-main small{
    display:block;
}

.adp-doc-studio-endpoint-main strong{
    overflow:hidden;
    color:var(--adp-ink);
    font-size:8.5px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.adp-doc-studio-endpoint-main small{
    overflow:hidden;
    margin-top:2px;
    color:var(--adp-muted);
    font-size:6.7px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.adp-doc-studio-endpoint i{
    width:7px;
    height:7px;
    border-radius:50%;
    background:#cbd5e1;
}

.adp-doc-studio-endpoint i.is-online{
    background:#22c98b;
}

.adp-doc-studio-empty-nav{
    padding:30px 12px;
    color:var(--adp-muted);
    font-size:8px;
    text-align:center;
}

.adp-doc-studio-detail{
    display:flex;
    flex-direction:column;
    gap:11px;
    min-width:0;
}

.adp-doc-studio-detail-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:18px;
    padding:17px;
    border:1px solid var(--adp-line);
    border-radius:16px;
    background:var(--adp-white);
}

.adp-doc-studio-badges{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
}

.adp-doc-studio-group{
    padding:5px 7px;
    border-radius:7px;
    background:var(--adp-soft);
    color:var(--adp-muted);
    font-size:7px;
    font-weight:800;
}

.adp-doc-studio-detail-head h2{
    margin:5px 0 3px;
    color:var(--adp-ink);
    font-size:20px;
    font-weight:800;
}

.adp-doc-studio-detail-head p{
    max-width:650px;
    margin:0;
    color:var(--adp-muted);
    font-size:9px;
    line-height:1.7;
}

.adp-doc-studio-route{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    padding:12px 14px;
    border-radius:12px;
    background:#172033;
}

.adp-doc-studio-route small,
.adp-doc-studio-route code{
    display:block;
}

.adp-doc-studio-route small{
    color:#94a3b8;
    font-size:7px;
}

.adp-doc-studio-route code{
    margin-top:2px;
    color:#fff;
    font-size:9px;
}

.adp-doc-studio-route button{
    border-color:#334155;
    background:#1e293b;
    color:#fff;
}

.adp-doc-studio-grid-2{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}

.adp-doc-studio-card{
    padding:14px;
    border:1px solid var(--adp-line);
    border-radius:15px;
    background:var(--adp-white);
}

.adp-doc-studio-number-title{
    display:flex;
    align-items:center;
    gap:8px;
}

.adp-doc-studio-number-title>span{
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border-radius:9px;
    background:#eaf9fc;
    color:var(--adp-cyan);
    font-size:7px;
    font-weight:900;
}

.adp-doc-studio-number-title strong,
.adp-doc-studio-number-title small{
    display:block;
}

.adp-doc-studio-number-title strong{
    color:var(--adp-ink);
    font-size:10px;
}

.adp-doc-studio-number-title small{
    margin-top:1px;
    color:var(--adp-muted);
    font-size:7px;
}

.adp-doc-studio-code-line{
    margin-top:9px;
    padding:8px;
    border-radius:8px;
    background:var(--adp-soft);
}

.adp-doc-studio-code-line small,
.adp-doc-studio-code-line code{
    display:block;
}

.adp-doc-studio-code-line small{
    color:var(--adp-muted);
    font-size:7px;
}

.adp-doc-studio-code-line code{
    margin-top:2px;
    color:var(--adp-ink);
    font-size:8px;
}

.adp-doc-studio-status-large{
    display:flex;
    align-items:center;
    gap:9px;
    margin-top:14px;
    padding:10px;
    border-radius:9px;
    background:var(--adp-soft);
}

.adp-doc-studio-status-large>i{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#94a3b8;
}

.adp-doc-studio-status-large>i.is-online{
    background:#22c98b;
    box-shadow:0 0 0 4px rgba(34,201,139,.11);
}

.adp-doc-studio-status-large strong,
.adp-doc-studio-status-large small{
    display:block;
}

.adp-doc-studio-status-large strong{
    color:var(--adp-ink);
    font-size:9px;
}

.adp-doc-studio-status-large small{
    margin-top:1px;
    color:var(--adp-muted);
    font-size:7px;
}

.adp-doc-studio-section-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:10px;
    margin-bottom:10px;
}

.adp-doc-studio-params{
    overflow:hidden;
    border:1px solid var(--adp-line);
    border-radius:10px;
}

.adp-doc-studio-param{
    padding:10px;
    border-bottom:1px solid var(--adp-line);
}

.adp-doc-studio-param:last-child{
    border-bottom:0;
}

.adp-doc-studio-param>div{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:5px;
}

.adp-doc-studio-param code{
    color:var(--adp-ink);
    font-size:8px;
    font-weight:800;
}

.adp-doc-studio-param span{
    padding:3px 5px;
    border-radius:5px;
    background:var(--adp-soft);
    color:var(--adp-muted);
    font-size:6.5px;
}

.adp-doc-studio-param b{
    color:#b45309;
    font-size:6.5px;
}

.adp-doc-studio-param em{
    color:var(--adp-muted);
    font-size:6.5px;
    font-style:normal;
}

.adp-doc-studio-param p{
    margin:5px 0 0;
    color:var(--adp-muted);
    font-size:8px;
}

.adp-doc-studio-placeholder{
    padding:15px;
    border:1px dashed var(--adp-line);
    border-radius:9px;
    color:var(--adp-muted);
    font-size:8px;
    text-align:center;
}

.adp-doc-studio-code-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:4px;
    margin-bottom:6px;
}

.adp-doc-studio-code-tabs button{
    padding:6px 9px;
    border:1px solid var(--adp-line);
    border-radius:7px;
    background:var(--adp-white);
    color:var(--adp-muted);
    font-family:inherit;
    font-size:7.5px;
    font-weight:800;
    cursor:pointer;
}

.adp-doc-studio-code-tabs button.is-active{
    border-color:#bcebf3;
    background:#ebfbfe;
    color:#087f91;
}

.adp-doc-studio-code-block{
    max-height:430px;
    margin:0;
    overflow:auto;
    padding:14px;
    border-radius:10px;
    background:#172033;
    direction:ltr;
    text-align:left;
}

.adp-doc-studio-code-block code{
    color:#e2e8f0;
    font-family:"Montserrat",ui-monospace,monospace;
    font-size:8.5px;
    line-height:1.75;
    white-space:pre-wrap;
    word-break:break-word;
}

.adp-doc-studio-errors{
    display:flex;
    flex-direction:column;
    gap:6px;
}

.adp-doc-studio-error{
    display:grid;
    grid-template-columns:48px minmax(125px,.7fr) minmax(0,1.5fr);
    gap:8px;
    align-items:center;
    padding:8px;
    border:1px solid var(--adp-line);
    border-radius:9px;
}

.adp-doc-studio-error>span{
    display:grid;
    place-items:center;
    min-height:28px;
    border-radius:7px;
    background:#fff4e6;
    color:#c2410c;
    font-size:8px;
    font-weight:900;
}

.adp-doc-studio-error code{
    color:var(--adp-ink);
    font-size:7.5px;
    font-weight:800;
}

.adp-doc-studio-error p{
    margin:0;
    color:var(--adp-muted);
    font-size:7.5px;
}

.adp-doc-studio-cta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    padding:15px 16px;
    border:1px solid #bcebf3;
    border-radius:14px;
    background:#effbfe;
}

.adp-doc-studio-cta strong{
    color:var(--adp-ink);
    font-size:10px;
}

.adp-doc-studio-cta p{
    margin:2px 0 0;
    color:var(--adp-muted);
    font-size:8px;
}

.adp-doc-studio-empty{
    min-height:350px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border:1px dashed var(--adp-line);
    border-radius:15px;
    background:var(--adp-white);
    color:var(--adp-muted);
}

.adp-doc-studio-empty span{
    color:var(--adp-cyan);
    font-size:25px;
}

.adp-doc-studio-empty strong{
    margin-top:6px;
    color:var(--adp-ink);
    font-size:11px;
}

@media(max-width:1050px){
    .adp-doc-studio-layout{
        grid-template-columns:1fr;
    }

    .adp-doc-studio-nav{
        position:static;
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .adp-doc-studio-nav-head{
        grid-column:1/-1;
    }
}

@media(max-width:760px){
    .adp-doc-studio-hero{
        flex-direction:column;
    }

    .adp-doc-studio-base{
        width:100%;
    }

    .adp-doc-studio-toolbar{
        grid-template-columns:1fr;
    }

    .adp-doc-studio-groups{
        overflow:auto;
    }

    .adp-doc-studio-layout,
    .adp-doc-studio-nav,
    .adp-doc-studio-grid-2{
        grid-template-columns:1fr;
    }

    .adp-doc-studio-detail-head{
        flex-direction:column;
    }

    .adp-doc-studio-error{
        grid-template-columns:48px minmax(0,1fr);
    }

    .adp-doc-studio-error p{
        grid-column:1/-1;
    }

    .adp-doc-studio-cta{
        align-items:stretch;
        flex-direction:column;
    }
}


/* ==========================================================
   ADP_API_ANALYTICS_DASHBOARD_V1
   ========================================================== */

.adp-analytics-studio{
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-top:16px;
}

.adp-analytics-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:20px;
}

.adp-analytics-head h2{
    margin:4px 0;
    color:var(--adp-ink);
    font-size:22px;
    font-weight:700;
}

.adp-analytics-head p{
    margin:0;
    color:var(--adp-muted);
    font-size:9px;
}

.adp-analytics-latency{
    display:flex;
    gap:8px;
}

.adp-analytics-latency>div{
    min-width:130px;
    padding:10px 12px;
    border:1px solid var(--adp-line);
    border-radius:12px;
    background:var(--adp-white);
}

.adp-analytics-latency small,
.adp-analytics-latency strong{
    display:block;
}

.adp-analytics-latency small{
    color:var(--adp-muted);
    font-size:7px;
}

.adp-analytics-latency strong{
    margin-top:3px;
    color:var(--adp-ink);
    font-size:15px;
}

.adp-analytics-layout{
    display:grid;
    grid-template-columns:minmax(0,2fr) minmax(250px,1fr);
    gap:12px;
}

.adp-analytics-card{
    padding:15px;
    border:1px solid var(--adp-line);
    border-radius:15px;
    background:var(--adp-white);
}

.adp-analytics-card>header{
    display:flex;
    align-items:center;
    gap:9px;
    margin-bottom:13px;
}

.adp-analytics-card>header>span{
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border-radius:9px;
    background:#eaf9fc;
    color:var(--adp-cyan);
    font-size:7px;
    font-weight:900;
}

.adp-analytics-card h3{
    margin:0;
    color:var(--adp-ink);
    font-size:11px;
    font-weight:700;
}

.adp-analytics-card header p{
    margin:2px 0 0;
    color:var(--adp-muted);
    font-size:7px;
}

.adp-analytics-chart{
    min-height:150px;
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:8px;
    align-items:end;
}

.adp-analytics-day{
    display:grid;
    grid-template-rows:105px auto auto;
    gap:4px;
    text-align:center;
}

.adp-analytics-track{
    position:relative;
    overflow:hidden;
    border-radius:8px;
    background:var(--adp-soft);
}

.adp-analytics-track span{
    position:absolute;
    right:0;
    bottom:0;
    left:0;
    min-height:2px;
    border-radius:8px;
    background:linear-gradient(
        180deg,
        var(--adp-cyan),
        #8ce7f5
    );
}

.adp-analytics-day strong{
    color:var(--adp-ink);
    font-size:9px;
}

.adp-analytics-day small{
    color:var(--adp-muted);
    font-size:7px;
}

.adp-analytics-env-list{
    display:flex;
    flex-direction:column;
    gap:7px;
}

.adp-analytics-env{
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:8px;
    padding:9px;
    border:1px solid var(--adp-line);
    border-radius:10px;
    background:var(--adp-soft);
}

.adp-analytics-env>i{
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--adp-muted);
}

.adp-analytics-env>i.is-live{
    background:#22c98b;
}

.adp-analytics-env>i.is-test{
    background:var(--adp-orange);
}

.adp-analytics-env>i.is-platform{
    background:var(--adp-cyan);
}

.adp-analytics-env strong,
.adp-analytics-env small{
    display:block;
}

.adp-analytics-env strong{
    color:var(--adp-ink);
    font-size:8px;
}

.adp-analytics-env small{
    margin-top:1px;
    color:var(--adp-muted);
    font-size:7px;
}

.adp-analytics-env>span{
    color:var(--adp-muted);
    font-size:7px;
}

.adp-analytics-success{
    color:#159b70;
}

.adp-analytics-table-card{
    margin-top:0;
}

.adp-analytics-empty{
    grid-column:1/-1;
    display:grid;
    place-items:center;
    min-height:80px;
    color:var(--adp-muted);
    font-size:8px;
}

html[lang="ar"] .adp-analytics-studio,
html[lang="ar"] .adp-analytics-studio button,
html[lang="ar"] .adp-analytics-studio input,
html[lang="ar"] .adp-analytics-studio select{
    font-family:"Cairo",sans-serif;
}

html[lang="ar"] .adp-analytics-studio h2,
html[lang="ar"] .adp-analytics-studio h3{
    font-family:"Cairo",sans-serif !important;
    font-weight:700 !important;
}

html[lang="en"] .adp-analytics-studio,
html[lang="en"] .adp-analytics-studio button,
html[lang="en"] .adp-analytics-studio input,
html[lang="en"] .adp-analytics-studio select{
    font-family:"Montserrat",sans-serif;
}

@media(max-width:900px){
    .adp-analytics-head{
        align-items:stretch;
        flex-direction:column;
    }

    .adp-analytics-layout{
        grid-template-columns:1fr;
    }
}

@media(max-width:650px){
    .adp-analytics-latency{
        display:grid;
        grid-template-columns:1fr;
    }

    .adp-analytics-chart{
        gap:4px;
    }

    .adp-analytics-day{
        grid-template-rows:80px auto auto;
    }
}


/* ==========================================================
   ADP_API_REQUEST_EXPLORER_V1
   ========================================================== */

.adp-request-explorer{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:14px;
    padding:17px;
    border:1px solid var(--adp-line);
    border-radius:17px;
    background:var(--adp-white);
}

.adp-request-explorer-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:18px;
}

.adp-request-explorer-head h2{
    margin:4px 0;
    color:var(--adp-ink);
    font-size:21px;
    font-weight:700;
}

.adp-request-explorer-head p{
    margin:0;
    color:var(--adp-muted);
    font-size:9px;
}

.adp-request-explorer-count{
    min-width:130px;
    padding:9px 11px;
    border:1px solid var(--adp-line);
    border-radius:11px;
    background:var(--adp-soft);
}

.adp-request-explorer-count strong,
.adp-request-explorer-count small{
    display:block;
}

.adp-request-explorer-count strong{
    color:var(--adp-ink);
    font-size:17px;
}

.adp-request-explorer-count small{
    margin-top:2px;
    color:var(--adp-muted);
    font-size:7px;
}

.adp-request-filters{
    display:grid;
    grid-template-columns:
        minmax(220px,1.5fr)
        repeat(5,minmax(110px,.75fr))
        auto;
    gap:7px;
    padding:8px;
    border:1px solid var(--adp-line);
    border-radius:12px;
    background:var(--adp-soft);
}

.adp-request-search{
    display:flex;
    align-items:center;
    gap:6px;
    padding-inline:9px;
    border:1px solid var(--adp-line);
    border-radius:9px;
    background:var(--adp-white);
}

.adp-request-search span{
    color:var(--adp-muted);
}

.adp-request-search input,
.adp-request-filters select{
    width:100%;
    min-width:0;
    height:36px;
    border:1px solid var(--adp-line);
    border-radius:9px;
    background:var(--adp-white);
    color:var(--adp-ink);
    font-family:inherit;
    font-size:8px;
    outline:0;
}

.adp-request-search input{
    border:0;
    background:transparent;
}

.adp-request-filters select{
    padding-inline:8px;
}

.adp-request-reset{
    min-height:36px;
    padding:6px 10px;
    border:1px solid #fed7aa;
    border-radius:9px;
    background:var(--adp-warm);
    color:#9a5809;
    font-family:inherit;
    font-size:8px;
    font-weight:700;
    cursor:pointer;
}

.adp-request-table td{
    vertical-align:middle;
}

.adp-request-route code,
.adp-request-route small{
    display:block;
}

.adp-request-route code{
    max-width:330px;
    overflow:hidden;
    color:var(--adp-ink);
    font-size:7.5px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.adp-request-route small{
    margin-top:2px;
    color:var(--adp-muted);
    font-size:6.5px;
}

.adp-request-status{
    display:inline-grid;
    min-width:38px;
    min-height:25px;
    place-items:center;
    padding:3px 6px;
    border-radius:7px;
    font-size:7.5px;
    font-weight:800;
}

.adp-request-status.is-success{
    background:#eafaf4;
    color:#0d8a61;
}

.adp-request-status.is-error{
    background:#fff1f2;
    color:#be123c;
}

.adp-request-details-button{
    padding:5px 8px;
    border:1px solid var(--adp-line);
    border-radius:7px;
    background:var(--adp-white);
    color:var(--adp-ink);
    font-family:inherit;
    font-size:7px;
    font-weight:700;
    cursor:pointer;
}

.adp-request-empty{
    padding:25px;
    color:var(--adp-muted);
    text-align:center;
}

.adp-request-pagination{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
}

.adp-request-pagination>span{
    color:var(--adp-muted);
    font-size:8px;
}

.adp-request-pagination>div{
    display:flex;
    gap:5px;
}

.adp-request-pagination button{
    padding:6px 10px;
    border:1px solid var(--adp-line);
    border-radius:8px;
    background:var(--adp-white);
    color:var(--adp-ink);
    font-family:inherit;
    font-size:8px;
    cursor:pointer;
}

.adp-request-pagination button:disabled{
    opacity:.45;
    cursor:not-allowed;
}

.adp-request-detail-panel{
    padding:14px;
    border:1px solid #bcebf3;
    border-radius:13px;
    background:#f1fbfd;
}

.adp-request-detail-panel>header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:10px;
    margin-bottom:11px;
}

.adp-request-detail-panel h3{
    margin:3px 0 0;
    color:var(--adp-ink);
    font-size:12px;
    font-weight:700;
}

.adp-request-detail-panel>header>button{
    width:29px;
    height:29px;
    border:0;
    border-radius:8px;
    background:var(--adp-white);
    color:var(--adp-muted);
    font-size:17px;
    cursor:pointer;
}

.adp-request-detail-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:7px;
}

.adp-request-detail-grid>div{
    min-width:0;
    padding:9px;
    border:1px solid var(--adp-line);
    border-radius:9px;
    background:var(--adp-white);
}

.adp-request-detail-grid small,
.adp-request-detail-grid code,
.adp-request-detail-grid strong{
    display:block;
}

.adp-request-detail-grid small{
    color:var(--adp-muted);
    font-size:6.5px;
}

.adp-request-detail-grid code,
.adp-request-detail-grid strong{
    overflow:hidden;
    margin-top:3px;
    color:var(--adp-ink);
    font-size:7.5px;
    text-overflow:ellipsis;
}

.adp-request-detail-grid button{
    margin-top:6px;
    padding:4px 7px;
    border:1px solid var(--adp-line);
    border-radius:6px;
    background:var(--adp-soft);
    color:var(--adp-ink);
    font-family:inherit;
    font-size:6.5px;
    cursor:pointer;
}

html[lang="ar"] .adp-request-explorer,
html[lang="ar"] .adp-request-explorer button,
html[lang="ar"] .adp-request-explorer input,
html[lang="ar"] .adp-request-explorer select{
    font-family:"Cairo",sans-serif;
}

html[lang="ar"] .adp-request-explorer h2,
html[lang="ar"] .adp-request-explorer h3{
    font-family:"Cairo",sans-serif !important;
    font-weight:700 !important;
}

html[lang="en"] .adp-request-explorer,
html[lang="en"] .adp-request-explorer button,
html[lang="en"] .adp-request-explorer input,
html[lang="en"] .adp-request-explorer select{
    font-family:"Montserrat",sans-serif;
}

@media(max-width:1200px){
    .adp-request-filters{
        grid-template-columns:
            repeat(3,minmax(0,1fr));
    }

    .adp-request-search{
        grid-column:1/-1;
    }
}

@media(max-width:850px){
    .adp-request-detail-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .adp-request-explorer-head{
        align-items:stretch;
        flex-direction:column;
    }
}

@media(max-width:600px){
    .adp-request-filters{
        grid-template-columns:1fr;
    }

    .adp-request-search{
        grid-column:auto;
    }

    .adp-request-detail-grid{
        grid-template-columns:1fr;
    }

    .adp-request-pagination{
        align-items:stretch;
        flex-direction:column;
    }
}


/* ==========================================================
   ADP_API_KEY_ROTATION_V1_1_UI
   ========================================================== */

.adp-key-rotate-button{
    margin-inline-end:5px;
    padding:6px 9px;
    border:1px solid #bcebf3;
    border-radius:8px;
    background:#effbfe;
    color:#087f91;
    font-family:inherit;
    font-size:8px;
    font-weight:700;
    cursor:pointer;
}

.adp-key-rotate-button:hover{
    border-color:var(--adp-cyan);
    background:#e6fafd;
}

.adp-key-rotation-backdrop{
    position:fixed;
    z-index:999999;
    inset:0;
    display:grid;
    place-items:center;
    padding:20px;
    background:rgba(23,32,51,.54);
    backdrop-filter:blur(5px);
}

.adp-key-rotation-modal{
    position:relative;
    width:min(560px,100%);
    max-height:calc(100vh - 40px);
    overflow:auto;
    padding:25px;
    border:1px solid var(--adp-line);
    border-radius:20px;
    background:var(--adp-white);
    box-shadow:0 28px 80px rgba(15,23,42,.24);
}

.adp-key-rotation-modal h2{
    margin:5px 0 7px;
    color:var(--adp-ink);
    font-size:21px;
    font-weight:700;
}

.adp-key-rotation-modal>p{
    margin:0 0 16px;
    color:var(--adp-muted);
    font-size:10px;
    line-height:1.8;
}

.adp-key-rotation-close{
    position:absolute;
    top:13px;
    inset-inline-end:13px;
    width:32px;
    height:32px;
    border:0;
    border-radius:9px;
    background:var(--adp-soft);
    color:var(--adp-muted);
    font-family:inherit;
    font-size:20px;
    cursor:pointer;
}

.adp-key-rotation-current{
    display:grid;
    gap:3px;
    margin-bottom:14px;
    padding:11px;
    border:1px solid var(--adp-line);
    border-radius:11px;
    background:var(--adp-soft);
}

.adp-key-rotation-current small,
.adp-key-rotation-current strong,
.adp-key-rotation-current code{
    display:block;
}

.adp-key-rotation-current small{
    color:var(--adp-muted);
    font-size:7px;
}

.adp-key-rotation-current strong{
    color:var(--adp-ink);
    font-size:10px;
}

.adp-key-rotation-current code{
    color:var(--adp-muted);
    font-size:8px;
}

.adp-key-rotation-modal form{
    display:flex;
    flex-direction:column;
    gap:13px;
}

.adp-key-rotation-modal form label{
    display:flex;
    flex-direction:column;
    gap:6px;
}

.adp-key-rotation-modal form label>span{
    color:var(--adp-ink);
    font-size:9px;
    font-weight:700;
}

.adp-key-rotation-modal select{
    width:100%;
    height:42px;
    padding-inline:10px;
    border:1px solid var(--adp-line);
    border-radius:10px;
    outline:0;
    background:var(--adp-white);
    color:var(--adp-ink);
    font-family:inherit;
    font-size:9px;
}

.adp-key-rotation-modal select:focus{
    border-color:var(--adp-cyan);
    box-shadow:0 0 0 3px rgba(0,189,221,.10);
}

.adp-key-rotation-warning{
    display:flex;
    flex-direction:column;
    gap:3px;
    padding:10px 11px;
    border:1px solid #fed7aa;
    border-radius:10px;
    background:var(--adp-warm);
}

.adp-key-rotation-warning strong{
    color:#9a5809;
    font-size:8px;
}

.adp-key-rotation-warning span{
    color:#9a5809;
    font-size:7.5px;
    line-height:1.7;
}

.adp-key-rotation-actions{
    display:flex;
    justify-content:flex-end;
    gap:7px;
}

.adp-key-rotation-secret-modal{
    text-align:center;
}

.adp-key-rotation-success{
    width:55px;
    height:55px;
    display:grid;
    place-items:center;
    margin:0 auto 11px;
    border-radius:17px;
    background:#eafaf4;
    color:#159b70;
    font-size:26px;
    font-weight:900;
}

.adp-key-rotation-secret-value{
    display:flex;
    align-items:center;
    gap:7px;
    margin:17px 0;
    padding:10px;
    border-radius:11px;
    background:var(--adp-ink);
    direction:ltr;
}

.adp-key-rotation-secret-value code{
    min-width:0;
    flex:1;
    overflow:auto;
    color:#fff;
    font-family:"Montserrat",monospace;
    font-size:9px;
    text-align:left;
    white-space:nowrap;
}

.adp-key-rotation-secret-value button{
    flex:0 0 auto;
    padding:6px 8px;
    border:0;
    border-radius:7px;
    background:#334155;
    color:#fff;
    font-family:inherit;
    font-size:8px;
    cursor:pointer;
}

.adp-key-rotation-secret-actions{
    display:flex;
    flex-direction:column;
    gap:7px;
}

.adp-key-rotation-memory-note{
    margin-top:11px;
    padding:8px;
    border-radius:8px;
    background:var(--adp-soft);
    color:var(--adp-muted);
    font-size:7px;
    line-height:1.7;
}

html[lang="ar"] .adp-key-rotation-modal,
html[lang="ar"] .adp-key-rotation-modal button,
html[lang="ar"] .adp-key-rotation-modal select,
html[lang="ar"] .adp-key-rotate-button{
    font-family:"Cairo",sans-serif;
}

html[lang="ar"] .adp-key-rotation-modal h2{
    font-family:"Cairo",sans-serif !important;
    font-weight:700 !important;
}

html[lang="en"] .adp-key-rotation-modal,
html[lang="en"] .adp-key-rotation-modal button,
html[lang="en"] .adp-key-rotation-modal select,
html[lang="en"] .adp-key-rotate-button{
    font-family:"Montserrat",sans-serif;
}

@media(max-width:600px){
    .adp-key-rotation-backdrop{
        padding:12px;
    }

    .adp-key-rotation-modal{
        padding:19px;
        border-radius:16px;
    }

    .adp-key-rotation-actions{
        flex-direction:column-reverse;
    }

    .adp-key-rotation-actions button{
        width:100%;
    }
}


/* ==========================================================
   ADP_FINAL_UI_POLISH_V1
   Final typography, accessibility, responsive and UI polish
   ========================================================== */

.adp-portal{
    --adp-success:#159b70;
    --adp-success-soft:#eafaf4;
    --adp-danger:#c92a2a;
    --adp-danger-soft:#fff1f2;
    --adp-focus:rgba(0,189,221,.18);
    --adp-shadow-sm:0 7px 20px rgba(15,23,42,.05);
    --adp-shadow-md:0 14px 36px rgba(15,23,42,.08);
}

.adp-portal,
.adp-portal *,
.adp-auth-modal,
.adp-auth-modal *,
.adp-key-rotation-modal,
.adp-key-rotation-modal *{
    box-sizing:border-box;
}

/* ----------------------------------------------------------
   Typography
   ---------------------------------------------------------- */

.adp-portal[data-language="ar"],
.adp-portal[data-language="ar"] button,
.adp-portal[data-language="ar"] input,
.adp-portal[data-language="ar"] textarea,
.adp-portal[data-language="ar"] select{
    font-family:"Cairo",sans-serif;
}

.adp-portal[data-language="ar"] h1,
.adp-portal[data-language="ar"] h2,
.adp-portal[data-language="ar"] h3,
.adp-portal[data-language="ar"] h4,
.adp-portal[data-language="ar"] h5,
.adp-portal[data-language="ar"] h6{
    font-family:"Cairo",sans-serif !important;
    font-weight:700 !important;
}

.adp-portal[data-language="en"],
.adp-portal[data-language="en"] button,
.adp-portal[data-language="en"] input,
.adp-portal[data-language="en"] textarea,
.adp-portal[data-language="en"] select{
    font-family:"Montserrat",sans-serif;
}

.adp-portal[data-language="en"] h1,
.adp-portal[data-language="en"] h2,
.adp-portal[data-language="en"] h3,
.adp-portal[data-language="en"] h4,
.adp-portal[data-language="en"] h5,
.adp-portal[data-language="en"] h6{
    font-family:"Montserrat",sans-serif !important;
    font-weight:700 !important;
}

.adp-portal code,
.adp-portal pre,
.adp-key-rotation-secret-value code{
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        "Liberation Mono",
        monospace;
}

/* ----------------------------------------------------------
   Keyboard accessibility
   ---------------------------------------------------------- */

.adp-portal :where(
    button,
    a,
    input,
    select,
    textarea,
    summary,
    [tabindex]
):focus-visible,
.adp-auth-modal :where(
    button,
    a,
    input,
    select,
    textarea
):focus-visible,
.adp-key-rotation-modal :where(
    button,
    input,
    select
):focus-visible{
    outline:3px solid var(--adp-focus);
    outline-offset:2px;
    border-color:var(--adp-cyan);
}

.adp-portal button:disabled,
.adp-portal [aria-disabled="true"]{
    cursor:not-allowed;
}

/* ----------------------------------------------------------
   Panels / visual consistency
   ---------------------------------------------------------- */

.adp-portal-panel,
.adp-project-v1-card,
.adp-key-v2-card,
.adp-doc-studio-card,
.adp-analytics-card,
.adp-request-explorer{
    box-shadow:var(--adp-shadow-sm);
}

.adp-project-v1-card:hover,
.adp-key-v2-card:hover{
    box-shadow:var(--adp-shadow-md);
}

/* ----------------------------------------------------------
   Tables
   ---------------------------------------------------------- */

.adp-portal-table-wrap{
    width:100%;
    max-width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
    scrollbar-color:var(--adp-line) transparent;
    border-radius:10px;
}

.adp-portal-table-wrap::-webkit-scrollbar{
    height:8px;
}

.adp-portal-table-wrap::-webkit-scrollbar-thumb{
    border-radius:999px;
    background:var(--adp-line);
}

.adp-portal-table-wrap:focus-visible{
    outline:3px solid var(--adp-focus);
    outline-offset:2px;
}

.adp-portal-table th,
.adp-portal-table td{
    line-height:1.55;
}

/* ----------------------------------------------------------
   Documentation
   ---------------------------------------------------------- */

.adp-doc-studio-base{
    width:min(310px,100%);
}

.adp-doc-studio-detail,
.adp-doc-studio-card,
.adp-doc-studio-route{
    min-width:0;
}

.adp-doc-studio-code-block{
    max-width:100%;
}

/* ----------------------------------------------------------
   Analytics
   ---------------------------------------------------------- */

.adp-analytics-latency{
    flex-wrap:wrap;
}

.adp-analytics-latency>div{
    flex:1 1 130px;
}

.adp-analytics-chart{
    min-width:0;
}

/* ----------------------------------------------------------
   Request Explorer
   ---------------------------------------------------------- */

.adp-request-explorer{
    min-width:0;
}

.adp-request-filters>*{
    min-width:0;
}

.adp-request-route code{
    max-width:min(330px,35vw);
}

/* ----------------------------------------------------------
   Playground
   ---------------------------------------------------------- */

.adp-playground-v2-request,
.adp-playground-v2-response,
.adp-playground-v2-code{
    min-width:0;
}

.adp-playground-v2-response-content,
.adp-playground-v2-code pre{
    max-width:100%;
}

/* ----------------------------------------------------------
   Modals
   ---------------------------------------------------------- */

body.adp-portal-modal-open{
    overflow:hidden;
}

.adp-portal-modal-backdrop,
.adp-auth-modal-backdrop,
.adp-key-rotation-backdrop{
    overscroll-behavior:contain;
}

.adp-portal-modal,
.adp-auth-modal,
.adp-key-rotation-modal{
    max-width:calc(100vw - 24px);
    overscroll-behavior:contain;
}

.adp-key-rotation-secret-value{
    max-width:100%;
}

.adp-key-rotation-secret-value code{
    min-width:0;
}

/* ----------------------------------------------------------
   Empty / loading states
   ---------------------------------------------------------- */

.adp-portal-empty,
.adp-projects-v1-empty,
.adp-keys-v2-empty,
.adp-doc-studio-empty,
.adp-request-empty,
.adp-analytics-empty,
.adp-playground-v2-empty{
    line-height:1.75;
}

.adp-portal-loading,
.adp-portal-error{
    max-width:100%;
}

/* ----------------------------------------------------------
   Touch targets
   ---------------------------------------------------------- */

@media(pointer:coarse){
    .adp-portal-button,
    .adp-portal-nav-item,
    .adp-key-rotate-button,
    .adp-request-details-button,
    .adp-request-pagination button{
        min-height:40px;
    }
}

/* ----------------------------------------------------------
   Tablet
   ---------------------------------------------------------- */

@media(max-width:900px){

    .adp-doc-studio-hero,
    .adp-analytics-head,
    .adp-request-explorer-head{
        align-items:stretch;
    }

    .adp-doc-studio-base{
        width:100%;
    }

    .adp-request-route code{
        max-width:250px;
    }
}

/* ----------------------------------------------------------
   Mobile
   ---------------------------------------------------------- */

@media(max-width:760px){

    .adp-portal{
        overflow:hidden;
    }

    .adp-portal-main{
        min-width:0;
    }

    .adp-portal-table{
        min-width:640px;
    }

    .adp-request-table{
        min-width:760px;
    }

    .adp-doc-studio-toolbar{
        gap:8px;
    }

    .adp-doc-studio-groups{
        padding-bottom:3px;
        overflow-x:auto;
        overscroll-behavior-inline:contain;
    }

    .adp-doc-studio-groups button{
        flex:0 0 auto;
        white-space:nowrap;
    }

    .adp-analytics-latency{
        width:100%;
    }

    .adp-key-rotation-modal,
    .adp-auth-modal,
    .adp-portal-modal{
        max-height:calc(100dvh - 24px);
    }
}

/* ----------------------------------------------------------
   Small phones
   ---------------------------------------------------------- */

@media(max-width:480px){

    .adp-portal-shell{
        padding:8px;
    }

    .adp-portal-main{
        gap:10px;
    }

    .adp-portal-hero,
    .adp-portal-panel,
    .adp-project-v1-card,
    .adp-key-v2-card,
    .adp-doc-studio-card,
    .adp-request-explorer,
    .adp-analytics-card{
        border-radius:14px;
    }

    .adp-portal-hero{
        padding:17px;
    }

    .adp-doc-studio-detail-head,
    .adp-doc-studio-card,
    .adp-request-explorer,
    .adp-analytics-card{
        padding:12px;
    }

    .adp-key-rotation-backdrop,
    .adp-auth-modal-backdrop,
    .adp-portal-modal-backdrop{
        padding:8px;
    }

    .adp-key-rotation-modal,
    .adp-auth-modal,
    .adp-portal-modal{
        width:100%;
        max-width:100%;
        max-height:calc(100dvh - 16px);
        border-radius:15px;
    }

    .adp-key-rotation-secret-value{
        align-items:stretch;
        flex-direction:column;
    }

    .adp-key-rotation-secret-value button{
        width:100%;
    }

    .adp-request-route code{
        max-width:210px;
    }
}

/* ----------------------------------------------------------
   Reduced motion
   ---------------------------------------------------------- */

@media(prefers-reduced-motion:reduce){

    .adp-portal *,
    .adp-auth-modal *,
    .adp-key-rotation-modal *{
        scroll-behavior:auto !important;
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.01ms !important;
    }
}


/* ADP API MOBILE NATURAL HEIGHT FIX START */
@media (max-width:760px){

    /*
     * Desktop portal uses deliberate minimum heights.
     * On mobile these create empty space below the portal.
     */
    .adp-portal{
        min-height:0 !important;
        height:auto !important;
    }

    /*
     * Public developer login / registration shell.
     */
    .adp-portal .adp-auth-shell,
    .adp-auth-shell{
        min-height:0 !important;
        height:auto !important;
    }

    /*
     * Guest/loading/error screens must use their
     * actual content height on mobile.
     */
    .adp-portal .adp-portal-loading,
    .adp-portal .adp-portal-error,
    .adp-portal .adp-portal-guest-card,
    .adp-portal-loading,
    .adp-portal-error,
    .adp-portal-guest-card{
        min-height:0 !important;
        height:auto !important;
    }

    /*
     * Keep comfortable mobile spacing without
     * manufacturing a large blank area.
     */
    .adp-portal-loading,
    .adp-portal-error,
    .adp-portal-guest-card{
        padding-top:28px !important;
        padding-bottom:28px !important;
    }
}
/* ADP API MOBILE NATURAL HEIGHT FIX END */
