:root{--ink:#0d1112;--muted:#465553;--green:#068e6a;--light:#eff8f4;--line:#d7dfdd;--blue:#155299;--link:#08729b;--red:#d0184d}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f0f4f3;color:var(--ink);font:16px/1.5 'Roboto Flex',sans-serif;font-variant-numeric:tabular-nums}button,input,select{font:inherit}button{cursor:pointer;color:var(--link);background:none;border:0;min-height:44px;padding:8px 12px;touch-action:manipulation}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--link);outline-offset:3px}button:active{opacity:.75}p,h1,h2,h3{margin:0}h1,h2{font-family:'Roboto Slab',serif}h1{font-size:36px;line-height:44px;font-weight:650;letter-spacing:-.025em}h2{font-size:24px;line-height:30px;font-weight:600;margin-bottom:16px}h3{font-size:16px;margin:24px 0 12px}.app{width:100%;max-width:430px;margin:auto;background:white;min-height:100dvh}section{padding:24px 16px}.nav{display:flex;align-items:center;gap:16px;padding:4px 4px 4px 8px;min-height:56px;border-bottom:1px solid var(--line);padding-top:max(4px,env(safe-area-inset-top))}.nav button:first-child{color:var(--ink)}.brand{margin-left:auto;color:#006b50;font-weight:700}.small,small{font-size:14px;line-height:20px}.muted{color:var(--muted)}.up{color:var(--blue)}.down{color:var(--red)}.between{display:flex;align-items:center;justify-content:space-between;gap:8px}.identity{background:var(--light);border-bottom:4px solid var(--green);display:flex;flex-direction:column;gap:12px}.eyebrow{font-size:14px;color:var(--muted)}.actions{display:flex;align-items:center;gap:8px;margin-top:4px}.outline{border:1px solid #52645d;border-radius:24px;padding:8px 16px;color:var(--ink)}.actions .outline{font-weight:600}.price{display:flex;flex-direction:column;gap:8px}.price-number{font-size:44px;line-height:52px;font-weight:600;letter-spacing:-.025em}.unit{font-size:20px;font-weight:400}.change{font-size:18px;font-weight:600}.chart-workspace{padding-top:8px;display:flex;flex-direction:column;gap:16px}.segmented{display:flex;gap:4px;padding:4px;border-radius:26px;background:#e8edee}.segmented button{flex:1;color:var(--muted);border:1px solid transparent;border-radius:24px;min-width:0}.segmented button[aria-pressed=true]{background:#fff;border-color:#52645d;color:var(--ink);font-weight:600}.tools{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:8px}.tools button{font-size:14px;padding-inline:0}.chart-wrap{position:relative;width:100%;min-width:0}#chart{width:100%;display:block;height:auto;aspect-ratio:356/234;margin:0;touch-action:pan-y}#scrub{width:100%;height:24px;margin:0;accent-color:#006b50;cursor:ew-resize}#legend{display:flex;gap:16px}#legend[hidden]{display:none}.periods{display:flex;gap:4px}.periods button{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-bottom:1px solid var(--line);padding:8px 0;min-height:64px;font-size:14px;color:var(--ink);white-space:nowrap}.periods button span:last-child{font-weight:600}.periods button[aria-pressed=true]{background:var(--light);border-bottom:3px solid #006b50;font-weight:650}.chart-workspace>.between button{font-size:14px;padding-right:0;font-weight:600}.tabs{display:flex;justify-content:space-between;border-block:1px solid var(--line);padding:0 16px;gap:4px}.tabs button{font-size:14px;color:var(--ink);padding:12px 0;min-height:48px}.tabs .active{border-bottom:3px solid var(--green);font-weight:700}.events{background:var(--light)}.report{align-items:flex-end;margin:20px 0}.report .large{font-size:24px;font-weight:600;margin-top:8px}.dividend{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #b7c9c0;padding-top:16px;margin-bottom:20px}.dividend .medium{font-size:20px;font-weight:600;margin-top:8px}.dividend .small{font-weight:400}.metrics{margin:16px 0 0}.metrics>div{display:flex;justify-content:space-between;align-items:center;min-height:56px;border-bottom:1px solid var(--line);gap:16px}dt{color:var(--muted)}dd{margin:0;font-weight:600;text-align:right}.company{padding-top:0}.company p{line-height:24px}.company>button{padding-left:0;font-weight:600;margin-top:12px}.chips{display:flex;gap:8px;flex-wrap:wrap}.chips button{color:var(--link);font-size:14px}.detail{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;min-height:76px;padding:12px 0;border-bottom:1px solid var(--line)}.detail small{display:block;color:var(--muted);margin-top:6px}.detail>span:last-child{font-size:24px}.trade{display:flex;gap:12px}.trade button{flex:1;border-radius:24px;color:white;font-weight:600;min-height:48px}.buy{background:var(--blue)}.sell{background:var(--red)}footer{padding:16px;background:#f9fbfb;border-top:1px solid var(--line)}footer p{margin:12px 0}footer>button{display:block;margin:auto;font-size:14px;font-weight:600}.prototype-note{text-align:center;padding:24px 16px max(24px,env(safe-area-inset-bottom));color:var(--muted);background:#f9fbfb}dialog{width:min(100%,430px);max-height:90dvh;margin:auto auto 0;padding:24px 24px max(24px,env(safe-area-inset-bottom));border:1px solid #c8d6d1;border-radius:24px 24px 0 0;background:white;color:var(--ink);overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:#0d111260}.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:8px;position:sticky;top:-24px;background:#fff;padding:8px 0 16px;z-index:1}.sheet-head h2{margin:0}.sheet-head button{font-size:28px;color:var(--ink);width:44px;flex-shrink:0}body.modal{overflow:hidden}.field{display:flex;flex-direction:column;gap:8px;margin:20px 0}.field input,.field select{width:100%;min-height:48px;border:1px solid #52645d;border-radius:8px;padding:10px;background:white;color:var(--ink)}fieldset{border:0;padding:0;margin:24px 0}legend{font-weight:600;margin-bottom:12px}.options{display:flex;gap:8px;flex-wrap:wrap}.options label{flex:1;position:relative}.options input{position:absolute;opacity:0}.options span{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #879691;border-radius:8px;padding:8px;font-size:14px}.options input:checked+span{background:var(--light);border-color:#006b50;font-weight:600}.options input:focus-visible+span{outline:2px solid var(--link);outline-offset:2px}.checkrow{display:flex;align-items:center;justify-content:space-between;min-height:60px;border-top:1px solid var(--line);gap:16px}.checkrow input{accent-color:#006b50;width:22px;height:22px}.primary{width:100%;background:var(--ink);color:white;border-radius:24px;min-height:48px;font-weight:600;margin-top:20px}.period-row,.owner-row{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:52px;border-bottom:1px solid var(--line);gap:12px;text-align:left;color:var(--ink);padding:12px 0}.period-row[aria-pressed=true]{background:var(--light);font-weight:600}.owner-row strong{color:var(--ink)}.owner-row small{display:block;color:var(--muted)}.industry-hero{background:var(--light);padding:20px;margin:0 -24px 16px}.industry-hero h3{font-family:'Roboto Slab';font-size:28px;line-height:36px;margin:0 0 16px}.industry-hero .large{font-size:32px;font-weight:600;margin-bottom:8px}.selected-owner{background:var(--light)}.note{font-size:14px;color:var(--muted);line-height:22px;margin-top:20px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);width:max-content;background:var(--ink);color:white;padding:12px 20px;border-radius:12px;z-index:10;pointer-events:none;opacity:0;transition:opacity .15s}#toast.show{opacity:1}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{position:fixed;top:0;background:white;padding:16px;z-index:20}@media(min-width:600px){.app{margin:24px auto;border:1px solid var(--line)}dialog{margin:auto;border-radius:24px;max-height:85dvh}}@media(max-width:350px){.actions{gap:0}.actions button{padding-inline:10px}.periods button{font-size:12px}.dividend{gap:8px}.dividend .small{font-size:13px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
dialog{max-width:430px}.field textarea{width:100%;font:inherit;padding:12px;border:1px solid #52645d;border-radius:8px;resize:vertical}
/* Mobile spacing trial: keep the type and vertical rhythm, change side insets. */
section,.tabs,footer,.prototype-note{padding-inline:24px}
.nav{padding-inline:12px}
.industry-hero{padding-inline:24px}

/* V5: compact top and chart reading, matching the reviewed Paper proposal. */
.identity{padding-block:16px;gap:8px}.name-actions{display:flex;align-items:center;justify-content:space-between;gap:4px}.compact-actions{display:flex;gap:4px}.compact-actions button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;flex-shrink:0}.compact-actions button:last-child{color:var(--ink);font-size:24px}.price{padding-block:16px;gap:4px}.chart-workspace{padding-top:0;gap:4px}.segmented{padding:0;background:none;gap:24px;border-radius:0}.segmented button{flex:none;padding:0;font-size:14px;height:44px;min-width:44px;border:0;border-radius:0}.segmented button[aria-pressed=true]{background:none;border:0;border-bottom:2px solid #006b50;font-weight:650}.tools{border:0;padding:0}#chart-caption{font-weight:600;color:var(--ink);min-height:20px}#scrub{--progress:100%;appearance:none;-webkit-appearance:none;display:block;width:calc(100% * 298 / 356);height:44px;background:transparent;outline-offset:0}#scrub::-webkit-slider-runnable-track{height:3px;background:linear-gradient(to right,#068e6a 0 var(--progress),#bacac3 var(--progress) 100%);border-radius:2px}#scrub::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:20px;height:20px;border:2px solid white;border-radius:50%;background:linear-gradient(90deg,transparent 6px,white 6px,white 7px,transparent 7px,transparent 10px,white 10px,white 11px,transparent 11px),#068e6a;box-shadow:0 0 0 1px #006b50;margin-top:-8.5px}#scrub::-moz-range-track{height:3px;background:#bacac3}#scrub::-moz-range-progress{background:#068e6a;height:3px}#scrub::-moz-range-thumb{width:16px;height:16px;border:2px solid white;border-radius:50%;background:#068e6a;box-shadow:0 0 0 1px #006b50}@media(max-width:350px){.name-actions h1{font-size:30px;line-height:40px}.compact-actions{gap:0}}

/* Refined active states and tab rhythm. */
.segmented button{display:flex;align-items:flex-end;justify-content:center;padding-bottom:4px;border-bottom:2px solid transparent}
.segmented button[aria-pressed=true]{border-bottom:2px solid #006b50}
.tabs button{display:flex;align-items:flex-end;justify-content:center;padding:12px 0 4px;border-bottom:3px solid transparent}
.tabs .active{border-bottom:3px solid #068e6a}
.periods button{border:1px solid #879691;border-bottom:3px solid #879691;border-radius:6px 6px 0 0}
.periods button[aria-pressed=true]{border:1px solid #879691;border-bottom:3px solid #006b50}
.chart-workspace{padding-bottom:0}
.chart-workspace>.between{min-height:68px;padding-block:12px;margin-top:8px;align-items:center}
.chart-workspace>.between button{padding-block:0;display:flex;align-items:center;min-height:44px}
/* Restore open period tabs with a continuous bottom rule. */
.periods{gap:0}
.periods button{border:0;border-bottom:3px solid #d7dfdd;border-radius:0;background:transparent}
.periods button[aria-pressed=true]{border:0;border-bottom:3px solid #006b50;background:#eff8f4}

/* Full-page spacing from the Paper review. */
.price { padding-bottom: 8px; }
.segmented { gap: 20px; }
.segmented button { font-size: 16px; line-height: 20px; padding-bottom: 6px; }
.chart-workspace > .between { min-height: 60px; padding-block: 8px; margin-top: 0; }

.events h2 { margin-bottom: 16px; }
.report { margin-block: 16px; }
.dividend { margin-bottom: 16px; }
#metrics h2 { margin-bottom: 4px; }
.metrics { margin-top: 12px; }
.metrics > div { min-height: 48px; }
.company { padding-top: 16px; }
.company h2 { margin-bottom: 12px; }
.company h3 { margin-top: 20px; }
.company + section { padding-top: 16px; }
.company + section h2 { margin-bottom: 8px; }
footer { padding-block: 24px; }
footer > button { margin-top: 8px; }
footer p { margin: 8px 0 0; }

/* Nordljus chart study */
.identity { border-bottom: 1px solid var(--line); }
#watch { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: auto; padding-inline: 10px; border-color: #00684f; color: #00684f; font-size: 14px; font-weight: 700; }
#watch svg { width: 17px; height: 17px; flex: none; }
#watch.watching { background: #00684f; color: #fff; }
#watch.watching svg path { fill: currentColor; }
.chart-heading { padding-top: 12px; gap: 8px; }
.chart-heading h2 { margin: 0; font: 700 14px/20px "Roboto Flex", sans-serif; }
#chart-start { text-align: right; }
#chart-range strong { color: var(--ink); }
#chart { cursor: crosshair; }
#chart-caption { position: absolute; z-index: 1; top: 2px; width: max-content; max-width: 100%; transform: translateX(-50%); padding: 6px 10px; border-radius: 8px; background: #0d1112; color: #fff; font-size: 13px; line-height: 20px; font-weight: 650; white-space: nowrap; pointer-events: none; }
.periods { gap: 4px; }
.periods button, .periods button[aria-pressed=true] { position: relative; min-height: 54px; gap: 4px; border: 0; border-radius: 8px; padding: 6px 0 8px; }
.periods button[aria-pressed=true]::after { position: absolute; inset: auto 8px 3px; height: 2px; background: #00684f; content: ""; }
.chart-table-button { display: block; width: 100%; text-align: left; min-height: 44px; padding: 0; border-top: 1px solid var(--line); font-size: 14px; font-weight: 650; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.price-table caption { text-align: left; color: #465553; padding: 0 0 12px; }
.price-table th, .price-table td { border-bottom: 1px solid var(--line); padding: 10px 4px; text-align: right; }
.price-table th:first-child { text-align: left; }
.price-table tbody th { font-weight: 500; }

/* Graph controls and watchlists */
[hidden] { display: none !important; }
.chart-workspace { gap: 8px; padding-top: 8px; }
.chart-workspace .segmented { align-self: flex-start; gap: 2px; height: auto; padding: 2px; background: #f9fbfb; border: 1px solid #d7dfdd; border-radius: 12px; }
.chart-workspace .segmented button, .chart-workspace .tools button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.chart-workspace .segmented button { padding: 0 9px; border: 1px solid transparent; border-radius: 9px; color: var(--ink); }
.chart-workspace .segmented button[aria-pressed=true] { color: #00684f; background: #eff8f4; border: 1px solid #00684f; }
.chart-workspace .segmented button::after { display: none; }
.chart-workspace .tools { gap: 8px; padding-block: 4px 12px; }
.chart-actions { display: flex; align-items: center; gap: clamp(6px, 3vw, 16px); }
.chart-workspace .tools #resolution { padding-inline: 10px; background: #eff8f4; color: #00684f; border-radius: 9px; }
.chart-workspace .tools button { padding-block: 0; }
.chart-workspace .tools svg { flex: none; }
.watch-confirmation { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 24px; background: #eff8f4; border-bottom: 1px solid #d7e9e2; font-size: 14px; line-height: 20px; }
.watch-confirmation > button { flex: none; padding: 0; min-height: 44px; color: #00684f; font-size: 14px; line-height: 20px; font-weight: 700; }
.watch-confirmation-copy { display: flex; flex-direction: column; gap: 2px; }
.watch-confirmation-copy span { color: #465553; font-size: 13px; }
.watchlists-hero { padding-block: 12px 16px; background: #eff8f4; }
.watchlists-content { padding: 0 24px 24px; }
.watchlists-message { display: flex; align-items: flex-start; gap: 12px; margin-block: 16px 8px; padding: 16px; border-radius: 8px; background: var(--light); color: #00684f; font-weight: 650; }
.watchlists-message svg { flex-shrink: 0; margin-top: 2px; }
.watchlists-content .watchlist-group { padding: 0; }
.watchlist-group + .watchlist-group { margin-top: 24px; }
.watchlist-heading, .watchlist-columns, .watch-stock { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.watchlist-heading { min-height: 56px; border-bottom: 1px solid var(--line); }
.watchlist-heading h2 { margin: 0; font: 700 17px/24px "Roboto Flex", sans-serif; overflow-wrap: anywhere; }
.watchlist-heading button { display: inline-flex; align-items: center; flex: none; gap: 6px; min-height: 44px; padding: 0; font-size: 14px; font-weight: 650; }
.watchlist-columns { padding: 12px 20px 0 0; }
.watch-stock { min-height: 70px; width: 100%; border-bottom: 1px solid var(--line); text-align: left; color: var(--ink); padding: 8px 0; }
.watch-stock > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.watch-stock > span:last-child { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.watch-stock small { color: #465553; }
.watch-stock > span:last-child > span { color: #08729b; }
.watch-create { padding-inline: 0; min-height: 44px; text-align: left; font-weight: 650; }
.watchlists-content > .watch-create { margin-block: 12px; }
.watch-choice { display: flex; align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--line); }
.watch-choice input { width: 20px; height: 20px; margin: 0; accent-color: #00684f; }

/* Dimensions and typography from the reviewed Paper frames. */
:root { --line: #e8edee; }
.app { max-width: 390px; border: 1px solid var(--line); }
.phone-status { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 28px 0 52px; font-weight: 700; }
.nav { min-height: 52px; padding: 0 24px; gap: 20px; font-size: 16px; }
.nav button { padding: 0; white-space: nowrap; }
#watchlists-view .nav button { color: var(--link); }
.identity { padding-block: 12px 16px; gap: 4px; }
.identity h1 { font-size: 32px; line-height: 40px; font-weight: 700; }
.identity .eyebrow, .identity #instrument-meta { font-size: 13px; line-height: 20px; }
.compact-actions { gap: 8px; }
#watch { padding-inline: 12px; }
.price > .between { line-height: 18px; }
.price-number { display: flex; align-items: baseline; gap: 8px; font-size: 40px; line-height: 52px; font-weight: 680; }
.price .unit { font-size: 16px; line-height: 24px; color: var(--muted); font-weight: 500; }
.price .change { font-size: 16px; line-height: 24px; }
.chart-workspace .segmented { margin-block: 1px; }
.chart-workspace .segmented button { font-size: 14px; font-weight: 650; padding-inline: 10px; }
.chart-workspace .tools { border-bottom: 1px solid var(--line); }
.chart-actions { gap: 16px; }
.chart-actions button { gap: 4px; font-weight: 650; }
.chart-reading { width: 100%; min-width: 0; align-self: stretch; display: flex; flex-direction: column; gap: 4px; }
.chart-reading .chart-heading { padding: 8px 0 0; min-height: 28px; }
.chart-reading .small { font-size: 13px; }
.chart-workspace > .chart-dates { min-height: 64px; padding-block: 0; }
.periods button, .periods button[aria-pressed=true] { min-height: 57px; padding: 4px 0 7px; }
.periods button span { line-height: 18px; }
.periods button span:last-child { font-size: 12px; line-height: 16px; font-weight: 700; }
.chart-table-button { min-height: 49px; }
.tabs button { align-items: center; padding: 0; }
#main section:not(.identity,.price,.chart-workspace) h2 { margin: 0; line-height: 32px; font-weight: 650; }
.events { display: flex; flex-direction: column; gap: 16px; background: #f9fbfb; border-bottom: 1px solid var(--line); }
.events .report, .events .dividend { margin: 0; }
.events .report .large, .events .dividend .medium { margin-top: 4px; }
.events .dividend { border-color: var(--line); gap: 12px; }
#metrics, .company, .company + section { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-bottom: 1px solid var(--line); }
.metrics { margin: 8px 0 0; }
.metrics dd { font-weight: 650; }
.company > button { align-self: flex-start; margin: 0; padding-block: 0; }
.company h3 { margin: 4px 0 0; }
.company + section .detail { min-height: 64px; padding-block: 8px; }
.company + section .detail small { margin-top: 0; }
footer { display: flex; flex-direction: column; gap: 12px; border: 0; }
footer p, footer > button { margin-block: 0; }
.watchlists-hero { display: flex; flex-direction: column; gap: 4px; }
.watchlists-hero h1 { font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: normal; }
.watchlists-hero p { line-height: 22px; }
.watchlists-message { font-size: 16px; line-height: 24px; }
.watchlist-columns { min-height: 42px; padding: 0 19px 0 0; }
.watch-stock { min-height: 71px; }
.watchlists-content > p:last-child { padding-block: 16px; line-height: 18px; }
#watch-list-picker { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
#watch-list-picker .primary { margin-top: 0; min-height: 44px; border-radius: 8px; background: #00684f; }
@media (max-width: 360px) {
  .nav { gap: 10px; padding-inline: 16px; }
  .identity h1 { font-size: 28px; }
  .compact-actions, .chart-actions { gap: 4px; }
  .chart-actions button { gap: 3px; font-size: 13px; }
}
.metrics { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.watch-stock .watch-stock-new { color: #00684f; }
.watchlists-hero h1:focus, .watchlist-heading h2:focus, #sheet-title:focus { outline: none; }
#sheet:has(#watch-list-picker) { padding: 20px 24px max(20px, env(safe-area-inset-bottom)); max-width: 390px; border-color: var(--line); border-radius: 16px 16px 0 0; }
#sheet:has(#watch-list-picker) .sheet-head { position: relative; top: auto; min-height: 30px; margin-bottom: 12px; padding: 0 44px 0 0; }
#sheet:has(#watch-list-picker) .sheet-head h2 { font-size: 22px; line-height: 30px; font-weight: 700; }
#sheet:has(#watch-list-picker) .sheet-head button { position: absolute; right: 0; top: -7px; padding: 0; }
#sheet:has(#watch-list-picker) #sheet-content > p { line-height: 18px; }

.resolution-picker { position: relative; flex: none; }
#resolution[aria-expanded=true] svg { transform: rotate(180deg); }
#resolution-options { position: absolute; z-index: 3; top: calc(100% + 4px); left: 0; min-width: 120px; padding: 4px; border: 1px solid #d7dfdd; border-radius: 10px; background: #fff; box-shadow: 0 4px 16px #0d11121a; }
.chart-workspace .tools #resolution-options button { display: flex; justify-content: space-between; width: 100%; padding-inline: 10px; border-radius: 6px; color: var(--ink); text-align: left; }
.chart-workspace .tools #resolution-options button[aria-pressed=true] { background: #eff8f4; color: #00684f; font-weight: 700; }
#resolution-options button[aria-pressed=false] .resolution-check { visibility: hidden; }

.nav-search { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-inline-end: -12px; }

.periods button .down { color: #d0184d; }

/* Hitta: exact values from the reviewed Paper screen. */
.nav { justify-content: space-between; }
.nav-search { margin-inline: auto 0; justify-content: flex-end; }
.phone-status { font-size: 17px; line-height: 22px; font-weight: 600; }
.app main:focus { outline: none; }
.find-nav button:first-child { color: var(--link); line-height: 20px; }
.find-hero { display: flex; flex-direction: column; gap: 4px; padding: 12px 24px 16px; background: #eff8f4; }
.find-hero h1 { color: #000; font-size: 32px; line-height: 40px; font-weight: 650; letter-spacing: normal; }
.find-hero p { color: #465553; font-size: 14px; line-height: 20px; }
.find-hero .find-eyebrow { line-height: 18px; }
.find-columns { display: flex; justify-content: space-between; padding: 16px 44px 8px 24px; color: #465553; font-size: 14px; line-height: 18px; }
.find-stocks { list-style: none; margin: 0; padding: 0; }
.find-stocks li::after { display: block; height: 1px; margin-inline: 24px; background: #e8edee; content: ""; }
.find-stock { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 70px; padding: 12px 24px; color: #0d1112; text-align: left; }
.find-stock-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.find-stock strong { font-size: 16px; line-height: 20px; font-weight: 600; }
.find-stock small { color: #465553; font-size: 14px; line-height: 18px; }
.find-stock-return { display: flex; align-items: center; justify-content: flex-end; flex-shrink: 0; width: 112px; gap: 12px; }
.find-stock-return > span { color: #08729b; font-size: 22px; line-height: 28px; }
.find-note { padding: 16px 24px; color: #465553; font-size: 14px; line-height: 18px; }

.portfolio-credit {
  max-width: 440px;
  margin: 16px auto 24px;
  padding: 0 24px;
  display: grid;
  justify-items: start;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}
.portfolio-credit a {
  color: var(--link);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-underline-offset: 3px;
}

.chart-workspace { --series-ink: #068e6a; --series-tint: #ddf2e9; }
.chart-workspace[data-trend="down"] { --series-ink: var(--red); --series-tint: #f9dce4; }
.chart-workspace[data-trend="flat"] { --series-ink: var(--muted); --series-tint: #e6e9e8; }
.series-key { color: var(--series-ink); }

#main > .trade {
  position: fixed;
  inset-inline: 0;
  width: min(calc(100% - 2px), 388px);
  margin-inline: auto;
  bottom: 0;
  z-index: 2;
  padding: 12px 24px calc(12px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid var(--line);
}
body:has(#main:not([hidden])) {
  padding-bottom: calc(73px + env(safe-area-inset-bottom, 0px));
}
html:has(#main:not([hidden])) {
  scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}
body:has(#main:not([hidden])) #toast {
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}
