/* ==========================================================================
   Sözleşme yönetimi — kurumsal tema
   Firma rengi /theme.css'ten gelir (--brand, --brand-ink, --brand-text). Sadece açık (beyaz) tema.
   ========================================================================== */

:root {
  color-scheme: light;

  --brand: #1f3a5f;
  --brand-ink: #ffffff;
  --brand-text: #1f3a5f;

  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --surface-3: #f0f2f5;
  --text: #15171a;
  --text-2: #43474e;
  --muted: #6b7079;
  --line: #e7e9ed;
  --line-2: #d5d9df;

  --good: #146c43;
  --good-bg: #e3f2e9;
  --warn: #8a5300;
  --warn-bg: #fcefd3;
  --bad: #b42318;
  --bad-bg: #fbe6e3;
  --info: #1f4f99;
  --info-bg: #e8eef9;
  --wa: #11804a;

  /* Grafik (doğrulanmış palet) */
  --series-1: #2a78d6;
  --series-2: #eb6834;
  --series-3: #1baf7a;
  --meter-strong: #256abf;
  --meter-soft: #86b6ef;
  --meter-track: #e3ebf6;
  --grid: #eceef1;
  --axis: #cfd3d9;


  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Noto Serif", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r: 14px;
  --r-sm: 9px;
  --shadow-1: 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-2: 0 12px 32px -16px rgba(16, 24, 40, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------- temel */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1 { font-family: var(--serif); font-weight: 600; font-size: 2rem; letter-spacing: -.01em; }
h2 { font-size: 1.05rem; font-weight: 650; }
h3 { font-size: .98rem; font-weight: 650; margin-bottom: .6rem; }
p { margin: 0; }
code { font-family: var(--mono); font-size: .86em; background: var(--surface-3); padding: .1em .4em; border-radius: 5px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.t-good { color: var(--good); }
.t-bad { color: var(--bad); }
.t-warn { color: var(--warn); }
.t-info { color: var(--info); }
.stack > * + * { margin-top: 12px; }

.i { width: 18px; height: 18px; flex: none; }
:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 2px; }

.eyebrow {
  font-size: .72rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.opt { font-size: .78rem; color: var(--muted); font-weight: 400; }
.count {
  display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: var(--surface-3); color: var(--text-2);
  font-size: .75rem; font-weight: 600; vertical-align: 2px; margin-left: 4px;
  font-family: var(--sans);
}

/* --------------------------------------------------------------- marka işareti */

.mark {
  display: inline-grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: 10px;
  background: #fff; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}
.mark img { max-width: 82%; max-height: 82%; object-fit: contain; }
.mark.initials {
  background: var(--brand); color: var(--brand-ink);
  font-family: var(--serif); font-weight: 600; font-size: 1rem; letter-spacing: .02em;
}
.mark.lg { width: 48px; height: 48px; border-radius: 12px; font-size: 1.2rem; }
.mark.xl { width: 72px; height: 72px; border-radius: 16px; font-size: 1.7rem; }
.mark.lh { width: 64px; height: 64px; border-radius: 10px; font-size: 1.5rem; box-shadow: none; }

.guilloche { display: block; width: 100%; height: 100%; }

/* --------------------------------------------------------------- yönetim düzeni */

.shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }

.sidebar {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 14px 16px;
  background: var(--surface);
  color: var(--text-2);
  border-right: 1px solid var(--line);
}
.org {
  display: flex; align-items: center; gap: 11px;
  padding: 4px 6px 18px; margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.org:hover { text-decoration: none; }
.org-text { display: flex; flex-direction: column; min-width: 0; }
.org-name { font-weight: 600; font-size: .92rem; line-height: 1.25; color: var(--text); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.org-sub { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a {
  position: relative;
  display: flex; align-items: center; gap: 11px;
  padding: 9px 10px; border-radius: 9px;
  color: var(--text-2); font-size: .93rem; font-weight: 500;
  transition: background .15s, color .15s;
}
.nav a .i { color: var(--muted); }
.nav a:hover { background: var(--surface-3); color: var(--text); text-decoration: none; }
.nav a.active { background: color-mix(in srgb, var(--brand) 8%, var(--surface)); color: var(--brand-text); font-weight: 600; }
.nav a.active .i { color: var(--brand-text); }
.nav a.active::before {
  content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--brand);
}
.sidebar .new-job { margin-top: 16px; }
.sidebar .spacer { flex: 1; }
.logout { margin: 0; }
.logout button {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 9px 10px; border: 0; border-radius: 9px;
  background: none; color: var(--muted); font: inherit; font-size: .9rem; cursor: pointer;
}
.logout button:hover { background: var(--surface-3); color: var(--text); }

.content { min-width: 0; padding: 30px 36px 72px; max-width: 1240px; width: 100%; }

@media (max-width: 960px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar {
    position: sticky; top: 0; z-index: 20; height: auto;
    flex-direction: row; align-items: center; gap: 6px;
    padding: 8px 12px; overflow-x: auto; scrollbar-width: none;
    border-right: 0; border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  }
  .sidebar::-webkit-scrollbar { display: none; }
  .org { padding: 0; margin: 0 6px 0 0; border: 0; }
  .org-text, .sidebar .spacer, .sidebar .new-job { display: none; }
  .nav { flex-direction: row; }
  .nav a { padding: 8px 10px; white-space: nowrap; font-size: .88rem; }
  .nav a.active::before { left: 10px; right: 10px; top: auto; bottom: -9px; width: auto; height: 2px; border-radius: 2px; }
  .logout button { padding: 8px; }
  .logout button span { display: none; }
  .content { padding: 22px 16px 60px; }
}
@media (max-width: 560px) {
  .nav a span { display: none; }
  .nav a { padding: 9px 11px; }
}

/* --------------------------------------------------------------- sayfa başlığı */

.page-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.ph-text { min-width: 0; }
.page-head h1 { margin-top: 4px; }
.page-head .sub { margin-top: 8px; color: var(--text-2); }
.ph-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.back {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px;
  color: var(--muted); font-size: .86rem; font-weight: 500;
}
.back .i { width: 16px; height: 16px; }
.back:hover { color: var(--text); text-decoration: none; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .92rem; }
.meta > span { display: inline-flex; align-items: center; gap: 7px; }
.meta .i { width: 16px; height: 16px; color: var(--muted); }

/* --------------------------------------------------------------- kartlar */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-1);
}
.card.flush { padding: 0; overflow: hidden; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.card-head.padded { padding: 16px 20px; margin: 0; border-bottom: 1px solid var(--line); align-items: center; }
.card-head p { margin-top: 4px; }

.empty {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 36px 20px; color: var(--muted);
}
.empty > .i { width: 28px; height: 28px; opacity: .55; }
.empty p { max-width: 420px; }

.flash, .notice, .note {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: var(--r-sm); margin-bottom: 18px;
  font-size: .93rem;
}
.flash .i, .notice .i, .note .i { margin-top: 1px; }
.flash.ok { background: var(--good-bg); color: var(--good); }
.flash.err { background: var(--bad-bg); color: var(--bad); }
.notice { background: var(--warn-bg); color: var(--warn); }
.notice a { color: inherit; text-decoration: underline; }
.note { background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line); margin: 0 0 14px; }
.note .i { color: var(--warn); }

/* --------------------------------------------------------------- butonlar */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 15px;
  border-radius: var(--r-sm); border: 1px solid var(--line-2);
  background: var(--surface); color: var(--text);
  font: inherit; font-size: .92rem; font-weight: 600; line-height: 1.2;
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background .15s, border-color .15s, box-shadow .15s, transform .05s;
}
.btn .i { width: 17px; height: 17px; }
.btn:hover { background: var(--surface-2); border-color: var(--muted); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.primary {
  background: var(--brand); border-color: var(--brand); color: var(--brand-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 6px 14px -8px var(--brand);
}
.btn.primary:hover { filter: brightness(1.1); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--text-2); }
.btn.ghost:hover { background: var(--surface-3); color: var(--text); }
.btn.danger { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 35%, var(--line)); }
.btn.danger:hover { background: var(--bad-bg); }
.btn.ghost.danger { border-color: transparent; }
.btn.wa { color: var(--wa); border-color: color-mix(in srgb, var(--wa) 40%, var(--line)); }
.btn.wa:hover { background: color-mix(in srgb, var(--wa) 10%, var(--surface)); }
.btn.sm { padding: 6px 10px; font-size: .83rem; border-radius: 8px; gap: 6px; }
.btn.sm .i { width: 15px; height: 15px; }
.btn.icon-only { padding: 6px 8px; }
.btn.big { width: 100%; padding: 13px 18px; font-size: 1.02rem; border-radius: 11px; }
.btn:disabled { opacity: .6; cursor: default; }
.linkbtn { background: none; border: 0; padding: 4px 6px; color: var(--muted); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.linkbtn:hover { color: var(--text); }
.inline-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.inline-link .i { width: 16px; height: 16px; }

/* --------------------------------------------------------------- rozetler */

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px 3px 8px; border-radius: 999px;
  font-size: .76rem; font-weight: 600; line-height: 1.3; white-space: nowrap;
  background: var(--surface-3); color: var(--text-2);
  vertical-align: middle;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.badge.good, .badge.s-geldi, .badge.s-onay { background: var(--good-bg); color: var(--good); }
.badge.warn, .badge.s-acildi { background: var(--warn-bg); color: var(--warn); }
.badge.bad, .badge.s-gelmedi, .badge.s-iptal { background: var(--bad-bg); color: var(--bad); }
.badge.s-imza { background: var(--info-bg); color: var(--info); }
.badge.neutral, .badge.s-bekliyor { background: var(--surface-3); color: var(--muted); }

.avatar {
  display: inline-grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 12%, var(--surface));
  color: var(--brand-text);
  font-size: .8rem; font-weight: 700; letter-spacing: .02em;
}
.avatar.sm { width: 28px; height: 28px; font-size: .7rem; }
.avatar.lg { width: 60px; height: 60px; font-size: 1.25rem; font-family: var(--serif); }

/* --------------------------------------------------------------- formlar */

label { display: block; font-size: .86rem; font-weight: 550; color: var(--text-2); }
input, textarea, select {
  display: block; width: 100%; margin-top: 6px;
  padding: 10px 12px;
  font: inherit; font-size: 16px; /* iOS yakınlaştırmasın */
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--brand-text);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
textarea { resize: vertical; line-height: 1.5; }
textarea.mono { font-family: var(--mono); font-size: 13px; line-height: 1.6; background: var(--surface-2); }
input[type="checkbox"] { display: inline-block; width: 18px; height: 18px; margin: 0; padding: 0; flex: none; accent-color: var(--brand); }
input[type="color"] { width: 52px; height: 40px; padding: 3px; margin: 0; cursor: pointer; }
input[type="file"] { display: none; }

.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); font-size: .94rem; cursor: pointer; }
.check input { margin-top: 2px; }

