/* ==========================================================================
   Mimo
   Fikir: ekran bir çizim paftası. Koyu grafit masa, üstünde kâğıt beyazı
   yüzeyler, tek vurgu rengi (rotring kırmızısı) ve teknik resimden alınmış
   ölçü çizgileri. Sayılar süs değil; her biri gerçek bir değeri gösterir.
   ========================================================================== */

@font-face {
  font-family: Geist;
  src: url(../fonts/Geist-Variable.woff2) format('woff2');
  font-weight: 100 900; font-display: swap; font-style: normal;
}
@font-face {
  font-family: GeistMono;
  src: url(../fonts/GeistMono-Variable.woff2) format('woff2');
  font-weight: 100 900; font-display: swap; font-style: normal;
}

/* ---------- belirteçler ---------- */

:root {
  --ink:      #0B0C0D;
  --surface:  #111315;
  --panel:    #16191C;
  --panel-2:  #1B1F23;
  --line:     rgba(255,255,255,.085);
  --line-2:   rgba(255,255,255,.17);
  --hi:       #F2F3F5;
  --mid:      #959CA3;
  --lo:       #656C73;
  --sig:      #FF5C2B;
  --sig-ink:  #0B0C0D;
  --sig-soft: rgba(255,92,43,.13);
  --ok:       #5FD39B;
  --paper:    #F7F6F2;
  --shadow:   0 1px 2px rgba(0,0,0,.5), 0 12px 40px -18px rgba(0,0,0,.8);

  --ease:  cubic-bezier(.2,0,0,1);
  --fast:  .18s var(--ease);
  --mid-t: .28s var(--ease);
  --slow:  .44s var(--ease);

  --rail: 300px;
  --gut: clamp(20px, 3.4vw, 52px);
  --radius: 3px;

  --sans: Geist, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: GeistMono, ui-monospace, 'SF Mono', Menlo, monospace;

  color-scheme: dark;
}

:root[data-theme='light'] {
  --ink:      #EDECE8;
  --surface:  #F4F3EF;
  --panel:    #FFFFFF;
  --panel-2:  #F7F6F2;
  --line:     rgba(11,12,13,.13);
  --line-2:   rgba(11,12,13,.26);
  --hi:       #15181B;
  --mid:      #4F565D;
  --lo:       #798087;
  --sig:      #DC3F16;
  --sig-ink:  #FFFFFF;
  --sig-soft: rgba(220,63,22,.10);
  --ok:       #1F8A5B;
  --shadow:   0 1px 2px rgba(11,12,13,.07), 0 14px 40px -22px rgba(11,12,13,.35);
  color-scheme: light;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    --ink:      #EDECE8;
    --surface:  #F4F3EF;
    --panel:    #FFFFFF;
    --panel-2:  #F7F6F2;
    --line:     rgba(11,12,13,.13);
    --line-2:   rgba(11,12,13,.26);
    --hi:       #15181B;
    --mid:      #4F565D;
    --lo:       #798087;
    --sig:      #DC3F16;
    --sig-ink:  #FFFFFF;
    --sig-soft: rgba(220,63,22,.10);
    --ok:       #1F8A5B;
    --shadow:   0 1px 2px rgba(11,12,13,.07), 0 14px 40px -22px rgba(11,12,13,.35);
    color-scheme: light;
  }
}

/* ---------- temel ---------- */

/* `hidden` özniteliği yazar kuralına yeniliyor: `.field { display: grid }` gibi
   bir kural tarayıcının [hidden]{display:none} kuralını eziyor ve gizlenmesi
   gereken satırlar ekranda kalıyordu (katlanır bölüm hiçbir şey gizlemiyordu). */
[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100dvh;
  background: var(--ink);
  color: var(--hi);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}

/* pafta zemini — çok hafif, okumaya karışmayan modül ızgarası */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(to right, var(--line) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(to bottom, var(--line) 1px, transparent 1px) 0 0 / 96px 96px;
  opacity: .5;
  -webkit-mask-image: radial-gradient(130% 90% at 50% 0%, #000 20%, transparent 78%);
          mask-image: radial-gradient(130% 90% at 50% 0%, #000 20%, transparent 78%);
}

img, svg, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--sig); outline-offset: 2px; border-radius: 2px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--sig); color: var(--sig-ink); padding: 10px 16px; border-radius: 2px;
  font-size: 13px; text-decoration: none;
}
.skip:focus { left: 8px; }

.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--lo); }

/* ---------- düzen ---------- */

#app { position: relative; z-index: 1; display: grid; grid-template-columns: var(--rail) 1fr; min-height: 100dvh; }

.rail {
  position: sticky; top: 0; align-self: start; height: 100dvh;
  display: flex; flex-direction: column; gap: 26px;
  padding: 30px 22px 22px;
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  overflow-y: auto; scrollbar-width: thin;
}

