/* ============ İnşaat ERP — Tasarım Sistemi ============ */

:root {
  /* Tipografi */
  --font-ui: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Yarıçap — Keskin Kurumsal: düşük, net köşeler */
  --r-sm: 5px;
  --r-md: 7px;
  --r-lg: 9px;
  --r-xl: 12px;

  /* Geçiş */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- AÇIK TEMA ---------- */
:root,
[data-theme="light"] {
  --bg: #f3f5f7;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --surface-hover: #eef1f4;
  --sidebar: #ffffff;
  --border: #e3e6ea;
  --border-strong: #d1d5dd;
  --text: #131720;
  --text-2: #475063;
  --muted: #79808f;
  --faint: #a3a9b5;

  --primary: #1f6feb;
  --primary-hover: #1860d4;
  --primary-soft: #e9f1fe;
  --primary-text: #1a63d6;

  --green: #18794e;
  --green-soft: #e6f4ec;
  --red: #c63434;
  --red-soft: #fbeaea;
  --amber: #b45309;
  --amber-soft: #fdf2e1;
  --violet: #6d4aff;
  --violet-soft: #efebff;

  /* Keskin Kurumsal: kenarlık odaklı, minimal gölge */
  --shadow-xs: 0 1px 1px rgba(16, 24, 40, 0.05);
  --shadow-sm: 0 1px 1.5px rgba(16, 24, 40, 0.04);
  --shadow-md: 0 1px 2px rgba(16, 24, 40, 0.05), 0 1px 1px rgba(16, 24, 40, 0.03);
  --shadow-lg: 0 10px 28px rgba(16, 24, 40, 0.09), 0 2px 5px rgba(16, 24, 40, 0.045);
  --shadow-pop: 0 16px 44px rgba(16, 24, 40, 0.15);

  --grid-line: #edf0f3;
}

/* ---------- KOYU TEMA ---------- */
[data-theme="dark"] {
  --bg: #0c0e12;
  --surface: #14171d;
  --surface-2: #1a1e25;
  --surface-hover: #1f242c;
  --sidebar: #101318;
  --border: #242832;
  --border-strong: #313844;
  --text: #e8ebf0;
  --text-2: #aab2c0;
  --muted: #707887;
  --faint: #565d6b;

  --primary: #4493f8;
  --primary-hover: #5ba0f8;
  --primary-soft: #15233a;
  --primary-text: #6bb0ff;

  --green: #46c08a;
  --green-soft: #112a20;
  --red: #f87171;
  --red-soft: #2c1517;
  --amber: #e0a23a;
  --amber-soft: #2c2210;
  --violet: #9b86ff;
  --violet-soft: #1d1838;

  --shadow-xs: 0 1px 1px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-pop: 0 16px 48px rgba(0, 0, 0, 0.6);

  --grid-line: #20242c;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: normal;
}

#root { height: 100%; }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.tnum { font-variant-numeric: tabular-nums; }

::selection { background: var(--primary-soft); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ============ LAYOUT ============ */
.app {
  display: grid;
  grid-template-columns: var(--sidebar-w, 248px) 1fr;
  grid-template-rows: 100%;
  height: 100%;
  overflow: hidden;
  transition: grid-template-columns 0.22s var(--ease);
}
.app.collapsed { --sidebar-w: 68px; }

/* ---------- Sidebar ---------- */
.sidebar {
  background: var(--sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px 18px 14px;
  min-height: 60px;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--primary);
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 19px; height: 19px; }
.brand-name { font-weight: 800; font-size: 15px; letter-spacing: -0.02em; white-space: nowrap; }
.brand-sub { font-size: 10.5px; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }

.nav { flex: 1; overflow-y: auto; padding: 6px 10px 16px; }
.nav-group-label {
  font-size: 10.5px; font-weight: 700; color: var(--faint);
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 14px 10px 6px;
  white-space: nowrap;
}
.collapsed .nav-group-label { opacity: 0; height: 14px; padding: 6px 0; }
.nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 10px;
  border-radius: var(--r-md);
  color: var(--text-2);
  font-size: 13.5px; font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s, color 0.12s;
  position: relative;
  border: none; background: none; width: 100%; text-align: left;
  font-family: inherit;
}
.nav-item:hover { background: var(--surface-hover); color: var(--text); }
.nav-item.active { background: var(--primary-soft); color: var(--primary-text); }
.nav-item .ic { width: 18px; height: 18px; flex-shrink: 0; }
.nav-item .ic svg { width: 18px; height: 18px; display: block; }
.nav-badge {
  margin-left: auto;
  font-size: 10.5px; font-weight: 700;
  background: var(--red-soft); color: var(--red);
  padding: 1px 6px; border-radius: 20px;
  font-family: var(--font-mono);
}
.collapsed .nav-label, .collapsed .nav-badge { opacity: 0; pointer-events: none; }
.collapsed .nav-item { justify-content: center; }

.sidebar-foot {
  border-top: 1px solid var(--border);
  padding: 10px;
}

/* ---------- Topbar ---------- */
.main { display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 100%; overflow: hidden; }
.topbar {
  height: 60px; flex-shrink: 0;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; flex-wrap: nowrap;
  gap: 14px; padding: 0 22px;
  position: sticky; top: 0; z-index: 30;
  /* overflow:hidden eski sürümde bildirim ve rol menülerini kırpıyordu;
     yatay taşma .main (overflow:hidden) tarafından zaten engellenir. */
  overflow: visible;
}
.topbar > * { flex-shrink: 0; }
.topbar .search { min-width: 0; }
.topbar .search span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  background: none; color: var(--text-2);
  display: grid; place-items: center; cursor: pointer;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.icon-btn:hover { background: var(--surface-hover); color: var(--text); }
.icon-btn svg { width: 19px; height: 19px; }

.search {
  flex: 1; max-width: 440px;
  display: flex; align-items: center; gap: 9px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 8px 12px;
  color: var(--muted);
  transition: border-color 0.12s, background 0.12s;
}
.search:focus-within { border-color: var(--primary); background: var(--surface); }
.search input {
  border: none; background: none; outline: none;
  font-family: inherit; font-size: 13.5px; color: var(--text);
  flex: 1; width: 100%;
}
.search input::placeholder { color: var(--muted); }
.search kbd {
  font-family: var(--font-mono); font-size: 11px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 5px; padding: 1px 6px; color: var(--muted);
}

.spacer { flex: 1; }

/* Role pill */
.role-pill {
  display: flex; align-items: center; gap: 9px;
  padding: 5px 10px 5px 6px;
  border: 1px solid var(--border);
  border-radius: 22px; background: var(--surface);
  cursor: pointer; transition: border-color 0.12s, background 0.12s;
}
.role-pill:hover { border-color: var(--border-strong); background: var(--surface-hover); }
.avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.role-meta { line-height: 1.2; text-align: left; display: flex; flex-direction: column; }
.role-name { font-size: 12.5px; font-weight: 700; }
.role-job { font-size: 10.5px; color: var(--muted); font-weight: 600; }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
  padding: 6px; min-width: 248px; z-index: 60;
  animation: pop 0.14s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(0.99); } }
