ci / test (postgres) (pull_request) Successful in 9m38s
ci / test (sqlite) (pull_request) Successful in 5m26s
ci / image (pull_request) Successful in 2m23s
ci / test (postgres) (push) Successful in 9m28s
ci / test (sqlite) (push) Successful in 5m3s
ci / image (push) Successful in 1m56s
The news screen of SPEC 13 lists what the bot read in the last 24 hours and what it did about each story, with the three filters of the mockup, the mood of the market, the calendar with the effect of each event, the sources and the spending of the day. Each note of the bot now keeps its action sentence and the end of its restriction, so the screen shows the decision as it was. Settings gain a news section: the rows of SPEC 10.5, the sources (enable and trust), the key and daily cap of the language model, the Finnhub and FRED keys and the central bank meetings. The demo seeds the F.9 data and matches the mockup; the overview tile now shows the real news that matter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
790 lines
49 KiB
CSS
790 lines
49 KiB
CSS
/* Anubis — tokens of appendix C (SPEC), light and dark. ContrastTests reads this block: keep one token per line. */
|
|
:root {
|
|
--page: #f1f3f0;
|
|
--surface: #fbfcfa;
|
|
--surface-2: #e9ede8;
|
|
--track: #dfe4de;
|
|
--rule: #d9ded8;
|
|
--rule-inner: #e3e7e2;
|
|
--control: #8a948e;
|
|
--text: #141a17;
|
|
--text-2: #46504a;
|
|
--text-3: #5f6963;
|
|
--link: #1c5cab;
|
|
--info-bg: #e3eefb;
|
|
--gain: #0a6b55;
|
|
--gain-bg: #dff2ea;
|
|
--loss: #b42f1a;
|
|
--loss-bg: #fbe5df;
|
|
--attention: #7a5000;
|
|
--attention-bg: #fbefcf;
|
|
--s-crypto-trend: #2a78d6;
|
|
--s-equity-momentum: #eb6834;
|
|
--s-equity-meanrev: #4a3aa7;
|
|
--bench: #8a948e;
|
|
--cash: #c5cbc4;
|
|
}
|
|
|
|
:root[data-theme="dark"] {
|
|
--page: #101412;
|
|
--surface: #181d1a;
|
|
--surface-2: #222924;
|
|
--track: #2c342f;
|
|
--rule: #2c342f;
|
|
--rule-inner: #262d28;
|
|
--control: #6c766f;
|
|
--text: #f2f5f1;
|
|
--text-2: #c3cbc4;
|
|
--text-3: #9aa39c;
|
|
--link: #86b6ef;
|
|
--info-bg: #17304f;
|
|
--gain: #4cc9a4;
|
|
--gain-bg: #12372d;
|
|
--loss: #ff8d78;
|
|
--loss-bg: #45201a;
|
|
--attention: #f2c14e;
|
|
--attention-bg: #3d2f0c;
|
|
--s-crypto-trend: #17a2b8;
|
|
--s-equity-momentum: #d95926;
|
|
--s-equity-meanrev: #9085e9;
|
|
--bench: #6c766f;
|
|
--cash: #3a433d;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root:not([data-theme="light"]) {
|
|
--page: #101412;
|
|
--surface: #181d1a;
|
|
--surface-2: #222924;
|
|
--track: #2c342f;
|
|
--rule: #2c342f;
|
|
--rule-inner: #262d28;
|
|
--control: #6c766f;
|
|
--text: #f2f5f1;
|
|
--text-2: #c3cbc4;
|
|
--text-3: #9aa39c;
|
|
--link: #86b6ef;
|
|
--info-bg: #17304f;
|
|
--gain: #4cc9a4;
|
|
--gain-bg: #12372d;
|
|
--loss: #ff8d78;
|
|
--loss-bg: #45201a;
|
|
--attention: #f2c14e;
|
|
--attention-bg: #3d2f0c;
|
|
--s-crypto-trend: #17a2b8;
|
|
--s-equity-momentum: #d95926;
|
|
--s-equity-meanrev: #9085e9;
|
|
--bench: #6c766f;
|
|
--cash: #3a433d;
|
|
}
|
|
}
|
|
|
|
/* Instrument Sans served by the app itself, never from the internet (ADR 0004, SIL OFL: assets/InstrumentSans-OFL.txt).
|
|
One variable file covers weights 400 to 700; italics are drawn by the browser from it. */
|
|
@font-face {
|
|
font-family: "Instrument Sans";
|
|
src: url("/assets/InstrumentSans.ttf") format("truetype");
|
|
font-weight: 400 700;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
:root {
|
|
--font: "Instrument Sans", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
|
|
color-scheme: light dark;
|
|
}
|
|
|
|
*, *::before, *::after { box-sizing: border-box; }
|
|
html { -webkit-text-size-adjust: 100%; }
|
|
body {
|
|
margin: 0;
|
|
background: var(--page);
|
|
color: var(--text);
|
|
font-family: var(--font);
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
font-variant-numeric: proportional-nums;
|
|
}
|
|
a { color: var(--link); }
|
|
h1, h2, h3 { margin: 0; font-weight: 650; }
|
|
h1 { font-size: 22px; line-height: 28px; }
|
|
h2 { font-size: 17px; line-height: 24px; }
|
|
h3 { font-size: 14px; line-height: 20px; }
|
|
p { margin: 0; }
|
|
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12.5px; overflow-wrap: anywhere; }
|
|
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 4px; }
|
|
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
|
.icon { flex: none; }
|
|
.logo-dark { display: none; }
|
|
:root[data-theme="dark"] .logo-light { display: none; }
|
|
:root[data-theme="dark"] .logo-dark { display: inline; }
|
|
@media (prefers-color-scheme: dark) {
|
|
:root:not([data-theme="light"]) .logo-light { display: none; }
|
|
:root:not([data-theme="light"]) .logo-dark { display: inline; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
|
|
}
|
|
|
|
/* ---- Shell ---- */
|
|
.shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 100vh; }
|
|
.sidebar {
|
|
position: sticky; top: 0; height: 100vh; overflow-y: auto;
|
|
background: var(--surface); border-right: 1px solid var(--rule);
|
|
padding: 20px 12px 24px;
|
|
}
|
|
.brand { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 10px; margin-bottom: 20px; min-height: 40px; }
|
|
.brand-link { display: flex; align-items: center; gap: 14px; color: var(--text); text-decoration: none; font-size: 20px; font-weight: 650; }
|
|
.icon-button {
|
|
display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
|
|
border: 0; border-radius: 8px; background: transparent; color: var(--text-3); cursor: pointer;
|
|
}
|
|
.icon-button:hover { background: var(--surface-2); color: var(--text); }
|
|
.when-closed { display: none; }
|
|
.nav-group { list-style: none; margin: 0; padding: 0; }
|
|
.nav-group + .nav-group { margin-top: 22px; }
|
|
.nav-item {
|
|
display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 8px 12px; margin-bottom: 2px;
|
|
border-radius: 8px; color: var(--text-2); text-decoration: none; font-size: 14px;
|
|
}
|
|
.nav-item:hover { background: var(--surface-2); color: var(--text); }
|
|
.nav-item.active { background: var(--surface-2); color: var(--text); font-weight: 600; }
|
|
|
|
:root[data-nav="collapsed"] .shell { grid-template-columns: 72px minmax(0, 1fr); }
|
|
:root[data-nav="collapsed"] .brand { flex-direction: column; gap: 8px; padding: 0; }
|
|
:root[data-nav="collapsed"] .brand-name,
|
|
:root[data-nav="collapsed"] .nav-label { display: none; }
|
|
:root[data-nav="collapsed"] .nav-item { justify-content: center; padding: 10px; }
|
|
:root[data-nav="collapsed"] .when-open { display: none; }
|
|
:root[data-nav="collapsed"] .when-closed { display: inline; }
|
|
|
|
.main { min-width: 0; display: flex; flex-direction: column; }
|
|
.topbar {
|
|
display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: nowrap;
|
|
padding: 16px 32px; background: var(--surface); border-bottom: 1px solid var(--rule);
|
|
}
|
|
.topbar-title { min-width: 0; flex: 1 1 auto; }
|
|
.status-line { color: var(--text-3); font-size: 13px; line-height: 18px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.topbar-actions { display: flex; align-items: center; gap: 8px; flex: none; }
|
|
@media (max-width: 1240px) {
|
|
.topbar { flex-wrap: wrap; }
|
|
.topbar-actions { flex-wrap: wrap; }
|
|
}
|
|
.topbar-actions form { margin: 0; }
|
|
/* As in the mockup: one point smaller up here, so the date line keeps its full length at 1440 px. */
|
|
.topbar-actions .pill, .topbar-actions .btn, .topbar-actions .currency select { font-size: 13px; }
|
|
.phone-brand, .phone-bot, .mode-band, .bottombar { display: none; }
|
|
|
|
.pill {
|
|
display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px;
|
|
border-radius: 999px; font-size: 14px; font-weight: 550; white-space: nowrap;
|
|
}
|
|
.pill-bot { border: 1px solid var(--rule); background: var(--surface); color: var(--text); margin-right: 0; }
|
|
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gain); flex: none; }
|
|
[data-state="paused"] .dot { background: var(--attention); }
|
|
[data-state="stopped"] .dot { background: var(--loss); }
|
|
.pill-mode { background: var(--info-bg); color: var(--link); margin-right: 12px; }
|
|
|
|
.btn {
|
|
display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 40px; padding: 0 16px;
|
|
border: 1px solid var(--control); border-radius: 8px; background: var(--surface); color: var(--text);
|
|
font: inherit; font-size: 14px; font-weight: 550; cursor: pointer; text-decoration: none; white-space: nowrap;
|
|
}
|
|
.btn:hover { background: var(--surface-2); }
|
|
.btn:disabled { opacity: .55; cursor: not-allowed; }
|
|
.btn-small { height: 32px; padding: 0 12px; }
|
|
.btn-danger { border-color: var(--loss); color: var(--loss); }
|
|
.btn-danger:hover { background: var(--loss-bg); }
|
|
.btn-primary { background: var(--text); border-color: var(--text); color: var(--surface); }
|
|
.btn-primary:hover { background: var(--text-2); }
|
|
|
|
.currency { position: relative; }
|
|
.currency select, select, input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]) {
|
|
height: 40px; border: 1px solid var(--control); border-radius: 8px; background: var(--surface); color: var(--text);
|
|
font: inherit; font-size: 14px; padding: 0 12px;
|
|
}
|
|
textarea {
|
|
border: 1px solid var(--control); border-radius: 8px; background: var(--surface); color: var(--text);
|
|
font-family: ui-monospace, Consolas, monospace; font-size: 13.5px; padding: 8px 12px; resize: vertical;
|
|
}
|
|
.currency select { appearance: none; padding: 0 40px 0 16px; font-weight: 550; cursor: pointer; }
|
|
.select-chevron { position: absolute; right: 14px; top: 12px; pointer-events: none; color: var(--text-2); }
|
|
|
|
.stale-notice {
|
|
display: flex; align-items: center; gap: 10px; margin: 12px 32px 0; padding: 10px 12px; border-radius: 10px;
|
|
background: var(--attention-bg); color: var(--attention); font-size: 13.5px;
|
|
}
|
|
.stale-notice[hidden] { display: none; }
|
|
|
|
.page { padding: 28px 32px 36px; display: flex; flex-direction: column; gap: 28px; flex: 1; }
|
|
.page-footer { color: var(--text-3); font-size: 13px; line-height: 18px; }
|
|
|
|
/* ---- Components ---- */
|
|
.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 20px 22px; }
|
|
.panel > h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
|
|
.panel > h3, .panel h3 { margin: 20px 0 8px; }
|
|
.note { color: var(--text-3); font-size: 13px; line-height: 18px; }
|
|
h2 .note, h3 .note { font-weight: 400; letter-spacing: 0; }
|
|
.hint { color: var(--text-3); font-size: 13px; line-height: 18px; }
|
|
.empty { display: flex; flex-direction: column; gap: 8px; color: var(--text-2); max-width: 70ch; }
|
|
.empty-title { color: var(--text); font-weight: 600; font-size: 15px; }
|
|
.notice {
|
|
display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; line-height: 20px;
|
|
}
|
|
.notice .icon { margin-top: 2px; }
|
|
.notice-loss { background: var(--loss-bg); color: var(--loss); }
|
|
.notice-gain { background: var(--gain-bg); color: var(--gain); }
|
|
.notice-attention { background: var(--attention-bg); color: var(--attention); }
|
|
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; font-size: 18px; line-height: 24px; font-weight: 600; }
|
|
.badge-gain { background: var(--gain-bg); color: var(--gain); }
|
|
.badge-loss { background: var(--loss-bg); color: var(--loss); }
|
|
.gain { color: var(--gain); }
|
|
.loss { color: var(--loss); }
|
|
.arrow { flex: none; }
|
|
|
|
.table-wrap { overflow-x: auto; }
|
|
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 20px; font-variant-numeric: tabular-nums; }
|
|
.table th { text-align: left; font-size: 12.5px; font-weight: 500; color: var(--text-3); padding: 9px 12px 9px 0; border-bottom: 1px solid var(--rule-inner); }
|
|
.table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule-inner); vertical-align: top; }
|
|
.table .num { text-align: right; }
|
|
.nowrap { white-space: nowrap; }
|
|
|
|
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; margin: 0; }
|
|
.facts dt { color: var(--text-3); }
|
|
.facts dd { margin: 0; overflow-wrap: anywhere; }
|
|
.facts + .hint, .facts + h2, .facts + h3 { margin-top: 16px; }
|
|
|
|
.form { display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
|
|
.form label { font-weight: 550; margin-top: 6px; }
|
|
.form .btn { align-self: flex-start; margin-top: 10px; }
|
|
.form fieldset { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
|
|
.form-inline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0; }
|
|
.form-inline label { min-width: 80px; font-weight: 550; }
|
|
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
|
|
.row > div { display: flex; flex-direction: column; gap: 8px; }
|
|
.choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 10px; }
|
|
.choice input { margin-top: 4px; }
|
|
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
|
|
legend { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 650; margin-bottom: 8px; padding: 0; }
|
|
.step { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); align-items: center; justify-content: center; font-size: 14px; }
|
|
.postgres-fields { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
|
|
.postgres-fields[hidden] { display: none; }
|
|
.test-result:empty { display: none; }
|
|
.steps { margin: 8px 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
|
|
.secret { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
|
|
.tabs { display: flex; gap: 16px; flex-wrap: wrap; }
|
|
.tabs a { color: var(--text-2); text-decoration: none; font-weight: 550; }
|
|
.tabs a:hover { color: var(--text); text-decoration: underline; }
|
|
.columns { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
|
|
.more-list { list-style: none; margin: 0; padding: 0; }
|
|
.more-list a { display: flex; align-items: center; gap: 12px; min-height: 48px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--rule-inner); }
|
|
|
|
/* ---- Panoramica ---- */
|
|
.head-block { display: grid; grid-template-columns: 1.35fr 1fr; padding: 0; }
|
|
.half { padding: 24px 28px; min-width: 0; }
|
|
.half + .half { border-left: 1px solid var(--rule); }
|
|
.half-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; min-height: 44px; }
|
|
.half-head h2 { display: flex; align-items: center; gap: 12px; }
|
|
.segmented { display: inline-flex; padding: 4px; border-radius: 10px; background: var(--surface-2); gap: 2px; }
|
|
.segmented a { padding: 6px 14px; border-radius: 8px; color: var(--text-2); text-decoration: none; font-size: 14px; }
|
|
.segmented a.on { background: var(--surface); color: var(--text); font-weight: 550; }
|
|
.lead { color: var(--text-2); font-size: 17px; line-height: 24px; margin-top: 20px; }
|
|
.big-result { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
|
|
.big-number { font-size: 60px; line-height: 60px; font-weight: 650; letter-spacing: -0.025em; }
|
|
.half-past .note { margin-top: 10px; }
|
|
.cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 20px; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
|
|
.cell { display: flex; flex-direction: column; gap: 2px; }
|
|
.cell-label { color: var(--text-3); font-size: 13px; }
|
|
.cell-value { font-size: 18px; line-height: 24px; font-weight: 650; letter-spacing: -0.015em; }
|
|
.cell-change { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 550; }
|
|
.statement { font-size: 20px; line-height: 28px; font-weight: 650; margin: 20px 0 8px; }
|
|
.list-title { color: var(--text-3); font-weight: 550; margin-top: 20px !important; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
|
|
.moves { list-style: none; margin: 0; padding: 0; }
|
|
.moves li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule-inner); }
|
|
.move-time { font-weight: 650; font-variant-numeric: tabular-nums; }
|
|
.moves-past .move-time { font-weight: 500; color: var(--text-3); }
|
|
.more { display: inline-block; margin-top: 12px; }
|
|
|
|
.chart { margin: 20px 0 0; }
|
|
.chart-box { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) 84px; height: 284px; }
|
|
.chart-axis { position: relative; }
|
|
.chart-axis span { position: absolute; left: 0; transform: translateY(-50%); color: var(--text-3); font-size: 13px; font-variant-numeric: tabular-nums; }
|
|
.chart-plot { position: relative; }
|
|
.chart-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
|
|
.chart .grid { stroke: var(--rule-inner); stroke-width: 1; }
|
|
.chart .area { fill: var(--text); opacity: .05; }
|
|
.chart .equity { fill: none; stroke: var(--text); stroke-width: 2; stroke-linejoin: round; }
|
|
.chart .bench { fill: none; stroke: var(--bench); stroke-width: 2; stroke-linejoin: round; }
|
|
.end-dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--text); border: 2px solid var(--surface); }
|
|
.end-dot.bench-dot { background: var(--bench); }
|
|
.end-label { position: absolute; left: 100%; margin-left: 14px; transform: translateY(-50%); font-weight: 650; font-size: 13px; white-space: nowrap; }
|
|
.end-label.bench-label { font-weight: 400; color: var(--text-3); }
|
|
.legend { display: flex; gap: 20px; margin-top: 12px; color: var(--text-2); font-size: 13px; }
|
|
.key { display: inline-flex; align-items: center; gap: 8px; }
|
|
.key::before { content: ""; width: 18px; height: 2px; background: var(--text); }
|
|
.key-bench::before { background: var(--bench); }
|
|
.chart-table { margin-top: 8px; font-size: 13px; }
|
|
.chart-table summary { color: var(--link); cursor: pointer; }
|
|
.chart-table .table-wrap { max-height: 280px; overflow: auto; margin-top: 8px; }
|
|
|
|
/* ---- Conti e posizioni ---- */
|
|
.muted { color: var(--text-3); font-weight: 400; }
|
|
.attention { color: var(--attention); }
|
|
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 12px; }
|
|
.panel-head h2 { margin: 0; }
|
|
.panel-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
|
|
.totals { padding: 24px 28px; }
|
|
.totals-cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
|
|
.total-value { font-size: 30px; line-height: 36px; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
|
|
.cell-note { color: var(--text-3); font-size: 13px; }
|
|
.split-bar { display: flex; gap: 3px; height: 12px; margin-top: 24px; }
|
|
.split-bar span { border-radius: 3px; min-width: 3px; }
|
|
.split-bar.slim { height: 12px; margin: 16px 0 12px; }
|
|
.split-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 12px 0 0; padding: 0; color: var(--text-2); font-size: 13.5px; }
|
|
.split-legend li { display: inline-flex; align-items: center; gap: 8px; }
|
|
.split-legend strong { color: var(--text); font-weight: 600; }
|
|
.swatch { display: inline-block; width: 11px; height: 11px; border-radius: 2px; flex: none; margin-right: 8px; vertical-align: -1px; }
|
|
.swatch.round { width: 8px; height: 8px; border-radius: 50%; }
|
|
.split-legend .swatch { margin-right: 0; }
|
|
.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 20px; }
|
|
.account { display: flex; flex-direction: column; padding: 22px 26px; }
|
|
.account-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
|
|
.account-head h2 { display: flex; align-items: center; gap: 10px; }
|
|
.tag { padding: 2px 8px; border-radius: 6px; background: var(--surface-2); color: var(--text-2); font-size: 13px; font-weight: 500; line-height: 20px; }
|
|
.tag.gain { background: var(--gain-bg); color: var(--gain); }
|
|
.tag.loss { background: var(--loss-bg); color: var(--loss); }
|
|
.link-state { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 13.5px; }
|
|
.link-state.down .dot { background: var(--loss); }
|
|
.account-value { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 14px 0 12px; }
|
|
.account-equity { font-size: 32px; line-height: 40px; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
|
|
.account-native, .native { color: var(--text-3); font-size: 13.5px; font-weight: 400; }
|
|
.native { margin-left: 0.35em; }
|
|
.account-lines { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin: 0; font-variant-numeric: tabular-nums; }
|
|
.account-lines dt, .account-lines dd { padding: 9px 0; border-top: 1px solid var(--rule-inner); margin: 0; }
|
|
.account-lines dt { color: var(--text-2); }
|
|
.account-lines dd { text-align: right; }
|
|
.account-lines strong { font-weight: 600; }
|
|
.account-facts { list-style: none; margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; background: var(--surface-2); display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--text-2); }
|
|
.account-facts li { display: flex; align-items: flex-start; gap: 10px; }
|
|
.account-facts .icon { margin-top: 2px; color: var(--text-3); }
|
|
.account-facts .loss .icon, .account-facts .attention .icon { color: inherit; }
|
|
.prudent { margin-top: 16px; }
|
|
.prudent > div { display: flex; flex-direction: column; gap: 8px; }
|
|
.differences { margin: 0; padding-left: 18px; }
|
|
.choices { display: flex; gap: 8px; flex-wrap: wrap; }
|
|
.choices form { margin: 0; }
|
|
.positions th[scope="row"] { font-weight: 400; text-align: left; white-space: nowrap; }
|
|
.positions th[scope="row"] strong { font-weight: 650; }
|
|
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
|
|
.table tfoot th, .table tfoot td { padding: 12px 12px 4px 0; border-top: 2px solid var(--text); text-align: left; }
|
|
.table tfoot .num { text-align: right; }
|
|
.table th[scope="row"] { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule-inner); vertical-align: top; }
|
|
.pending th[scope="row"], .positions th[scope="row"] { color: var(--text); }
|
|
.pending th[scope="row"] { font-weight: 400; text-align: left; }
|
|
.pending th[scope="row"] strong { font-weight: 650; }
|
|
.order-state { display: inline-flex; align-items: center; gap: 8px; }
|
|
.order-state .icon { color: var(--text-3); }
|
|
.aside { margin-top: 16px; padding: 12px 16px; border-radius: 10px; background: var(--surface-2); color: var(--text-2); font-size: 13.5px; }
|
|
.currency-lines { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; margin: 0 0 12px; font-variant-numeric: tabular-nums; }
|
|
.currency-lines dt { display: flex; align-items: center; color: var(--text-2); }
|
|
.currency-lines dd { margin: 0; text-align: right; }
|
|
.fx-warning { margin-top: 16px; }
|
|
|
|
/* ---- Operazioni ---- */
|
|
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
|
.trades-head .lead { margin-top: 0; }
|
|
.trades-head .big-number { margin-top: 8px; }
|
|
.trades-head .note { margin-top: 10px; }
|
|
.trades-head h2 { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
|
|
.cells { margin-bottom: 0; }
|
|
.cells > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
|
|
.cells dt { color: var(--text-3); font-size: 13px; }
|
|
.cells dd { margin: 0; display: flex; flex-direction: column; gap: 2px; }
|
|
.cells dd strong { font-size: 18px; line-height: 24px; font-weight: 650; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
|
|
.cells dd span { color: var(--text-3); font-size: 13px; }
|
|
.result-bars { display: block; width: 100%; height: 170px; margin-top: 16px; }
|
|
.result-bars .axis { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
|
|
.result-bars rect.gain { fill: var(--gain); }
|
|
.result-bars rect.loss { fill: var(--loss); }
|
|
.bars-scale { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
|
|
.filters { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
|
|
.filters .btn:last-child { margin-left: auto; }
|
|
.search { position: relative; flex: 1 1 240px; display: flex; align-items: center; }
|
|
.search .icon { position: absolute; left: 14px; color: var(--text-3); pointer-events: none; }
|
|
.search input { width: 100%; padding-left: 40px !important; }
|
|
.trades { display: flex; flex-direction: column; margin: 0 -22px; }
|
|
.trade-row {
|
|
display: grid; grid-template-columns: 116px minmax(0, 1fr) 128px 70px 176px 146px minmax(0, 1.7fr) 20px;
|
|
gap: 12px; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--rule-inner); font-variant-numeric: tabular-nums;
|
|
}
|
|
.trade-header { color: var(--text-3); font-size: 13px; padding-top: 4px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
|
|
.trade-header::after { content: ""; }
|
|
.trade-row .num { text-align: right; }
|
|
.trade summary { list-style: none; cursor: pointer; }
|
|
.trade summary::-webkit-details-marker { display: none; }
|
|
.trade summary::after {
|
|
content: ""; justify-self: end; width: 8px; height: 8px; margin-right: 4px;
|
|
border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg) translateY(-3px);
|
|
}
|
|
.trade[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
|
|
.trade summary:hover { background: var(--surface-2); }
|
|
.trade[open] { background: var(--surface-2); }
|
|
.trade[open] summary { border-bottom: 0; }
|
|
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 4px 22px 22px; border-bottom: 1px solid var(--rule-inner); }
|
|
.why-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
|
|
.why-card h3 { margin: 0 !important; }
|
|
.why-card .account-lines { margin-top: 4px; }
|
|
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
|
|
.checks li { display: flex; align-items: flex-start; gap: 10px; }
|
|
.checks .icon { margin-top: 2px; }
|
|
.checks .ok .icon { color: var(--gain); }
|
|
.checks .warn { color: var(--attention); }
|
|
.checks .wait .icon { color: var(--text-2); }
|
|
.pager { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 18px; }
|
|
.pager .note { margin-right: auto; }
|
|
|
|
/* ---- Strategie ---- */
|
|
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
|
|
.stages li { border: 1px solid var(--rule); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
|
|
.stages li > strong { font-size: 15px; }
|
|
.stages li > p { color: var(--text-2); font-size: 13.5px; }
|
|
.stages li.here { border: 2px solid var(--text); background: var(--surface-2); padding: 15px 17px; }
|
|
.stages .step { border: 1.5px solid var(--text); background: transparent; width: 24px; height: 24px; font-size: 13px; font-weight: 650; }
|
|
.stages .here .step { background: var(--text); color: var(--surface); }
|
|
.stage-count { display: flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 6px; color: var(--text) !important; }
|
|
.stage-count .swatch { margin-right: 0; }
|
|
.stage-count strong { margin-left: 4px; }
|
|
.strategy { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.15fr); padding: 0; }
|
|
.strategy > div { padding: 24px 26px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
|
|
.strategy > div + div { border-left: 1px solid var(--rule); }
|
|
.strategy-about h2 { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 20px; line-height: 28px; }
|
|
.strategy-about h2 .tag { margin-left: 10px; background: var(--info-bg); color: var(--link); }
|
|
.strategy-about > p:first-of-type { font-size: 15px; line-height: 22px; }
|
|
.strategy-about ul { margin: 0; padding-left: 20px; color: var(--text-2); display: flex; flex-direction: column; gap: 4px; }
|
|
.strategy-about .note { margin-top: auto; }
|
|
.strategy-number { display: flex; align-items: center; gap: 14px; font-size: 30px; line-height: 36px; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
|
|
.spark { display: block; width: 100%; height: 80px; }
|
|
.strategy-result .account-lines { grid-template-columns: max-content minmax(0, 1fr); column-gap: 16px; }
|
|
.strategy-result .account-lines dd { overflow-wrap: anywhere; }
|
|
.spark polyline { fill: none; stroke-width: 2; stroke-linejoin: round; }
|
|
.strategy-steps h3 { margin: 0 !important; }
|
|
.strategy-steps form { margin: 0; }
|
|
.confirm-live summary { list-style: none; align-self: flex-start; display: inline-flex; }
|
|
.confirm-live summary::-webkit-details-marker { display: none; }
|
|
.confirm-live[open] summary { margin-bottom: 12px; }
|
|
.confirm-summary { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
|
|
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 16px; align-items: end; }
|
|
.form-grid > p { grid-column: 1 / -1; }
|
|
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-weight: 550; }
|
|
.form-grid .btn { justify-self: start; }
|
|
.confirm-live .form-grid { grid-template-columns: 1fr; }
|
|
.plain { border-top: 2px solid var(--text); padding-top: 18px; }
|
|
.plain > h2 { margin-bottom: 8px; }
|
|
.observing { display: grid; grid-template-columns: minmax(180px, max-content) minmax(0, 1fr); margin: 0; }
|
|
.observing dt, .observing dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--rule-inner); }
|
|
.observing dt { font-weight: 650; padding-right: 32px; }
|
|
.observing dd { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--text-2); }
|
|
.observing form { margin: 0; flex: none; }
|
|
.attention { display: inline-flex; align-items: center; gap: 6px; }
|
|
|
|
/* ---- Rischio ---- */
|
|
.risk-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
|
|
.risk-top .panel { display: flex; flex-direction: column; gap: 12px; }
|
|
.risk-top .panel-head { margin-bottom: 0; }
|
|
.risk-top p { color: var(--text-2); }
|
|
.btn-danger-solid { background: var(--loss); border-color: var(--loss); color: var(--surface); }
|
|
.btn-danger-solid:hover { background: var(--loss); opacity: .9; }
|
|
.status-line.gain { display: flex; align-items: center; gap: 8px; color: var(--gain); font-weight: 600; font-size: 14px; white-space: normal; }
|
|
.blocks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
|
|
.blocks li { display: flex; align-items: flex-start; gap: 10px; }
|
|
.blocks .icon { margin-top: 2px; }
|
|
.block-list { margin: 0; display: flex; flex-direction: column; }
|
|
.block-list dt { color: var(--text-3); font-size: 13px; padding-top: 12px; border-top: 1px solid var(--rule-inner); }
|
|
.block-list dd { margin: 0 0 12px; display: flex; flex-direction: column; gap: 2px; }
|
|
.block-list dd span { color: var(--text-2); font-size: 13.5px; }
|
|
.limits td.wide { width: 24%; vertical-align: middle; }
|
|
.usage { display: block; position: relative; height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; }
|
|
.usage span { display: block; height: 100%; border-radius: 3px; background: var(--text-2); min-width: 2px; }
|
|
.usage.high span { background: var(--attention); }
|
|
.drawdown { display: block; width: 100%; height: auto; margin-top: 12px; overflow: visible; }
|
|
.drawdown .axis { stroke: var(--rule); stroke-width: 1; }
|
|
.drawdown .tick { fill: var(--text-3); font-size: 12px; }
|
|
.drawdown .area { fill: var(--loss); opacity: .1; }
|
|
.drawdown .line { fill: none; stroke: var(--loss); stroke-width: 2; stroke-linejoin: round; }
|
|
.drawdown .dot { fill: var(--loss); }
|
|
.drawdown .label { fill: var(--text); font-size: 12.5px; font-weight: 650; }
|
|
.columns .panel .notice { margin-top: 12px; }
|
|
.never { list-style: none; margin: 0; padding: 0; }
|
|
.never li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule-inner); }
|
|
.never .icon { color: var(--text-2); }
|
|
.events { display: grid; grid-template-columns: 140px minmax(0, 1fr); margin: 0 0 12px; }
|
|
.events dt, .events dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--rule-inner); }
|
|
.events dt { color: var(--text-3); }
|
|
.limits-form { max-width: none; margin-bottom: 8px; }
|
|
|
|
/* ---- Panoramica, under the top block (mockup 01) ---- */
|
|
.phone-only { display: none !important; }
|
|
.next-decision { display: flex; align-items: flex-start; gap: 10px; color: var(--text-2); font-size: 14px; }
|
|
.next-decision .icon { margin-top: 2px; color: var(--text-3); }
|
|
.overview-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
|
|
.overview-row-wide { grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); align-items: start; }
|
|
.overview-empty { grid-column: span 2; display: flex; flex-direction: column; gap: 8px; color: var(--text-2); }
|
|
.overview-account { display: flex; flex-direction: column; }
|
|
.overview-account h2 { font-size: 15px; line-height: 22px; }
|
|
.overview-account .account-value { margin: 12px 0 0; gap: 12px; }
|
|
.overview-account .account-equity { font-size: 28px; line-height: 34px; }
|
|
.split-bar.thin { height: 8px; margin-top: 16px; }
|
|
.split-key { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 10px; color: var(--text-2); font-size: 13px; }
|
|
.split-key > span { display: inline-flex; align-items: center; }
|
|
.split-key .swatch { width: 9px; height: 9px; margin-right: 4px; }
|
|
.split-key .swatch:last-of-type { margin-right: 8px; }
|
|
.split-key strong { color: var(--text); font-weight: 600; margin-left: 6px; font-variant-numeric: tabular-nums; }
|
|
.month { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule-inner); }
|
|
.month > div { display: flex; flex-direction: column; }
|
|
.month strong { font-weight: 650; font-variant-numeric: tabular-nums; }
|
|
.spark-mini { width: 120px; height: 36px; flex: none; overflow: visible; }
|
|
.spark-mini polyline { fill: none; stroke: var(--text-2); stroke-width: 1.5; stroke-linejoin: round; }
|
|
.spark-mini circle { fill: var(--text); }
|
|
.overview-account > .note { margin-top: 14px; }
|
|
.status-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; }
|
|
.status-pill.attention { color: var(--attention); }
|
|
.overview-risk { display: flex; flex-direction: column; }
|
|
.overview-risk .panel-head { margin-bottom: 10px; }
|
|
.overview-risk > .note { margin-top: 14px; }
|
|
.overview-risk .more { margin-top: 10px; align-self: flex-start; }
|
|
.limit-list { display: flex; flex-direction: column; gap: 12px; }
|
|
.limit { display: flex; flex-direction: column; gap: 6px; }
|
|
.limit-line { display: flex; justify-content: space-between; gap: 12px; color: var(--text-2); font-size: 13.5px; font-variant-numeric: tabular-nums; }
|
|
.limit-line strong { color: var(--text); font-weight: 650; }
|
|
.usage.notched { overflow: visible; }
|
|
.notch { position: absolute; top: -4px; width: 2px; height: 14px; margin-left: -1px; background: var(--text); border-radius: 1px; }
|
|
.panel-head h2 .note { margin-left: 8px; }
|
|
.overview-positions { padding-bottom: 6px; }
|
|
.strategy-list { list-style: none; margin: 0; padding: 0; }
|
|
.strategy-list li { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--rule-inner); }
|
|
.strategy-list li:first-child { padding-top: 4px; }
|
|
.strategy-line { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
|
|
.strategy-line strong { display: inline-flex; align-items: center; font-weight: 650; }
|
|
.strategy-bar { display: block; height: 8px; margin: 4px 0 6px; }
|
|
.strategy-bar span { display: block; height: 100%; border-radius: 4px; }
|
|
.info-note { margin-top: 18px; padding: 12px 16px; border-radius: 10px; background: var(--info-bg); color: var(--link); font-size: 13.5px; }
|
|
.overview-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
|
|
.tile .panel-head { margin-bottom: 8px; }
|
|
.tile h2 { font-size: 15px; }
|
|
.news-list { list-style: none; margin: 0; padding: 0; }
|
|
.news-list li { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--rule-inner); }
|
|
.news-list li:first-child { padding-top: 4px; }
|
|
.news-list li:last-child { border-bottom: 0; }
|
|
.news-list strong { font-weight: 600; }
|
|
.news-list .attention { align-items: flex-start; font-size: 13.5px; }
|
|
.news-list .attention .icon { margin-top: 2px; }
|
|
.news-list .muted { font-size: 13.5px; }
|
|
.tile > p + .limit { margin-top: 14px; }
|
|
.tile-facts { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--rule-inner); font-size: 13.5px; }
|
|
.tile-facts dt { color: var(--text-2); }
|
|
.tile-facts dd { margin: 0; text-align: right; font-weight: 600; }
|
|
.system-tiles { list-style: none; margin: 0; padding: 0; }
|
|
.system-tiles li { display: grid; grid-template-columns: 16px auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--rule-inner); font-size: 13.5px; }
|
|
.system-tiles li:last-child { border-bottom: 0; }
|
|
.system-tiles .muted { text-align: right; }
|
|
.ok > .icon { color: var(--gain); }
|
|
.warn > .icon { color: var(--attention); }
|
|
.off > .icon { color: var(--text-3); }
|
|
.phone-list { list-style: none; margin: 0; padding: 0; }
|
|
.phone-list li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--rule-inner); }
|
|
.phone-list li > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
|
|
.phone-list .num { align-items: flex-end; text-align: right; font-variant-numeric: tabular-nums; }
|
|
.phone-list .sub { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 14px; }
|
|
.phone-list .sub.gain, .phone-list strong.gain { color: var(--gain); }
|
|
.phone-list .sub.loss, .phone-list strong.loss { color: var(--loss); }
|
|
.phone-list .swatch { margin-right: 0; }
|
|
.phone-list .dot.down { background: var(--loss); }
|
|
|
|
/* ---- Diario e sistema (mockup 08) ---- */
|
|
.journal-columns { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 24px; align-items: start; }
|
|
.journal { padding: 24px 26px; }
|
|
.journal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; }
|
|
.journal-search { flex: 0 1 330px; }
|
|
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
|
|
.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border: 1px solid var(--control); border-radius: 999px; color: var(--text); text-decoration: none; font-size: 14px; }
|
|
.chip:hover { background: var(--surface-2); }
|
|
.chip.on { background: var(--text); border-color: var(--text); color: var(--surface); font-weight: 550; }
|
|
.journal-found { margin-top: 12px; }
|
|
.panel h3.journal-day { margin: 28px 0 0; padding-bottom: 10px; border-bottom: 2px solid var(--text); font-size: 14.5px; }
|
|
.journal-list { list-style: none; margin: 0; padding: 0; }
|
|
.journal-list li { display: grid; grid-template-columns: 44px 22px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--rule-inner); }
|
|
.journal-list time { color: var(--text-3); font-variant-numeric: tabular-nums; }
|
|
.journal-icon { color: var(--text-2); margin-top: 1px; }
|
|
.attention-entry .journal-icon { color: var(--attention); }
|
|
.journal-text { min-width: 0; display: flex; flex-direction: column; gap: 4px; overflow-wrap: anywhere; }
|
|
.journal-text strong { font-weight: 650; }
|
|
.journal-rest { color: var(--text-2); }
|
|
.journal-kind { color: var(--text-3); font-size: 13.5px; text-align: right; }
|
|
.journal-more { display: flex; justify-content: center; margin-top: 18px; }
|
|
.journal-side { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
|
|
.journal-side .panel-head { margin-bottom: 4px; }
|
|
.system-parts { list-style: none; margin: 0; padding: 0; }
|
|
.system-parts li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule-inner); }
|
|
.system-parts li > .icon { margin-top: 2px; }
|
|
.system-parts li > span { display: flex; flex-direction: column; min-width: 0; }
|
|
.system-parts strong { font-weight: 600; }
|
|
.system-parts li > span > span { color: var(--text-2); }
|
|
.job-list li { grid-template-columns: 96px minmax(0, 1fr); }
|
|
.job-list li:last-child { border-bottom: 0; }
|
|
.host { display: flex; flex-direction: column; gap: 12px; }
|
|
.host > h2 { margin-bottom: 0; }
|
|
.host .btn { align-self: flex-start; }
|
|
|
|
/* ---- Notizie e mercato (mockup 05) ---- */
|
|
.page-lead { margin: 0 0 20px; font-size: 15px; line-height: 22px; }
|
|
.news-columns { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 24px; align-items: start; }
|
|
.news-panel { padding: 24px 26px; }
|
|
.news-panel > .panel-head { padding-bottom: 16px; margin-bottom: 0; border-bottom: 1px solid var(--rule); }
|
|
.news-rows { list-style: none; margin: 0; padding: 0; }
|
|
.news-rows li { display: flex; flex-direction: column; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
|
|
.news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0; color: var(--text-3); font-size: 13.5px; }
|
|
.tag-strong { color: var(--text); font-weight: 600; }
|
|
.tag-outline { background: none; border: 1px solid var(--control); color: var(--text); font-weight: 400; }
|
|
.panel h3.news-title { margin: 0; font-size: 16px; line-height: 22px; font-weight: 600; }
|
|
.news-facts { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 24px; margin: 0; color: var(--text-2); font-size: 13.5px; }
|
|
.tone { display: inline-flex; align-items: center; gap: 8px; }
|
|
.tone .tone-text { color: var(--text-2); }
|
|
.tone-flat { display: inline-block; width: 10px; height: 2px; background: currentColor; }
|
|
.importance { display: inline-flex; align-items: center; gap: 8px; }
|
|
.importance-bars { display: inline-flex; gap: 2px; }
|
|
.importance-bars span { width: 5px; height: 12px; border-radius: 1.5px; background: var(--track); }
|
|
.importance-bars span.on { background: var(--text); }
|
|
.news-rows .notice { margin: 4px 0 0; }
|
|
.news-action { margin: 0; font-size: 13.5px; color: var(--text-2); }
|
|
.news-action strong, .news-rows .notice strong { font-weight: 650; color: inherit; }
|
|
.news-action strong { color: var(--text); }
|
|
.news-more { display: flex; justify-content: center; padding-top: 16px; }
|
|
.news-empty { padding: 16px 0 4px; }
|
|
.news-side .panel { padding: 22px 26px; }
|
|
.gauges { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
|
|
.gauge-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; color: var(--text-2); }
|
|
.gauge-head strong { color: var(--text); font-size: 15px; font-weight: 650; }
|
|
.gauge-track { position: relative; height: 4px; margin: 10px 6px 6px; border-radius: 2px; background: var(--track); }
|
|
.gauge-track.centered::before { content: ""; position: absolute; left: 50%; top: -5px; width: 1px; height: 14px; background: var(--control); }
|
|
.gauge-dot { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--text); }
|
|
.gauge-ends { display: flex; justify-content: space-between; gap: 12px; color: var(--text-3); font-size: 12.5px; }
|
|
.gauges li .hint { margin: 4px 0 0; }
|
|
.gauges-note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule); }
|
|
.calendar-list { list-style: none; margin: 12px 0 0; padding: 0; }
|
|
.calendar-list li { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-top: 1px solid var(--rule); font-size: 13.5px; }
|
|
.calendar-list li:last-child { padding-bottom: 2px; }
|
|
.calendar-list strong { font-size: 14.5px; font-weight: 600; }
|
|
.attention-text { color: var(--attention); }
|
|
.source-list { list-style: none; margin: 8px 0 12px; padding: 0; }
|
|
.source-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--rule-inner); font-size: 14px; }
|
|
.source-list li > span:first-child { display: inline-flex; }
|
|
.source-list .muted { text-align: right; }
|
|
|
|
@media (max-width: 1180px) {
|
|
.overview-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.overview-row-wide, .journal-columns, .news-columns { grid-template-columns: minmax(0, 1fr); }
|
|
}
|
|
|
|
/* ---- Service pages ---- */
|
|
.service { min-height: 100vh; display: flex; justify-content: center; padding: 48px 16px; }
|
|
.service-box { width: 100%; max-width: 720px; display: flex; flex-direction: column; gap: 16px; }
|
|
.service-brand { display: flex; align-items: center; gap: 14px; font-size: 22px; font-weight: 650; margin-bottom: 8px; }
|
|
.service-section { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
|
|
.service-section h2 { display: flex; align-items: center; gap: 10px; }
|
|
.service-foot { color: var(--text-3); font-size: 13px; margin-top: 8px; }
|
|
.problems td:first-child { white-space: nowrap; }
|
|
|
|
/* ---- Phone (SPEC 13.4, appendix C): 390 px and below the tablet width ---- */
|
|
@media (max-width: 760px) {
|
|
.shell { display: block; padding-bottom: 76px; }
|
|
.sidebar { display: none; }
|
|
.topbar { flex-wrap: nowrap; padding: 12px 16px; }
|
|
.topbar h1, .status-line, .pill, .currency, .topbar-actions form:not(.stop-form) { display: none; }
|
|
.topbar-title { display: flex; align-items: center; gap: 14px; }
|
|
.phone-brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 18px; font-weight: 650; }
|
|
.phone-bot { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 14px; }
|
|
.btn-danger { height: 44px; }
|
|
.mode-band { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--info-bg); color: var(--link); font-weight: 550; font-size: 14px; }
|
|
.stale-notice { margin: 12px 16px 0; }
|
|
.page { padding: 16px; gap: 14px; }
|
|
.panel { padding: 18px; }
|
|
.head-block { grid-template-columns: 1fr; gap: 14px; padding: 0; background: none; border: 0; }
|
|
.half { padding: 18px; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; }
|
|
.half + .half { border-left: 1px solid var(--rule); }
|
|
.segmented, .cell-change, .cell-extra, .long, .chart-axis { display: none; }
|
|
.lead { margin-top: 12px; }
|
|
.big-result { gap: 12px; }
|
|
.big-number { font-size: 46px; line-height: 48px; }
|
|
.badge { font-size: 15px; padding: 4px 10px; }
|
|
.cells { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
.chart-box { grid-template-columns: minmax(0, 1fr) 80px; height: 200px; }
|
|
.legend { flex-direction: column; gap: 4px; }
|
|
.statement { font-size: 18px; line-height: 26px; margin-top: 12px; }
|
|
.columns { grid-template-columns: 1fr; }
|
|
.row { grid-template-columns: 1fr; }
|
|
.totals { padding: 18px; }
|
|
.totals-cells { grid-template-columns: 1fr 1fr; gap: 14px; }
|
|
.total-value { font-size: 22px; line-height: 28px; }
|
|
.split-legend { gap: 6px 16px; }
|
|
.account-grid { grid-template-columns: 1fr; gap: 14px; }
|
|
.account { padding: 18px; }
|
|
.account-equity { font-size: 28px; line-height: 34px; }
|
|
.positions .wide { display: none; }
|
|
.account-value .cell-change { display: inline-flex; flex-basis: 100%; }
|
|
.panel-tools { width: 100%; justify-content: space-between; }
|
|
.facts { grid-template-columns: 1fr; gap: 2px; }
|
|
.facts dd { margin-bottom: 8px; }
|
|
.panel > h2 { flex-direction: column; align-items: flex-start; gap: 4px; }
|
|
.trades-head .cells { grid-template-columns: 1fr 1fr; }
|
|
.trades { margin: 0 -18px; }
|
|
.trade-row { grid-template-columns: minmax(0, 1fr) auto 16px; gap: 4px 12px; padding: 12px 18px; }
|
|
.trade-row > span:first-child { grid-column: 1 / -1; color: var(--text-3); font-size: 13px; }
|
|
.trade-row .wide, .trade-header, .limits .wide, .filters .btn:last-child { display: none; }
|
|
.why { grid-template-columns: 1fr; padding: 4px 18px 18px; }
|
|
.filters > label:not(.search) { flex: 1 1 140px; }
|
|
.filters select { width: 100%; }
|
|
.stages { grid-template-columns: 1fr 1fr; gap: 10px; }
|
|
.strategy { grid-template-columns: 1fr; }
|
|
.strategy > div { padding: 18px; }
|
|
.strategy > div + div { border-left: 0; border-top: 1px solid var(--rule); }
|
|
.risk-top { grid-template-columns: 1fr; gap: 14px; }
|
|
.observing { grid-template-columns: 1fr; }
|
|
.observing dt { border-bottom: 0; padding-bottom: 0; }
|
|
.observing dd { flex-direction: column; align-items: flex-start; }
|
|
.events { grid-template-columns: 1fr; }
|
|
.events dt { border-bottom: 0; padding-bottom: 0; }
|
|
.bottombar {
|
|
display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; position: fixed; left: 0; right: 0; bottom: 0;
|
|
padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--rule); z-index: 10;
|
|
}
|
|
.bottom-item {
|
|
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 52px;
|
|
border-radius: 10px; color: var(--text-2); text-decoration: none; font-size: 11.5px; line-height: 14px;
|
|
}
|
|
.bottom-item.active { background: var(--surface-2); color: var(--text); font-weight: 650; }
|
|
.nav-item, .btn, .more-list a { min-height: 44px; }
|
|
}
|
|
|
|
/* Panoramica and Diario on the phone: mockup 09, and mockup 08 stacked in one column */
|
|
@media (max-width: 760px) {
|
|
.desk-only { display: none !important; }
|
|
.cells > .cell-extra { display: none; }
|
|
section.phone-only, div.phone-only, ul.phone-only { display: block !important; }
|
|
a.phone-only { display: inline-block !important; }
|
|
span.phone-only { display: inline !important; }
|
|
.overview-row, .overview-row-wide, .overview-tiles { grid-template-columns: minmax(0, 1fr); gap: 14px; }
|
|
.half-next .moves { margin-top: 4px; border-top: 1px solid var(--rule); }
|
|
.phone-list li:last-child { padding-bottom: 4px; }
|
|
.journal { padding: 18px; }
|
|
.journal-search { flex: 1 1 100%; }
|
|
.journal-list li { grid-template-columns: 40px 18px minmax(0, 1fr); gap: 4px 10px; }
|
|
.journal-kind { grid-column: 3; text-align: left; font-size: 12.5px; line-height: 16px; }
|
|
.chip { min-height: 40px; }
|
|
.journal-side { gap: 14px; }
|
|
.job-list li { grid-template-columns: 84px minmax(0, 1fr); }
|
|
.news-panel, .news-side .panel { padding: 18px; }
|
|
.news-panel > .panel-head .segmented { display: flex; width: 100%; }
|
|
.news-panel > .panel-head .segmented a { flex: 1 1 0; text-align: center; padding: 8px 6px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
|
|
.news-columns, .news-side { gap: 14px; }
|
|
}
|