.form-card { padding: 4px 24px 20px; }
fieldset { border: 0; margin: 0; padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
fieldset:last-of-type { border-bottom: 0; }
legend { float: left; width: 100%; padding: 0; margin-bottom: 14px; font-size: .72rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
legend + * { clear: both; }
.fs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 16px; }
.fs-grid .span2 { grid-column: span 2; }
.fs-grid .full { grid-column: 1 / -1; }
@media (max-width: 720px) {
  .fs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fs-grid .span2 { grid-column: 1 / -1; }
  .form-card { padding: 4px 16px 16px; }
}
.hint { margin: -4px 0 0; font-size: .8rem; color: var(--muted); }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 16px; }
.sticky-actions {
  position: sticky; bottom: 0; z-index: 5;
  margin: 0 -2px 18px; padding: 14px 2px;
  background: linear-gradient(to top, var(--bg) 70%, transparent);
}

.danger-zone {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 20px; border: 1px dashed var(--line-2); border-radius: var(--r);
}
.danger-zone p { margin-top: 2px; }

.search { position: relative; flex: 1; min-width: 200px; max-width: 360px; }
.search .i { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.search input { margin: 0; padding-left: 34px; }
.add-grid .search { max-width: none; margin-bottom: 10px; }

.disclosure > summary {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; font-weight: 600; list-style: none;
}
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary .i { color: var(--brand-text); }
.disclosure[open] > summary { margin-bottom: 16px; }

/* --------------------------------------------------------------- genel bakış */

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px 15px; box-shadow: var(--shadow-1);
}
.kpi::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: var(--line-2);
}
.kpi.warn::after { background: var(--warn); }
.kpi.bad::after { background: var(--bad); }
.kpi-top { display: flex; justify-content: space-between; align-items: center; color: var(--text-2); font-size: .86rem; font-weight: 550; }
.kpi-top .i { color: var(--muted); }
.kpi-value { font-size: 2.1rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.1; margin-top: 8px; }
.kpi-sub { color: var(--muted); font-size: .8rem; margin-top: 2px; }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.dash-grid > .card { margin-bottom: 18px; }
@media (max-width: 1100px) { .dash-grid { grid-template-columns: minmax(0, 1fr); gap: 0; } }

