/* AquaLoss Pro — stil dosyası (bilimsel SaaS görünümü, açık/koyu tema, duyarlı) */
:root {
  --bg: #f3f7fa; --card: #ffffff; --ink: #0f2330; --muted: #5a6f7f; --line: #dbe5ec; --soft: #eaf2f7;
  --brand: #0a6c93; --brand-ink: #ffffff; --accent: #12a8bd; --accent2: #6ccfe0;
  --good: #1b9e77; --warn: #d99100; --bad: #d1495b; --info: #2b7bb9;
  --shadow: 0 1px 2px rgba(15,35,48,.06), 0 6px 20px rgba(15,35,48,.06);
  --radius: 14px; --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
:root[data-theme="dark"] {
  --bg: #08141c; --card: #0f2230; --ink: #e6f1f7; --muted: #8fa8b8; --line: #1e3849; --soft: #14303f;
  --brand: #3bb4de; --brand-ink: #04202c; --accent: #25c2d8; --accent2: #1a7f90;
  --good: #3fcf9f; --warn: #f0b429; --bad: #ff6b7d; --info: #5aaee8;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.55; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); } h2 { font-size: 1.45rem; } h3 { font-size: 1.1rem; } h4 { font-size: .95rem; }
p { margin: 0 0 .8em; } a { color: var(--brand); }
code, pre, .mono { font-family: var(--mono); font-size: .88em; }
pre { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; overflow: auto; margin: .5em 0 1em; }
code { background: var(--soft); padding: 1px 5px; border-radius: 5px; }
pre code { background: none; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--brand-ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* Üst çubuk */
#top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { max-width: 1320px; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 8px 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; padding: 0; white-space: nowrap; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: .68rem; letter-spacing: .02em; margin-top: -2px; }
#nav { display: flex; gap: 2px; overflow-x: auto; flex: 1; scrollbar-width: thin; padding: 2px; }
#nav button { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 600; font-size: .86rem; padding: 8px 11px; border-radius: 9px; cursor: pointer; white-space: nowrap; }
#nav button:hover { background: var(--soft); color: var(--ink); }
#nav button[aria-current="page"] { background: var(--brand); color: var(--brand-ink); }
.ctl { display: flex; gap: 6px; align-items: center; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card); }
.seg button { border: 0; background: none; color: var(--muted); font: inherit; font-weight: 700; font-size: .8rem; padding: 6px 10px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); }
.icon-btn { border: 1px solid var(--line); background: var(--card); color: var(--ink); width: 36px; height: 34px; border-radius: 10px; cursor: pointer; font-size: 1rem; }
.icon-btn:hover { background: var(--soft); }
#save-state { font-size: .72rem; color: var(--muted); white-space: nowrap; }

main { max-width: 1320px; margin: 0 auto; padding: 22px 18px 60px; outline: none; }
footer { max-width: 1320px; margin: 0 auto; padding: 18px; color: var(--muted); font-size: .8rem; border-top: 1px solid var(--line); }
.view-title { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.view-title p { color: var(--muted); margin: 0; max-width: 780px; }

/* Kartlar, ızgara */
.grid { display: grid; gap: 14px; }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.cols-6 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); min-width: 0; }
.card > h3:first-child, .card > .card-h { margin-bottom: 10px; }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.card-h h3 { margin: 0; }
.stack > * + * { margin-top: 14px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row.end { justify-content: flex-end; } .grow { flex: 1; }
.muted { color: var(--muted); } .small { font-size: .82rem; } .tc { text-align: center; } .tr { text-align: right; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 15px; box-shadow: var(--shadow); border-left: 4px solid var(--accent); min-width: 0; }
.kpi .l { font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; display: flex; gap: 6px; align-items: center; }
.kpi .v { font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kpi .s { font-size: .78rem; color: var(--muted); }
.kpi.good { border-left-color: var(--good); } .kpi.warn { border-left-color: var(--warn); } .kpi.bad { border-left-color: var(--bad); } .kpi.info { border-left-color: var(--info); }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--soft); color: var(--ink); border: 1px solid var(--line); white-space: nowrap; }
.chip.ok, .chip.good { background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good); border-color: color-mix(in srgb, var(--good) 40%, transparent); }
.chip.warn { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); }
.chip.err, .chip.bad { background: color-mix(in srgb, var(--bad) 15%, transparent); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, transparent); }
.chip.info { background: color-mix(in srgb, var(--info) 15%, transparent); color: var(--info); border-color: color-mix(in srgb, var(--info) 40%, transparent); }
.band { display: inline-block; min-width: 24px; text-align: center; font-weight: 800; padding: 1px 8px; border-radius: 7px; color: #fff; }

/* Düğmeler, formlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font: inherit; font-weight: 700; font-size: .88rem; padding: 9px 15px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--soft); }
.btn.primary { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.btn.primary:hover { filter: brightness(1.1); }
.btn.accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.danger { color: var(--bad); }
.btn.sm { padding: 5px 10px; font-size: .78rem; border-radius: 8px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
label { font-size: .82rem; font-weight: 600; color: var(--ink); }
input[type=text], input[type=number], input[type=date], select, textarea {
  font: inherit; font-size: .9rem; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: 7px 10px; width: 100%; min-width: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
textarea { min-height: 110px; font-family: var(--mono); font-size: .82rem; resize: vertical; }
input[type=range] { width: 100%; accent-color: var(--accent); }
input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--brand); }
.fields { display: grid; gap: 12px 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.field { display: flex; flex-direction: column; gap: 4px; }
.field .in { display: flex; align-items: center; gap: 6px; }
.field .u { font-size: .74rem; color: var(--muted); white-space: nowrap; min-width: 38px; }
.field.err input { border-color: var(--bad); }

/* İpucu (ⓘ) */
.tip { position: relative; display: inline-flex; width: 17px; height: 17px; border-radius: 50%; background: var(--soft); color: var(--brand); border: 1px solid var(--line); font-size: .68rem; font-weight: 800; align-items: center; justify-content: center; cursor: help; flex: none; text-transform: none; letter-spacing: 0; }
.tip::after { content: attr(data-tip); position: absolute; z-index: 40; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: max-content; max-width: min(300px, 70vw); background: #0f2330; color: #eaf4fa; font-size: .76rem; font-weight: 500; line-height: 1.4; padding: 8px 10px; border-radius: 8px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .12s; text-align: left; white-space: normal; }
.tip:hover::after, .tip:focus::after { opacity: 1; }

/* Notlar */
.note { border: 1px solid var(--line); border-left: 4px solid var(--info); background: color-mix(in srgb, var(--info) 8%, var(--card)); border-radius: 10px; padding: 10px 14px; margin: 10px 0; font-size: .9rem; }
.note.warn { border-left-color: var(--warn); background: color-mix(in srgb, var(--warn) 10%, var(--card)); }
.note.err { border-left-color: var(--bad); background: color-mix(in srgb, var(--bad) 9%, var(--card)); }
.note.good { border-left-color: var(--good); background: color-mix(in srgb, var(--good) 9%, var(--card)); }
.note b:first-child { display: block; margin-bottom: 2px; }
.meaning { border-left: 4px solid var(--accent); background: var(--soft); padding: 10px 14px; border-radius: 10px; margin-top: 12px; }
.meaning h4 { margin: 0 0 4px; color: var(--brand); } .meaning p:last-child { margin-bottom: 0; }

/* Tablolar */
.tw { overflow: auto; max-width: 100%; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: .84rem; }
th, td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { background: var(--soft); font-weight: 700; position: sticky; top: 0; z-index: 1; white-space: nowrap; }
th button { background: none; border: 0; font: inherit; font-weight: 700; color: inherit; cursor: pointer; padding: 0; }
th button:hover { color: var(--brand); }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; }
tbody tr:hover td { background: color-mix(in srgb, var(--accent) 7%, transparent); }
tbody tr:last-child td { border-bottom: 0; }
.dt-bar { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.dt-bar input { max-width: 240px; }
.dt-pager { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin-top: 8px; font-size: .8rem; color: var(--muted); }
table.et td { padding: 3px 4px; } table.et input, table.et select { padding: 5px 7px; font-size: .82rem; min-width: 74px; }
table.et td.id input { min-width: 64px; }
table.et th { font-size: .74rem; }
.xbtn { border: 0; background: none; color: var(--bad); font-size: 1.1rem; cursor: pointer; padding: 2px 7px; border-radius: 6px; }
.xbtn:hover { background: color-mix(in srgb, var(--bad) 12%, transparent); }

/* Sekmeler (alt) */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; font: inherit; font-weight: 700; color: var(--muted); padding: 9px 13px; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }
.tabs button:hover { color: var(--ink); }

/* Grafik kutuları */
.cbox { position: relative; height: 320px; } .cbox.tall { height: 400px; } .cbox.short { height: 240px; }
.cbox canvas { max-width: 100%; }
.cbar { display: flex; justify-content: flex-end; gap: 6px; margin-top: 6px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 26px; border-radius: 22px; color: #eaf6fb; position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 85% 0%, rgba(18,168,189,.45), transparent 60%), linear-gradient(135deg, #062f45 0%, #0a4a68 55%, #0a6c93 100%); box-shadow: var(--shadow); }
.hero h1 { color: #fff; margin-bottom: .25em; } .hero .lead { font-size: 1.08rem; color: #cfe8f2; max-width: 56ch; }
.eyebrow { display: inline-block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: #7fe0ee; margin-bottom: 8px; }
.hero .btn { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: #fff; } .hero .btn:hover { background: rgba(255,255,255,.18); }
.hero .btn.primary { background: #19c1d8; border-color: #19c1d8; color: #04202c; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.hero-badges li { font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.hero-vis { position: relative; min-height: 330px; border-radius: 16px; background: rgba(2,18,28,.45); border: 1px solid rgba(255,255,255,.14); overflow: hidden; }
.hero-vis canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-legend { position: absolute; left: 10px; right: 10px; bottom: 8px; display: flex; gap: 12px; flex-wrap: wrap; font-size: .7rem; color: #bfe3ee; }
.hero-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.feat { display: flex; flex-direction: column; gap: 6px; cursor: pointer; transition: transform .12s, border-color .12s; text-align: left; font: inherit; color: inherit; }
.feat:hover { transform: translateY(-2px); border-color: var(--accent); }
.feat .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--soft); display: grid; place-items: center; font-size: 1.25rem; }
.feat h3 { margin: 4px 0 0; font-size: 1rem; } .feat p { margin: 0; color: var(--muted); font-size: .85rem; }
.steps { display: flex; gap: 8px; flex-wrap: wrap; counter-reset: s; padding: 0; list-style: none; margin: 0; }
.steps li { flex: 1 1 150px; counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: .84rem; cursor: pointer; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 800; font-size: .78rem; margin-right: 8px; }
.steps li:hover { border-color: var(--accent); }

/* Drop zone */
.dz { border: 2px dashed var(--accent); border-radius: 14px; padding: 26px; text-align: center; background: color-mix(in srgb, var(--accent) 6%, var(--card)); cursor: pointer; transition: background .15s; }
.dz.over { background: color-mix(in srgb, var(--accent) 18%, var(--card)); }
.dz .big { font-size: 2rem; }
.rep-item { display: flex; gap: 8px; align-items: flex-start; padding: 5px 0; border-bottom: 1px dashed var(--line); font-size: .86rem; }
.rep-item:last-child { border-bottom: 0; }

/* Kalite skoru */
.score { display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%; font-size: 1.9rem; font-weight: 800; border: 8px solid var(--line); flex: none; }
.score.ok { border-color: var(--good); color: var(--good); } .score.warn { border-color: var(--warn); color: var(--warn); } .score.err { border-color: var(--bad); color: var(--bad); }

/* IWA su dengesi matrisi */
.iwa { display: grid; grid-template-columns: 1.1fr 1.5fr 1.7fr 1fr; grid-template-rows: repeat(4, minmax(64px, auto)); gap: 4px; font-size: .8rem; }
.iwa > div { border-radius: 8px; padding: 8px 9px; color: #fff; display: flex; flex-direction: column; justify-content: center; line-height: 1.25; }
.iwa b { font-size: .95rem; font-variant-numeric: tabular-nums; }
.iwa small { opacity: .9; font-size: .72rem; }
.iwa .siv { grid-column: 1; grid-row: 1 / 5; background: #0a4a68; text-align: center; }
.iwa .ac { grid-column: 2; grid-row: 1 / 3; background: #1d7fa6; } .iwa .wl { grid-column: 2; grid-row: 3 / 5; background: #7a4b9e; }
.iwa .bill { grid-column: 3; grid-row: 1; background: #2a9d8f; } .iwa .unb { grid-column: 3; grid-row: 2; background: #6c8ea4; }
.iwa .app { grid-column: 3; grid-row: 3; background: #d98a1d; } .iwa .real { grid-column: 3; grid-row: 4; background: #cf4a5c; }
.iwa .rw { grid-column: 4; grid-row: 1; background: #1b9e77; } .iwa .nrw { grid-column: 4; grid-row: 2 / 5; background: #5b6b78; }
.iwa .sub { font-size: .7rem; opacity: .92; margin-top: 3px; }
@media (max-width: 760px) { .iwa { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } .iwa > div { grid-row: auto !important; grid-column: auto !important; } }

/* Simülasyon */
.sim-wrap { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 980px) { .sim-wrap { grid-template-columns: 1fr; } }
.slider-row { padding: 8px 0; border-bottom: 1px dashed var(--line); } .slider-row:last-child { border-bottom: 0; }
.slider-row .top { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.slider-row .top label { display: flex; gap: 8px; align-items: center; flex: 1; }
.slider-row output { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 44px; text-align: right; }
.netbox { position: relative; height: 420px; background: #04202c; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.netbox canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.netbox .cap { position: absolute; left: 10px; top: 8px; color: #bfe3ee; font-size: .74rem; }
.netbox .leg { position: absolute; right: 10px; bottom: 8px; display: flex; gap: 8px; color: #bfe3ee; font-size: .7rem; flex-wrap: wrap; justify-content: flex-end; }
.netbox .leg i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; }

/* Öneriler / zaman çizelgesi */
.rec { border: 1px solid var(--line); border-left: 5px solid var(--info); border-radius: 12px; padding: 12px 15px; background: var(--card); }
.rec.high { border-left-color: var(--bad); } .rec.med { border-left-color: var(--warn); } .rec.low { border-left-color: var(--good); }
.rec h4 { margin: 0 0 4px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rec ul { margin: 6px 0 0 18px; padding: 0; }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.phase { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 12px; padding: 12px 14px; }
.phase h4 { margin: 0 0 6px; color: var(--brand); } .phase ul { margin: 0 0 0 18px; padding: 0; font-size: .86rem; }
details { border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin-bottom: 10px; }
details > summary { cursor: pointer; padding: 12px 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
details > summary::after { content: "＋"; color: var(--brand); } details[open] > summary::after { content: "－"; }
details > .dbody { padding: 0 16px 14px; }
.eq { font-family: var(--mono); background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; margin: 6px 0; overflow-x: auto; white-space: pre; font-size: .86rem; }
.flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.flow .nd { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 6px 11px; font-weight: 700; font-size: .82rem; }
.flow .ar { color: var(--muted); font-weight: 800; }
#toasts { position: fixed; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 8px; z-index: 200; max-width: min(380px, 92vw); }
.toast { background: #0f2330; color: #eaf4fa; padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); font-size: .86rem; border-left: 4px solid var(--accent); animation: tin .2s ease-out; }
.toast.err { border-left-color: var(--bad); } .toast.warn { border-left-color: var(--warn); } .toast.ok { border-left-color: var(--good); }
@keyframes tin { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.empty { text-align: center; padding: 34px 18px; } .empty .big { font-size: 2.4rem; }
iframe.report { width: 100%; height: 720px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.live { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 10px 14px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); font-size: .86rem; position: sticky; top: 56px; z-index: 5; }
.live b { font-variant-numeric: tabular-nums; }
.pbar { height: 10px; background: var(--soft); border-radius: 99px; overflow: hidden; border: 1px solid var(--line); } .pbar > i { display: block; height: 100%; background: var(--accent); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding: 18px; } #save-state { display: none; } .bar { flex-wrap: wrap; } #nav { order: 3; flex-basis: 100%; } .brand small { display: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.field .msg { display: none; color: var(--bad); font-size: .74rem; } .field.err .msg { display: block; }
@media (max-width: 1500px) { .bar { flex-wrap: wrap; } #nav { order: 3; flex-basis: 100%; } .brand small { display: block; } }