.main { min-width: 0; padding: clamp(26px, 4vw, 60px) var(--gut) 90px; }

/* ---------- marka ---------- */

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { color: var(--hi); width: 30px; height: 30px; flex: none; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text { display: grid; gap: 1px; min-width: 0; }
.logo-text b { font-size: 17px; font-weight: 600; letter-spacing: -.025em; }
.logo-text em {
  font-family: var(--mono); font-style: normal; font-size: 9.5px;
  letter-spacing: .13em; text-transform: uppercase; color: var(--lo);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- yan gezinme ---------- */

.nav { display: flex; flex-direction: column; gap: 1px; flex: 1; }
.nav-label {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--lo); padding: 0 10px 10px;
}
.nav-item {
  display: grid; grid-template-columns: 22px 18px 1fr; align-items: center; gap: 10px;
  padding: 10px; border-radius: var(--radius); text-decoration: none;
  color: var(--mid); position: relative; transition: color var(--fast), background var(--fast);
}
.nav-item::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px;
  background: var(--sig); opacity: 0; transform: scaleY(.3); transform-origin: center;
  transition: opacity var(--fast), transform var(--fast);
}
.nav-item:hover { color: var(--hi); background: color-mix(in srgb, var(--panel) 70%, transparent); }
.nav-item[aria-current='page'] { color: var(--hi); background: var(--panel); }
.nav-item[aria-current='page']::before { opacity: 1; transform: scaleY(1); }
.nav-n { font-family: var(--mono); font-size: 10px; color: var(--lo); letter-spacing: .04em; }
.nav-ico { width: 18px; height: 18px; opacity: .8; }
.nav-ico svg { width: 100%; height: 100%; }
.nav-body { display: grid; gap: 1px; min-width: 0; }
.nav-name { font-size: 13.5px; font-weight: 500; letter-spacing: -.008em; }
.nav-desc {
  font-size: 11px; color: var(--lo); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nav-item[aria-current='page'] .nav-ico { opacity: 1; color: var(--sig); }

/* ---------- ray altı ---------- */

.rail-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.switcher { display: flex; gap: 2px; }
.switch-btn {
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--lo);
  padding: 6px 8px; border-radius: 2px; transition: var(--fast);
}
.switch-btn:hover { color: var(--hi); background: var(--panel); }
.switch-btn[aria-pressed='true'] { color: var(--sig-ink); background: var(--sig); }
.theme-btn { color: var(--lo); padding: 6px; border-radius: 2px; transition: var(--fast); }
.theme-btn svg { width: 17px; height: 17px; }
.theme-btn:hover { color: var(--hi); background: var(--panel); }

/* ---------- açılış ---------- */

.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
  padding-bottom: clamp(40px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(32px, 4vw, 56px);
}
.hero-copy { display: grid; gap: 22px; }
.hero-title {
  font-size: clamp(38px, 6.4vw, 84px); font-weight: 500; line-height: .96;
  letter-spacing: -.042em; display: grid;
}
.hero-title .is-sig { color: var(--sig); }
.hero-sub { font-size: clamp(15px, 1.15vw, 17px); color: var(--mid); max-width: 54ch; line-height: 1.62; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 60%, transparent); max-width: 420px;
}
.badge-dot { color: var(--sig); }
.badge-dot svg { width: 16px; height: 16px; margin-top: 2px; }
.badge-body { display: grid; gap: 3px; }
.badge-body b { font-size: 12.5px; font-weight: 600; letter-spacing: -.005em; }
.badge-body span { font-size: 11.5px; color: var(--lo); line-height: 1.45; }

/* açılış ölçü diyagramı */

