:root {
  --cobalt: #2457f5;
  --midnight: #101828;
  --cloud: #f5f7fa;
  --white: #ffffff;
  --muted: #667085;
  --line: #e5e9f0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--midnight);
  background: var(--cloud);
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, a { transition: background .16s, border-color .16s, box-shadow .16s; }
.shell { max-width: 1080px; margin: auto; padding: 32px 32px 38px; }
header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.brand { display: inline-flex; align-items: center; gap: 5px; color: var(--midnight); font-size: 34px; font-weight: 850; letter-spacing: -1.8px; text-decoration: none; }
.brand-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); margin-top: 16px; }
.badge { display: inline-flex; align-items: center; flex-shrink: 0; font-size: 11px; font-weight: 600; border-radius: 30px; background: #ebefff; padding: 8px 12px; color: #3655a4; }
#engine { color: #475467; background: var(--white); border: 1px solid var(--line); }
#engine::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); margin-right: 7px; }
.panel, .job { background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.upload { padding: 40px 44px; }
.panel-heading { margin-bottom: 32px; }
.eyebrow { display: block; color: var(--cobalt); font-size: 10px; letter-spacing: 1.8px; font-weight: 750; margin-bottom: 12px; }
h1 { margin: 0; font-size: clamp(26px, 3.2vw, 36px); font-weight: 750; letter-spacing: -1.25px; line-height: 1.2; }
h2 { font-size: 20px; letter-spacing: -.45px; margin: 0; }
button { cursor: pointer; border: 1px solid var(--line); border-radius: 9px; padding: 11px 16px; background: var(--white); color: #344054; font-size: 13px; min-height: 42px; }
button:hover:not(:disabled) { border-color: #b9c7ef; background: #f8faff; }
button:disabled { opacity: .48; cursor: default; }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.grid label { display: flex; flex-direction: column; gap: 10px; min-width: 0; color: #344054; font-size: 12px; font-weight: 600; }
.identity { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; margin-bottom: 28px; }
input, select { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; color: var(--midnight); border: 1px solid #dce1e9; border-radius: 9px; background: var(--white); font-size: 14px; font-weight: 400; }
input::placeholder { color: #98a2b3; opacity: 1; }
.tabs { display: flex; gap: 5px; padding: 5px; background: var(--cloud); border: 1px solid #edf0f5; border-radius: 11px; margin-bottom: 20px; }
.tabs button { flex: 1; border: 1px solid transparent; background: transparent; color: var(--muted); font-weight: 550; }
.tabs button[aria-selected="true"] { border-color: #dce4fc; background: var(--white); color: var(--cobalt); box-shadow: 0 2px 4px #10182804; }
.picker { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; padding: 28px 20px; min-height: 152px; border: 1.5px dashed #c6d3fa; border-radius: 12px; color: var(--cobalt); background: #fafbff; cursor: pointer; font-size: 14px; font-weight: 600; }
.picker:hover { background: #f1f5ff; border-color: var(--cobalt); }
.upload-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #edf1ff; font-size: 24px; font-weight: 350; }
.picker input { position: absolute; inset: 0; opacity: 0; cursor: pointer; height: 100%; }
.picker:focus-within { outline: 3px solid #a4b9ff; outline-offset: 3px; }
.muted { color: var(--muted); font-size: 12px; line-height: 1.7; font-weight: 400; }
#selection { margin: 12px 0 0; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.primary { background: var(--cobalt); border-color: var(--cobalt); color: var(--white); font-weight: 600; }
.primary:hover:not(:disabled) { background: #1948db; border-color: #1948db; box-shadow: 0 4px 12px #2457f51a; }
#start { min-width: 180px; display: inline-flex; justify-content: space-between; gap: 40px; padding: 14px 20px; font-size: 14px; }
#start span { font-size: 19px; line-height: 16px; }
progress { width: 100%; height: 6px; border: 0; border-radius: 6px; overflow: hidden; accent-color: var(--cobalt); margin-top: 17px; }
progress::-webkit-progress-bar { background: #edf1ff; }
progress::-webkit-progress-value { background: var(--cobalt); border-radius: 6px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 38px 0 18px; }
#refresh { background: transparent; border: 0; color: var(--muted); }
.jobs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.job { padding: 26px; min-width: 0; }
.job-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.job h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -.35px; overflow-wrap: anywhere; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 11px; color: var(--muted); line-height: 1.7; }
.environment-address { overflow-wrap: anywhere; color: var(--cobalt); margin: 16px 0 6px; }
.job .phase { font-size: 12px; color: var(--muted); margin: 18px 0 4px; }
.job .actions { margin-top: 20px; gap: 8px; }
.job .actions button, .job a { padding: 9px 12px; min-height: 37px; font-size: 11px; }
.job a { display: inline-flex; align-items: center; text-decoration: none; border-radius: 8px; background: #edf1ff; color: var(--cobalt); font-weight: 600; }
.job a:hover { background: #dfe7ff; }
.danger { color: #b54747; border-color: #f0dede; }
.danger:hover:not(:disabled) { background: #fff4f4; border-color: #e5b7b7; }
.status-succeeded { background: #edf8f2; color: #287451; }
.status-failed, .status-partial { background: #fff4e8; color: #94652d; }
.status-cancelled { background: #f2f4f7; color: var(--muted); }
.error { padding: 12px 14px; border-radius: 9px; font-size: 12px; line-height: 1.6; color: #b42336; background: #fff0f2; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 36px; font-size: 11px; color: #98a2b3; }
.footer-brand { font-size: 20px; letter-spacing: -1px; color: #667085; font-weight: 750; }
dialog { width: min(480px,calc(100% - 32px)); padding: 30px; border: 1px solid var(--line); border-radius: 18px; color: var(--midnight); box-shadow: 0 24px 100px #10182826; }
dialog::backdrop { background: #10182870; backdrop-filter: blur(3px); }
dialog p { line-height: 1.7; font-size: 13px; overflow-wrap: anywhere; }
dialog .actions { justify-content: flex-end; }
.rename-fields { grid-template-columns: 1fr; margin-top: 24px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #a4b9ff; outline-offset: 3px; }

/* Yönetim: aynı marka, kullanıcı oluşturma ekranından ayrı çalışma alanı. */
.admin-layout { display: grid; grid-template-columns: 224px minmax(0,1fr); min-height: 100vh; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 32px 24px; background: var(--midnight); color: #9aa5bc; }
.admin-sidebar .brand { color: var(--white); margin-bottom: 52px; }
.admin-sidebar .eyebrow { color: #74809b; font-size: 9px; margin: 0 0 16px; }
.admin-sidebar nav { display: grid; gap: 8px; }
.admin-sidebar nav a { text-decoration: none; color: #abb5c9; padding: 13px 14px; border-radius: 9px; font-size: 12px; }
.admin-sidebar nav a:hover { background: #1c2942; color: var(--white); }
.admin-sidebar nav a.active { color: var(--white); background: var(--cobalt); }
.sidebar-footer { margin-top: auto; font-size: 10px; line-height: 1.8; color: #74809b; }
.admin-main { width: 100%; max-width: 1360px; padding: 40px 44px; }
.admin-header { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 30px; }
.admin-header .eyebrow { color: var(--muted); margin: 0 0 8px; font-size: 9px; }
.admin-header h1 { font-size: 28px; }
.admin-main > .muted { margin: -8px 0 24px; max-width: 700px; }
.admin-section { padding: 28px; margin-bottom: 22px; }
.admin-section h2 { font-size: 15px; margin-bottom: 24px; }
.admin-section .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.admin-section small { font-size: 11px; margin-top: -2px; }
.save-bar { position: sticky; bottom: 18px; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; margin-top: 26px; border: 1px solid var(--line); border-radius: 13px; background: #ffffffed; backdrop-filter: blur(16px); box-shadow: 0 6px 32px #10182808; }
.save-bar .actions { margin: 0; }
.save-state { font-size: 12px; font-weight: 600; }
.save-state small { display: block; color: var(--muted); font-size: 10px; font-weight: 400; margin-top: 5px; }
.admin-jobs { margin-top: 46px; scroll-margin-top: 24px; }
.admin-jobs .jobs { grid-template-columns: 1fr; }
.admin-jobs details { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
summary { cursor: pointer; font-size: 12px; font-weight: 600; }
dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; font-size: 12px; color: #475467; }
dt,dd { margin: 0; overflow-wrap: anywhere; }
dd { text-align: right; }
@media(max-width:900px) {
  .admin-layout { grid-template-columns: 180px minmax(0,1fr); }
  .admin-sidebar { padding: 28px 18px; }
  .admin-main { padding: 30px 26px; }
}
@media(max-width:700px) {
  .shell { padding: 24px 18px; }
  header { margin-bottom: 28px; }
  .brand { font-size: 29px; }
  .upload { padding: 26px 22px; }
  .panel-heading { margin-bottom: 28px; }
  .identity { gap: 20px; }
  .jobs { grid-template-columns: 1fr; }
  .job { padding: 22px; }
  .admin-layout { display: block; }
  .admin-sidebar { position: static; height: auto; padding: 20px 22px; }
  .admin-sidebar .brand { margin: 0; }
  .admin-sidebar .eyebrow, .sidebar-footer { display: none; }
  .admin-sidebar nav { display: flex; margin-top: 20px; }
  .admin-sidebar nav a { padding: 10px 14px; }
  .admin-main { padding: 26px 18px; }
  .admin-section { padding: 22px; }
  .save-bar { flex-wrap: wrap; bottom: 10px; padding: 16px; }
  .save-bar .actions { width: 100%; }
  .save-bar .primary { flex: 1; }
}
@media(max-width:480px) {
  .identity, .admin-section .grid { grid-template-columns: 1fr; }
  .tabs button { font-size: 12px; padding: 10px 5px; }
  #start { width: 100%; }
  .job-top { flex-wrap: wrap; }
  footer { font-size: 10px; }
}
@media(prefers-reduced-motion:reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
