/* Portfolio simulator ----------------------------------------------------- */
.hero { padding: 40px 0 18px; max-width: 820px; }
.hero .eyebrow { margin-bottom: 13px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 5.5vw, 50px); line-height: 1.03; letter-spacing: -0.015em; margin: 0 0 12px; }
.hero h1 em { font-style: italic; color: var(--accent-2); }
.hero p { font-size: clamp(14px, 2vw, 16px); color: var(--muted); line-height: 1.6; margin: 0; max-width: 640px; }

.pf-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 22px; }
@media (max-width: 900px) { .pf-grid { grid-template-columns: 1fr; } }

.pf-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 78px; }
@media (max-width: 900px) { .pf-side { position: static; } }
.add-hold { position: relative; }
.add-hold input { width: 100%; background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 10px 16px; font-family: var(--sans); font-size: 13.5px; outline: none; }
.add-hold input:focus { border-color: var(--accent); }
.ah-drop { display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.55); max-height: 300px; overflow: auto; }
.ah-drop.open { display: block; }
.ah-item { display: flex; gap: 9px; align-items: center; padding: 8px 10px; border-radius: var(--r-sm); cursor: pointer; }
.ah-item.hi, .ah-item:hover { background: var(--surface-3); }
.as-id { font-family: var(--mono); font-size: 12px; color: var(--brass); min-width: 54px; }
.as-lb { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hold-list { display: flex; flex-direction: column; gap: 6px; }
.ser-empty { color: var(--faint); font-size: 13px; font-family: var(--mono); }
.hold-row { display: grid; grid-template-columns: 1fr 62px 34px 20px; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 8px 12px; }
.hold-row .h-tk { font-family: var(--mono); font-size: 12.5px; color: var(--brass); }
.hold-row .h-tk::before { content: "$"; opacity: .7; }
.hold-row .h-w { width: 100%; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); border-radius: var(--r-sm); padding: 5px 7px; font-family: var(--mono); font-size: 12.5px; outline: none; }
.hold-row .h-pct { font-family: var(--mono); font-size: 11.5px; color: var(--faint); text-align: right; }
.hold-row .h-del { background: none; border: 0; color: var(--faint); font-size: 16px; cursor: pointer; }
.hold-row .h-del:hover { color: var(--down); }
.pf-actions { display: flex; gap: 8px; }
.pf-actions button, .pf-presets button { font-family: var(--mono); font-size: 11.5px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.pf-actions button:hover, .pf-presets button:hover { color: var(--text); border-color: var(--line-2); }
.pf-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pf-presets button { color: var(--accent-2); border-color: rgba(91,185,139,.28); background: var(--accent-dim); }
.studio-note { font-size: 12px; color: var(--faint); line-height: 1.5; }

.pf-blank { padding: 60px 20px; text-align: center; color: var(--faint); font-family: var(--mono); font-size: 13px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.pf-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 18px; }
.pf-tile { background: var(--surface); padding: 14px 16px; }
.pf-tile .k { font-size: 11.5px; color: var(--faint); }
.pf-tile .v { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 19px; margin-top: 4px; }
.bt-host, .mc-host { width: 100%; }
.pf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pf-two .card { margin-top: 0; }
@media (max-width: 720px) { .pf-two { grid-template-columns: 1fr; } }

.alloc { display: flex; flex-direction: column; gap: 8px; }
.alloc-row { display: grid; grid-template-columns: 1fr 2fr 42px; gap: 10px; align-items: center; font-size: 12.5px; }
.alloc-row .a-s { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alloc-row .a-bar { height: 6px; border-radius: 999px; background: rgba(236,233,223,.08); overflow: hidden; }
.alloc-row .a-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.alloc-row .a-w { font-family: var(--mono); font-size: 12px; color: var(--text); text-align: right; }
.conc { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); font-family: var(--mono); }

.pf-score { text-align: center; padding: 8px 0 4px; }
.pf-score .ps-num { font-family: var(--serif); font-size: 40px; font-weight: 500; color: var(--accent-2); }
.pf-score .ps-lbl { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.pf-pillars { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.pp-row { display: grid; grid-template-columns: 90px 1fr 26px; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); }
.pp-bar { height: 5px; border-radius: 999px; background: rgba(236,233,223,.08); overflow: hidden; }
.pp-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.pp-row b { font-family: var(--mono); color: var(--text); text-align: right; }

.mc-legend { margin-top: 12px; font-size: 13px; color: var(--muted); }
.mc-legend b { font-family: var(--mono); color: var(--text); }
.mc-note { margin-top: 8px; font-size: 11.5px; color: var(--faint); font-style: italic; }
.angle-card .prose p { font-size: 14.5px; }
