.po-ai{padding-bottom:72px}.po-ai *{box-sizing:border-box}.po-ai .po-page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}.po-ai .po-page-header h1{margin:5px 0 7px}.po-ai .po-page-header p{margin:0;color:#667892}.po-ai-provider-badge{display:inline-flex;align-items:center;padding:9px 13px;border-radius:999px;font-size:12px;font-weight:800}.po-ai-provider-badge.is-enabled{background:#e7f8ef;color:#087446}.po-ai-provider-badge.is-disabled{background:#edf2f8;color:#667892}.po-ai-flash,.po-ai-test-output{border:1px solid #b8d8ff;background:#edf6ff;border-radius:14px;padding:15px 18px;margin-bottom:18px;color:#12457d}.po-ai-test-output strong,.po-ai-test-output p{display:block;margin:0}.po-ai-test-output p{margin-top:6px}.po-ai-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.po-ai-kpis article{background:#fff;border:1px solid #dce5f0;border-radius:18px;min-height:112px;padding:20px 22px;display:flex;flex-direction:column;justify-content:center;gap:10px;box-shadow:0 9px 28px rgba(18,43,77,.06)}.po-ai-kpis span{font-size:13px;color:#65758f}.po-ai-kpis strong{font-size:28px;line-height:1;color:#0b1734}.po-ai-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px}.po-ai-tabs a{display:inline-flex;align-items:center;min-height:48px;padding:0 20px;border-radius:13px;background:#eaf0f7;color:#17365e!important;text-decoration:none!important;font-weight:750}.po-ai-tabs a.is-active{background:#123466;color:#fff!important}.po-ai-card{background:#fff;border:1px solid #dce5f0;border-radius:20px;padding:28px;box-shadow:0 10px 30px rgba(16,38,72,.06)}.po-ai-layout,.po-ai-overview-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,.8fr);gap:22px}.po-ai-card-head{display:flex;justify-content:space-between;gap:18px;margin-bottom:22px}.po-ai-card h2{margin:0 0 7px;font-size:24px}.po-ai-card h3{margin:0 0 6px}.po-ai-card-head p,.po-ai-card>p{margin:0;color:#667892}.po-ai-intro{display:flex;gap:22px}.po-ai-icon{flex:0 0 58px;width:58px;height:58px;border-radius:17px;background:#123466;color:#fff;display:grid;place-items:center;font-weight:850}.po-ai-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px}.po-ai-feature-grid article{border:1px solid #e1e8f1;background:#f8fafc;border-radius:14px;padding:17px}.po-ai-feature-grid strong,.po-ai-feature-grid span{display:block}.po-ai-feature-grid span{color:#667892;margin-top:5px;font-size:13px}.po-ai-summary{margin:18px 0 0}.po-ai-summary div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #edf1f6}.po-ai-summary dt{color:#667892}.po-ai-summary dd{margin:0;font-weight:750;text-align:right}.po-ai-help,.po-ai-security{margin-top:20px;padding:16px;border-radius:13px;background:#f3f7fb;color:#52647e}.po-ai-security ul{margin:10px 0 0;padding-left:20px}.po-ai-form{border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;background:transparent!important}.po-ai-form label{display:block;margin-bottom:17px}.po-ai-form label>span{display:block;margin-bottom:7px;font-weight:750;color:#18345c;font-size:13px}.po-ai-form input,.po-ai-form select,.po-ai-form textarea{width:100%;border:1px solid #cedbea!important;background:#fff!important;border-radius:11px!important;padding:13px 14px!important;font:inherit!important;color:#0b1734!important;box-shadow:none!important}.po-ai-form input,.po-ai-form select{min-height:48px}.po-ai-form textarea{resize:vertical;line-height:1.5}.po-ai-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.po-ai-check{display:flex!important;align-items:center;gap:10px;padding:13px 15px;border:1px solid #dce5f0;border-radius:12px;background:#f8fafc}.po-ai-check input{width:19px!important;height:19px!important;min-height:0!important;margin:0!important;padding:0!important}.po-ai-check span{margin:0!important}.po-ai-prompt-list{display:grid;gap:14px}.po-ai-prompt-list article{display:flex;justify-content:space-between;gap:20px;padding:19px;border:1px solid #e0e8f1;border-radius:15px;background:#fbfcfe}.po-ai-prompt-list p{margin:9px 0 0;color:#667892}.po-ai-prompt-list code{display:inline-block;margin-top:3px;color:#0a67d6}.po-ai-category{display:inline-flex;padding:5px 9px;border-radius:999px;background:#eaf3ff;color:#0967ce;font-size:11px;font-weight:800;margin-bottom:9px}.po-ai-prompt-list form{border:0!important;box-shadow:none!important;margin:0!important;padding:0!important}.po-ai-empty{min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px dashed #d8e2ed;border-radius:16px;background:#fafcfe;padding:28px}.po-ai-empty h3,.po-ai-empty p{margin:0}.po-ai-empty p{margin-top:7px;color:#667892}.po-ai-table-wrap{overflow:auto}.po-ai table{width:100%;border-collapse:collapse}.po-ai th,.po-ai td{text-align:left;padding:14px 12px;border-bottom:1px solid #e7edf4;vertical-align:top}.po-ai th{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#687892}.po-ai td small{display:block;color:#7888a0;margin-top:4px;max-width:360px}.po-ai-status{display:inline-flex;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:800}.po-ai-status.is-completed{background:#e7f8ef;color:#087446}.po-ai-status.is-failed{background:#fff0ef;color:#b42620}.po-ai-notice{padding:18px;border-radius:14px;background:#fff5d9;color:#735800}@media(max-width:1100px){.po-ai-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.po-ai-layout,.po-ai-overview-grid{grid-template-columns:1fr}}@media(max-width:700px){.po-ai{padding-bottom:52px}.po-ai .po-page-header{align-items:flex-start;flex-direction:column}.po-ai-kpis,.po-ai-grid,.po-ai-feature-grid{grid-template-columns:1fr}.po-ai-card{padding:20px}.po-ai-intro{display:block}.po-ai-icon{margin-bottom:18px}.po-ai-tabs{display:grid;grid-template-columns:1fr 1fr}.po-ai-tabs a{justify-content:center;padding:0 10px}.po-ai-prompt-list article{display:block}.po-ai-prompt-list form{margin-top:15px!important}}

/* 0.59.6.18 — unified integration, reporting and AI page styling */
.po-ai{box-sizing:border-box;max-width:1500px;margin-left:auto;margin-right:auto;padding-bottom:64px}
.po-ai *,.po-ai *::before,.po-ai *::after{box-sizing:border-box}
.po-ai>.po-page-header,.po-ai>.po-crm-header{margin-bottom:28px!important}
.po-ai [class*="-kpis"]{gap:20px!important;margin:0 0 30px!important}
.po-ai [class*="-kpis"]>article{min-height:0!important;height:auto!important;padding:26px 30px!important;border:1px solid #d7e2ef!important;border-radius:20px!important;background:#fff!important;box-shadow:0 12px 32px rgba(15,42,75,.06)!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;overflow:hidden}
.po-ai [class*="-kpis"]>article>span{display:block!important;margin:0 0 12px!important;color:#5f7189!important;font-size:15px!important;font-weight:700!important;line-height:1.3!important;text-transform:none!important;letter-spacing:0!important}
.po-ai [class*="-kpis"]>article>strong{display:block!important;margin:0 0 8px!important;color:#0d2b57!important;font-size:34px!important;font-weight:800!important;line-height:1.08!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.po-ai [class*="-kpis"]>article>small{display:block!important;margin:0!important;color:#8090a5!important;font-size:14px!important;line-height:1.45!important}
.po-ai .po-crm-card,.po-ai [class*="-panel"],.po-ai [class*="-section"],.po-ai [class*="-summary"],.po-ai [class*="-simulator"],.po-ai [class*="-empty"]{border:1px solid #d7e2ef!important;border-radius:20px!important;background:#fff!important;box-shadow:0 12px 32px rgba(15,42,75,.05)!important}
.po-ai .po-crm-card{padding:30px!important;margin:0 0 28px!important}
.po-ai main,.po-ai aside,.po-ai [class*="-grid"],.po-ai [class*="-layout"]{min-width:0}
.po-ai h2{line-height:1.2}
.po-ai form{margin-top:18px}
.po-ai form label:not(.po-check):not([class*="check"]){display:grid!important;gap:9px!important;padding:0!important;border:0!important;background:transparent!important;color:#12335e!important;font-weight:700!important;line-height:1.3!important}
.po-ai form input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),.po-ai form select,.po-ai form textarea{display:block!important;width:100%!important;max-width:100%!important;min-height:52px!important;margin:0!important;padding:13px 16px!important;border:1px solid #cfdbea!important;border-radius:13px!important;background:#fff!important;color:#10264a!important;box-shadow:none!important;line-height:1.35!important}
.po-ai form textarea{min-height:120px!important;resize:vertical}
.po-ai fieldset{margin:0!important;padding:20px!important;border:1px solid #dbe4ef!important;border-radius:15px!important;background:#fbfdff!important}
.po-ai legend{padding:0 8px!important;color:#12335e!important;font-weight:800!important}
.po-ai .po-check,.po-ai [class*="-check"]{display:flex!important;align-items:center!important;gap:10px!important;padding:0!important;border:0!important;background:transparent!important}
.po-ai input[type="checkbox"],.po-ai input[type="radio"]{flex:0 0 auto!important;width:19px!important;height:19px!important;min-height:0!important;margin:0!important}
.po-ai .po-button,.po-ai button,.po-ai input[type="submit"]{min-height:50px!important;width:auto!important;padding:13px 22px!important;border-radius:12px!important;line-height:1.2!important;white-space:nowrap}
.po-ai details{margin:28px 0!important;border:1px solid #d7e2ef!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 26px rgba(15,42,75,.05)!important;overflow:hidden}
.po-ai details>summary{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;min-height:68px!important;padding:20px 26px!important;cursor:pointer!important;font-size:18px!important;font-weight:800!important;list-style:none!important}
.po-ai details>summary::-webkit-details-marker{display:none}
.po-ai details>summary::after{content:'›';font-size:28px;line-height:1;transform:rotate(90deg);transition:transform .2s ease}
.po-ai details[open]>summary::after{transform:rotate(-90deg)}
.po-ai details[open]>summary{border-bottom:1px solid #e2e9f2}
.po-ai details>*:not(summary){margin-left:26px!important;margin-right:26px!important}
.po-ai table{width:100%;border-collapse:separate;border-spacing:0}
.po-ai th,.po-ai td{padding:15px 16px!important;border-bottom:1px solid #e6edf5!important;text-align:left}
.po-ai th{background:#f6f9fc;color:#4d617b;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
@media(max-width:800px){.po-ai{padding-bottom:44px}.po-ai [class*="-kpis"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}.po-ai [class*="-kpis"]>article{padding:22px!important}.po-ai .po-crm-card{padding:22px!important}.po-ai .po-button,.po-ai button,.po-ai input[type="submit"]{max-width:100%}}
@media(max-width:560px){.po-ai [class*="-kpis"]{grid-template-columns:1fr!important}.po-ai [class*="-kpis"]>article>strong{font-size:30px!important}.po-ai details>summary{padding:18px 20px!important}.po-ai details>*:not(summary){margin-left:20px!important;margin-right:20px!important}}

/* 0.59.6.45 — AI Foundation form and card clearance */
.po-ai .po-ai-card,
.po-ai .po-ai-feature-grid article,
.po-ai .po-ai-summary,
.po-ai .po-ai-security{
    overflow:hidden!important;
}
.po-ai .po-ai-feature-grid article{
    padding:20px!important;
    min-height:112px!important;
}
.po-ai .po-ai-feature-grid article strong{
    display:block!important;
    margin:0 0 8px!important;
    color:#102b52!important;
    font-size:15px!important;
    line-height:1.3!important;
}
.po-ai .po-ai-feature-grid article span{
    display:block!important;
    margin:0!important;
    color:#5f7189!important;
    font-size:14px!important;
    line-height:1.5!important;
}
.po-ai .po-ai-summary{
    margin-top:22px!important;
    border:1px solid #d7e2ef!important;
    border-radius:18px!important;
    background:#f8fbfe!important;
}
.po-ai .po-ai-summary div{
    padding:16px 18px!important;
    border-bottom:1px solid #dfe8f1!important;
    background:transparent!important;
}
.po-ai .po-ai-summary div:last-child{border-bottom:0!important}
.po-ai .po-ai-summary dt{color:#60738d!important}
.po-ai .po-ai-summary dd{color:#102b52!important}
.po-ai .po-ai-help{
    color:#536781!important;
    background:#f3f7fb!important;
}
.po-ai .po-ai-form{
    display:grid!important;
    gap:18px!important;
}
.po-ai .po-ai-form > label,
.po-ai .po-ai-grid > label{
    display:grid!important;
    gap:10px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
}
.po-ai .po-ai-form label > span{
    display:block!important;
    position:static!important;
    margin:0!important;
    padding:0!important;
    line-height:1.35!important;
}
.po-ai .po-ai-form input:not([type="checkbox"]),
.po-ai .po-ai-form select,
.po-ai .po-ai-form textarea{
    position:static!important;
    margin:0!important;
    box-sizing:border-box!important;
}
.po-ai .po-ai-grid{gap:18px 20px!important}
.po-ai .po-ai-check{
    margin:0!important;
    padding:0!important;
}
.po-ai .po-ai-security{
    margin-top:24px!important;
    padding:22px!important;
}

/* 0.59.6.46 — final AI tabs form clearance and contrast */
.po-ai .po-ai-card{
    padding:32px!important;
    overflow:visible!important;
}
.po-ai .po-ai-card-head{
    margin:0 0 26px!important;
}
.po-ai .po-ai-form{
    display:grid!important;
    gap:22px!important;
    margin:0!important;
    padding:0!important;
}
.po-ai .po-ai-form > label,
.po-ai .po-ai-grid > label{
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
}
.po-ai .po-ai-form label > span,
.po-ai .po-ai-grid label > span{
    display:block!important;
    position:static!important;
    inset:auto!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    color:#102b52!important;
    font-size:14px!important;
    font-weight:800!important;
    line-height:1.4!important;
    transform:none!important;
}
.po-ai .po-ai-form input:not([type="checkbox"]):not([type="radio"]),
.po-ai .po-ai-form select,
.po-ai .po-ai-form textarea{
    display:block!important;
    position:static!important;
    inset:auto!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:16px 18px!important;
    border:1px solid #c9d8ea!important;
    border-radius:16px!important;
    background:#fff!important;
    color:#102b52!important;
    box-shadow:none!important;
    line-height:1.45!important;
    transform:none!important;
}
.po-ai .po-ai-form input:not([type="checkbox"]):not([type="radio"]),
.po-ai .po-ai-form select{min-height:58px!important}
.po-ai .po-ai-form textarea{min-height:150px!important;resize:vertical!important}
.po-ai .po-ai-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:22px!important;
    margin:0!important;
}
.po-ai .po-ai-check{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    gap:12px!important;
    margin:0!important;
    padding:2px 0!important;
    border:0!important;
    background:transparent!important;
}
.po-ai .po-ai-check input{
    flex:0 0 22px!important;
    width:22px!important;
    height:22px!important;
    margin:0!important;
}
.po-ai .po-ai-check span{
    margin:0!important;
    color:#102b52!important;
    font-size:14px!important;
    font-weight:800!important;
}
.po-ai .po-ai-summary{
    overflow:hidden!important;
    background:#123f70!important;
    border-color:#123f70!important;
}
.po-ai .po-ai-summary div{
    background:transparent!important;
    border-bottom-color:rgba(255,255,255,.28)!important;
}
.po-ai .po-ai-summary dt{
    color:#d9e8f8!important;
    font-weight:600!important;
}
.po-ai .po-ai-summary dd{
    color:#fff!important;
    font-weight:800!important;
}
.po-ai .po-ai-feature-grid article{
    background:#f8fbfe!important;
}
.po-ai .po-ai-feature-grid article strong{
    color:#102b52!important;
}
.po-ai .po-ai-feature-grid article span{
    color:#536781!important;
}
@media(max-width:700px){
    .po-ai .po-ai-card{padding:22px!important}
    .po-ai .po-ai-grid{grid-template-columns:1fr!important}
}

/* 0.59.6.47 — remove form-border collisions on AI Foundation tabs */
.po-ai .po-ai-card .po-ai-form{
    display:grid!important;
    gap:24px!important;
    width:100%!important;
    margin:0!important;
    padding:8px 0 0!important;
    border:0!important;
    border-radius:0!important;
    outline:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
}
.po-ai .po-ai-card .po-ai-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:24px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    outline:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
}
.po-ai .po-ai-card .po-ai-form > label,
.po-ai .po-ai-card .po-ai-grid > label{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    outline:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
}
.po-ai .po-ai-card .po-ai-form label > span,
.po-ai .po-ai-card .po-ai-grid label > span{
    display:block!important;
    position:static!important;
    width:auto!important;
    margin:0 0 12px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    color:#102b52!important;
    font-size:14px!important;
    font-weight:800!important;
    line-height:1.35!important;
    transform:none!important;
}
.po-ai .po-ai-card .po-ai-form input:not([type="checkbox"]):not([type="radio"]),
.po-ai .po-ai-card .po-ai-form select,
.po-ai .po-ai-card .po-ai-form textarea{
    display:block!important;
    position:static!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    border:1px solid #c9d8ea!important;
    border-radius:16px!important;
    outline:0!important;
    background:#fff!important;
    box-shadow:none!important;
    transform:none!important;
}
.po-ai .po-ai-card .po-ai-form input:not([type="checkbox"]):not([type="radio"]),
.po-ai .po-ai-card .po-ai-form select{
    min-height:58px!important;
    padding:15px 18px!important;
}
.po-ai .po-ai-card .po-ai-form textarea{
    min-height:176px!important;
    padding:18px!important;
    line-height:1.5!important;
}
.po-ai .po-ai-card .po-ai-check{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    gap:12px!important;
    margin:2px 0 0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
}
.po-ai .po-ai-card .po-ai-check span{margin:0!important}
@media(max-width:700px){
    .po-ai .po-ai-card .po-ai-grid{grid-template-columns:1fr!important}
}

/* 0.59.6.67 — client-facing AI allowance, usage and top-up dashboard */
.po-ai-client-allowance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:center;gap:14px;margin:24px 0;padding:18px;border:1px solid #d8e4f0;border-radius:18px;background:#f7fbff}.po-ai-client-allowance>div{display:grid;gap:4px}.po-ai-client-allowance small,.po-ai-usage-stats span{color:#61758e;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.po-ai-client-allowance strong{color:#102b52;font-size:25px;line-height:1.1}.po-ai-client-allowance span{color:#687b92;font-size:13px}.po-ai-credit-alert{display:flex;align-items:center;gap:12px;margin:0 0 20px;padding:16px 18px;border:1px solid;border-radius:16px}.po-ai-credit-alert strong{color:inherit}.po-ai-credit-alert span{flex:1}.po-ai-credit-alert a{font-weight:800;color:inherit}.po-ai-credit-alert.is-warning{background:#fff8e5;border-color:#f2cf6b;color:#795600}.po-ai-credit-alert.is-danger{background:#fff0f0;border-color:#efaaaa;color:#9b2525}.po-ai-usage-hero{background:linear-gradient(135deg,#fff 0%,#f5faff 100%)!important}.po-ai-remaining-pill{display:grid;justify-items:end}.po-ai-remaining-pill strong{font-size:26px;color:#102b52}.po-ai-remaining-pill span{font-size:12px;color:#61758e;text-transform:uppercase;font-weight:800}.po-ai-progress{height:14px;background:#e5edf6;border-radius:999px;overflow:hidden}.po-ai-progress>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1677ff,#56a8ff)}.po-ai-progress-meta{display:flex;justify-content:space-between;gap:16px;margin:10px 0 24px;color:#667992;font-size:13px}.po-ai-progress-meta strong{color:#18385f}.po-ai-usage-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.po-ai-usage-stats article{display:grid;gap:7px;padding:18px;border:1px solid #dbe5ef;border-radius:16px;background:#fff}.po-ai-usage-stats strong{color:#102b52;font-size:20px}.po-ai-usage-stats small{color:#71839a}.po-ai-client-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(340px,.88fr);gap:18px;margin-top:18px}.po-ai-breakdown{display:grid;gap:18px}.po-ai-breakdown article{display:grid;gap:9px}.po-ai-breakdown article>div:first-child{display:flex;justify-content:space-between;gap:15px}.po-ai-breakdown article strong{color:#17375e}.po-ai-breakdown article span{color:#667992}.po-ai-breakdown-bar{height:9px;background:#e8eef5;border-radius:999px;overflow:hidden}.po-ai-breakdown-bar span{display:block;height:100%;background:#1677ff;border-radius:999px}.po-ai-credit-packs{display:grid;gap:12px}.po-ai-credit-packs article{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px;border:1px solid #dce6f0;border-radius:15px;background:#f9fbfe}.po-ai-credit-packs article>div{display:grid;gap:4px}.po-ai-credit-packs h3{margin:0;color:#14345a;font-size:15px}.po-ai-credit-packs strong{color:#102b52;font-size:18px}.po-ai-credit-packs span{color:#667992}.po-ai-credit-packs .po-button{min-height:42px!important;padding:10px 15px!important}.po-ai-upgrade{margin-top:18px}.po-ai-recent{margin-top:18px}.po-ai-recent .po-ai-card-head>a{font-weight:800}.po-ai-activity-list{display:grid}.po-ai-activity-list article{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 0;border-bottom:1px solid #e5ecf3}.po-ai-activity-list article:last-child{border-bottom:0}.po-ai-activity-list article>div{display:grid;gap:5px}.po-ai-activity-list article>div:last-child{justify-items:end}.po-ai-activity-list strong,.po-ai-activity-list b{color:#17375e}.po-ai-activity-list span{color:#71839a;font-size:13px}
@media(max-width:980px){.po-ai-client-allowance{grid-template-columns:repeat(3,minmax(0,1fr))}.po-ai-client-allowance .po-button{grid-column:1/-1;justify-content:center}.po-ai-client-grid{grid-template-columns:1fr}.po-ai-usage-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.po-ai-client-allowance,.po-ai-usage-stats{grid-template-columns:1fr}.po-ai-credit-alert{align-items:flex-start;flex-direction:column}.po-ai-progress-meta,.po-ai-breakdown article>div:first-child,.po-ai-credit-packs article,.po-ai-activity-list article{align-items:flex-start;flex-direction:column}.po-ai-activity-list article>div:last-child{justify-items:start}.po-ai-remaining-pill{justify-items:start}.po-ai .po-ai-card-head{align-items:flex-start!important;flex-direction:column!important}}

/* 0.59.6.68 — AI Foundation overview and credits layout polish */
.po-ai .po-ai-card,
.po-ai .po-ai-card *{min-width:0}
.po-ai .po-ai-card-head{align-items:flex-start}
.po-ai .po-ai-card-head>div{min-width:0}
.po-ai .po-ai-card-head h2,
.po-ai .po-ai-card-head p,
.po-ai .po-ai-card h3,
.po-ai .po-ai-card span,
.po-ai .po-ai-card strong,
.po-ai .po-ai-card small{overflow-wrap:anywhere}

.po-ai .po-ai-intro>div{flex:1;min-width:0}
.po-ai .po-ai-client-allowance{grid-template-columns:repeat(3,minmax(115px,1fr)) minmax(210px,auto);gap:18px;padding:22px}
.po-ai .po-ai-client-allowance>div{align-content:start;padding:2px 6px}
.po-ai .po-ai-client-allowance small{line-height:1.45;min-height:35px}
.po-ai .po-ai-client-allowance strong{margin-top:2px}
.po-ai .po-ai-client-allowance .po-button{width:100%;max-width:295px;min-height:56px;justify-content:center;text-align:center;white-space:normal;line-height:1.25;padding:13px 20px!important}
.po-ai .po-ai-feature-grid article{min-height:132px;padding:22px 24px;display:flex;flex-direction:column;justify-content:flex-start}
.po-ai .po-ai-feature-grid article strong{line-height:1.35}
.po-ai .po-ai-feature-grid article span{line-height:1.55;margin-top:8px}

.po-ai .po-ai-credit-summary{flex:0 0 auto;min-width:145px;min-height:92px;padding:16px 20px;border:1px solid #dbe5ef;border-radius:18px;background:#fff;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;text-align:right}
.po-ai .po-ai-credit-summary strong{font-size:27px;line-height:1.1;color:#102b52}
.po-ai .po-ai-credit-summary span{margin-top:6px;color:#61758e;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.po-ai .po-ai-usage-stats article{padding:22px 20px;min-height:128px;align-content:start}
.po-ai .po-ai-usage-stats article>span{position:static!important;display:block;min-height:34px;line-height:1.4;margin:0}
.po-ai .po-ai-usage-stats article>strong{display:block;line-height:1.25;margin-top:2px}
.po-ai .po-ai-usage-stats article>small{display:block;line-height:1.4;margin-top:2px}

.po-ai .po-ai-client-grid>.po-ai-card{padding:32px 34px}
.po-ai .po-ai-empty{min-height:274px;padding:38px 30px}
.po-ai .po-ai-empty h3{line-height:1.25}
.po-ai .po-ai-empty p{line-height:1.55;max-width:620px}
.po-ai .po-ai-credit-packs{gap:14px}
.po-ai .po-ai-credit-packs article{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,auto);align-items:center;gap:20px;padding:20px 22px;min-height:116px}
.po-ai .po-ai-credit-packs article>div{gap:7px}
.po-ai .po-ai-credit-packs h3{font-size:15px;line-height:1.35}
.po-ai .po-ai-credit-packs strong{font-size:20px;line-height:1.2}
.po-ai .po-ai-credit-packs article>.po-ai-help{display:flex;align-items:center;justify-content:center;margin:0;padding:15px 18px;min-height:58px;text-align:center;line-height:1.35}
.po-ai .po-ai-credit-packs .po-button{width:100%;justify-content:center;text-align:center;white-space:normal}
.po-ai .po-ai-upgrade{display:inline-flex;justify-content:center;white-space:normal;text-align:center;line-height:1.3}

.po-ai .po-ai-credit-alert{flex-wrap:wrap;line-height:1.45}
.po-ai .po-ai-credit-alert strong{flex:0 0 auto}
.po-ai .po-ai-credit-alert span{min-width:260px}
.po-ai .po-ai-credit-alert a{margin-left:auto;white-space:nowrap}

@media(max-width:1180px){
  .po-ai .po-ai-client-allowance{grid-template-columns:repeat(3,minmax(0,1fr))}
  .po-ai .po-ai-client-allowance .po-button{grid-column:1/-1;max-width:none}
  .po-ai .po-ai-credit-packs article{grid-template-columns:1fr}
  .po-ai .po-ai-credit-packs article>.po-ai-help,.po-ai .po-ai-credit-packs .po-button{width:100%}
}
@media(max-width:760px){
  .po-ai .po-ai-client-allowance,.po-ai .po-ai-usage-stats{grid-template-columns:1fr}
  .po-ai .po-ai-client-allowance>div{padding:4px 0}
  .po-ai .po-ai-client-allowance small{min-height:0}
  .po-ai .po-ai-credit-summary{width:100%;align-items:flex-start;text-align:left}
  .po-ai .po-ai-client-grid>.po-ai-card{padding:24px 20px}
  .po-ai .po-ai-credit-alert a{margin-left:0}
  .po-ai .po-ai-credit-alert span{min-width:0;width:100%}
}

/* 0.59.6.69 — spread overview allowance metrics and separate CTA */
.po-ai .po-ai-client-allowance{
  grid-template-columns:repeat(3,minmax(0,1fr));
  column-gap:0;
  row-gap:20px;
  align-items:stretch;
  padding:24px 26px;
}
.po-ai .po-ai-client-allowance>div{
  min-height:104px;
  padding:2px 28px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:7px;
  border-right:1px solid #d8e4f0;
}
.po-ai .po-ai-client-allowance>div:first-child{padding-left:0}
.po-ai .po-ai-client-allowance>div:nth-child(3){padding-right:0;border-right:0}
.po-ai .po-ai-client-allowance small{
  min-height:0;
  white-space:normal;
  line-height:1.45;
}
.po-ai .po-ai-client-allowance strong{font-size:28px;line-height:1}
.po-ai .po-ai-client-allowance span{line-height:1.45}
.po-ai .po-ai-client-allowance .po-button{
  grid-column:1/-1;
  width:100%;
  max-width:none;
  min-height:54px;
  margin-top:2px;
}
@media(max-width:760px){
  .po-ai .po-ai-client-allowance{grid-template-columns:1fr;padding:22px}
  .po-ai .po-ai-client-allowance>div,
  .po-ai .po-ai-client-allowance>div:first-child,
  .po-ai .po-ai-client-allowance>div:nth-child(3){
    min-height:0;
    padding:0 0 18px;
    border-right:0;
    border-bottom:1px solid #d8e4f0;
  }
  .po-ai .po-ai-client-allowance>div:nth-child(3){border-bottom:0;padding-bottom:0}
}

/* 0.59.6.70 — final inner-spacing fixes for AI credit and usage cards */
.po-ai .po-ai-usage-stats article{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:flex-start!important;
  gap:10px!important;
  min-height:150px!important;
  padding:28px 26px!important;
  overflow:hidden!important;
}
.po-ai .po-ai-usage-stats article>span{
  position:static!important;
  inset:auto!important;
  transform:none!important;
  display:block!important;
  width:100%!important;
  min-height:auto!important;
  margin:0!important;
  padding:0!important;
  line-height:1.45!important;
}
.po-ai .po-ai-usage-stats article>strong{
  position:static!important;
  transform:none!important;
  margin:12px 0 0!important;
  padding:0!important;
  line-height:1.2!important;
}
.po-ai .po-ai-usage-stats article>small{
  position:static!important;
  transform:none!important;
  margin:0!important;
  padding:0!important;
  line-height:1.45!important;
}

.po-ai .po-ai-credit-packs article{
  position:relative!important;
  padding:26px 28px!important;
  min-height:132px!important;
  overflow:hidden!important;
}
.po-ai .po-ai-credit-packs article>div{
  min-width:0!important;
  padding:0 8px!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  gap:8px!important;
}
.po-ai .po-ai-credit-packs article h3,
.po-ai .po-ai-credit-packs article strong,
.po-ai .po-ai-credit-packs article>div>span{
  position:static!important;
  inset:auto!important;
  transform:none!important;
  display:block!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
}
.po-ai .po-ai-credit-packs article>.po-ai-help{
  position:static!important;
  transform:none!important;
  min-width:280px!important;
  min-height:70px!important;
  padding:18px 24px!important;
  border-radius:14px!important;
}

@media(max-width:900px){
  .po-ai .po-ai-credit-packs article{
    grid-template-columns:1fr!important;
    gap:18px!important;
  }
  .po-ai .po-ai-credit-packs article>.po-ai-help,
  .po-ai .po-ai-credit-packs article>.po-button{
    width:100%!important;
    min-width:0!important;
  }
}
@media(max-width:650px){
  .po-ai .po-ai-usage-stats article{min-height:0!important;padding:24px 22px!important}
  .po-ai .po-ai-credit-packs article{padding:24px 20px!important}
  .po-ai .po-ai-credit-packs article>div{padding:0!important}
}

/* 0.59.6.71 — make the overview credit allowance panel fill its content column */
.po-ai .po-ai-intro{
  align-items:stretch!important;
}
.po-ai .po-ai-intro>div{
  flex:1 1 auto!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
.po-ai .po-ai-client-allowance{
  width:100%!important;
  max-width:none!important;
  align-self:stretch!important;
}
@media(max-width:700px){
  .po-ai .po-ai-intro>div,
  .po-ai .po-ai-client-allowance{
    width:100%!important;
  }
}


/* 0.59.6.72 — full-width overview allowance panel */
.po-ai .po-ai-workspace-card{
  display:block!important;
}
.po-ai .po-ai-workspace-head{
  display:flex!important;
  align-items:flex-start!important;
  gap:22px!important;
  width:100%!important;
}
.po-ai .po-ai-workspace-head>div{
  flex:1 1 auto!important;
  min-width:0!important;
}
.po-ai .po-ai-workspace-head h2{margin-top:0!important}
.po-ai .po-ai-client-allowance{
  width:100%!important;
  max-width:none!important;
  margin:26px 0 0!important;
}
.po-ai .po-ai-workspace-card .po-ai-feature-grid{
  width:100%!important;
  margin-top:30px!important;
}
@media(max-width:700px){
  .po-ai .po-ai-workspace-head{display:block!important}
  .po-ai .po-ai-workspace-head .po-ai-icon{margin-bottom:18px!important}
  .po-ai .po-ai-client-allowance{margin-top:22px!important}
}

/* 0.59.6.73 — prevent credit pack copy being squeezed on Credits & Usage */
.po-ai .po-ai-credit-packs article{
  grid-template-columns:minmax(190px,.8fr) minmax(260px,1.2fr)!important;
  column-gap:24px!important;
}
.po-ai .po-ai-credit-packs article>div{
  width:100%!important;
  min-width:0!important;
}
.po-ai .po-ai-credit-packs article h3,
.po-ai .po-ai-credit-packs article strong,
.po-ai .po-ai-credit-packs article>div>span{
  max-width:100%!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
.po-ai .po-ai-credit-packs article>.po-ai-help{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
@media(max-width:1180px){
  .po-ai .po-ai-credit-packs article{
    grid-template-columns:1fr!important;
    gap:18px!important;
  }
  .po-ai .po-ai-credit-packs article>div{
    padding:0!important;
  }
  .po-ai .po-ai-credit-packs article>.po-ai-help,
  .po-ai .po-ai-credit-packs article>.po-button{
    width:100%!important;
    min-width:0!important;
  }
}

/* 0.59.6.74 — robust credit-pack layout inside the narrow Credits & Usage column */
.po-ai .po-ai-credit-packs article{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:16px!important;
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  padding:22px!important;
  align-items:stretch!important;
}
.po-ai .po-ai-credit-packs article>div{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:5px!important;
  width:100%!important;
  min-width:0!important;
  padding:0!important;
}
.po-ai .po-ai-credit-packs article h3,
.po-ai .po-ai-credit-packs article strong,
.po-ai .po-ai-credit-packs article>div>span{
  width:100%!important;
  max-width:none!important;
  white-space:normal!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
.po-ai .po-ai-credit-packs article h3{font-size:15px!important;line-height:1.35!important}
.po-ai .po-ai-credit-packs article strong{font-size:21px!important;line-height:1.25!important}
.po-ai .po-ai-credit-packs article>.po-ai-help,
.po-ai .po-ai-credit-packs article>.po-button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  min-height:58px!important;
  margin:0!important;
  padding:14px 18px!important;
  text-align:center!important;
  line-height:1.4!important;
  white-space:normal!important;
}
@media(min-width:1450px){
  .po-ai .po-ai-credit-packs article{
    grid-template-columns:minmax(180px,.7fr) minmax(260px,1.3fr)!important;
    gap:20px!important;
    align-items:center!important;
  }
}
@media(max-width:650px){
  .po-ai .po-ai-credit-packs article{padding:20px!important}
}

/* 59.7.22 — keep AI usage table values visible inside themes with inherited table colours */
.po-ai .po-ai-table-wrap tbody td{color:#17375e!important;}
.po-ai .po-ai-table-wrap tbody td strong{color:#17375e!important;font-weight:800;}
.po-ai .po-ai-table-wrap tbody td:nth-child(3),
.po-ai .po-ai-table-wrap tbody td:nth-child(4){white-space:nowrap;}

/* 59.7.39 — Stripe checkout forms must not render as a grey full-width button tray */
.po-ai .po-ai-credit-packs article > form{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  justify-self:start!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.po-ai .po-ai-credit-packs article > form .po-button{
  display:inline-flex!important;
  width:auto!important;
  min-width:148px!important;
  max-width:100%!important;
  min-height:56px!important;
  margin:0!important;
  padding:14px 20px!important;
  border-radius:16px!important;
  white-space:nowrap!important;
}
@media(max-width:650px){
  .po-ai .po-ai-credit-packs article > form{
    width:100%!important;
  }
  .po-ai .po-ai-credit-packs article > form .po-button{
    width:100%!important;
  }
}
