/* Üç sistem, ortak yerleşim; renk yalnız bölüm kimliğini belirtir. */
.tofas-system{--tf-accent:#6b50cb;--tf-soft:#f3efff;--tf-line:#ded6f4;--tf-ink:#27344a;--tf-muted:#64748b;min-width:0;color:var(--tf-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.tofas-system.tf-bos{--tf-accent:#2675b6;--tf-soft:#edf5fd;--tf-line:#cee2f3}
.tofas-system.tf-workshop{--tf-accent:#12816f;--tf-soft:#ecf8f3;--tf-line:#cde7dd}
.tofas-system[hidden],.tofas-system [hidden]{display:none!important}
.tofas-system.academy-management-panel{gap:12px;align-content:start}
.tofas-system .tf-header{position:static!important;inset:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:center!important;gap:18px!important;margin:0!important;padding:16px 18px!important;border:1px solid var(--tf-line);border-radius:14px;background:linear-gradient(115deg,#fff 55%,var(--tf-soft))!important;box-shadow:0 3px 12px #20344a04;text-align:left!important;min-width:0;z-index:auto!important}
.tofas-system .tf-heading{display:flex;align-items:center;gap:11px;min-width:0}
.tofas-system .tf-heading>div{min-width:0}
.tofas-system .tf-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid var(--tf-line);border-radius:11px;background:var(--tf-soft);color:var(--tf-accent)}
.tofas-system .tf-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.tofas-system .tf-header .tf-heading h3{display:block!important;margin:0!important;font-size:18px!important;font-weight:750;color:var(--tf-ink);letter-spacing:-.3px;line-height:1.3!important}
.tofas-system .tf-heading p{margin:3px 0 0!important;font-size:11px!important;line-height:1.5!important;color:var(--tf-muted);overflow-wrap:anywhere}
.tofas-system .tf-summary{display:grid!important;grid-template-columns:auto auto;align-items:center;justify-content:center;gap:2px 10px!important;min-width:0!important;max-width:260px;width:auto!important;margin:0!important;padding:8px 14px!important;border:1px solid var(--tf-line)!important;border-radius:10px!important;background:#ffffffb8!important;box-shadow:none!important;animation:none!important;text-align:left!important}
.tofas-system .tf-summary>span{font-size:10px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;color:var(--tf-muted)}
.tofas-system .tf-summary>strong{font-size:19px!important;line-height:1.25!important;font-weight:750;color:var(--tf-accent)!important;text-align:right}
.tofas-system .tf-summary>small{grid-column:1/-1;font-size:10px!important;font-weight:400!important;line-height:1.4!important;color:var(--tf-muted)!important;text-align:center;overflow-wrap:anywhere}
.tofas-system .tf-actions{display:flex!important;align-items:center;justify-content:flex-end!important;justify-self:stretch;gap:7px!important;flex-wrap:wrap;margin:0!important;width:auto!important}
.tofas-system .tf-button{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-height:34px!important;height:auto!important;width:auto!important;padding:8px 12px!important;margin:0!important;border:1px solid var(--tf-accent)!important;border-radius:8px!important;background:var(--tf-accent)!important;box-shadow:none!important;color:#fff!important;font:600 11px/1.3 system-ui;font-family:inherit;font-size:11px!important;font-weight:650;text-decoration:none;white-space:nowrap!important;cursor:pointer;transition:filter .15s}
.tofas-system .tf-button.secondary{border-color:var(--tf-line)!important;background:white!important;color:var(--tf-accent)!important}
.tofas-system .tf-button:hover{filter:brightness(.96)}
.tofas-system .tf-button:disabled{opacity:.5;cursor:default}
.tofas-system .tf-button.tf-help{width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border-radius:8px!important;flex:none}
.tofas-system .tf-toolbar{display:flex;align-items:center;gap:12px;min-width:0;margin:0;padding:10px 13px;border:1px solid #e3e9f0;border-radius:11px;background:#fff}
.tofas-system .tf-search{display:flex;align-items:center;gap:9px;flex:1;min-width:0;margin:0;color:var(--tf-muted)}
.tofas-system .tf-search>span{font-size:22px;line-height:1}
.tofas-system .tf-search input{display:block;width:100%;min-width:0;height:32px;margin:0;padding:4px 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--tf-ink);font:12px/1.5 system-ui;font-family:inherit;font-size:12px;outline:none}
.tofas-system .tf-search:focus-within{color:var(--tf-accent)}
.tofas-system .tf-search input::placeholder{color:#8492a5;opacity:1}
.tofas-system .tf-toolbar-meta{font-size:10px;white-space:nowrap;color:var(--tf-muted)}
.tofas-system .tf-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,235px),1fr))!important;align-items:stretch;gap:12px!important;min-width:0}
.tofas-system .tf-card{position:relative;display:flex!important;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #dde5ef!important;border-top:3px solid var(--tf-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:0 2px 7px #263b5005!important;animation:none!important;transform:none!important;transition:border-color .15s,box-shadow .15s}
.tofas-system .tf-card:hover{border-color:var(--tf-accent)!important;box-shadow:0 5px 16px #263b500b!important;transform:none!important}
.tofas-system .tf-card.inactive{opacity:.6}
.tofas-system .tf-open{display:flex!important;align-items:flex-start;justify-content:flex-start;justify-items:start!important;align-content:start!important;gap:11px!important;flex:1;min-height:112px!important;width:100%;padding:15px 14px!important;border:0!important;background:transparent!important;color:var(--tf-ink)!important;text-align:left!important;font-family:inherit;text-decoration:none;cursor:pointer}
.tofas-system .tf-open:hover{background:var(--tf-soft)!important}
.tofas-system .tf-open:disabled{cursor:default}
.tofas-system .tf-card .academy-profile-visual{display:grid;gap:6px;justify-items:center;width:44px;flex:none}
.tofas-system .tf-card .academy-profile-avatar{position:relative;display:grid;place-items:center;width:44px!important;height:44px!important;border:1px solid var(--tf-line)!important;border-radius:12px!important;background:var(--tf-soft)!important;box-shadow:none!important;font-size:15px!important;font-weight:750;color:var(--tf-accent)!important;overflow:hidden}
.tofas-system .tf-card .academy-profile-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tofas-system .tf-card .academy-profile-copy{display:grid;justify-items:start!important;align-content:start;gap:4px!important;min-width:0;width:auto;flex:1}
.tofas-system .tf-card .academy-profile-copy strong{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:0!important;max-height:36px;width:100%;margin:0;overflow:hidden;color:var(--tf-ink)!important;font-size:12px!important;font-weight:750;line-height:1.45!important;white-space:normal!important;text-align:left!important;text-wrap:initial!important;overflow-wrap:anywhere}
.tofas-system .tf-card .academy-profile-copy small{max-width:100%;color:var(--tf-muted)!important;font-size:10px!important;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tofas-system .tf-card .academy-profile-copy .academy-profile-code{font-family:ui-monospace,monospace;font-size:10px;letter-spacing:.15px;color:#566780!important}
.tofas-system .tf-card .academy-profile-copy em{margin:3px 0 0;color:var(--tf-accent)!important;font-size:10px!important;font-style:normal;line-height:1.4;font-weight:650;text-align:left;text-wrap:initial!important}
.tofas-system .tf-card .academy-profile-progress{max-width:100%;box-sizing:border-box;margin-top:3px;padding:4px 7px;border:1px solid var(--tf-line);border-radius:5px;color:var(--tf-accent)!important;background:var(--tf-soft)!important;font-size:9px!important;line-height:1.4!important;font-weight:600;white-space:normal!important;text-align:left;animation:none!important}
.tofas-system .tf-card.progress-low .academy-profile-progress{border-color:#f2d3cc;background:#fff3ef!important;color:#a04530!important}
.tofas-system .tf-card.progress-perfect .academy-profile-progress{border-color:#c9e8d7;background:#edf9f1!important;color:#287748!important}
.tofas-system .tf-card .academy-profile-actions,.tofas-system .tf-card-footer{display:flex!important;align-items:center;justify-content:space-between;gap:6px;min-height:37px;padding:7px 11px!important;border-top:1px solid #edf1f6;background:#fbfcfe;color:var(--tf-muted);font-size:10px}
.tofas-system .tf-card .academy-profile-actions button{flex:1;min-width:0;min-height:24px!important;height:24px!important;padding:3px 4px!important;border:1px solid #e4eaf2;border-radius:5px;background:white;color:#566780;box-shadow:none;font:600 9px/1.3 system-ui;font-family:inherit;font-size:10px;white-space:nowrap;cursor:pointer}
.tofas-system .tf-card .academy-profile-actions .danger{border-color:#f0dedb;background:#fffafa;color:#aa5145}
.tofas-system .tf-status{display:inline-flex;align-items:center;gap:5px;color:var(--tf-accent);font-size:9px;font-weight:650}
.tofas-system .tf-status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}
.tofas-system .tf-note{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:10px 13px;border:1px solid var(--tf-line);border-radius:10px;background:var(--tf-soft);color:#617488;font-size:10px;line-height:1.6}
.tofas-system .tf-link{display:inline;padding:0;border:0;background:transparent;color:var(--tf-accent);font:650 10px/1.5 system-ui;font-family:inherit;font-size:10px;white-space:nowrap;text-decoration:none;cursor:pointer}
.tofas-system .tf-empty{margin:0;padding:24px;text-align:center;font-size:12px;color:var(--tf-muted)}
.tofas-system .academy-missing-reports{border:1px solid #f0e0c6;border-radius:9px;padding:8px 12px;background:#fffbf4;font-size:10px;line-height:1.5}
.tofas-system .academy-access-panel{margin:0;padding:13px;border:1px solid #e0e7ef;border-radius:12px;background:white;box-shadow:none}
.tofas-system .academy-access-head{display:flex!important;align-items:center!important;justify-content:space-between;gap:12px}
.tofas-system .academy-access-toggle{padding:0;background:transparent;border:0;gap:10px;box-shadow:none;color:var(--tf-ink)}
.tofas-system .academy-access-toggle>span:first-child{text-align:left!important;flex:1;min-width:0}
.tofas-system .academy-access-head strong{font-size:12px;color:var(--tf-ink)}
.tofas-system .academy-access-head small{font-size:10px;color:var(--tf-muted)}
.tofas-system .academy-access-body{padding-top:12px}
.tofas-system .academy-advisor-list{gap:10px}
.tofas-system .academy-advisor-card{padding:11px;border-radius:9px;box-shadow:none}
.tofas-system .academy-account-form{margin:0;padding:16px;border:1px solid var(--tf-line);border-radius:12px;background:white;box-shadow:none}
.tofas-system .tf-form-title{margin:0 0 12px;font-size:13px;font-weight:700;color:var(--tf-accent)}
.tofas-system .academy-account-form .management-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tofas-system .academy-account-form label{min-width:0;font-size:11px}
.tofas-system .academy-account-form input,.tofas-system .academy-account-form select{min-width:0;min-height:34px;border:1px solid #d8e1ec;border-radius:7px;background:#fbfcfe;font-size:12px}
.tofas-system .academy-account-form .management-form-actions{margin-top:12px;gap:8px}
.tofas-system :is(button,a,input,select):focus-visible{outline:2px solid var(--tf-accent);outline-offset:3px}
body.tf-page{margin:0;padding:0;background:#f7f9fc;font-size:13px}
body.tf-page *{box-sizing:border-box}
body.tf-page main{display:grid;align-content:start;gap:12px;padding:0}
body.tf-page .tf-open[aria-disabled=true]{cursor:default}
@media(max-width:900px){.tofas-system .tf-header{grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important}.tofas-system .tf-summary{grid-column:1/-1;grid-row:2;max-width:none;display:flex!important;justify-content:flex-start;gap:10px!important;padding:7px 11px!important}.tofas-system .tf-summary>small{margin-left:auto;text-align:right}.tofas-system .tf-summary>strong{font-size:16px!important}.tofas-system .tf-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,215px),1fr))!important}}
@media(max-width:580px){.tofas-system .tf-header{padding:12px!important;gap:12px!important}.tofas-system .tf-heading{gap:9px}.tofas-system .tf-icon{width:34px;height:34px;border-radius:9px}.tofas-system .tf-heading h3{font-size:16px!important}.tofas-system .tf-heading p{font-size:10px!important}.tofas-system .tf-actions{grid-column:1/-1;grid-row:3;justify-content:flex-start!important;flex-wrap:wrap!important;gap:7px!important}.tofas-system .tf-actions .tf-button{flex:1}.tofas-system .tf-actions .tf-help{flex:none}.tofas-system .tf-summary{font-size:10px}.tofas-system .tf-summary>small{font-size:9px!important}.tofas-system .tf-toolbar{padding:8px 10px}.tofas-system .tf-toolbar-meta{display:none}.tofas-system .tf-grid{gap:9px!important;grid-template-columns:1fr!important}.tofas-system .tf-open{min-height:96px!important;padding:12px!important}.tofas-system .tf-card .academy-profile-copy strong{font-size:13px!important}.tofas-system .academy-account-form .management-form-grid{grid-template-columns:1fr}.tofas-system .tf-note{align-items:flex-start;flex-direction:column;gap:6px}.tofas-system .academy-access-head{flex-wrap:wrap}.tofas-system .academy-access-head .tf-button{margin-left:auto!important}}

.tofas-system .tf-summary.tf-summary-pending>strong{font-size:12px!important;font-weight:650}
.tofas-system .tf-summary.academy-average-low>strong{color:#a04530!important}
#management-section-tabs [data-management-tab="academy"].active{border-color:#ded6f4!important;background:#f3efff!important;color:#6b50cb!important}
#management-section-tabs [data-management-tab="bos"].active{border-color:#cee2f3!important;background:#edf5fd!important;color:#2675b6!important}
#management-section-tabs [data-management-tab="tofas-workshop"].active{border-color:#cde7dd!important;background:#ecf8f3!important;color:#12816f!important}
.tofas-system input[type="checkbox"]{accent-color:var(--tf-accent)}
.tofas-system .tf-card .academy-profile-avatar img.academy-avatar-rotate-right{transform:rotate(90deg)}
.tofas-system .tf-header{min-height:90px}
.tofas-system .academy-missing-reports summary{cursor:pointer;font-size:11px;font-weight:650;color:#93672f}
.tofas-system #academy-missing-reports-list{display:block;margin-top:6px;color:#80663e;line-height:1.7}
.tofas-system .tf-bulk-panel{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 12px;padding:10px;border:1px solid var(--tf-line);border-radius:8px;background:var(--tf-soft)}
.tofas-system .tf-bulk-panel>span{font-size:10px;font-weight:600;color:var(--tf-muted)}
.tofas-system .tf-bulk-select{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.tofas-system .academy-advisor-card>.tf-bulk-select{margin:8px 0}
.tofas-system .tf-bulk-select button{padding:5px 8px;border:1px solid var(--tf-line);border-radius:6px;background:white;color:var(--tf-accent);font:600 10px/1.4 system-ui;cursor:pointer;min-height:28px;box-shadow:none}
.tofas-system .tf-bulk-select button:hover{background:var(--tf-soft)}
/* Tam boy portre: fotoğraf solda kart boyunca, bilgiler ve işlemler sağda. */
.tofas-system .tf-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))!important}
.tofas-system .tf-card{--tf-photo:104px;min-height:156px;border-top:1px solid #dde5ef!important}
.tofas-system .tf-card .tf-open{position:static!important;align-items:center!important;min-height:120px!important;padding:13px 14px 12px calc(var(--tf-photo) + 14px)!important;gap:0!important}
.tofas-system .tf-card .academy-profile-visual{position:absolute;inset:0 auto 0 0;display:block!important;width:var(--tf-photo)!important;margin:0;overflow:hidden}
.tofas-system .tf-card .academy-profile-avatar{display:grid;place-items:center;width:100%!important;height:100%!important;min-height:100%;border:0!important;border-right:1px solid var(--tf-line)!important;border-radius:0!important;background:linear-gradient(150deg,var(--tf-soft),#e3eaf1)!important;font-size:29px!important;container-type:size}
.tofas-system .tf-card .academy-profile-avatar img{inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 32%;border-radius:0}
.tofas-system .tf-card .academy-profile-copy{gap:5px!important;width:100%;min-width:0}
.tofas-system .tf-card .academy-profile-copy strong{font-size:13px!important;line-height:1.45!important;max-height:38px;letter-spacing:.05px}
.tofas-system .tf-card .academy-profile-copy small{font-size:10px!important;line-height:1.45}
.tofas-system .tf-card .academy-profile-copy em{margin-top:3px;font-size:11px!important}
.tofas-system .tf-card .academy-profile-progress{margin-top:1px;max-width:100%;padding:4px 6px;font-weight:650}
.tofas-system .tf-card .academy-profile-actions,.tofas-system .tf-card .tf-card-footer{margin-left:var(--tf-photo);width:calc(100% - var(--tf-photo));min-height:35px;padding:6px 10px!important}
.tofas-system .tf-card .academy-profile-secret{margin-left:calc(var(--tf-photo) + 10px)}
@supports(width:1cqh){.tofas-system .tf-card .academy-profile-avatar img.academy-avatar-rotate-right{inset:auto;left:50%;top:50%;width:100cqh;height:100cqw;max-width:none;transform:translate(-50%,-50%) rotate(90deg);object-position:50% 32%}}
@media(max-width:900px){.tofas-system .tf-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr))!important}}
@media(max-width:580px){.tofas-system .tf-grid{grid-template-columns:1fr!important}.tofas-system .tf-card{--tf-photo:96px;min-height:150px}.tofas-system .tf-card .tf-open{padding:12px 12px 11px calc(var(--tf-photo) + 12px)!important;min-height:115px!important}.tofas-system .tf-card .academy-profile-copy strong{font-size:13px!important}.tofas-system .tf-card .academy-profile-actions,.tofas-system .tf-card .tf-card-footer{padding:6px 8px!important}}
.tofas-system .tf-card .academy-profile-avatar img{opacity:0;transition:opacity .15s ease}
.tofas-system .tf-card .academy-profile-avatar img.tf-photo-ready{opacity:1}
