@import url("./fonts.css");

:root {
  --ink: #1C2430;
  --ink-2: #4A5563;
  --ink-3: #7A8491;
  --paper: #F3F5F4;
  --surface: #FFFFFF;
  --line: #D9DEDC;
  --line-2: #E9ECEB;
  --tag: #F5C400;
  --tag-ink: #1F1A05;
  --ok: #1E7A4E;   --ok-bg: #E4F1E9;
  --warn: #A85A05; --warn-bg: #FBEFD8;
  --err: #B3261E;  --err-bg: #F8E2E0;
  --run: #2B5DA8;  --run-bg: #E2EBF7;
  --muted: #6B7480; --muted-bg: #ECEFEE;
  --focus: #2B5DA8;
  --r-s: 3px;
  --r: 6px;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-c: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.5 var(--font);
  font-variant-numeric: tabular-nums;
}
a { color: var(--run); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-c); line-height: 1.2; margin: 0; letter-spacing: 0; }
h1 { font-size: 27px; font-weight: 600; }
h2 { font-size: 19px; font-weight: 600; }
h3 { font-size: 16px; font-weight: 600; }
p { margin: 0 0 .75em; }
code, .code { font-family: var(--font-c); font-weight: 500; letter-spacing: .01em; }
small, .small { font-size: 13px; }
.muted { color: var(--ink-3); }
.ink2 { color: var(--ink-2); }
.num { text-align: right; white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* --- Üst bar --------------------------------------------------------- */
.top {
  background: var(--ink);
  color: #E9EDF2;
}
.top-in {
  max-width: 1320px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 28px; min-height: 56px; flex-wrap: wrap;
}
.brand {
  font: 600 18px/1 var(--font-c); color: #fff; text-decoration: none; white-space: nowrap;
  display: flex; align-items: center; gap: 10px;
}
.brand-mark {
  width: 22px; height: 14px; background: var(--tag); border-radius: 2px; position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; right: 4px; top: 5px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--ink);
}
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a {
  color: #B9C2CD; text-decoration: none; font: 500 15.5px/1 var(--font-c);
  padding: 20px 14px 18px; border-bottom: 3px solid transparent;
}
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--tag); }
/* İkinci seviye: bölümün sayfaları */
.subnav { background: var(--surface); border-bottom: 1px solid var(--line); color: var(--ink); }
.subnav-in { max-width: 1320px; margin: 0 auto; padding: 0 24px; display: flex; gap: 4px; flex-wrap: wrap; }
.subnav a, .subnav .is-off {
  font: 500 14.5px/1 var(--font-c); padding: 13px 12px 12px; text-decoration: none; color: var(--ink-2);
  border-bottom: 2px solid transparent;
}
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.subnav .is-off { color: #A7AEB6; cursor: default; }
.live {
  margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; color: #C9D1DB;
  white-space: nowrap;
}
.live .dot { width: 8px; height: 8px; border-radius: 50%; background: #6FBF94; }
.live.is-running .dot { background: #7FB2FF; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .live.is-running .dot { animation: none; } }

/* --- Sayfa ------------------------------------------------------------ */
main { max-width: 1320px; margin: 0 auto; padding: 28px 24px 64px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-bottom: 20px; }
.page-head p { margin: 6px 0 0; color: var(--ink-2); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.section { margin-top: 32px; }
.section > h2 { margin-bottom: 12px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 1px 2px rgba(28, 36, 48, .04); }
.panel-pad { padding: 18px 20px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.grid-side { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
@media (max-width: 980px) { .grid-2, .grid-side { grid-template-columns: 1fr; } }

/* --- Bildirimler ------------------------------------------------------ */
.flash { padding: 10px 14px; border-radius: var(--r); margin-bottom: 18px; border: 1px solid; }
.flash-ok { background: var(--ok-bg); border-color: #B9DCC7; color: #11502F; }
.flash-err { background: var(--err-bg); border-color: #EBB8B3; color: #7A1A14; }
.flash-warn { background: var(--warn-bg); border-color: #EDCF97; color: #6B3A03; }
.flash a { color: inherit; font-weight: 600; }

/* --- Raf etiketi: mağaza stok kodu ----------------------------------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--tag); color: var(--tag-ink);
  font: 600 13.5px/1 var(--font-c); letter-spacing: .02em;
  padding: 5px 8px 5px 7px; border-radius: 2px; white-space: nowrap;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12);
}
.tag::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25);
}
.tag-lg { font-size: 19px; padding: 7px 12px 7px 10px; }
.tag-lg::before { width: 7px; height: 7px; }

/* --- Durum ------------------------------------------------------------ */
.st { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; white-space: nowrap; }
.st i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.st-ok i { background: var(--ok); }      .st-ok { color: var(--ok); }
.st-warn i { background: var(--warn); }  .st-warn { color: var(--warn); }
.st-err i { background: var(--err); }    .st-err { color: var(--err); }
.st-run i { background: var(--run); }    .st-run { color: var(--run); }
.st-muted i { background: #A9B0B8; }     .st-muted { color: var(--muted); }

.badge {
  display: inline-block; font: 500 12.5px/1.3 var(--font); padding: 2px 7px; border-radius: var(--r-s);
  background: var(--muted-bg); color: var(--ink-2); white-space: nowrap; margin: 1px 2px 1px 0;
}
.badge-hata { background: var(--err-bg); color: var(--err); }
.badge-uyari { background: var(--warn-bg); color: var(--warn); }
.badge-bilgi { background: var(--muted-bg); color: var(--ink-2); }

/* --- Tablolar ---------------------------------------------------------- */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
th { font: 500 13px/1.3 var(--font-c); color: var(--ink-2); background: #F8F9F8; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #FAFBFA; }
td.title-cell { min-width: 260px; max-width: 460px; }
.cell-sub { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
table.compact th, table.compact td { padding: 6px 10px; font-size: 14px; }

/* Akış panosu: soldaki şerit son durumu gösterir */
.board td:first-child { border-left: 4px solid transparent; }
.board tr.tone-ok td:first-child { border-left-color: var(--ok); }
.board tr.tone-warn td:first-child { border-left-color: var(--warn); }
.board tr.tone-err td:first-child { border-left-color: var(--err); }
.board tr.tone-muted td:first-child { border-left-color: #B9C0C7; }
.board tr.tone-run td:first-child { border-left-color: var(--run); }
.board .sup-name { font: 600 16px/1.25 var(--font-c); }
.delta { display: inline-flex; gap: 14px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.delta b { font-weight: 600; color: var(--ink); }

/* --- Özet cümlesi --------------------------------------------------- */
.summary { font: 500 23px/1.35 var(--font-c); max-width: 62ch; margin: 0; }
.summary-sub { color: var(--ink-2); margin-top: 8px; }

/* --- Formlar --------------------------------------------------------- */
label { display: block; font: 500 14px/1.3 var(--font); color: var(--ink); margin-bottom: 5px; }
.help { display: block; font-size: 13px; color: var(--ink-3); margin-top: 4px; }
input[type="text"], input[type="url"], input[type="password"], input[type="number"], input[type="search"],
select, textarea {
  width: 100%; font: 400 15px/1.4 var(--font); color: var(--ink); background: #fff;
  border: 1px solid #C5CCCA; border-radius: var(--r-s); padding: 7px 9px;
}
textarea { min-height: 84px; resize: vertical; }
textarea.code-area, input.code-in { font-family: var(--font-c); font-weight: 500; font-size: 14.5px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--focus); outline-offset: -1px; border-color: var(--focus); }
.field { margin-bottom: 14px; }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.fields-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
@media (max-width: 720px) { .fields-2, .fields-3 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.check input { width: 16px; height: 16px; }

.btn {
  display: inline-flex; align-items: center; gap: 6px; font: 500 15px/1 var(--font-c);
  padding: 9px 14px; border-radius: var(--r-s); border: 1px solid var(--ink); cursor: pointer;
  background: var(--ink); color: #fff; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: #2C3747; color: #fff; }
.btn-line { background: #fff; color: var(--ink); border-color: #AEB6B4; }
.btn-line:hover { background: #F1F3F2; color: var(--ink); }
.btn-danger { background: var(--err); color: #fff; border-color: var(--err); }
.btn-danger:hover { background: #8F1E18; color: #fff; }
.btn-warn { background: #fff; color: var(--warn); border-color: #DDB879; }
.btn-warn:hover { background: var(--warn-bg); color: var(--warn); }
.btn-sm { padding: 6px 10px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
form.inline { display: inline; margin: 0; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 14px; }
.filters .field { margin: 0; }
.filters input[type="search"] { min-width: 280px; }

/* --- Tanım listesi ---------------------------------------------------- */
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
dl.facts dt { color: var(--ink-3); font-size: 14px; }
dl.facts dd { margin: 0; word-break: break-word; }

.stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stat b { display: block; font: 600 22px/1.1 var(--font-c); }
.stat span { font-size: 13px; color: var(--ink-3); }

/* --- Eşleştirme ------------------------------------------------------ */
.map-table td { vertical-align: middle; }
.map-table td:first-child { width: 190px; font-weight: 500; }
.map-table .sample { font-size: 13px; color: var(--ink-2); max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.paths { max-height: 640px; overflow: auto; position: sticky; top: 16px; }
.paths table td { font-size: 13px; padding: 5px 10px; }
.paths .p { font-family: var(--font-c); font-weight: 500; color: var(--ink); word-break: break-all; }
.notes { margin: 0; padding-left: 18px; color: var(--ink-2); }
.notes li { margin-bottom: 4px; }

/* --- Ürün ---------------------------------------------------------- */
.gallery { display: flex; gap: 8px; flex-wrap: wrap; }
/* Görsel kutusu: görsel açılamazsa (tedarikçi sunucusu kapalı, adres hatalı) kısa not gösterir */
.img-box {
  display: inline-flex; align-items: center; justify-content: center; flex: none; vertical-align: middle;
  width: 104px; height: 104px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-s);
  overflow: hidden; text-decoration: none; color: var(--ink-3); font-size: 12px; line-height: 1.25; text-align: center;
}
.img-box img { width: 100%; height: 100%; object-fit: contain; display: block; }
.img-box.img-off { background: var(--muted-bg); border-style: dashed; }
.img-box.img-off img { display: none; }
.img-box.img-off::after { content: attr(data-yedek); padding: 6px; }
.img-box.sm { width: 44px; height: 44px; font-size: 10.5px; border-color: var(--line-2); border-radius: 2px; }
.img-box.sm.img-off::after { padding: 2px; }
.issue-sum { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; margin: 0 0 12px; }
tr.is-current td { background: #FFFBEA; }
tbody tr.is-current:hover td { background: #FFF7D6; }
a.tag-link { text-decoration: none; }
a.tag-link:hover .tag { box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25); }
.desc { max-height: 320px; overflow: auto; font-size: 14.5px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.desc h2, .desc h3 { font-size: 16px; margin: 12px 0 6px; }

/* --- Sekmeler (durum filtresi) ----------------------------------------- */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tabs a { padding: 8px 12px 9px; text-decoration: none; color: var(--ink-2); font: 500 15px/1 var(--font-c);
  border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.cell-sub.was { text-decoration: line-through; text-decoration-color: #B9C0C7; max-width: 320px; white-space: normal; }
.ai-table details.more { margin-top: 6px; }
.ai-table .desc { max-height: 260px; font-size: 14px; }
.ai-box { border-left: 4px solid var(--run); }
.ai-box.st-onay { border-left-color: var(--ok); }
.ai-box.st-hata { border-left-color: var(--err); }

.pager { display: flex; gap: 6px; align-items: center; margin-top: 14px; }
.pager a, .pager span { padding: 5px 10px; border: 1px solid var(--line); border-radius: var(--r-s); background: #fff;
  text-decoration: none; color: var(--ink); font-size: 14px; }
.pager span.cur { background: var(--ink); color: #fff; border-color: var(--ink); }

details.more > summary { cursor: pointer; color: var(--run); font-weight: 500; list-style: none; }
details.more > summary::-webkit-details-marker { display: none; }
details.more[open] > summary { margin-bottom: 12px; }

.empty { padding: 36px 20px; text-align: left; color: var(--ink-2); }
.empty h3 { margin-bottom: 6px; color: var(--ink); }

footer.foot { max-width: 1320px; margin: 0 auto; padding: 0 24px 28px; color: var(--ink-3); font-size: 13px; }

/* --- Fiyat dökümü ---------------------------------------------------- */
.price-table td:first-child { color: var(--ink-2); }
.price-table tr.price-row td { background: #FAFBF7; }
.price-table tr.price-row b { font: 600 16px/1.2 var(--font-c); }

/* Görseller: önce / sonra karşılaştırması (işlenmiş görsel 2:3) */
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.img-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.img-card.is-checked { border-color: var(--run); box-shadow: 0 0 0 1px var(--run); }
.img-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.img-card-head .tag-link { margin-right: auto; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.compare figure { margin: 0; }
.compare figcaption { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.compare .shot { aspect-ratio: 2 / 3; background: #fff; border: 1px solid var(--line); border-radius: var(--r-s);
  display: flex; align-items: center; justify-content: center; overflow: hidden; }
.compare .shot img { width: 100%; height: 100%; object-fit: contain; display: block; }
.thumbs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.thumbs a { width: 46px; aspect-ratio: 2 / 3; border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden;
  background: #fff; }
.thumbs img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-images .compare { max-width: 520px; }

.nav-count { display: inline-block; min-width: 18px; padding: 1px 5px; border-radius: 9px; background: var(--err);
  color: #fff; font: 600 11.5px/16px var(--font); text-align: center; margin-left: 2px; }
.order-lines { margin: 6px 0 0; padding: 0; list-style: none; }
.order-lines li { margin: 0 0 4px; }
tr.is-new td:first-child { box-shadow: inset 3px 0 0 var(--run); }
.order-actions { display: flex; flex-direction: column; gap: 6px; min-width: 210px; }
.order-actions form { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0; }
.order-actions select { max-width: 150px; }

/* Özet kutucukları */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.stat-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.stat-tile b { display: block; font: 600 26px/1.05 var(--font-c); }
.stat-tile span { font-size: 13px; color: var(--ink-3); }
.stat-tile.is-accent { border-color: var(--ink); box-shadow: inset 0 3px 0 var(--tag); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; padding: 10px 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.progress-card { background: var(--run-bg); border: 1px solid #C2D4EE; border-radius: var(--r); padding: 12px 14px;
  margin-bottom: 18px; color: #173B70; }
.bar { height: 8px; background: #fff; border-radius: 4px; margin-top: 8px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--run); transition: width .4s ease; }
@media (prefers-reduced-motion: reduce) { .bar span { transition: none; } }
@media (max-width: 760px) {
  .top-in, .subnav-in, main { padding-left: 16px; padding-right: 16px; }
  .nav a { padding: 14px 9px 12px; font-size: 14.5px; }
  .live { display: none; }
}

/* =====================================================================
   Yan menülü düzen (1.1): her şey solda, gruplu ve sade
   ===================================================================== */
:root { --r: 9px; --r-s: 5px; --paper: #F3F4F1; }
.shell { display: flex; min-height: 100vh; }
.side {
  width: 236px; flex: none; background: var(--ink); color: #C9D1DB;
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; overflow-y: auto;
}
.side-menu > summary { list-style: none; }
.side-menu > summary::-webkit-details-marker { display: none; }
.side-top { display: flex; align-items: center; justify-content: space-between; padding: 22px 18px 10px; cursor: default; }
.side .brand { font-size: 19px; }
.menu-toggle { display: none; }
.side-nav { display: flex; flex-direction: column; padding: 4px 10px 18px; gap: 1px; }
.side-group { font: 600 13px/1 var(--font-c); color: #8995A3; margin: 20px 10px 7px; }
.side-nav a {
  display: flex; align-items: center; gap: 11px; padding: 10px 10px; border-radius: 8px;
  color: #D5DCE4; text-decoration: none; font: 500 15px/1.2 var(--font); position: relative;
}
.side-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.side-nav a[aria-current="page"] { background: rgba(245, 196, 0, .13); color: #fff; }
.side-nav a[aria-current="page"]::before {
  content: ""; position: absolute; left: -10px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 3px 3px 0;
  background: var(--tag);
}
.side-nav a[aria-current="page"] .ico { color: var(--tag); }
.ico { width: 19px; height: 19px; flex: none; }
.side-nav .nav-count { margin-left: auto; }
.side-note { font-size: 12.5px; color: #7D8896; padding: 3px 10px 0 40px; line-height: 1.35; }
.side .live {
  margin: auto 0 0; padding: 14px 18px 18px; border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px; white-space: normal; line-height: 1.35; align-items: flex-start;
}
.side .live .dot { margin-top: 5px; flex: none; }
.page { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.page main { max-width: 1220px; width: 100%; margin: 0; padding: 34px 40px 64px; }
.page .foot { padding: 0 40px 28px; }
h1 { font-size: 30px; }
.page-head { margin-bottom: 24px; }
.btn { border-radius: 8px; padding: 10px 16px; }
.btn-sm { border-radius: 7px; padding: 7px 11px; }
.panel, .table-wrap, .stat-tile, .toolbar, .img-card { border-radius: 12px; }
.panel-pad { padding: 20px 22px; }
.flash { border-radius: 10px; }

@media (max-width: 900px) {
  .shell { flex-direction: column; }
  .side { width: auto; height: auto; position: sticky; top: 0; z-index: 30; overflow: visible; }
  .side-top { padding: 14px 16px; cursor: pointer; }
  .menu-toggle { display: inline-block; font: 600 14px/1 var(--font-c); color: #fff; padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .25); border-radius: 7px; }
  .side-nav { padding-bottom: 12px; }
  .side .live { display: none; }
  .page main { padding: 22px 16px 48px; }
  .page .foot { padding: 0 16px 24px; }
}

/* Ana sayfa: bugün yapılacaklar */
.todo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.todo {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 16px;
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink);
}
.todo:hover { border-color: #9AA4AF; color: var(--ink); }
.todo b { font: 600 40px/1 var(--font-c); }
.todo .todo-title { font: 600 17px/1.25 var(--font-c); }
.todo .todo-sub { font-size: 13.5px; color: var(--ink-2); }
.todo .todo-go { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--run); }
.todo.is-hot { border-color: var(--ink); box-shadow: inset 0 4px 0 var(--tag); }
.todo.is-calm b { color: #9AA4AF; }
.steps { display: grid; gap: 14px; }
.step-row { display: grid; grid-template-columns: 210px minmax(0, 1fr) 140px; gap: 16px; align-items: center; }
.step-row .bar { margin: 0; height: 10px; background: var(--muted-bg); }
.step-row .bar span { background: var(--ok); }
.step-name { font-weight: 600; }
.step-num { text-align: right; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 700px) { .step-row { grid-template-columns: 1fr; gap: 6px; } .step-num { text-align: left; } }
.product-table td { vertical-align: middle; }
.prod { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); min-width: 280px; }
.prod .img-box.sm { width: 52px; height: 52px; border-radius: 8px; flex: none; }
.prod-text { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.prod-title { font-weight: 500; line-height: 1.3; }
.prod:hover .prod-title { text-decoration: underline; }
.product-table .tag { font-size: 12px; padding: 2px 7px 2px 6px; }

/* =====================================================================
   1.7: iş merkezi (sağ alt), bildirimler, düğme durumu, form ve tablo cilası
   ===================================================================== */
:root { --dock-w: 360px; --shadow-lg: 0 18px 40px -12px rgba(16, 22, 30, .38), 0 4px 10px -4px rgba(16, 22, 30, .18); }

.dock {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: var(--dock-w); max-width: calc(100vw - 32px);
  display: flex; flex-direction: column; gap: 10px; pointer-events: none;
}
.dock > * { pointer-events: auto; }
.dock-toasts { display: flex; flex-direction: column; gap: 8px; }
.dock-jobs:empty { display: none; }
.dock-jobs {
  background: var(--ink); color: #E6EBF1; border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.dock-head {
  all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 11px 14px; font: 600 14px/1 var(--font-c); color: #fff; letter-spacing: .01em;
}
.dock-head:focus-visible { outline: 2px solid var(--tag); outline-offset: -2px; }
.dock-chev { margin-left: auto; font: 500 12.5px/1 var(--font); color: #9AA6B4; }
.dock-head:hover .dock-chev { color: #fff; }
.dock-spin {
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(245, 196, 0, .3); border-top-color: var(--tag);
  animation: spin .9s linear infinite; flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.job { padding: 12px 14px 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
.dock.is-collapsed .job { display: none; }
.job-top { display: flex; align-items: baseline; gap: 10px; }
.job-title { font: 500 14.5px/1.3 var(--font); color: #fff; }
.job-pct { margin-left: auto; font: 600 22px/1 var(--font-c); color: var(--tag); font-variant-numeric: tabular-nums; }
.job-bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); margin: 9px 0 7px; overflow: hidden; }
.job-bar span { display: block; height: 100%; width: 0; background: var(--tag); border-radius: 3px; transition: width .6s ease; }
.job.is-open-ended .job-bar span {
  width: 35% !important; animation: slide 1.4s ease-in-out infinite;
}
@keyframes slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(320%); } }
.job-sub { font-size: 12.5px; color: #A9B4C1; font-variant-numeric: tabular-nums; }

.toast {
  display: flex; gap: 10px; align-items: flex-start; background: var(--surface); color: var(--ink);
  border-radius: 12px; box-shadow: var(--shadow-lg); padding: 12px 10px 12px 14px; border-left: 4px solid var(--ok);
  opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease;
}
.toast.is-in { opacity: 1; transform: none; }
.toast-err { border-left-color: var(--err); }
.toast-warn { border-left-color: var(--warn); }
.toast-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.toast-title { font: 600 14.5px/1.25 var(--font-c); }
.toast-ok .toast-title { color: var(--ok); }
.toast-err .toast-title { color: var(--err); }
.toast-text { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; overflow-wrap: anywhere; }
.toast-x {
  all: unset; cursor: pointer; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px;
  color: var(--ink-3); font-size: 18px; line-height: 1; flex: none;
}
.toast-x:hover { background: var(--muted-bg); color: var(--ink); }
.toast-x:focus-visible { outline: 2px solid var(--focus); }
@media (max-width: 600px) { .dock { right: 12px; left: 12px; bottom: 12px; width: auto; } }
@media (prefers-reduced-motion: reduce) {
  .dock-spin, .job.is-open-ended .job-bar span { animation: none; }
  .toast, .job-bar span { transition: none; }
}

/* Düğme: basıldı, iş sürüyor */
.btn { transition: background-color .15s ease, border-color .15s ease, transform .06s ease; }
.btn:active:not([disabled]) { transform: translateY(1px); }
.btn.is-busy { position: relative; color: transparent !important; opacity: 1; cursor: progress; }
.btn.is-busy::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite;
}
.btn-line.is-busy::after, .btn-warn.is-busy::after { border-color: rgba(28, 36, 48, .2); border-top-color: var(--ink); }

/* Form alanları: aynı yükseklik, sade seçim kutusu */
input[type="text"], input[type="url"], input[type="password"], input[type="number"], input[type="search"], select {
  min-height: 40px; border-radius: 8px; border-color: #CBD2D0; padding: 8px 11px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { border-radius: 8px; border-color: #CBD2D0; }
input:hover, select:hover, textarea:hover { border-color: #9EA8A6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(43, 93, 168, .18); }
select {
  appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234A5563' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
}
label { font-size: 13.5px; color: var(--ink-2); }
.check { color: var(--ink); }
.check input { accent-color: var(--ink); }

/* Filtre şeridi: tek panel içinde, kompakt */
.filters {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; gap: 12px;
  margin-bottom: 16px;
}
.filters .field { flex: 1 1 170px; min-width: 150px; max-width: 260px; }
.filters .field:first-child { flex: 2 1 280px; max-width: 420px; }
.filters input[type="search"] { min-width: 0; }
.filters .btn { min-height: 40px; }

/* Tablolar: başlık kayarken görünür kalır */
.table-wrap { overflow: auto; max-height: none; }
th { position: sticky; top: 0; z-index: 1; background: #F7F8F7; font-size: 12.5px; letter-spacing: .01em;
  border-bottom: 1px solid var(--line); }
tbody tr { transition: background-color .12s ease; }
tbody tr:hover td { background: #F7F9FB; }
.product-table td { padding-top: 11px; padding-bottom: 11px; }

/* Sayfa üst bandındaki eski ilerleme kutusu artık iş merkezinde: sayfada sade kalsın */
.progress-card { background: var(--surface); border-color: var(--line); color: var(--ink); }
.progress-card .bar { background: var(--muted-bg); }
.progress-card .bar span { background: var(--tag); }

/* =====================================================================
   1.8: modern yüzey — menü, kutular, ayar sekmeleri, hareket
   ===================================================================== */
:root {
  --paper: #EEF0EC;
  --line: #DCE0DC;
  --card-shadow: 0 1px 0 rgba(16, 22, 30, .04), 0 1px 2px rgba(16, 22, 30, .06);
  --card-shadow-hover: 0 10px 24px -12px rgba(16, 22, 30, .28), 0 2px 6px -2px rgba(16, 22, 30, .10);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Yan menü */
.side { background: linear-gradient(180deg, #1C2430 0%, #18202B 100%); }
.side .brand { gap: 12px; letter-spacing: .01em; }
.brand-mark { width: 26px; height: 18px; border-radius: 4px; box-shadow: 0 0 0 3px rgba(245, 196, 0, .15); }
.brand-mark::after { right: 5px; top: 7px; }
.side-group {
  font: 600 11.5px/1 var(--font); letter-spacing: .06em; color: #7F8B99; margin: 22px 12px 8px;
}
.side-nav a {
  padding: 9px 12px; border-radius: 10px; color: #C3CCD6; font-size: 14.5px;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.side-nav a .ico { color: #8A96A4; transition: color .18s var(--ease), transform .18s var(--ease); }
.side-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.side-nav a:hover .ico { color: #E6EBF1; transform: translateX(1px); }
.side-nav a[aria-current="page"] {
  background: linear-gradient(90deg, rgba(245, 196, 0, .18), rgba(245, 196, 0, .05)); color: #fff; font-weight: 600;
}
.side-nav a[aria-current="page"]::before { left: -10px; top: 7px; bottom: 7px; }
.side .live { background: rgba(0, 0, 0, .14); }

/* Sayfa başlığı */
.page main { padding-top: 30px; }
.page-head h1 { font-size: 32px; letter-spacing: -.005em; }
.page-head p { max-width: 74ch; }

/* Kutular */
.panel, .table-wrap, .toolbar, .img-card, .filters { box-shadow: var(--card-shadow); border-color: var(--line); }
.stat-row { gap: 12px; }
.stat-tile {
  position: relative; padding: 16px 18px 14px; box-shadow: var(--card-shadow); overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.stat-tile:hover { transform: translateY(-2px); box-shadow: var(--card-shadow-hover); }
.stat-tile b { font-size: 30px; letter-spacing: -.01em; }
.stat-tile span { display: flex; align-items: center; gap: 7px; margin-top: 4px; }
.stat-tile span i { width: 8px; height: 8px; border-radius: 50%; background: #A9B0B8; flex: none; }
.stat-tile.tone-ok span i { background: var(--ok); }
.stat-tile.tone-warn span i { background: #E0A100; }
.stat-tile.tone-err span i { background: var(--err); }
.stat-tile.tone-run span i { background: var(--run); }
.stat-tile.is-accent { background: var(--ink); border-color: var(--ink); box-shadow: var(--card-shadow); }
.stat-tile.is-accent b { color: var(--tag); }
.stat-tile.is-accent span { color: #AEB8C4; }

.todo-grid { gap: 14px; }
.todo {
  border-radius: 16px; padding: 20px 20px 18px; box-shadow: var(--card-shadow); position: relative; overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.todo:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); border-color: #C3CAC7; }
.todo b { font-size: 44px; letter-spacing: -.02em; }
.todo .todo-go { display: inline-flex; align-items: center; gap: 6px; }
.todo .todo-go::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .2s var(--ease); }
.todo:hover .todo-go::after { transform: translateX(3px) rotate(45deg); }
.todo.is-hot { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: var(--card-shadow); }
.todo.is-hot:hover { box-shadow: 0 16px 30px -14px rgba(16, 22, 30, .6); }
.todo.is-hot b { color: var(--tag); }
.todo.is-hot .todo-sub { color: #AEB8C4; }
.todo.is-hot .todo-go { color: #fff; }
.todo.is-hot::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(245, 196, 0, .22), transparent);
}

/* İlerleme çubukları (ana sayfa adımları) */
.step-row .bar { height: 10px; border-radius: 6px; }
.step-row .bar span { border-radius: 6px; background: linear-gradient(90deg, #1E7A4E, #2E9C66); transition: width .9s var(--ease); }

/* Ayar sekmeleri */
.settings-tabs {
  position: sticky; top: 0; z-index: 20; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  margin: 0 0 22px; padding: 6px; background: rgba(238, 240, 236, .9); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--card-shadow);
}
.settings-tabs::-webkit-scrollbar { display: none; }
.settings-tabs a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; white-space: nowrap;
  color: var(--ink-2); text-decoration: none; font: 500 14.5px/1 var(--font);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.settings-tabs svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.settings-tabs a:hover { background: #fff; color: var(--ink); }
.settings-tabs a[aria-current="true"] { background: var(--ink); color: #fff; }
.settings-tabs a[aria-current="true"] svg { color: var(--tag); }
.js-tabs .tab-panel { display: none; }
.js-tabs .tab-panel.is-active { display: block; animation: rise .35s var(--ease) both; }
.tab-panel + .tab-panel { margin-top: 32px; }
.js-tabs .tab-panel + .tab-panel { margin-top: 0; }
.tab-panel > .panel + .panel, .tab-panel > .panel.section { margin-top: 18px; }

/* Filtre: otomatik süzme, geniş alan */
.filters .field-wide { flex: 3 1 360px; max-width: 640px; }
form[data-auto-submit] select { cursor: pointer; }
form.is-loading { opacity: .6; pointer-events: none; transition: opacity .15s ease; }

/* Sayfa açılışı: içerik bir kez, sırayla belirir */
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.reveal > * { animation: rise .45s var(--ease) both; }
.reveal > *:nth-child(2) { animation-delay: .04s; }
.reveal > *:nth-child(3) { animation-delay: .08s; }
.reveal > *:nth-child(4) { animation-delay: .12s; }
.reveal > *:nth-child(5) { animation-delay: .16s; }
.reveal > *:nth-child(n+6) { animation-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  .reveal > *, .js-tabs .tab-panel.is-active { animation: none; }
  .stat-tile, .todo, .todo .todo-go::after, .side-nav a .ico { transition: none; }
  .stat-tile:hover, .todo:hover { transform: none; }
}

.combo { position: relative; }
.combo input[type="search"] { padding-left: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A8491' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 12px center; }
.filters-compact { align-items: center; }
.filters-compact .field { flex: 0 0 auto; }
.filters-compact .help, .filters-compact .small { flex: 1 1 260px; margin: 0; }

/* Ana sayfa: Trendyol mağazası özeti */
.ty-board { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 20px;
  box-shadow: var(--card-shadow); }
.ty-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.ty-head p { margin: 4px 0 0; }
.ty-total { text-align: right; }
.ty-total b { display: block; font: 600 40px/1 var(--font-c); letter-spacing: -.02em; }
.ty-total span { font-size: 13px; color: var(--ink-3); }
.ty-split { display: flex; gap: 3px; height: 12px; margin: 18px 0 16px; border-radius: 8px; overflow: hidden; }
.ty-split .seg { min-width: 0; transition: flex-grow .9s var(--ease); }
.ty-split .seg[style*="flex-grow: 0"] { display: none; }
.seg-ok { background: #2E9C66; } .seg-wait { background: #E7B416; } .seg-err { background: var(--err); }
.seg-off { background: #B8C0C8; } .seg-empty { background: var(--muted-bg); }
.ty-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.ty-card {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; text-decoration: none;
  color: var(--ink); background: #F7F8F6; border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.ty-card:hover { transform: translateY(-2px); background: #fff; border-color: var(--line); box-shadow: var(--card-shadow-hover); color: var(--ink); }
.ty-card b { font: 600 30px/1.05 var(--font-c); letter-spacing: -.01em; }
.ty-label { display: flex; align-items: center; gap: 7px; font: 500 13.5px/1.2 var(--font); color: var(--ink-2); }
.ty-label i { width: 9px; height: 9px; border-radius: 3px; background: #B8C0C8; flex: none; }
.ty-sub { font-size: 12.5px; color: var(--ink-3); line-height: 1.35; }
.ty-card.tone-ok .ty-label i { background: #2E9C66; }
.ty-card.tone-wait .ty-label i { background: #E7B416; }
.ty-card.tone-err .ty-label i { background: var(--err); }
.ty-card.tone-next .ty-label i { background: var(--ink); }
.ty-card.is-alert { background: var(--err-bg); }
.ty-card.is-alert b { color: var(--err); }
@media (prefers-reduced-motion: reduce) { .ty-card { transition: none; } .ty-card:hover { transform: none; } .ty-split .seg { transition: none; } }

/* ---- 1.8.3 Sipariş kartları ---------------------------------------- */
.orders { display: grid; gap: 14px; }
.order-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--card-shadow); overflow: hidden; }
.order-card.is-new { border-left: 4px solid var(--tag); }
.order-card.is-urgent { border-color: #E9B9B5; }
.order-card.is-new.is-urgent { border-left-color: var(--tag); }
.oc-head { display: flex; align-items: center; gap: 18px; padding: 12px 16px; background: #FAFBFA; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.oc-check input { width: 18px; height: 18px; }
.oc-id { display: flex; flex-direction: column; min-width: 180px; flex: 1; }
.oc-id b { font-family: var(--font-c); font-size: 1.15rem; letter-spacing: .01em; }
.oc-meta { color: var(--ink-3); font-size: .85rem; }
.oc-deadline, .oc-money { display: flex; flex-direction: column; text-align: right; font-size: .8rem; color: var(--ink-3); }
.oc-deadline b, .oc-money b { font-size: 1.05rem; color: var(--ink); font-family: var(--font-c); }
.oc-deadline { padding: 4px 10px; border-radius: 6px; background: var(--muted-bg); text-align: left; }
.oc-deadline.is-soon { background: var(--warn-bg); } .oc-deadline.is-soon b { color: var(--warn); }
.oc-deadline.is-late { background: var(--err-bg); } .oc-deadline.is-late b { color: var(--err); }
.oc-profit b { color: var(--ok); }
.oc-body { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr; }
.oc-col { padding: 14px 16px; min-width: 0; }
.oc-col + .oc-col { border-left: 1px solid var(--line-2); }
.oc-col h3 { font-size: .85rem; font-weight: 600; color: var(--ink-2); margin: 0 0 10px; }
.oc-item { display: flex; gap: 12px; }
.oc-item + .oc-item { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.oc-thumb { flex: 0 0 76px; height: 76px; border-radius: 8px; background: var(--muted-bg); overflow: hidden; }
.oc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oc-item-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.oc-item-text > a:not(.btn) { font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.oc-item-text > a:not(.btn):hover { text-decoration: underline; }
.oc-qty { display: inline-block; align-self: flex-start; background: var(--tag); color: var(--tag-ink); font-weight: 700; font-size: .8rem; padding: 1px 8px; border-radius: 10px; }
.oc-sup { font-size: .85rem; color: var(--ink-3); }
.oc-sup code { color: var(--ink); font-size: .9rem; }
.oc-go { align-self: flex-start; margin-top: 6px; background: var(--tag); color: var(--tag-ink); border-color: #D9AD00; font-weight: 700; }
.oc-go:hover { background: #FFD31F; color: var(--tag-ink); }
.oc-num { display: flex; align-items: center; gap: 8px; }
.oc-profit.is-neg b { color: var(--err); }
.oc-address { font-style: normal; display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; line-height: 1.45; }
.oc-todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.oc-todo li { position: relative; padding-left: 28px; display: flex; flex-direction: column; gap: 6px; }
.oc-todo li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--muted-bg); color: var(--ink-2); font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.oc-todo li.is-done::before { content: "✓"; background: var(--ok); color: #fff; }
.oc-step-title { font-weight: 600; font-size: .9rem; }
.oc-inline { display: flex; gap: 6px; }
.oc-inline input, .oc-inline select { flex: 1; min-width: 0; }
.copy-btn:not(.btn) { border: 1px solid var(--line); background: var(--surface); border-radius: 4px; font: inherit; font-size: .75rem; padding: 0 6px; cursor: pointer; color: var(--ink-2); }
.copy-btn:not(.btn):hover { border-color: var(--ink-3); }
.copy-btn.is-copied { border-color: var(--ok); color: var(--ok); }
@media (max-width: 980px) { .oc-body { grid-template-columns: 1fr; } .oc-col + .oc-col { border-left: 0; border-top: 1px solid var(--line-2); } }

/* Kâr dökümü penceresi */
button.oc-money { border: 1px solid transparent; background: none; font: inherit; cursor: pointer; padding: 4px 8px; border-radius: 6px; }
button.oc-money:not([disabled]):hover { border-color: var(--line); background: var(--surface); }
button.oc-money[disabled] { cursor: default; }
.oc-more { font-size: .75rem; color: var(--run); text-decoration: underline; }
.profit-dialog { border: 0; border-radius: 12px; padding: 0; width: min(620px, calc(100vw - 32px)); box-shadow: 0 24px 60px -20px rgba(16,22,30,.45); color: var(--ink); }
.profit-dialog::backdrop { background: rgba(16, 22, 30, .45); }
.profit-dialog[open] { animation: pd-in .18s var(--ease); }
@keyframes pd-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .profit-dialog[open] { animation: none; } }
.pd-head { display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px 12px; border-bottom: 1px solid var(--line-2); }
.pd-head h2 { margin: 0; font-size: 1.15rem; }
.pd-sub { font-size: .85rem; color: var(--ink-3); }
.pd-x { border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink-3); }
.pd-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.pd-table th, .pd-table td { padding: 8px 20px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.pd-table th { font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.pd-table .num { text-align: right; white-space: nowrap; }
.pd-table tr.is-plus td { font-weight: 600; }
.pd-table tfoot td { border-bottom: 0; font-weight: 700; font-size: 1.05rem; padding-top: 12px; }
.pd-total { color: var(--ok); font-family: var(--font-c); font-size: 1.3rem !important; }
.pd-total.is-neg { color: var(--err); }
.pd-notes { padding: 4px 20px 18px; font-size: .82rem; color: var(--ink-3); }
.pd-notes p { margin: 6px 0; }
.pd-warn { color: var(--warn); }

/* ---- 1.8.4 Müşteri soruları ---------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.q-markets { display: flex; gap: 8px; margin: 0 0 12px; }
.q-market { padding: 5px 12px; border-radius: 16px; font-weight: 600; font-size: .88rem; border: 1px solid var(--line); background: var(--surface); }
.q-market.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.q-market.is-off { color: var(--ink-3); border-style: dashed; }
.q-market small { font-weight: 400; }
.q-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 12px; }
.q-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.q-chip { padding: 5px 11px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); text-decoration: none; font-size: .88rem; }
.q-chip span { color: var(--ink-3); margin-left: 2px; }
.q-chip[aria-current="true"] { border-color: var(--ink); color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 1px var(--ink); }
.q-search input { min-width: 280px; }
.q-guide { margin-bottom: 14px; padding: 12px 16px; }
.q-guide summary { cursor: pointer; font-weight: 600; }
.q-guide textarea { width: 100%; margin: 10px 0 8px; }
.q-info { padding: 12px 16px; margin-bottom: 14px; color: var(--ink-2); }
.q-list { display: grid; gap: 12px; }
.q-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--card-shadow); padding: 14px 16px; display: grid; gap: 12px; }
.q-card.is-open { border-left: 4px solid var(--run); }
.q-product { display: flex; gap: 12px; align-items: center; }
.q-thumb { flex: 0 0 52px; height: 52px; border-radius: 8px; overflow: hidden; background: var(--muted-bg); }
.q-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.q-pinfo { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.q-pinfo b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q-links { display: flex; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
.q-status { font-size: .8rem; font-weight: 600; padding: 3px 9px; border-radius: 12px; background: var(--muted-bg); color: var(--ink-2); white-space: nowrap; }
.q-s-waiting_for_answer { background: var(--run-bg); color: var(--run); }
.q-s-waiting_for_approve { background: var(--warn-bg); color: var(--warn); }
.q-s-answered { background: var(--ok-bg); color: var(--ok); }
.q-s-rejected, .q-s-unanswered { background: var(--err-bg); color: var(--err); }
.q-thread { display: grid; gap: 8px; }
.q-bubble { max-width: 760px; padding: 10px 14px; border-radius: 12px; }
.q-bubble p { margin: 2px 0 0; white-space: pre-line; line-height: 1.5; }
.q-ask { background: var(--paper); border-top-left-radius: 3px; }
.q-ans { background: var(--ok-bg); justify-self: end; border-top-right-radius: 3px; }
.q-who { font-size: .8rem; color: var(--ink-3); }
.q-late { color: var(--err); font-weight: 600; }
.q-rejected { background: var(--err-bg); color: var(--err); border-radius: 8px; padding: 8px 12px; font-size: .88rem; }
.q-rejected p { margin: 4px 0 0; white-space: pre-line; color: var(--ink); }
.q-reply { display: grid; gap: 8px; }
.q-reply textarea { width: 100%; resize: vertical; min-height: 76px; line-height: 1.5; }
.q-reply textarea.is-filled { animation: q-fill .6s var(--ease); }
@keyframes q-fill { from { background: var(--tag); } }
@media (prefers-reduced-motion: reduce) { .q-reply textarea.is-filled { animation: none; } }
.q-reply-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.q-hint { flex: 1; min-width: 200px; }
.q-count { font-size: .8rem; color: var(--ink-3); min-width: 70px; text-align: right; }
.q-count.is-bad { color: var(--err); }
.q-ai-note { font-size: .85rem; padding: 6px 10px; border-radius: 6px; background: var(--warn-bg); color: var(--warn); }
.q-ai-note.is-ok { background: var(--run-bg); color: var(--run); }
@media (max-width: 640px) { .q-search input { min-width: 0; width: 100%; } .q-search { width: 100%; } }

/* Baştan gönder */
.restart-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; align-items: start; }
.restart-grid h2 { font-size: 1.05rem; margin: 0 0 10px; }
.restart-grid h3 { font-size: .95rem; margin: 16px 0 6px; }
.restart-facts { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.restart-steps { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 8px; line-height: 1.5; }
.restart-brand { margin-bottom: 12px; }
.restart-form { display: grid; gap: 12px; }
.restart-form fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: grid; gap: 6px; }
.restart-row { display: flex; gap: 12px; flex-wrap: wrap; }
.restart-form label { display: grid; gap: 4px; }
.restart-form label.check { display: flex; }
@media (max-width: 900px) { .restart-grid { grid-template-columns: 1fr; } }
.restart-go { justify-self: start; }

/* ---- 1.9.1 Ekip ------------------------------------------------------ */
.team-crew { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.crew { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); }
.crew div { display: flex; flex-direction: column; line-height: 1.2; }
.crew span:not(.avatar) { font-size: .8rem; color: var(--ink-3); }
.avatar { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .8rem; color: #fff; background: var(--ink-3); }
.crew-trendyol .avatar, .say-trendyol .avatar { background: #E2621B; }
.crew-panel .avatar, .say-panel .avatar { background: #2B5DA8; }
.crew-yazilim .avatar, .say-yazilim .avatar { background: #1E7A4E; }
.crew-boss .avatar, .say-boss .avatar { background: var(--tag); color: var(--tag-ink); }
.team-grid { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: start; }
.team-side { display: grid; gap: 12px; position: sticky; top: 12px; }
.team-call { display: grid; gap: 8px; }
.team-call textarea { width: 100%; resize: vertical; }
.team-meetings { padding: 10px; display: grid; gap: 2px; }
.team-meetings h2 { font-size: .9rem; margin: 2px 6px 6px; }
.team-meetings a { display: grid; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .88rem; }
.team-meetings a:hover { background: var(--paper); }
.team-meetings a[aria-current="page"] { background: var(--paper); box-shadow: inset 3px 0 0 var(--tag); }
.tm-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.tm-head h2 { margin: 0; font-size: 1.1rem; }
.tm-chat { display: grid; gap: 14px; }
.say { display: flex; gap: 12px; align-items: flex-start; }
.say-body { background: var(--paper); border-radius: 4px 14px 14px 14px; padding: 10px 14px; max-width: 820px; }
.say-body b span { font-weight: 400; color: var(--ink-3); font-size: .82rem; margin-left: 4px; }
.say-body p { margin: 4px 0 0; white-space: pre-line; line-height: 1.55; }
.say-boss .say-body { background: #FFF6CC; }
.say-typing .say-body p { color: var(--ink-3); animation: say-pulse 1.4s ease-in-out infinite; }
@keyframes say-pulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .say-typing .say-body p { animation: none; } }
.tm-summary { margin-top: 16px; padding: 12px 14px; border-left: 4px solid var(--ok); background: var(--ok-bg); border-radius: 6px; }
.tm-summary p { margin: 4px 0 0; }
.team-main > h2.section-title { margin: 20px 0 10px; font-size: 1.05rem; }
.tp-list { display: grid; gap: 12px; }
.tp-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; box-shadow: var(--card-shadow); }
.tp-card.tp-bekliyor { border-left: 4px solid var(--tag); }
.tp-card.tp-onaylandi { border-left: 4px solid var(--ok); }
.tp-card.tp-reddedildi, .tp-card.tp-yapilamaz { opacity: .7; }
.tp-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.tp-head h3 { margin: 0; font-size: 1rem; }
.tp-meta { font-size: .82rem; color: var(--ink-3); }
.tp-badge { font-size: .78rem; font-weight: 600; padding: 3px 9px; border-radius: 12px; background: var(--muted-bg); white-space: nowrap; }
.tp-bekliyor .tp-badge { background: #FFF1B3; color: var(--tag-ink); }
.tp-onaylandi .tp-badge, .tp-yapildi .tp-badge { background: var(--ok-bg); color: var(--ok); }
.tp-body { display: grid; grid-template-columns: 130px 1fr; gap: 6px 14px; margin: 12px 0; font-size: .92rem; }
.tp-body dt { color: var(--ink-3); }
.tp-body dd { margin: 0; line-height: 1.5; }
.tp-q { color: var(--run); font-weight: 600; }
.tp-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tp-actions input { flex: 1; min-width: 220px; }
.team-brief { margin-top: 16px; display: grid; gap: 8px; }
.team-brief h2 { margin: 0; font-size: 1.05rem; }
.team-brief textarea { width: 100%; font-size: .85rem; }
.team-brief .copy-btn { justify-self: start; }
@media (max-width: 980px) { .team-grid { grid-template-columns: 1fr; } .team-side { position: static; } .tp-body { grid-template-columns: 1fr; } }

/* Fiyat ayarları: hesap kontrolü */
.price-check { margin: 18px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.price-check h3 { margin: 0 0 10px; font-size: 1rem; }
.price-check h4 { margin: 16px 0 6px; font-size: .92rem; }
.price-check .flash { margin: 4px 0; }
.price-check-table td, .price-check-table th { white-space: nowrap; }
.ok-text { color: var(--ok); }
.err-text { color: var(--err); font-weight: 600; }
.code-changed { display: block; margin-top: 4px; padding: 4px 8px; border-radius: 6px; background: var(--warn-bg); color: var(--warn); font-size: .82rem; }
.code-changed b { color: var(--ink); }
.review-list { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 14px; }
.oc-cancel { padding: 10px 16px; background: var(--err-bg); color: var(--err); font-size: .9rem; border-bottom: 1px solid var(--line-2); }
.order-card.is-cancelled { opacity: .92; }
.order-card.is-cancelled .oc-go { background: var(--muted-bg); border-color: var(--line); color: var(--ink-3); }

/* Sayfa üstü ilerleme çubuğu */
.pagebar { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 14px; }
.pagebar + .pagebar { margin-top: -6px; }
.pagebar-head { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; }
.pagebar .bar { height: 10px; background: var(--muted-bg); margin-top: 8px; }
.pagebar .bar span { background: var(--ok); }
.pagebar p { margin: 8px 0 0; }
.auto-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: -4px 0 14px; }

/* ---- 1.9.3 Ana ekran: satışlar ---------------------------------------- */
.sales { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr); gap: 12px; margin-bottom: 14px; }
.sale-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--card-shadow); color: var(--ink); text-decoration: none; min-width: 0; }
a.sale-tile:hover { box-shadow: var(--card-shadow-hover); }
.sale-label { font-size: .88rem; color: var(--ink-2); font-weight: 600; }
.sale-label span { font-weight: 400; color: var(--ink-3); }
.sale-value { font-family: var(--font-c); font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.1; letter-spacing: -.01em;
  font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sale-sub { font-size: .85rem; color: var(--ink-3); }
.sale-trend { font-size: .8rem; font-weight: 600; margin-top: 2px; }
.sale-trend span { font-weight: 400; color: var(--ink-3); }
.sale-trend.is-up { color: var(--ok); }
.sale-trend.is-down { color: var(--err); }
.sale-trend.is-flat { color: var(--ink-3); font-weight: 400; }
.sale-profit { background: var(--ink); border-color: var(--ink); color: #fff; }
.sale-profit .sale-label, .sale-profit .sale-label span, .sale-profit .sale-sub { color: rgba(255,255,255,.72); }
.sale-profit .sale-value { color: var(--tag); }
.sale-note { font-size: .78rem; color: rgba(255,255,255,.55); margin-top: auto; padding-top: 6px; }

.sales-chart { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px 10px; margin-bottom: 16px; }
.sales-chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.sales-chart-head h2 { font-size: 1rem; margin: 0; }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 120px; border-bottom: 1px solid var(--line); }
.bar-col { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; outline: none; cursor: default; }
.bar-col::before { content: ""; position: absolute; inset: 0 -1px; }           /* geniş fare alanı */
.bar-fill { width: 100%; background: var(--ink-2); border-radius: 4px 4px 0 0; transition: background .15s; }
.bar-col.is-today .bar-fill { background: var(--tag); }
.bar-col:hover .bar-fill, .bar-col:focus-visible .bar-fill { background: var(--ink); }
.bar-tip { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff;
  font-size: .75rem; padding: 5px 8px; border-radius: 6px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .12s; z-index: 2;
  display: flex; flex-direction: column; text-align: center; }
.bar-col:first-child .bar-tip { left: 0; transform: none; }
.bar-col:last-child .bar-tip { left: auto; right: 0; transform: none; }
.bar-col:hover .bar-tip, .bar-col:focus-visible .bar-tip { opacity: 1; }
.bars-axis { display: flex; justify-content: space-between; font-size: .75rem; color: var(--ink-3); margin-top: 4px; }
.todo-grid.todo-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sup-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.sup-head h2 { margin: 0; }
.sup-head form { margin-left: auto; }
@media (max-width: 1100px) { .sales { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sales, .todo-grid.todo-3 { grid-template-columns: 1fr; } .bars { height: 90px; } }
@media (prefers-reduced-motion: reduce) { .bar-fill, .bar-tip { transition: none; } }

/* ---- 1.9.5 Gönderim: kategori seçici ---------------------------------- */
.send-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 16px; align-items: start; }
.cat-picker { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; position: sticky; top: 12px; }
.cat-picker form { display: grid; gap: 10px; }
.cat-picker select, .cp-search { width: 100%; }
.cp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 4px; }
.cp-tools { display: flex; gap: 14px; }
.link-btn { border: 0; background: none; padding: 0; font: inherit; font-size: .85rem; color: var(--run); cursor: pointer; text-decoration: underline; }
.cp-list { list-style: none; margin: 0; padding: 0; max-height: min(58vh, 560px); overflow-y: auto; border: 1px solid var(--line-2); border-radius: 8px; }
.cp-list li + li { border-top: 1px solid var(--line-2); }
.cp-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; cursor: pointer; }
.cp-item:hover { background: var(--paper); }
.cp-item.is-on { background: #FFF8D6; }
.cp-item input { width: 16px; height: 16px; margin: 0; }
.cp-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.cp-text b { font-weight: 600; font-size: .9rem; overflow-wrap: anywhere; }
.cp-text span { font-size: .75rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-n { font-size: .8rem; font-weight: 600; color: var(--ink-2); background: var(--muted-bg); border-radius: 10px; padding: 1px 8px; font-variant-numeric: tabular-nums; }
.cp-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.cp-sum { font-size: .85rem; color: var(--ink-2); }
.send-main { min-width: 0; }
.send-scope { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; }
.send-scope > div:first-child { display: flex; flex-direction: column; gap: 6px; }
.scope-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.scope-chips .q-chip { padding: 2px 9px; font-size: .8rem; }
@media (max-width: 980px) { .send-layout { grid-template-columns: 1fr; } .cat-picker { position: static; } }
.cp-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.fix-text { display: grid; gap: 6px; padding: 10px 12px; margin: 0 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.fix-text input { width: 100%; }
.fix-text .btn { justify-self: start; }

/* Trendyol eşleştirme */
.ty-match { margin-bottom: 14px; }
.ty-match-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ty-match-head h2 { margin: 0 0 4px; font-size: 1.05rem; }
.ty-match-head p { margin: 2px 0; }
.ty-match-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
.ty-match-clear { margin-top: 10px; }
.ty-match-clear summary { cursor: pointer; color: var(--err); }
.ty-match-clear form { display: grid; gap: 8px; margin-top: 8px; max-width: 640px; }
.ty-match-clear .btn { justify-self: start; }

/* Revize */
.rv-grid { display: grid; gap: 10px; }
.rv-group { background: var(--surface); border: 1px solid var(--line); border-left-width: 4px; border-radius: 10px; padding: 12px 16px; }
.rv-group.is-fix { border-left-color: var(--ok); }
.rv-group.is-del { border-left-color: var(--err); }
.rv-group.is-info { border-left-color: var(--run); }
.rv-group header { display: flex; flex-direction: column; gap: 2px; }
.rv-n { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 10px; background: var(--muted-bg); font-size: .8rem; font-weight: 700; }
.rv-group details { margin-top: 6px; }
.rv-group summary { cursor: pointer; color: var(--run); }
.rv-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; max-height: 360px; overflow-y: auto; }
.rv-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.rv-del { padding-top: 12px; border-top: 1px dashed var(--line); }
.rv-strip { display: grid; gap: 6px; margin-bottom: 14px; }
.rv-strip input { flex: 1; }

/* Giriş (sunucu kurulumu) */
.auth-body { background: var(--ink); min-height: 100vh; }
.auth { max-width: 420px; margin: 0 auto; padding: 12vh 16px 48px; }
.auth-brand { color: #fff; font-size: 19px; display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  margin-bottom: 22px; }
.auth-brand:hover { color: #fff; }
.auth-card { background: var(--surface); border-radius: 14px; padding: 28px 26px 26px;
  border-top: 4px solid var(--tag); }
.auth-card h1 { font-size: 26px; }
.auth-lead { color: var(--ink-2); margin: 8px 0 18px; }
.auth-path { display: block; background: var(--muted-bg); border-radius: 6px; padding: 8px 10px; margin: -8px 0 18px;
  font-size: 13px; word-break: break-all; }
.auth-form input[type="text"], .auth-form input[type="password"] { width: 100%; }
.auth-remember { display: flex; gap: 8px; align-items: center; margin: 4px 0 18px; font-size: 14px; }
.auth-btn { width: 100%; justify-content: center; padding: 12px 16px; font-size: 15.5px; }
.side-user { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: auto 0 0;
  padding: 12px 18px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.side-user a { color: #D5DCE4; text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
.side-user a:hover { color: #fff; }
.side-user + .live { margin-top: 0; }
.side-user form { margin: 0; }
.linkish { background: none; border: 0; padding: 0; color: #9AA6B3; font: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px; }
.linkish:hover { color: #fff; }
.account-panel { max-width: 460px; }
.account-panel h2 { font-size: 20px; margin-bottom: 4px; }
.account-panel form { margin-top: 16px; }
.account-panel input[type="password"] { width: 100%; }
