/* All rules are scoped to portal pages. Original handlers, status colours and documents remain intact. */
body.tp-testerportal-page .pms-portal-nav a:not(.tp-aktiv):not(.tp-nav-abmelden){color:#e4e7ec!important}
body.tp-testerportal-page .tp-kachel .tp-kachel-zahl{color:#17191c!important}
@media(max-width:540px){body.tp-testerportal-page .tp-portal form{display:block!important;width:100%!important;max-width:100%;margin-left:0!important}body.tp-testerportal-page .tp-portal form+form{margin-top:20px!important}}
body.tp-testerportal-page{background:#f7f8fa;color:#17191c}
body.tp-testerportal-page .site-main{padding:36px 0 56px;background:#f7f8fa}
body.tp-testerportal-page .content-container{max-width:1280px;width:100%;padding:0 28px;margin:0 auto;box-sizing:border-box}
body.tp-testerportal-page .content-layout{display:block!important}
body.tp-testerportal-page .sidebar-area,body.tp-testerportal-page article>.page-header{display:none!important}
body.tp-testerportal-page article{background:transparent;border:0;box-shadow:none;margin:0;padding:0}
body.tp-testerportal-page .page-content,body.tp-testerportal-page .entry-content,body.tp-testerportal-page .prose{max-width:none;margin:0;padding:0}
body.tp-testerportal-page .pms-portal-shell{display:grid;grid-template-columns:224px minmax(0,1fr);gap:28px;max-width:none;margin:0;align-items:start;font-family:inherit}
.pms-portal-shell *,.pms-portal-login *{box-sizing:border-box}
body.tp-testerportal-page .pms-portal-nav{position:sticky;top:116px;display:block;width:auto;padding:20px 12px;background:#17191c;border:0;border-radius:20px;box-shadow:0 10px 32px #17191c0c}
.pms-nav-brand{display:flex;gap:10px;align-items:center;font-size:13px;font-weight:700;color:#ffffff;padding:8px 12px 24px}
.pms-nav-dot{height:8px;width:8px;border-radius:50%;background:#0c4ab6;flex:none}
body.tp-testerportal-page .pms-portal-nav a{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:48px;margin:4px 0;padding:13px 12px;border:0;border-radius:10px;background:transparent;color:#e4e7ec;font-size:14px;line-height:1.4;text-align:left;text-decoration:none;white-space:normal}
body.tp-testerportal-page .pms-portal-nav a:hover{background:#292f3c;color:#fff}
body.tp-testerportal-page .pms-portal-shell .pms-portal-nav a.tp-aktiv,body.tp-testerportal-page .pms-portal-shell .pms-portal-nav a.tp-aktiv:hover,body.tp-testerportal-page .pms-portal-shell .pms-portal-nav a.tp-aktiv:focus{background:#eaf0fb!important;color:#17191c!important;border-color:#eaf0fb!important;font-weight:750}
.pms-nav-arrow{color:#ffffff;font-size:16px;flex:none}
.pms-nav-more{border:0;margin:0;padding:0}
.pms-nav-more>summary{display:none}
body.tp-testerportal-page .pms-portal-nav a.tp-nav-abmelden{color:#e4e7ec!important;border-top:1px solid #ffffff21;border-radius:0;margin-top:18px;padding-top:16px;font-size:13px}
body.tp-testerportal-page .tp-main{min-width:0;width:100%;padding:0}
body.tp-testerportal-page .tp-portal{max-width:none;margin:0;color:#17191c;font-size:15px;line-height:1.7;overflow-wrap:anywhere}
.pms-portal-heading{padding:28px 30px;background:#fff;border:1px solid #e4e7ec;border-radius:20px;margin-bottom:22px}
.pms-portal-heading .pms-eyebrow,.pms-portal-login .pms-eyebrow{font-size:10px;font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:#626974;margin:0 0 12px}
body.tp-testerportal-page .pms-portal-heading h1{font-size:clamp(26px,3vw,38px);letter-spacing:-.035em;line-height:1.16;font-weight:750;margin:0 0 12px;padding:0;background:transparent;border:0;color:#17191c}
.pms-portal-heading>p:last-child{font-size:14px;color:#626974;margin:0;max-width:62ch;line-height:1.65}
.pms-view-start .pms-portal-heading{background:#17191c;border-color:#17191c;padding:32px}
body.tp-testerportal-page .pms-view-start .pms-portal-heading h1{color:#ffffff}
.pms-view-start .pms-portal-heading .pms-eyebrow{color:#c9daf8}
.pms-view-start .pms-portal-heading>p:last-child{color:#d8dee8}
body.tp-testerportal-page .tp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 22px}
body.tp-testerportal-page .tp-kachel{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:140px;padding:22px;border:1px solid #e4e7ec;border-radius:16px;background:#fff;color:#17191c;text-decoration:none;transition:border-color .15s,box-shadow .15s}
body.tp-testerportal-page .tp-kachel:hover{border-color:#9aaed0;box-shadow:0 6px 16px #17191c0b}
body.tp-testerportal-page .tp-kachel-zahl{font-size:32px;line-height:1.2;font-weight:750;letter-spacing:-.025em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body.tp-testerportal-page .tp-kachel-label{font-size:13px;line-height:1.45;color:#626974;margin:0}
body.tp-testerportal-page .tp-kachel:first-child{border-top:3px solid #0c4ab6}
body.tp-testerportal-page .tp-kachel-hervorgehoben{grid-column:1/-1;min-height:104px;background:#f0f4fc;border:1px solid #cfdaed;flex-direction:row;align-items:center;justify-content:space-between}
body.tp-testerportal-page .tp-kachel-hervorgehoben .tp-kachel-label{font-weight:650;font-size:14px}
body.tp-testerportal-page .tp-portal .tp-card,body.tp-testerportal-page .tp-portal.tp-card{padding:26px;margin:0 0 18px;background:#fff;border:1px solid #e4e7ec;border-radius:16px;color:#17191c;box-shadow:0 3px 14px #17191c03}
body.tp-testerportal-page .tp-portal .tp-card[style*="#f0f6fc"]{background:#f0f4fc!important;border:1px solid #cfdaed!important;margin-top:20px!important}
body.tp-testerportal-page .tp-portal h2{font-size:19px;line-height:1.4;font-weight:700;letter-spacing:-.015em;color:#17191c;margin:0 0 14px}
body.tp-testerportal-page .tp-portal p{margin:8px 0 14px}
body.tp-testerportal-page .tp-portal .tp-meta{font-size:13px;color:#626974;line-height:1.65;margin:6px 0}
body.tp-testerportal-page .tp-portal .tp-meta span[style*="#999"]{color:#626974!important}
body.tp-testerportal-page .tp-portal .tp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;max-width:100%;padding:12px 18px;white-space:normal;overflow-wrap:anywhere;text-align:center;line-height:1.45;font-family:inherit;font-size:14px;font-weight:650;border:1px solid #d1d5db;border-radius:10px;background:#f7f8fa;color:#17191c;cursor:pointer;text-decoration:none;touch-action:manipulation}
body.tp-testerportal-page .tp-portal .tp-btn.tp-btn-primary,body.tp-testerportal-page .tp-portal a.tp-btn.tp-btn-primary:hover,body.tp-testerportal-page .tp-portal a.tp-btn.tp-btn-primary:focus{background:#0c4ab6!important;border-color:#0c4ab6!important;color:#ffffff!important}
body.tp-testerportal-page .tp-portal .tp-btn.tp-btn-primary:hover{background:#093b91!important;border-color:#093b91!important}
body.tp-testerportal-page .tp-portal .tp-btn-danger{background:#fff5f2;color:#9b3027;border-color:#dfada5}
body.tp-testerportal-page .tp-portal button:disabled{cursor:not-allowed;opacity:.6}
body.tp-testerportal-page .tp-portal .tp-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px;align-items:stretch}
body.tp-testerportal-page .tp-portal label{display:block;font-size:14px;font-weight:650;color:#343b46;margin:20px 0 8px;line-height:1.45}
body.tp-testerportal-page .tp-portal input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]),body.tp-testerportal-page .tp-portal textarea,body.tp-testerportal-page .tp-portal select{display:block;width:100%;min-width:0;max-width:100%;min-height:48px;padding:12px 14px;border:1px solid #d1d5db;border-radius:9px;background:#ffffff;color:#17191c;font-size:16px;line-height:1.5;font-family:inherit;box-sizing:border-box}
body.tp-testerportal-page .tp-portal textarea{min-height:132px;resize:vertical}
body.tp-testerportal-page .tp-portal input[type=file]{font-size:13px!important;padding:12px!important;border:1px dashed #b6c1d3!important;overflow:hidden}
body.tp-testerportal-page .tp-portal input[type=file]::file-selector-button{max-width:100%;white-space:normal;margin:0 12px 4px 0;padding:10px 12px;min-height:44px;border:0;border-radius:7px;background:#edf1f7;color:#17191c;font:600 13px/1.4 inherit;cursor:pointer}
body.tp-testerportal-page .tp-portal input[type=checkbox],body.tp-testerportal-page .tp-portal input[type=radio]{width:22px;height:22px;accent-color:#0c4ab6;flex:none}
body.tp-testerportal-page .tp-portal :is(input,textarea,select):focus-visible{outline:2px solid #0c4ab6;outline-offset:2px}
.pms-portal-shell :is(a,button,summary):focus-visible,.pms-portal-login a:focus-visible{outline:3px solid #0c4ab6;outline-offset:3px}
body.tp-testerportal-page .tp-portal .tp-badge{font-size:12px;line-height:1.5;padding:5px 10px;border-radius:6px;white-space:normal;max-width:100%}
body.tp-testerportal-page .tp-portal :is(.tp-hinweis,.tp-fehler,.tp-erfolg){padding:16px 18px;border-radius:12px;font-size:14px;line-height:1.65;margin-bottom:18px}
body.tp-testerportal-page .tp-portal .tp-verlauf{font-size:14px;line-height:1.65;color:#626974}
body.tp-testerportal-page .tp-portal .tp-verlauf>div{padding:14px 0;border-bottom:1px solid #e4e7ec}
body.tp-testerportal-page .tp-portal .tp-dateiliste{padding-left:18px;margin:12px 0}
body.tp-testerportal-page .tp-portal .tp-dateiliste a{overflow-wrap:anywhere}
body.tp-testerportal-page .tp-vertrag-dokument{max-width:100%;overflow-x:auto;padding:18px!important}
body.tp-testerportal-page .tp-portal iframe{max-width:100%;height:65vh!important;min-height:300px}
.pms-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.pms-table-scroll table{min-width:480px}
body.tp-testerportal-page .tp-portal .pms-faq{padding:0;overflow:hidden}
.pms-faq summary{padding:20px 24px;cursor:pointer;font-weight:650;line-height:1.5;min-height:56px;color:#17191c;list-style-position:outside;margin-left:20px}
.pms-faq[open] summary{border-bottom:1px solid #e4e7ec}
.pms-faq .tp-faq-antwort{padding:8px 24px 18px;font-size:15px}
.pms-portal-login{display:grid;grid-template-columns:1.1fr 1fr;border-radius:24px;overflow:hidden;background:#fff;border:1px solid #e4e7ec;max-width:1000px;margin:20px auto 40px;color:#17191c}
.pms-login-intro{padding:48px;background:#17191c;color:#d8dee8}
.pms-login-intro .pms-eyebrow{color:#c9daf8}
.pms-login-intro h1{font-size:40px;line-height:1.12;letter-spacing:-.04em;color:#ffffff;margin:18px 0 24px}
.pms-login-intro p{font-size:16px;line-height:1.75;margin:0}
.pms-login-action{padding:48px;align-self:center}
.pms-login-action h2{font-size:27px;line-height:1.25;margin:0 0 16px;color:#17191c}
.pms-login-action p{font-size:15px;line-height:1.7;color:#626974}
.pms-login-button{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:14px 18px;margin:24px 0;border-radius:10px;background:#0c4ab6;color:#17191c!important;font-weight:700;text-decoration:none!important;line-height:1.4}
.pms-login-action .pms-login-help{font-size:13px;margin-top:24px}
.pms-login-help a{color:#0c4ab6;text-decoration:underline;text-underline-offset:3px}
@media(min-width:901px){.pms-nav-more>div{display:block!important}.pms-nav-more::details-content{display:block!important;content-visibility:visible!important}}
@media(max-width:900px){body.tp-testerportal-page .site-main{padding-top:20px}body.tp-testerportal-page .pms-portal-shell{grid-template-columns:minmax(0,1fr);gap:20px}body.tp-testerportal-page .pms-portal-nav{position:static;padding:14px;border-radius:16px}.pms-nav-brand{padding:0 4px 12px;font-size:12px}.pms-nav-primary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}body.tp-testerportal-page .pms-nav-primary a{justify-content:center;min-height:48px;padding:12px 6px;margin:0;text-align:center;background:#ffffff0a;font-size:13px}.pms-nav-primary .pms-nav-arrow{display:none}.pms-nav-more>summary{display:flex;justify-content:space-between;align-items:center;min-height:44px;color:#d8dee8;font-size:13px;cursor:pointer;padding:10px 6px 0;list-style:none}.pms-nav-more>summary::-webkit-details-marker{display:none}.pms-nav-more[open]>summary{padding-bottom:8px}.pms-nav-secondary{display:grid;grid-template-columns:1fr 1fr;gap:6px}.pms-nav-more:not([open])>.pms-nav-secondary{display:none!important}body.tp-testerportal-page .pms-nav-secondary a{margin:0;font-size:13px;min-height:48px;background:#ffffff09}body.tp-testerportal-page .pms-nav-secondary a.tp-nav-abmelden{border:0;border-radius:10px;padding:12px;margin:0}.pms-portal-login{grid-template-columns:1fr}.pms-login-intro,.pms-login-action{padding:32px}}
@media(max-width:540px){body.tp-testerportal-page .content-container{padding:0 14px}body.tp-testerportal-page .site-main{padding:16px 0 28px}body.tp-testerportal-page .pms-portal-shell{gap:16px}.pms-portal-heading,.pms-view-start .pms-portal-heading{padding:24px 20px;border-radius:16px;margin-bottom:16px}body.tp-testerportal-page .tp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}body.tp-testerportal-page .tp-kachel{padding:18px 14px;min-height:126px;gap:10px}body.tp-testerportal-page .tp-kachel-zahl{font-size:28px}body.tp-testerportal-page .tp-kachel-hervorgehoben{grid-column:auto;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-height:126px}body.tp-testerportal-page .tp-kachel-hervorgehoben .tp-kachel-zahl{font-size:25px}body.tp-testerportal-page .tp-kachel-hervorgehoben .tp-kachel-label{font-size:13px}body.tp-testerportal-page .tp-portal .tp-card{padding:20px 16px;margin-bottom:14px;border-radius:14px}body.tp-testerportal-page .tp-portal h2{font-size:18px}body.tp-testerportal-page .tp-portal .tp-row{flex-direction:column;align-items:stretch}body.tp-testerportal-page .tp-portal .tp-row>*{width:100%}body.tp-testerportal-page .tp-portal .tp-btn{width:100%;padding:12px 14px}body.tp-testerportal-page .tp-portal .tp-card .tp-card{padding:16px 12px}body.tp-testerportal-page .tp-portal .pms-faq{padding:0}.pms-faq summary{padding:18px 14px}.pms-faq .tp-faq-antwort{padding:6px 18px 16px}.pms-login-intro,.pms-login-action{padding:28px 24px}.pms-login-intro h1{font-size:34px}.pms-portal-login{margin:0 auto 20px;border-radius:18px}body.tp-testerportal-page .tp-vertrag-dokument{padding:12px!important}}
@media(prefers-reduced-motion:reduce){.pms-portal-shell *{scroll-behavior:auto!important;transition:none!important}}

body.tp-testerportal-page .pms-portal-nav,.pms-view-start .pms-portal-heading,.pms-login-intro{background:#151923;border-color:#151923}.pms-login-button{color:#fff!important;background:#0c4ab6}.pms-login-button:hover{background:#093b91}.pms-login-intro .pms-eyebrow{color:#c9daf8}body.tp-testerportal-page .tp-portal a:not(.tp-btn):not(.tp-kachel){color:#0c4ab6}body.tp-testerportal-page .tp-portal .tp-btn.tp-btn-primary:focus-visible{outline-color:#0c4ab6}

body.tp-testerportal-page .tp-portal [style*="background:#2271b1"],body.tp-testerportal-page .tp-portal [style*="background: #2271b1"]{background:#0c4ab6!important;border-color:#0c4ab6!important;color:#fff!important}body.tp-testerportal-page .tp-portal [style*="color:#2271b1"]{color:#0c4ab6!important}
