:root {
    --paper:   #eaeef0;
    --card:    #ffffff;
    --ink:     #15202b;
    --ink-2:   #3c4b58;
    --muted:   #6d7d8a;
    --rule:    #d3dbe0;
    --rule-2:  #e6ebee;
    --up:      #0e7355;
    --up-bg:   #d9efe6;
    --down:    #b23a2b;
    --down-bg: #f6dfdb;
    --flat:    #8b98a3;
    --brass:   #a87523;
    --brass-bg:#f3e6cd;
    --shadow:  0 1px 0 rgba(21, 32, 43, .06), 0 6px 18px -12px rgba(21, 32, 43, .35);
    --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --sans: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 18px; }

body {
    margin: 0;
    background:
        linear-gradient(transparent 23px, rgba(21, 32, 43, .035) 24px),
        var(--paper);
    background-size: 100% 24px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- topbar ---------- */
.topbar {
    background: var(--ink);
    color: #eef2f4;
    border-bottom: 3px solid var(--brass);
}
.topbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; min-height: 68px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-mark {
    font-family: var(--mono); font-weight: 600; font-size: 15px;
    background: var(--brass); color: #1b1408;
    width: 34px; height: 34px; display: grid; place-items: center; border-radius: 3px;
}
.brand-text { font-family: var(--mono); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.brand-text small {
    display: block; font-family: var(--sans); font-size: 11px;
    letter-spacing: .02em; text-transform: none; color: #94a5b1;
}
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
    color: #b9c6cf; text-decoration: none; font-size: 13px;
    padding: 8px 14px; border-radius: 3px; letter-spacing: .03em;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav a.on { color: #1b1408; background: var(--brass); font-weight: 600; }

main.wrap { padding-top: 24px; padding-bottom: 40px; }

/* ---------- alerts ---------- */
.alert {
    padding: 11px 14px; border-radius: 3px; margin-bottom: 16px;
    font-size: 14px; border-left: 3px solid;
}
.alert.ok  { background: var(--up-bg);   border-color: var(--up);   color: #0a4635; }
.alert.bad { background: var(--down-bg); border-color: var(--down); color: #7d2419; }
.alert.inline { margin: 0 0 16px; }

/* ---------- day bar ---------- */
.daybar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
}
.daynav { display: flex; align-items: center; gap: 8px; }
.dateform input {
    font-family: var(--mono); font-size: 14px; padding: 8px 10px;
    border: 1px solid var(--rule); border-radius: 3px; background: var(--card); color: var(--ink);
}
.daycount { display: flex; align-items: baseline; gap: 10px; }
.count { font-family: var(--mono); font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.count em { font-style: normal; font-size: 20px; color: var(--muted); }
.count-label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }

/* ---------- panels ---------- */
.panel {
    background: var(--card); border: 1px solid var(--rule); border-radius: 4px;
    box-shadow: var(--shadow); margin-bottom: 20px; overflow: hidden;
}
.panel-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 18px; border-bottom: 1px solid var(--rule-2); flex-wrap: wrap;
}
.panel-head h2 {
    margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 600;
    letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.progress-text { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.muted { color: var(--muted); }
.pad { padding: 16px 18px; margin: 0; font-size: 14px; }

/* ---------- tape: 50 slot ---------- */
.tape {
    display: grid; grid-template-columns: repeat(25, 1fr); gap: 4px; padding: 18px;
}
.cell {
    position: relative; aspect-ratio: 1 / 1.35; border-radius: 2px;
    display: grid; place-items: center; text-decoration: none;
    border: 1px solid var(--rule); background: var(--rule-2);
    font-family: var(--mono); font-size: 10px; color: var(--muted);
    transition: transform .12s ease;
}
.cell-no { pointer-events: none; }
.cell.empty { border-style: dashed; background: transparent; color: #aab6bf; }
.cell.up    { background: var(--up-bg);   border-color: #9fd3c0; color: #0a4635; font-weight: 600; }
.cell.down  { background: var(--down-bg); border-color: #e3ada3; color: #7d2419; font-weight: 600; }
.cell.flat  { background: #e7ebee; border-color: var(--rule); color: var(--ink-2); }
a.cell:hover { transform: translateY(-2px); }
a.cell:focus-visible, a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

/* ---------- stats ---------- */
.grid-stats {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px; margin-bottom: 20px;
}
.stat {
    background: var(--card); border: 1px solid var(--rule); border-radius: 4px;
    padding: 14px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px;
}
.stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.stat-value { font-family: var(--mono); font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.stat-sub { font-size: 12px; color: var(--muted); }
.up { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--flat); }

/* ---------- equity curve ---------- */
.equity { width: 100%; height: 200px; display: block; padding: 8px 0; }
.equity .line { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.equity .line.up { stroke: var(--up); }
.equity .line.down { stroke: var(--down); }
.equity .line.flat { stroke: var(--flat); }
.equity .zero { stroke: var(--rule); stroke-dasharray: 4 4; }
.equity-legend {
    display: flex; gap: 18px; flex-wrap: wrap; padding: 0 18px 16px;
    font-family: var(--mono); font-size: 12px; color: var(--muted);
}

/* ---------- forms ---------- */
.entryform {
    display: grid; gap: 12px; padding: 18px;
    grid-template-columns: repeat(12, 1fr);
}
.field { display: flex; flex-direction: column; gap: 5px; grid-column: span 12; }
.field > span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.field input, .field select {
    font-family: var(--mono); font-size: 14px; padding: 9px 11px;
    border: 1px solid var(--rule); border-radius: 3px; background: #fbfcfc; color: var(--ink);
    width: 100%;
}
.field input::placeholder { color: #a9b5be; }
.f-sym   { grid-column: span 3; }
.f-dir   { grid-column: span 2; }
.f-lot   { grid-column: span 2; }
.f-price { grid-column: span 2; }
.f-pnl   { grid-column: span 3; }
.f-note  { grid-column: span 9; }
.f-act   { grid-column: span 3; justify-content: flex-end; }
#pnl { font-weight: 600; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    font-family: var(--sans); font-size: 14px; font-weight: 500;
    padding: 10px 16px; border-radius: 3px; border: 1px solid var(--rule);
    background: var(--card); color: var(--ink); text-decoration: none; cursor: pointer;
}
.btn:hover { background: #f2f5f6; }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: #22323f; }
.btn.primary[disabled] { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: transparent; }
.btn.small { padding: 6px 12px; font-size: 13px; }

/* ---------- table ---------- */
.table-scroll { overflow-x: auto; }
.blotter { width: 100%; border-collapse: collapse; font-size: 14px; }
.blotter th {
    text-align: left; font-family: var(--mono); font-size: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .12em; color: var(--muted);
    padding: 10px 12px; border-bottom: 1px solid var(--rule); white-space: nowrap;
}
.blotter td { padding: 9px 12px; border-bottom: 1px solid var(--rule-2); white-space: nowrap; }
.blotter tbody tr:hover { background: #f7f9fa; }
.blotter .num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.blotter .seq { font-family: var(--mono); color: var(--muted); width: 40px; }
.blotter .sym { font-family: var(--mono); font-weight: 600; letter-spacing: .02em; }
.blotter .pnl { font-weight: 600; }
.blotter .run { color: var(--ink-2); }
.blotter .note { white-space: normal; min-width: 200px; color: var(--ink-2); font-size: 13px; }
.blotter .time { font-family: var(--mono); color: var(--muted); font-size: 13px; }
.blotter .act { display: flex; gap: 10px; align-items: center; }
.blotter .act a, .linkbtn {
    font-size: 13px; color: var(--ink-2); text-decoration: none;
    background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--sans);
}
.blotter .act a:hover { color: var(--brass); text-decoration: underline; }
.linkbtn:hover { color: var(--down); text-decoration: underline; }
.blotter .act form { display: inline; }

.tag {
    font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .1em;
    padding: 3px 7px; border-radius: 2px; border: 1px solid;
}
.tag.buy  { color: #123f6b; border-color: #b6cde3; background: #e2edf6; }
.tag.sell { color: #6b3a12; border-color: #e3cdb6; background: #f6efe2; }

.bar { display: block; width: 120px; height: 6px; background: var(--rule-2); border-radius: 3px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--brass); }

/* ---------- analisa AI ---------- */
.meta-row {
    display: flex; gap: 18px; flex-wrap: wrap; padding: 12px 18px;
    font-family: var(--mono); font-size: 12px; color: var(--muted);
    border-bottom: 1px solid var(--rule-2); background: #fafbfc;
}
.ai-output { padding: 8px 18px 22px; max-width: 78ch; }
.ai-output h2, .ai-output h3, .ai-output h4 {
    font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; color: var(--brass);
    margin: 24px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--rule-2);
}
.ai-output p { margin: 0 0 12px; color: var(--ink-2); }
.ai-output ul, .ai-output ol { margin: 0 0 14px; padding-left: 20px; color: var(--ink-2); }
.ai-output li { margin-bottom: 6px; }
.ai-output strong { color: var(--ink); }
.ai-output code { font-family: var(--mono); font-size: 13px; background: var(--rule-2); padding: 1px 5px; border-radius: 2px; }

.analysis-list { list-style: none; margin: 0; padding: 0; }
.analysis-list li { border-bottom: 1px solid var(--rule-2); }
.analysis-list li:last-child { border-bottom: 0; }
.analysis-list a {
    display: grid; grid-template-columns: 110px 130px 120px 1fr; gap: 12px; align-items: center;
    padding: 12px 18px; text-decoration: none; color: var(--ink);
}
.analysis-list a:hover { background: #f7f9fa; }
.analysis-list li.on a { background: var(--brass-bg); }
.al-date { font-family: var(--mono); font-size: 13px; font-weight: 600; }
.al-focus { font-size: 13px; color: var(--ink-2); text-transform: capitalize; }
.al-net { font-family: var(--mono); font-size: 13px; font-weight: 600; text-align: right; }
.al-meta { font-size: 12px; color: var(--muted); }

/* ---------- unggah chart ---------- */
.f-drop { grid-column: span 12; }
.f-check { grid-column: span 9; flex-direction: row; align-items: center; gap: 9px; }
.f-check input { width: auto; }
.check-text { font-size: 13px; color: var(--ink-2); text-transform: none; letter-spacing: 0; }

.dropzone {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    padding: 28px 20px; text-align: center; cursor: pointer;
    border: 2px dashed var(--rule); border-radius: 4px; background: #fafbfc;
}
.dropzone:hover, .dropzone.over { border-color: var(--brass); background: var(--brass-bg); }
.dz-title { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--ink); }
.dz-sub { font-size: 12px; color: var(--muted); }

.dz-preview { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.dz-preview figure { margin: 0; width: 150px; }
.dz-preview img {
    width: 100%; height: 96px; object-fit: cover;
    border: 1px solid var(--rule); border-radius: 3px; background: var(--rule-2);
}
.dz-preview figcaption {
    font-size: 11px; color: var(--muted); margin-top: 4px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.chart-shots { display: flex; gap: 12px; flex-wrap: wrap; padding: 16px 18px 4px; }
.chart-shots img {
    max-width: 100%; max-height: 340px; border: 1px solid var(--rule);
    border-radius: 3px; display: block;
}
.context-note {
    margin: 12px 18px 0; padding: 10px 12px; font-size: 13px; color: var(--ink-2);
    background: var(--brass-bg); border-left: 3px solid var(--brass); border-radius: 2px;
}

.shot-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px; padding: 16px 18px;
}
.shot {
    display: block; text-decoration: none; color: var(--ink);
    border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; background: #fafbfc;
}
.shot:hover { border-color: var(--brass); }
.shot.on { border-color: var(--brass); box-shadow: 0 0 0 2px var(--brass-bg); }
.shot img { width: 100%; height: 100px; object-fit: cover; display: block; border-bottom: 1px solid var(--rule-2); }
.shot-meta { display: block; padding: 8px 10px; }
.shot-meta strong { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.shot-meta span { font-size: 11px; color: var(--muted); }

/* ---------- footer ---------- */
.foot {
    padding: 0 20px 32px; font-size: 12px; color: var(--muted);
    display: flex; gap: 12px; justify-content: space-between; align-items: baseline; flex-wrap: wrap;
}
.foot a { color: var(--ink-2); }

/* ---------- kotak pengguna ---------- */
.userbox { display: flex; align-items: center; gap: 10px; }
.username {
    font-family: var(--mono); font-size: 12px; color: #b9c6cf;
    max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.logout {
    font-family: var(--sans); font-size: 12px; color: #dbe4ea; cursor: pointer;
    background: transparent; border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 3px; padding: 6px 12px;
}
.logout:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- halaman masuk ---------- */
.auth-body {
    background: var(--ink);
    display: flex; align-items: center; justify-content: center; min-height: 100dvh; padding: 24px 16px;
}
.auth-shell { width: 100%; max-width: 400px; }
.auth-card {
    background: var(--card); border-radius: 5px; padding: 26px 24px 28px;
    border-top: 3px solid var(--brass); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8);
}
.auth-brand {
    display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
    padding-bottom: 18px; border-bottom: 1px solid var(--rule-2);
}
.auth-brand span {
    font-family: var(--mono); font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
}
.auth-brand small {
    display: block; font-family: var(--sans); font-size: 11px;
    letter-spacing: 0; text-transform: none; color: var(--muted); margin-top: 2px;
}
.auth-title { margin: 0 0 6px; font-size: 22px; font-weight: 600; }
.auth-sub { margin: 0 0 20px; font-size: 14px; color: var(--muted); }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form .field input { font-size: 16px; padding: 11px 12px; }
.btn.block { width: 100%; padding: 12px 16px; margin-top: 4px; }
.auth-foot { margin: 16px 0 0; text-align: center; font-size: 12px; color: #7f8f9b; }

/* ---------- menu bawah (mobile) ---------- */
.tabbar { display: none; }

/* ---------- halaman panduan ---------- */
.guide-hero {
    background: var(--ink); color: #eef2f4; border-radius: 4px;
    padding: 26px 24px; margin-bottom: 20px; border-bottom: 3px solid var(--brass);
}
.eyebrow {
    margin: 0 0 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
    text-transform: uppercase; color: var(--brass);
}
.guide-hero h1 {
    margin: 0 0 10px; font-family: var(--mono); font-size: 26px; font-weight: 600;
    letter-spacing: -.01em;
}
.lede { margin: 0 0 18px; max-width: 62ch; color: #c3d0d9; font-size: 15px; }
.guide-jump { display: flex; gap: 8px; flex-wrap: wrap; }
.guide-jump a {
    font-size: 12px; color: #dbe4ea; text-decoration: none; padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px;
}
.guide-jump a:hover { background: var(--brass); border-color: var(--brass); color: #1b1408; }

.guide-body { padding: 16px 18px 20px; max-width: 76ch; }
.guide-body p { margin: 0 0 12px; color: var(--ink-2); }
.guide-body ul { margin: 0 0 14px; padding-left: 20px; color: var(--ink-2); }
.guide-body li { margin-bottom: 6px; }
.guide-body h3 {
    margin: 22px 0 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
    text-transform: uppercase; color: var(--brass);
}
.guide-body code {
    font-family: var(--mono); font-size: 13px; background: var(--rule-2);
    padding: 1px 5px; border-radius: 2px;
}
.tip {
    padding: 11px 13px; background: var(--brass-bg); border-left: 3px solid var(--brass);
    border-radius: 2px; font-size: 14px; color: #6b4d15;
}

.flow { list-style: none; margin: 0; padding: 16px 18px 20px; counter-reset: flow; }
.flow li { display: flex; gap: 14px; padding-bottom: 18px; position: relative; }
.flow li:not(:last-child)::before {
    content: ''; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 1px; background: var(--rule);
}
.flow-no {
    flex: 0 0 auto; width: 31px; height: 31px; border-radius: 50%;
    display: grid; place-items: center; background: var(--ink); color: #fff;
    font-family: var(--mono); font-size: 13px; font-weight: 600; z-index: 1;
}
.flow strong { display: block; margin-bottom: 4px; font-size: 15px; }
.flow p { margin: 0; color: var(--ink-2); font-size: 14px; }

.deflist { margin: 0; }
.deflist dt {
    font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .06em;
    text-transform: uppercase; color: var(--ink); margin-top: 16px;
}
.deflist dt:first-child { margin-top: 0; }
.deflist dd { margin: 4px 0 0; padding-left: 0; color: var(--ink-2); font-size: 14px; }

.steps { margin: 0 0 6px; padding-left: 20px; color: var(--ink-2); }
.steps li { margin-bottom: 8px; }

.guide-body details {
    border: 1px solid var(--rule); border-radius: 3px; margin-bottom: 8px; background: #fafbfc;
}
.guide-body details[open] { background: var(--card); }
.guide-body summary {
    cursor: pointer; padding: 12px 14px; font-size: 14px; font-weight: 500; color: var(--ink);
    list-style: none; display: flex; justify-content: space-between; gap: 10px; align-items: center;
}
.guide-body summary::-webkit-details-marker { display: none; }
.guide-body summary::after {
    content: '+'; font-family: var(--mono); font-size: 17px; color: var(--brass); flex: 0 0 auto;
}
.guide-body details[open] summary::after { content: '\2212'; }
.guide-body details p { margin: 0 14px 12px; font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
    .tape { grid-template-columns: repeat(20, 1fr); }
}

@media (max-width: 860px) {
    .wrap { padding: 0 14px; }
    .nav { display: none; }
    .username { display: none; }
    .logout { padding: 5px 11px; font-size: 12px; }
    .topbar-inner { min-height: 0; padding: 12px 0; }
    .tabbar {
        display: grid; grid-template-columns: repeat(5, 1fr);
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
        background: var(--card); border-top: 1px solid var(--rule);
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -4px 16px -10px rgba(21, 32, 43, .5);
    }
    .tabbar a {
        display: flex; flex-direction: column; align-items: center; gap: 3px;
        padding: 9px 2px 8px; text-decoration: none; color: var(--muted); font-size: 10px;
        letter-spacing: .02em; border-top: 2px solid transparent;
    }
    .tabbar a svg { width: 21px; height: 21px; }
    .tabbar a.on { color: var(--ink); border-top-color: var(--brass); }
    body { padding-bottom: 64px; }

    .tape { grid-template-columns: repeat(10, 1fr); gap: 5px; padding: 14px; }
    .cell { aspect-ratio: 1 / 1; font-size: 11px; }

    .grid-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .stat-value { font-size: 22px; }
    .count { font-size: 34px; }
    .daybar { gap: 10px; }
    .daynav { flex: 1 1 auto; }
    .dateform { flex: 1 1 auto; }
    .dateform input { width: 100%; }

    .f-sym, .f-pnl, .f-note, .f-check, .f-drop { grid-column: span 12; }
    .f-dir, .f-lot, .f-price { grid-column: span 6; }
    .f-act { grid-column: span 12; }
    .f-act .btn { width: 100%; }
    .field input, .field select { font-size: 16px; padding: 11px; }

    /* Tabel berubah jadi kartu */
    .blotter thead { display: none; }
    .blotter, .blotter tbody, .blotter tr, .blotter td { display: block; width: 100%; }
    .blotter tr {
        border: 1px solid var(--rule); border-radius: 4px; padding: 10px 12px;
        margin: 0 12px 10px; width: auto; background: var(--card);
    }
    .blotter tr:hover { background: var(--card); }
    .blotter td {
        border: 0; padding: 4px 0; white-space: normal;
        display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
    }
    .blotter td::before {
        content: attr(data-label); font-family: var(--mono); font-size: 10px;
        letter-spacing: .1em; text-transform: uppercase; color: var(--muted); flex: 0 0 auto;
    }
    .blotter td:empty { display: none; }
    .blotter .num { text-align: right; }
    .blotter .seq { font-size: 15px; font-weight: 600; color: var(--ink); }
    .blotter .act {
        justify-content: flex-end; gap: 16px; padding-top: 10px; margin-top: 6px;
        border-top: 1px solid var(--rule-2);
    }
    .blotter .act::before { content: none; }
    .blotter .bar { width: 100%; }

    .analysis-list a { grid-template-columns: 1fr 1fr; gap: 6px 12px; }
    .al-net { text-align: left; }
    .chart-shots img { max-height: 240px; }
    .guide-hero { padding: 22px 18px; }
    .guide-hero h1 { font-size: 22px; }
    .equity { height: 160px; }
}

@media (max-width: 560px) {
    .tape { grid-template-columns: repeat(6, 1fr); }
    .brand-text { font-size: 13px; }
    .brand-text small { font-size: 10px; }
    .count { font-size: 30px; }
    .field, .f-dir, .f-lot, .f-price { grid-column: span 12; }
    .grid-stats { gap: 8px; }
    .stat { padding: 12px 13px; }
    .dz-preview figure { width: calc(50% - 5px); }
    .shot-grid { grid-template-columns: repeat(2, 1fr); }
    .tabbar a { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}