/* GRRC Başvuru Paneli · sitenin style.css değişkenlerini kullanır */
.app { background: var(--soft); min-height: 100vh; display: flex; flex-direction: column; }
.app [hidden] { display: none !important; }
.app button.btn-line { border: 0; font: inherit; font-size: .95rem; cursor: pointer; padding: 8px 4px; }
.app h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .3em; }
.app h2 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); margin: 0; }
.app h4 { font-size: 1rem; margin: 1.4em 0 .5em; }
.app .lead { font-size: 1.1rem; max-width: 60ch; }
.app .eyebrow { font-size: .9rem; }
.small { font-size: .85rem; color: var(--muted); }
.muted { color: var(--muted); }
.mono { font-variant-numeric: tabular-nums; font-family: ui-monospace, "SF Mono", Consolas, monospace; letter-spacing: 0; }

/* üst bant */
.app-header { background: #fff; border-bottom: 1px solid var(--line-2); position: sticky; top: 0; z-index: 20; }
.app-header-in { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.app-header .brand img { display: block; height: 38px; width: auto; }
.app-title { font-weight: 600; color: var(--ink); padding-left: 16px; border-left: 1px solid var(--line); }
#app-nav { margin-left: auto; display: flex; gap: 18px; align-items: center; font-size: .95rem; }
#app-nav a { color: var(--text); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); cursor: pointer; }
.demo-banner { background: #FFF4E5; color: #7A4A00; text-align: center; font-size: .88rem; padding: 8px 16px; border-bottom: 1px solid #F5DDB8; }
.app-main { flex: 1; padding: clamp(28px, 5vw, 56px) 0 64px; max-width: 920px; }
.wrap-wide { width: min(1400px, 100% - 44px); margin-inline: auto; }
.app-footer { font-size: .82rem; color: var(--muted); padding: 24px 0 32px; text-align: center; }

/* kartlar */
.panel-card { background: #fff; border-radius: var(--r); padding: clamp(20px, 3.4vw, 32px); box-shadow: 0 0 0 1px var(--line-2); margin: 20px 0; }
.panel-card.block { margin: 22px 0; }
.block-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
form.contact.panel-card { padding: clamp(20px, 3.4vw, 32px); }
form.contact.bare { padding: 0; gap: 12px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.grid-2 .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.row-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.row-actions .small { margin-right: auto; }
.code-input { font-size: 1.6rem !important; letter-spacing: .4em; max-width: 240px; text-align: center; }
.login { max-width: 560px; margin: 0 auto; }
.login .panel-card { margin-top: 24px; }
details.kvkk { background: var(--soft); border-radius: 12px; padding: 12px 16px; font-size: .88rem; color: var(--text); }
details.kvkk summary { cursor: pointer; font-weight: 600; color: var(--ink); }
details.kvkk p { margin: .6em 0 0; }

/* bildirim kutuları */
.callout { padding: 18px 22px; margin: 18px 0; border-radius: 14px; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout.err { background: #FDECEC; color: #8A1C1C; }
.callout.warn { background: #FFF4E5; color: #7A4A00; }
.callout.ok { background: #E7F6EC; color: #145A32; }
.callout.small { font-size: .88rem; padding: 12px 16px; }
.callout ul { margin: .4em 0 0; padding-left: 1.2em; }

/* durum rozetleri */
.badge { display: inline-block; font-size: .74rem; font-weight: 600; border-radius: 999px; padding: 4px 11px; white-space: nowrap; background: var(--soft); color: var(--text); }
.st-draft { background: #EDEDF0; color: #48484D; }
.st-wait { background: #E6ECF7; color: var(--navy); }
.st-fix { background: #FFF0E0; color: #A8490B; }
.st-ok { background: #DFF3E7; color: var(--green); }
.st-miss { background: #FDECEC; color: #A61B1B; }

/* butonlar */
.app .btn-sm:not(.btn) { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; font: 500 .86rem Inter, sans-serif; cursor: pointer; border: 0; text-decoration: none; line-height: 1.3; }
.btn-soft { background: var(--soft); color: var(--ink); }
.btn-soft:hover { background: #E8E8ED; text-decoration: none; }
.btn-up { background: var(--copper); color: #fff; }
.btn-up:hover { background: var(--copper-d); }
.btn-ok, .btn.btn-ok { background: var(--green); color: #fff; }
.btn.btn-ok:hover { background: #166B3A; }
.btn.btn-soft { background: var(--soft); color: var(--ink); }
.danger { color: #B42318 !important; }
.btn[disabled], .btn-sm[disabled] { opacity: .45; cursor: not-allowed; }
label.busy { opacity: .6; pointer-events: none; }
.icon-btn { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--soft); font-size: 1.2rem; cursor: pointer; color: var(--text); flex: none; }
.icon-btn:hover:not([disabled]) { background: #FDECEC; color: #B42318; }
.icon-btn[disabled] { opacity: .3; cursor: default; }

/* panel ana sayfası */
.info-strip { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.info-strip > div { background: #fff; border-radius: 14px; padding: 12px 18px; box-shadow: 0 0 0 1px var(--line-2); min-width: 150px; }
.info-strip small { display: block; color: var(--muted); font-size: .78rem; }
.info-strip strong { font-size: 1.05rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 20px 0 28px; }
.team-card { display: block; background: #fff; border-radius: var(--r); padding: 20px 22px; box-shadow: 0 0 0 1px var(--line-2); color: var(--ink); transition: box-shadow .25s, transform .25s; }
.team-card:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.team-card h3 { margin: 10px 0 4px; }
.team-card .meta { font-size: .9rem; color: var(--muted); margin: 0 0 14px; }
.tc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.code { font: 600 .78rem ui-monospace, Consolas, monospace; color: var(--muted); letter-spacing: .02em; }
.progress { height: 6px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--copper), var(--copper-l)); border-radius: 99px; }
.progress.big { height: 8px; margin-top: 16px; }
.progress + .small { margin: 6px 0 0; }
strong.fix { color: #A8490B; }
.steps-mini { margin: .5em 0 0; padding-left: 1.3em; }

/* takım formu */
.cat-note { margin: 0; min-height: 1em; }
fieldset.students { border: 0; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
fieldset.students legend { font-weight: 600; margin-bottom: 8px; }
.st-row { display: grid; grid-template-columns: 26px 1fr 1fr 150px 34px; gap: 10px; align-items: end; }
.st-no { align-self: center; padding-top: 22px; font-weight: 600; color: var(--muted); text-align: center; }
.st-row .icon-btn { margin-bottom: 8px; }
.contact [hidden] { display: none !important; }
.st-row { padding-bottom: 14px; border-bottom: 1px solid var(--line-2, #e8e8ed); }
.st-more { grid-column: 2 / 5; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; }
@media (max-width: 640px) {
  .st-row { grid-template-columns: 22px 1fr 34px; background: var(--soft); padding: 12px; border-radius: 14px; border-bottom: 0; }
  .st-row > label { grid-column: 2; }
  .st-row .icon-btn { grid-column: 3; grid-row: 1; }
  .st-no { grid-row: 1 / span 4; align-self: start; padding-top: 30px; }
  .st-more { grid-column: 2; grid-template-columns: minmax(0, 1fr); }
}

/* takım sayfası */
.crumb { margin: 0 0 14px; font-size: .92rem; }
.team-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.st-view { margin: 0 0 8px; padding-left: 1.3em; }
.st-view li { margin: 2px 0; }
.fcode { display: inline-block; font: 600 .72rem ui-monospace, Consolas, monospace; background: #E6ECF7; color: var(--navy); border-radius: 6px; padding: 2px 6px; vertical-align: 1px; }
.slot-group h4 { margin: 22px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line-2); }
.slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.slot { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 14px; background: var(--soft); }
.slot.empty { background: #fff; outline: 1.5px dashed var(--line); outline-offset: -1.5px; }
.slot.fixme { background: #FFF6EC; }
.slot-main { min-width: 0; }
.slot-main p { margin: 0 0 3px; overflow-wrap: anywhere; }
.slot-title { font-weight: 600; color: var(--ink); }
.slot-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.slot-btns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.admin-note { font-size: .86rem; color: #8A3B07; background: #FFF0E0; border-radius: 8px; padding: 6px 10px; margin-top: 6px !important; }
@media (max-width: 640px) { .slot { flex-direction: column; } .slot-side { align-items: flex-start; } .slot-btns { justify-content: flex-start; } }
.pay p { margin-bottom: .4em; }
.submit-box h3 { margin-top: 0; }
.missing { margin: 0 0 16px; padding-left: 1.2em; color: var(--text); }
.danger-zone { text-align: right; margin-top: 8px; }

/* bildirim */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; font-size: .92rem; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 1100; max-width: min(560px, 92vw); box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: #A61B1B; }

/* yönetim */
.admin .app-main { max-width: none; }
.stats-strip > div { min-width: 120px; }
.stats-strip strong { font-size: 1.5rem; }
.cat-counts { margin: -8px 0 18px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0; }
.filters input[type=search], .filters select { font: inherit; font-size: .92rem; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.filters input[type=search] { flex: 1 1 260px; }
.filters .chk { display: flex; gap: 6px; align-items: center; font-size: .9rem; }
.admin-table-wrap { overflow-x: auto; background: #fff; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line-2); }
.admin-table th, .admin-table td { padding: 10px 14px; font-size: .88rem; }
.admin-table tbody tr { cursor: pointer; }
.admin-table tbody tr:hover, .admin-table tbody tr.sel { background: #F2F6FC; }
.admin-table .wait { color: var(--navy); font-weight: 600; }
.detail { scroll-margin-top: 80px; }
.detail-grid h4 { margin-top: 0; }
.proposal { background: var(--soft); border-radius: 12px; padding: 14px 16px; font-size: .94rem; white-space: normal; }
.warn-text { color: #A8490B; }
details.settings summary { cursor: pointer; }
details.settings form { margin-top: 16px; }

/* Hakem değerlendirmesi */
.inline-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
.inline-form select { flex: 1 1 260px; min-width: 0; }
.review-text { white-space: normal; max-width: 70ch; }
.review .proposal { margin-bottom: 12px; }
.callout.feedback p + p { margin-top: .5em; }
/* Beyanla kayıt */
.decl-group { border: 1px solid var(--line, #e3e1da); border-radius: 12px; padding: 12px 16px 6px; margin: 0 0 14px; }
.decl-group legend { padding: 0 6px; font-weight: 600; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.decl-group .linklike { font-weight: 500; }
.decl-group.yn legend .small { font-weight: 400; }
.decl-group.yn > p.small { margin: 2px 0 8px; }
.decl-group.yn label.inline { display: flex; gap: 10px; align-items: center; margin: 0 0 8px; font-weight: 400; }
.decl-group.yn label.inline input { flex: none; width: 18px; height: 18px; margin: 0; }
/* Takım sayfası: adım adım başvuru */
/* adım çubuğu: tek kart içinde ilerleme + birbirine bağlı adımlar */
.wiz-steps { margin: 14px 0 18px; background: #fff; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line-2), 0 10px 30px -22px rgba(31,56,100,.35); padding: 16px 18px 12px; }
.wiz-prog { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; }
.wiz-prog p { margin: 0; }
.wp-now { font-size: var(--fs-base); color: var(--ink); }
.wp-step { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--copper); margin-right: 6px; }
.wp-pct { font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.wp-bar { height: 6px; border-radius: 99px; background: #EEEDE8; overflow: hidden; margin: 10px 0 16px; }
.wp-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #1e7b45, #3FA46A); transition: width .6s cubic-bezier(.2,.7,.2,1); }
.wiz-steps ol { list-style: none; margin: 0; padding: 0; display: flex; }
.wiz-steps li { flex: 1 1 0; min-width: 0; position: relative; }
.wiz-steps li + li::before { content: ""; position: absolute; top: 17px; right: calc(50% + 22px); left: calc(-50% + 22px); height: 2px; border-radius: 2px; background: #E4E3DD; }
.wiz-steps li.lk::before { background: #8CC9A5; }
.wiz-steps li a { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 0 4px 6px; text-decoration: none; color: inherit; border-radius: 12px; }
.wiz-steps li a:hover .ws-n { transform: translateY(-1px); box-shadow: 0 4px 10px -4px rgba(31,56,100,.45); }
.wiz-steps li a:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.wiz-steps .ws-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .92rem; background: #F1F0EB; color: #6e6e73; box-shadow: inset 0 0 0 1.5px #DEDCD5; transition: transform .2s, box-shadow .2s, background .2s; margin-bottom: 5px; }
.wiz-steps .ws-t { font-weight: 600; font-size: var(--fs-sm); line-height: 1.25; color: var(--ink); }
.wiz-steps .ws-m { font-size: var(--fs-xs); color: var(--muted); }
.wiz-steps li.ok .ws-n { background: #E3F1E8; color: #1e7b45; box-shadow: inset 0 0 0 1.5px #A9D6BA; }
.wiz-steps li.todo .ws-n { background: #FFF3EA; color: #C55A11; box-shadow: inset 0 0 0 1.5px #F2C7A6; }
.wiz-steps li.todo .ws-m { color: #B3530F; }
.wiz-steps li.last .ws-n { background: #EEF2F9; color: #1F3864; box-shadow: inset 0 0 0 1.5px #C9D4E8; }
.wiz-steps li.cur .ws-n { background: #1F3864; color: #fff; box-shadow: 0 0 0 4px rgba(31,56,100,.14); }
.wiz-steps li.cur .ws-t { color: #1F3864; }
.wiz-miss { margin: 0 0 14px; }
.wiz-miss .missing { margin: 4px 0 0; }
#wiz-body h2:focus { outline: none; }
.wiz-in { animation: wizIn .35s cubic-bezier(.2,.7,.2,1) both; }
@keyframes wizIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* alt çubuk: ekranın altına yapışık Geri / adım / Kaydet ve devam */
.wiz-nav { position: sticky; bottom: 0; z-index: 15; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 18px 0 0; padding: 12px 16px; background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(1.6) blur(12px); backdrop-filter: saturate(1.6) blur(12px); border-radius: 16px 16px 0 0; box-shadow: 0 0 0 1px var(--line-2), 0 -12px 28px -20px rgba(31,56,100,.45); }
.wiz-nav:empty { display: none; }
.wn-left { justify-self: start; }
.wn-right { justify-self: end; display: flex; align-items: center; gap: 14px; }
.wn-mid { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.wn-step { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.wn-dirty { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: #B3530F; font-weight: 600; margin-top: 3px; }
.wn-dirty::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #E07A2F; }
.wiz-nav .btn { min-width: 0; white-space: nowrap; }
.wn-back { white-space: nowrap; }
.wiz-skip { color: var(--muted, #6e6e73); white-space: nowrap; }
.wiz-skip:hover { color: var(--ink); }
.wizard form > .row-actions { justify-content: flex-end; }
.wizard form > .row-actions .btn { min-width: 200px; }
.wizard form > .row-actions.wiz-moved { display: none; }
.wiz-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
body:has(.wiz-nav:not(:empty)) .toast { bottom: 96px; }

/* form alanları: odakta belirgin, sakin halka */
.app form.contact input:not([type=checkbox]):not([type=radio]), .app form.contact select, .app form.contact textarea { transition: border-color .15s, box-shadow .15s, background .15s; }
.app form.contact input:not([type=checkbox]):not([type=radio]):focus, .app form.contact select:focus, .app form.contact textarea:focus { outline: none; border-color: #1F3864; box-shadow: 0 0 0 3px rgba(31,56,100,.14); background: #fff; }
.app form.contact input:disabled, .app form.contact textarea:disabled, .app form.contact select:disabled { background: #F6F5F1; color: #55565b; }
.app form.contact input[type=checkbox], .app form.contact input[type=radio] { accent-color: #1F3864; }

/* gönderildi ekranı */
.wiz-done { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 20px 22px; border-radius: var(--r); background: linear-gradient(135deg, #EFF8F2 0%, #F7FBF8 100%); box-shadow: inset 0 0 0 1px #CFE8D8; }
.wd-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #1e7b45; box-shadow: 0 0 0 6px rgba(30,123,69,.14); animation: wdPop .5s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes wdPop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.wd-text h3 { margin: 4px 0 2px; color: #145A32; }
.wd-text > .small { margin: 0 0 10px; }
.wd-next { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: var(--fs-sm); line-height: 1.5; }
@media (max-width: 560px) { .wiz-done { grid-template-columns: 1fr; } }

/* Takımlarım kartı: adım şeridi ve devam bağlantısı */
.tc-steps { display: flex; gap: 4px; }
.tc-steps i { flex: 1; height: 6px; border-radius: 99px; background: #ECEBE6; }
.tc-steps i.ok { background: #3FA46A; }
.tc-steps + .small { margin: 6px 0 0; }
.tc-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: var(--fs-sm); font-weight: 600; color: var(--navy); }
.team-card.is-open .tc-go { color: var(--copper); }
.team-card:hover .tc-go span { transform: translateX(3px); }
.tc-go span { transition: transform .2s; }

/* yükleniyor iskeleti */
.skel { display: grid; gap: 14px; }
.skel i { display: block; border-radius: 10px; background: linear-gradient(90deg, #ECEBE6 0%, #F6F5F1 40%, #ECEBE6 80%); background-size: 200% 100%; animation: skel 1.3s linear infinite; }
.sk-l { height: 12px; } .sk-l.w30 { width: 30%; } .sk-l.w50 { width: 50%; }
.sk-h { height: 40px; width: 55%; }
.sk-bar { height: 120px; border-radius: var(--r) !important; }
.sk-card { height: 170px; border-radius: var(--r) !important; }
.sk-card.tall { height: 340px; }
.sk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 10px; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel i, .wiz-in, .wd-icon { animation: none; } .wp-bar span { transition: none; } }
/* Önizleme */
.pv-sec { border-top: 1px solid var(--line, #e3e1da); padding: 14px 0 6px; }
.pv-sec:first-child { border-top: 0; padding-top: 4px; }
.pv-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pv-head h3 { margin: 0 0 8px; font-size: var(--fs-md, 1.125rem); }
.pv-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm, .875rem); margin: 4px 0 8px; }
.pv-table th { text-align: left; font-weight: 500; color: var(--muted, #6e6e73); width: 34%; padding: 6px 12px 6px 0; vertical-align: top; border-bottom: 1px solid #f0efea; }
.pv-table td { padding: 6px 0; border-bottom: 1px solid #f0efea; overflow-wrap: anywhere; }
.pv-grid { width: 100%; border-collapse: collapse; font-size: var(--fs-sm, .875rem); margin: 6px 0 8px; display: block; overflow-x: auto; }
.pv-grid th, .pv-grid td { padding: 6px 8px; border-bottom: 1px solid #f0efea; text-align: left; white-space: nowrap; }
.pv-grid th { background: #f6f5f1; font-weight: 600; }
.pv-grid td.c { text-align: center; }
.pv-title { font-weight: 600; margin: 4px 0 8px; }
.pv-text { white-space: normal; background: #f9f8f5; border-radius: 10px; padding: 10px 12px; font-size: var(--fs-sm, .875rem); line-height: 1.55; margin: 0 0 8px; }
@media (max-width: 640px) {
  .wiz-steps { padding: 14px 12px 10px; }
  .wiz-steps .ws-t, .wiz-steps .ws-m { display: none; }
  .wiz-steps .ws-n { width: 32px; height: 32px; margin-bottom: 0; }
  .wiz-steps li + li::before { top: 15px; right: calc(50% + 19px); left: calc(-50% + 19px); }
  .pv-table th { width: 42%; }
  .wizard form > .row-actions .btn { width: 100%; min-width: 0; }
  .wiz-nav { grid-template-columns: auto 1fr; padding: 10px 12px; margin-left: -6px; margin-right: -6px; }
  .wn-mid { display: none; }
  .wn-right { gap: 10px; }
  .wiz-nav .wiz-skip { display: none; }
  .wiz-nav .btn { padding: 11px 18px; }
}

/* Kayıt ücreti panosu (yönetim, canlı) */
.pay-board { border: 1px solid var(--line, #e3e1da); border-radius: 14px; padding: 14px 16px 10px; margin: 6px 0 14px; background: #fff; }
.pb-head { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; margin-bottom: 10px; }
.pb-head h2 { margin: 0; font-size: var(--fs-md, 1.125rem); }
.pb-live { display: inline-flex; gap: 6px; align-items: center; font-size: var(--fs-xs, .78rem); color: #1e7b45; font-weight: 600; }
.pb-live i { width: 8px; height: 8px; border-radius: 50%; background: #1e7b45; box-shadow: 0 0 0 0 rgba(30,123,69,.5); animation: pbpulse 2s infinite; }
@keyframes pbpulse { 0% { box-shadow: 0 0 0 0 rgba(30,123,69,.45); } 70% { box-shadow: 0 0 0 8px rgba(30,123,69,0); } 100% { box-shadow: 0 0 0 0 rgba(30,123,69,0); } }
.pb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.pb-card { border-radius: 10px; background: #f6f5f1; padding: 10px 12px; display: grid; gap: 2px; }
.pb-card small { color: var(--muted, #6e6e73); font-size: var(--fs-xs, .78rem); }
.pb-card strong { font-size: 1.5rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.pb-card span { font-size: var(--fs-xs, .78rem); color: var(--muted, #6e6e73); }
.pb-total { background: #1F3864; color: #fff; }
.pb-total small, .pb-total span { color: rgba(255,255,255,.8); }
.pb-ok strong { color: #1e7b45; } .pb-wait strong { color: #C55A11; } .pb-none strong { color: #8a8a90; }
.pb-total.flash { animation: pbflash 1.6s ease 2; }
@keyframes pbflash { 50% { background: #2E7D4F; } }
.pb-bar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: #ecebe6; margin: 12px 0 6px; }
.pb-bar span { display: block; height: 100%; transition: width .6s ease; }
.pb-bar .b-ok { background: #1e7b45; } .pb-bar .b-wait { background: #C55A11; } .pb-bar .b-burs { background: #9aa6bd; }
@media (prefers-reduced-motion: reduce) { .pb-live i, .pb-total.flash { animation: none; } }
.pub-block { border: 1px solid var(--line, #e3e1da); border-left: 4px solid #C55A11; border-radius: 12px; padding: 14px 16px 6px; margin: 0 0 14px; }
.pub-block h3 { margin: 0 0 4px; font-size: var(--fs-md, 1.125rem); }
.pub-block .authors { margin: 6px 0 12px; }
.pub-block .author-list { margin: 4px 0 6px; padding-left: 20px; }
.pub-block .author-list label.inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-weight: 400; margin: 0 0 6px; }
.pub-block .author-list select { width: auto; min-width: 120px; }
.pub-block textarea[data-show="cc"] { margin-top: 4px; }
.review-score { align-items: start; margin-top: 4px; }
.review-score input[name=total] { max-width: 160px; }
.rv-line { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.research-meta { margin: 0 0 10px; }
.research-meta dt { font-weight: 600; margin-top: 8px; }
.research-meta dd { margin: 2px 0 0; white-space: pre-line; }
label.consent.decl { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; font-weight: 400; line-height: 1.45; }
label.consent.decl input { margin-top: 3px; flex: none; width: 18px; height: 18px; }
.decl-table td, .decl-table th { text-align: center; }
.decl-table td:first-child, .decl-table th:first-child { text-align: left; }
.ok-mark { color: #1e7b45; font-weight: 700; }
.decl-list { margin: 8px 0; padding-left: 18px; }

/* Dar ekranda üst menü satıra sığsın */
@media (max-width: 640px) {
  #app-nav { margin-left: 0; width: 100%; flex-wrap: wrap; gap: 6px 14px; font-size: .9rem; padding-bottom: 8px; }
  #app-nav a, #app-nav .linklike { white-space: nowrap; }
  .app-header-in { gap: 8px 16px; }
}

/* Toplu hakem ekleme */
.bulk-rv { border-top: 1px solid var(--line-2, #e8e8ed); margin-top: 16px; padding-top: 12px; }
.bulk-rv textarea { width: 100%; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.bulk-rv .row-actions { margin: 8px 0; }
#bulk-rv-out .admin-table-wrap { max-height: 320px; overflow: auto; margin: 8px 0; }

/* Kayıt ücreti */
.pay-block { border: 1px solid var(--line, #d2d2d7); border-radius: 14px; padding: 14px 16px; margin: 0 0 16px; }
.pay-block h3 { margin: 0 0 10px; font-size: 17px; }
.burs-ask { border-top: 1px dashed var(--line, #d2d2d7); margin-top: 14px; padding-top: 12px; }
.burs-ask p { margin: 0 0 8px; }

/* Danışman rehberi */
.help-list { padding-left: 20px; line-height: 1.6; }
.help-steps { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.help-step { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; background: var(--bg, #fff); border: 1px solid var(--line, #d2d2d7); border-radius: 14px; padding: 14px 16px; }
.help-step h3 { margin: 4px 0 4px; font-size: 17px; }
.help-step p { margin: 0; }
.help-no { width: 34px; height: 34px; border-radius: 50%; background: var(--copper, #C55A11); color: #fff; display: grid; place-items: center; font-weight: 700; }
.help details { border-top: 1px solid var(--line-2, #e8e8ed); padding: 10px 0; }
.help details summary { cursor: pointer; font-weight: 600; }
.dup-box summary { cursor: pointer; }
.dup-box ul { margin: 8px 0 4px; padding-left: 18px; }

/* Yönetim: toplu seçim ve belge önizleme */
.admin-table th.pick, .admin-table td.pick { width: 34px; text-align: center; }
.admin-table td.pick input, #pick-all { width: 17px; height: 17px; cursor: pointer; }
.bulk-bar { position: sticky; top: 8px; z-index: 5; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: #1F3864; color: #fff; padding: 10px 14px; border-radius: 12px; margin: 8px 0; }
.bulk-bar .btn-soft { background: rgba(255,255,255,.14); color: #fff; border-color: transparent; }
#docs-all-ok { margin-left: 10px; vertical-align: middle; }
.doc-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(11,19,36,.6); display: flex; align-items: center; justify-content: center; padding: 20px; }
.doc-modal-in { background: var(--bg, #fff); color: var(--ink, #1d1d1f); width: min(960px, 100%); height: min(92vh, 1100px); border-radius: 14px; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.doc-modal-head, .doc-modal-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line, #d2d2d7); }
.doc-modal-foot { border-bottom: 0; border-top: 1px solid var(--line, #d2d2d7); justify-content: flex-end; }
.doc-modal-foot .badge { margin-right: auto; }
.doc-modal-body { background: var(--soft, #f5f5f7); overflow: auto; display: flex; align-items: flex-start; justify-content: center; }
.doc-modal-body img { max-width: 100%; height: auto; margin: 16px; box-shadow: 0 2px 12px rgba(0,0,0,.15); background: #fff; }
.doc-modal-body iframe { width: 100%; height: 100%; border: 0; background: #fff; }

/* Yazdırılabilir başvuru formu (F01) */
.print-cta .btn { margin-right: 10px; }
.print-actions { display: flex; justify-content: space-between; align-items: center; margin: 0 auto 16px; max-width: 820px; }
.print-form { max-width: 820px; margin: 0 auto; background: #fff; color: #1d1d1f; padding: 36px 40px; border: 1px solid var(--line, #d2d2d7); border-radius: 12px; font-size: 13px; line-height: 1.45; }
.print-form h1 { font-size: 18px; margin: 2px 0 0; font-family: inherit; }
.print-form h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #1F3864; margin: 18px 0 6px; border-bottom: 2px solid #C55A11; padding-bottom: 3px; break-after: avoid; }
.pf-head { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; border-bottom: 1px solid #d2d2d7; padding-bottom: 12px; }
.pf-code { margin: 0; font-size: 11px; font-weight: 600; color: #C55A11; letter-spacing: .06em; text-transform: uppercase; }
.pf-team { text-align: right; display: grid; font-size: 12px; }
.pf-team strong { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; }
.pf-table, .pf-grid { width: 100%; border-collapse: collapse; }
.pf-table th { width: 30%; text-align: left; font-weight: 600; color: #424245; }
.pf-table th, .pf-table td, .pf-grid th, .pf-grid td { border: 1px solid #d2d2d7; padding: 5px 8px; vertical-align: top; }
.pf-grid th { background: #F3F6FB; font-weight: 600; text-align: left; font-size: 12px; }
.pf-decl { table-layout: fixed; }
.pf-decl td, .pf-decl th { text-align: center; overflow-wrap: anywhere; }
.pf-decl td:first-child, .pf-decl th:first-child { text-align: left; width: 42%; }
.pf-req { color: #6e6e73; font-size: 10.5px; }
.print-form table { max-width: 100%; }
.print-form .pf-grid td, .print-form .pf-grid th { overflow-wrap: anywhere; white-space: normal; word-break: break-word; }
.pf-grid.pf-decl { table-layout: fixed; width: 100%; }
.pf-grid.pf-decl td:first-child, .pf-grid.pf-decl th:first-child { width: 34%; }
.pf-small { font-size: 12px; margin: 6px 0; }
.pf-sign { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 14px; break-inside: avoid; }
.pf-sign p { margin: 0; }
.pf-sign .pf-name { font-weight: 600; min-height: 1.4em; }
.pf-sign .pf-line { border-top: 1px solid #1d1d1f; margin-top: 56px; padding-top: 4px; font-size: 11px; color: #6e6e73; }
.pf-foot { margin-top: 22px; font-size: 10.5px; color: #6e6e73; border-top: 1px solid #e8e8ed; padding-top: 8px; }
@media (max-width: 640px) { .print-form { padding: 20px 16px; } .pf-head { grid-template-columns: 1fr; } .pf-team { text-align: left; } .pf-sign { grid-template-columns: 1fr; } }
@media print {
  @page { size: A4; margin: 14mm; }
  body.print-mode { background: #fff; }
  body.print-mode .app-header, body.print-mode .app-footer, body.print-mode .no-print, body.print-mode .toast, body.print-mode .skip, body.print-mode .demo-banner { display: none !important; }
  body.print-mode .app-main { padding: 0; max-width: none; }
  .print-form { border: 0; border-radius: 0; padding: 0; max-width: none; font-size: 11.5px; }
  .pf-table th, .pf-table td, .pf-grid th, .pf-grid td { padding: 3px 6px; }
  .pf-grid th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ==================================================================
   Yazı ölçeği (panel ve yönetim): tek temel, dört boyut, sabit harf aralığı.
   Sitenin 17px gövdesi ile rem tabanlı küçük yazılar karışmasın; form
   kutuları etiketin kalın ve küçük yazısını devralmasın.
   ================================================================== */
.app { --fs-xs: .78rem; --fs-sm: .875rem; --fs-base: 1rem; --fs-md: 1.125rem; font-size: var(--fs-base); line-height: 1.55; letter-spacing: 0; }
.app main, .app header, .app footer { letter-spacing: 0; }
.app p, .app li, .app td, .app th, .app dd { overflow-wrap: break-word; }

/* başlıklar */
.app h1 { line-height: 1.12; letter-spacing: -.02em; }
.app h2 { line-height: 1.2; letter-spacing: -.015em; }
.app h3 { font-size: var(--fs-md); line-height: 1.3; letter-spacing: -.01em; }
.app h4 { font-size: var(--fs-base); line-height: 1.35; font-weight: 600; letter-spacing: 0; }
.app .eyebrow { font-size: var(--fs-xs); letter-spacing: .08em; line-height: 1.4; }
.app .lead { font-size: var(--fs-md); line-height: 1.5; }

/* gövde ve yardımcı yazılar */
.app .small, .app small { font-size: var(--fs-sm); line-height: 1.45; }
.app .note { font-family: Inter, sans-serif; font-style: normal; font-size: var(--fs-sm); color: var(--muted); }
.app .callout { font-size: var(--fs-base); line-height: 1.5; }
.app .callout.small { font-size: var(--fs-sm); }
.app details.kvkk { font-size: var(--fs-sm); line-height: 1.5; }
.app .app-footer { font-size: var(--fs-sm); }
.app #app-nav { font-size: var(--fs-sm); }

/* formlar: etiket küçük ve yarı kalın; kutunun içi normal boyut ve normal kalınlık */
.app form.contact label { font-size: var(--fs-sm); font-weight: 500; line-height: 1.35; }
.app form.contact input, .app form.contact select, .app form.contact textarea,
.app input, .app select, .app textarea, .app button { font-family: Inter, -apple-system, "Segoe UI", system-ui, sans-serif; letter-spacing: 0; }
.app form.contact input, .app form.contact select, .app form.contact textarea { font-size: var(--fs-base); font-weight: 400; line-height: 1.4; padding: 11px 14px; }
.app form.contact select { padding-right: 34px; text-overflow: ellipsis; }
.app form.contact .consent, .app label.consent.decl { font-size: var(--fs-sm); line-height: 1.5; font-weight: 400; }
.app label .small { font-weight: 400; }
.app .code-input { font-size: 1.6rem !important; }

/* düğmeler */
.app .btn { font-size: var(--fs-base); line-height: 1.25; padding: 11px 22px; }
.app .btn.btn-sm, .app .btn-sm { font-size: var(--fs-sm); line-height: 1.25; padding: 8px 16px; white-space: nowrap; }
.app .icon-btn { font-family: Inter, sans-serif; line-height: 1; }
.app .badge { font-size: var(--fs-xs); line-height: 1.3; }

/* tablolar */
.app .admin-table th, .app .admin-table td { font-size: var(--fs-sm); line-height: 1.45; }
.app .admin-table th { font-weight: 600; }
.app .info-strip small, .app .stats-strip small { font-size: var(--fs-xs); line-height: 1.3; }
.app .info-strip strong { font-size: var(--fs-md); }
.app .slot-title { font-size: var(--fs-base); line-height: 1.35; }
.app .st-view li { line-height: 1.45; margin-bottom: 4px; }

/* yönetim ayrıntısı: gövde metni tek boyut */
.app .detail p, .app .detail li, .app .detail .proposal { font-size: .9375rem; line-height: 1.55; }
.app .detail .small, .app .detail .decl-list { font-size: var(--fs-sm); }
.app .detail h4 { margin-top: 1.6em; }
.app .detail .team-head h2 { margin-bottom: .2em; }

/* beyan tablosu (yönetim): satırda izin, sütunda öğrenci */
.app .decl-table { table-layout: fixed; width: 100%; }
.app .decl-table th:first-child, .app .decl-table td:first-child { width: 34%; text-align: left; }
.app .decl-table th, .app .decl-table td { text-align: center; white-space: normal; overflow-wrap: anywhere; }
.app .btn-sm:not(.btn) { font-size: var(--fs-sm); }
.app .crumb, .app .crumb a { font-size: var(--fs-sm); }
.app button.btn-line, .app .btn-line { font-size: var(--fs-sm); }

/* ==================================================================
   Yönetim ekranı: başlık, sekmeler, hızlı filtreler, sağdan açılan takım paneli
   ================================================================== */
.adm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.adm-head h1 { margin: 0; }
.adm-head #adm-sync { margin: 4px 0 0; }
.adm-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.icon-btn.refresh { display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--line-2); color: var(--navy); }
.icon-btn.refresh:hover { background: #EEF2F9; color: var(--navy); }

/* Dışa aktar menüsü */
details.menu { position: relative; }
details.menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
details.menu > summary::-webkit-details-marker { display: none; }
details.menu[open] > summary { box-shadow: 0 0 0 3px rgba(197,90,17,.2); }
.menu-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; width: 300px; background: #fff; border-radius: 14px; padding: 8px; box-shadow: 0 0 0 1px var(--line-2), 0 18px 40px -16px rgba(16,24,40,.35); animation: menuIn .16s ease both; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.menu-h { margin: 6px 10px 2px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.menu-list button { display: block; width: 100%; text-align: left; background: none; border: 0; border-radius: 10px; padding: 8px 10px; cursor: pointer; font: inherit; color: var(--ink); }
.menu-list button:hover, .menu-list button:focus-visible { background: #F3F5FA; outline: none; }
.menu-list button strong { display: block; font-size: var(--fs-sm); font-weight: 600; }
.menu-list button span { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.35; }
.menu-list button[disabled] { opacity: .5; }

/* Sekmeler */
.adm-tabs { position: sticky; top: 64px; z-index: 12; display: flex; gap: 4px; margin: 20px 0 16px; padding: 5px; background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 14px; box-shadow: 0 0 0 1px var(--line-2); overflow-x: auto; }
.adm-tabs button { flex: none; border: 0; background: none; font: 500 var(--fs-sm) Inter, sans-serif; color: var(--text); padding: 9px 16px; border-radius: 10px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; transition: background .15s, color .15s; }
.adm-tabs button b { font-weight: 600; font-size: var(--fs-xs); background: #EEEDE8; color: var(--muted); border-radius: 99px; padding: 1px 8px; }
.adm-tabs button:hover { background: #F3F4F7; }
.adm-tabs button.on { background: #1F3864; color: #fff; }
.adm-tabs button.on b { background: rgba(255,255,255,.18); color: #fff; }
.tab-pane > details.settings { margin-top: 0; }
.tab-pane > details.settings > summary { display: none; }
.pane-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.pane-head h2 { margin: 0 0 2px; }
.pane-head p { margin: 0; }

/* Hızlı filtre çipleri */
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.chip { border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font: 500 var(--fs-sm) Inter, sans-serif; background: #fff; color: var(--text); box-shadow: 0 0 0 1px var(--line-2); transition: box-shadow .15s, background .15s; }
.chip b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); }
.chip:hover { box-shadow: 0 0 0 1px #C9D4E8; }
.chip.hot b { color: #B3530F; }
.chip.on { background: #1F3864; color: #fff; box-shadow: none; }
.chip.on b { color: rgba(255,255,255,.85); }

/* Ödeme ve durum rozetleri */
.pchip { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); font-weight: 600; line-height: 1.3; padding: 3px 9px; border-radius: 999px; white-space: nowrap; background: #EEEDE8; color: #55565b; }
.pchip.ok { background: #DFF3E7; color: #17663A; }
.pchip.info { background: #E6ECF7; color: #1F3864; }
.pchip.wait { background: #FFF0E0; color: #A8490B; }
.pchip.bad { background: #FDECEC; color: #A61B1B; }
.pchip.none { background: #F1F0EB; color: #8a8a90; }

/* Tablo inceltmeleri */
.admin .admin-table thead th { position: sticky; top: 0; background: #FAFAF8; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line-2); }
.admin .admin-table tbody tr { transition: background .12s; }
.admin .admin-table tbody tr + tr td { border-top: 1px solid #F0EFEA; }
.admin .admin-table tbody tr.sel { background: #EAF0FA; box-shadow: inset 3px 0 0 #1F3864; }
.admin .admin-table td.mono { white-space: nowrap; }
.admin .admin-table td.empty-row { text-align: center; padding: 34px 14px; color: var(--muted); }
.adv-table td { vertical-align: top; }
.adv-table .tlink { font: 600 .8rem ui-monospace, Consolas, monospace; }
.nowrap { white-space: nowrap; }
.adv-table td.row-actions { gap: 6px; flex-wrap: nowrap; }
.adv-table td.row-actions { display: table-cell; }
.adv-table td.row-actions a + a { margin-left: 6px; }

/* Takım paneli (sağdan kayar) */
body.drawer-open { overflow: hidden; }
.drawer-back { position: fixed; inset: 0; z-index: 60; background: rgba(15,23,42,.38); animation: fadeIn .2s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(860px, 100%); background: var(--soft, #F5F5F7); display: flex; flex-direction: column; box-shadow: -20px 0 50px -20px rgba(15,23,42,.45); outline: none; }
.drawer.in { animation: drawerIn .28s cubic-bezier(.2,.7,.2,1) both; }
@keyframes drawerIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { background: #fff; padding: 16px 26px 14px; border-bottom: 1px solid var(--line-2); flex: none; }
.dh-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dh-top .eyebrow { margin: 0; }
.dh-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 8px; }
.dh-title h2 { margin: 0; }
.dh-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 12px; }
.dh-meta .small { color: var(--muted); }
.dh-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 26px 40px; overscroll-behavior: contain; }
.drawer-body > .callout:first-child { margin-top: 14px; }
.drawer .detail-grid { background: #fff; border-radius: 14px; padding: 6px 18px 12px; box-shadow: 0 0 0 1px var(--line-2); margin-top: 14px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 1.4em; }
.sec-head h4 { margin: 0 0 .5em !important; }
.sec-edit { font-size: var(--fs-sm); font-weight: 600; color: var(--copper); white-space: nowrap; }
.sec-edit:hover { color: var(--copper-d); }
.detail-grid .sec-head { margin-top: 10px; }

/* Ödeme kontrolü kartı */
.pay-review { background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: 0 0 0 1px var(--line-2); }
.pay-review .pr-state { margin-bottom: 10px; }
.pr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 18px; margin: 0 0 12px; }
.pr-grid dt { font-size: var(--fs-xs); color: var(--muted); }
.pr-grid dd { margin: 2px 0 0; font-size: var(--fs-sm); overflow-wrap: anywhere; }
.pay-review .row-actions { gap: 10px; }
.pay-review p { margin: 8px 0 0; }

@media (max-width: 640px) {
  .adm-head { align-items: flex-start; }
  .adm-tabs { position: static; }
  .menu-list { right: auto; left: 0; width: min(300px, calc(100vw - 32px)); }
  .drawer-head { padding: 14px 16px 12px; }
  .drawer-body { padding: 4px 16px 32px; }
  .drawer .detail-grid { padding: 4px 14px 10px; }
}
@media (prefers-reduced-motion: reduce) { .drawer.in, .drawer-back, .menu-list { animation: none; } }

/* ---- Sertifikalarım (yama-16) ---- */
#app-nav a.nav-cert { color: var(--copper); font-weight: 600; }
.cert-banner { display: flex; align-items: center; gap: 18px; margin: 18px 0 22px; padding: 18px 22px; border-radius: var(--r); color: #fff; text-decoration: none;
  background: linear-gradient(120deg, #1F3864 0%, #2B4A80 60%, #8A4A1E 130%); box-shadow: 0 10px 30px -14px rgba(31,56,100,.55); transition: transform .25s, box-shadow .25s; }
.cert-banner:hover { text-decoration: none; color: #fff; transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(31,56,100,.6); }
.cb-seal { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #F3B27A; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.cb-seal svg { width: 28px; height: 28px; }
.cb-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cb-text strong { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; }
.cb-text span { font-size: .9rem; opacity: .86; line-height: 1.45; }
.cb-go { flex: none; font-weight: 600; font-size: .92rem; background: #fff; color: var(--navy); padding: 9px 16px; border-radius: 999px; }
@media (max-width: 620px) { .cert-banner { flex-wrap: wrap; } .cb-go { margin-left: 70px; } }

.certs-hero { display: flex; gap: 22px; align-items: flex-start; margin: 4px 0 26px; }
.ch-seal { flex: none; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; color: var(--copper);
  background: radial-gradient(circle at 35% 30%, #FFF6EC, #F6E3CF); box-shadow: 0 0 0 1px #EBCFAF, 0 8px 22px -10px rgba(197,90,17,.5); }
.ch-seal svg { width: 40px; height: 40px; }
.certs-hero h1 { margin: 2px 0 6px; }
.certs-hero .lead { margin: 0; max-width: 62ch; }
@media (max-width: 560px) { .ch-seal { display: none; } }

.cert-team { margin: 26px 0 34px; }
.ct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.ct-head h2 { margin: 2px 0 2px; }
.ct-head .small { margin: 0; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }

.cert-card { display: flex; flex-direction: column; animation: ccIn .5s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes ccIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cert-card { animation: none; } }
.cc-paper { position: relative; aspect-ratio: 297 / 210; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 8% 9%; border-radius: 10px; overflow: hidden; color: #1F3864; text-decoration: none;
  background: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #FBF7F0 60%, #F4ECDF 100%);
  box-shadow: 0 0 0 1px #E6DCCB, 0 6px 18px -10px rgba(31,56,100,.35); transition: transform .3s, box-shadow .3s; }
.cc-paper:hover { text-decoration: none; transform: translateY(-3px) rotate(-.4deg); box-shadow: 0 0 0 1px #DCCBB1, 0 18px 34px -16px rgba(31,56,100,.45); }
.cc-paper:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
.cc-frame { position: absolute; inset: 6px; border: 1.5px solid #1F3864; border-radius: 6px; pointer-events: none; }
.cc-frame::after { content: ""; position: absolute; inset: 3px; border: .75px solid #C55A11; border-radius: 4px; opacity: .7; }
.cert-card.danisman .cc-frame { border-color: #C55A11; }
.cert-card.danisman .cc-frame::after { border-color: #1F3864; }
.cc-logo { height: 15px; width: auto; margin-bottom: 7%; }
.cc-type { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; letter-spacing: .02em; line-height: 1.1; }
.cc-type-en { font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: #8A6A4A; margin-top: 2px; }
.cc-name { font-family: var(--serif); font-style: italic; font-size: 1.18rem; color: #1D1D1F; margin-top: 7%; line-height: 1.15; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-rule { width: 46%; height: 1px; margin: 5px auto 4px; background: linear-gradient(90deg, transparent, #C55A11, transparent); }
.cc-meta { font-size: .66rem; color: #5f6168; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-no { position: absolute; right: 14px; bottom: 11px; font: 600 .56rem ui-monospace, Consolas, monospace; color: #8A6A4A; letter-spacing: .04em; }
.cc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 2px 0; }
.cc-who { font-size: .8rem; color: var(--muted); font-weight: 500; }

.cert-help { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 30px 0 10px; }
.cert-help > div { background: var(--soft); border-radius: var(--r); padding: 18px 20px; }
.cert-help h3 { font-size: 1rem; margin: 0 0 6px; }
.cert-help p { font-size: .88rem; margin: 0; color: var(--text); }

/* ---- Kayıt ücreti talimatı (öğrenci başı ücret) ---- */
.pay-order { border-radius: var(--r); overflow: hidden; margin: 14px 0 18px; background: #fff; box-shadow: 0 0 0 1px #D7E0EF, 0 10px 28px -18px rgba(31,56,100,.45); }
.po-top { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 20px 22px; color: #fff;
  background: linear-gradient(120deg, #1F3864 0%, #2A4B82 75%, #3A5C96 100%); }
.po-amount small { display: block; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.po-amount strong { display: block; font-family: var(--serif); font-size: 2.1rem; font-weight: 600; line-height: 1.1; margin: 2px 0; white-space: nowrap; }
.po-amount span { font-size: .86rem; color: #F3B27A; font-weight: 600; }
.po-lead { margin: 0; font-size: .95rem; line-height: 1.5; color: rgba(255,255,255,.92); }
.po-lead strong { color: #fff; }
.po-lead .small { display: block; margin-top: 4px; color: rgba(255,255,255,.75); }
.po-rows { margin: 0; padding: 6px 22px; }
.po-rows > div { display: grid; grid-template-columns: 150px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.po-rows > div:last-child { border-bottom: 0; }
.po-rows dt { font-size: .82rem; color: var(--muted); font-weight: 500; }
.po-rows dd { margin: 0; color: var(--ink); word-break: break-word; }
.po-rows dd.mono { font-family: ui-monospace, Consolas, monospace; font-size: .92rem; letter-spacing: .02em; }
.po-note { background: #FFF7EF; margin: 0 -22px; padding-left: 22px !important; padding-right: 22px !important; }
.po-note dt { color: var(--copper-d); font-weight: 600; }
.po-noiban dd { color: var(--muted); font-style: italic; }
.po-copy { display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 999px; padding: 6px 11px; font: 500 .8rem Inter, sans-serif; color: var(--navy); background: #EEF2F9; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.po-copy:hover { background: #DCE5F4; }
.po-copy.done { background: #DFF3E7; color: var(--green); }
.po-warn { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 14px 22px; background: #FFF4E5; color: #7A3E00; font-size: .9rem; line-height: 1.5; border-top: 1px solid #F6DDBF; }
.po-warn svg { flex: none; margin-top: 2px; color: var(--copper); }
.po-diff { margin-top: -6px; }
.tc-fee { margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: .86rem; color: var(--navy); }
.tc-fee.odendi { color: var(--green); }
.tc-fee.burs { color: var(--muted); }
@media (max-width: 640px) {
  .po-top { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
  .po-rows { padding: 4px 18px; }
  .po-rows > div { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .po-rows dt { grid-column: 1 / -1; }
  .po-note { margin: 0 -18px; padding-left: 18px !important; padding-right: 18px !important; }
  .po-warn { padding: 14px 18px; }
}