.hero-fig { text-align: right; }
.hero-num { font-size: 3rem; font-weight: 650; letter-spacing: -.03em; line-height: 1; }
.hero-label { color: var(--text-2); font-size: .82rem; margin-top: 6px; }
.hero-note { color: var(--muted); font-size: .8rem; margin-top: 4px; }
.delta { font-size: .82rem; font-weight: 600; margin-top: 4px; }
.delta span { color: var(--muted); font-weight: 400; }
.delta.up { color: var(--good); }
.delta.down { color: var(--bad); }
@media (max-width: 560px) { .hero-fig { text-align: left; } }

.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 0 0 6px; padding: 0; font-size: .82rem; color: var(--text-2); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.legend.small { font-size: .78rem; margin: 0; }
.sw { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.sw.s1 { background: var(--series-1); }
.sw.s2 { background: var(--series-2); }
.sw.s3 { background: var(--series-3); }
.sw.m-conf { background: var(--meter-strong); }
.sw.m-sign { background: var(--meter-soft); }

.chart-wrap { position: relative; }
.chart { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: var(--grid); stroke-width: 1; shape-rendering: crispEdges; }
.chart .axis { stroke: var(--axis); stroke-width: 1; shape-rendering: crispEdges; }
.chart .tick { fill: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.chart .val { fill: var(--text-2); font-size: 11.5px; font-weight: 600; }
.chart .s1 { fill: var(--series-1); }
.chart .s2 { fill: var(--series-2); }
.chart .s3 { fill: var(--series-3); }
.chart .hit { fill: transparent; cursor: default; outline: none; }
.chart .hit:hover, .chart .hit:focus-visible { fill: color-mix(in srgb, var(--text) 5%, transparent); }

.viz-tip {
  position: fixed; z-index: 100; pointer-events: none;
  min-width: 170px; padding: 10px 12px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-2);
  font-size: .82rem;
}
.viz-tip[hidden] { display: none; }
.viz-tip .tt-title { color: var(--muted); font-size: .76rem; margin-bottom: 6px; }
.viz-tip .tt-row { display: flex; align-items: center; gap: 8px; }
.viz-tip .tt-row + .tt-row { margin-top: 3px; }
.viz-tip .tt-key { width: 12px; height: 2px; border-radius: 2px; }
.viz-tip .tt-key.s1 { background: var(--series-1); }
.viz-tip .tt-key.s2 { background: var(--series-2); }
.viz-tip .tt-key.s3 { background: var(--series-3); }
.viz-tip .tt-val { font-weight: 700; min-width: 22px; font-variant-numeric: tabular-nums; }
.viz-tip .tt-label { color: var(--text-2); }

.table-view { margin-top: 8px; font-size: .84rem; }
.table-view > summary { color: var(--muted); cursor: pointer; width: max-content; }
.table-view[open] > summary { margin-bottom: 8px; }

.attention h2 { margin-bottom: 12px; }
.att-list { list-style: none; margin: 0 -8px; padding: 0; }
.att {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 10px 8px; border-radius: 10px; color: var(--text);
}
.att:hover { background: var(--surface-2); text-decoration: none; }
.att-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; }
.att-ic .i { width: 16px; height: 16px; }
.att.warn .att-ic { background: var(--warn-bg); color: var(--warn); }
.att.bad .att-ic { background: var(--bad-bg); color: var(--bad); }
.att.info .att-ic { background: var(--info-bg); color: var(--info); }
.att-body { display: flex; flex-direction: column; min-width: 0; }
.att-body strong { font-size: .92rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att-body span { font-size: .8rem; color: var(--muted); }
.chev { width: 16px; height: 16px; color: var(--muted); }
.all-good { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; }
.all-good > .i { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--good-bg); color: var(--good); }
.all-good p { color: var(--muted); font-size: .86rem; margin-top: 2px; }

