/* Admin-only refinements. Public pages and student screens retain their styles. */
.admin-app-shell { --ar-border:#dce2e8; --ar-ink:#202b36; --ar-muted:#64727f; }
.admin-app-shell .admin-workspace { min-width:0; color:var(--ar-ink); }
.admin-app-shell .admin-workspace>.admin-editor { border:0!important; border-radius:0!important; box-shadow:none!important; background:#fff!important; padding:20px!important; }
.admin-app-shell .admin-workspace .admin-page-header { background:none!important; border:0!important; border-bottom:1px solid var(--ar-border)!important; border-radius:0!important; box-shadow:none!important; padding:0 0 18px!important; }
.admin-app-shell .admin-workspace .admin-page-header span { letter-spacing:0; color:#087b80; font-weight:600; }
.admin-app-shell .admin-workspace .wp-admin-classic { background:#fff!important; border:0!important; border-radius:0!important; box-shadow:none!important; padding:0!important; min-height:0; }
.admin-app-shell .admin-editor:has(.ar-collection)>.admin-page-header { display:none!important; }
.admin-app-shell .admin-workspace h1 { font-size:26px; line-height:1.25; }
.admin-app-shell .admin-workspace h2 { font-size:21px; line-height:1.3; }
.admin-app-shell .admin-workspace h3 { font-size:17px; }
.admin-app-shell .admin-workspace :is(button,input,select,textarea) { border-radius:6px; }
.admin-app-shell .admin-workspace button { letter-spacing:0; font-weight:600; }
.admin-app-shell .admin-workspace :is(input,select,textarea) { min-width:0; max-width:100%; }
.admin-app-shell .admin-workspace :is(button,a,input,select,textarea,summary):focus-visible { outline:2px solid #087f8c; outline-offset:3px; }
.admin-app-shell .admin-page-hero { padding:18px 0; border:0; border-bottom:1px solid var(--ar-border); border-radius:0; box-shadow:none; background:none; margin-bottom:20px; }
.admin-app-shell .admin-page-hero__description { color:var(--ar-muted); font-size:14px; max-width:68ch; }
.admin-app-shell .admin-card { border-radius:8px; box-shadow:none; }
.admin-app-shell .admin-live-section { box-shadow:none; border-radius:0; }
.admin-app-shell .admin-card__body .admin-card { border:0; background:transparent; }
.admin-app-shell .ar-collection { min-width:0; padding:0; background:#fff; }
.admin-app-shell .ar-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:8px 0 18px; }
.admin-app-shell .ar-heading h2 { margin:0; }
.admin-app-shell .ar-collection button { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:8px 12px; min-height:38px; background:#fff; color:#263849; border:1px solid #c8d3dd; font-size:14px; cursor:pointer; }
.admin-app-shell .ar-heading button { background:#087b80; border-color:#087b80; color:#fff; }
.admin-app-shell .ar-collection button:disabled { opacity:.5; cursor:not-allowed; }
.admin-app-shell .ar-filters { display:grid; grid-template-columns:minmax(180px,2fr) repeat(2,minmax(140px,1fr)); gap:14px; padding:16px 0; border-top:1px solid var(--ar-border); }
.admin-app-shell .ar-filters label,.admin-app-shell .ar-create label { display:grid; gap:6px; font-size:13px; font-weight:600; }
.admin-app-shell .ar-collection :is(input:not([type=checkbox]),select) { width:100%; min-height:40px; padding:8px 10px; background:#fff; color:var(--ar-ink); border:1px solid #c8d3dd; font-size:14px; }
.admin-app-shell .ar-bulk { display:flex; align-items:center; gap:12px; padding:12px 0; flex-wrap:wrap; color:var(--ar-muted); font-size:13px; }
.admin-app-shell .ar-collection .ar-bulk select { width:auto!important; min-width:140px; max-width:240px; }
.admin-app-shell .ar-table-scroll { overflow-x:auto; max-width:100%; }
.admin-app-shell .ar-table { width:100%; border-collapse:collapse; font-size:14px; text-align:left; }
.admin-app-shell .ar-table th { padding:12px; background:#f1f5f7; color:#53616e; font-size:12px; white-space:nowrap; }
.admin-app-shell .ar-table td { padding:14px 12px; border-bottom:1px solid #e7ebef; vertical-align:middle; overflow-wrap:anywhere; min-width:70px; }
.admin-app-shell .ar-table td:first-child { min-width:36px; }
.admin-app-shell .ar-table input[type=checkbox] { width:18px; height:18px; accent-color:#087b80; cursor:pointer; }
.admin-app-shell .ar-table .ar-title { border:0; padding:0; background:none; color:#164b72; text-align:left; justify-content:flex-start; font-weight:600; min-width:140px; }
.admin-app-shell .ar-status { display:inline-block; padding:4px 8px; border-radius:4px; font-size:12px; white-space:nowrap; color:#57636e; background:#eef1f4; }
.admin-app-shell .ar-status-published { color:#13634b; background:#e8f6ef; }
.admin-app-shell .ar-status-trash { color:#a1393e; background:#fceef0; }
.admin-app-shell .ar-notice { background:#eef7f7; border-left:3px solid #087b80; padding:12px; }
.admin-app-shell .ar-table pre { max-width:350px; max-height:240px; white-space:pre-wrap; overflow:auto; font-size:12px; }
.admin-app-shell .ar-empty { text-align:center; padding:36px!important; }
.admin-app-shell .ar-create { margin:14px 0; padding:14px 16px; border:1px solid var(--ar-border); border-radius:8px; }
.admin-app-shell .ar-create summary { cursor:pointer; font-weight:600; }
.admin-app-shell .ar-create .admin-student-form { margin-top:16px; align-items:end; }
.admin-app-shell .admin-student-filter-card { padding:16px; box-shadow:none; border-radius:8px; }
.admin-app-shell .admin-student-filter-summary strong,.admin-app-shell .admin-student-filter-summary span { display:block; }
.admin-app-shell .oauth-status-row { gap:16px; }
@media(min-width:1025px) {
 .admin-app-shell .admin-students-premium .admin-student-table-shell { overflow-x:auto; }
 .admin-app-shell .admin-students-premium :is(.admin-student-table-head,.admin-student-table-row) { min-width:1180px!important; }
 .admin-app-shell .admin-students-premium .admin-student-table-row>.student-row-actions { position:static!important; right:auto!important; background:transparent; grid-column:auto!important; }
}
@media(max-width:1024px) {
 .admin-app-shell .admin-sidebar-menu.mobile-open { position:fixed!important; top:0!important; right:0!important; left:auto!important; bottom:0!important; width:min(360px,calc(100vw - 24px))!important; max-height:100dvh!important; height:100dvh!important; margin:0!important; border-radius:0!important; padding:0 16px 24px!important; background:#fff!important; z-index:10002!important; overflow-y:auto; overscroll-behavior:contain; box-sizing:border-box!important; transform:translateX(0)!important; }
 .admin-app-shell .admin-mobile-menu-backdrop.open { position:fixed!important; inset:0!important; z-index:10001!important; background:rgba(23,32,42,.4)!important; }
 .admin-app-shell .admin-sidebar-menu .admin-left-brand { position:sticky!important; top:0!important; z-index:2; min-height:86px; background:#fff!important; border:0; border-bottom:1px solid var(--ar-border); border-radius:0; margin:0 0 12px; padding:16px 56px 16px 8px; }
 .admin-app-shell .admin-mobile-menu-close { position:absolute!important; top:18px!important; right:4px!important; width:44px!important; height:44px!important; display:grid!important; place-items:center; background:#eef2f5!important; color:#253341!important; }
 .admin-app-shell .admin-sidebar-menu .admin-left-brand { box-sizing:border-box; min-width:0; width:100%; max-width:100%; }
 .admin-app-shell .admin-left-group button { width:100%; min-height:46px; justify-content:flex-start; gap:12px; border-radius:6px; box-shadow:none; }
 .admin-app-shell .admin-students-premium .admin-student-table-row { grid-template-areas:none!important; grid-template-columns:1fr 1fr!important; gap:14px!important; }
 .admin-app-shell .admin-students-premium .admin-student-table-row>* { grid-area:auto!important; grid-column:auto!important; }
 .admin-app-shell .admin-students-premium .admin-student-table-row>*:before { content:none!important; }
 .admin-app-shell .admin-students-premium .admin-student-table-row>.student-table-profile { grid-column:1/-1!important; }
 .admin-app-shell .admin-students-premium .admin-student-table-row>.student-row-actions { grid-column:1/-1!important; display:flex!important; flex-wrap:wrap; gap:8px; }
 .admin-app-shell .admin-students-premium .admin-student-table-row>:is(.student-table-package,.student-daily-cell,.student-continuity-cell,.student-education-cell) { display:flex!important; flex-direction:column; align-items:flex-start; gap:5px; }
 .admin-app-shell .admin-students-premium .admin-student-table-row>.student-table-package:before { content:'Paket'!important; }
 .admin-app-shell .admin-students-premium .admin-student-table-row>.student-daily-cell:before { content:'Günlük takip'!important; }
 .admin-app-shell .admin-students-premium .admin-student-table-row>.student-continuity-cell:before { content:'Devamlılık'!important; }
 .admin-app-shell .admin-students-premium .admin-student-table-row>.student-education-cell:before { content:'Son ölçüm'!important; }
 .admin-app-shell .admin-students-premium .admin-student-table-row>*:before { font-size:11px; font-weight:600; letter-spacing:0; color:#657381; }
}
@media(max-width:600px) {
 .admin-app-shell .admin-workspace { padding:12px!important; }
 .admin-app-shell .admin-workspace>.admin-editor { padding:12px!important; }
 .admin-app-shell .admin-workspace .admin-page-header h2 { font-size:22px!important; }
 .admin-app-shell .admin-workspace .admin-page-header p { display:none; }
 .admin-app-shell .admin-workspace .admin-page-header { margin-bottom:12px; }
 .admin-app-shell .admin-page-hero__title { font-size:22px!important; }
 .admin-app-shell .ar-heading { align-items:flex-start; }
 .admin-app-shell .ar-filters { grid-template-columns:1fr; gap:10px; }
 .admin-app-shell .ar-table th,.admin-app-shell .ar-table td { padding:10px 8px; }
 .admin-app-shell .admin-student-filters-primary { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:10px; }
 .admin-app-shell .admin-student-filters-primary .wide { grid-column:1/-1; }
 .admin-app-shell .admin-student-form.premium { grid-template-columns:1fr!important; }
}

.student-delete-account-action{border:1px solid #fecaca!important;background:#fff7f7!important;color:#b91c1c!important}.student-delete-account-action:hover{background:#fee2e2!important}.student-delete-account-action:focus-visible{outline:3px solid #fca5a5;outline-offset:2px}