.hd {
  position: relative; padding: 26px 28px 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--shadow); display: grid; gap: 14px;
}
.hd-marks, .sheet-marks, .tcard-marks { position: absolute; inset: 6px; pointer-events: none; }
.hd-marks::before, .hd-marks::after,
.sheet-marks::before, .sheet-marks::after,
.tcard-marks::before, .tcard-marks::after {
  content: ''; position: absolute; width: 9px; height: 9px; border: 1px solid var(--line-2); opacity: .75;
}
.hd-marks::before, .sheet-marks::before, .tcard-marks::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hd-marks::after,  .sheet-marks::after,  .tcard-marks::after  { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.hd-cap {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; color: var(--lo);
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hd-row { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; }
.hd-tag {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--lo);
}
.hd-bar { position: relative; height: 13px; display: block; width: 0; transition: width 1.1s var(--ease); }
.hd.is-in .hd-bar { width: var(--w); }
.hd-rule { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-2); }
.hd-t { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
/* 45° taksimat — teknik resim ucu */
.hd-t::after {
  content: ''; position: absolute; left: -4px; top: 50%; width: 11px; height: 1px;
  background: currentColor; color: var(--line-2); transform: rotate(-45deg);
}
.hd-t--a { left: 0; } .hd-t--b { right: 0; }
.hd-val { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; white-space: nowrap; }
.hd .is-after .hd-rule, .hd .is-after .hd-t { background: var(--sig); }
.hd .is-after .hd-t::after { color: var(--sig); }
.hd .is-after .hd-val { color: var(--sig); }
.hd-note {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding-top: 12px; border-top: 1px solid var(--line);
}
.hd-note b { font-family: var(--mono); font-size: 20px; letter-spacing: -.02em; color: var(--sig); }
.hd-note span { font-size: 12px; color: var(--lo); }

/* ---------- araç kartları ---------- */

.grid-tools {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  margin-bottom: clamp(40px, 6vw, 80px);
}
.tcard {
  position: relative; display: grid; gap: 7px; align-content: start;
  padding: 26px 24px 28px; background: var(--surface); text-decoration: none;
  transition: background var(--mid-t);
  grid-template-rows: auto auto auto 1fr;
}
.tcard::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--sig); transform: scaleX(0); transform-origin: left;
  transition: transform var(--mid-t);
}
.tcard:hover { background: var(--panel); }
.tcard:hover::after { transform: scaleX(1); }
.tcard-marks { inset: 10px; opacity: 0; transition: opacity var(--mid-t); }
.tcard:hover .tcard-marks { opacity: 1; }
.tcard-n {
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--lo);
}
.tcard-ico { color: var(--sig); width: 24px; height: 24px; margin: 4px 0 6px; }
.tcard-ico svg { width: 100%; height: 100%; }
.tcard-name { font-size: 16px; font-weight: 550; letter-spacing: -.018em; }
.tcard-desc { font-size: 12.5px; color: var(--lo); line-height: 1.5; }

/* ---------- alt bilgi ---------- */

.foot {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px;
  padding-top: 30px; border-top: 1px solid var(--line);
}
.foot-col { display: grid; gap: 8px; align-content: start; }
.foot-col--end { justify-items: end; text-align: right; }
.foot-col h3 {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--lo); font-weight: 400;
}
.foot-col p { font-size: 12px; color: var(--lo); line-height: 1.6; max-width: 62ch; }
.foot-brand { font-size: 17px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; color: var(--hi); }
.foot-brand:hover { color: var(--sig); }

/* ---------- araç kabuğu ---------- */

.backlink {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 22px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--lo); text-decoration: none; transition: color var(--fast);
}
.backlink svg { width: 13px; height: 13px; }
.backlink:hover { color: var(--hi); }

.sheet {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(22px, 2.6vw, 38px);
  max-width: 1080px;
}
.head { display: grid; gap: 8px; padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.head-idx {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--sig);
}
.head-title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 550; letter-spacing: -.028em; }
.head-desc { font-size: 13.5px; color: var(--mid); line-height: 1.6; max-width: 62ch; }

.stack { display: grid; gap: 18px; align-content: start; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.sub { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--lo); font-weight: 400; }

/* ---------- bırakma alanı ---------- */

.drop {
  position: relative; display: grid; place-items: center; min-height: 236px;
  border: 1px dashed var(--line-2); border-radius: var(--radius);
  background: var(--panel-2); cursor: pointer; transition: var(--mid-t);
  padding: 34px 22px;
}
.drop:hover { border-color: var(--sig); background: color-mix(in srgb, var(--sig-soft) 45%, var(--panel-2)); }
.drop.is-over { border-color: var(--sig); background: var(--sig-soft); transform: scale(1.004); }
.drop-frame { position: absolute; inset: 9px; border: 1px solid var(--line); pointer-events: none; opacity: .55; }
.drop-inner { display: grid; justify-items: center; gap: 8px; text-align: center; position: relative; }
.drop-icon { color: var(--sig); width: 30px; height: 30px; margin-bottom: 4px; }
.drop-icon svg { width: 100%; height: 100%; }
.drop-title { font-size: 16px; font-weight: 550; letter-spacing: -.015em; }
.drop-hint { font-size: 12.5px; color: var(--lo); }
.drop-note { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--lo); margin-top: 8px; }

/* ---------- alanlar ve denetimler ---------- */

.field { display: grid; gap: 9px; align-content: start; }
.field-label {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--lo);
}
.field-hint { font-size: 11.5px; color: var(--lo); line-height: 1.5; }

.input {
  width: 100%; padding: 11px 13px; background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 2px; font-size: 14px; transition: var(--fast);
}
.input:focus { border-color: var(--sig); outline: none; }

