/* COGO_DIALOG_POLISH_R1: information dialogs, plan layout and ordinary form checkboxes only. */
html body dialog.mr4-info-dialog{
 --dp-ink:#283a34;--dp-muted:#65716b;--dp-line:#e0e5dd;--dp-paper:#f7f7f1;--dp-surface:#fffefa;--dp-accent:#326653;--dp-wash:#eef3ea;
 box-sizing:border-box;width:min(760px,calc(100vw - 32px));max-width:760px;
 max-height:calc(100dvh - 40px);padding:0;margin:auto;border:1px solid var(--dp-line);border-radius:22px;
 background:var(--dp-surface);color:var(--dp-ink);overflow:hidden;font-family:inherit;font-size:14px;line-height:1.65;
 box-shadow:0 24px 80px #13291f30;letter-spacing:-.015em;
}
html body dialog.mr4-info-dialog[open]{display:flex!important;flex-direction:column}
html body dialog.mr4-info-dialog *{box-sizing:border-box}
html body dialog.mr4-info-dialog>.mr4-info-head{
 flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;
 margin:0;padding:19px 24px;border-bottom:1px solid var(--dp-line);background:var(--dp-surface);min-width:0;
}
html body dialog.mr4-info-dialog>.mr4-info-head h2{min-width:0;margin:0;font-size:20px;line-height:1.45;font-weight:750;letter-spacing:-.035em;word-break:keep-all;overflow-wrap:anywhere;color:var(--dp-ink)}
html body dialog.mr4-info-dialog>.mr4-info-head button{
 flex:none;min-width:54px;min-height:40px;margin:0;padding:7px 13px;border:1px solid var(--dp-line);border-radius:10px;
 background:var(--dp-paper);color:var(--dp-ink);font:inherit;font-size:12px;font-weight:650;cursor:pointer;
}
html body dialog.mr4-info-dialog>.mr4-info-body{
 flex:1 1 auto;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
 -webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#bac6bd transparent;scrollbar-gutter:stable;
 padding:22px 24px;font-size:14px;line-height:1.8;color:var(--dp-ink);touch-action:pan-y;
}
html body dialog.mr4-info-dialog .mr4-info-body p{font-size:13px;line-height:1.8;margin:0 0 13px;word-break:keep-all;overflow-wrap:anywhere;color:var(--dp-muted)}
html body dialog.mr4-info-dialog .mr4-info-body p:empty{display:none}
html body dialog.mr4-info-dialog .mr4-info-body ul{margin:0;padding-left:20px}
html body dialog.mr4-info-dialog .mr4-info-body li+li{margin-top:7px}
html body dialog.mr4-info-dialog .mr4-info-body :is(h3,h4){line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}
html body dialog.mr4-info-dialog :is(button,summary,a,input):focus-visible{outline:3px solid var(--dp-accent);outline-offset:3px}
html body dialog.mr4-info-dialog a{color:var(--dp-accent);text-underline-offset:3px;overflow-wrap:anywhere}
html body dialog.cpr-product .cpr-summary{display:grid;gap:6px;padding:19px 21px;background:var(--dp-wash);border:1px solid var(--dp-line);border-radius:15px;margin:0 0 14px}
html body dialog.cpr-product .cpr-summary strong{font-size:30px;font-weight:750;line-height:1.25;font-variant-numeric:tabular-nums;letter-spacing:-.04em;color:var(--dp-ink)}
html body dialog.cpr-product .cpr-summary span{font-size:12px;line-height:1.7;color:var(--dp-muted)}
html body dialog.cpr-product .cpr-dates{font-size:12px;padding-left:12px;border-left:2px solid #cbd8c9;margin:0 0 11px}
html body dialog.cpr-product .dp-period-note{font-size:12px!important;line-height:1.75!important;margin-bottom:18px!important}
html body dialog.cpr-product .mr4-info-body>details{border:1px solid var(--dp-line);border-radius:13px;padding:0;margin:14px 0 0;background:var(--dp-surface);overflow:hidden}
html body dialog.cpr-product .mr4-info-body>details>summary{
 display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;min-height:49px;
 list-style:none;font-weight:700;font-size:13px;color:var(--dp-ink);cursor:pointer;
}
html body dialog.cpr-product summary::-webkit-details-marker{display:none}
html body dialog.cpr-product .mr4-info-body>details>summary:after{content:'+';font-size:20px;line-height:1;color:var(--dp-muted);font-weight:400}
html body dialog.cpr-product .mr4-info-body>details[open]>summary{border-bottom:1px solid var(--dp-line);background:var(--dp-paper)}
html body dialog.cpr-product .mr4-info-body>details[open]>summary:after{content:'−'}
html body dialog.cpr-product .mr4-info-body>details>p{margin:12px 16px;font-size:12px}
html body dialog.cpr-product [data-cpr-features]{padding:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;color:var(--dp-muted)}
html body dialog.cpr-product .dp-feature{min-width:0}
html body dialog.cpr-product .dp-feature h3{margin:0 0 7px;font-size:12px;line-height:1.5;font-weight:750;color:var(--dp-accent)}
html body dialog.cpr-product .dp-feature p{font-size:12px;line-height:1.85;margin:0}
html body dialog.cpr-product .dp-feature[data-kind=recommendation],html body dialog.cpr-product .dp-feature[data-kind=capacity],html body dialog.cpr-product .dp-feature[data-kind=note],html body dialog.cpr-product .dp-feature[data-kind=connection]{grid-column:1/-1}
html body dialog.cpr-product .dp-feature[data-kind=note]{padding-top:12px;border-top:1px solid var(--dp-line)}
html body dialog.cpr-product .dp-feature[data-kind=note] p{font-size:11px}
html body dialog.cpr-product [data-cpr-status]{padding:11px 13px;margin:14px 0 0;border:1px solid #e8d9b9;border-radius:10px;background:#fbf3e4;color:#745723;font-size:12px;line-height:1.65}
html body dialog.cpr-product [data-cpr-status][data-tone=ready]{background:var(--dp-wash);border-color:#cbdcc8;color:var(--dp-accent)}
html body dialog.cpr-product [data-cpr-status][data-tone=error]{background:#fff1eb;border-color:#ecd2c8;color:#9a3f2a}
html body dialog.cpr-product>form[data-cpr-form]{
 flex:0 0 auto;display:grid;gap:12px;padding:16px 24px 19px;margin:0;border-top:1px solid var(--dp-line);
 background:var(--dp-surface);max-height:46dvh;overflow:auto;scrollbar-width:thin;
}
html body dialog.cpr-product [data-cpr-form]>label{
 display:flex!important;flex-direction:row!important;align-items:flex-start!important;justify-content:flex-start!important;
 min-width:0;gap:10px;margin:0;padding:0;font-size:12px;line-height:1.7;font-weight:500;color:var(--dp-ink);cursor:pointer;
}
html body dialog.cpr-product [data-cpr-form]>label>input[type=checkbox]{
 flex:0 0 18px;box-sizing:border-box;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;
 max-width:18px!important;max-height:18px!important;padding:0!important;margin:2px 0 0!important;accent-color:var(--dp-accent);cursor:pointer;
}
html body dialog.cpr-product [data-cpr-form]>label>span{min-width:0;flex:1;overflow-wrap:anywhere;word-break:keep-all}
html body dialog.cpr-product [data-cpr-form]>button{
 width:100%;min-height:44px;height:auto;padding:11px 16px;border:1px solid var(--dp-accent);border-radius:11px;
 font:inherit;font-size:13px;font-weight:700;line-height:1.5;color:#fff;background:var(--dp-accent);box-shadow:none;white-space:normal;
}
html body dialog.cpr-product [data-cpr-form]>button:disabled{opacity:1;background:#e9ede6;border-color:#e0e5dd;color:#65736a;cursor:not-allowed}
html body dialog.cpr-product [data-cpr-error]{margin:0;font-size:12px;line-height:1.65;color:#a13b2e;overflow-wrap:anywhere}
html body dialog.cpr-product [data-cpr-error]:empty{display:none}
/* These native forms inherited the vertical text-field label rule. */
html body dialog#modal[open]:has(#platformProblem23){
 display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:0!important;
 max-height:calc(100dvh - 32px)!important;
}
html body dialog#modal:has(#platformProblem23)>.dialog-head{flex:0 0 auto!important;min-width:0;gap:12px}
html body dialog#modal:has(#platformProblem23)>.dialog-head h2{min-width:0;overflow-wrap:anywhere}
html body dialog#modal:has(#platformProblem23)>#modalContent{
 flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;
 overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;
}
html body #platformProblem23 label:has(>input[type=checkbox]):not([hidden]){
 display:flex!important;flex-direction:row!important;align-items:flex-start!important;justify-content:flex-start!important;
 gap:10px!important;min-width:0;line-height:1.65;font-weight:500;cursor:pointer;overflow-wrap:anywhere;
}
html body #platformProblem23 label>input[type=checkbox]{
 flex:0 0 18px!important;box-sizing:border-box!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;
 max-width:18px!important;max-height:18px!important;margin:2px 0 0!important;padding:0!important;accent-color:var(--blue,#4355d9);
}
html body #platformProblem23 label>.dp-check-copy{min-width:0;flex:1;overflow-wrap:anywhere}
/* The guide keeps its native tabs and only scrolls the active panel. */
html body dialog.glr-dialog{padding:20px!important;max-height:calc(100dvh - 24px)!important;overflow:hidden!important}
html body dialog.glr-dialog[open]{display:flex!important;flex-direction:column!important}
html body dialog.glr-dialog>:is(header,nav,footer){flex:0 0 auto!important;min-width:0}
html body dialog.glr-dialog>header>div{min-width:0}
html body dialog.glr-dialog>header h2{overflow-wrap:anywhere}
html body dialog.glr-dialog>header>button{flex:none;min-height:40px}
html body dialog.glr-dialog>[role=tabpanel]:not([hidden]){flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
html body dialog.glr-dialog>[role=tabpanel][hidden]{display:none!important}
html body dialog.glr-dialog>footer{flex-wrap:wrap;gap:6px 16px}
/* A short viewport cannot fit every fixed-height plan control. Scroll the page
   as one unit, keeping cards and their footer in normal flow. */
@media(max-height:540px){
 html body #main.content:has(.membership282.cogo-membership-r4[data-membership-r4])>.page{
  overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;scrollbar-width:thin;
 }
 html body #main.content>.page>.membership282.cogo-membership-r4[data-membership-r4]{
  flex:0 0 auto!important;min-height:560px!important;
 }
 html body #main.content [data-membership-r4]>.mr4-footer{padding-right:48px!important}
 html body dialog.glr-dialog{padding:12px 16px!important;max-height:calc(100dvh - 16px)!important}
 html body dialog.glr-dialog>header{margin-bottom:8px}
 html body dialog.glr-dialog>nav{margin-bottom:10px}
 html body dialog.glr-dialog>footer{margin-top:8px;padding-top:8px}
}
html[data-theme=dark] body dialog.mr4-info-dialog{
 --dp-ink:#e6ede4;--dp-muted:#b1beb4;--dp-line:#394d41;--dp-paper:#23342b;--dp-surface:#1a2b22;--dp-accent:#a7d3b6;--dp-wash:#2a3e31;
 color-scheme:dark;background:var(--dp-surface);color:var(--dp-ink);border-color:var(--dp-line);
}
html[data-theme=dark] body dialog.cpr-product [data-cpr-status]{background:#3b3427;border-color:#5d5037;color:#e9cf9f}
html[data-theme=dark] body dialog.cpr-product [data-cpr-status][data-tone=ready]{background:var(--dp-wash);color:var(--dp-accent);border-color:#455e4a}
html[data-theme=dark] body dialog.cpr-product [data-cpr-status][data-tone=error]{background:#412c27;color:#f4b5a2;border-color:#67443a}
html[data-theme=dark] body dialog.cpr-product [data-cpr-form]>button{color:#1a2b22}
html[data-theme=dark] body dialog.cpr-product [data-cpr-form]>button:disabled{background:#2d3e33;border-color:#3a4d40;color:#aebbb0}
html[data-theme=dark] body dialog.cpr-product [data-cpr-error]{color:#f4b5a2}
@media(max-width:600px){
 html body dialog.mr4-info-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:18px}
 html body dialog.mr4-info-dialog>.mr4-info-head{padding:14px 16px;gap:10px}
 html body dialog.mr4-info-dialog>.mr4-info-head h2{font-size:17px}
 html body dialog.mr4-info-dialog>.mr4-info-head button{min-height:40px;min-width:48px;padding:6px 10px}
 html body dialog.mr4-info-dialog>.mr4-info-body{padding:16px;scrollbar-gutter:auto}
 html body dialog.cpr-product .cpr-summary{padding:16px}.cpr-product .cpr-summary strong{font-size:27px}
 html body dialog.cpr-product [data-cpr-features]{grid-template-columns:1fr;padding:14px;gap:17px}
 html body dialog.cpr-product .dp-feature{grid-column:1!important}
 html body dialog.cpr-product>form[data-cpr-form]{padding:13px 16px 16px;gap:10px}
 html body dialog.cpr-product [data-cpr-form]>label{font-size:12px}
}
@media(max-height:480px){
 html body dialog.mr4-info-dialog{max-height:calc(100dvh - 16px)}
 html body dialog.mr4-info-dialog>.mr4-info-head{padding:9px 16px}
 html body dialog.mr4-info-dialog>.mr4-info-body{padding:13px 16px}
 html body dialog.cpr-product>form[data-cpr-form]{padding:9px 16px;gap:7px;max-height:46dvh}
}
