@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');
:root {
    /* Backgrounds */
    --bg-root:     #080C12;
    --bg-surface:  #0F1923;
    --bg-elevated: #162030;
    --bg-input:    #0B141E;
    --bg-hover:    #1C2A3A;
 
    /* Text */
    --text-primary:   #E8EDF3;
    --text-secondary: #8B98A9;
    --text-muted:     #4D5C6E;
 
    /* Accents */
    --accent:      #1A8FE3;
    --accent-dim:  rgba(26, 143, 227, 0.12);
    --accent-glow: rgba(26, 143, 227, 0.35);
 
    /* Trade outcomes */
    --win:      #00D8A4;
    --win-dim:  rgba(0, 216, 164, 0.10);
    --loss:     #F0455A;
    --loss-dim: rgba(240, 69, 90, 0.10);
    --be:       #E8A838;
    --be-dim:   rgba(232, 168, 56, 0.10);
 
    /* Structure */
    --border:       rgba(255, 255, 255, 0.06);
    --border-focus: rgba(26, 143, 227, 0.5);
    --radius:       10px;
    --radius-sm:    6px;
 
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.6);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.8);
}
 
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
 
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
 
body {
    background-color: var(--bg-root);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}
 
/* Subtle grid pattern on background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(26, 143, 227, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 143, 227, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}
 
a {
    text-decoration: none;
    color: var(--accent);
    transition: color 0.2s;
}
 
a:hover {
    color: #4AAFF5;
}
 
/* ─────────────────────────────────────────────
   LAYOUT
───────────────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 56px;
    background: rgba(8, 12, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
 
h1 {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}
 
main {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem 1.5rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
 
footer {
    position: relative;
    z-index: 1;
    height: 56px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}
 
/* ─────────────────────────────────────────────
   HEADER BUTTONS
───────────────────────────────────────────── */
header form {
    margin: 0;
}
 
header form button[type="submit"],
#openSettingsBtn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
 
header .btns {
    display: flex;
    align-items: center;
    gap: 8px;
}
 
header form button[type="submit"]:hover {
    border-color: var(--loss);
    color: var(--loss);
    background: var(--loss-dim);
    box-shadow: unset !important;
}
 
#openSettingsBtn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
    transform: translateY(-1px);
}
 
header form button[type="submit"] .material-symbols-outlined,
#openSettingsBtn span.material-symbols-outlined {
    font-size: 16px;
}
 
/* ─────────────────────────────────────────────
   SURFACE / PANEL
   .panel a .glass-panel jsou identické — používáme .glass-panel,
   .panel je alias pro zpětnou kompatibilitu.
───────────────────────────────────────────── */
.glass-panel,
.panel {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
 
/* ─────────────────────────────────────────────
   SECTION HEADERS
───────────────────────────────────────────── */
.glass-panel h2 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
}
 
/* ─────────────────────────────────────────────
   TABS
───────────────────────────────────────────── */
.tabs-container {
    display: flex;
    gap: 4px;
    align-self: flex-start;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 4px;
}
 
.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 6px 20px;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.01em;
}
 
.tab-btn:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}
 
.tab-btn.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 12px var(--accent-glow);
}
 
/* ─────────────────────────────────────────────
   ADD TRADE FORM
───────────────────────────────────────────── */
.add-trade {
    width: 100%;
}
 
#addTradeForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 1.25rem 1.5rem 1.5rem;
 
    .form-row {
        display: grid;
        gap: 12px;
    }
    .col-2 { grid-template-columns: repeat(2, 1fr); }
    .col-3 { grid-template-columns: repeat(3, 1fr); }
}
 
#addTradeForm input,
#addTradeForm select,
#addTradeForm textarea {
    width: 100%;
}
 
@media (max-width: 500px) {
    #addTradeForm {
        .col-2, .col-3 {
            grid-template-columns: 1fr;
        }
    }
}
 
#addTradeForm textarea {
    grid-column: 1 / -1;
}
 
#addTradeForm button[type="submit"] {
    grid-column: 1 / -1;
    justify-self: end;
}
 
/* ─────────────────────────────────────────────
   FORM ELEMENTS
───────────────────────────────────────────── */
input,
textarea,
select {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    padding: 9px 12px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
}
 
input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}
 
input:focus,
textarea:focus,
select:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(26, 143, 227, 0.1);
}
 
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234D5C6E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}
 
option {
    background: var(--bg-elevated);
    color: var(--text-primary);
}
 
textarea {
    resize: vertical;
    min-height: 72px;
    line-height: 1.5;
}
 
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(0.4);
    cursor: pointer;
}
 
/* Number inputs — monospace for alignment */
input[type="number"] {
    font-family: 'DM Mono', monospace;
}
 
