/* Photon-style pages (Tracker, Orders; Wallet and Portfolio have their own files): a title, then one card with
   underlined subtabs (icon + label) and the content below. */
.ph-title { margin: 0 0 14px; }
.ph-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px 22px 22px; }
.ph-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.ph-tabs::-webkit-scrollbar { display: none; }
.ph-tab { display: inline-flex; align-items: center; gap: 8px; padding: 14px 0 12px; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.ph-tab:hover { color: var(--text); }
.ph-tab.on { color: var(--text); border-bottom-color: var(--accent); }
/* subpages drawn inside a card don't repeat their own big title */
.tr-body .page-title, .tr-body > div > .section-head h1 { font-size: 18px; }
/* Orders tables (2026-12-01: "organized better and aligned"): one fixed-layout table per tab, so every section's columns
   line up, and every row is the same height with or without buttons */
.or-scroll { overflow-x: auto; }
.or-table { width: 100%; min-width: 880px; table-layout: fixed; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.or-table th, .or-table td { height: 44px; padding: 0 10px; text-align: left; vertical-align: middle; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-bottom: 1px solid var(--line); }
.or-table th:first-child, .or-table td:first-child { padding-left: 4px; }
.or-table th:last-child, .or-table td:last-child { padding-right: 4px; }
.or-table .r { text-align: right; }
.or-table .a { text-align: right; overflow: visible; }
.or-table tr.or-h th { height: 32px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.or-table tr.or-sec th { height: auto; padding: 26px 4px 8px; border-bottom: 0; font-size: 13px; font-weight: 700; color: var(--text); }
.or-table tbody:first-of-type tr.or-sec th { padding-top: 2px; }
.or-n { margin-left: 8px; padding: 1px 7px; background: var(--raise); color: var(--muted); font-size: 11.5px; font-weight: 600; }
.or-table tbody tr:not(.or-sec):not(.or-h):not(.or-none):hover td { background: var(--raise); }
.or-table tr.or-none td { height: 40px; }
.or-table tr.or-dim td:not(.a) { opacity: .7; }
.or-coin { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; font-weight: 600; color: var(--text); }
.or-coin img { flex: none; }
.or-coin span { overflow: hidden; text-overflow: ellipsis; }
.or-acts { display: inline-flex; gap: 6px; justify-content: flex-end; }
.or-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; vertical-align: 1px; background: var(--muted); }
.or-dot:not(#_od) { border-radius: 50% !important; } /* past flush.css's square corners */
.or-dot.blue { background: var(--d-blue, var(--accent)); } .or-dot.up { background: var(--up); } .or-dot.down { background: var(--down); } .or-dot.warn { background: var(--hot, var(--warn)); }
/* Coin pages no longer carry OTC orders */
.dk-coin .dk-orders { display: none; }
@media (max-width: 720px) {
  .ph-card { padding: 4px 14px 16px; }
  .ph-tabs { gap: 20px; }
}
