.public-header .public-brand div{display:block!important}
.public-header .public-brand strong{display:block!important;color:#fff!important;font-size:15px!important;line-height:1.3!important}
.public-header .public-brand small{color:#c8e2e8!important;letter-spacing:.8px!important;font-size:9px!important}
body.ae-v265-home main.v29-reference .v29-feature-card.v29-progress-card a.v29-card-button{display:flex!important;margin-top:auto!important}
.v29-feature-card{height:auto!important;min-height:334px;overflow:visible!important}
.v29-progress-card .v29-progress-body{flex:1}
.gc-legacy-reference{margin:20px 0;padding:16px;border:1px solid #cbdde5;border-radius:12px}
.gc-legacy-reference summary{cursor:pointer;font-weight:700}.gc-table-scroll{overflow-x:auto}.gc-table-scroll table{border-collapse:collapse;width:100%;margin:14px 0}.gc-table-scroll th,.gc-table-scroll td{padding:10px;border:1px solid #cbdde5;text-align:left}
/* The portal owns navigation; keep the course lesson content and tab handlers. */
body.v29-account-shell .public-header,body.v29-account-shell .account-header{display:none!important}
body.portal-dashboard #course-root>.shell,html.portal-embedded #course-root>.shell{display:block!important;grid-template-columns:minmax(0,1fr)!important}
body.portal-dashboard #course-root .shell>.sidebar,html.portal-embedded #course-root .shell>.sidebar{display:none!important}
body.portal-dashboard #course-root .main,html.portal-embedded #course-root .main{width:100%!important;margin-left:0!important;padding-top:0!important}
body.portal-dashboard #course-root .main>.top,html.portal-embedded #course-root .main>.top,body.portal-dashboard #course-root .mobile-nav,html.portal-embedded #course-root .mobile-nav{display:none!important}
@media(max-width:700px){.public-header .public-brand strong{font-size:12px!important}.public-header .public-brand small{font-size:8px!important}.v29-feature-card{min-height:0}}
/* Shared action colors; page content only, never portal navigation. */
.library-main .library-search>button,.library-main button.primary,.library-main .primary,.library-main .library-primary,.nb-main .nb-switch button.is-active,.nb-main #nb-reveal,.nb-main .nb-study-actions button,.nb-main button.nb-primary,.speaking-plan-page a.btn{background:#ed7e24!important;border-color:#ed7e24!important;color:#fff!important}
.library-main .popular-searches button,.nb-main .nb-switch button:not(.is-active){background:#fff!important;border:1px solid #d3e2e9!important;color:#174958!important}
.library-main .library-search>button:hover,.nb-main #nb-reveal:hover,.nb-main .nb-study-actions button:hover,.speaking-plan-page a.btn:hover{background:#d96815!important}
.consent-settings-v22{display:none!important}
.test-consent-preferences{display:inline-flex;background:#fff;color:#174958;border:1px solid #cddfe7;border-radius:9px;padding:11px 16px;cursor:pointer;font:inherit;margin:16px 0}
.speaking-plan-page .wrap{max-width:1240px!important}.speaking-plan-page .head{align-items:flex-start}.speaking-plan-page .head>div:last-child{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.speaking-plan-page .speaking-method ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0;list-style:none;counter-reset:method}.speaking-plan-page .speaking-method li{background:#f2f7fa;border:1px solid #dce6ee;border-radius:12px;padding:16px;counter-increment:method}.speaking-plan-page .speaking-method li:before{content:counter(method);display:inline-grid;place-items:center;width:28px;height:28px;background:#fff0e4;color:#b8540c;border-radius:50%;margin-right:9px;font-weight:700}.speaking-plan-page .speaking-method li span{display:block;font-size:14px;line-height:1.6;color:#617c89;margin-top:10px}.speaking-plan-page .speaking-method p{font-size:14px;line-height:1.7;color:#526e7e}.speaking-plan-page .stats .stat{padding:14px!important}.speaking-plan-page .card{padding:22px!important}.speaking-plan-page .card h2{font-size:20px;font-weight:700}.speaking-plan-page .plan b{margin:8px 0}
@media(max-width:700px){.speaking-plan-page .speaking-method ol{grid-template-columns:1fr}.speaking-plan-page .head>div:last-child{width:100%}.speaking-plan-page .speaking-start{width:100%;text-align:center}}
.library-main button:not([data-query]):not(.danger):not([aria-pressed="false"]),.library-main a.btn,.library-main a.button,.nb-main button:not(.danger):not([data-action="delete"]):not(#nb-list-button):not(#nb-study-button):not(.pc-notebook button){background:#ed7e24!important;border-color:#ed7e24!important;color:#fff!important}
/* The portal body owns the sidebar offset; progress content must not add it again. */
body.portal-dashboard main.sp-page,body.portal-collapsed main.sp-page,html.portal-embedded main.sp-page{box-sizing:border-box!important;width:calc(100% - 48px)!important;max-width:1480px!important;min-width:0!important;margin:26px auto 0!important;padding:0 0 55px!important}
body.portal-dashboard main.sp-page>h1,html.portal-embedded main.sp-page>h1{margin-top:0}
@media(max-width:700px){body.portal-dashboard main.sp-page,body.portal-collapsed main.sp-page,html.portal-embedded main.sp-page{width:calc(100% - 24px)!important;margin-top:20px!important}}

/* Clickable words remain inline text; only actual actions receive button styling. */
.practice-main .reading-text button.read-word,#rc-german button.rc-word{display:inline!important;background:transparent!important;color:inherit!important;border:0!important;border-bottom:1px dotted #b4c8d4!important;border-radius:0!important;box-shadow:none!important;padding:0 1px!important;margin:0!important;min-width:0!important;min-height:0!important;width:auto!important;font:inherit!important;line-height:inherit!important;vertical-align:baseline!important;cursor:pointer}
.practice-main .reading-text button.read-word:hover,#rc-german button.rc-word:hover{background:#e5f1f6!important;color:#174958!important}
.practice-main .reading-options button,.rc-quiz .rc-options button{background:#fff!important;color:#174958!important;border:1px solid #cbdde7!important;border-radius:10px!important;text-align:left!important;padding:13px 16px!important;font:inherit!important}
.practice-main .reading-options button:hover,.rc-quiz .rc-options button:hover{background:#eff6fa!important;border-color:#76a9bd!important}
.pa-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.pa-summary>div,.pa-card{background:#fff;border:1px solid #dce6ee;border-radius:16px;padding:22px;min-width:0}.pa-summary small,.pa-note{color:#637e8d;font-size:12px;line-height:1.7}.pa-summary strong,.pa-big{display:block;font-size:30px;font-weight:750;color:#173c4b;margin:8px 0}.pa-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:20px}.pa-card{margin-bottom:20px}.pa-grid .pa-card{margin-bottom:0}.pa-card h2{font-size:21px;font-weight:700;color:#173c4b;margin:0 0 20px}.pa-card p{font-size:14px;line-height:1.7;color:#617c89}.pa-card-top{display:flex;align-items:center;gap:22px}.pa-card-top span{font-size:13px;color:#637e8d}.pa-ring{width:110px;height:110px;flex:none;border-radius:50%;background:conic-gradient(#1b8b80 var(--p),#e5eef2 0);display:grid;place-items:center}.pa-ring strong{display:grid;place-items:center;background:white;border-radius:50%;width:84px;height:84px;font-size:22px;color:#174958}.pa-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;margin:20px 0;color:#617c89}.pa-legend span:first-child{color:#198678}.pa-legend span:last-child{color:#bd641c}.pa-actions{display:flex;gap:10px;flex-wrap:wrap}.pa-card a{display:inline-flex;align-items:center;justify-content:center;padding:11px 14px;border:1px solid #d1e1e8;border-radius:10px;font-size:13px;font-weight:700;color:#174958!important;background:#fff;text-decoration:none}.pa-card a.pa-primary{background:#ed7e24;color:white!important;border-color:#ed7e24}.pa-track{height:8px;background:#e7eff3;border-radius:10px;overflow:hidden;margin:18px 0 24px}.pa-track span{display:block;height:100%;background:#1b8b80}.pa-chart{height:145px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;align-items:end}.pa-chart>div{display:flex;align-items:center;flex-direction:column;gap:8px;font-size:12px}.pa-chart span{display:block;background:#ed7e24;width:100%;max-width:44px;border-radius:6px 6px 0 0}.pa-chart small{color:#637e8d}.pa-notebook{display:flex;align-items:center;justify-content:space-between;gap:24px}.pa-notebook p{margin-bottom:0}.pa-notebook a{flex:none}@media(max-width:1000px){.pa-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.pa-grid{grid-template-columns:1fr}.pa-card{padding:18px}.pa-notebook{align-items:flex-start;flex-direction:column}.pa-card-top{gap:15px}.pa-actions a{flex:1}.pa-summary>div{padding:16px}}


/* LEGAL_NAV_HIDE_R66 */
/* Yalnızca yasal sayfalarda ekstra ana sayfa navigasyonunu gizle */
body:has(a[href="/impressum"][aria-current="page"]) .public-header,
body:has(a[href="/gizlilik"][aria-current="page"]) .public-header,
body:has(a[href="/kullanim-kosullari"][aria-current="page"]) .public-header,
body:has(a[href="/cayma"][aria-current="page"]) .public-header,
body:has(a[href="/abonelik-iptal"][aria-current="page"]) .public-header {
    display: none !important;
}


/* LEGAL_HEADER_HIDE_R67 */
body:has(.legal-header) .legal-header {
    display: none !important;
}