.more-link {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  padding: 12px; border-top: 1px solid var(--line);
  font-size: .88rem; font-weight: 600;
}
.more-link .i { width: 15px; height: 15px; }

/* --------------------------------------------------------------- iş listesi */

.tabs-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface-3); border-radius: 11px; }
.tabs a { padding: 7px 14px; border-radius: 8px; color: var(--text-2); font-weight: 600; font-size: .9rem; }
.tabs a:hover { text-decoration: none; color: var(--text); }
.tabs a.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1), 0 1px 3px rgba(0, 0, 0, .06); }

.job-row {
  display: grid; grid-template-columns: 54px minmax(0, 1.4fr) minmax(200px, 1fr) 18px;
  gap: 18px; align-items: center;
  padding: 14px 20px; color: var(--text);
  border-top: 1px solid var(--line);
  transition: background .15s;
}
.job-rows > .job-row:first-child { border-top: 0; }
.job-row:hover { background: var(--surface-2); text-decoration: none; }
.dateblock {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 54px; height: 56px; border-radius: 11px;
  background: var(--surface-2); border: 1px solid var(--line);
}
.db-day { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1; }
.db-mon { font-size: .68rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); margin-top: 3px; }
.dateblock.multi { height: auto; min-height: 56px; padding: 6px 0; }
.db-len { margin-top: 3px; padding: 1px 6px; border-radius: 99px; background: var(--surface-3); color: var(--text-2); font-size: .62rem; font-weight: 650; white-space: nowrap; }
.jr-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.jr-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 600; }
.jr-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; color: var(--muted); font-size: .84rem; }
.jr-meta .i { width: 14px; height: 14px; }
.dotsep { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); margin: 0 4px; }
.jr-progress { display: flex; flex-direction: column; gap: 7px; }
.jr-progress .t-warn { display: inline-flex; align-items: center; gap: 5px; }
.jr-progress .t-warn .i { width: 14px; height: 14px; }
.jr-nums { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: .8rem; color: var(--muted); }
.jr-nums b { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
.jr-nums .t-bad b, .jr-nums .t-bad { color: var(--bad); }
@media (max-width: 760px) {
  .job-row { grid-template-columns: 50px minmax(0, 1fr) 16px; gap: 12px 14px; padding: 14px 16px; }
  .jr-progress { grid-column: 2 / 3; }
  .job-row > .chev { grid-row: 1; grid-column: 3; }
  .dateblock { width: 50px; height: 52px; }
}

.meter { display: block; width: 100%; height: 8px; border-radius: 99px; overflow: hidden; }
.m-track { fill: var(--meter-track); }
.m-conf { fill: var(--meter-strong); }
.m-sign { fill: var(--meter-soft); }

/* --------------------------------------------------------------- iş detayı */

.summary { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.summary-meter .meter { height: 10px; margin-top: 10px; }
.sm-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .9rem; color: var(--text-2); }
.sm-head b { color: var(--text); font-size: 1.05rem; }
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 10px; }
.fig { display: flex; flex-direction: column; padding-left: 12px; border-left: 1px solid var(--line); }
.fig b { font-size: 1.55rem; font-weight: 650; line-height: 1.15; letter-spacing: -.01em; }
.fig span { font-size: .78rem; color: var(--muted); }
.fig.t-good b { color: var(--good); }
.fig.t-bad b { color: var(--bad); }
.fig.t-warn b { color: var(--warn); }
.summary:not(:has(.summary-meter)) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 860px) { .summary { grid-template-columns: minmax(0, 1fr); } }

