/* UI/UX v17: final stylesheet shared by public and workspace. Do not change print-letterhead. */
:root{--pgui-border:#dfe8f0;--pgui-muted:#60768c;--pgui-ink:#173b5c;--pgui-radius:14px}
.workspace-ui,.pgui-public{font-size:14px;line-height:1.6}
.workspace-ui :is(p,li,td,dd),.pgui-public :is(p,li,td,dd){font-weight:400}
.workspace-ui .app-main :is(h1,h2,h3,h4),.pgui-public :is(h1,h2,h3,h4){font-weight:600;letter-spacing:-.015em}
.workspace-ui .app-main h1,.pgui-public .hero h1{font-weight:700}
.workspace-ui .app-main :is(.kicker,.dash-caption,.pgb-eyebrow,.pgv5-eyebrow),.pgui-public :is(.kicker,.eyebrow){font-weight:600}
.workspace-ui :is(.sidebar-link,.sidebar-bottom a,.sidebar-bottom button){font-weight:500}
.workspace-ui .app-header-left,.workspace-ui .pg-user-details strong{font-weight:500}
.workspace-ui .app-main :is(label,.pgau-form label,.pgau-filter label,.pg-access-field label){font-weight:500}
.workspace-ui .app-main :is(.pgb6-tab strong,.pgau-tabs button,.pgx-tab,.pgx-context-nav a,.pgv5-tab,.pg-settings-tab,.pgau-chip,.pgau-status,.pgau-details>summary,.pgb-status,.pg-access-badge,.pgx-status){font-weight:600}
.workspace-ui .app-main :is(.pgb-details strong,.pgb-feature-item strong,.pgv5-role strong,.pgau-body strong){font-weight:500}
.workspace-ui .app-main :is(.pgb-plan h3,.pgb-admin-plan h3,.pgau-unit strong,.pgau-message>strong,.unit-row b){font-weight:600}
.workspace-ui .app-main :is(.dash-card strong,.pgb-price,.pgb-invoice-amount,.pgb-amount,.pgau-stats strong,.pg4-workspace .kpi strong,.pg-calculator .kpi .value){font-weight:700}
.workspace-ui .app-main :is(.btn,button[type=submit],.pg-action-link){font-weight:600}
.pgui-public :is(.topbar .main-nav a,.footer a,.form-foot a){font-weight:500}
.pgui-public :is(.btn,.popular-label,.billing-toggle button,.faq-list summary,.pricing-card h3,.feature-card h3,.step-card h3){font-weight:600}
.pgui-public .price span{font-weight:700}
/* Full workspace width: old max-widths of 1000/1180/1190/1440px caused unnecessary narrow columns. */
.workspace-ui .app-frame,.workspace-ui .app-content,.workspace-ui .app-main{min-width:0}
.workspace-ui .app-content{flex:1 1 auto;width:0}
.workspace-ui .app-main{display:block;width:100%;max-width:none!important;margin:0;box-sizing:border-box;padding:26px clamp(18px,2.3vw,36px)}
.workspace-ui .app-main>*{min-width:0}
.workspace-ui .app-main :is(.pg4-workspace,.pg-calculator,.pg-adminflow,.pg-access,.pg-profile-page,.pgv5-page,.pgp-panels-page,.pg-settings-page,.pgx-workspace){width:100%;max-width:none!important;margin-inline:0;min-width:0}
.workspace-ui .app-main :is(.pgau-tabs-shell,.pgau-panel,.pgau-info-list,.pgb6-panel,.pgb6-tabs,.pgb-overview,.pgb-plans,.pgbu-payment-grid,.pgau-split,.pgx-panel){min-width:0;max-width:100%}
.workspace-ui .app-main :is(.workspace-panel,.f2-panel,.pg-access-panel,.pgb-box,.pgb-invoice-main,.pgb-payment-card,.pg4-workspace .panel,.pg-calculator .panel){box-sizing:border-box;border-radius:var(--pgui-radius);box-shadow:0 3px 15px rgba(17,56,91,.03)}
.workspace-ui .app-main :is(.tablewrap,.f2-scroll,.pgb-tablewrap,.pg-access-table-scroll,.pg-tkpi-scroll,.pg-review-scroll,.tq-scroll,.pda-scroll){max-width:100%;overflow-x:auto}
.workspace-ui .app-main :is(.pgau-split,.pgb-admin-plans,.pgb-plans,.pgau-print-grid)>*{min-width:0}
.workspace-ui .app-main :is(input:not([type=checkbox]):not([type=radio]),select,textarea){max-width:100%;box-sizing:border-box}
.workspace-ui .app-main :is(a,button,input,select,textarea,summary):focus-visible,.pgui-public :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #2b7eb0;outline-offset:2px}
.workspace-ui .app-header{padding-inline:clamp(18px,2.3vw,36px)}
.workspace-ui .dash-heading{margin-bottom:22px}
.workspace-ui .dash-heading h1{font-size:clamp(23px,2.05vw,30px);line-height:1.28}
.workspace-ui .dash-heading p{font-size:13px;color:var(--pgui-muted);line-height:1.6}
.workspace-ui .app-main :is(.workspace-panel h2,.pgb-section-title h2,.pgau-section-head h2){font-size:16px;line-height:1.4}
/* Application dashboard: status must show current subscription, not original trial date. */
.pgui-dashboard{width:100%;min-width:0}
.pgui-dashboard-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.pgui-dashboard-heading>div:first-child{flex:1 1 300px;min-width:0}
.pgui-dashboard-heading h1{overflow-wrap:anywhere;margin:6px 0 5px}
.pgui-dashboard-heading p strong{font-weight:600;color:#294d6d}
.pgui-dashboard-heading-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.pgui-dashboard-heading-actions .btn{display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:39px;white-space:normal}
.pgui-dashboard-banner{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.3fr);gap:24px;align-items:center;padding:22px 26px;margin:0 0 17px;border:1px solid #cbdde9;border-radius:16px;background:linear-gradient(120deg,#eef6fc 0%,#fff 90%)}
.pgui-dashboard-banner--active{background:linear-gradient(110deg,#eff9f2 0%,#fff 89%);border-color:#c7e4d1}
.pgui-dashboard-banner--expired{background:linear-gradient(110deg,#fff1ef 0%,#fff 89%);border-color:#ebccc6}
.pgui-dashboard-banner-content{min-width:0}
.pgui-dashboard-banner-label{display:flex;align-items:center;gap:8px;font-size:10.5px;letter-spacing:.06em;color:#426783;font-weight:600}
.pgui-dashboard-banner--active .pgui-dashboard-banner-label{color:#28764a}
.pgui-dashboard-banner--expired .pgui-dashboard-banner-label{color:#9b493a}
.pgui-dashboard-banner h2{font-size:clamp(17px,1.7vw,22px)!important;font-weight:600;line-height:1.4;margin:8px 0 5px!important;color:#1a415f;overflow-wrap:anywhere}
.pgui-dashboard-banner p{max-width:78ch;margin:0;color:#557087;font-size:12.5px;line-height:1.65}
.pgui-dashboard-banner-aside{border-left:1px solid #cfdee8;padding-left:21px;display:flex;flex-direction:column;gap:5px;min-width:0}
.pgui-dashboard-banner-aside>span{font-size:10px;letter-spacing:.06em;color:#6a8394;font-weight:600}
.pgui-dashboard-banner-aside>strong{font-size:clamp(16px,1.8vw,22px);line-height:1.2;font-weight:700;color:#153956;overflow-wrap:anywhere}
.pgui-dashboard-banner-aside a{font-weight:600;font-size:11.5px;color:#19537b;text-decoration:none;align-self:flex-start;margin-top:5px}
.pgui-dashboard-banner-aside a:hover{text-decoration:underline}
.pgui-dashboard-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.pgui-dashboard-metrics .dash-card{min-width:0;min-height:128px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:19px 20px}
.pgui-dashboard-metrics .dash-card strong{font-size:clamp(21px,2.1vw,29px);line-height:1.15;overflow-wrap:anywhere}
.pgui-dashboard-metrics .dash-card small{font-size:11.5px;color:#718497}
.pgui-dashboard-metric-plan{border-color:#b9d8cb!important;background:#f4fbf6!important}
.pgui-dashboard-metric-plan strong{color:#236749!important}
.pgui-dashboard-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px;margin-top:16px;align-items:stretch}
.pgui-dashboard-columns>.workspace-panel{margin-bottom:0;min-width:0}
.pgui-dashboard-columns .panel-heading{gap:12px;align-items:flex-start}
.pgui-dashboard-columns .panel-heading>div{min-width:0}
.pgui-dashboard-columns .panel-heading h2{margin-bottom:4px}
.pgui-dashboard-columns .panel-heading p{font-size:11.5px;color:#72869a;line-height:1.5}
.pgui-dashboard-columns .unit-row{min-width:0;gap:12px}
.pgui-dashboard-columns .unit-row>div{min-width:0;overflow-wrap:anywhere}
.pgui-dashboard-columns .unit-row b{font-weight:600}
.pgui-dashboard-empty{padding:17px;background:#f7fafc;border:1px dashed #d6e3ed;border-radius:10px;color:#6c8092;font-size:12px;line-height:1.6}
.pgui-dashboard-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pgui-dashboard-shortcuts>a{min-width:0;display:flex;align-items:center;gap:11px;padding:13px 12px;border:1px solid #dfe9f2;border-radius:11px;text-decoration:none;background:#fbfdff;color:#173f63}
.pgui-dashboard-shortcuts>a:hover{border-color:#b4cedf;background:#f1f8fc}
.pgui-dashboard-shortcuts>a>i:first-child{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;flex:none;color:#2b638a;background:#eaf3f9}
.pgui-dashboard-shortcuts>a>i:last-child{margin-left:auto;flex:none;color:#8ca0b1;font-size:11px}
.pgui-dashboard-shortcuts>a>span{display:grid;gap:3px;min-width:0}
.pgui-dashboard-shortcuts strong{font-size:12px;font-weight:600;line-height:1.35;color:#1b4364}
.pgui-dashboard-shortcuts small{font-size:10.5px;color:#74899d;line-height:1.4}
.pgui-dashboard-news{margin-top:16px!important}
.pgui-dashboard-news .pgau-dashboard-news-list>div strong{font-weight:600}
/* Public site: wider sections, restrained typography, more realistic illustrative preview. */
.pgui-public .container{width:min(1320px,calc(100% - 64px));max-width:100%}
.pgui-public .topbar-inner{gap:20px}
.pgui-public .hero-grid{min-height:0;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:clamp(24px,3.7vw,64px);padding-top:62px;padding-bottom:70px}
.pgui-public .hero-copy{min-width:0}
.pgui-public .hero h1{font-size:clamp(32px,3.15vw,49px);line-height:1.23;letter-spacing:-.032em;margin:18px 0 16px}
.pgui-public .hero .lead{font-size:15px;line-height:1.72;color:#5b7084;max-width:60ch}
.pgui-public .hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:25px}
.pgui-public .mini-benefits{display:flex;flex-wrap:wrap;gap:9px 18px;margin-top:21px}
.pgui-public .mini-benefits span{font-size:11.5px;font-weight:500;color:#60788c}
.pgui-public .mini-benefits .fa-check{color:#38865c;margin-right:5px}
.pgui-public .dashboard-visual.pgui-home-preview{min-width:0;width:100%;padding:18px 20px;border-radius:20px;box-sizing:border-box}
.pgui-home-preview .preview-top{gap:10px}
.pgui-home-preview .preview-top b{font-weight:600;font-size:13px}
.pgui-home-preview .preview-top>div{min-width:0}
.pgui-home-preview .preview-top span{font-size:10px}
.pgui-home-preview .preview-tag{font-weight:500}
.pgui-home-preview .preview-stats{margin-top:20px}
.pgui-home-preview .preview-stats strong{font-weight:700;font-size:23px}
.pgui-home-preview .preview-stats span{font-weight:500}
.pgui-home-preview-list{display:grid;gap:9px;margin-top:17px}
.pgui-home-preview-list>div{display:flex;align-items:center;gap:11px;background:#f8fbfd;border:1px solid #e6eef4;border-radius:10px;padding:10px 12px;min-width:0}
.pgui-home-preview-icon{width:34px;height:34px;flex:none;border-radius:9px;background:#e7f2f8;color:#255f84;display:grid;place-items:center}
.pgui-home-preview-list>div>span:nth-child(2){flex:1;min-width:0;display:grid;gap:2px}
.pgui-home-preview-list b{color:#264966;font-size:11.5px;font-weight:600;line-height:1.4}
.pgui-home-preview-list small{color:#75899a;font-size:10.5px}
.pgui-home-preview-list>div>i:last-child{color:#4b996a;flex:none}
.pgui-public .section-heading{max-width:825px}
.pgui-public .section-heading h2{font-size:clamp(23px,2.25vw,32px);line-height:1.34}
.pgui-public :is(.feature-card,.step-card,.pricing-card){min-width:0;padding:clamp(18px,1.7vw,26px)}
.pgui-public .feature-grid,.pgui-public .steps-grid,.pgui-public .pricing-grid{gap:17px}
.pgui-public .feature-card p,.pgui-public .step-card p,.pgui-public .pricing-card p{line-height:1.7}
.pgui-public .page-hero{max-width:900px}
.pgui-public .page-hero p{max-width:74ch;font-size:14px;line-height:1.68}
.pgui-public .footer-grid{gap:clamp(25px,3vw,52px)}
@media(max-width:1200px){.pgui-dashboard-shortcuts{grid-template-columns:minmax(0,1fr)}.pgui-dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.pgui-dashboard-columns{grid-template-columns:minmax(0,1fr)}.pgui-dashboard-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.pgui-public .hero-grid{gap:26px}.pgui-public .container{width:min(1320px,calc(100% - 40px))}}
@media(max-width:760px){.workspace-ui .app-content{width:100%}.workspace-ui .app-main{padding:18px 14px}.workspace-ui .app-header{padding-inline:14px}.pgui-dashboard-banner{grid-template-columns:minmax(0,1fr);gap:14px;padding:18px}.pgui-dashboard-banner-aside{border-left:0;border-top:1px solid #d3e2ea;padding:12px 0 0}.pgui-dashboard-metrics{gap:10px}.pgui-dashboard-metrics .dash-card{padding:15px;min-height:105px}.pgui-dashboard-columns .workspace-panel{padding:15px}.pgui-public .hero-grid{grid-template-columns:minmax(0,1fr);padding-top:40px;padding-bottom:46px}.pgui-public .hero .lead{font-size:14px}.pgui-public .dashboard-visual.pgui-home-preview{max-width:620px;margin:0 auto}.pgui-public .section-heading h2{font-size:clamp(23px,5vw,29px)}.pgui-public .footer-grid{gap:26px}}
@media(max-width:520px){.workspace-ui .app-main{padding:16px 12px}.pgui-dashboard-heading-actions{width:100%}.pgui-dashboard-heading-actions .btn{flex:1 1 140px}.pgui-dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.pgui-dashboard-metrics .dash-card strong{font-size:21px}.pgui-dashboard-shortcuts{grid-template-columns:minmax(0,1fr)}.pgui-dashboard-banner h2{font-size:18px!important}.pgui-public .container{width:calc(100% - 30px)}.pgui-public .hero h1{font-size:clamp(30px,8.2vw,37px)}.pgui-public .dashboard-visual.pgui-home-preview{padding:14px}.pgui-public .preview-stats>div{min-width:0}.pgui-public .preview-stats strong{font-size:20px}.pgui-public .cta-banner{padding:23px}}
@media(max-width:360px){.pgui-dashboard-metrics{grid-template-columns:minmax(0,1fr)}.pgui-public .preview-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.pgui-public .preview-stats>div{padding:7px 4px}}
@media(prefers-reduced-motion:reduce){.workspace-ui .app-main :is(.btn,.pg-action-link,.pgau-tabs button,.pgx-tab,.pgb6-tab){transition:none}}
@media print{.workspace-ui .app-main{padding:0!important;max-width:none!important}.pgui-dashboard-heading-actions,.pgui-dashboard-banner-aside a{display:none!important}}