.dd-label { font-size: 10.5px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: 0.05em; padding: 8px 10px 4px; }
.dd-item {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 10px; border-radius: var(--r-sm);
  cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text-2);
  border: none; background: none; width: 100%; text-align: left; font-family: inherit;
}
.dd-item:hover { background: var(--surface-hover); color: var(--text); }
.dd-item.active { color: var(--primary-text); }
.dd-item .check { margin-left: auto; color: var(--primary); }

/* ---------- Content ---------- */
.content { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-gutter: stable; }
.page { padding: 26px 30px 60px; max-width: 1400px; margin: 0 auto; }
.page-head { margin-bottom: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.page-title { font-size: 23px; font-weight: 800; letter-spacing: -0.025em; margin: 0; line-height: 1.2; }
.page-sub { font-size: 13.5px; color: var(--muted); margin: 4px 0 0; font-weight: 500; }
.breadcrumb { font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 7px; display: flex; align-items: center; gap: 6px; }
.breadcrumb .sep { color: var(--faint); }

/* ============ COMPONENTS ============ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.card-pad { padding: 18px 20px; }
.card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 20px; border-bottom: 1px solid var(--border); gap: 12px;
}
.card-title { font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.card-desc { font-size: 12px; color: var(--muted); margin: 2px 0 0; font-weight: 500; }

.grid { display: grid; gap: 16px; }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }

/* KPI stat — Keskin Kurumsal imzası: mavi üst aksan, BB etiket, mono değer */
.stat { padding: 17px 18px; position: relative; overflow: hidden; }
.card.stat { border-top: 2px solid var(--primary); border-top-left-radius: 4px; border-top-right-radius: 4px; }
.stat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.stat-label { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.stat-icon { width: 34px; height: 34px; border-radius: var(--r-sm); display: grid; place-items: center; }
.stat-icon svg { width: 18px; height: 18px; }
.stat-value { font-family: var(--font-mono); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; line-height: 1; }
.stat-value .cur { font-size: 14px; color: var(--muted); font-weight: 600; margin-left: 2px; }
.stat-foot { margin-top: 9px; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.delta { display: inline-flex; align-items: center; gap: 3px; padding: 1px 6px; border-radius: 6px; font-size: 11.5px; font-weight: 700; }
.delta.up { color: var(--green); background: var(--green-soft); }
.delta.down { color: var(--red); background: var(--red-soft); }
.delta svg { width: 12px; height: 12px; }
.stat-foot .note { color: var(--muted); font-weight: 500; }

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 700;
  padding: 2px 9px; border-radius: 20px;
  white-space: nowrap;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; }
.badge.green { color: var(--green); background: var(--green-soft); }
.badge.red { color: var(--red); background: var(--red-soft); }
.badge.amber { color: var(--amber); background: var(--amber-soft); }
.badge.blue { color: var(--primary-text); background: var(--primary-soft); }
.badge.violet { color: var(--violet); background: var(--violet-soft); }
.badge.gray { color: var(--text-2); background: var(--surface-hover); }

/* Button */
.btn {
  display: inline-flex; align-items: center; gap: 7px; justify-content: center;
  font-family: inherit; font-size: 13px; font-weight: 700;
  padding: 9px 14px; border-radius: var(--r-md);
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  cursor: pointer; transition: all 0.12s; white-space: nowrap;
}
.btn:hover { background: var(--surface-hover); border-color: var(--border-strong); }
.btn svg { width: 16px; height: 16px; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn.primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--text-2); }
.btn.ghost:hover { background: var(--surface-hover); color: var(--text); }
.btn.sm { padding: 6px 10px; font-size: 12px; }
.btn.danger { color: var(--red); }

/* Table */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl thead th {
  text-align: left; font-size: 11px; font-weight: 700;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em;
  padding: 11px 16px; border-bottom: 1px solid var(--border);
  white-space: nowrap; position: sticky; top: 0; background: var(--surface);
}
.tbl thead th.num, .tbl td.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tbody td { padding: 12px 16px; border-bottom: 1px solid var(--grid-line); color: var(--text-2); }
.tbl tbody tr { transition: background 0.1s; }
.tbl tbody tr:hover { background: var(--surface-hover); }
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl td .strong { color: var(--text); font-weight: 700; }
.cell-main { color: var(--text); font-weight: 600; }

/* Progress */
.bar { height: 7px; border-radius: 20px; background: var(--surface-hover); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 20px; }

/* Avatar mini stack */
.mini-av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; color: #fff; border: 2px solid var(--surface); }

/* Segment */
.segment { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 3px; gap: 2px; }
.segment button {
  border: none; background: none; font-family: inherit; font-size: 12.5px; font-weight: 600;
  color: var(--text-2); padding: 6px 13px; border-radius: 6px; cursor: pointer; transition: all 0.12s;
}
.segment button.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

/* Field */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--text-2); }
.field .req { color: var(--red); }
.input, .select, textarea.input,
.inp, select.inp, textarea.inp {
  font-family: inherit; font-size: 13.5px; color: var(--text);
  padding: 9px 12px; border-radius: var(--r-md);
  border: 1px solid var(--border); background: var(--surface-2);
  outline: none; transition: border-color 0.12s, background 0.12s; width: 100%;
}
.input:focus, .select:focus, textarea.input:focus,
.inp:focus, select.inp:focus, textarea.inp:focus { border-color: var(--primary); background: var(--surface); }
.input.mono, .inp.mono { font-family: var(--font-mono); }
.inp:disabled, .input:disabled, .select:disabled, select.inp:disabled { opacity: 0.6; cursor: not-allowed; background: var(--surface-hover); }
.hint { font-size: 11.5px; color: var(--muted); }