.seg {
  display: flex; flex-wrap: wrap; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 2px; overflow: hidden;
}
.seg-btn {
  flex: 1 1 auto; padding: 9px 12px; background: var(--panel-2); color: var(--mid);
  font-size: 12.5px; transition: var(--fast); display: grid; gap: 1px; text-align: center; min-width: 62px;
}
.seg-btn em { font-style: normal; font-family: var(--mono); font-size: 9.5px; color: var(--lo); }
.seg-btn:hover { color: var(--hi); background: var(--panel); }
.seg-btn[aria-checked='true'] { background: var(--sig); color: var(--sig-ink); }
.seg-btn[aria-checked='true'] em { color: color-mix(in srgb, var(--sig-ink) 70%, transparent); }

.choice { display: grid; gap: 8px; }
.choice--inline { grid-auto-flow: column; grid-auto-columns: 1fr; }
.choice-item {
  display: grid; gap: 3px; text-align: left; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 2px; background: var(--panel-2);
  transition: var(--fast); position: relative;
}
.choice-item:hover { border-color: var(--line-2); }
.choice-item[aria-pressed='true'] { border-color: var(--sig); background: var(--sig-soft); }
.choice-item[aria-pressed='true']::after {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 2px; background: var(--sig);
}
.choice-name { font-size: 13.5px; font-weight: 500; letter-spacing: -.01em; }
.choice-hint { font-size: 11.5px; color: var(--lo); line-height: 1.45; }

.toggle { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle-box {
  width: 34px; height: 20px; border-radius: 10px; background: var(--panel-2);
  border: 1px solid var(--line-2); position: relative; transition: var(--fast); margin-top: 1px;
}
.toggle-box::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--mid); transition: var(--fast);
}
.toggle input:checked + .toggle-box { background: var(--sig); border-color: var(--sig); }
.toggle input:checked + .toggle-box::after { transform: translateX(14px); background: var(--sig-ink); }
.toggle input:focus-visible + .toggle-box { outline: 2px solid var(--sig); outline-offset: 2px; }
.toggle-text { display: grid; gap: 3px; }
.toggle-text span { font-size: 13.5px; }
.toggle-text em { font-style: normal; font-size: 11.5px; color: var(--lo); line-height: 1.45; }

.slider { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.slider-input { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: none; }
.slider-input::-webkit-slider-runnable-track { height: 1px; background: var(--line-2); }
.slider-input::-moz-range-track { height: 1px; background: var(--line-2); }
.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%;
  background: var(--sig); margin-top: -6.5px; cursor: grab; border: 0;
}
.slider-input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--sig); border: 0; cursor: grab; }
.slider-out { font-family: var(--mono); font-size: 12px; min-width: 56px; text-align: right; }

.target { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.target-chip {
  font-family: var(--mono); font-size: 11.5px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 2px; background: var(--panel-2);
  color: var(--mid); transition: var(--fast);
}
.target-chip:hover { border-color: var(--line-2); color: var(--hi); }
.target-chip[aria-pressed='true'] { background: var(--sig); border-color: var(--sig); color: var(--sig-ink); }
.target-custom {
  width: 92px; padding: 8px 10px; background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 2px; font-family: var(--mono); font-size: 11.5px;
}
.unit { font-family: var(--mono); font-size: 11.5px; color: var(--lo); }

/* ---------- düğmeler ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border: 1px solid var(--line-2); border-radius: 2px;
  font-size: 13.5px; font-weight: 500; letter-spacing: -.008em;
  color: var(--hi); background: var(--panel-2); transition: var(--fast);
}
.btn:hover:not(:disabled) { border-color: var(--hi); }
.btn:disabled { opacity: .38; cursor: not-allowed; }
.btn-icon { display: grid; }
.btn-icon svg { width: 15px; height: 15px; }
.btn--primary { background: var(--sig); border-color: var(--sig); color: var(--sig-ink); }
.btn--primary:hover:not(:disabled) { filter: brightness(1.1); border-color: var(--sig); }
.btn--ghost { background: none; border-color: var(--line); color: var(--mid); }
.btn--ghost:hover:not(:disabled) { color: var(--hi); border-color: var(--line-2); }

.row-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-top: 4px; }
.row-actions--wrap { row-gap: 10px; }
.toolbar {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--panel-2);
}
.toolbar .btn { padding: 7px 12px; font-size: 12.5px; }

.ibtn {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 2px;
  color: var(--mid); transition: var(--fast);
}
.ibtn svg { width: 15px; height: 15px; }
.ibtn:hover { color: var(--hi); background: color-mix(in srgb, var(--hi) 9%, transparent); }
.ibtn--danger:hover { color: var(--sig); background: var(--sig-soft); }

/* ---------- ilerleme ---------- */

.prog { display: grid; gap: 10px; }
.prog-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.prog-label { font-size: 13.5px; }
.prog-count { font-family: var(--mono); font-size: 11px; color: var(--lo); }
.prog-track { position: relative; height: 2px; background: var(--line); overflow: hidden; }
.prog-bar { height: 100%; width: 0; background: var(--sig); transition: width var(--mid-t); }
/* tarama süpürmesi — bekleme sırasında hareket eden ince ışık */
.prog-sweep {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--sig) 55%, transparent), transparent);
  width: 34%; transform: translateX(-120%);
  animation: sweep 1.5s var(--ease) infinite;
}
.prog.is-done .prog-sweep { display: none; }
@keyframes sweep { to { transform: translateX(360%); } }