/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
button[type="submit"] {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 9px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
 
button[type="submit"]:hover {
    background: var(--accent);
    box-shadow: 0 4px 16px var(--accent-glow);
    transform: translateY(-1px);
}
 
button[type="submit"]:active {
    transform: translateY(0);
}
 
/* ─────────────────────────────────────────────
   FORM MESSAGE
───────────────────────────────────────────── */
#formMessage {
    padding: 0 1.5rem 1rem;
    font-size: 12px;
    font-family: 'DM Mono', monospace;
    min-height: 20px;
}
 
/* ─────────────────────────────────────────────
   TRADES TABLE
───────────────────────────────────────────── */
.trades-history {
    overflow: hidden;
}
 
.trades-history .table-wrapper {
    overflow-x: auto;
}
 
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
 
thead th {
    padding: 10px 14px;
    text-align: left;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
 
tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
    cursor: default;
}
 
tbody tr:last-child {
    border-bottom: none;
}
 
tbody tr:hover {
    background: var(--bg-hover);
}
 
/* Win / Loss / BE row accent via left border trick */
tbody tr[data-result="win"]  { border-left: 2px solid var(--win); }
tbody tr[data-result="loss"] { border-left: 2px solid var(--loss); }
tbody tr[data-result="be"]   { border-left: 2px solid var(--be); }
 
tbody td {
    padding: 11px 14px;
    vertical-align: middle;
    color: var(--text-secondary);
    white-space: nowrap;
}
 
/* Instrument — primary highlight */
tbody td.td-instrument {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
}
 
/* Direction pill */
.direction-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
}
 
.direction-pill.long  { background: rgba(0, 216, 164, 0.1); color: var(--win); }
.direction-pill.short { background: rgba(240, 69, 90, 0.1);  color: var(--loss); }
 
/* Result badge */
.result-badge {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
 
.result-badge.win  { background: var(--win-dim);  color: var(--win); }
.result-badge.loss { background: var(--loss-dim); color: var(--loss); }
.result-badge.be   { background: var(--be-dim);   color: var(--be); }
 
/* PnL — monospace + colored */
.pnl-value {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    font-weight: 500;
}
 
.pnl-value.positive { color: var(--win); }
.pnl-value.negative { color: var(--loss); }
.pnl-value.zero     { color: var(--be); }
 
/* RR */
.rr-value {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    color: var(--text-muted);
}
 
/* Date */
.td-date {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
}
 
/* Notes truncate */
.td-notes {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    color: var(--text-muted);
}
 
/* Action buttons in table */
.action-btn {
    background: none;
    border: 1px solid transparent;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    padding: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    font-size: 16px;
}
 
.action-btn.edit-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-dim);
}
 
.action-btn.delete-btn:hover {
    color: var(--loss);
    border-color: var(--loss);
    background: var(--loss-dim);
}
 
.td-actions {
    display: flex;
    gap: 4px;
    align-items: center;
}
 
@media (max-width: 600px) {
    thead {
        display: none;
    }
 
    table, tbody, tr, td {
        display: block;
        width: 100%;
    }
 
    tbody tr {
        border: 0.5px solid var(--border);
        border-left: none;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 10px;
        padding: 0;
        position: relative;
    }
 
    /* Barevný proužek nahoře místo border-left */
    tbody tr::before {
        content: '';
        display: block;
        height: 3px;
        width: 100%;
    }
 
    tbody tr[data-result="win"]::before  { background: var(--win); }
    tbody tr[data-result="loss"]::before { background: var(--loss); }
    tbody tr[data-result="be"]::before   { background: var(--be); }
 
    /* Resetujeme původní border-left akcent */
    tbody tr[data-result="win"],
    tbody tr[data-result="loss"],
    tbody tr[data-result="be"] {
        border-left: 0.5px solid var(--border);
    }
 
    tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 14px;
        white-space: normal;
        border-bottom: 0.5px solid var(--border);
        font-size: 13px;
    }
 
    tbody td:last-child {
        border-bottom: none;
    }
 
    tbody td::before {
        content: attr(data-label);
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--text-muted);
        flex-shrink: 0;
        margin-right: 12px;
    }
 
    tbody td[data-label=""] {
        justify-content: flex-end;
    }
 
    tbody td[data-label=""]::before {
        display: none;
    }
 
    tbody td.td-instrument {
        font-size: 15px;
        padding: 12px 14px;
    }
 
    .td-notes {
        max-width: none;
    }
 
    .table-img-preview {
        width: 64px;
        height: 42px;
    }
}
 
/* ─────────────────────────────────────────────
   IMAGE PREVIEW
───────────────────────────────────────────── */
.table-img-preview,
#addImagePreview {
    width: 56px;
    height: 38px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    cursor: zoom-in;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
 
    &:hover {
        width: 280px;
        height: 180px;
        position: relative;
        z-index: 10;
        box-shadow: var(--shadow-lg);
        border-color: var(--accent);
    }
}
 
.no-preview {
    color: var(--text-muted);
    font-size: 18px;
    opacity: 0.3;
}
 