/* Drawer / modal */
.overlay {
  position: fixed; inset: 0; background: rgba(8, 11, 18, 0.45);
  z-index: 100; display: flex; justify-content: flex-end;
  animation: fade 0.18s var(--ease); backdrop-filter: blur(2px);
}
@keyframes fade { from { opacity: 0; } }
.drawer {
  width: 480px; max-width: 92vw; height: 100%;
  background: var(--surface); border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-pop);
  animation: slide 0.24s var(--ease);
}
@keyframes slide { from { transform: translateX(40px); opacity: 0.6; } }
.drawer-head { padding: 18px 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.drawer-body { flex: 1; overflow-y: auto; padding: 22px; }
.drawer-foot { padding: 16px 22px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }

/* List rows */
.lrow { display: flex; align-items: center; gap: 13px; padding: 11px 0; border-bottom: 1px solid var(--grid-line); }
.lrow:last-child { border-bottom: none; }
.lrow .li-icon { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.lrow .li-main { flex: 1; min-width: 0; }
.lrow .li-title { font-size: 13px; font-weight: 700; color: var(--text); }
.lrow .li-sub { font-size: 11.5px; color: var(--muted); font-weight: 500; }

/* Toast */
.toasts { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  padding: 12px 14px; display: flex; align-items: center; gap: 11px;
  min-width: 280px; animation: pop 0.2s var(--ease);
}
.toast .t-icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
.toast .t-title { font-size: 13px; font-weight: 700; }
.toast .t-sub { font-size: 11.5px; color: var(--muted); }

/* AI card */
.ai-card { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px 18px; background: var(--surface); position: relative; overflow: hidden; }
.ai-card.crit { border-color: color-mix(in srgb, var(--red) 35%, var(--border)); }
.ai-strip { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }

/* Empty / misc */
.muted { color: var(--muted); }
.divider { height: 1px; background: var(--border); margin: 16px 0; }
.tag-dot { width: 9px; height: 9px; border-radius: 3px; flex-shrink: 0; }

/* Mobile preview frame */
.section-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 14px; }

/* Responsive */
@media (max-width: 1100px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .app { grid-template-columns: 1fr !important; }
  .sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; width: 264px; z-index: 95;
    transform: translateX(-100%); transition: transform 0.24s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .sidebar[data-mobile-open="true"] { transform: translateX(0); }
  .app.collapsed .sidebar { width: 264px; }
  .collapsed .nav-label, .collapsed .nav-badge, .collapsed .brand-name, .collapsed .brand-sub { opacity: 1; }
  .collapsed .nav-item { justify-content: flex-start; }
  .mobile-only { display: grid !important; }
  .sidebar-foot { display: none; }
}
@media (max-width: 720px) {
  .cols-4, .cols-3, .cols-2 { grid-template-columns: 1fr; }
  .page { padding: 18px 16px 50px; }
  .search { display: none; }
  .role-meta { display: none; }
  .grid[style*="1.55fr"], .grid[style*="1.4fr"], .grid[style*="1.3fr"] { grid-template-columns: 1fr !important; }
  .topbar { padding: 0 14px; gap: 8px; }
  .page-title { font-size: 20px; }
}

/* fade-in page — opacity'siz: throttled iframe'de takılsa bile içerik görünür kalır */
@media (prefers-reduced-motion: no-preference) {
  .page-enter { animation: pageIn 0.3s var(--ease); }
}
@keyframes pageIn { from { transform: translateY(7px); } }

/* chart tooltip */
.chart-tip {
  position: absolute; pointer-events: none;
  background: var(--text); color: var(--surface);
  font-size: 11.5px; font-weight: 700; padding: 5px 9px; border-radius: 7px;
  white-space: nowrap; transform: translate(-50%, -120%); z-index: 5;
  box-shadow: var(--shadow-lg);
  font-variant-numeric: tabular-nums;
}
.chart-tip::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--text); }

/* ============ TWEAK VARYASYONLARI ============ */
/* KPI kart stilleri */
.kpi-raised .stat { border-color: transparent; box-shadow: var(--shadow-md); }
.kpi-bar .stat { border-top: 3px solid var(--primary); border-radius: 3px 3px var(--r-lg) var(--r-lg); }
.kpi-soft .stat { background: var(--primary-soft); border-color: transparent; }
.kpi-soft .stat .stat-label { color: var(--text-2); }

/* Tablo yoğunluğu */
.dense .tbl tbody td { padding-top: 7px; padding-bottom: 7px; }
.dense .tbl thead th { padding-top: 8px; padding-bottom: 8px; }
.relaxed .tbl tbody td { padding-top: 16px; padding-bottom: 16px; }

/* Sidebar aktif stil */
.nav-fill .nav-item.active { background: var(--primary); color: #fff; }
.nav-fill .nav-item.active .nav-badge { background: rgba(255,255,255,0.22); color: #fff; }
.nav-line .nav-item.active { background: transparent; box-shadow: inset 2.5px 0 0 var(--primary); border-radius: 0 var(--r-md) var(--r-md) 0; }
