/* Ledger / living contours. Visual layer only; product state and calculations stay in the application. */
:root,html[data-theme="graphite"]{--bg:#090e0f;--panel:#11191a;--panel2:#162021;--line:#2c3c3d;--muted:#a0b1b1;--text:#eff4f1;--accent:#a0dbbf;--accent-rgb:160,219,191;--green:#46d49c;--red:#fb8e96;--alloy-surface:#111a1c;--alloy-field:#0b1214;--alloy-border:#35494b;--alloy-edge:#c1e8da12;--alloy-highlight:#b0e5cc;--alloy-ink:#eff4f1;--alloy-muted:#a5b8b8;--alloy-sheen:none;--alloy-button:#117a58;--contour-opacity:1}
html[data-theme="midnight"]{--bg:#090f16;--panel:#111c25;--panel2:#17252f;--line:#30434e;--muted:#a3b8c2;--text:#eef5f5;--accent:#a5dfd2;--accent-rgb:165,223,210;--green:#4dd5ab;--red:#fb929d;--alloy-surface:#121e27;--alloy-field:#0b141d;--alloy-border:#354d59;--alloy-highlight:#b4e7de;--alloy-ink:#eef5f5;--alloy-muted:#a7bcc5;--alloy-sheen:none;--alloy-button:#168b72}
html{background:var(--bg);scroll-behavior:smooth}body,body:not(.auth-ready),html[data-theme="midnight"] body:not(.auth-ready){background:var(--bg);isolation:isolate}
body::before{content:"";position:fixed;z-index:-1;inset:-28px;pointer-events:none;background-image:url('/assets/ledger-contours.webp');background-size:cover;background-position:center top;opacity:var(--contour-opacity);transform:translate(var(--contour-x,0px),var(--contour-y,0px)) scale(1.025);animation:contour-breathe 20s ease-in-out infinite alternate;transition:translate .7s ease;will-change:transform}
body.auth-ready{--contour-opacity:.34}html[data-theme="midnight"] body::before{filter:hue-rotate(19deg)}
@keyframes contour-breathe{from{translate:0 0;opacity:calc(var(--contour-opacity)*.76)}to{translate:8px -9px;opacity:var(--contour-opacity)}}
/* The selected editorial entrance: expansive headline, a grounded product view, dark sign-in. */
.auth-screen{position:relative;max-width:1440px;padding:25px 56px 60px;grid-template-columns:minmax(0,2.05fr) minmax(340px,1fr);grid-template-rows:72px auto;gap:55px 28px;align-items:start;overflow:visible}
.auth-landing-nav{padding:0;border:0;align-self:start;min-height:42px}.auth-landing-brand{font-size:29px;font-weight:800;letter-spacing:-1.2px}.auth-landing-brand span{font-size:12px;border-left:1px solid #657875;padding-left:17px;margin-left:18px;color:#c0ccc8}.contour-nav-actions{display:flex;align-items:center;gap:30px}.contour-nav-actions a{font-size:12px;color:#cbd8d1;text-decoration:none}.contour-nav-actions a:hover{color:#fff}.contour-nav-signin{padding:11px 23px;border:1px solid #536968;border-radius:8px;min-height:42px}
.auth-hero{padding:0;align-self:start;grid-column:1;grid-row:2}.auth-hero .auth-kicker{font:10px var(--mono);letter-spacing:2px;color:#bdcec7;margin-bottom:26px}.auth-kicker::before{width:28px;height:1px;border-radius:0;background:#acd9c4}
.auth-hero h2{font:700 clamp(52px,5.55vw,80px)/1.11 var(--display);letter-spacing:-3.7px;color:#f4f6f3;margin:0;width:max-content;max-width:calc(1440px - 112px)}.auth-hero h2 span{background:none;color:#a3ddbc;-webkit-text-fill-color:currentColor}.auth-hero-description{font-size:16px;line-height:1.65;max-width:710px;margin:24px 0 29px;color:#c1cdcc}
.auth-hero-actions{gap:12px}.auth-trial-link{background:#117a58;color:#fff;border:1px solid #34b184;border-radius:8px;padding:16px 24px;font-size:15px;min-height:53px;box-shadow:inset 0 1px #b4f3da19;transition:transform .2s,background .2s,box-shadow .2s}.auth-trial-link:hover{background:#14825f;filter:none;box-shadow:0 7px 25px #07996322;color:#fff;transform:translateY(-2px)}.auth-hero-actions>span{color:#b4c3bd;font-size:11px;line-height:1.75;max-width:610px}
.auth-card,.auth-card:has(#ledgerSignupForm:not([hidden])){grid-column:2;grid-row:2;align-self:start;max-width:none;width:100%;margin:270px 0 0;padding:30px 28px 26px;background:#10191bed;border:1px solid #42575a;border-radius:15px;box-shadow:inset 0 1px #c7eade10,0 18px 60px #0003;scroll-margin-top:25px}.auth-card::before{display:none}.auth-card .eyebrow{font-size:9px;letter-spacing:1.8px;margin-bottom:23px;padding-bottom:21px;border-color:#415451;color:#aec3ba}.auth-card h1{font-size:32px;font-weight:700;letter-spacing:-1.2px;line-height:1.25}.auth-card .auth-description{font-size:13px;margin:11px 0 29px;color:#b3c2c1}.auth-card .auth-field{font-size:13px;margin-bottom:21px;gap:10px;color:#d4ded8}.auth-card .auth-field input{height:49px;border-color:#40555a;border-radius:7px;background:#0b1214;color:#eff5f1;font-size:14px}.auth-card .auth-field input:focus{border-color:#a6dfc3;box-shadow:0 0 0 3px #a6dfc314}
.auth-card .auth-submit{background:#117a58;color:#fff;border:1px solid #31ab80;box-shadow:inset 0 1px #b4f3da19;min-height:51px;font-size:14px}.auth-card .auth-submit:hover{background:#14825f;color:#fff;filter:none;border-color:#51c79b;box-shadow:0 4px 20px #0799631c}.auth-card .auth-link{font-size:12px;color:#bed3cb}.auth-card #ledgerShowSignup{background:transparent;color:#e5efea;border-color:#506968;margin-top:23px;padding:13px;min-height:46px}.auth-card .auth-free-tool{display:none}.auth-card .auth-footnote{color:var(--muted)}
.auth-screen:has(#ledgerSignupForm:not([hidden])) .auth-card{margin-top:0}.auth-screen:has(#ledgerSignupForm:not([hidden])) .auth-hero h2{font-size:clamp(45px,4.4vw,63px);max-width:100%;width:auto}.auth-screen:has(#authPasswordForm:not([hidden])) .auth-card{margin:20px 0;max-width:460px;grid-column:1/-1}.auth-pending .auth-screen{align-content:center}.auth-pending .auth-screen>.auth-loading{grid-column:1/-1;grid-row:auto}
/* Real, generously sized product detail, rather than decorative dashboard thumbnails. */
.contour-product{position:relative;margin:36px 0 0;min-width:0}.contour-product-surface{border:1px solid #3b5150;border-radius:14px;background:#11191aee;padding:21px;box-shadow:inset 0 1px #c7eade0a,0 16px 50px #0002}.contour-product-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 0 19px;font-size:13px;color:#bbc9c4}.contour-product-heading strong{font:650 16px var(--display);color:#ecf3ee;letter-spacing:-.4px}.contour-product-details{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:20px;align-items:start}.contour-product figure{margin:0;overflow:hidden;min-width:0;border-radius:6px}.contour-product img{display:block;width:100%;height:auto}.contour-product figcaption{display:block;padding:14px 0 0;font-size:10px;color:#a7bab0}.contour-calendar-frame{aspect-ratio:1.38;position:relative;overflow:hidden}.contour-calendar-frame img{position:absolute;width:176%;max-width:none;left:-49.2%;top:-30.1%}.contour-equity-frame{aspect-ratio:1.04;overflow:hidden}.contour-equity-frame img{width:100%}.contour-product>small{display:block;font-size:10px;color:#a3b6ae;margin-top:13px}
/* Workspace shares the atmosphere; opaque content keeps the data comfortable to read. */
.app{max-width:1440px;padding:0 38px}.top{height:82px;border-bottom-color:#536e644d}.brand{font-size:20px}.brand span{font-size:12px;color:var(--muted)}.logo{background:#b9e7d1;color:#11241d;border-radius:8px}.avatar{border-color:#4b7063;color:#c5f1da;background:#11211c;min-width:36px;min-height:36px}.welcome-name{color:#b6cac1}.welcome-name span{color:#f1f6f3}.layout{gap:34px;grid-template-columns:210px minmax(0,1fr);padding-top:32px}.side{padding-top:10px}.side-label{color:#b0c2b9;letter-spacing:1.7px;font-size:9px;margin-bottom:17px}.nav{min-height:45px;margin-bottom:6px;padding:12px 14px;color:#aebeb7;border-radius:7px;font-size:13px}.nav:hover{background:#b4e9ce0b;color:#eef7f1}.nav.active,.nav.active:hover{color:#c0efd6;background:#a0dbbf12;box-shadow:inset 2px 0 #93dbb6}.nav svg{opacity:.88}.performance-summary{margin-top:25px;padding:18px 12px;border-color:#42634f66}.performance-summary>b{font-size:13px;color:#c7dbd1}.performance-summary p{color:#a6bab1;font-size:10px;line-height:1.8}
.heading{margin:5px 0 26px;gap:20px}.heading h1{font-weight:650;font-size:32px;letter-spacing:-1.2px}.heading .eyebrow{font-size:9px;color:#a2c7b5;letter-spacing:1.7px;margin-bottom:10px}.heading .sub{color:#a6bbb1;font-size:13px;line-height:1.6}.heading .button,body.auth-ready .heading .button{background:#16835f;color:#f1fff7;border-color:#329a75;box-shadow:inset 0 1px #d0ffe014;font-size:13px;min-height:44px;border-radius:7px}.heading .button:hover{background:#14825f;border-color:#55bc91;color:#fff}
html body.auth-ready .card,html body.auth-ready .record-card,html body.auth-ready .journal-entry,html body.auth-ready .analytics-panel,html body.auth-ready .notes-workspace{background:#111a1bf2;border-color:var(--line);background-image:none;box-shadow:inset 0 1px #c8f4dc08,0 8px 24px #00000012;border-radius:11px}
.stats{gap:14px;margin-bottom:20px}.stat-card{padding:21px 20px}.stat-card:first-child{border-color:#416457!important;background:#13231df5!important}.stat-value{font-family:var(--display);font-weight:650;letter-spacing:-.7px;font-variant-numeric:tabular-nums}.stat-label{color:#b1c4ba;font-size:10px}.stat-foot{color:#99afa3}.content-grid{gap:18px}.section-head h2,.section-head h3{font-weight:650;letter-spacing:-.35px}.card{padding:20px}.day{background:#172022;border-color:#304344;border-radius:5px}.day.win{background:#142d23;border-color:#315b46}.day.loss{background:#301e23;border-color:#62404a}.day.win .day-result{color:#6be0ae}.day.loss .day-result{color:#ffa2ac}.weekday{color:#9bb1a7}.day.today{border-color:#c0e1d0}.chart-labels{color:#9cb1a7}
.analytics-panel{margin-bottom:18px}.analytics-panel>summary{padding:18px 20px}.analytics-metric{background:#0b1313;border-color:#2c4038}.analytics-metric strong{font-family:var(--display)}.journal-toolbar{background:#111b1cf5;border-color:var(--line);border-radius:10px;padding:18px}.journal-toolbar .journal-filters{background:#0c1415}.journal-toolbar .journal-filter.active{background:#213a2e;color:#c8f1dc;box-shadow:none}.journal-control{color:#acc1b6}.journal-entry{padding:20px 21px}.entry-notes{color:#b2c4ba;line-height:1.75}.entry-symbol{font-size:16px}.entry-date,.entry-meta{color:#a2b8ac}.journal-list{gap:12px}
.record-card{padding:21px 22px}.record-title{font-size:16px;font-family:var(--display)}.record-detail{color:#a6bbae;line-height:1.6}.record-notes{color:#acc0b3;line-height:1.7;border-color:#32473c}.account-status-badge{padding:7px 10px;border-radius:5px}.account-filter{min-height:35px}.record-delete{min-width:32px;min-height:32px}.record-actions{gap:13px}.payout-amount{font-family:var(--display);letter-spacing:-.6px}
.notes-sidebar{background:#0e1818;border-color:var(--line)}.notes-editor{background:#111a1b}.notes-editor textarea,.notes-editor input{color:#e3efe7}.notes-list-item.active{background:#20372b}.notes-list-item:hover{background:#1b2c24}.notes-editor textarea{line-height:1.8;font-size:14px}.notes-empty{color:#a3b8ac}
.profile-menu,.modal{background:var(--panel);border-color:#3d564a;background-image:none}.profile-menu{box-shadow:0 18px 50px #0006}.modal{box-shadow:0 22px 80px #0008;border-radius:13px}.modal-backdrop{backdrop-filter:blur(5px)}.field input,.field select,.field textarea{background:#0c1515;border-color:#354c41}.button{color:var(--accent);border-color:#456756;background:#24412f33}.button:hover{background:#31543d4d;color:#d8f5e4;border-color:#7ea88f}.button.secondary{color:#c0d0c6}.news-panel{background:#121c1cf5;box-shadow:inset 0 1px #c8f4dc08;border-color:var(--line)}.news-event{background:#271c21;border-color:#65404a}.news-empty{color:#a5b9ad}.ledger-footer{border-color:#3c574844;color:#9ab0a2}.ledger-footer a{color:#adc6b6}
html[data-theme="midnight"] body.auth-ready .card,html[data-theme="midnight"] body.auth-ready .record-card,html[data-theme="midnight"] body.auth-ready .journal-entry,html[data-theme="midnight"] body.auth-ready .analytics-panel,html[data-theme="midnight"] .journal-toolbar{background:#111c25f5}html[data-theme="midnight"] .auth-card{background:#101c24f2}html[data-theme="midnight"] .notes-sidebar{background:#101b22}html[data-theme="midnight"] .notes-editor{background:#131f27}
/* Free public tool uses the same visual identity, without touching its math. */
.ledger-tool header,.ledger-tool main,.ledger-tool footer{position:relative}.ledger-tool .panel{background:#101a1bf5;border-color:#344c41;box-shadow:inset 0 1px #d5fbe410}.ledger-tool .intro h1{color:#eef6f0;letter-spacing:-2.4px}.ledger-tool .eyebrow{color:#acd5be}.ledger-tool .product-cta{background:#152a20e8;border-color:#456c54;padding:32px;border-radius:10px;margin-bottom:30px}.ledger-tool .nav-cta,.ledger-tool .product-cta .button{background:#117a58;color:#fff;border-color:#3eae82}.ledger-tool .nav-cta{display:inline-flex;align-items:center;gap:18px;padding:11px 16px;border-radius:7px;font-size:12px;line-height:1.5}.ledger-tool input,.ledger-tool select{border-color:#3c5749}.ledger-tool .metrics>div{border-color:#314b3c}.ledger-tool .formula{background:#111e18;border-color:#365140}
.contour-calendar-frame{aspect-ratio:675/420}.contour-calendar-frame img{position:static;width:100%;max-width:100%;height:auto}.contour-equity-frame{aspect-ratio:328/247}.contour-equity-frame img{width:100%;height:auto}.auth-hero h2{font-size:clamp(52px,6.1vw,88px)}.auth-hero-description{font-size:18px}.auth-hero-actions>span{font-size:12px}.auth-hero-actions{gap:13px}.auth-screen{grid-template-rows:65px auto;gap:43px 28px}.auth-card{margin-top:258px}.contour-product{margin-top:34px}.contour-product-details{align-items:center}.contour-product-heading strong{font-size:16px}
@media(min-width:1500px){.auth-screen{padding-top:35px}.auth-hero h2{font-size:88px}.auth-card{margin-top:276px}}
@media(max-width:1150px) and (min-width:761px){.auth-screen{padding:24px 30px 45px;grid-template-columns:minmax(0,1.65fr) minmax(310px,1fr);gap:40px 24px}.auth-hero h2{font-size:64px;letter-spacing:-3px;max-width:calc(100vw - 60px)}.auth-hero-description{max-width:610px;font-size:14px}.auth-card{margin-top:245px;padding:27px 23px}.auth-card h1{font-size:28px}.contour-product-surface{padding:15px}.contour-product-details{grid-template-columns:1fr;gap:0}.contour-equity-figure{display:none}.contour-product-heading strong{font-size:14px}.contour-product-heading{font-size:11px}.layout{grid-template-columns:190px minmax(0,1fr);gap:23px}}
@media(max-width:980px){.layout{grid-template-columns:1fr}.side{padding-top:0}.nav{width:auto;min-height:44px}.app{padding:0 22px}.performance-summary{display:none}.heading h1{font-size:29px}}
@media(max-width:760px){.auth-screen{display:flex;flex-direction:column;gap:30px;padding:21px 23px 40px;min-height:100svh}.auth-landing-nav{width:100%;gap:12px;min-height:39px}.auth-landing-brand{font-size:25px}.auth-landing-brand span{display:none}.contour-nav-actions{gap:14px}.contour-nav-actions a{font-size:10px}.contour-nav-signin{padding:9px 13px;min-height:38px}.auth-hero{padding:12px 0 0;width:100%}.auth-hero .auth-kicker{font-size:8px;letter-spacing:1.5px;margin:0 0 23px}.auth-hero h2{width:auto;max-width:100%;font-size:clamp(39px,8.5vw,60px);line-height:1.12;letter-spacing:-2.1px}.auth-hero-description{font-size:14px;line-height:1.7;margin:20px 0 24px}.auth-trial-link{font-size:13px;min-height:49px;padding:14px 19px}.auth-hero-actions>span{font-size:10px;line-height:1.8}.auth-card,.auth-card:has(#ledgerSignupForm:not([hidden])){margin:0;padding:27px 23px;width:100%;max-width:none;order:3}.auth-card h1{font-size:30px}.auth-card .auth-description{font-size:12px;margin-bottom:25px}.auth-card .eyebrow{font-size:8px;letter-spacing:1.6px}.auth-card .auth-field{font-size:12px}.contour-product{margin-top:29px}.contour-product-surface{padding:15px}.contour-product-heading{margin-bottom:13px;font-size:10px;gap:8px}.contour-product-heading strong{font-size:13px}.contour-product-details{grid-template-columns:1.55fr 1fr;gap:12px}.contour-product figcaption{display:none}.contour-product>small{font-size:9px;margin-top:10px}.contour-product-surface{border-radius:10px}.contour-product{display:block}.auth-screen:has(#ledgerSignupForm:not([hidden])) .auth-hero{display:none}.auth-screen:has(#authPasswordForm:not([hidden])) .auth-card{margin:0}.auth-screen:has(#ledgerSignupForm:not([hidden])) .auth-landing-nav{margin-bottom:0}.app{padding:0 16px}.top{height:70px}.brand{font-size:18px}.heading{gap:13px;margin-bottom:22px}.heading h1{font-size:27px}.heading .sub{font-size:12px}.heading .button,body.auth-ready .heading .button{font-size:12px;padding:11px 13px}.card{padding:16px}.stats{gap:10px;margin-bottom:16px}.stat-card{padding:16px 14px}.stat-value{font-size:23px}.journal-toolbar{padding:14px}.journal-entry{padding:17px 16px}.record-card{padding:18px 16px}.record-title{font-size:14px}.record-actions{gap:8px}.record-detail{font-size:10px}.content-grid{gap:15px}.notes-editor textarea{font-size:13px}body.auth-ready{--contour-opacity:.27}.ledger-tool .intro h1{letter-spacing:-1.6px}}
@media(max-width:380px){.auth-screen{padding:18px}.contour-nav-actions{gap:10px}.contour-nav-actions a{font-size:9px}.auth-hero h2{font-size:37px}.contour-product-details{grid-template-columns:1fr}.contour-equity-figure{display:none}}
.contour-calendar-frame{aspect-ratio:675/437}.contour-equity-frame{aspect-ratio:328/240}
@media(min-width:1160px){.auth-trial-link{font-size:16px;min-width:300px;justify-content:space-between}.auth-hero-description{font-size:20px;max-width:790px}.auth-hero-actions>span{font-size:13px}.auth-card h1{font-size:36px}.auth-card .auth-description{font-size:14px}.auth-card .auth-field{font-size:14px}.auth-card .auth-submit{font-size:15px;min-height:53px}.auth-card .auth-link{font-size:13px}.auth-card{padding-bottom:31px}}
@media(max-width:760px){.contour-product-details{display:block}.contour-product-details>figure:first-child{display:none}.contour-equity-figure{display:block}.contour-equity-frame{aspect-ratio:328/240}.contour-product-heading>span{display:none}.contour-product-surface{padding:15px 17px}.contour-equity-frame img{width:100%}.contour-product-heading strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body::before{animation:none;transform:none;translate:none;will-change:auto}.auth-trial-link,.auth-submit,.card,.heading .button,.nav{transition:none!important;transform:none!important}}