/* ─────────────────────────────────────────────
   EMPTY STATE
───────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}
 
.empty-state p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}
 
.empty-icon {
    font-size: 36px;
    color: var(--text-muted);
    opacity: 0.3;
}
 
/* ─────────────────────────────────────────────
   MODAL OVERLAY — základní sdílený styl
   Používají: #editModal, .custom-modal-overlay, #dayTradesModal, #imageModal
───────────────────────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 12, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}
 
/* Individuální overrides */
#editModal        { z-index: 1000; }
.custom-modal-overlay,
#imageModal       { z-index: 9999; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(5px); }
#dayTradesModal   { padding: 0; }
 
/* ─────────────────────────────────────────────
   EDIT MODAL CONTENT
───────────────────────────────────────────── */
#editModal.open {
    display: flex;
}
 
.modal-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-elevated);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(26, 143, 227, 0.08);
    animation: modalIn 0.2s ease;
}
 
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
 
.modal-content h2 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
}
 
/* ─────────────────────────────────────────────
   CLOSE BUTTON — sdílený základ
───────────────────────────────────────────── */
.modal-close-btn {
    position: absolute;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s ease;
}
 
.modal-close-btn:hover {
    color: var(--loss);
}
 
/* Pozicování pro každý modal zvlášť */
#closeModal            { top: 14px; right: 16px; font-size: 20px; transition: color 0.2s, transform 0.2s; }
#closeModal:hover      { transform: scale(1.1); }
.close-day-modal,
.close-settings-modal  { top: 15px; right: 20px; }
.close-image-modal     { top: 20px; right: 30px; font-size: 2.5rem; }
 
/* ─────────────────────────────────────────────
   EDIT FORM
───────────────────────────────────────────── */
#editTradeForm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 1.25rem 1.5rem 1.5rem;
}
 
#editTradeForm textarea,
#editTradeForm input[name="image_url"],
#editTradeForm button[type="submit"] {
    grid-column: 1 / -1;
}
 
#editTradeForm button[type="submit"] {
    justify-self: end;
    margin-top: 4px;
}
 
#editImagePreview {
    grid-column: 1 / -1;
    max-width: 100%;
    max-height: 160px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    display: none;
}
 
/* ─────────────────────────────────────────────
   AUTH PAGES (Login / Register)
───────────────────────────────────────────── */
.auth-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 360px;
    padding-top: 2rem;
}
 
.auth-logo {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
 
.login-form-container,
.register-form-container {
    width: 100%;
    max-width: 360px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
 
.form-header {
    padding: 1.25rem 1.5rem 0;
}
 
.form-header h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}
 
.form-header p {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}
 
.login-form-container form,
.register-form-container form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 1.25rem 1.5rem;
}
 
.auth-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}
 
/* Error message */
.error-message {
    background: var(--loss-dim);
    border: 1px solid rgba(240, 69, 90, 0.25);
    color: var(--loss);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    width: 100%;
    max-width: 360px;
}
 
/* ─────────────────────────────────────────────
   DAY TRADES MODAL
───────────────────────────────────────────── */
#dayTradesModal .glass-panel {
    width: 90%;
    max-width: 600px;
    padding: 2rem;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}
 
#dayModalTitle {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}
 
/* ─────────────────────────────────────────────
   IMAGE MODAL
───────────────────────────────────────────── */
.image-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border);
}
 
/* ─────────────────────────────────────────────
   SETTINGS PANEL
───────────────────────────────────────────── */
.settings-panel {
    width: 90%;
    max-width: 400px;
    padding: 2.5rem 2rem;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}
 
.modal-header h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: #ffffff;
    text-align: center;
}
 
.settings-form .input-group {
    margin-bottom: 1.2rem;
}
 
.settings-form input {
    width: 100%;
}
 
.btn-full-width {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.9rem;
    font-weight: 600;
}
 
.status-message {
    margin-top: 1.2rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    min-height: 20px;
}
 
/* ─────────────────────────────────────────────
   STATISTIKY & GRAFY
───────────────────────────────────────────── */
.stats-overview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 1rem;
}
 
@media (min-width: 768px) {
    .stats-overview {
        grid-template-columns: 1fr 1fr;
    }
}
 
.stat-box {
    padding: 1.5rem;
}
 
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px dashed var(--border);
}
 
canvas {
    width: 100% !important;
    height: 100% !important;
}
 
/* ─────────────────────────────────────────────
   SCROLLBAR
───────────────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
 
/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 768px) {
    main {
        padding: 1rem 1rem 3rem;
    }
 
    #addTradeForm {
        padding: 1rem;
    }
 
    #editTradeForm {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
 
    #editTradeForm button[type="submit"] {
        justify-self: stretch;
    }
 
    thead th:nth-child(7),
    tbody td:nth-child(7) {
        display: none;
    }
}
 
/* ─────────────────────────────────────────────
   MOTION PREFERENCES
───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}