/* IXIPUAH (BAPC Enterprise Photography): Onyx & Copper Orange identity, IXIPUAH Visual Package Addendum v1.0.
   Colour rule: the photo canvas surround stays neutral (near-black, no copper light) so it never tints grading. */
:root {
  --onyx: #101113; --charcoal: #303238; --copper: #F17A32; --soft-copper: #C9A27B; --ivory: #F7F1E8;
  --bg: var(--onyx); --panel: #1a1b1f; --panel2: #24262b; --raised: var(--charcoal); --line: #34363d; --line2: #45474f;
  --text: var(--ivory); --muted: #a9a29a; --accent: var(--copper); --accent2: #ff9a5a; --accent-soft: rgba(241, 122, 50, .14);
  --canvas: #0a0a0a; --ok: #52c47e; --bad: #ef5b4b; --radius: 10px; --focus: 0 0 0 2px var(--onyx), 0 0 0 4px var(--copper);
  color-scheme: dark;
  font: 14px/1.45 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
a { color: var(--accent2); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
button, .button { font: inherit; color: var(--text); background: var(--panel2); border: 1px solid var(--line); border-radius: 7px; padding: 6px 12px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
button svg, .button svg { width: 18px; height: 18px; flex: none; }
button:hover, .button:hover { border-color: var(--line2); background: #2b2d33; }
button.primary, .button.primary { background: var(--copper); color: #1b0d03; border-color: var(--copper); font-weight: 600; }
button.primary:hover, .button.primary:hover { background: var(--accent2); }
button.outline, .button.outline { background: transparent; border-color: var(--copper); color: var(--accent2); }
button.danger { color: var(--bad); }
button.on, .button.on { border-color: var(--copper); color: var(--accent2); background: var(--accent-soft); }
button:disabled { opacity: .45; cursor: default; }
input, select, textarea { font: inherit; color: var(--text); background: #121316; border: 1px solid var(--line); border-radius: 7px; padding: 6px 8px; }
textarea { width: 100%; min-height: 60px; resize: vertical; }
input[type=range] { padding: 0; accent-color: var(--copper); width: 100%; background: transparent; border: 0; }
input[type=checkbox] { accent-color: var(--copper); }
label { color: var(--muted); }
h1, h2, h3 { margin: 0 0 8px; font-weight: 600; }
h1 { font-size: 24px; } h2 { font-size: 17px; } h3 { font-size: 12px; color: var(--soft-copper); text-transform: uppercase; letter-spacing: .08em; }
.serif { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.muted { color: var(--muted); } .small { font-size: 12px; } .ok { color: var(--ok); } .bad { color: var(--bad); } .copper { color: var(--copper); }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.card > h2:first-child { display: flex; align-items: center; gap: 8px; }
.narrow { max-width: 560px; margin: 8vh auto; }
.simple { padding: 16px; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; }
.pill { display: inline-block; padding: 1px 8px; border-radius: 99px; background: var(--panel2); border: 1px solid var(--line); font-size: 12px; }
.pill.ok { color: var(--ok); border-color: #2c5a44; } .pill.bad { color: var(--bad); border-color: #6b3128; } .pill.copper { color: #1b0d03; background: var(--copper); border-color: var(--copper); }
.dotlive { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); display: inline-block; }
.dotlive.on { background: var(--ok); box-shadow: 0 0 8px var(--ok); } .dotlive.rec { background: var(--bad); box-shadow: 0 0 8px var(--bad); }

/* ---------- shell ---------- */
header.top { display: flex; align-items: center; gap: 16px; padding: 10px 18px; border-bottom: 1px solid var(--line); background: #0c0d0f; position: sticky; top: 0; z-index: 20; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ivory); }
.brand .mark { width: 34px; height: 34px; }
.brand b { font-family: Georgia, serif; font-weight: 400; font-size: 24px; letter-spacing: .28em; }
.brand small { display: block; font-size: 9px; letter-spacing: .22em; color: var(--soft-copper); margin-top: -3px; }
.search { display: flex; align-items: center; gap: 8px; background: #141518; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; min-width: 260px; flex: 0 1 420px; }
.search input { border: 0; background: transparent; padding: 8px 0; width: 100%; }
.modules { display: flex; gap: 2px; }
.modules a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 14px; color: var(--muted); text-decoration: none; border-radius: 8px 8px 0 0; font-size: 12.5px; border-bottom: 2px solid transparent; }
.modules a svg { width: 20px; height: 20px; }
.modules a:hover { color: var(--ivory); }
.modules a.active { color: var(--accent2); border-bottom-color: var(--copper); background: linear-gradient(to top, var(--accent-soft), transparent); }
.who { display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--charcoal); border: 1px solid var(--soft-copper); display: grid; place-items: center; font-weight: 600; color: var(--soft-copper); }
.who .n { line-height: 1.15; } .who .n small { display: block; color: var(--muted); font-size: 11.5px; }
.bapc-signin { background: var(--ivory); color: #111; border-color: var(--ivory); font-weight: 600; }
.bapc-signin::before { content: ""; width: 14px; height: 14px; border-radius: 3px; background: linear-gradient(135deg, var(--copper), #a24e17); }
.layout { display: grid; grid-template-columns: 236px 1fr; min-height: calc(100vh - 62px); }
.layout.work { grid-template-columns: 1fr; }
.layout.work aside.nav { display: none; }
aside.nav { background: #121316; border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 62px; height: calc(100vh - 62px); overflow-y: auto; }
aside.nav a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; color: #d8d1c6; text-decoration: none; border-radius: 9px; border: 1px solid transparent; }
aside.nav a svg { width: 20px; height: 20px; color: var(--soft-copper); flex: none; }
aside.nav a:hover { background: var(--panel2); }
aside.nav a.active { background: linear-gradient(90deg, rgba(241,122,50,.28), rgba(241,122,50,.08)); border-color: rgba(241,122,50,.7); color: var(--ivory); }
aside.nav a.active svg { color: var(--copper); }
aside.nav hr { border: 0; border-top: 1px solid var(--line); margin: 10px 4px; }
aside.nav .foot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
aside.nav .foot b { display: block; } aside.nav .foot small { color: var(--muted); font-size: 10px; letter-spacing: .12em; }
main.view { padding: 18px; min-width: 0; }
.layout.work main.view { padding: 10px; }

/* ---------- landing ---------- */
.landing { max-width: 1100px; margin: 0 auto; padding: 7vh 22px; }
.landing .hero { border-radius: 16px; overflow: hidden; position: relative; min-height: 380px; background: #0c0c0d url(/assets/hero-mountains.webp) right center / cover no-repeat; }
.landing .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0c0d0f 30%, rgba(12,13,15,.55) 62%, rgba(12,13,15,.1)); }
.landing .hero > div { position: relative; padding: 48px; max-width: 620px; }
.wordmark { font-family: Georgia, serif; font-size: 64px; letter-spacing: .04em; line-height: 1; margin: 6px 0 10px; background: linear-gradient(90deg, var(--ivory) 45%, var(--copper) 58%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { font-family: Georgia, serif; letter-spacing: .24em; color: #d9d0c3; font-size: 15px; }
.tagline { font-family: Georgia, serif; font-size: 28px; color: #d9d0c3; margin: 0 0 14px; }
.lead { font-size: 17px; color: #cfc7bb; }
.engines { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 24px 0; }
.engines div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.engines b { display: block; margin-bottom: 4px; color: var(--soft-copper); }

/* ---------- home dashboard ---------- */
.home { display: grid; grid-template-columns: 1fr 330px; gap: 16px; }
.home .hero { border-radius: 14px; overflow: hidden; position: relative; min-height: 330px; background: #0c0c0d url(/assets/hero-mountains.webp) right center / cover no-repeat; border: 1px solid var(--line); }
.home .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0c0d0f 28%, rgba(12,13,15,.6) 58%, rgba(12,13,15,.05)); }
.home .hero > div { position: relative; padding: 34px 38px; max-width: 600px; }
.home .hero .wordmark { font-size: 76px; }
.section-h { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 10px; }
.section-h h2 { margin: 0; font-size: 19px; }
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.project { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--text); }
.project:hover { border-color: var(--soft-copper); }
.project .img { aspect-ratio: 16/10; background: #0b0b0c center / cover no-repeat; display: grid; place-items: center; color: var(--muted); }
.project .p { padding: 10px 12px; } .project .p b { display: block; } .project .p small { color: var(--muted); }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
.tool { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--text); }
.tool:hover { border-color: var(--copper); }
.tool .img { aspect-ratio: 4/3; background: #0b0b0c center / cover no-repeat; }
.tool .p { padding: 10px 12px; } .tool b { display: block; margin-bottom: 2px; } .tool small { color: var(--muted); }
.side-cards { display: flex; flex-direction: column; gap: 14px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 13px; } .kv span:nth-child(odd) { color: var(--muted); }
.donut { width: 120px; height: 120px; }
.activity > div { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.activity .ic { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; color: var(--soft-copper); flex: none; }

/* ---------- library ---------- */
.lib { display: grid; grid-template-columns: 210px 1fr; gap: 14px; }
.side a { display: block; padding: 5px 9px; color: var(--muted); text-decoration: none; border-radius: 7px; }
.side a.active, .side a:hover { background: var(--panel2); color: var(--text); }
.side a.active { box-shadow: inset 2px 0 0 var(--copper); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.tile { background: var(--panel); border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; cursor: pointer; user-select: none; }
.tile.sel { border-color: var(--copper); }
.tile .img { aspect-ratio: 3/2; background: var(--canvas) center/contain no-repeat; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; }
.tile .meta { padding: 6px 8px; font-size: 12px; display: flex; gap: 6px; align-items: center; }
.tile .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.stars { color: var(--copper); letter-spacing: 1px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.red { background: #e5604d; } .dot.yellow { background: #e5c84d; } .dot.green { background: #4cb782; } .dot.blue { background: #5b9cf0; } .dot.purple { background: #a678e8; }
.toolbar { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }

/* ---------- workspaces (develop, compare, live shoot) ---------- */
.ws { display: grid; gap: 10px; height: calc(100vh - 82px); }
.ws.develop { grid-template-columns: 76px minmax(0, 1fr) 300px 300px; }
.ws.compare { grid-template-columns: 230px minmax(0, 1fr) 320px; }
.ws.live { grid-template-columns: 280px minmax(0, 1fr) 340px; }
.ws > section, .ws > aside { min-width: 0; min-height: 0; }
.rail { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; padding: 6px; gap: 2px; overflow-y: auto; }
.rail button { flex-direction: column; gap: 4px; border: 1px solid transparent; background: transparent; padding: 9px 2px; font-size: 11.5px; color: #d8d1c6; border-radius: 8px; }
.rail button svg { width: 24px; height: 24px; }
.rail button:hover { background: var(--panel2); }
.rail button.on { background: var(--accent-soft); border-color: var(--copper); color: var(--accent2); }
.center { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.stage { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; flex: 1; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); background: #141518; }
.tabs button { border: 0; border-radius: 0; background: transparent; padding: 10px 22px; color: var(--muted); border-bottom: 2px solid transparent; }
.tabs button.on { color: var(--ivory); background: linear-gradient(to top, rgba(241,122,50,.25), rgba(241,122,50,.05)); border-bottom-color: var(--copper); }
.infobar { display: flex; gap: 14px; align-items: center; padding: 7px 12px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: #d8d1c6; flex-wrap: wrap; }
.infobar b { color: var(--ivory); }
.badge { padding: 2px 7px; border-radius: 4px; border: 1px solid var(--line2); font-size: 11.5px; } .badge.copper { background: var(--copper); color: #1b0d03; border-color: var(--copper); font-weight: 600; }
.canvas-wrap { flex: 1; display: flex; align-items: center; justify-content: center; overflow: auto; position: relative; background: var(--canvas); min-height: 0; }
.canvas-wrap canvas { max-width: 100%; max-height: 100%; }
.canvas-wrap.zoom100 canvas { max-width: none; max-height: none; }
.overlay { position: absolute; inset: 0; pointer-events: none; }
.status { padding: 4px 12px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); display: flex; gap: 16px; flex-wrap: wrap; }
.strip { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; }
.strip .head { display: flex; gap: 14px; align-items: center; font-size: 13px; margin-bottom: 8px; flex-wrap: wrap; }
.strip .head .t { color: var(--muted); cursor: pointer; padding-bottom: 3px; border-bottom: 2px solid transparent; }
.strip .head .t.on { color: var(--ivory); border-bottom-color: var(--copper); }
.frames { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.frame { flex: none; width: 128px; background: #141518; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; color: var(--text); text-decoration: none; }
.frame.on { border-color: var(--copper); box-shadow: 0 0 12px rgba(241,122,50,.35); }
.frame .img { height: 80px; background: var(--canvas) center / cover no-repeat; }
.frame .p { padding: 3px 6px; font-size: 11px; display: flex; justify-content: space-between; gap: 4px; }
.frame .p span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.col { overflow-y: auto; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
details.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
details.panel > summary { padding: 9px 12px; cursor: pointer; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 8px; }
details.panel > summary::before { content: "✺"; color: var(--copper); font-size: 13px; }
details.panel > summary::after { content: "›"; color: var(--muted); margin-left: auto; transition: transform .15s; }
details.panel[open] > summary::after { transform: rotate(90deg); }
details.panel .body { padding: 2px 12px 12px; }
.slider { display: grid; grid-template-columns: 92px 1fr 46px; gap: 8px; align-items: center; margin: 4px 0; font-size: 12.5px; color: #d8d1c6; }
.slider span.v { text-align: right; color: var(--ivory); font-variant-numeric: tabular-nums; cursor: pointer; }
.slider select { padding: 3px 6px; }
.seg { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0; }
.seg button { padding: 3px 9px; font-size: 12px; }
.layer { border: 1px solid var(--line); border-radius: 8px; padding: 6px; margin: 6px 0; background: #16171a; }
.layer.active { border-color: var(--copper); }
.wheels { display: flex; justify-content: space-around; gap: 6px; margin: 4px 0 8px; }
.wheel { text-align: center; font-size: 11.5px; color: var(--muted); }
.wheel canvas { width: 74px; height: 74px; cursor: crosshair; display: block; margin: 0 auto 4px; border-radius: 50%; }
.histo { width: 100%; height: 86px; display: block; background: #0b0b0c; border-radius: 6px; }
.curve { width: 100%; aspect-ratio: 1 / .78; display: block; background: #0b0b0c; border-radius: 6px; cursor: crosshair; touch-action: none; }
.mini-tabs { display: flex; border-bottom: 1px solid var(--line); margin: -2px -12px 10px; }
.mini-tabs button { flex: 1; border: 0; border-radius: 0; background: transparent; color: var(--muted); padding: 9px; border-bottom: 2px solid transparent; }
.mini-tabs button.on { color: var(--ivory); background: linear-gradient(to top, rgba(241,122,50,.22), transparent); border-bottom-color: var(--copper); }
.list a, .list button { display: flex; width: 100%; gap: 8px; align-items: center; padding: 6px 9px; color: #d8d1c6; text-decoration: none; border-radius: 7px; background: transparent; border: 1px solid transparent; font-size: 13px; justify-content: flex-start; }
.list a:hover, .list button:hover { background: var(--panel2); }
.list .on { background: var(--accent-soft); border-color: var(--copper); color: var(--accent2); }
.navthumb { width: 100%; border-radius: 6px; display: block; background: var(--canvas); }
/* before / after */
.compare-wrap { position: relative; flex: 1; background: var(--canvas); overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 0; }
.compare-wrap .pair { position: relative; max-width: 100%; max-height: 100%; }
.compare-wrap canvas { display: block; max-width: 100%; max-height: calc(100vh - 330px); }
.compare-wrap .before { position: absolute; inset: 0; overflow: hidden; }
.compare-wrap .before canvas { max-width: none; max-height: none; }
.compare-wrap .divider { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--ivory); margin-left: -1px; cursor: ew-resize; }
.compare-wrap .knob { position: absolute; top: 50%; left: -19px; width: 38px; height: 38px; border-radius: 50%; background: rgba(16,17,19,.85); border: 1px solid var(--ivory); display: grid; place-items: center; transform: translateY(-50%); }
.tag { position: absolute; top: 12px; padding: 4px 12px; border-radius: 6px; background: rgba(16,17,19,.8); border: 1px solid var(--line2); font-size: 13px; }
/* live shoot */
.liveview { position: relative; flex: 1; background: var(--canvas); display: flex; align-items: center; justify-content: center; overflow: hidden; min-height: 0; }
.liveview video, .liveview canvas { max-width: 100%; max-height: 100%; }
.liveview .top-left { position: absolute; top: 12px; left: 14px; display: flex; gap: 8px; align-items: center; background: rgba(16,17,19,.7); padding: 4px 10px; border-radius: 6px; }
.liveview .readout { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; gap: 28px; align-items: center; background: rgba(16,17,19,.82); border: 1px solid var(--line); border-radius: 8px; padding: 9px 16px; font-size: 15px; }
.liveview .empty { color: var(--muted); text-align: center; max-width: 440px; }
.liveview .empty svg { width: 64px; height: 64px; color: var(--soft-copper); }
.shots .shot { display: flex; gap: 10px; align-items: center; padding: 6px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; }
.shots .shot.on { border-color: var(--copper); background: var(--accent-soft); }
.shots .shot img { width: 72px; height: 48px; object-fit: cover; border-radius: 4px; background: var(--canvas); }
.progress { height: 6px; background: #0c0d0e; border-radius: 3px; overflow: hidden; }
.progress > div { height: 100%; background: var(--copper); width: 0; transition: width .2s; }
.shutter { width: 74px; height: 74px; border-radius: 50%; border: 4px solid var(--copper); background: radial-gradient(circle, var(--accent2), var(--copper) 60%, #b4501a); padding: 0; box-shadow: 0 0 18px rgba(241,122,50,.45); }
.shutter:disabled { filter: grayscale(.8); }
.readouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.readouts div { border: 1px solid var(--line); border-radius: 8px; text-align: center; padding: 8px 4px; background: #141518; }
.readouts b { display: block; font-size: 18px; } .readouts small { color: var(--muted); font-size: 11px; }

/* misc */
.drop { border: 2px dashed var(--line2); border-radius: var(--radius); padding: 30px; text-align: center; color: var(--muted); }
.drop.over { border-color: var(--copper); color: var(--text); }
.toast { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); background: var(--charcoal); border: 1px solid var(--soft-copper); padding: 10px 16px; border-radius: 8px; z-index: 50; max-width: 90vw; }
.toast.bad { border-color: var(--bad); }
dialog { background: var(--panel); color: var(--text); border: 1px solid var(--line2); border-radius: 12px; max-width: 640px; width: 92vw; }
dialog::backdrop { background: rgba(0,0,0,.65); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.proof { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.proof img { width: 100%; display: block; background: var(--canvas); }
.proof .p { padding: 8px; }
.heart { font-size: 18px; }
.heart.on { color: var(--copper); border-color: var(--copper); }

@media (max-width: 1350px) {
  .ws.develop { grid-template-columns: 70px minmax(0, 1fr) 300px; }
  .ws.develop .col2 { display: none; }
  .ws.develop .col1 .only-wide { display: block; }
}
@media (max-width: 1050px) {
  .layout { grid-template-columns: 1fr; } aside.nav { display: none; }
  .home { grid-template-columns: 1fr; }
  .ws, .ws.develop, .ws.compare, .ws.live { grid-template-columns: 1fr; height: auto; }
  .rail { flex-direction: row; overflow-x: auto; } .canvas-wrap, .compare-wrap, .liveview { min-height: 55vh; }
  .modules { overflow-x: auto; max-width: 50vw; } .search { min-width: 0; }
  .lib { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .search, .who .n { display: none; } .home .hero .wordmark, .wordmark { font-size: 46px; } }