.loading { padding: 60px 0; }
.loading-bar { display: block; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.loading-bar::after {
  content: ''; position: absolute; inset: 0; width: 30%; background: var(--sig);
  animation: sweep 1.1s var(--ease) infinite;
}

/* ---------- ölçü karşılaştırması ---------- */

.dim { display: grid; gap: 12px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 2px; background: var(--panel-2); }
.dim-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; }
.dim-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--lo); }
.dim-track { position: relative; height: 13px; }
.dim-bar { position: relative; height: 100%; width: 0; transition: width .9s var(--ease); }
.dim.is-in .dim-bar { width: var(--w, 100%); }
.dim-rule { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-2); }
.dim-tick { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.dim-tick::after {
  content: ''; position: absolute; left: -4px; top: 50%; width: 11px; height: 1px;
  background: currentColor; color: var(--line-2); transform: rotate(-45deg);
}
.dim-tick.left { left: 0; } .dim-tick.right { right: 0; }
.dim-value { font-family: var(--mono); font-size: 12.5px; white-space: nowrap; }
.dim .is-after .dim-rule, .dim .is-after .dim-tick { background: var(--sig); }
.dim .is-after .dim-tick::after { color: var(--sig); }
.dim .is-after .dim-value { color: var(--sig); }
.dim-sum { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
.dim-sum strong { font-family: var(--mono); font-size: 22px; letter-spacing: -.02em; color: var(--sig); font-weight: 500; }
.dim-sum span { font-size: 12.5px; color: var(--mid); }
.dim-sum em { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--lo); margin-left: auto; }

/* ---------- olgu listesi ---------- */

.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.fact { display: grid; gap: 2px; }
.fact.is-wide { margin-left: auto; }
.fact dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--lo); }
.fact dd { font-size: 13.5px; font-family: var(--mono); }
.fact.is-wide dd { color: var(--ok); font-family: var(--sans); font-size: 12.5px; }

/* ---------- notlar ---------- */

.note {
  font-size: 12.5px; color: var(--mid); line-height: 1.6;
  padding: 12px 14px; border-left: 2px solid var(--line-2); background: var(--panel-2);
}

/* Zorlanılan yerleri bildiren kutu — sessiz kalmaktansa söyle */
.warnbox {
  border: 1px solid #D9A441; border-left-width: 2px; border-radius: 2px;
  background: color-mix(in srgb, #D9A441 9%, var(--panel-2)); padding: 14px 16px;
}
.warnbox-title {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .15em;
  text-transform: uppercase; color: #D9A441; margin-bottom: 8px;
}

/* „Mimo şunu öngörüyor" — hedef gerçekçi mi, ne kadar sürer */
.advice:empty { display: none; }
.advice {
  border: 1px solid var(--line); border-radius: 2px;
  background: var(--panel-2); padding: 14px 16px;
  display: grid; gap: 8px;
}
.advice-title {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--mid);
}
.advice-line {
  font-size: 13px; line-height: 1.55; color: var(--hi);
  padding-left: 16px; position: relative;
}
.advice-line::before {
  content: ''; position: absolute; left: 0; top: .5em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--line-2);
}
.advice-line.is-ok::before { background: var(--ok, #65d6ad); }
.advice-line.is-warn::before { background: var(--sig); }
.advice-line.is-warn { color: var(--hi); }
.row-actions--tight { margin-top: 2px; gap: 8px; }

/* „Başlat"a basmadan önce ne olacağını düz cümleyle söyleyen kutu */
.summary-box {
  border: 1px solid var(--line); border-left: 2px solid var(--sig);
  border-radius: 2px; background: var(--panel-2); padding: 14px 16px;
}
.summary-title {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--sig); margin-bottom: 8px;
}
.summary { list-style: none; display: grid; gap: 6px; }
.summary li {
  font-size: 12.5px; color: var(--mid); line-height: 1.55;
  padding-left: 16px; position: relative;
}
.summary li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: 7px; height: 1px; background: var(--line-2);
}
.note--ok { border-left-color: var(--ok); color: var(--hi); }
.empty { font-size: 13px; color: var(--lo); padding: 26px 0; text-align: center; }

.errbox {
  display: grid; gap: 10px; padding: 20px 22px; border: 1px solid var(--sig);
  border-radius: 2px; background: var(--sig-soft); justify-items: start;
}
.errbox-title { font-size: 15px; font-weight: 600; letter-spacing: -.015em; }
.errbox p { font-size: 13px; color: var(--mid); line-height: 1.6; }
.errbox-detail {
  font-family: var(--mono); font-size: 10.5px; color: var(--lo); white-space: pre-wrap;
  max-width: 100%; overflow-x: auto;
}