.roster { padding: 0 20px; }
.arow {
  display: grid;
  grid-template-columns: minmax(190px, 1.25fr) minmax(170px, 1fr) minmax(0, 1.6fr) auto;
  gap: 10px 18px; align-items: center;
  padding: 14px 0; border-top: 1px solid var(--line);
}
.roster > .arow:first-child { border-top: 0; }
.arow:target { background: color-mix(in srgb, var(--brand) 6%, transparent); box-shadow: 0 0 0 10px color-mix(in srgb, var(--brand) 6%, transparent); border-radius: 4px; }
.who { display: flex; align-items: center; gap: 11px; min-width: 0; }
.who-name { font-weight: 600; color: var(--text); }
.who-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: .82rem; color: var(--muted); margin-top: 2px; }
.state-sub { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.acts { display: flex; flex-wrap: wrap; gap: 4px; }
.acts form, .attend form { margin: 0; }
.attend { display: flex; align-items: center; gap: 6px; }
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--surface-3); border-radius: 9px; }
.seg-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 10px; border: 0; border-radius: 7px; background: transparent;
  color: var(--text-2); font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer;
}
.seg-btn .i { width: 14px; height: 14px; }
.seg-btn:hover { color: var(--text); background: var(--surface); }
.seg-btn.on.geldi { background: var(--good-bg); color: var(--good); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--good) 40%, transparent); }
.seg-btn.on.gelmedi { background: var(--bad-bg); color: var(--bad); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bad) 40%, transparent); }
@media (max-width: 1080px) {
  .arow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .acts { grid-column: 1 / -1; }
  .attend { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .roster { padding: 0 16px; }
  .arow { grid-template-columns: minmax(0, 1fr); }
}

.add-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .add-grid { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.pick-list { max-height: 280px; overflow: auto; border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 14px; }
.pick-list label {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
  padding: 9px 12px; border-top: 1px solid var(--line);
  color: var(--text); font-weight: 400; cursor: pointer;
}
.pick-list label:first-child { border-top: 0; }
.pick-list label:hover { background: var(--surface-2); }
.pick-list label[hidden] { display: none; }
.pl-name { font-weight: 550; }

/* --------------------------------------------------------------- tablolar */

.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th, .tbl td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th { font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.card.flush .tbl th:first-child, .card.flush .tbl td:first-child { padding-left: 20px; }
.card.flush .tbl th:last-child, .card.flush .tbl td:last-child { padding-right: 20px; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: var(--surface-2); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tr[hidden] { display: none; }
.cell-person { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.person-head { display: flex; align-items: center; gap: 16px; }
.person-head .sub { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* --------------------------------------------------------------- ayarlar */

.sec-head { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.sec-head > .i { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: color-mix(in srgb, var(--brand) 10%, var(--surface)); color: var(--brand-text); }
.sec-head p { color: var(--muted); font-size: .88rem; margin-top: 3px; }
.settings .form-card > textarea { margin-top: 0; }
.brand-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; padding-bottom: 6px; }
@media (max-width: 760px) { .brand-grid { grid-template-columns: minmax(0, 1fr); } }
.logo-field { display: flex; gap: 18px; align-items: flex-start; }
.logo-preview {
  display: grid; place-items: center; flex: none;
  width: 112px; height: 112px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
  background-image: linear-gradient(45deg, #f2f2f2 25%, transparent 25%), linear-gradient(-45deg, #f2f2f2 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f2f2f2 75%), linear-gradient(-45deg, transparent 75%, #f2f2f2 75%);
  background-size: 14px 14px; background-position: 0 0, 0 7px, 7px -7px, -7px 0;
}
.logo-preview img { max-width: 86%; max-height: 86%; object-fit: contain; }
.file-btn { cursor: pointer; }
.color-row { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.preset { width: 30px; height: 30px; padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; }
.preset svg { display: block; width: 100%; height: 100%; }
.preset:hover { transform: scale(1.08); }
.preset.on { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--text); }
.placeholders { margin-top: 12px; font-size: .86rem; }
.placeholders > summary { cursor: pointer; color: var(--brand-text); font-weight: 600; width: max-content; }
.ph-grid { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; margin-top: 10px; color: var(--text-2); }

/* --------------------------------------------------------------- giriş */

.login { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 100vh; }
.login-brand {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 56px; background: var(--brand); color: var(--brand-ink);
}
.login-brand .guilloche { position: absolute; inset: 0; opacity: .14; }
.login-brand::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .28), transparent 60%); }
.login-brand-inner { position: relative; z-index: 1; max-width: 420px; }
.login-brand .mark.initials { background: rgba(255, 255, 255, .14); color: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.login-org { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; line-height: 1.15; margin-top: 22px; }
.login-brand p { margin-top: 10px; opacity: .85; font-size: 1.02rem; }
.login-form { display: grid; place-items: center; padding: 40px 24px; background: var(--surface); }
.login-form form { width: 100%; max-width: 340px; }
.login-form h1 { margin: 4px 0 8px; }
@media (max-width: 800px) {
  .login { grid-template-columns: minmax(0, 1fr); }
  .login-brand { padding: 32px 24px; min-height: 220px; }
  .login-org { font-size: 1.6rem; margin-top: 14px; }
  .login-brand .mark.xl { width: 56px; height: 56px; font-size: 1.3rem; }
}

/* --------------------------------------------------------------- çalışan sayfası */

body.public { display: flex; flex-direction: column; min-height: 100vh; }
.pub-head { position: relative; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line); }
.pub-head::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--brand); z-index: 1; }
.pub-head .guilloche { position: absolute; inset: 0; color: var(--brand-text); opacity: .1; }
.pub-head-inner { position: relative; max-width: 640px; margin: 0 auto; padding: 22px 16px 18px; display: flex; align-items: center; gap: 14px; }
.pub-org { font-weight: 650; font-size: 1.02rem; line-height: 1.25; }
.pub-sub { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); margin-top: 3px; }
.pub-sub .i { width: 14px; height: 14px; color: var(--good); }

.narrow { width: 100%; max-width: 640px; margin: 0 auto; padding: 22px 16px 40px; flex: 1; }
.greet { margin: 4px 0 18px; }
.greet h1 { font-size: 1.9rem; }
.greet p { margin-top: 6px; }

.stepper { display: flex; list-style: none; margin: 0 0 18px; padding: 0; gap: 6px; counter-reset: s; }
.stepper li {
  flex: 1; display: flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 550; color: var(--muted);
  padding-top: 10px; border-top: 3px solid var(--line);
}
.stepper .dot {
  display: grid; place-items: center; flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface-3); color: var(--muted); font-size: .72rem; font-weight: 700;
}
.stepper .dot .i { width: 13px; height: 13px; stroke-width: 3; }
.stepper li.done { border-top-color: var(--good); color: var(--text-2); }
.stepper li.done .dot { background: var(--good); color: #fff; }
.stepper li.current { border-top-color: var(--brand-text); color: var(--text); }
.stepper li.current .dot { background: var(--brand); color: var(--brand-ink); }
@media (max-width: 420px) { .stepper li { font-size: .72rem; gap: 6px; } }

.job-sheet h2 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin: 4px 0 14px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; }
.facts .i { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); color: var(--brand-text); }
.facts span { display: flex; flex-direction: column; font-weight: 600; font-size: .94rem; line-height: 1.3; min-width: 0; }
.facts small { font-size: .74rem; font-weight: 500; color: var(--muted); margin-bottom: 2px; }
@media (max-width: 440px) { .facts { grid-template-columns: minmax(0, 1fr); } }

