.po-aiw{max-width:1500px;margin:0 auto;padding:32px 28px 88px}.po-aiw *{box-sizing:border-box}.po-aiw .po-page-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:24px}.po-aiw .po-page-header h1{margin:8px 0 8px;font-size:46px;line-height:1.05;color:#0c1b3a}.po-aiw .po-page-header p{margin:0;color:#60708a;font-size:18px}.po-aiw .po-eyebrow{font-size:13px;letter-spacing:.14em;font-weight:800;color:#0875ef}.po-aiw-flash{padding:14px 18px;border:1px solid #f2c875;background:#fff8e6;border-radius:14px;margin-bottom:20px;font-weight:700;color:#744d00}.po-aiw-flash.is-success{border-color:#acd9c1;background:#eefaf3;color:#16623a}.po-aiw-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:24px}.po-aiw-kpis article{min-height:136px;background:#fff;border:1px solid #d8e2ef;border-radius:22px;padding:22px 24px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 12px 28px rgba(14,35,71,.06)}.po-aiw-kpis span{font-size:15px;color:#60708a}.po-aiw-kpis strong{font-size:34px;line-height:1;color:#102a56}.po-aiw-kpis strong.is-text{font-size:22px}.po-aiw-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}.po-aiw-tabs a{padding:14px 22px;border-radius:15px;background:#eaf0f7;color:#19345d;text-decoration:none;font-weight:800}.po-aiw-tabs a.is-active{background:#153768;color:#fff}.po-aiw-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(380px,.85fr);gap:24px;align-items:start}.po-aiw-card{background:#fff;border:1px solid #d8e2ef;border-radius:24px;padding:28px;box-shadow:0 14px 34px rgba(14,35,71,.06);min-width:0}.po-aiw-card-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding-bottom:20px;margin-bottom:22px;border-bottom:1px solid #e4ebf4}.po-aiw-card-head h2{margin:0 0 6px;color:#102a56;font-size:27px}.po-aiw-card-head p{margin:0;color:#65758f;font-size:16px;line-height:1.55}.po-aiw-tool-badge,.po-aiw-type{display:inline-flex;white-space:nowrap;padding:8px 12px;border-radius:999px;background:#eaf3ff;color:#0968d8;font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.06em}.po-aiw-form{display:grid;gap:18px;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important;background:transparent!important}.po-aiw-form label,.po-aiw-result{display:grid;gap:8px;margin:0}.po-aiw-form label>span,.po-aiw-result>span{font-weight:800;color:#18345d;font-size:14px}.po-aiw-form input,.po-aiw-form select,.po-aiw-form textarea,.po-aiw-result textarea{width:100%;border:1px solid #cfdaea!important;border-radius:14px!important;background:#fff!important;color:#12294d!important;font:inherit!important;padding:13px 15px!important;box-shadow:none!important;min-height:50px}.po-aiw-form textarea,.po-aiw-result textarea{resize:vertical;line-height:1.55}.po-aiw-form input:focus,.po-aiw-form select:focus,.po-aiw-form textarea:focus,.po-aiw-result textarea:focus{outline:3px solid rgba(10,117,239,.14);border-color:#4d96ef!important}.po-aiw-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.po-aiw-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding-top:4px}.po-aiw-actions span{color:#6b7890;font-size:14px}.po-aiw-output{position:sticky;top:22px}.po-aiw-empty{min-height:390px;border:1px dashed #cbd8e8;border-radius:18px;background:#f7f9fc;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:36px}.po-aiw-empty span{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:#e8f2ff;color:#0875ef;font-size:26px;margin-bottom:16px}.po-aiw-empty h3{margin:0 0 8px;font-size:24px;color:#102a56}.po-aiw-empty p{margin:0;color:#6a7890}.po-aiw-result textarea{min-height:480px;background:#f9fbfd!important}.po-aiw-copy-status{margin-top:12px;color:#167044;font-weight:700;font-size:14px}.po-aiw-history{padding:28px}.po-aiw-history-list{display:grid;gap:14px}.po-aiw-history-list article{display:flex;justify-content:space-between;gap:24px;padding:22px;border:1px solid #dbe5f0;border-radius:18px;background:#fbfcfe}.po-aiw-history-main{min-width:0}.po-aiw-history-main h3{margin:10px 0 8px;font-size:20px;color:#102a56}.po-aiw-history-main p{margin:0 0 12px;color:#566983;line-height:1.5}.po-aiw-history-main small{color:#8491a5}.po-aiw-history-actions{display:flex;gap:8px;align-items:flex-start}.po-aiw-history-actions form{margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}.po-mini-button{border:1px solid #cdd9e8;background:#fff;border-radius:10px;padding:9px 12px;font-weight:800;color:#17345e;cursor:pointer}.po-mini-button.is-danger{color:#a22b25;background:#fff5f4;border-color:#f0c6c3}.po-button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:11px 20px;border-radius:13px;text-decoration:none;font-weight:800;border:1px solid #153768;cursor:pointer}.po-button--primary{background:#153768;color:#fff}.po-button--secondary{background:#fff;color:#153768;border-color:#cdd9e8}
@media(max-width:1100px){.po-aiw-layout{grid-template-columns:1fr}.po-aiw-output{position:static}.po-aiw-kpis{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.po-aiw{padding:22px 16px 70px}.po-aiw .po-page-header{align-items:flex-start;flex-direction:column}.po-aiw .po-page-header h1{font-size:36px}.po-aiw-kpis{grid-template-columns:1fr 1fr;gap:12px}.po-aiw-kpis article{min-height:112px;padding:18px}.po-aiw-kpis strong{font-size:28px}.po-aiw-tabs{display:grid;grid-template-columns:1fr 1fr}.po-aiw-tabs a{text-align:center;padding:12px}.po-aiw-card{padding:20px;border-radius:19px}.po-aiw-card-head{flex-direction:column}.po-aiw-grid{grid-template-columns:1fr}.po-aiw-history-list article{flex-direction:column}.po-aiw-history-actions{align-self:flex-start}.po-aiw-empty{min-height:260px}}

/* 0.59.6.18 — unified integration, reporting and AI page styling */
.po-aiw{box-sizing:border-box;max-width:1500px;margin-left:auto;margin-right:auto;padding-bottom:64px}
.po-aiw *,.po-aiw *::before,.po-aiw *::after{box-sizing:border-box}
.po-aiw>.po-page-header,.po-aiw>.po-crm-header{margin-bottom:28px!important}
.po-aiw [class*="-kpis"]{gap:20px!important;margin:0 0 30px!important}
.po-aiw [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-aiw [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-aiw [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-aiw [class*="-kpis"]>article>small{display:block!important;margin:0!important;color:#8090a5!important;font-size:14px!important;line-height:1.45!important}
.po-aiw .po-crm-card,.po-aiw [class*="-panel"],.po-aiw [class*="-section"],.po-aiw [class*="-summary"],.po-aiw [class*="-simulator"],.po-aiw [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-aiw .po-crm-card{padding:30px!important;margin:0 0 28px!important}
.po-aiw main,.po-aiw aside,.po-aiw [class*="-grid"],.po-aiw [class*="-layout"]{min-width:0}
.po-aiw h2{line-height:1.2}
.po-aiw form{margin-top:18px}
.po-aiw 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-aiw form input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),.po-aiw form select,.po-aiw 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-aiw form textarea{min-height:120px!important;resize:vertical}
.po-aiw fieldset{margin:0!important;padding:20px!important;border:1px solid #dbe4ef!important;border-radius:15px!important;background:#fbfdff!important}
.po-aiw legend{padding:0 8px!important;color:#12335e!important;font-weight:800!important}
.po-aiw .po-check,.po-aiw [class*="-check"]{display:flex!important;align-items:center!important;gap:10px!important;padding:0!important;border:0!important;background:transparent!important}
.po-aiw input[type="checkbox"],.po-aiw input[type="radio"]{flex:0 0 auto!important;width:19px!important;height:19px!important;min-height:0!important;margin:0!important}
.po-aiw .po-button,.po-aiw button,.po-aiw 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-aiw 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-aiw 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-aiw details>summary::-webkit-details-marker{display:none}
.po-aiw details>summary::after{content:'›';font-size:28px;line-height:1;transform:rotate(90deg);transition:transform .2s ease}
.po-aiw details[open]>summary::after{transform:rotate(-90deg)}
.po-aiw details[open]>summary{border-bottom:1px solid #e2e9f2}
.po-aiw details>*:not(summary){margin-left:26px!important;margin-right:26px!important}
.po-aiw table{width:100%;border-collapse:separate;border-spacing:0}
.po-aiw th,.po-aiw td{padding:15px 16px!important;border-bottom:1px solid #e6edf5!important;text-align:left}
.po-aiw th{background:#f6f9fc;color:#4d617b;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
@media(max-width:800px){.po-aiw{padding-bottom:44px}.po-aiw [class*="-kpis"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}.po-aiw [class*="-kpis"]>article{padding:22px!important}.po-aiw .po-crm-card{padding:22px!important}.po-aiw .po-button,.po-aiw button,.po-aiw input[type="submit"]{max-width:100%}}
@media(max-width:560px){.po-aiw [class*="-kpis"]{grid-template-columns:1fr!important}.po-aiw [class*="-kpis"]>article>strong{font-size:30px!important}.po-aiw details>summary{padding:18px 20px!important}.po-aiw details>*:not(summary){margin-left:20px!important;margin-right:20px!important}}

/* 0.59.6.50 — AI Writing form clearance and compact KPI typography */
.po-aiw .po-aiw-kpis > article{
    min-height:118px!important;
    padding:20px 24px!important;
    justify-content:center!important;
    gap:8px!important;
}
.po-aiw .po-aiw-kpis > article > span{
    margin:0!important;
    font-size:14px!important;
    line-height:1.25!important;
}
.po-aiw .po-aiw-kpis > article > strong,
.po-aiw .po-aiw-kpis > article > strong.is-text{
    margin:0!important;
    font-size:28px!important;
    line-height:1.12!important;
    overflow-wrap:anywhere!important;
}
.po-aiw .po-aiw-card{
    padding:32px!important;
    overflow:visible!important;
}
.po-aiw .po-aiw-card-head{
    padding:0 0 22px!important;
    margin:0 0 26px!important;
}
.po-aiw .po-aiw-form{
    display:grid!important;
    gap:24px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
}
.po-aiw .po-aiw-grid{
    gap:22px!important;
}
.po-aiw .po-aiw-form label,
.po-aiw .po-aiw-result{
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
}
.po-aiw .po-aiw-form label > span,
.po-aiw .po-aiw-result > span{
    position:static!important;
    display:block!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    color:#102a56!important;
    font-size:15px!important;
    font-weight:800!important;
    line-height:1.35!important;
}
.po-aiw .po-aiw-form input:not([type="checkbox"]):not([type="radio"]),
.po-aiw .po-aiw-form select,
.po-aiw .po-aiw-form textarea,
.po-aiw .po-aiw-result textarea{
    position:static!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    border:1px solid #cfdbea!important;
    border-radius:15px!important;
    padding:16px 20px!important;
    background:#fff!important;
    color:#10264a!important;
    box-shadow:none!important;
    font-size:16px!important;
    line-height:1.5!important;
}
.po-aiw .po-aiw-form input:not([type="checkbox"]):not([type="radio"]),
.po-aiw .po-aiw-form select{
    min-height:58px!important;
}
.po-aiw .po-aiw-form textarea{
    min-height:150px!important;
}
.po-aiw .po-aiw-form textarea[rows="7"]{
    min-height:230px!important;
}
.po-aiw .po-aiw-actions{
    padding-top:2px!important;
    margin:0!important;
}
@media(max-width:700px){
    .po-aiw .po-aiw-card{padding:24px!important}
    .po-aiw .po-aiw-kpis > article{min-height:104px!important;padding:18px!important}
    .po-aiw .po-aiw-kpis > article > strong,
    .po-aiw .po-aiw-kpis > article > strong.is-text{font-size:24px!important}
}

/* 0.59.6.51 — definitive AI Writing form border and field clearance */
.po-aiw section.po-aiw-card > form.po-aiw-form{
    display:grid!important;
    gap:26px!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    outline:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
}
.po-aiw section.po-aiw-card > form.po-aiw-form::before,
.po-aiw section.po-aiw-card > form.po-aiw-form::after{
    content:none!important;
    display:none!important;
}
.po-aiw form.po-aiw-form > label,
.po-aiw form.po-aiw-form .po-aiw-grid > label{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:12px!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    outline:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
}
.po-aiw form.po-aiw-form label > span{
    position:relative!important;
    z-index:2!important;
    display:block!important;
    width:auto!important;
    margin:0!important;
    padding:0 0 1px!important;
    border:0!important;
    background:transparent!important;
    color:#102a56!important;
    font-size:15px!important;
    font-weight:800!important;
    line-height:1.35!important;
}
.po-aiw form.po-aiw-form input:not([type="checkbox"]):not([type="radio"]),
.po-aiw form.po-aiw-form select,
.po-aiw form.po-aiw-form textarea{
    position:relative!important;
    z-index:1!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:16px 20px!important;
    border:1px solid #cbd8e8!important;
    outline:0!important;
    border-radius:15px!important;
    background:#fff!important;
    background-clip:padding-box!important;
    box-shadow:none!important;
    color:#10264a!important;
    font-size:16px!important;
    line-height:1.5!important;
    overflow-wrap:anywhere!important;
}
.po-aiw form.po-aiw-form input:not([type="checkbox"]):not([type="radio"]),
.po-aiw form.po-aiw-form select{
    height:58px!important;
    min-height:58px!important;
}
.po-aiw form.po-aiw-form textarea{
    height:auto!important;
    min-height:170px!important;
    resize:vertical!important;
}
.po-aiw form.po-aiw-form textarea[rows="7"]{min-height:240px!important}
.po-aiw form.po-aiw-form textarea[rows="9"]{min-height:270px!important}
.po-aiw form.po-aiw-form textarea[rows="12"]{min-height:320px!important}
.po-aiw form.po-aiw-form .po-aiw-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;
    background:transparent!important;
    box-shadow:none!important;
}
@media(max-width:700px){
    .po-aiw form.po-aiw-form .po-aiw-grid{grid-template-columns:1fr!important}
}
