/* GlobalMoneyMonitor Pro 1.15 — Investor Tools */
.gmm-investor-page,.gmm-company-compare-page{padding:2rem 0 4rem;background:linear-gradient(180deg,var(--gmm-surface-2) 0,var(--gmm-bg) 260px)}
.gmm-investor,.gmm-company-compare{display:grid;gap:1.15rem}
.gmm-investor__hero,.gmm-company-compare__hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1.5rem;align-items:center;padding:1.6rem;border:1px solid rgba(37,99,235,.12);border-radius:1.25rem;background:linear-gradient(135deg,#071a33,#0b2f58);color:#fff;box-shadow:0 20px 55px rgba(2,6,23,.15);overflow:hidden;position:relative}
.gmm-investor__hero:after,.gmm-company-compare__hero:after{content:"";position:absolute;right:-80px;top:-100px;width:260px;height:260px;border-radius:50%;border:38px solid rgba(56,189,248,.08)}
.gmm-investor__eyebrow,.gmm-company-compare__hero>div:first-child>span{display:inline-block;margin-bottom:.35rem;color:#7dd3fc;font-size:.72rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.gmm-investor__hero h1,.gmm-company-compare__hero h1{margin:.1rem 0 .45rem;color:#fff;font-size:clamp(2rem,5vw,3.25rem);line-height:1.02;letter-spacing:-.04em}
.gmm-investor__hero p,.gmm-company-compare__hero p{max-width:760px;margin:0;color:#cbd5e1;line-height:1.7}
.gmm-investor__privacy,.gmm-company-compare__badge{position:relative;z-index:1;min-width:190px;display:grid;justify-items:center;gap:.3rem;padding:1rem;border:1px solid rgba(255,255,255,.13);border-radius:1rem;background:rgba(255,255,255,.06);backdrop-filter:blur(12px);text-align:center}
.gmm-investor__privacy-icon,.gmm-company-compare__badge>.gmm-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:rgba(56,189,248,.14);color:#7dd3fc}
.gmm-investor__privacy-icon svg,.gmm-company-compare__badge svg{width:25px;height:25px}
.gmm-investor__privacy strong,.gmm-company-compare__badge strong{font-size:.92rem}.gmm-investor__privacy small,.gmm-company-compare__badge small{max-width:160px;color:#cbd5e1;font-size:.72rem;line-height:1.45}
.gmm-investor__notice{padding:.85rem 1rem;border:1px solid #fde68a;border-radius:.9rem;background:#fffbeb;color:#713f12;font-size:.84rem;line-height:1.6}
html[data-theme="dark"] .gmm-investor__notice{border-color:#78350f;background:#251507;color:#fde68a}
.gmm-investor-tabs{display:inline-flex;justify-self:start;gap:.35rem;padding:.35rem;border:1px solid var(--gmm-line);border-radius:999px;background:var(--gmm-surface);box-shadow:var(--gmm-shadow-sm)}
.gmm-investor-tabs button{display:inline-flex;align-items:center;gap:.45rem;min-height:42px;padding:.55rem .9rem;border:0;border-radius:999px;background:transparent;color:var(--gmm-muted);font:inherit;font-size:.82rem;font-weight:900;cursor:pointer}
.gmm-investor-tabs button.is-active{background:#0f2747;color:#fff}.gmm-investor-tabs svg{width:17px;height:17px}
.gmm-investor-panel{display:grid;gap:1rem}.gmm-investor-panel[hidden]{display:none!important}
.gmm-investor-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem}
.gmm-investor-summary article{min-width:0;padding:1rem;border:1px solid var(--gmm-line);border-radius:1rem;background:var(--gmm-surface);box-shadow:var(--gmm-shadow-sm)}
.gmm-investor-summary span{display:block;margin-bottom:.35rem;color:var(--gmm-muted);font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.gmm-investor-summary strong{display:block;color:var(--gmm-heading);font-size:clamp(1.05rem,2vw,1.45rem);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gmm-investor-summary small{display:block;margin-top:.2rem;color:var(--gmm-muted);font-size:.7rem}
.is-positive{color:#16803c!important}.is-negative{color:#c83c3c!important}
.gmm-investor-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:1rem;align-items:start}.gmm-investor-grid--watchlist{grid-template-columns:minmax(320px,.75fr) minmax(0,1.25fr)}
.gmm-investor-card,.gmm-company-compare-presets,.gmm-company-compare-grid>article{border:1px solid var(--gmm-line);border-radius:1rem;background:var(--gmm-surface);box-shadow:var(--gmm-shadow-sm);overflow:hidden}
.gmm-investor-card__head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.05rem;border-bottom:1px solid var(--gmm-line)}
.gmm-investor-card__head span{display:block;color:var(--gmm-blue);font-size:.65rem;font-weight:900;text-transform:uppercase;letter-spacing:.11em}.gmm-investor-card__head h2{margin:.12rem 0 0;font-size:1.05rem}
.gmm-investor-card__head--actions{align-items:flex-start}.gmm-investor-link{border:0;background:transparent;color:var(--gmm-blue);font:inherit;font-size:.76rem;font-weight:800;cursor:pointer}
.gmm-investor-form{display:grid;gap:.85rem;padding:1rem}.gmm-investor-form label{display:grid;gap:.35rem}.gmm-investor-form label>span{color:var(--gmm-muted);font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.055em}
.gmm-investor-form input,.gmm-investor-form select,.gmm-company-compare-form input,.gmm-company-compare-form select{width:100%;min-height:46px;padding:.68rem .78rem;border:1px solid var(--gmm-line);border-radius:.7rem;background:var(--gmm-surface-2);color:var(--gmm-heading);font:inherit;outline:none}
.gmm-investor-form input:focus,.gmm-investor-form select:focus,.gmm-company-compare-form input:focus,.gmm-company-compare-form select:focus{border-color:rgba(37,99,235,.55);box-shadow:0 0 0 3px rgba(37,99,235,.1)}
.gmm-investor-form__row{display:grid;gap:.75rem}.gmm-investor-form__row--2{grid-template-columns:repeat(2,minmax(0,1fr))}.gmm-investor-form__row--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.gmm-investor-form__hint{margin:0;color:var(--gmm-muted);font-size:.72rem;line-height:1.5}.gmm-investor-form__submit{justify-self:start;display:inline-flex;align-items:center;gap:.4rem}.gmm-investor-form__submit svg{width:17px;height:17px}
.gmm-investor-allocation{display:grid;gap:.8rem;padding:1rem}.gmm-investor-empty{margin:.1rem 0;color:var(--gmm-muted);font-size:.82rem;line-height:1.6}
.gmm-allocation-item{display:grid;grid-template-columns:minmax(120px,.75fr) minmax(100px,1fr) auto;gap:.7rem;align-items:center}.gmm-allocation-item>div:first-child{display:grid}.gmm-allocation-item strong{font-size:.82rem}.gmm-allocation-item span,.gmm-allocation-item small{color:var(--gmm-muted);font-size:.68rem}.gmm-allocation-item small{white-space:nowrap;text-align:right}
.gmm-allocation-track{height:8px;border-radius:999px;background:var(--gmm-surface-3);overflow:hidden}.gmm-allocation-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#06b6d4)}
.gmm-investor-tools{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:flex-end}.gmm-investor-tools .button{min-height:36px;padding:.45rem .65rem;font-size:.72rem}.gmm-investor-import{cursor:pointer}
.gmm-investor-table-wrap{overflow-x:auto}.gmm-investor-table{width:100%;min-width:940px;border-collapse:collapse}.gmm-investor-table th,.gmm-investor-table td{padding:.82rem .75rem;border-bottom:1px solid var(--gmm-line);text-align:left;vertical-align:middle}.gmm-investor-table th{color:var(--gmm-muted);background:var(--gmm-surface-2);font-size:.65rem;text-transform:uppercase;letter-spacing:.06em}.gmm-investor-table td{font-size:.78rem}.gmm-investor-table tbody tr:last-child td{border-bottom:0}
.gmm-investor-table td>strong,.gmm-investor-table td>small{display:block}.gmm-investor-table__cost{margin-top:.15rem;color:var(--gmm-muted)}.gmm-investor-asset{display:grid;min-width:130px}.gmm-investor-asset strong{font-size:.88rem}.gmm-investor-asset span{color:var(--gmm-heading);font-size:.74rem}.gmm-investor-asset small{color:var(--gmm-muted);font-size:.65rem}
.gmm-investor-row-actions{display:flex;gap:.35rem;justify-content:flex-end}.gmm-investor-row-actions a,.gmm-investor-row-actions button{border:0;background:var(--gmm-surface-3);color:var(--gmm-heading);border-radius:.55rem;padding:.42rem .55rem;font:inherit;font-size:.68rem;font-weight:800;cursor:pointer;white-space:nowrap}.gmm-investor-row-actions .is-danger{color:#b42318}
.gmm-investor-empty-state{display:grid;justify-items:center;gap:.25rem;padding:1.5rem;text-align:center;color:var(--gmm-muted)}.gmm-investor-empty-state>.gmm-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:var(--gmm-surface-3);color:var(--gmm-blue)}.gmm-investor-empty-state svg{width:24px;height:24px}.gmm-investor-empty-state strong{color:var(--gmm-heading)}.gmm-investor-empty-state p{margin:0;font-size:.78rem}.gmm-investor-empty-state--compact{padding:1rem}
.gmm-watchlist{display:grid;gap:.65rem;padding:1rem}.gmm-watchlist-card{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem;border:1px solid var(--gmm-line);border-radius:.8rem;background:var(--gmm-surface-2)}.gmm-watchlist-card>div:first-child{display:grid}.gmm-watchlist-card span{color:var(--gmm-blue);font-size:.62rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.gmm-watchlist-card strong{font-size:1rem}.gmm-watchlist-card p{margin:.15rem 0 0;color:var(--gmm-muted);font-size:.72rem}.gmm-watchlist-card>div:last-child{display:flex;gap:.4rem;align-items:center}.gmm-watchlist-card button{border:0;background:transparent;color:#b42318;font:inherit;font-size:.7rem;font-weight:800;cursor:pointer}
.gmm-investor__footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 1rem;border-top:1px solid var(--gmm-line);color:var(--gmm-muted)}.gmm-investor__footer p{max-width:820px;margin:0;font-size:.72rem;line-height:1.6}.gmm-investor-danger{border:0;background:transparent;color:#b42318;font:inherit;font-size:.7rem;font-weight:800;white-space:nowrap;cursor:pointer}
.gmm-investor-toast{position:fixed;left:50%;bottom:1.25rem;z-index:9999;transform:translateX(-50%);max-width:min(92vw,520px);padding:.75rem 1rem;border-radius:.75rem;background:#071a33;color:#fff;box-shadow:0 20px 45px rgba(2,6,23,.25);font-size:.8rem;font-weight:800;text-align:center}

/* Company comparison */
.gmm-company-compare-form{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto;gap:.75rem;align-items:end;padding:1rem;border:1px solid var(--gmm-line);border-radius:1rem;background:var(--gmm-surface);box-shadow:var(--gmm-shadow-sm)}
.gmm-company-compare-form fieldset{margin:0;padding:0;border:0}.gmm-company-compare-form legend{margin-bottom:.4rem;color:var(--gmm-blue);font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.gmm-company-compare-form fieldset>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.55fr);gap:.55rem}.gmm-company-compare-form label{display:grid;gap:.3rem}.gmm-company-compare-form label span{color:var(--gmm-muted);font-size:.65rem;font-weight:800;text-transform:uppercase}.gmm-company-compare-form__versus{align-self:center;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#0f2747;color:#fff;font-size:.72rem;font-weight:900}.gmm-company-compare-form>.button{display:inline-flex;align-items:center;gap:.4rem;min-height:46px}.gmm-company-compare-form>.button svg{width:17px;height:17px}
.gmm-company-compare-presets{padding:1rem}.gmm-company-compare-presets>.section-heading{margin-bottom:.7rem}.gmm-company-compare-presets>div:last-child{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem}.gmm-company-compare-presets a{display:grid;gap:.15rem;padding:.85rem;border:1px solid var(--gmm-line);border-radius:.8rem;background:var(--gmm-surface-2);color:inherit}.gmm-company-compare-presets a:hover{border-color:rgba(37,99,235,.35);transform:translateY(-1px)}.gmm-company-compare-presets strong{font-size:.84rem}.gmm-company-compare-presets small{color:var(--gmm-muted);font-size:.7rem}
.gmm-company-compare__actions{display:flex;flex-wrap:wrap;gap:.5rem}.gmm-company-compare__actions .button{display:inline-flex;align-items:center;gap:.35rem}.gmm-company-compare__actions svg{width:16px;height:16px}
.gmm-company-compare-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start}.gmm-company-compare-grid>article{min-width:0}.gmm-company-compare-grid--info>article{padding:.45rem}.gmm-company-compare-title{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem .7rem}.gmm-company-compare-title span{color:var(--gmm-blue);font-size:.65rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.gmm-company-compare-title h2{margin:0;font-size:1.15rem}

html[data-theme="dark"] .gmm-investor-summary article,html[data-theme="dark"] .gmm-investor-card,html[data-theme="dark"] .gmm-company-compare-presets,html[data-theme="dark"] .gmm-company-compare-grid>article,html[data-theme="dark"] .gmm-company-compare-form{box-shadow:none}

@media(max-width:1040px){.gmm-investor-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.gmm-investor-summary article:first-child{grid-column:1/-1}.gmm-investor-grid,.gmm-investor-grid--watchlist{grid-template-columns:1fr}.gmm-company-compare-form{grid-template-columns:1fr}.gmm-company-compare-form__versus{justify-self:center}.gmm-company-compare-form>.button{justify-self:start}.gmm-company-compare-presets>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.gmm-investor-page,.gmm-company-compare-page{padding-top:1rem}.gmm-investor__hero,.gmm-company-compare__hero{grid-template-columns:1fr;padding:1.2rem}.gmm-investor__privacy,.gmm-company-compare__badge{justify-self:stretch;grid-template-columns:auto 1fr;grid-template-rows:auto auto;justify-items:start;text-align:left;min-width:0}.gmm-investor__privacy-icon,.gmm-company-compare__badge>.gmm-icon{grid-row:1/span 2}.gmm-investor__privacy small,.gmm-company-compare__badge small{max-width:none}.gmm-investor-summary{grid-template-columns:1fr 1fr}.gmm-investor-summary article:first-child{grid-column:1/-1}.gmm-investor-form__row--2,.gmm-investor-form__row--3,.gmm-company-compare-form fieldset>div{grid-template-columns:1fr}.gmm-investor-card__head--actions{display:grid}.gmm-investor-tools{justify-content:flex-start}.gmm-company-compare-grid{grid-template-columns:1fr}.gmm-investor__footer{align-items:flex-start;flex-direction:column}.gmm-company-compare-presets>div:last-child{grid-template-columns:1fr 1fr}}
@media(max-width:500px){.gmm-investor-summary{grid-template-columns:1fr}.gmm-investor-summary article:first-child{grid-column:auto}.gmm-investor-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%}.gmm-investor-tabs button{justify-content:center}.gmm-company-compare-presets>div:last-child{grid-template-columns:1fr}.gmm-watchlist-card{align-items:flex-start;flex-direction:column}.gmm-watchlist-card>div:last-child{width:100%;justify-content:space-between}}
