/* Layout inspired by Health; all financial surfaces and colors remain from Suga AI Tech. */
body.tech-ui{--tech-sidebar:248px}
.tech-ui .tech-area-hidden{display:none!important}
.tech-ui details.tech-area-selected>summary{display:none!important}
.tech-ui details.tech-area-selected{padding:0;border:0;border-radius:0;background:none;box-shadow:none;margin:0}
.tech-ui details.tech-area-selected>.panel-disclosure-body{padding:0;margin:0}
.tech-ui details.tech-area-selected::details-content{height:auto;overflow:visible;transition:none}
.tech-ui.tech-area-mode .mainGrid{grid-template-columns:minmax(0,1fr);gap:16px}
.tech-ui.tech-area-mode:not([data-tech-area=overview]) .mainGrid{margin-top:0}
.tech-ui.tech-area-mode .mainGrid>details.tech-area-selected>.panel-disclosure-body>.panel{padding:16px 0}
.tech-ui.tech-area-mode .mainGrid>.tech-area-selected{grid-column:1/-1;min-width:0}
.tech-ui .tech-area-selected>.ledger-content{margin-top:0}
.tech-ui .tech-area-selected>.ledger-content>h2{margin-top:0}
.tech-ui .tech-area-selected{animation:techAreaEnter .3s ease both}
.tech-ui .business-tabs{display:none}
.tech-ui .tech-period-choice{display:flex;align-items:center;gap:8px;margin:0;color:#b9c7df;font-size:11px;font-weight:500}
.tech-ui .tech-period-choice input{width:150px;min-height:36px;padding:7px 9px;font-size:12px}
.tech-ui.tech-area-mode .month-cards-heading .monthBox{display:none}
@keyframes techAreaEnter{from{opacity:0;filter:blur(3px);transform:translateY(5px)}to{opacity:1;filter:blur(0);transform:translateY(0)}}
.tech-ui .tech-sidebar{position:fixed;inset:0 auto 0 0;z-index:150;width:var(--tech-sidebar);display:flex;flex-direction:column;gap:18px;padding:22px 17px 20px;background:linear-gradient(165deg,#362b50,#29213f 65%,#241d39);border-right:1px solid #685890;box-shadow:8px 0 30px #02061635;color:#d5cde8;backdrop-filter:blur(24px)}
.tech-brand{display:flex;align-items:center;gap:12px;color:#f2f3ff!important;text-decoration:none;padding:0 8px}
.tech-brand img{border:1px solid #a88aff40;border-radius:12px;box-shadow:0 8px 18px #02061650;flex:none}
.tech-brand strong{display:block;font-size:25px;line-height:1.1;letter-spacing:1.2px;color:#f2f3ff}
.tech-ui .tech-brand small{display:block;color:#c9b5ff;font-size:12px;font-weight:800;letter-spacing:3px;margin-top:6px}
.tech-identity{display:grid;gap:5px;padding:17px 15px;border:1px solid #a88aff40;border-radius:15px;background:linear-gradient(125deg,#a690ed20,#a690ed0a);box-shadow:inset 0 1px #ffffff15}
.tech-ui .tech-identity small{color:#b9c7df;font-size:10px;font-weight:750;letter-spacing:1.1px}
.tech-identity strong{color:#f2f3ff;font-size:18px;line-height:1.4;overflow-wrap:anywhere}
.tech-plan-badge{justify-self:start;padding:3px 9px;border-radius:20px;background:#8966ed20;border:1px solid #a88aff40;color:#ddd3ff;font-size:12px}
.tech-navigation{display:grid;align-content:start;gap:4px;flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#71659c transparent}
.tech-ui .tech-navigation button{display:flex;gap:11px;align-items:center;text-align:left;padding:9px 10px;min-height:40px;background:transparent;border:1px solid transparent;border-left:3px solid transparent;border-radius:9px;color:#cfd6eb;box-shadow:none;transform:none;font-size:14px;font-weight:500}
.tech-ui .tech-navigation button:hover{background:#a690ed18;border-color:#a88aff30;box-shadow:none;color:#f2f3ff}
.tech-ui .tech-navigation button[aria-current=page]{color:#f2f3ff;font-weight:750;background:linear-gradient(110deg,#a690ed28,#a690ed14);border-color:#a88aff50;border-left-color:#a88aff;box-shadow:inset 0 1px #ffffff15}
.tech-nav-icon{font:20px/1 system-ui;color:#bda9ff;width:20px;flex:none;text-align:center}
.tech-nav-caption{color:#b9c7df!important;font-size:10px;font-weight:750;letter-spacing:1.15px;padding:14px 13px 5px}
.tech-home-link{color:#cfbaff!important;text-decoration:none;font-size:13px;padding:12px 14px}
.tech-sidebar-footer{color:#b9c7df;font-size:11px;line-height:1.7;padding:14px 10px 0;border-top:1px solid #a88aff30}
.tech-sidebar-footer a{display:block;color:#cfbaff;margin-top:5px;font-size:12px}
.tech-ui .tech-mobile-menu,.tech-ui .tech-sidebar-close,.tech-sidebar-backdrop{display:none}
.tech-with-sidebar>.wrap{margin-left:var(--tech-sidebar);width:calc(100% - var(--tech-sidebar))!important;max-width:none;padding:18px 28px 40px}
.tech-with-sidebar>.wrap>header{display:none}
.tech-with-sidebar #rl-accountbar{margin-left:var(--tech-sidebar);width:calc(100% - var(--tech-sidebar));position:sticky;top:0;z-index:100;padding:10px 28px;min-height:52px;font:13px system-ui;gap:12px;backdrop-filter:blur(22px)}
.tech-with-sidebar #rl-accountbar button{font-size:12px;min-height:33px;padding:7px 12px}
.tech-ui .panel-nav{position:sticky;top:52px;z-index:90;background:#171d32f2;border:1px solid #414b68;border-radius:15px;box-shadow:0 5px 20px #02061635;padding:15px 18px;margin:0 0 16px!important;backdrop-filter:blur(22px);gap:14px}
.tech-ui .panel-nav strong{font-size:24px;line-height:1.25}
.tech-ui .panel-nav-actions{gap:8px;display:flex}
.tech-ui .panel-nav-actions [data-tab],.tech-ui .panel-nav-actions #openBudgetComparison{display:none}
.tech-ui .panel-nav-actions button,.tech-ui .compact-plan-chooser>summary{font-size:12px;min-height:36px;padding:8px 12px}
.tech-ui #realOverview{padding:18px 22px;display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin:14px 0}
.tech-ui #realOverview.hidden{display:none}
.tech-ui #realOverview>.badge{display:none}
.tech-ui #realOverview .real-overview-top:has(.real-notice[hidden]){display:none}
.tech-ui .real-overview-main{gap:16px;flex:1;min-width:min(300px,100%)}
.tech-ui .real-overview-face,.tech-ui .real-overview-face img{width:78px!important;height:78px!important;flex:none}
.tech-ui .real-overview-face{font-size:58px;line-height:1}
.tech-ui .real-overview-main h2{font-size:20px;margin:0 0 6px}
.tech-ui .real-overview-main p{font-size:13px;margin:0;line-height:1.6}
.tech-ui .real-overview-actions{margin:0}
.tech-ui .real-overview-actions a{font-size:12px;min-height:36px;padding:8px 11px}
.tech-ui .finance-frame{border:0!important;border-radius:0;background:transparent!important;display:block}
html.embedded-finance{background:transparent!important;overflow-x:clip}
html.embedded-finance body.tech-ui{min-height:0;background:transparent!important}
.tech-ui.embedded .shell{padding:8px 0 22px}
.tech-ui.embedded #rl-accountbar{display:none!important}
.tech-ui .cards{gap:14px;align-items:stretch}
.tech-ui .cards>.card{position:relative;isolation:isolate;overflow:hidden;border-radius:18px;padding:19px;min-height:135px;backdrop-filter:blur(24px) saturate(140%)}
.tech-ui .cards>.card::after{content:'';position:absolute;pointer-events:none;z-index:-1;inset:0;background:linear-gradient(110deg,transparent 25%,#ffffff15 49%,transparent 72%);background-size:250% 100%;animation:techReflection 12s ease-in-out infinite;opacity:.55}
.tech-ui .cards>.card strong{font-size:clamp(23px,2.1vw,31px);line-height:1.3;letter-spacing:-.65px;margin:13px 0 8px}
.tech-ui .month-cards-heading h2{font-size:23px}
.tech-ui .category-pie-layout{grid-template-columns:minmax(230px,300px) minmax(260px,380px);gap:24px;align-items:start;justify-content:center}
.tech-ui .category-pie-donut{max-width:300px;margin:8px auto 0}
.tech-ui .category-pie-legend{gap:8px;width:100%;max-width:380px;justify-self:center}
.tech-ui .category-pie-legend button{grid-template-columns:10px minmax(0,1fr) auto;gap:10px;padding:10px 14px;min-height:56px}
.tech-ui .category-pie-legend button>span{min-width:0;overflow-wrap:anywhere}
.tech-ui .category-pie-legend button>strong{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.tech-ui .category-pie-legend small{margin-top:3px}
@media(max-width:650px){.tech-ui .category-pie-layout{grid-template-columns:minmax(0,1fr);gap:20px}.tech-ui .category-pie-donut{max-width:260px;margin:0 auto}.tech-ui .category-pie-legend{max-width:380px}}
.tech-ui .month-budget-grid{gap:13px;align-items:stretch}
.tech-ui .month-budget-card{min-height:325px;padding:15px;border-radius:17px;backdrop-filter:blur(24px) saturate(125%)}
.tech-ui .month-budget-card h3{font-size:18px;margin-bottom:3px}
.tech-ui .month-card-values strong{font-size:17px;margin:0;line-height:1.35}
.tech-ui .month-card-toggle{font-size:13px;min-height:38px}
.tech-ui .month-card-options-content,.tech-ui .month-card-options-content[data-side=left]{position:fixed!important;inset:auto 0 auto auto!important;top:var(--tech-drawer-top,0px)!important;width:min(470px,100vw)!important;height:var(--tech-drawer-height,100dvh);max-height:none;overflow-y:auto;overscroll-behavior:contain;margin:0!important;padding:24px!important;border-radius:23px 0 0 23px;backdrop-filter:blur(28px);z-index:2}
.tech-ui .month-card-options-header{position:sticky;top:-24px;z-index:3;margin:-24px -24px 20px;padding:20px 24px;background:#171d32f5;backdrop-filter:blur(24px)}
.tech-ui .month-card-options-header strong{font-size:20px}
.tech-ui .month-card-options .month-card-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.tech-ui .month-card-options .month-card-actions button{min-height:48px;padding:11px;font-size:13px}
.tech-ui .month-card-options .month-card-actions .remove-limit{grid-column:1/-1;font-size:12px}
.tech-ui .tech-expense-backdrop{position:fixed;top:var(--tech-drawer-top,0px);left:0;width:100vw;height:var(--tech-drawer-height,100dvh);min-height:0;border:0;border-radius:0;background:#0c102045;backdrop-filter:blur(2px);z-index:1;cursor:default;box-shadow:none;transform:none}
.tech-ui .month-card-options::details-content{overflow:visible!important;height:auto!important;transition:none!important}
.tech-ui .month-card-options-content:has(.month-card-editor){filter:none!important;transform:none!important}
.tech-ui .month-cards-panel:has(.month-card-options[open]){z-index:110;transform:none!important}
.tech-ui .tech-business-copy{display:none}
.tech-ui .tech-business-intro{padding:0;border:0!important;box-shadow:none;background:transparent;margin:0 0 16px}
.tech-ui .business-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:18px 0}
.tech-ui .business-grid>.business-kpi{padding:19px;border-radius:18px;backdrop-filter:blur(24px)}
.tech-ui .business-kpi strong{font-size:23px;margin-top:14px;white-space:nowrap}
.tech-ui .business-kpi .business-note{background:none;border:0;padding:0;font-size:11px;line-height:1.5;margin-top:10px}
.tech-ui .business-tabs button{font-size:13px;padding:9px 13px;min-height:40px}
.tech-ui .business-form{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:13px}
@keyframes techReflection{0%,100%{background-position:100% 0}50%{background-position:0 0}}
@media(min-width:1450px){.tech-with-sidebar>.wrap{padding-left:36px;padding-right:36px;max-width:1700px;margin-right:auto}}
@media(max-width:1150px){body.tech-ui{--tech-sidebar:225px}.tech-with-sidebar>.wrap{padding:16px 20px 40px}.tech-sidebar{padding:22px 13px}.tech-ui .cards{grid-template-columns:repeat(3,minmax(0,1fr))}.tech-ui .panel-nav-actions{gap:5px}.tech-ui .panel-nav-actions button{padding:8px}.tech-ui .business-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.tech-with-sidebar>.wrap{margin-left:0;width:100%!important;padding:14px 16px 35px}.tech-with-sidebar #rl-accountbar{margin-left:0;width:100%;padding:9px 16px}.tech-ui .tech-sidebar{width:260px;transform:translateX(-105%);visibility:hidden;transition:transform .28s,visibility .28s}.tech-menu-open .tech-sidebar{transform:translateX(0);visibility:visible}.tech-ui .tech-mobile-menu{display:block;align-self:center;flex:none;font-size:12px;padding:8px 11px;min-height:36px}.tech-ui .tech-sidebar-close{display:grid;place-items:center;position:absolute;right:12px;top:13px;width:30px;height:30px;min-height:30px;padding:0;color:#f2f3ff;font-size:23px;background:#30254a;border-color:#685890}.tech-ui .tech-sidebar-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:140;width:100vw;height:100dvh;background:#0c102065;backdrop-filter:blur(3px);border:0;border-radius:0;box-shadow:none;transform:none}.tech-menu-open{overflow:hidden}.tech-ui .panel-nav{top:52px;gap:10px;padding:12px}.tech-ui .panel-nav strong{font-size:20px}.tech-ui .panel-nav-actions{display:flex!important;width:auto!important}.tech-ui .panel-nav-actions button{width:auto}.tech-ui .panel-nav-actions #motionToggle{display:none}}
@media(max-width:650px){.tech-with-sidebar>.wrap{padding:12px 12px 30px}.tech-ui .panel-nav{position:relative;top:auto;flex-wrap:wrap;padding:12px}.tech-ui .panel-nav>div:first-of-type{flex:1}.tech-with-sidebar #rl-accountbar{position:relative;flex-wrap:wrap;padding:9px 12px;font-size:11px}.tech-ui .panel-nav strong{font-size:18px}.tech-ui .panel-nav-actions{margin-left:auto}.tech-ui .panel-nav-actions [data-fullscreen]{display:none}.tech-ui .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tech-ui .cards>.card{padding:15px;min-height:132px}.tech-ui .cards>.card:nth-child(5){grid-column:1/-1}.tech-ui .cards>.card strong{font-size:23px}.tech-ui #realOverview{padding:15px;gap:12px}.tech-ui .real-overview-main{gap:12px}.tech-ui .real-overview-face,.tech-ui .real-overview-face img{width:62px!important;height:62px!important}.tech-ui .real-overview-face{font-size:48px}.tech-ui .real-overview-main h2{font-size:17px}.tech-ui .real-overview-main p{font-size:12px}.tech-ui .real-overview-actions{display:none}.tech-ui .month-budget-card{padding:13px;min-height:305px}.tech-ui .month-budget-card h3{font-size:16px}.tech-ui .month-card-values strong{font-size:15px}.tech-ui .month-card-options-content,.tech-ui .month-card-options-content[data-side=left]{width:100vw!important;border-radius:0;padding:20px!important}.tech-ui .month-card-options-header{top:-20px;margin:-20px -20px 18px;padding:17px 20px}.tech-ui .month-card-options-header strong{font-size:18px}.tech-ui .month-card-options .month-card-actions button{font-size:12px}.tech-ui .business-form{grid-template-columns:repeat(2,minmax(0,1fr))}.tech-ui .month-cards-heading h2{font-size:19px}.tech-ui .compact-plan-chooser>.plan-switch{max-width:calc(100vw - 30px)}.tech-ui .business-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tech-ui .business-grid>.business-kpi:last-child{grid-column:1/-1}.tech-ui .business-grid>.business-kpi{padding:15px}.tech-ui .business-kpi strong{font-size:23px}}
@media(max-width:380px){.tech-ui .month-budget-card{min-height:305px}.tech-ui .business-form{grid-template-columns:1fr}.tech-ui .panel-nav-actions button{font-size:11px}}
@media(min-width:850px){.tech-ui .cards{grid-template-columns:repeat(5,minmax(0,1fr))}.tech-ui .cards>.card{padding:16px}.tech-ui .cards>.card strong{font-size:23px}}
body.motion-paused .cards>.card::after{animation:none}
body.motion-paused .tech-area-selected{animation:none}
@media(max-width:650px){.tech-ui .panel-nav-actions{flex-wrap:wrap;justify-content:flex-end}.tech-ui .tech-period-choice{gap:5px}.tech-ui .tech-period-choice input{width:140px}.tech-ui .tech-period-choice{order:3;flex-basis:100%;justify-content:flex-end}.tech-ui .panel-nav-actions:has(.tech-period-choice:not([hidden])){width:100%!important}}
@media(prefers-reduced-motion:reduce){.tech-ui *, .tech-ui *::before,.tech-ui *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
