:root{--ink:#243247;--primary:#2563eb;--navy:#0f172a;--accent:#93c5fd;--cream:#f8fafc;--paper:#fff;--line:#e2e8f0;--muted:#64748b;--soft:#eff6ff;--radius:18px}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#f8fafc;font-family:"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.55}button,input{font:inherit}a{color:inherit;text-decoration:none}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button,a{transition:background .18s,color .18s,transform .18s}a:focus-visible,button:focus-visible,input:focus-visible,img:focus-visible{outline:3px solid #60a5fa;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:550;letter-spacing:-.045em;line-height:1.12}h1{font-size:clamp(36px,4vw,54px)}h2{font-size:32px}h3{font-size:20px}p{line-height:1.65}svg{display:block}input{width:100%;border:1px solid #cbd5e1;border-radius:9px;padding:14px 16px;color:var(--ink);background:#fff;min-height:50px}input::placeholder{color:#94a3b8}input:focus{border-color:#60a5fa;outline:2px solid #60a5fa33}.brand{display:inline-flex;align-items:center;gap:10px;font-size:27px;font-weight:650;letter-spacing:-1.1px;line-height:1;white-space:nowrap}.brand-symbol{width:35px;height:37px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:var(--primary);color:#dbeafe}.brand-symbol svg{width:28px}.brand-dot,.accent{color:#3b82f6}.button{min-height:47px;border-radius:9px;border:1px solid transparent;padding:12px 20px;display:inline-flex;align-items:center;justify-content:center;gap:20px;font-size:14px;font-weight:550;white-space:nowrap}.button span:last-child{font-size:20px;line-height:1}.button.primary{background:var(--primary);color:#fff}.button.primary:hover{background:var(--navy)}.button.cream{background:#2563eb;color:#fff}.button.cream:hover{background:#1d4ed8}.button.subtle{background:transparent;color:var(--muted);border-color:var(--line)}.button.subtle:hover{background:var(--soft);color:var(--primary)}.button.full{width:100%;justify-content:space-between}.pill{display:inline-flex;align-items:center;font-size:11px;font-weight:600;padding:6px 11px;border-radius:6px;letter-spacing:.02em}.pill.neutral{background:var(--soft);color:#475569}.pill.light{background:#ffffff16;color:#bfdbfe;letter-spacing:.12em;font-size:10px}.muted,.small-muted{color:var(--muted)}.small-muted{font-size:12px}.section-number{font-size:10px;font-weight:650;letter-spacing:.14em;color:#64748b;display:block;margin-bottom:15px}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1.04fr 1fr}.auth-story{background:var(--navy);color:#f8fafc;padding:46px 60px 28px;position:relative;overflow:hidden;display:flex;flex-direction:column}.auth-story .brand-symbol{background:#334155;color:#bfdbfe}.auth-story .brand-dot{color:#93c5fd}.story-content{margin:auto 0;max-width:550px;padding-top:70px}.eyebrow{font-size:10px;font-weight:550;letter-spacing:.16em;color:#94a3b8;display:flex;align-items:center;gap:12px}.mini-line{display:inline-block;width:25px;height:1px;background:#93c5fd}.story-content h1{font-size:clamp(50px,5.2vw,82px);letter-spacing:-.06em;margin:24px 0 26px;line-height:1.04}.story-content .accent{color:#93c5fd}.story-copy{color:#cbd5e1;font-size:17px;line-height:1.75}.story-art{height:190px;margin-top:40px;position:relative;max-width:540px}.story-art>svg{width:100%;height:155px;position:relative}.art-grid{position:absolute;inset:0 0 25px;background:repeating-linear-gradient(0deg,transparent,transparent 39px,#cbd5e10e 40px),repeating-linear-gradient(90deg,transparent,transparent 79px,#cbd5e10e 80px)}.art-note{font-size:10px;color:#94a3b8;display:block;margin-top:12px}.story-footer{display:flex;justify-content:space-between;color:#94a3b8;font-size:10px;margin-top:42px;gap:12px}.auth-panel{padding:40px 44px 28px;display:flex;flex-direction:column;background:#f8fafc}.auth-topline{display:flex;justify-content:space-between;align-items:center;gap:20px}.auth-form-wrap{width:100%;max-width:360px;margin:auto; padding:60px 0}.auth-form-wrap h2{font-size:38px;line-height:1.17;margin-bottom:17px}.auth-form-wrap>.muted{font-size:14px}.auth-form{margin-top:31px}.field{margin-bottom:19px}.field label{display:block;margin-bottom:8px;font-size:12px;font-weight:600}.auth-form .button{margin-top:9px}.signup-link{text-align:center;font-size:12px;color:var(--muted);margin-top:21px}.signup-link a{text-decoration:underline;text-underline-offset:4px;color:var(--primary)}.auth-note{border-top:1px solid var(--line);display:flex;align-items:flex-start;gap:12px;margin-top:32px;padding-top:23px;color:#64748b}.auth-note svg{width:21px;flex-shrink:0;margin-top:3px}.auth-note p{font-size:11px;line-height:1.8}.auth-bottom{display:flex;justify-content:space-between;font-size:10px;color:#94a3b8;gap:12px}.errorlist{list-style:none;padding:10px 12px;background:#fcf0ed;border-radius:8px;color:#9a3f30;font-size:12px;margin:8px 0 18px}.help{font-size:11px;color:var(--muted);margin-top:7px}.help ul{padding-left:17px}.simple-auth{min-height:100vh;padding:35px 6vw;background:var(--cream)}.signup-card{max-width:470px;margin:55px auto;background:white;border:1px solid var(--line);padding:35px;border-radius:20px}.signup-card h1{font-size:33px;margin-bottom:17px}.workspace{display:flex;min-height:100vh}.sidebar{color:#f8fafc;width:248px;flex-shrink:0;border-right:1px solid var(--line);padding:37px 22px 22px;display:flex;flex-direction:column;background:#0f172a;position:fixed;inset:0 auto 0 0}.sidebar .brand{font-size:25px;margin:0 9px 56px}.sidebar .brand-symbol{width:32px;height:35px}.nav-label{font-size:9px;letter-spacing:.14em;font-weight:600;color:#94a3b8;padding:0 15px;margin-bottom:16px}.nav{display:grid;gap:6px}.nav-item{font-size:12px;font-weight:500;display:flex;align-items:center;gap:11px;padding:13px 13px;border-radius:8px;white-space:nowrap;color:#64748b;min-height:46px}.nav-item svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.5;flex-shrink:0}.nav-item.active{background:#eff6ff;color:var(--primary)}.nav-item:hover{background:#f1f5f9}.nav-count{margin-left:auto;font-size:9px;background:#dbeafe;padding:1px 6px;border-radius:4px;color:var(--primary)}.sidebar-note{margin-top:auto;padding:40px 14px 32px;font-size:11px;line-height:1.8;color:#94a3b8}.leaf-mark{display:inline-block;font-size:30px;line-height:1;margin-bottom:12px;color:#60a5fa}.user-block{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding-top:23px}.avatar{width:35px;height:35px;background:#e2e8f0;display:grid;place-items:center;border-radius:50%;color:#64748b;font-size:13px}.user-block strong{display:block;font-size:12px;font-weight:550;max-width:120px;overflow:hidden;text-overflow:ellipsis}.user-block div>span{display:block;font-size:9px;color:#94a3b8}.user-block form{margin-left:auto}.logout{background:none;border:0;font-size:24px;color:#94a3b8;padding:5px}.main-panel{margin-left:248px;width:calc(100% - 248px);display:flex;flex-direction:column;min-height:100vh}.topbar{height:78px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 48px;color:#64748b;font-size:11px}.breadcrumb{color:#94a3b8;margin-left:12px}.private-badge{display:flex;align-items:center;gap:7px;color:#64748b;font-size:10px}.private-badge>span,.status-dot,.gray-dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:#60a5fa;flex-shrink:0}.gray-dot{background:#94a3b8}.page-content{width:100%;max-width:1380px;margin:0 auto;padding:43px 48px 50px}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:32px;gap:20px}.page-heading h1{font-size:43px;line-height:1.16;margin-bottom:16px}.page-heading .muted{font-size:13px}.date-label{font-size:11px;color:#64748b;padding:8px 13px;border:1px solid var(--line);border-radius:7px;white-space:nowrap;margin-top:5px}.welcome-card{background:#1e293b;border-radius:var(--radius);padding:35px 38px;display:grid;grid-template-columns:1fr 1fr;min-height:300px;position:relative;overflow:hidden;color:#fff}.welcome-copy{position:relative;z-index:1}.welcome-copy h2{font-size:37px;line-height:1.15;letter-spacing:-.04em;margin:18px 0 15px}.welcome-copy p{font-size:12px;color:#cbd5e1;max-width:350px}.welcome-copy .button{margin-top:24px;font-size:12px;min-height:43px;padding:11px 17px;gap:35px}.bank-art{position:relative;display:grid;place-items:center;min-height:260px}.orbit{position:absolute;border:1px solid #93c5fd2b;border-radius:50%;width:330px;height:330px}.orbit-two{width:440px;height:440px}.bank-card-art{width:255px;height:165px;border:1px solid #bfdbfe3a;background:linear-gradient(125deg,#3b82f6,#1d4ed8);border-radius:16px;transform:rotate(-11deg);padding:21px;box-shadow:0 16px 40px #0206174a;position:relative}.bank-card-art>span{font-size:8px;color:#dbeafe;letter-spacing:.1em}.card-chart{display:flex;align-items:flex-end;gap:8px;height:59px;margin-top:6px}.card-chart i{display:block;width:16px;border-radius:3px 3px 0 0;background:#bfdbfe87;height:18px}.card-chart i:nth-child(2){height:28px}.card-chart i:nth-child(3){height:22px}.card-chart i:nth-child(4){height:42px}.card-chart i:nth-child(5){height:34px}.card-chart i:nth-child(6){height:46px}.card-chart i:nth-child(7){height:56px;background:#e0f2fe}.card-art-bottom{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#dbeafe;letter-spacing:-.02em;margin-top:7px}.card-art-bottom span:last-child{font-size:22px}.float-label{position:absolute;bottom:12px;right:0;background:#eff6ff;padding:9px 13px;font-size:9px;display:flex;align-items:center;gap:7px;border-radius:7px;color:var(--primary);box-shadow:0 5px 20px #0f172a22}.summary-grid{display:grid;grid-template-columns:1fr .85fr 1.18fr;gap:17px;margin-top:23px}.summary-card{background:white;border:1px solid var(--line);border-radius:13px;padding:20px 22px}.summary-label{font-size:11px;color:#64748b;display:flex;justify-content:space-between;align-items:center}.summary-label>span{font-size:18px;color:#94a3b8}.empty-amount{font-size:35px;line-height:1.2;letter-spacing:-.03em;margin:18px 0 10px;color:#94a3b8}.empty-amount small{font-size:22px}.summary-card .small-muted{font-size:9px}.connection-status{display:flex;gap:8px;align-items:center;font-size:14px;margin:24px 0 16px;font-weight:550}.text-link{color:var(--primary);font-size:10px;display:flex;gap:20px;align-items:center}.text-link:hover{text-decoration:underline}.summary-label>.bank-tiny{font-size:12px;color:#2e382a;background:#f8e566;border-radius:5px;width:22px;height:23px;display:grid;place-items:center;font-weight:800}.next-section{margin-top:39px}.next-section h2{font-size:24px}.next-section .section-number{margin-bottom:10px}.steps-grid{display:grid;grid-template-columns:1fr 1fr;gap:27px;margin-top:23px}.step{border-top:1px solid var(--line);padding:23px 0 0;position:relative}.step-num{font-size:10px;color:#60a5fa;display:block;margin-bottom:12px}.step h3{font-size:17px;letter-spacing:-.025em}.step p{font-size:11px;color:var(--muted);margin-top:10px;max-width:320px}.step-status{font-size:9px;display:inline-block;margin-top:15px;color:var(--primary);background:var(--soft);padding:4px 9px;border-radius:5px}.step-status.muted{color:#64748b;background:#f1f5f9}.workspace-footer{margin-top:auto;padding:18px 48px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:9px;color:#64748b;gap:20px}.page-heading.compact h1{font-size:39px}.connect-grid{display:grid;grid-template-columns:minmax(300px,1.15fr) 1fr;gap:45px;margin-top:35px}.panel{background:white;border:1px solid var(--line);border-radius:16px;padding:29px}.bank-heading{display:flex;gap:15px;align-items:center}.bank-heading h2{font-size:23px;letter-spacing:-.03em;margin-bottom:5px}.tbank-logo{background:#ffdd2d;color:#222a20;width:49px;height:49px;display:grid;place-items:center;font-size:28px;font-weight:900;border-radius:12px}.status-row{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0;margin-top:23px;font-size:11px;color:var(--muted);gap:10px}.connect-description{font-size:12px;margin:20px 0}.bank-connect-card .button+.button{margin-top:10px}.bank-connect-card>.small-muted{margin-top:14px}.connection-guide{padding-top:8px}.connection-guide ol{padding:0;list-style:none;counter-reset:steps}.connection-guide li{counter-increment:steps;position:relative;padding-left:36px;margin-bottom:20px}.connection-guide li:before{content:counter(steps);position:absolute;left:0;top:0;border:1px solid #cbd5e1;color:#64748b;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;font-size:10px}.connection-guide strong{font-size:12px;font-weight:550}.connection-guide p{font-size:11px;color:var(--muted);margin-top:5px}.info-note{background:#eff6ff;padding:14px 16px;border-radius:9px;font-size:10px;color:#64748b;line-height:1.8}.feedback{padding:16px 20px;border-radius:9px;background:#eff6ff;color:var(--primary);font-size:12px;margin:25px 0;overflow-wrap:anywhere}.feedback.error{background:#fcf0e9;color:#9a4c32}.scope-note{display:flex;border-top:1px solid var(--line);padding-top:23px;margin-top:37px;gap:22px}.scope-note>span{font-size:9px;letter-spacing:.1em;color:#64748b;white-space:nowrap;padding-top:4px}.scope-note p{font-size:11px;color:var(--muted)}[hidden]{display:none!important}.browser-panel{margin-top:30px;border:1px solid #cbd5e1;border-radius:13px;overflow:hidden;background:white;scroll-margin-top:20px}.browser-toolbar{background:#eff6ff;min-height:49px;padding:8px 15px;display:flex;align-items:center;gap:20px}.browser-dots{display:flex;gap:5px}.browser-dots i{display:block;width:7px;height:7px;background:#cbd5e1;border-radius:50%}.browser-url{font-size:10px;color:#475569;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1;max-width:100%}.icon-button{border:0;background:transparent;font-size:24px;color:var(--primary);min-width:32px;min-height:32px}.browser-hint{font-size:11px;padding:12px 15px;color:var(--muted);border-bottom:1px solid var(--line)}.browser-viewport{overflow-x:auto;background:#f8fafc}.browser-viewport img{width:100%;height:auto;display:block;cursor:crosshair;min-width:760px}.browser-controls{padding:18px;border-top:1px solid var(--line)}.remote-input label{font-size:11px;display:block;color:var(--muted);margin-bottom:8px}.input-row{display:flex;gap:8px}.input-row input{min-width:0}.input-row .button{font-size:12px}.remote-keys{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.button.key{padding:7px 12px;min-height:35px;font-size:11px;background:#f1f5f9;color:#475569;border:1px solid var(--line)}.button.key:hover{background:#e2e8f0}.browser-bottom{padding:20px 18px;display:flex;justify-content:space-between;align-items:center;gap:20px;background:#f8fafc;border-top:1px solid var(--line)}.browser-bottom>span{font-size:11px;color:#475569}.browser-bottom small{color:var(--muted);font-size:9px}.browser-bottom .button{font-size:11px}

.sidebar .brand-symbol{background:#1e293b;color:#bfdbfe}.sidebar .brand-dot{color:#60a5fa}.sidebar .nav-item{color:#94a3b8}.sidebar .nav-item.active{background:#1e293b;color:#f8fafc}.sidebar .nav-item:hover{background:#1e293b;color:#fff}.sidebar .nav-count{background:#334155;color:#bfdbfe}.sidebar .user-block{border-color:#334155}.sidebar .avatar{background:#1e293b;color:#bfdbfe}.sidebar .user-block div>span{color:#94a3b8}.sidebar .logout{color:#94a3b8}.sidebar .logout:hover{color:#fff}.mobile-logout{display:none}.mobile-logout button{border:1px solid #cbd5e1;color:#475569;background:#fff;border-radius:6px;font-size:10px;padding:5px 10px}
@media(min-width:1600px){.page-content{padding-top:55px}.welcome-card{min-height:350px;padding:45px}.bank-art{min-height:290px}.bank-card-art{width:285px;height:185px}.card-chart{height:75px}.auth-story{padding-left:80px}.story-content{max-width:630px}.story-content h1{font-size:88px}}
@media(max-width:1150px){.sidebar{width:218px;padding-left:16px;padding-right:16px}.sidebar .brand{font-size:23px}.main-panel{margin-left:218px;width:calc(100% - 218px)}.topbar{padding:0 30px}.page-content{padding:32px 30px}.page-heading h1{font-size:37px}.welcome-card{padding:28px}.welcome-copy h2{font-size:32px}.bank-card-art{width:210px;height:153px;padding:17px}.float-label{font-size:8px;padding:8px;right:-7px}.orbit-one{width:260px;height:260px}.orbit-two{width:350px;height:350px}.summary-card{padding:17px}.connection-status{font-size:12px}.auth-story{padding:35px}.auth-panel{padding:35px}.story-content h1{font-size:65px}.connect-grid{gap:27px}.workspace-footer{padding:18px 30px}.date-label{display:none}}
@media(max-width:820px){.auth-layout{grid-template-columns:.85fr 1fr}.auth-story{padding:28px}.story-content h1{font-size:52px}.story-copy{font-size:14px}.story-art{height:140px}.story-art>svg{height:110px}.auth-form-wrap h2{font-size:31px}.auth-panel{padding:28px}.auth-topline .small-muted{display:none}.auth-bottom{font-size:8px}.story-footer span:last-child{display:none}.sidebar{width:190px;padding:25px 12px 18px}.sidebar .brand{font-size:20px;gap:6px;margin:0 4px 43px}.sidebar .brand-symbol{width:27px;height:29px}.nav-item{font-size:11px;gap:8px;padding:11px 9px}.nav-count{display:none}.nav-label{font-size:8px;padding:0 9px}.main-panel{margin-left:190px;width:calc(100% - 190px)}.topbar{height:65px;padding:0 22px}.private-badge{display:none}.page-content{padding:29px 22px}.page-heading h1{font-size:32px}.welcome-card{grid-template-columns:1fr;min-height:auto}.welcome-copy h2{font-size:33px}.bank-art{display:none}.summary-grid{grid-template-columns:1fr 1fr;gap:12px}.summary-card:last-child{grid-column:1/-1}.summary-card:last-child .connection-status{margin:12px 0}.summary-card{padding:17px}.steps-grid{gap:18px}.next-section h2{font-size:21px}.connect-grid{grid-template-columns:1fr;gap:27px}.page-heading.compact h1{font-size:32px}.workspace-footer{padding:18px 22px}.workspace-footer span:last-child{display:none}.page-heading.compact>.pill{display:none}.scope-note{flex-direction:column;gap:10px}.browser-bottom{align-items:stretch;flex-direction:column}.input-row{flex-wrap:wrap}.input-row input{flex:1 1 100%}.input-row button{flex:1}}
@media(max-width:600px){.mobile-logout{display:block}.auth-layout{display:flex;flex-direction:column}.auth-story{padding:25px 25px 30px}.auth-story .brand{font-size:23px}.story-content{padding-top:36px}.eyebrow{font-size:8px}.story-content h1{font-size:46px;margin:18px 0 15px}.story-copy{font-size:13px}.story-copy br{display:none}.story-art,.story-footer{display:none}.auth-panel{padding:24px;flex:1}.auth-topline{display:none}.auth-form-wrap{padding:14px 0 36px;max-width:100%}.auth-form-wrap h2{font-size:30px}.auth-form-wrap h2 br{display:none}.auth-form-wrap .section-number{display:none}.auth-note{margin-top:25px}.auth-form{margin-top:25px}.auth-bottom{font-size:9px}.workspace{display:block}.sidebar{position:static;width:100%;padding:19px 20px 0;border-right:0;border-bottom:1px solid var(--line);display:block}.sidebar .brand{margin:0 0 20px;font-size:24px}.sidebar .brand-symbol{width:31px;height:33px}.nav{display:flex;gap:10px;padding-bottom:12px}.nav-item{min-height:39px;font-size:12px;padding:9px 13px}.sidebar-note,.user-block,.nav-label{display:none}.main-panel{margin:0;width:100%}.topbar{height:48px;padding:0 21px;font-size:10px}.page-content{padding:27px 21px 35px}.page-heading h1{font-size:35px}.page-heading .muted{font-size:12px}.welcome-card{padding:25px}.welcome-copy h2{font-size:34px}.summary-grid{gap:10px;margin-top:16px}.summary-card{padding:17px 14px}.summary-card .small-muted{font-size:9px}.summary-label{font-size:10px}.empty-amount{font-size:29px}.steps-grid{grid-template-columns:1fr;gap:23px}.step p{max-width:100%}.next-section{margin-top:30px}.step-status{margin-top:12px}.page-heading.compact h1{font-size:33px}.connect-grid{margin-top:23px}.panel{padding:23px}.signup-card{padding:25px;margin:35px auto}.simple-auth{padding:25px}.signup-card h1{font-size:29px}.browser-viewport img{min-width:850px}.browser-controls{padding:14px}.browser-toolbar{gap:10px}.browser-url{font-size:9px}.browser-hint{font-size:10px}.workspace-footer{padding:17px 21px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