.step-title { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; padding-top: 10px; }
.sign-form > .step-title:first-child { padding-top: 0; }
.step-title .n {
  display: grid; place-items: center; flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand); color: var(--brand-ink); font-size: .8rem; font-weight: 700;
}
.contract-box {
  max-height: 340px; overflow: auto;
  white-space: pre-wrap; font: 14px/1.65 var(--serif);
  padding: 16px 18px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm);
}
.kvkk > summary { cursor: pointer; font-size: .86rem; color: var(--brand-text); font-weight: 600; }
.kvkk[open] > summary { margin-bottom: 10px; }

.sigpad { position: relative; }
#imza {
  display: block; width: 100%; height: 200px;
  background: #fff; border: 1.5px dashed #a9aeb6; border-radius: 12px;
  touch-action: none; cursor: crosshair;
}
.sig-line { position: absolute; left: 22px; right: 22px; bottom: 44px; height: 1px; background: #d8dbe0; pointer-events: none; }
.sigpad .hint { position: absolute; left: 22px; bottom: 16px; font-size: .78rem; color: #8a9099; pointer-events: none; }
.sigpad .clear { position: absolute; top: 10px; right: 10px; background: #fff; color: #333; border-color: #ddd; }
.fineprint { display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; color: var(--muted); }
.fineprint .i { width: 15px; height: 15px; margin-top: 2px; color: var(--good); }

.signed-card { display: flex; gap: 18px; align-items: center; }
.signed-card .seal { width: 92px; height: 92px; flex: none; color: var(--good); transform: rotate(-8deg); animation: stamp .5s var(--ease) both; }
.signed-card h2 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.signed-card p { color: var(--muted); font-size: .88rem; margin: 4px 0 8px; }
.ok-card, .info-card { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.ok-card { background: var(--good-bg); color: var(--good); border-color: transparent; }
.info-card { background: var(--info-bg); color: var(--info); border-color: transparent; font-weight: 500; }
.ask-card { border: 2px solid var(--brand-text); box-shadow: 0 16px 40px -24px var(--brand); }
.ask-card h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.subtle { box-shadow: none; background: transparent; }
.subtle > summary { color: var(--muted); font-weight: 500; }

.message { text-align: center; padding: 34px 24px; }
.message > .i { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--surface-3); color: var(--text-2); margin-bottom: 12px; }
.message h1, .message h2 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin-bottom: 8px; }

.pub-foot {
  display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center;
  padding: 22px 16px 28px; border-top: 1px solid var(--line);
  font-size: .78rem; color: var(--text-2);
}

/* doğrulama */
.verify { text-align: center; padding: 34px 24px; }
.verify .seal { width: 108px; height: 108px; color: var(--good); margin-bottom: 8px; animation: stamp .5s var(--ease) both; }
.verify > .i { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--surface-3); color: var(--text-2); margin-bottom: 12px; }
.verify.bad > .i { background: var(--bad-bg); color: var(--bad); }
.verify h1 { font-size: 1.6rem; margin-bottom: 8px; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; text-align: left; margin: 22px auto 0; max-width: 440px; padding: 16px 18px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .92rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.verify-form { display: flex; gap: 8px; max-width: 420px; margin: 20px auto 0; }
.verify-form input { margin: 0; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; }

/* --------------------------------------------------------------- antetli sözleşme */

body.plain { background: var(--bg); }
.paper-wrap { max-width: 880px; margin: 0 auto; padding: 24px 16px 60px; }
.paper-wrap.in-admin { padding: 0; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.toolbar .back { margin: 0; }

.paper {
  background: #fff; color: #17191c;
  border-radius: 4px; padding: 52px 58px 44px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 18px 48px -24px rgba(0, 0, 0, .3);
  --p-muted: #6b7078;
  --p-line: #e2ded5;
}
.letterhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.lh-org { display: flex; gap: 16px; align-items: center; min-width: 0; }
.lh-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.2; color: #111; }
.lh-line { font-size: 11.5px; color: var(--p-muted); margin-top: 2px; }
.lh-meta { display: grid; grid-template-columns: max-content max-content; gap: 3px 12px; margin: 0; font-size: 11.5px; text-align: right; }
.lh-meta dt { color: var(--p-muted); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; align-self: center; }
.lh-meta dd { margin: 0; font-weight: 650; color: #111; }
.lh-band { position: relative; height: 22px; margin: 20px 0 30px; color: var(--brand); overflow: hidden; border-top: 2px solid var(--brand); }
.lh-band .guilloche { opacity: .5; }
.ctext { white-space: pre-wrap; font: 14.5px/1.7 var(--serif); color: #1b1d20; }

.sigs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; break-inside: avoid; }
.sig-box { border-top: 1px solid #1b1d20; padding-top: 10px; min-height: 130px; }
.sig-role { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--p-muted); font-weight: 650; }
.sig-name { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; margin-top: 4px; }
.sig-note { font-size: 11.5px; color: var(--p-muted); margin-top: 2px; }
.sig-img { display: block; max-width: 240px; max-height: 100px; margin-top: 8px; }

.audit { margin-top: 32px; padding: 14px 16px; border: 1px solid var(--p-line); border-radius: 8px; background: #faf9f6; font-size: 11.5px; color: #333; break-inside: avoid; }
.audit-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; color: #111; }
.audit-head .i { width: 16px; height: 16px; color: #146c43; }
.audit-head .ok { margin-left: auto; color: #146c43; font-weight: 650; }
.audit-head .bad { margin-left: auto; color: #b42318; font-weight: 650; }
.audit dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; margin: 0; }
.audit dt { color: var(--p-muted); }
.audit dd { margin: 0; overflow-wrap: anywhere; }
.annex { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--p-line); white-space: pre-wrap; font-size: 11.5px; line-height: 1.55; color: #3a3d42; break-before: auto; }
.annex-title { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 650; color: var(--p-muted); margin-bottom: 6px; }

@media (max-width: 640px) {
  .paper { padding: 26px 20px; }
  .letterhead { flex-direction: column; }
  .lh-meta { text-align: left; }
  .sigs { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------- hareket */

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes stamp { from { opacity: 0; transform: rotate(-8deg) scale(1.35); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }
.content > *, .narrow > * { animation: rise .45s var(--ease) both; }
.content > :nth-child(2), .narrow > :nth-child(2) { animation-delay: .04s; }
.content > :nth-child(3), .narrow > :nth-child(3) { animation-delay: .08s; }
.content > :nth-child(4), .narrow > :nth-child(4) { animation-delay: .12s; }
.content > :nth-child(n+5), .narrow > :nth-child(n+5) { animation-delay: .16s; }
.verify .seal { transform: none; animation-name: stamp-flat; }
@keyframes stamp-flat { from { opacity: 0; transform: scale(1.3); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* --------------------------------------------------------------- yazdırma */

@page {
  size: A4;
  margin: 16mm 15mm 18mm;
  @bottom-right { content: "Sayfa " counter(page) " / " counter(pages); font-size: 8pt; color: #888; }
}
@media print {
  body, body.plain { background: #fff; }
  .sidebar, .toolbar, .flash { display: none !important; }
  .shell { display: block; }
  .content { padding: 0; max-width: none; }
  .content > * { animation: none; }
  .paper-wrap { padding: 0; max-width: none; }
  .paper { box-shadow: none; padding: 0; border-radius: 0; }
  .lh-band { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