/* ---------- dosya listeleri ---------- */

.filelist { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.frow {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--panel-2);
  font-size: 13px; text-align: left; width: 100%; transition: background var(--fast);
}
.frow--btn:hover, .frow--drag:hover { background: var(--panel); }
.frow-n { font-family: var(--mono); font-size: 10px; color: var(--lo); flex: none; width: 20px; }
.frow-n svg { width: 14px; height: 14px; }
.frow-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.frow-note { font-size: 11.5px; color: var(--ok); flex: none; }
.frow-size { font-family: var(--mono); font-size: 11px; color: var(--lo); flex: none; white-space: nowrap; }
.frow-size s { opacity: .55; }
.frow-size b { color: var(--sig); font-weight: 500; }
.frow.is-working .frow-name { color: var(--mid); }
.frow.is-error { background: var(--sig-soft); }
.frow--drag { cursor: grab; }
.frow.is-dragging { opacity: .5; cursor: grabbing; }
.frow-grip {
  width: 10px; height: 14px; flex: none; opacity: .5;
  background-image: radial-gradient(currentColor 1px, transparent 1px);
  background-size: 4px 4px; color: var(--lo);
}

.fcard { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 2px; background: var(--panel-2); }
.fcard-thumb {
  width: 48px; height: 60px; flex: none; border: 1px solid var(--line); background: var(--panel);
  display: grid; place-items: center; overflow: hidden;
}
.fcard-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fcard-ext { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; color: var(--lo); }
.fcard-body { flex: 1; min-width: 0; display: grid; gap: 3px; }
.fcard-name { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fcard-meta { display: flex; gap: 12px; font-family: var(--mono); font-size: 10.5px; color: var(--lo); }
.fcard-x {
  width: 28px; height: 28px; flex: none; display: grid; place-items: center;
  font-size: 18px; line-height: 1; color: var(--lo); border-radius: 2px; transition: var(--fast);
}
.fcard-x:hover { color: var(--sig); background: var(--sig-soft); }

/* ---------- sayfa ızgarası ---------- */

.pagegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.pcard {
  border: 1px solid var(--line); border-radius: 2px; background: var(--panel-2);
  overflow: hidden; transition: var(--fast); position: relative;
}
.pcard.is-sel { border-color: var(--sig); box-shadow: inset 0 0 0 1px var(--sig); }
.pcard-thumb {
  aspect-ratio: 1 / 1.35; display: grid; place-items: center; background: var(--panel);
  overflow: hidden; padding: 8px;
}
.pcard-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 2px 12px -4px rgba(0,0,0,.6); }
.pcard-load { width: 18px; height: 18px; border: 1px solid var(--line-2); border-top-color: var(--sig); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pcard-bar { display: flex; align-items: center; justify-content: space-between; padding: 5px 6px 5px 10px; border-top: 1px solid var(--line); }
.pcard-n { font-family: var(--mono); font-size: 10px; color: var(--lo); }
.pcard-acts { display: flex; gap: 1px; }
.pagegrid--sortable .pcard { cursor: grab; }
.pcard.is-dragging { opacity: .45; }

/* ---------- kamera + köşe düzenleyici ---------- */

.scan-entry { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.entry {
  display: grid; justify-items: center; gap: 5px; padding: 32px 20px; text-align: center;
  border: 1px solid var(--line); border-radius: 2px; background: var(--panel-2); transition: var(--fast);
}
.entry:hover { border-color: var(--sig); background: color-mix(in srgb, var(--sig-soft) 40%, var(--panel-2)); }
.entry--primary { border-color: var(--line-2); }
.entry-icon { color: var(--sig); width: 26px; height: 26px; margin-bottom: 4px; }
.entry-icon svg { width: 100%; height: 100%; }
.entry-title { font-size: 15px; font-weight: 550; }
.entry-hint { font-size: 11.5px; color: var(--lo); }

.cam { position: relative; background: #000; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.cam-video { width: 100%; max-height: 66dvh; object-fit: contain; }
.cam-frame { position: absolute; inset: 22px; border: 1px solid rgba(255,255,255,.28); pointer-events: none; }
.cam-frame::before, .cam-frame::after {
  content: ''; position: absolute; width: 22px; height: 22px; border: 2px solid var(--sig);
}
.cam-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.cam-frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.ed-wrap { display: grid; }
.ed {
  position: relative; background: #000; border: 1px solid var(--line); overflow: hidden;
  max-height: 66dvh; margin: 0 auto; width: 100%; touch-action: none;
}
.ed-img { width: 100%; height: 100%; object-fit: contain; opacity: .92; -webkit-user-select: none; user-select: none; }
.ed-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ed-poly { fill: none; stroke: var(--sig); stroke-width: 3; vector-effect: non-scaling-stroke; }
.ed-shade { fill: rgba(0,0,0,.52); }
.ed-h {
  position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  background: color-mix(in srgb, var(--sig) 22%, transparent); border: 1px solid var(--sig);
  cursor: grab; touch-action: none; transition: transform var(--fast), background var(--fast);
}
.ed-h::after {
  content: ''; position: absolute; inset: 50% auto auto 50%; width: 8px; height: 8px;
  margin: -4px 0 0 -4px; border-radius: 50%; background: var(--sig);
}
.ed-h:hover, .ed-h.is-active { transform: scale(1.12); background: color-mix(in srgb, var(--sig) 38%, transparent); }
.ed-loupe {
  position: absolute; width: 132px; height: 132px; border: 1px solid var(--sig);
  border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity var(--fast);
  box-shadow: 0 8px 30px -8px rgba(0,0,0,.9);
}

/* ---------- önce / sonra ---------- */

.compare { display: grid; gap: 12px; }
.compare-head { display: flex; justify-content: space-between; gap: 14px; font-size: 12.5px; flex-wrap: wrap; }
.compare-head span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ba {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 2px;
  background: repeating-conic-gradient(var(--panel-2) 0 25%, var(--panel) 0 50%) 0 0 / 18px 18px;
  touch-action: none; -webkit-user-select: none; user-select: none; max-height: 70dvh;
}
.ba-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ba-before { position: absolute; inset: 0; }
.ba-handle { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--sig); cursor: ew-resize; }
.ba-grip {
  position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border-radius: 50%; background: var(--sig); border: 2px solid var(--sig-ink); box-shadow: 0 4px 18px -4px rgba(0,0,0,.7);
}
.ba-grip::after {
  content: ''; position: absolute; inset: 0; margin: auto; width: 12px; height: 1.5px;
  background: var(--sig-ink); box-shadow: 0 -4px 0 var(--sig-ink), 0 4px 0 var(--sig-ink);
}
.ba-tag {
  position: absolute; top: 10px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em;
  text-transform: uppercase; padding: 4px 8px; background: rgba(0,0,0,.62); color: #fff; border-radius: 2px;
}
.ba-tagL { left: 10px; } .ba-tagR { right: 10px; }

/* ---------- video ---------- */

.vid-setup { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: start; }
.vid-poster { width: 180px; aspect-ratio: 16/9; object-fit: cover; border: 1px solid var(--line); border-radius: 2px; background: var(--panel); }
.vid-poster.is-empty { display: grid; place-items: center; color: var(--lo); }
.vid-poster.is-empty svg { width: 26px; height: 26px; }
.vid-ready { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: start; }
.qr { border: 1px solid var(--line); border-radius: 2px; background: #fff; padding: 14px; display: grid; place-items: center; min-height: 200px; }
.qr-art svg { width: 100%; height: auto; }
.qr-load { width: 18px; height: 18px; border: 1px solid #ccc; border-top-color: var(--sig); border-radius: 50%; animation: spin .8s linear infinite; }
.linkbox { display: flex; gap: 8px; }
.linkbox-in {
  flex: 1; min-width: 0; padding: 11px 13px; background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 2px; font-family: var(--mono); font-size: 12px; color: var(--sig);
}

/* ---------- bildirimler ---------- */

.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 60; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast {
  padding: 11px 18px; border-radius: 2px; background: var(--panel); border: 1px solid var(--line-2);
  font-size: 13px; box-shadow: var(--shadow); opacity: 0; transform: translateY(8px);
  transition: opacity var(--mid-t), transform var(--mid-t); max-width: min(92vw, 460px);
}
.toast.is-in { opacity: 1; transform: none; }
.toast--error { border-color: var(--sig); color: var(--hi); }
.toast--ok { border-color: var(--ok); }
.toast--warn { border-color: #D9A441; }

/* ---------- duyarlı ---------- */

@media (max-width: 1080px) {
  :root { --rail: 250px; }
  .hero { grid-template-columns: 1fr; }
  .vid-ready { grid-template-columns: 1fr; }
  .qr { max-width: 260px; }
}

@media (max-width: 860px) {
  #app { grid-template-columns: 1fr; }
  .rail {
    position: sticky; top: 0; height: auto; z-index: 20; flex-direction: column; gap: 14px;
    padding: 14px var(--gut); border-right: 0; border-bottom: 1px solid var(--line);
  }
  .rail-foot { order: -1; padding-top: 0; border-top: 0; }
  .logo { position: absolute; top: 14px; left: var(--gut); }
  .rail-foot { justify-content: flex-end; }
  .nav { flex-direction: row; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav-label { display: none; }
  /* dokunma hedefi en az 44 px — telefon burada asıl cihaz, tarayıcı aracı elle kullanılıyor */
  .nav-item { grid-template-columns: auto auto; flex: none; padding: 12px 14px; min-height: 44px; align-items: center; border: 1px solid var(--line); }
  .switch-btn { min-width: 44px; min-height: 40px; }
  .theme-btn { min-width: 44px; min-height: 40px; display: grid; place-items: center; }
  .ibtn { width: 40px; height: 40px; }
  .fcard-x { width: 40px; height: 40px; }
  .nav-item::before { display: none; }
  .nav-item .nav-desc, .nav-item .nav-n { display: none; }
  .nav-name { white-space: nowrap; font-size: 12.5px; }
  .nav-item[aria-current='page'] { border-color: var(--sig); }
  .main { padding-top: 26px; }
  .foot { grid-template-columns: 1fr; }
  .foot-col--end { justify-items: start; text-align: left; }
  .vid-setup { grid-template-columns: 1fr; }
  .vid-poster { width: 100%; max-width: 320px; }
  .dim-row, .hd-row { grid-template-columns: 46px 1fr auto; gap: 10px; }
  .sheet { padding: 20px 16px; }
  .pagegrid { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; }
}

@media (max-width: 520px) {
  .hero-title { font-size: clamp(32px, 11vw, 52px); }
  .row-actions .btn { flex: 1 1 auto; }
  .grid-tools { grid-template-columns: 1fr; }
  .ed-h { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hd-bar, .dim-bar { transition: none; }
}

@media print {
  .rail, .row-actions, .backlink { display: none; }
  body::before { display: none; }
  #app { grid-template-columns: 1fr; }
}

/* Seçenek kartında sonucu göster — kullanıcı ayarın adını değil, sonucunu okur */
.choice-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.choice-figure {
  font-family: var(--mono); font-size: 15px; font-weight: 500;
  color: var(--sig); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.choice-item[aria-pressed="true"] .choice-figure { color: var(--sig); }
.choice-item.has-figure .choice-name { font-size: 14px; }

/* Katlanır ek ayarlar */
.disc { border-top: 1px solid var(--line); padding-top: 4px; }
.disc-btn {
  display: flex; align-items: center; gap: 8px; width: 100%;
  background: none; border: 0; padding: 10px 0; cursor: pointer;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--mid); text-align: left;
}
.disc-btn:hover { color: var(--hi); }
.disc-caret {
  width: 0; height: 0; border-left: 4px solid currentColor;
  border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent;
  transition: transform .18s cubic-bezier(.2,0,0,1);
}
.disc-btn[aria-expanded="true"] .disc-caret { transform: rotate(90deg); }
.disc-body { display: grid; gap: 18px; padding: 8px 0 4px; }

/* ---------- iş paneli (sağ alt) ---------- */
.dock {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: min(320px, calc(100vw - 36px));
  display: none; flex-direction: column; gap: 8px;
}
.dock.is-on { display: flex; }
.dock-head {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--lo); padding-left: 2px;
}
.dock-card {
  display: grid; grid-template-columns: 8px 1fr 22px; gap: 10px; align-items: start;
  padding: 12px 12px 12px 10px; text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: border-color var(--fast), transform var(--fast);
  animation: dockIn .28s var(--ease) both;
}
@keyframes dockIn { from { opacity: 0; transform: translateY(8px); } }
.dock-card:hover { border-color: var(--line-2); transform: translateY(-1px); }
.dock-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; background: var(--lo); }
.dock-card.is-running .dock-dot { background: var(--sig); animation: dockPulse 1.4s ease-in-out infinite; }
.dock-card.is-done .dock-dot { background: var(--ok); }
.dock-card.is-error .dock-dot { background: var(--sig); }
@keyframes dockPulse { 50% { opacity: .3; } }
.dock-body { display: grid; gap: 3px; min-width: 0; }
.dock-tool {
  font-family: var(--mono); font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--lo);
}
.dock-name {
  font-size: 13px; color: var(--hi); overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
.dock-state { font-size: 11.5px; color: var(--mid); }
.dock-track { height: 2px; background: var(--line); margin-top: 4px; overflow: hidden; }
.dock-bar { display: block; height: 100%; width: var(--p, 0%); background: var(--sig); transition: width var(--mid-t); }
.dock-bar.is-indet { width: 40%; animation: dockSlide 1.1s var(--ease) infinite; }
@keyframes dockSlide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.dock-x {
  width: 22px; height: 22px; display: grid; place-items: center;
  color: var(--lo); border-radius: 2px; font-size: 14px; line-height: 1;
}
.dock-x:hover { color: var(--hi); background: var(--panel-2); }
.dock-x svg { width: 12px; height: 12px; }

@media (max-width: 720px) {
  .dock { right: 12px; left: 12px; bottom: 12px; width: auto; }
}
