.cc-training-view-tabs{display:flex;gap:8px;align-items:center}
.cc-attendance-panel{margin-top:6px;min-height:0}
[data-cert-panel="2"].cc-attendance-mode .certificate-form-grid,
[data-cert-panel="2"].cc-attendance-mode .cert-isg-topic-gate,
[data-cert-panel="2"].cc-attendance-mode .cert-training-summary{display:none!important}
[data-cert-panel="2"].cc-attendance-mode .certificate-section-card{padding-bottom:10px}
[data-cert-panel="2"].cc-attendance-mode .cert-section-head{margin-bottom:6px}
[data-cert-panel="2"].cc-attendance-mode .cert-section-head .section-sub{display:none!important}
[data-cert-panel="2"].cc-attendance-mode .cert-panel-footer{display:none!important}
.cc-attendance-toolbar{display:grid;grid-template-columns:minmax(180px,260px) minmax(240px,1fr) auto;align-items:end;gap:10px;margin-bottom:8px;position:sticky;top:0;z-index:4;background:#fff;padding:2px 0 8px}
.cc-attendance-toolbar .field{min-width:0;margin:0}
.cc-attendance-toolbar .field-label{font-size:11px;margin-bottom:4px}
.cc-attendance-toolbar .cc-select{height:38px;padding-top:0;padding-bottom:0}
.cc-attendance-metrics{display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:wrap}
.cc-attendance-metrics span{display:inline-flex;align-items:center;height:32px;padding:0 10px;border:1px solid #dbe4ef;border-radius:9px;background:#f8fafc;color:#475569;font-size:11px;white-space:nowrap}
.cc-attendance-metrics b{font-weight:800;color:#0f172a}
.cc-attendance-toolbar [data-cc-attendance-print]{height:38px;white-space:nowrap}
.cc-attendance-preview-wrap{position:relative;height:calc(100vh - 355px);min-height:500px;max-height:720px;overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable both-edges;background:#e9eef5;border:1px solid #dbe4ef;border-radius:14px;padding:14px}
.cc-attendance-preview-wrap::-webkit-scrollbar{width:12px;height:12px}
.cc-attendance-preview-wrap::-webkit-scrollbar-thumb{background:#aebdce;border-radius:8px;border:3px solid #e9eef5}
.cc-attendance-preview-wrap::-webkit-scrollbar-track{background:#e9eef5}
.cc-att-risk-warning{width:794px;margin:0 auto 10px;padding:9px 12px;border:1px solid #fed7aa;border-radius:9px;background:#fff7ed;color:#9a3412;font-size:12px;font-weight:700}
.cc-att-sheet{width:794px;min-height:0;margin:0 auto 18px;background:#fff;color:#111;border:2px solid #111;font-family:Arial,sans-serif;font-size:10px;box-shadow:0 8px 26px rgba(15,23,42,.14)}
.cc-att-head{display:grid;grid-template-columns:145px 1fr 145px;border-bottom:1px solid #111;min-height:66px}
.cc-att-logo{display:flex;align-items:center;justify-content:center;border-right:1px solid #111;padding:6px}.cc-att-logo.right{border-right:0;border-left:1px solid #111}
.cc-att-logo img{max-width:126px;max-height:52px;object-fit:contain}
.cc-att-logo-empty{font-weight:700;color:#94a3b8;font-size:9px;text-align:center}
.cc-att-title{font-size:19px;font-weight:800;display:flex;align-items:center;justify-content:center}
.cc-att-doc{display:grid;grid-template-columns:90px 1fr 90px 1fr 90px 1fr 58px 58px;border-bottom:1px solid #111}
.cc-att-doc span,.cc-att-doc b{padding:2px 4px;border-right:1px solid #111;font-size:8px}
.cc-att-manual{display:grid;grid-template-columns:1fr 1fr}
.cc-att-manual>div{display:grid;grid-template-columns:180px 1fr;min-height:23px;border-bottom:1px solid #111}
.cc-att-manual>div:nth-child(odd){border-right:1px solid #111}
.cc-att-manual>div.wide{grid-column:1/-1;border-right:0}
.cc-att-manual b{padding:4px 6px;border-right:1px solid #111}
.cc-att-manual span{min-height:22px}
.cc-att-topics,.cc-att-people{width:100%;border-collapse:collapse;table-layout:fixed}
.cc-att-topics th,.cc-att-topics td,.cc-att-people th,.cc-att-people td{border:1px solid #111;padding:2px 5px;line-height:1.15}
.cc-att-topics th:first-child{text-align:left}.cc-att-topics th:last-child{width:65px}
.cc-att-topics td:last-child{text-align:center;white-space:nowrap}
.cc-att-topics tr.group td{font-weight:800;background:#f4f4f4;text-align:center}
.cc-att-statement{font-weight:700;text-align:center;border-top:1px solid #111;border-bottom:1px solid #111;padding:4px 6px;font-size:9px;line-height:1.2}
.cc-att-people th{text-align:center;font-size:9px}
.cc-att-people th:nth-child(1){width:34px}.cc-att-people th:nth-child(2){width:160px}.cc-att-people th:nth-child(4){width:150px}.cc-att-people th:nth-child(5){width:135px}
.cc-att-people td{height:19px}
.cc-att-legal{font-size:6.8px;line-height:1.16;text-align:center;padding:5px 8px;border-top:1px solid #111}
.cc-att-sign-block{display:grid;grid-template-columns:28px 1fr 1fr;min-height:44px;border-top:1px solid #111}
.cc-att-notes-label{display:flex;align-items:center;justify-content:center;border-right:1px solid #111;font-size:9px;font-weight:800;writing-mode:vertical-rl;transform:rotate(180deg)}
.cc-att-sign-cell{display:flex;align-items:flex-start;justify-content:center;padding-top:5px;font-size:9px;font-weight:800}
.cc-att-sign-cell:nth-child(2){border-right:1px solid #111}
.cc-att-owner-note{font-size:7px;line-height:1.1;text-align:center;padding:4px 6px;border-top:1px solid #111;color:#c00;font-weight:700}
@media(max-width:1050px){.cc-attendance-toolbar{grid-template-columns:1fr auto}.cc-attendance-metrics{grid-column:1/-1;grid-row:1}.cc-attendance-preview-wrap{height:58vh;min-height:440px}}
@media(max-width:760px){.cc-attendance-toolbar{grid-template-columns:1fr}.cc-attendance-preview-wrap{padding:8px;height:56vh}}
@media print{.cc-attendance-toolbar,.cc-att-risk-warning{display:none!important}}
/* CERTCORE_ATTENDANCE_NO_RAIL_CANONICAL_V20_1_5
   Sertifika Oluştur > Eğitim Katılım Formu:
   Sol dikey ray kaldırılır; sekmeler üstte yatay, form tam genişlikte kalır.
   JS/DB/API/PDF/Archive/Participants untouched.
*/
[data-page="certificates"] [data-cc-attendance-host].cc-attendance-mode{
  display:block!important;
  grid-template-columns:none!important;
  grid-template-rows:none!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}

[data-page="certificates"] [data-cc-attendance-host].cc-attendance-mode .cc-attendance-side,
[data-page="certificates"] [data-cc-attendance-host].cc-attendance-mode .cc-education-side,
[data-page="certificates"] [data-cc-attendance-host].cc-attendance-mode .cc-cert-panel-side,
[data-page="certificates"] [data-cc-attendance-host].cc-attendance-mode .cc-flow-side{
  display:block!important;
  position:static!important;
  float:none!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:0 0 10px!important;
  padding:0!important;
  overflow:visible!important;
}

[data-page="certificates"] [data-cc-attendance-host].cc-attendance-mode .cc-training-view-tabs{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0 0 10px!important;
  padding:0!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
}

[data-page="certificates"] [data-cc-attendance-host].cc-attendance-mode .cc-training-view-tabs .btn{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  min-height:38px!important;
  height:auto!important;
  margin:0!important;
  white-space:nowrap!important;
}

[data-page="certificates"] [data-cc-attendance-host].cc-attendance-mode [data-cc-attendance-panel]{
  display:block;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  position:static!important;
  grid-column:auto!important;
  grid-row:auto!important;
}

[data-page="certificates"] [data-cc-attendance-host].cc-attendance-mode [data-cc-attendance-panel][hidden]{
  display:none!important;
}

[data-page="certificates"] [data-cc-attendance-host].cc-attendance-mode .cc-attendance-toolbar,
[data-page="certificates"] [data-cc-attendance-host].cc-attendance-mode .cc-attendance-preview-wrap{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
