/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--gem-bg:#f7f9fc;--gem-rail:#eef3f9;--gem-surface:#fff;--gem-surface-soft:#f0f4f9;--gem-surface-hover:#e8eef6;--gem-active:#d3e3fd;--gem-active-text:#041e49;--gem-text:#1f1f1f;--gem-text-secondary:#5f6368;--gem-text-tertiary:#747775;--gem-border:#dfe4ea;--gem-blue:#0b57d0;--gem-blue-hover:#0a4db8;--gem-danger:#b3261e;--gem-shadow:0 1px 2px #3c404314, 0 2px 8px #3c404314;--gem-shadow-menu:0 8px 24px #3c40432e, 0 2px 6px #3c40431f;--font-sans:"Google Sans", "Helvetica Neue", Arial, sans-serif;--font-text:"Google Sans Text", "Helvetica Neue", Arial, sans-serif;--font-mono:"SFMono-Regular", Consolas, "Liberation Mono", monospace;color:var(--gem-text);background:var(--gem-bg);font-family:var(--font-text);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0}body{min-width:320px;overflow:hidden}.reduce-motion *,.reduce-motion :before,.reduce-motion :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}button,textarea,select{font:inherit}button{color:inherit}button:focus-visible,[role=option]:focus-visible{outline:2px solid var(--gem-blue);outline-offset:2px}::selection{color:#0b1f3a;background:#c2e7ff}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.confirm-dialog-backdrop{z-index:220;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#1c1f2666;place-items:center;padding:24px;animation:.15s ease-out confirm-backdrop-in;display:grid;position:fixed;inset:0}.confirm-dialog{width:min(100%,430px);color:var(--gem-text);background:var(--gem-surface);text-align:center;border:1px solid #3c40431f;border-radius:28px;padding:28px;animation:.18s cubic-bezier(.2,0,0,1) confirm-dialog-in;position:relative;box-shadow:0 24px 70px #1f232b4d}.confirm-dialog-close{width:38px;height:38px;color:var(--gem-text-secondary);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:14px;right:14px}.confirm-dialog-close:hover:not(:disabled){background:var(--gem-surface-hover)}.confirm-dialog-close svg{width:19px;height:19px}.confirm-dialog-icon{color:#b3261e;background:#fce8e6;border-radius:20px;place-items:center;width:58px;height:58px;margin:0 auto 18px;display:grid}.confirm-dialog.primary .confirm-dialog-icon{color:var(--gem-blue);background:#e8f0fe}.confirm-dialog-icon svg{width:25px;height:25px}.confirm-dialog h2{letter-spacing:-.35px;margin:0;font-size:23px;font-weight:600}.confirm-dialog p{max-width:340px;color:var(--gem-text-secondary);margin:9px auto 24px;font-size:14px;line-height:1.55}.confirm-dialog footer{justify-content:center;gap:10px;display:flex}.confirm-dialog footer button{cursor:pointer;border-radius:23px;min-width:118px;height:44px;padding:0 20px;font-size:14px;font-weight:600;transition:background-color .14s,box-shadow .14s,transform .14s}.confirm-dialog footer button:active:not(:disabled){transform:scale(.98)}.confirm-dialog-cancel{color:var(--gem-text-secondary);background:var(--gem-surface);border:1px solid #d5dae1}.confirm-dialog-cancel:hover:not(:disabled){background:var(--gem-surface-soft)}.confirm-dialog-submit{color:#fff;background:#b3261e;border:1px solid #0000}.confirm-dialog.primary .confirm-dialog-submit{background:var(--gem-blue)}.confirm-dialog-submit:hover:not(:disabled){background:#8c1d18;box-shadow:0 3px 9px #b3261e3d}.confirm-dialog.primary .confirm-dialog-submit:hover:not(:disabled){background:var(--gem-blue-hover);box-shadow:0 3px 9px #0b57d03d}.confirm-dialog button:disabled{opacity:.55;cursor:wait}@keyframes confirm-backdrop-in{0%{opacity:0}}@keyframes confirm-dialog-in{0%{opacity:0;transform:translateY(10px)scale(.98)}}@media (width<=520px){.confirm-dialog-backdrop{align-items:end;padding:10px}.confirm-dialog{border-radius:28px;padding:26px 20px 20px}.confirm-dialog footer{flex-direction:column-reverse}.confirm-dialog footer button{width:100%}}.sidebar{z-index:40;width:280px;height:100dvh;color:var(--gem-text);background:var(--gem-rail);flex-direction:column;flex:none;transition:width .22s cubic-bezier(.2,0,0,1);display:flex;position:relative;overflow:hidden}.sidebar.collapsed{width:72px}.sidebar-header{align-items:center;gap:12px;min-height:72px;padding:12px 14px;display:flex}.icon-button{width:44px;height:44px;color:var(--gem-text-secondary);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:0 0 44px;place-items:center;padding:0;transition:background-color .16s;display:inline-grid}.icon-button:hover{background:#3c404314}.icon-button svg{width:22px;height:22px}.sidebar-brand{min-width:0;font-family:var(--font-sans);letter-spacing:-.3px;white-space:nowrap;align-items:center;gap:10px;font-size:20px;font-weight:500;transition:opacity .14s;display:flex}.sidebar-brand svg{flex:none;width:25px;height:25px}.workspace-nav{gap:4px;margin:2px 10px 12px;display:grid}.workspace-nav button{width:100%;height:44px;color:var(--gem-text-secondary);cursor:pointer;background:0 0;border:0;border-radius:22px;align-items:center;gap:13px;padding:0 13px;font-size:14px;font-weight:500;transition:background-color .14s,color .14s;display:flex}.workspace-nav button:hover{background:var(--gem-surface-hover)}.workspace-nav button.active{color:var(--gem-active-text);background:var(--gem-active)}.workspace-nav svg{flex:none;width:20px;height:20px}.new-chat-btn{color:#0842a0;cursor:pointer;white-space:nowrap;background:#dde9f8;border:0;border-radius:16px;flex:none;align-items:center;gap:12px;width:fit-content;min-width:142px;height:48px;margin:6px 14px 22px;padding:0 18px;font-size:14px;font-weight:500;transition:background-color .16s,box-shadow .16s,min-width .22s,padding .22s;display:flex}.new-chat-btn:hover{background:#d3e3f7;box-shadow:0 1px 2px #3c40431a}.new-chat-btn svg{flex:none;width:20px;height:20px}.conversations-section{flex-direction:column;flex:1;min-height:0;padding:0 10px;display:flex}.conversations-section h2{color:var(--gem-text-secondary);font-family:var(--font-sans);white-space:nowrap;margin:0 12px 8px;font-size:13px;font-weight:500}.conversations-list{scrollbar-color:#c3c7c5 transparent;scrollbar-width:thin;flex:1;min-height:0;overflow:hidden auto}.empty-state{color:var(--gem-text-tertiary);margin:10px 12px;font-size:13px;line-height:1.5}.conversation-row{border-radius:21px;align-items:center;width:100%;height:42px;transition:background-color .14s;display:flex;position:relative}.conversation-row:hover{background:var(--gem-surface-hover)}.conversation-row.active{color:var(--gem-active-text);background:var(--gem-active)}.conversation-item{border-radius:inherit;min-width:0;height:100%;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:12px;padding:0 38px 0 12px;display:flex}.conversation-item svg{flex:none;width:19px;height:19px;display:none}.conversation-item span{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.delete-btn{opacity:0;width:30px;height:30px;color:var(--gem-text-secondary);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;transition:opacity .14s,background-color .14s,color .14s;display:grid;position:absolute;right:6px}.delete-btn svg{width:17px;height:17px}.conversation-row:hover .delete-btn,.delete-btn:focus-visible{opacity:1}.delete-btn:hover{color:var(--gem-danger);background:#b3261e14}.sidebar-footer{gap:2px;padding:10px 10px 14px;display:grid}.sidebar-footer button{height:42px;color:var(--gem-text-secondary);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:21px;align-items:center;gap:13px;padding:0 13px;font-size:14px;display:flex}.sidebar-footer button:hover{background:var(--gem-surface-hover)}.sidebar-footer svg{flex:none;width:20px;height:20px}.sidebar.collapsed .sidebar-brand,.sidebar.collapsed .workspace-nav span,.sidebar.collapsed .conversations-section h2,.sidebar.collapsed .conversation-item span,.sidebar.collapsed .delete-btn,.sidebar.collapsed .sidebar-footer span,.sidebar.collapsed .new-chat-btn span,.sidebar.collapsed .empty-state{display:none}.sidebar.collapsed .workspace-nav{margin-inline:12px}.sidebar.collapsed .workspace-nav button{justify-content:center;gap:0;width:48px;padding:0}.sidebar.collapsed .sidebar-header{justify-content:center}.sidebar.collapsed .new-chat-btn{justify-content:center;gap:0;width:48px;min-width:48px;margin:6px auto 22px;padding:0}.sidebar.collapsed .conversations-section{width:100%;padding:0 12px}.sidebar.collapsed .conversations-list{width:100%}.sidebar.collapsed .conversation-row{width:48px;margin-inline:auto}.sidebar.collapsed .conversation-item{flex:0 0 48px;justify-content:center;gap:0;width:48px;padding:0}.sidebar.collapsed .conversation-item svg{display:block}.sidebar.collapsed .sidebar-footer button{justify-content:center;gap:0;width:48px;margin-inline:auto;padding:0}.finance-sidebar{background:radial-gradient(circle at 18% 10%,#4285f41f,#0000 42%),#ffffff6b;border:1px solid #7999c62e;border-radius:24px;flex:1;min-height:0;margin:4px 12px 12px;padding:16px 10px 12px}.finance-sidebar p{margin:0}.finance-sidebar .finance-sidebar-label{color:var(--gem-text-tertiary);letter-spacing:.4px;text-transform:uppercase;padding:0 9px 8px;font-size:10px;font-weight:600}.finance-page-nav{gap:3px;display:grid}.finance-page-nav button{width:100%;height:40px;color:var(--gem-text-secondary);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;padding:0 11px;font-size:11px;font-weight:500;display:flex}.finance-page-nav button:hover{background:#e1eaf6b8}.finance-page-nav button.active{color:#174c91;background:#dce9fb}.finance-sidebar-privacy{color:#55708e;border-top:1px solid #7999c629;align-items:center;gap:9px;margin-top:14px;padding:12px 10px;display:flex}.finance-sidebar-privacy>svg{flex:none;width:19px;height:19px}.finance-sidebar-privacy>span{gap:2px;min-width:0;display:grid}.finance-sidebar-privacy strong{font-size:10px;font-weight:600}.finance-sidebar-privacy small{color:var(--gem-text-tertiary);font-size:8px}.sidebar.collapsed .finance-sidebar{display:none}.sidebar-dialog-backdrop{z-index:120;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#20212457;place-items:center;padding:24px;animation:.16s ease-out dialog-fade-in;display:grid;position:fixed;inset:0}.sidebar-dialog{width:min(500px,100%);max-height:calc(100dvh - 48px);color:var(--gem-text);background:var(--gem-surface);border:1px solid #5f636824;border-radius:28px;animation:.18s cubic-bezier(.2,0,0,1) dialog-rise-in;overflow-y:auto;box-shadow:0 16px 48px #3c40433d}.sidebar-dialog-header{grid-template-columns:48px minmax(0,1fr) 40px;align-items:center;gap:14px;padding:24px 24px 18px;display:grid}.sidebar-dialog-icon{width:48px;height:48px;color:var(--gem-blue);background:#e8f0fe;border-radius:16px;place-items:center;display:grid}.sidebar-dialog-icon svg{width:24px;height:24px}.sidebar-dialog-header h2,.sidebar-dialog-header p,.help-guide-item h3,.help-guide-item p,.settings-row h3,.settings-row p{margin:0}.sidebar-dialog-header h2{letter-spacing:-.01em;font-size:22px;font-weight:500}.sidebar-dialog-header p{color:var(--gem-text-secondary);margin-top:3px;font-size:13px;line-height:1.45}.sidebar-dialog-close{width:40px;height:40px;color:var(--gem-text-secondary);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;display:grid}.sidebar-dialog-close:hover{background:var(--gem-surface-hover)}.sidebar-dialog-close svg{width:21px;height:21px}.help-guide,.settings-list{gap:10px;padding:0 24px 24px;display:grid}.help-guide-item,.settings-row{background:var(--gem-surface-soft);border-radius:20px}.help-guide-item{grid-template-columns:34px minmax(0,1fr);align-items:start;gap:13px;padding:16px;display:grid}.help-guide-item>span{width:34px;height:34px;color:var(--gem-blue);background:var(--gem-surface);border-radius:50%;place-items:center;font-size:14px;font-weight:600;display:grid}.help-guide-item h3,.settings-row h3{color:var(--gem-text);font-size:15px;font-weight:500}.help-guide-item p,.settings-row p{color:var(--gem-text-secondary);margin-top:4px;font-size:13px;line-height:1.5}.help-guide-note,.settings-note{color:var(--gem-text-tertiary);margin:4px 4px 0;font-size:12px;line-height:1.45}.settings-row{justify-content:space-between;align-items:center;gap:20px;min-height:76px;padding:16px;display:flex}.settings-row-stacked{flex-direction:column;align-items:stretch;gap:14px}.navigation-choice{background:var(--gem-surface);border-radius:14px;grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.navigation-choice button{height:38px;color:var(--gem-text-secondary);cursor:pointer;background:0 0;border:0;border-radius:10px;font-size:13px;font-weight:500}.navigation-choice button:hover{background:var(--gem-surface-hover)}.navigation-choice button.active{color:var(--gem-active-text);background:var(--gem-active)}.settings-switch{cursor:pointer;background:#e3e3e3;border:1px solid #747775;border-radius:999px;flex:0 0 50px;width:50px;height:30px;transition:background .16s,border-color .16s;position:relative}.settings-switch span{background:#5f6368;border-radius:50%;width:20px;height:20px;transition:transform .16s,background .16s;position:absolute;top:4px;left:4px}.settings-switch.on{border-color:var(--gem-blue);background:var(--gem-blue)}.settings-switch.on span{background:#fff;transform:translate(20px)}@keyframes dialog-fade-in{0%{opacity:0}}@keyframes dialog-rise-in{0%{opacity:0;transform:translateY(10px)scale(.98)}}@media (width<=840px){.sidebar,.sidebar.collapsed{z-index:50;width:min(86vw,300px);box-shadow:var(--gem-shadow-menu);transition:transform .22s cubic-bezier(.2,0,0,1);position:fixed;inset:0 auto 0 0;transform:translate(-105%)}.sidebar.open{transform:translate(0)}.sidebar.collapsed .sidebar-brand,.sidebar.collapsed .workspace-nav span,.sidebar.collapsed .conversations-section h2,.sidebar.collapsed .conversation-item span,.sidebar.collapsed .sidebar-footer span,.sidebar.collapsed .new-chat-btn span,.sidebar.collapsed .empty-state{display:revert}.sidebar.collapsed .workspace-nav{margin-inline:10px}.sidebar.collapsed .workspace-nav button{justify-content:flex-start;gap:13px;width:100%;padding:0 13px}.sidebar.collapsed .finance-sidebar{display:block}.sidebar.collapsed .sidebar-brand{display:flex}.sidebar.collapsed .delete-btn{display:grid}.sidebar.collapsed .new-chat-btn{justify-content:flex-start;gap:12px;width:fit-content;min-width:142px;margin:6px 14px 22px;padding:0 18px}.sidebar.collapsed .conversations-section{width:auto;padding:0 10px}.sidebar.collapsed .conversations-list{width:auto}.sidebar.collapsed .conversation-row{width:100%;margin-inline:0}.sidebar.collapsed .conversation-item{flex:1;justify-content:flex-start;gap:12px;width:auto;padding:0 38px 0 12px}.sidebar.collapsed .conversation-item svg{display:none}.sidebar.collapsed .sidebar-footer button{justify-content:flex-start;gap:13px;width:100%;margin-inline:0;padding:0 13px}.sidebar-dialog-backdrop{align-items:end;padding:12px}.sidebar-dialog{max-height:calc(100dvh - 24px)}}.message{gap:14px;width:100%;margin:0 0 28px;animation:.22s both message-in;display:flex}@keyframes message-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.message-user{justify-content:flex-end}.message-body{min-width:0}.message-user .message-body{background:#e9eef6;border-radius:22px 22px 6px;max-width:min(82%,620px);padding:13px 18px}.message-attachments{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px;display:grid}.message-attachments:has(.message-image-attachment:only-child){grid-template-columns:minmax(0,320px)}.message-image-attachment{background:#dfe5ed;border-radius:15px;min-width:0;display:block;overflow:hidden}.message-image-attachment img{object-fit:cover;width:100%;max-height:260px;display:block}.message-file-attachment{min-width:210px;color:inherit;background:#ffffffc2;border:1px solid #3c404321;border-radius:14px;align-items:center;gap:10px;padding:9px 11px;text-decoration:none;display:flex}.message-file-attachment:hover{background:#fff}.message-attachment-loading{min-height:58px;color:var(--gem-text-secondary);background:#ffffff8c;border-radius:14px;align-items:center;gap:10px;padding:10px 12px;font-size:12px;display:flex}.message-attachment-loading svg{color:#c5221f;width:22px;height:22px}.message-file-icon{color:#c5221f;background:#fce8e6;border-radius:9px;flex:0 0 38px;place-items:center;width:38px;height:38px;display:grid}.message-file-icon svg{width:21px;height:21px}.message-file-attachment>span:last-child{gap:2px;min-width:0;display:grid}.message-file-attachment strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.message-file-attachment small{color:var(--gem-text-tertiary);font-size:10px}.message-user .message-content:empty{display:none}.message-user .message-attachments:last-child{margin-bottom:0}.message-assistant .message-body{width:calc(100% - 46px);padding-top:3px}.assistant-mark{background:#ffffffc7;border-radius:50%;flex:none;place-items:center;width:32px;height:32px;display:grid;box-shadow:0 1px 3px #3c40431a}.assistant-mark svg{width:19px;height:19px}.message-content{color:var(--gem-text);overflow-wrap:anywhere;font-size:15px;line-height:1.7}.message-content p{margin:0 0 14px}.message-content p:last-child{margin-bottom:0}.message-content h1,.message-content h2,.message-content h3,.message-content h4,.message-content h5,.message-content h6{font-family:var(--font-sans);margin:24px 0 10px;font-weight:600;line-height:1.3}.message-content h1:first-child,.message-content h2:first-child,.message-content h3:first-child{margin-top:0}.message-content h1{font-size:24px}.message-content h2{font-size:20px}.message-content h3{font-size:17px}.message-content ul,.message-content ol{margin:10px 0 16px;padding-left:24px}.message-content li{margin:6px 0;padding-left:3px}.message-content blockquote{color:var(--gem-text-secondary);border-left:3px solid #9eb7dc;margin:16px 0;padding:2px 0 2px 16px}.message-content a{color:var(--gem-blue);text-underline-offset:3px;-webkit-text-decoration:underline #0b57d059;text-decoration:underline #0b57d059}.inline-code{color:#2d3f5d;font-family:var(--font-mono);background:#e8edf4;border-radius:5px;padding:2px 5px;font-size:.88em}.code-block{border:1px solid #30343b;border-radius:14px;margin:16px 0;overflow:hidden;box-shadow:0 2px 5px #2021241f}.code-block pre{margin:0!important;padding:17px!important}.markdown-table{border-spacing:0;border-collapse:separate;border:1px solid var(--gem-border);border-radius:12px;width:100%;margin:16px 0;display:block;overflow-x:auto}.markdown-table th,.markdown-table td{border-right:1px solid var(--gem-border);border-bottom:1px solid var(--gem-border);text-align:left;padding:10px 12px}.markdown-table th{background:var(--gem-surface-soft);font-weight:600}.markdown-table th:last-child,.markdown-table td:last-child{border-right:0}.markdown-table tr:last-child td{border-bottom:0}.message-actions{align-items:center;gap:4px;margin-top:9px;display:flex}.copy-btn{height:34px;color:var(--gem-text-secondary);cursor:pointer;background:0 0;border:0;border-radius:17px;align-items:center;gap:7px;padding:0 10px;font-size:12px;transition:background-color .14s;display:flex}.copy-btn:hover{background:var(--gem-surface-hover)}.copy-btn svg{width:17px;height:17px}@media (width<=560px){.message{gap:10px;margin-bottom:24px}.assistant-mark{width:28px;height:28px}.assistant-mark svg{width:17px;height:17px}.message-assistant .message-body{width:calc(100% - 38px)}.message-user .message-body{max-width:88%;padding:11px 15px}.message-attachments{grid-template-columns:1fr}.message-content{font-size:14.5px}}.loading-indicator{color:var(--gem-text-secondary);align-items:center;gap:14px;margin-bottom:26px;display:flex}.thinking-sparkle{background:#ffffffc7;border-radius:50%;flex:none;place-items:center;width:32px;height:32px;display:grid;box-shadow:0 1px 3px #3c40431a}.thinking-sparkle svg{width:19px;height:19px;animation:1.4s ease-in-out infinite sparkle-breathe}.loading-indicator p{margin:0;font-size:13px}@keyframes sparkle-breathe{0%,to{opacity:.5;transform:scale(.88)rotate(-8deg)}50%{opacity:1;transform:scale(1.05)rotate(5deg)}}.chat-window{background:var(--gem-bg);flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.chat-topbar{z-index:12;background:linear-gradient(180deg, var(--gem-bg) 70%, #f7f9fc00);flex:0 0 68px;justify-content:space-between;align-items:center;min-height:68px;padding:0 22px;display:flex;position:relative}.topbar-brand{font-family:var(--font-sans);letter-spacing:-.3px;align-items:center;gap:8px;font-size:20px;font-weight:500;display:flex}.topbar-brand>svg{width:23px;height:23px;display:none}.topbar-brand small{color:var(--gem-text-secondary);letter-spacing:.4px;background:#ffffff8c;border:1px solid #d6e1f2;border-radius:10px;padding:3px 7px;font-size:10px;font-weight:600}.topbar-brand em{color:var(--gem-text-tertiary);font-family:var(--font-text);letter-spacing:0;margin-left:4px;font-size:11px;font-style:normal;font-weight:400}.profile-button{height:42px;color:var(--gem-blue);cursor:pointer;background:0 0;border:0;border-radius:22px;align-items:center;gap:8px;padding:4px;font-size:13px;font-weight:600;display:flex}.profile-button.guest{background:#e8f0fe;padding-right:13px}.profile-button:hover{background:var(--gem-surface-hover)}.profile-avatar{color:#fff;width:34px;height:34px;font-family:var(--font-sans);background:linear-gradient(135deg,#3769d1,#7454b6);border-radius:50%;place-items:center;font-size:14px;font-weight:500;display:grid;box-shadow:inset 0 0 0 1px #ffffff59}.mobile-menu-button{width:42px;height:42px;color:var(--gem-text-secondary);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:none}.mobile-menu-button:hover{background:#3c404314}.mobile-menu-button svg{width:22px;height:22px}.messages-scroll{scroll-behavior:smooth;scrollbar-color:#c7cbc9 transparent;scrollbar-width:thin;flex-direction:column;flex:1;min-height:0;padding:8px 24px 28px;display:flex;overflow:hidden auto}.conversation-content{width:min(100%,760px);margin:18px auto 0;padding-bottom:12px}.welcome{width:min(100%,760px);margin:auto;padding:10px 0 36px}.welcome-sparkle{width:34px;height:34px;margin-bottom:16px}.welcome h1{color:#3c4043;font-family:var(--font-sans);letter-spacing:-1.5px;gap:4px;margin:0;font-size:clamp(30px,4vw,45px);font-weight:500;line-height:1.16;display:grid}.welcome h1 span{color:#0000;background:linear-gradient(90deg,#4285f4 0%,#8b5cf6 55%,#d96570 100%);-webkit-background-clip:text;background-clip:text;width:fit-content}.suggestion-grid{flex-wrap:wrap;gap:10px;margin-top:32px;display:flex}.suggestion-grid button{height:44px;color:var(--gem-text-secondary);cursor:pointer;background:#ffffffb8;border:1px solid #dde3ea;border-radius:22px;align-items:center;gap:9px;padding:0 15px;font-size:13px;transition:background-color .14s,border-color .14s,box-shadow .14s;display:flex}.suggestion-grid button:hover:not(:disabled){background:var(--gem-surface);box-shadow:var(--gem-shadow);border-color:#d4dce6}.suggestion-grid button:disabled{opacity:.55;cursor:default}.suggestion-grid svg{color:#5b77a8;width:18px;height:18px}@media (width<=840px){.chat-topbar{flex-basis:62px;min-height:62px;padding:0 14px 0 8px}.mobile-menu-button{display:grid}.topbar-brand{position:absolute;left:56px}.topbar-brand>svg{display:block}.messages-scroll{padding:6px 16px 20px}.welcome{padding-bottom:14px}}@media (width<=560px){.topbar-brand em{display:none}.profile-button.guest{padding-right:10px}.welcome h1{letter-spacing:-.9px;font-size:31px}.welcome-sparkle{width:29px;height:29px;margin-bottom:12px}.suggestion-grid{gap:8px;margin-top:24px}.suggestion-grid button{height:40px;padding:0 12px;font-size:12px}}.model-picker{min-width:0;position:relative}.model-picker-trigger{max-width:270px;height:38px;color:var(--gem-text-secondary);cursor:pointer;background:0 0;border:0;border-radius:19px;align-items:center;gap:7px;padding:0 11px 0 9px;font-size:13px;font-weight:500;transition:background-color .14s;display:flex}.model-picker-trigger:hover:not(:disabled),.model-picker-trigger[aria-expanded=true]{background:var(--gem-surface-hover)}.model-picker-trigger:disabled{opacity:.55;cursor:default}.model-picker-trigger span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.model-picker-sparkle{flex:none;width:18px;height:18px}.model-picker-chevron{flex:none;width:16px;height:16px;transition:transform .16s}.model-picker-chevron.open{transform:rotate(180deg)}.model-picker-menu{z-index:90;background:var(--gem-surface);width:min(390px,100vw - 48px);box-shadow:var(--gem-shadow-menu);transform-origin:0 100%;border:1px solid #3c404317;border-radius:20px;animation:.14s cubic-bezier(.2,0,0,1) model-menu-in;position:absolute;bottom:calc(100% + 10px);left:0;overflow:hidden}@keyframes model-menu-in{0%{opacity:0;transform:translateY(6px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.model-picker-heading{border-bottom:1px solid #edf0f3;gap:3px;padding:18px 20px 12px;display:grid}.model-picker-heading span{font-family:var(--font-sans);font-size:16px;font-weight:500}.model-picker-heading small{color:var(--gem-text-tertiary);font-size:12px}.model-picker-options{scrollbar-color:#c3c7c5 transparent;scrollbar-width:thin;max-height:min(360px,52vh);padding:8px;overflow-y:auto}.model-picker-option{cursor:pointer;text-align:left;background:0 0;border:0;border-radius:14px;align-items:center;gap:12px;width:100%;min-height:58px;padding:9px 12px;display:flex}.model-picker-option:hover{background:var(--gem-surface-soft)}.model-picker-option.active{background:#edf4ff}.model-option-icon{background:#eef3fc;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;display:grid}.model-option-icon svg{width:18px;height:18px}.model-option-copy{flex:1;gap:2px;min-width:0;display:grid}.model-option-copy strong,.model-option-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.model-option-copy strong{color:var(--gem-text);font-size:14px;font-weight:500}.model-option-copy small{color:var(--gem-text-tertiary);font-size:11px}.model-option-check{width:19px;height:19px;color:var(--gem-blue);flex:none}@media (width<=540px){.model-picker-trigger{max-width:190px}.model-picker-menu{width:auto;position:fixed;bottom:110px;left:12px;right:12px}}.composer-area{z-index:20;background:linear-gradient(180deg, #f7f9fc00, var(--gem-bg) 18%);flex:none;width:100%;padding:4px 24px 12px;position:relative}.composer-card{background:var(--gem-surface);width:min(100%,760px);box-shadow:var(--gem-shadow);border:1px solid #3c404314;border-radius:28px;margin:0 auto;position:relative;overflow:visible}.composer-card.dragging{border-color:var(--gem-blue);box-shadow:0 0 0 2px #0b57d01f, var(--gem-shadow)}.file-input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.composer-drop-overlay{z-index:12;border:2px dashed var(--gem-blue);color:var(--gem-blue);font-family:var(--font-sans);pointer-events:none;background:#f0f7fff5;border-radius:28px;place-items:center;font-size:15px;font-weight:600;display:grid;position:absolute;inset:0}.attachment-tray{scrollbar-width:thin;gap:9px;padding:13px 14px 2px;display:flex;overflow-x:auto}.attachment-card{border:1px solid var(--gem-border);background:var(--gem-surface-soft);border-radius:15px;flex:0 0 190px;align-items:center;gap:10px;width:190px;height:68px;padding:7px 31px 7px 7px;display:flex;position:relative;overflow:hidden}.attachment-card>img{object-fit:cover;background:#dfe5ed;border-radius:10px;flex:0 0 54px;width:54px;height:54px}.attachment-pdf-icon{color:#c5221f;background:#fce8e6;border-radius:10px;flex:0 0 54px;place-items:center;width:54px;height:54px;display:grid;position:relative}.attachment-pdf-icon svg{width:25px;height:25px}.attachment-pdf-icon small{color:#fff;background:#c5221f;border-radius:3px;padding:1px 3px;font-size:7px;font-weight:700;position:absolute;bottom:3px;right:4px}.attachment-card-copy{gap:3px;min-width:0;display:grid}.attachment-card-copy strong{color:var(--gem-text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.attachment-card-copy small{color:var(--gem-text-tertiary);font-size:10px}.attachment-remove{width:23px;height:23px;color:var(--gem-text-secondary);cursor:pointer;background:#ffffffeb;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:5px;right:5px;box-shadow:0 1px 2px #3c404326}.attachment-remove:hover{color:var(--gem-text);background:#fff}.attachment-remove svg{width:14px;height:14px}.message-textarea,.message-textarea:hover,.message-textarea:focus,.message-textarea:focus-visible,.message-textarea:active{appearance:none;resize:none;width:100%;min-height:56px;max-height:180px;color:var(--gem-text);font-family:var(--font-text);scrollbar-color:#c7cbc9 transparent;scrollbar-width:thin;background:0 0;padding:17px 21px 7px;font-size:16px;line-height:1.5;display:block;overflow-y:auto;box-shadow:none!important;border:0!important;outline:0!important}.message-textarea::placeholder{color:var(--gem-text-tertiary)}.message-textarea:disabled{cursor:not-allowed;opacity:.6}.composer-toolbar{justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:3px 8px 7px 9px;display:flex}.composer-tools{align-items:center;gap:5px;min-width:0;display:flex}.attach-btn{width:38px;height:38px;color:var(--gem-text-secondary);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:0 0 38px;place-items:center;padding:0;transition:background-color .14s,color .14s;display:grid}.attach-btn:hover:not(:disabled){color:var(--gem-text);background:var(--gem-surface-hover)}.attach-btn:disabled{opacity:.45;cursor:default}.attach-btn svg{width:23px;height:23px}.composer-actions{flex:none;align-items:center;gap:6px;display:flex}.attachment-feedback{margin:-1px 18px 10px;font-size:11px;line-height:1.35}.attachment-feedback.error{color:var(--gem-danger)}.attachment-feedback.notice{color:var(--gem-blue)}.send-btn,.stop-btn{cursor:pointer;border:0;border-radius:50%;place-items:center;width:38px;height:38px;padding:0;transition:background-color .14s,color .14s,transform .14s;display:grid}.send-btn{color:#fff;background:var(--gem-blue)}.send-btn:hover:not(:disabled){background:var(--gem-blue-hover);transform:translateY(-1px)}.send-btn:disabled{color:#8f9396;cursor:default;background:#edf0f2}.stop-btn{color:#fff;background:#4d5156}.stop-btn:hover{background:#3c4043}.send-btn svg,.stop-btn svg{width:20px;height:20px}.regenerate-btn{border:1px solid var(--gem-border);width:fit-content;height:36px;color:var(--gem-text-secondary);cursor:pointer;background:#ffffffdb;border-radius:18px;align-items:center;gap:8px;margin:0 auto 8px;padding:0 14px;font-size:12px;transition:background-color .14s,box-shadow .14s;display:flex}.regenerate-btn:hover:not(:disabled){box-shadow:var(--gem-shadow);background:#fff}.regenerate-btn:disabled{opacity:.5;cursor:default}.regenerate-btn svg{width:16px;height:16px}.composer-disclaimer{color:var(--gem-text-tertiary);text-align:center;margin:8px auto 0;font-size:11px;line-height:1.3}@media (width<=840px){.composer-area{padding:4px 14px max(9px, env(safe-area-inset-bottom))}.composer-card,.composer-drop-overlay{border-radius:25px}}@media (width<=540px){.message-textarea{min-height:52px;padding:14px 17px 5px;font-size:15px}.attachment-tray{padding-top:10px}.attachment-card{flex-basis:172px;width:172px}.composer-toolbar{min-height:44px;padding-bottom:6px}.composer-disclaimer{font-size:10px}}.auth-backdrop{z-index:140;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#20212461;place-items:center;padding:24px;animation:.16s ease-out auth-fade-in;display:grid;position:fixed;inset:0}.auth-dialog{width:min(440px,100%);max-height:calc(100dvh - 48px);color:var(--gem-text);background:var(--gem-surface);border:1px solid #5f636824;border-radius:30px;padding:30px;animation:.18s cubic-bezier(.2,0,0,1) auth-rise-in;position:relative;overflow-y:auto;box-shadow:0 18px 52px #3c404345}.auth-close{width:40px;height:40px;color:var(--gem-text-secondary);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:18px;right:18px}.auth-close:hover{background:var(--gem-surface-hover)}.auth-close svg{width:21px;height:21px}.auth-brand{background:#e8f0fe;border-radius:17px;place-items:center;width:52px;height:52px;margin-bottom:20px;display:grid}.auth-brand svg{width:28px;height:28px}.auth-form,.account-view{display:grid}.auth-form h2,.account-view h2{font-family:var(--font-sans);letter-spacing:-.5px;margin:0;font-size:28px;font-weight:500}.auth-form>p,.account-view>p{color:var(--gem-text-secondary);margin:7px 0 22px;font-size:14px;line-height:1.5}.auth-form label{color:var(--gem-text-secondary);gap:7px;margin-bottom:14px;font-size:13px;font-weight:500;display:grid}.auth-label-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.auth-forgot-link{color:var(--gem-blue);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:10px;margin:-6px -7px;padding:6px 7px;font-weight:500}.auth-form input{width:100%;height:52px;color:var(--gem-text);background:var(--gem-surface);border:1px solid #c7cdd5;border-radius:14px;outline:none;padding:0 15px;font-size:15px;transition:border-color .14s,box-shadow .14s}.auth-form input:focus{border-color:var(--gem-blue);box-shadow:0 0 0 3px #0b57d01f}.auth-primary,.auth-secondary{cursor:pointer;border:0;border-radius:24px;height:48px;font-size:14px;font-weight:600}.auth-primary{color:#fff;background:var(--gem-blue);margin-top:4px}.auth-primary:hover:not(:disabled){background:var(--gem-blue-hover);box-shadow:0 2px 6px #0b57d03d}.auth-primary:disabled,.auth-secondary:disabled{opacity:.55;cursor:default}.auth-mode-toggle{width:fit-content;color:var(--gem-blue);cursor:pointer;background:0 0;border:0;border-radius:16px;margin:14px auto 0;padding:7px 10px;font-size:13px;font-weight:500}.auth-mode-toggle:hover{background:#eef4ff}.auth-form .auth-error,.account-view .auth-error,.auth-form .auth-notice,.account-view .auth-notice{border-radius:12px;margin:0 0 14px;padding:11px 13px;font-size:13px}.auth-form .auth-error,.account-view .auth-error{color:#8c1d18;background:#fce8e6}.auth-form .auth-notice,.account-view .auth-notice{color:#0d652d;background:#e6f4ea}.auth-form .guest-explainer{color:var(--gem-text-tertiary);text-align:center;margin:15px 0 0;font-size:12px}.account-email{background:var(--gem-surface-soft);border-radius:18px;align-items:center;gap:13px;min-width:0;margin-bottom:18px;padding:16px;display:flex}.account-email>span{color:#fff;background:linear-gradient(135deg,#3769d1,#7454b6);border-radius:50%;flex:0 0 42px;place-items:center;width:42px;height:42px;font-weight:600;display:grid}.account-email div{gap:3px;min-width:0;display:grid}.account-email small{color:var(--gem-text-tertiary);font-size:11px}.account-email strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;overflow:hidden}.auth-secondary{color:var(--gem-blue);background:#e8f0fe}.auth-secondary:hover:not(:disabled){background:#dce9fc}@keyframes auth-fade-in{0%{opacity:0}}@keyframes auth-rise-in{0%{opacity:0;transform:translateY(10px)scale(.98)}}@media (width<=560px){.auth-backdrop{align-items:end;padding:10px}.auth-dialog{border-radius:28px;max-height:calc(100dvh - 20px);padding:26px 22px}}.receipt-dialog-backdrop{z-index:180;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#1c1f2666;place-items:center;padding:24px;animation:.16s ease-out receipt-backdrop-in;display:grid;position:fixed;inset:0;overflow-y:auto}.receipt-dialog{width:min(100%,620px);max-height:calc(100dvh - 48px);color:var(--gem-text);background:var(--gem-surface);border:1px solid #3c40431f;border-radius:30px;animation:.19s cubic-bezier(.2,0,0,1) receipt-dialog-in;overflow-y:auto;box-shadow:0 24px 72px #2328314d}.receipt-dialog-header{border-bottom:1px solid #edf0f4;grid-template-columns:50px minmax(0,1fr) 40px;align-items:center;gap:14px;padding:22px 24px 18px;display:grid}.receipt-dialog-icon{color:#3569b9;background:linear-gradient(145deg,#eaf2ff,#f2edff);border-radius:17px;place-items:center;width:50px;height:50px;display:grid}.receipt-dialog-icon svg{width:25px;height:25px}.receipt-dialog-header>div{min-width:0}.receipt-kicker{color:#5e6f8e;letter-spacing:.45px;text-transform:uppercase;align-items:center;gap:5px;font-size:10px;font-weight:600;display:flex}.receipt-kicker svg{width:13px;height:13px}.receipt-dialog h2{letter-spacing:-.25px;margin:3px 0 0;font-size:21px;font-weight:600}.receipt-dialog-header>button{width:40px;height:40px;color:var(--gem-text-secondary);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.receipt-dialog-header>button:hover:not(:disabled){background:var(--gem-surface-hover)}.receipt-dialog-header>button svg{width:19px;height:19px}.receipt-upload-view{padding:22px 24px 26px}.vision-auto-card{background:linear-gradient(105deg,#f3f7ff,#f8f5ff);border:1px solid #dce8fc;border-radius:17px;align-items:flex-start;gap:13px;margin-bottom:18px;padding:15px;display:flex}.vision-auto-card>span{background:#fff;border-radius:12px;flex:0 0 34px;place-items:center;width:34px;height:34px;display:grid;box-shadow:0 1px 4px #37496d1f}.vision-auto-card svg{width:19px;height:19px}.vision-auto-card strong{font-size:13px;font-weight:600}.vision-auto-card p{color:var(--gem-text-secondary);margin:3px 0 0;font-size:11px;line-height:1.45}.receipt-file-input{display:none}.receipt-drop-zone{width:100%;min-height:245px;color:var(--gem-text);cursor:pointer;background:#fbfcff;border:1.5px dashed #b8c7dc;border-radius:22px;align-content:center;place-items:center;padding:25px;transition:border-color .15s,background-color .15s,transform .15s;display:grid}.receipt-drop-zone:hover,.receipt-drop-zone.dragging{border-color:var(--gem-blue);background:#f2f7ff;transform:translateY(-1px)}.receipt-drop-zone>span{color:#3169bf;background:#e6efff;border-radius:22px;place-items:center;width:62px;height:62px;margin-bottom:14px;display:grid}.receipt-drop-zone svg{width:29px;height:29px}.receipt-drop-zone strong{font-size:16px;font-weight:600}.receipt-drop-zone p{color:var(--gem-text-secondary);margin:5px 0 14px;font-size:13px}.receipt-drop-zone small,.receipt-file-name{color:var(--gem-text-tertiary);font-size:10px}.receipt-file-name{text-align:center;margin:11px 0 0}.receipt-error{color:#8c1d18;background:#fce8e6;border-radius:13px;margin:14px 0 0;padding:11px 13px;font-size:11px;line-height:1.45}.receipt-analyzing-view{grid-template-columns:210px minmax(0,1fr);align-items:center;gap:28px;min-height:360px;padding:30px;display:grid}.receipt-preview{color:#5576a6;background:linear-gradient(145deg,#f4f7fc,#eaf0f9);border:1px solid #d9e1ec;border-radius:20px;place-items:center;width:210px;height:280px;display:grid;position:relative;overflow:hidden;box-shadow:0 12px 28px #404c6229}.receipt-preview img{object-fit:cover;width:100%;height:100%}.receipt-preview>svg{width:58px;height:58px}.receipt-scan-line{background:linear-gradient(90deg,#0000,#4385f5 25%,#a66df1 75%,#0000);border-radius:50%;height:3px;animation:2.1s ease-in-out infinite receipt-scan;position:absolute;top:0;left:8px;right:8px;box-shadow:0 0 16px #4f8df5}.vision-model-chip{color:#365b92;background:#f3f7fe;border:1px solid #dbe6f8;border-radius:14px;align-items:center;gap:6px;padding:7px 10px;font-size:10px;font-weight:600;display:inline-flex}.vision-model-chip svg{width:15px;height:15px}.receipt-analysis-copy h3{margin:15px 0 6px;font-size:20px;font-weight:600}.receipt-analysis-copy>p{color:var(--gem-text-secondary);margin:0;font-size:12px;line-height:1.5}.receipt-analysis-steps{gap:12px;margin-top:25px;display:grid}.receipt-analysis-steps span{color:#94999f;align-items:center;gap:9px;font-size:11px;font-weight:500;display:flex}.receipt-analysis-steps svg,.receipt-analysis-steps i{border:1.5px solid #c8cdd4;border-radius:50%;flex:0 0 17px;width:17px;height:17px}.receipt-analysis-steps .done{color:#26705b}.receipt-analysis-steps .done svg{border-color:#65aa91;padding:2px}.receipt-analysis-steps .active{color:#315f9d}.receipt-analysis-steps .active i{border-color:#2e69bf #8fb2e8 #8fb2e8;animation:.75s linear infinite receipt-spin}.receipt-dialog button:disabled{opacity:.55;cursor:wait}@keyframes receipt-backdrop-in{0%{opacity:0}}@keyframes receipt-dialog-in{0%{opacity:0;transform:translateY(10px)scale(.985)}}@keyframes receipt-scan{0%,to{opacity:.55;top:5%}50%{opacity:1;top:94%}}@keyframes receipt-spin{to{transform:rotate(360deg)}}@media (width<=640px){.receipt-dialog-backdrop{align-items:end;padding:10px}.receipt-dialog{border-radius:28px;max-height:calc(100dvh - 20px)}.receipt-dialog-header{grid-template-columns:44px minmax(0,1fr) 36px;padding:18px}.receipt-dialog-icon{border-radius:15px;width:44px;height:44px}.receipt-upload-view{padding:18px}.receipt-drop-zone{min-height:220px}.receipt-analyzing-view{text-align:center;grid-template-columns:1fr;justify-items:center;gap:20px;padding:22px}.receipt-preview{width:150px;height:190px}.receipt-analysis-steps{text-align:left;width:fit-content;margin:18px auto 0}}.custom-select-field{gap:7px;min-width:0;display:grid;position:relative}.custom-select-label{color:#4b5055;margin-top:8px;font-size:11px;font-weight:600}.custom-select-trigger{width:100%;min-width:0;height:44px;color:var(--gem-text);background:var(--gem-surface);cursor:pointer;text-align:left;border:1px solid #d5dbe3;border-radius:13px;outline:none;justify-content:space-between;align-items:center;gap:10px;padding:0 13px 0 14px;font-size:13px;transition:border-color .14s,box-shadow .14s,background-color .14s;display:flex}.custom-select-trigger:hover:not(:disabled){background:#fbfcff;border-color:#aeb8c5}.custom-select-trigger[aria-expanded=true],.custom-select-trigger:focus-visible{border-color:var(--gem-blue);box-shadow:0 0 0 3px #0b57d01c}.custom-select-trigger>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.custom-select-trigger .placeholder{color:var(--gem-text-tertiary)}.custom-select-trigger svg{width:17px;height:17px;color:var(--gem-text-secondary);flex:none;transition:transform .15s}.custom-select-trigger svg.open{transform:rotate(180deg)}.custom-select-menu{z-index:260;background:var(--gem-surface);scrollbar-color:#c5cad1 transparent;scrollbar-width:thin;transform-origin:top;border:1px solid #3c40431c;border-radius:16px;padding:7px;animation:.14s cubic-bezier(.2,0,0,1) custom-select-in;position:fixed;overflow-y:auto;box-shadow:0 12px 34px #2f353f33}.custom-select-menu.top{transform-origin:bottom}.custom-select-search{z-index:1;background:#fff;border:1px solid #d7dde6;border-radius:11px;align-items:center;gap:9px;margin-bottom:5px;padding:0 10px;display:flex;position:sticky;top:0}.custom-select-search svg{width:17px;height:17px;color:var(--gem-text-tertiary);flex:none}.custom-select-search input{width:100%;height:40px;color:var(--gem-text);font:inherit;background:0 0;border:0;outline:none;padding:0}.custom-select-empty{color:var(--gem-text-tertiary);text-align:center;margin:0;padding:18px 10px;font-size:14px}.custom-select-option{width:100%;min-height:46px;color:var(--gem-text);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:11px;outline:none;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;display:flex}.custom-select-option:hover,.custom-select-option:focus-visible{background:var(--gem-surface-soft)}.custom-select-option.selected{color:#174ea6;background:#edf4ff}.custom-select-option>span{gap:2px;min-width:0;display:grid}.custom-select-option strong,.custom-select-option small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.custom-select-option strong{font-size:13px;font-weight:500}.custom-select-option small{color:var(--gem-text-tertiary);font-size:10px}.custom-select-option>svg{width:18px;height:18px;color:var(--gem-blue);flex:none}.custom-multi-select-options{display:grid;overflow-y:auto}.custom-multi-check{color:#fff;background:#fff;border:1.5px solid #aeb7c3;border-radius:7px;flex:none;place-items:center;width:21px;height:21px;display:grid}.custom-multi-check.selected{border-color:var(--gem-blue);background:var(--gem-blue)}.custom-multi-check svg{width:14px;height:14px}.custom-multi-select-footer{z-index:2;background:var(--gem-surface);border-top:1px solid #edf0f4;justify-content:space-between;gap:8px;margin:5px -1px -1px;padding:7px 2px 1px;display:flex;position:sticky;bottom:-7px}.custom-multi-select-footer button{min-height:34px;color:var(--gem-blue);cursor:pointer;background:0 0;border:0;border-radius:17px;padding:0 11px;font-size:14px;font-weight:600}.custom-multi-select-footer button:last-child{color:#fff;background:var(--gem-blue);padding-inline:15px}.custom-multi-select-footer button:disabled{opacity:.4;cursor:default}@keyframes custom-select-in{0%{opacity:0;transform:translateY(-4px)scale(.98)}}.finance-toast{z-index:2200;width:min(360px,100vw - 32px);min-height:72px;color:var(--gem-text);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff7;border:1px solid #2f69522e;border-radius:18px;grid-template-columns:36px minmax(0,1fr) 30px;align-items:center;gap:11px;padding:12px 11px 12px 13px;animation:.24s cubic-bezier(.2,0,0,1) finance-toast-in;display:grid;position:fixed;top:22px;right:22px;overflow:hidden;box-shadow:0 18px 48px #26363133,0 3px 10px #26363114}.finance-toast-icon{color:#14715c;background:#e3f3ed;border-radius:13px;place-items:center;width:36px;height:36px;display:grid}.finance-toast-icon svg{width:19px;height:19px}.finance-toast>div{gap:2px;min-width:0;display:grid}.finance-toast strong{font-size:12px;font-weight:650}.finance-toast p{color:var(--gem-text-secondary);margin:0;font-size:10px;line-height:1.35}.finance-toast>button{width:30px;height:30px;color:var(--gem-text-tertiary);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.finance-toast>button:hover{color:var(--gem-text);background:#f0f3f6}.finance-toast>button svg{width:16px;height:16px}.finance-toast-progress{transform-origin:0;background:linear-gradient(90deg,#19a678,#4d8be8);height:3px;animation-name:finance-toast-timer;animation-timing-function:linear;animation-fill-mode:forwards;position:absolute;bottom:0;left:0;right:0}@keyframes finance-toast-in{0%{opacity:0;transform:translate(18px,-8px)scale(.97)}}@keyframes finance-toast-timer{to{transform:scaleX(0)}}@media (width<=640px){.finance-toast{width:auto;top:12px;left:16px;right:16px}}.transaction-actions-trigger{width:34px;height:34px;color:var(--gem-text-secondary);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;transition:color .15s,background .15s,opacity .15s;display:grid}.transaction-actions-trigger:hover,.transaction-actions-trigger:focus-visible,.transaction-actions-trigger[aria-expanded=true]{color:var(--gem-text);background:#eef2f7}.transaction-actions-trigger:disabled{opacity:.45;cursor:wait}.transaction-actions-trigger svg{width:18px;height:18px}.transaction-actions-popover{z-index:1400;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffffa;border:1px solid #49597124;border-radius:16px;width:178px;padding:6px;animation:.14s ease-out transaction-menu-in;display:grid;position:fixed;box-shadow:0 14px 38px #2b374b2e,0 2px 8px #2b374b14}.transaction-actions-popover>button{min-height:46px;color:var(--gem-text);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:11px;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px;padding:5px 8px;display:grid}.transaction-actions-popover>button:hover,.transaction-actions-popover>button:focus-visible{background:#f1f4f8;outline:none}.transaction-actions-popover>button.danger{color:#b3261e}.transaction-actions-popover>button.danger:hover,.transaction-actions-popover>button.danger:focus-visible{background:#fff0ef}.transaction-actions-popover svg{justify-self:center;width:17px;height:17px}.transaction-actions-popover span{gap:1px;display:grid}.transaction-actions-popover strong{font-size:12px;font-weight:600}.transaction-actions-popover small{color:var(--gem-text-tertiary);font-size:9px}@keyframes transaction-menu-in{0%{opacity:0;transform:translateY(-4px)scale(.98)}}.finance-records-page{background:radial-gradient(circle at 82% 4%, #4285f40f, transparent 24%), var(--gem-bg)}.finance-records-scroll{flex:1;min-height:0;overflow-y:auto}.finance-records-container{width:min(100%,1600px);margin:0 auto;padding:30px 10px 60px}.records-back{height:38px;color:var(--gem-text-secondary);cursor:pointer;background:0 0;border:0;border-radius:19px;align-items:center;gap:7px;margin-bottom:18px;padding:0 12px;font-size:12px;font-weight:500;display:inline-flex}.records-back:hover{background:var(--gem-surface-hover)}.records-back svg{width:18px;height:18px}.records-hero{grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:16px;margin-bottom:22px;display:grid}.records-hero-icon{color:#386bb8;background:linear-gradient(145deg,#e5efff,#f0eaff);border-radius:20px;place-items:center;width:58px;height:58px;display:grid;box-shadow:0 5px 16px #4b67961f}.records-hero-icon svg{width:27px;height:27px}.records-hero h1,.records-hero p{margin:0}.records-hero h1{letter-spacing:-.7px;margin-top:5px;font-size:30px;font-weight:600}.records-hero p{color:var(--gem-text-secondary);margin-top:5px;font-size:13px}.records-add{color:#fff;cursor:pointer;background:linear-gradient(135deg,#1769da,#5969d5);border:0;border-radius:22px;align-items:center;gap:8px;height:44px;padding:0 17px;font-size:12px;font-weight:600;display:inline-flex;box-shadow:0 5px 14px #2d67c633}.records-add:disabled{opacity:.5;cursor:default}.records-add svg{width:18px;height:18px}.records-hero-actions{align-items:center;gap:8px;display:flex}.records-hero-actions>.transaction-actions-trigger{background:#fffc;border:1px solid #d6deea;width:42px;height:42px}.records-panel{background:#ffffffe0;border:1px solid #56688221;border-radius:25px;overflow:hidden;box-shadow:0 7px 25px #45536914}.records-toolbar{gap:12px;padding:18px 20px 14px}.records-search{background:#f5f7fa;border:1px solid #d9e0e9;border-radius:16px;flex:1;align-items:center;gap:10px;min-width:220px;height:46px;padding:0 13px;transition:border-color .14s,box-shadow .14s,background .14s;display:flex}.records-search:focus-within{background:#fff;border-color:#83a7dc;box-shadow:0 0 0 3px #4285f41a}.records-search>svg{color:#6e7784;flex:none;width:19px;height:19px}.records-search input{min-width:0;color:var(--gem-text);background:0 0;border:0;outline:none;flex:1;font-size:13px}.records-search button{width:30px;height:30px;color:var(--gem-text-secondary);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.records-search button:hover{background:var(--gem-surface-hover)}.records-search button svg{width:16px;height:16px}.records-toolbar .custom-select-field{width:min(290px,34%)}.records-toolbar .custom-select-trigger{background:#f5f7fa;border-radius:16px;height:46px}.records-meta{min-height:34px;color:var(--gem-text-tertiary);justify-content:space-between;align-items:center;padding:0 22px 10px;font-size:10px;display:flex}.records-meta small{font-size:10px}.records-table{border-top:1px solid #edf0f4}.records-row{border-bottom:1px solid #edf0f4;grid-template-columns:42px minmax(190px,1.5fr) minmax(130px,1fr) 100px 125px 130px 38px;align-items:center;gap:10px;min-height:74px;padding:9px 20px;display:grid}.records-row:last-child{border-bottom:0}.records-head{min-height:42px;color:var(--gem-text-tertiary);letter-spacing:.35px;text-transform:uppercase;background:#fafbfc;font-size:9px;font-weight:600}.records-head>span:first-child{grid-column:1/3}.records-row:not(.records-head):hover{background:#fbfcff}.records-mark{border-radius:13px;place-items:center;width:36px;height:36px;display:grid}.records-mark.positive{color:#11735e;background:#e3f3ee}.records-mark.negative{color:#b64c58;background:#fbecef}.records-mark svg{width:18px;height:18px}.records-name{gap:3px;min-width:0;display:grid}.records-name strong,.records-name small,.records-group{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.records-name strong{font-size:12px;font-weight:600}.records-name small,.records-group,.records-date{color:var(--gem-text-secondary);font-size:10px}.records-type{border-radius:10px;margin-right:-4px;padding:5px;font-size:9px;font-style:normal;font-weight:600;display:inline-flex}.records-type.positive{color:#126a56;background:#e8f4f0}.records-type.negative{color:#a6404b;background:#fcedef}.records-amount{font-size:11px;font-weight:600}.records-amount.positive{color:#0f7661}.records-amount.negative{color:#b34752}.records-empty{text-align:center;align-content:center;place-items:center;min-height:300px;padding:30px;display:grid}.records-empty>svg{color:#7792b8;width:40px;height:40px;margin-bottom:12px}.records-empty h2,.records-empty p{margin:0}.records-empty h2{font-size:16px;font-weight:600}.records-empty p{color:var(--gem-text-tertiary);margin-top:6px;font-size:11px}.records-skeleton{display:grid}.records-skeleton span{background:linear-gradient(90deg,#fafbfc 25%,#f2f5f8 45%,#fafbfc 65%) 0 0/240% 100%;border-top:1px solid #edf0f4;height:74px;animation:1.4s linear infinite records-shimmer}.records-error{color:#8c1d18;justify-content:center;align-items:center;gap:12px;min-height:220px;padding:30px;font-size:11px;display:flex}.records-error button{color:#8c1d18;cursor:pointer;background:#fce8e6;border:0;border-radius:14px;padding:7px 11px;font-weight:600}.records-pagination{min-height:64px;color:var(--gem-text-secondary);border-top:1px solid #edf0f4;justify-content:center;align-items:center;gap:14px;font-size:11px;display:flex}.records-pagination button{cursor:pointer;background:#fff;border:1px solid #d9e0e8;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.records-pagination button:hover:not(:disabled){background:var(--gem-surface-hover)}.records-pagination button:disabled{opacity:.38;cursor:default}.records-pagination svg{width:18px;height:18px}.activity-modal-backdrop{z-index:190;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#1c1f2666;place-items:center;padding:24px;display:grid;position:fixed;inset:0;overflow-y:auto}.activity-modal{background:#fff;border:1px solid #3c40431f;border-radius:28px;width:min(100%,560px);max-height:calc(100dvh - 48px);animation:.18s cubic-bezier(.2,0,0,1) activity-modal-in;overflow-y:auto;box-shadow:0 24px 70px #1f232b4d}.activity-modal>header{border-bottom:1px solid #edf0f4;grid-template-columns:46px minmax(0,1fr) 38px;align-items:center;gap:12px;padding:21px 23px 17px;display:grid}.activity-modal>header>span{color:#416da9;background:#eaf1fc;border-radius:15px;place-items:center;width:46px;height:46px;display:grid}.activity-modal>header svg{width:22px;height:22px}.activity-modal>header small{color:var(--gem-text-tertiary);letter-spacing:.35px;text-transform:uppercase;font-size:9px;font-weight:600}.activity-modal h2{text-transform:capitalize;margin:3px 0 0;font-size:20px;font-weight:600}.activity-modal>header>button{width:38px;height:38px;color:var(--gem-text-secondary);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.activity-modal>header>button:hover{background:var(--gem-surface-hover)}.activity-modal form{grid-template-columns:1fr 1fr;gap:14px;padding:20px 23px 23px;display:grid}.activity-modal label{gap:7px;display:grid}.activity-modal label>span,.activity-modal .custom-select-label{color:#4b5055;font-size:11px;font-weight:600}.activity-modal input,.activity-modal textarea,.activity-modal .custom-select-trigger{background:#f9fafc;border:1px solid #d9dfe7;border-radius:13px;outline:none;width:100%;min-height:44px;padding:0 13px;font-size:12px}.activity-modal textarea{resize:vertical;min-height:72px;padding-block:11px}.activity-modal input:focus,.activity-modal textarea:focus{background:#fff;border-color:#7ca2dd;box-shadow:0 0 0 3px #4285f41a}.activity-modal .field-wide,.activity-error,.activity-modal form>footer{grid-column:1/-1}.activity-error{color:#8c1d18;background:#fce8e6;border-radius:12px;margin:0;padding:10px 12px;font-size:10px}.activity-modal form>footer{justify-content:flex-end;gap:9px;margin-top:3px;display:flex}.activity-modal form>footer button{height:40px;color:var(--gem-text-secondary);cursor:pointer;background:#fff;border:1px solid #d6dde7;border-radius:21px;padding:0 17px;font-size:11px;font-weight:600}.activity-modal form>footer button[type=submit]{color:#fff;background:var(--gem-blue);border-color:#0000}.activity-modal button:disabled{opacity:.55;cursor:wait}@keyframes records-shimmer{to{background-position:-240% 0}}@keyframes activity-modal-in{0%{opacity:0;transform:translateY(10px)scale(.985)}}@media (width<=900px){.records-row{grid-template-columns:42px minmax(170px,1.4fr) minmax(120px,1fr) 90px 115px 120px 38px}}@media (width<=720px){.finance-records-container{padding:22px 16px 42px}.records-hero{grid-template-columns:48px minmax(0,1fr)}.records-hero-icon{border-radius:17px;width:48px;height:48px}.records-hero h1{font-size:24px}.records-add{width:fit-content}.records-hero-actions{grid-column:1/-1}.records-toolbar{flex-direction:column;align-items:stretch}.records-toolbar .custom-select-field{width:100%}.records-table{border-top:1px solid #edf0f4;gap:10px;padding:12px;display:grid}@media (width<=768px){.records-head{display:none}.records-row:not(.records-head){background:#fff;border:1px solid #e4e9ef;border-radius:16px;grid-template-columns:40px minmax(0,1fr) auto;gap:9px;min-height:0;padding:13px;display:grid}.records-mark{grid-area:1/1}.records-name{flex-direction:column;grid-area:1/2;gap:2px;min-width:0;display:flex}.records-name strong,.records-name small{text-overflow:ellipsis;white-space:nowrap;padding-left:20px;overflow:hidden}.records-group{grid-area:2/2;min-width:0;padding-left:20px}.records-type{grid-area:2/1;justify-self:start}.records-type i{display:inline-block}.records-date{grid-area:3/2;padding-left:20px}.records-amount{white-space:nowrap;grid-area:1/3;justify-self:end}.records-row>.transaction-actions-trigger{grid-area:2/3/4;place-self:end}}.activity-modal-backdrop{align-items:end;padding:10px}.activity-modal{border-radius:27px;max-height:calc(100dvh - 20px)}.activity-modal form{grid-template-columns:1fr;padding:18px}.activity-modal form>*{grid-column:1}}.finance-entities-page{background:radial-gradient(circle at 82% 3%, #507dd614, transparent 25%), var(--gem-bg)}.finance-entities-scroll{flex:1;min-height:0;overflow-y:auto}.finance-entities-container{width:min(100%,1320px);margin:0 auto;padding:30px 28px 60px}.entities-hero{justify-content:space-between;align-items:end;gap:30px;margin-bottom:25px;display:flex}.entities-hero h1,.entities-hero p{margin:0}.entities-hero h1{letter-spacing:-1.1px;font-size:clamp(30px,4vw,43px);font-weight:550}.entities-hero p{max-width:700px;color:var(--gem-text-secondary);margin-top:7px;font-size:16px;line-height:1.5}.entities-toolbar{margin-bottom:17px}.entities-toolbar .records-search{background:#ffffffc7;max-width:520px;margin-bottom:12px}.entities-toolbar>span{color:var(--gem-text-tertiary);white-space:nowrap;font-size:14px}.entities-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.entity-card{background:#ffffffdb;border:1px solid #7189ae33;border-radius:25px;min-width:0;transition:border-color .16s,box-shadow .16s,transform .16s;position:relative;overflow:hidden;box-shadow:0 7px 24px #394c6b11}.entity-card:hover,.entity-card:focus-within{border-color:#5b7fb857;transform:translateY(-2px);box-shadow:0 12px 31px #394c6b1c}.entity-card-open{width:100%;min-height:270px;color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;align-content:start;padding:19px;display:grid}.entity-card-open:focus-visible{outline-offset:-3px;outline:3px solid #4285f438}.entity-card-actions{z-index:2;position:absolute;top:18px;right:17px}.entity-card-heading{justify-content:space-between;align-items:center;gap:48px;min-height:42px;display:flex}.entity-card-icon,.entity-goal-ring{border-radius:14px;flex:none;place-items:center;width:42px;height:42px;font-size:17px;font-weight:700;display:grid}.entity-card-icon.investment{color:#6860b8;background:#eeebfb}.entity-card-icon svg,.entity-goal-ring svg{width:20px;height:20px}.entity-goal-ring{background:conic-gradient(var(--entity-color) var(--entity-progress), #e8edf3 0);border-radius:50%;position:relative}.entity-goal-ring:before{content:"";background:#fff;border-radius:50%;width:33px;height:33px;position:absolute}.entity-goal-ring svg{color:var(--entity-color);position:relative}.entity-status{color:#526c92;text-transform:capitalize;background:#edf3fc;border-radius:10px;margin-right:34px;padding:5px 9px;font-size:12px;font-weight:650}.entity-status.positive{color:#13735e;background:#e6f4ef}.entity-status.danger{color:#aa414b;background:#fcedef}.entity-card-title{min-width:0;margin-top:18px}.entity-card-title h2,.entity-card-title p{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.entity-card-title h2{letter-spacing:-.25px;font-size:20px;font-weight:600}.entity-card-title p{color:var(--gem-text-tertiary);text-transform:capitalize;margin-top:4px;font-size:13px}.entity-card-metric{align-items:baseline;gap:6px;margin-top:22px;display:flex}.entity-card-metric strong{font-size:21px;font-weight:600}.entity-card-metric span{color:var(--gem-text-tertiary);font-size:12px}.entity-progress{background:#e9edf2;border-radius:999px;height:7px;margin-top:11px;overflow:hidden}.entity-progress>span{border-radius:inherit;height:100%;display:block}.entity-stat-row{grid-template-columns:1fr 1fr;gap:12px;margin-top:15px;display:grid}.entity-stat-row>span{color:var(--gem-text-tertiary);gap:3px;font-size:11px;display:grid}.entity-stat-row strong{color:var(--gem-text-secondary);text-overflow:ellipsis;font-size:13px;font-weight:600;overflow:hidden}.entity-stat-row strong.positive{color:#147a66}.entity-stat-row strong.negative{color:#ad4750}.entity-card-footer{color:var(--gem-text-tertiary);justify-content:space-between;align-items:center;gap:10px;margin-top:auto;padding-top:18px;font-size:12px;display:flex}.entity-card-footer strong{color:#315f9c;align-items:center;gap:3px;font-size:12px;font-weight:650;display:inline-flex}.entity-card-footer svg{width:15px;height:15px}.entities-empty,.entities-error{text-align:center;background:#ffffff8f;border:1px dashed #ccd6e3;border-radius:26px;place-content:center;place-items:center;min-height:330px;padding:36px;display:grid}.entities-empty>svg{color:#6c85ad;width:38px;height:38px;margin-bottom:13px}.entities-empty h2,.entities-empty p,.entities-error p{margin:0}.entities-empty h2{font-size:21px;font-weight:600}.entities-empty p,.entities-error p{max-width:450px;color:var(--gem-text-secondary);margin-top:7px;font-size:14px}.entities-empty button,.entities-error button{color:#285b9f;cursor:pointer;background:#e8f0fe;border:0;border-radius:20px;align-items:center;gap:7px;height:40px;margin-top:17px;padding:0 15px;font-weight:600;display:inline-flex}.entities-empty button svg{width:17px;height:17px}.entities-skeleton span{background:linear-gradient(100deg,#edf1f6 20%,#f8fafc 42%,#edf1f6 64%) 0 0/240% 100%;border-radius:25px;min-height:270px;animation:1.4s linear infinite finance-shimmer}.entities-pagination{border:0;margin-top:24px}@media (width<=1000px){.entities-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.finance-entities-container{padding:22px 16px 42px}.entities-hero{flex-direction:column;align-items:stretch;gap:18px}.entities-hero .finance-primary-action{width:fit-content}.entities-toolbar{flex-direction:column;align-items:stretch;gap:8px}.entities-toolbar .records-search{max-width:none}.entities-grid{grid-template-columns:1fr}}.command-palette-backdrop{z-index:1500;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#191d246b;place-items:start center;padding:min(12vh,100px) 18px 24px;display:grid;position:fixed;inset:0}.command-palette{background:#fffffffa;border:1px solid #4c5b742b;border-radius:27px;width:min(100%,650px);max-height:min(76vh,680px);animation:.17s cubic-bezier(.2,0,0,1) command-palette-in;overflow:hidden;box-shadow:0 28px 90px #1e27364d,0 4px 14px #1e27361f}.command-palette>header{border-bottom:1px solid #e8edf3;grid-template-columns:25px minmax(0,1fr) 38px;align-items:center;gap:11px;padding:14px 16px 13px 20px;display:grid}.command-palette>header>svg{color:#6d7785;width:22px;height:22px}.command-palette>header input{min-width:0;height:38px;color:var(--gem-text);background:0 0;border:0;outline:none;padding:0;font-size:18px}.command-palette>header button{width:38px;height:38px;color:var(--gem-text-secondary);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.command-palette>header button:hover{background:var(--gem-surface-hover)}.command-palette>header button svg{width:18px;height:18px}.command-palette-intro{color:#385d94;background:linear-gradient(100deg,#eef5ff,#f5f1ff);border-radius:16px;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;margin:12px 12px 5px;padding:11px 12px;display:grid}.command-palette-intro>svg{justify-self:center;width:22px;height:22px}.command-palette-intro>span,.command-palette-intro strong,.command-palette-intro small{display:block}.command-palette-intro strong{color:var(--gem-text);font-size:14px;font-weight:650}.command-palette-intro small{color:var(--gem-text-secondary);margin-top:2px;font-size:12px}.command-palette kbd,.command-palette>footer kbd{color:#6a7280;background:#ffffffd1;border:1px solid #d8dfe9;border-radius:7px;padding:3px 6px;font-family:inherit;font-size:11px;box-shadow:0 1px 2px #2d354214}.command-list{scrollbar-color:#c8ced7 transparent;scrollbar-width:thin;max-height:min(52vh,455px);padding:5px 9px 10px;overflow-y:auto}.command-list>button{width:100%;min-height:58px;color:var(--gem-text);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:14px;grid-template-columns:40px minmax(0,1fr) auto 52px;align-items:center;gap:10px;padding:7px 10px;display:grid}.command-list>button.active{background:#edf3fc}.command-icon{color:#4e6f9f;background:#fff;border-radius:13px;place-items:center;width:38px;height:38px;display:grid;box-shadow:0 2px 7px #384a6617}.command-icon svg{width:19px;height:19px}.command-copy{gap:2px;min-width:0;display:grid}.command-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:600;overflow:hidden}.command-copy small{color:var(--gem-text-tertiary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.command-group{color:#87909d;font-size:11px}.command-list>button>svg{color:#8b94a1;justify-self:end;width:17px;height:17px}.command-list>button>i{color:#315f9c;background:#fff;border-radius:8px;justify-self:end;padding:4px 7px;font-size:10px;font-style:normal;font-weight:650}.command-empty{min-height:180px;color:var(--gem-text-secondary);text-align:center;place-content:center;place-items:center;display:grid}.command-empty svg{width:28px;height:28px;margin-bottom:10px}.command-empty span{color:var(--gem-text-tertiary);margin-top:4px;font-size:13px}.command-palette>footer{min-height:45px;color:var(--gem-text-tertiary);border-top:1px solid #e8edf3;align-items:center;gap:18px;padding:0 17px;font-size:11px;display:flex}.command-palette>footer span{align-items:center;gap:4px;display:flex}@keyframes command-palette-in{0%{opacity:0;transform:translateY(-9px)scale(.985)}}@media (width<=560px){.command-palette-backdrop{align-items:end;padding:10px}.command-palette{border-radius:26px;max-height:calc(100dvh - 20px)}.command-list{max-height:58vh}.command-list>button{grid-template-columns:40px minmax(0,1fr) 42px}.command-group,.command-palette>footer{display:none}}.finance-pulse{background:radial-gradient(circle at 92% 0,#846ad01c,#0000 30%),linear-gradient(135deg,#eef5fff5,#f8f6ffeb);border:1px solid #6884b33d;border-radius:27px;margin-top:14px;overflow:hidden;box-shadow:0 8px 27px #394c6b13}.pulse-header{margin:0}.pulse-panel-toggle{width:100%;color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;grid-template-columns:48px minmax(0,1fr) auto 28px;align-items:center;gap:13px;padding:18px 20px;display:grid}.pulse-panel-toggle:hover{background:#ffffff38}.pulse-panel-toggle:focus-visible{outline-offset:-3px;outline:3px solid #4a7dd66b}.pulse-logo{color:#4f68be;background:#ffffffd1;border-radius:17px;place-items:center;width:48px;height:48px;display:grid;box-shadow:0 4px 13px #4458801a}.pulse-logo svg{width:25px;height:25px}.pulse-heading{min-width:0;display:block}.pulse-eyebrow{color:#657ca1;letter-spacing:.65px;text-transform:uppercase;font-size:11px;font-weight:700;display:block}.pulse-title{letter-spacing:-.35px;margin-top:2px;font-size:22px;font-weight:620;display:block}.pulse-subtitle{color:var(--gem-text-secondary);margin-top:2px;font-size:13px;display:block}.pulse-status{color:#2c6e5c;background:#e4f4eee6;border-radius:13px;align-items:center;gap:7px;padding:7px 10px;font-size:12px;font-weight:650;display:inline-flex}.pulse-status i{background:#2e9a7d;border-radius:50%;width:7px;height:7px}.pulse-panel-chevron{width:28px;height:28px;color:var(--gem-text-secondary);border-radius:50%;place-items:center;transition:transform .18s,background .18s;display:grid}.pulse-panel-toggle:hover .pulse-panel-chevron{background:#ffffffad}.pulse-panel-chevron.open{transform:rotate(180deg)}.pulse-panel-chevron svg{width:18px;height:18px}.pulse-content{animation:.18s ease-out pulse-content-in}.pulse-content[hidden]{display:none}.pulse-status.watch{color:#91611f;background:#fff3dd}.pulse-status.watch i{background:#d38b2d}.pulse-status.attention{color:#a13f49;background:#fcedef}.pulse-status.attention i{background:#d75a66}.pulse-metrics{grid-template-columns:1fr 1fr 1.25fr;gap:10px;padding:0 14px 14px;display:grid}.pulse-metrics article{background:#ffffffc2;border:1px solid #7086aa24;border-radius:19px;grid-template-columns:37px minmax(0,1fr);align-content:start;gap:10px;min-width:0;min-height:118px;padding:14px;display:grid;position:relative}.pulse-metric-icon{color:#2e7967;background:#e5f4ef;border-radius:13px;place-items:center;width:37px;height:37px;display:grid}.pulse-metric-icon.forecast{color:#5868ac;background:#eceefa}.pulse-metric-icon.pace{color:#a06c27;background:#fff2dc}.pulse-metric-icon svg{width:18px;height:18px}.pulse-metrics article>div{min-width:0}.pulse-metrics small,.pulse-metrics strong,.pulse-metrics p{display:block}.pulse-metrics small{color:var(--gem-text-tertiary);letter-spacing:.35px;text-transform:uppercase;font-size:11px;font-weight:650}.pulse-metrics strong{margin-top:5px;font-size:19px;font-weight:630;line-height:1.15}.pulse-metrics article:last-child strong{padding-right:42px;font-size:15px;line-height:1.25}.pulse-metrics p{color:var(--gem-text-tertiary);margin:5px 0 0;font-size:11px;line-height:1.35}.pulse-metrics article>button{color:#315f9c;cursor:pointer;background:#edf3fc;border:0;border-radius:10px;padding:5px 8px;font-size:11px;font-weight:650;position:absolute;top:13px;right:12px}.pulse-actions{justify-content:space-between;align-items:center;gap:12px;padding:0 18px 15px;display:flex}.pulse-actions button{cursor:pointer;border:0;border-radius:18px;align-items:center;gap:7px;height:36px;padding:0 11px;font-size:12px;font-weight:650;display:inline-flex}.pulse-explain-button{color:var(--gem-text-secondary);background:0 0}.pulse-ai-button{color:#315f9c;background:#ffffffd1;box-shadow:0 2px 8px #394c6b14}.pulse-actions svg{width:16px;height:16px}.pulse-explain-button svg:last-child{margin-left:2px;transition:transform .15s}.pulse-explain-button svg.open{transform:rotate(180deg)}.pulse-explanation{background:#ffffff6b;border-top:1px solid #7086aa24;grid-template-columns:repeat(3,1fr);gap:12px;padding:14px 18px 18px;animation:.15s ease-out pulse-explanation-in;display:grid}.pulse-explanation strong{font-size:12px;font-weight:650}.pulse-explanation p{color:var(--gem-text-secondary);margin:4px 0 0;font-size:11px;line-height:1.45}@keyframes pulse-explanation-in{0%{opacity:0;transform:translateY(-5px)}}@keyframes pulse-content-in{0%{opacity:0;transform:translateY(-6px)}}@media (width<=900px){.pulse-metrics{grid-template-columns:1fr 1fr}.pulse-metrics article:last-child{grid-column:1/-1}}@media (width<=600px){.pulse-panel-toggle{grid-template-columns:44px minmax(0,1fr) 28px;gap:11px;padding:15px}.pulse-logo{width:44px;height:44px}.pulse-status{grid-column:2/3;width:fit-content}.pulse-panel-chevron{grid-area:1/3/span 2}.pulse-metrics,.pulse-explanation{grid-template-columns:1fr}.pulse-metrics article:last-child{grid-column:auto}.pulse-actions{flex-direction:column;align-items:stretch}.pulse-actions button{justify-content:center}}.finance-assistant{z-index:160;pointer-events:none;flex-direction:column;align-items:flex-end;gap:12px;display:flex;position:fixed;bottom:24px;right:24px}.finance-assistant-panel,.finance-assistant-fab{pointer-events:auto}.finance-assistant-panel{transform-origin:100% 100%;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffffa;border:1px solid #495b7a29;border-radius:26px;flex-direction:column;width:min(410px,100vw - 32px);height:min(590px,100dvh - 118px);min-height:410px;animation:.18s ease-out both finance-assistant-enter;display:flex;overflow:hidden;box-shadow:0 22px 60px #23365633,0 4px 14px #23365614}@keyframes finance-assistant-enter{0%{opacity:0;transform:translateY(10px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.finance-assistant-panel>header{background:linear-gradient(135deg,#f7faff,#fff 64%);border-bottom:1px solid #edf0f4;grid-template-columns:40px minmax(0,1fr) auto 34px;align-items:center;gap:11px;min-height:70px;padding:10px 12px 10px 15px;display:grid}.finance-assistant-mark,.finance-assistant-answer-mark{background:linear-gradient(135deg,#e9f2ff,#f3edff);border-radius:50%;place-items:center;display:grid}.finance-assistant-mark{width:40px;height:40px}.finance-assistant-mark svg{width:21px;height:21px}.finance-assistant-panel header div{min-width:0}.finance-assistant-panel header strong{font-size:15px;display:block}.finance-assistant-panel header small{color:#687386;align-items:center;gap:5px;margin-top:3px;font-size:11px;display:flex}.finance-assistant-panel header small i{background:#22a276;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 3px #22a2761f}.finance-assistant-expand,.finance-assistant-close{color:#52657f;cursor:pointer;background:0 0;border:0}.finance-assistant-expand{border-radius:12px;padding:7px 9px;font-size:12px;font-weight:600}.finance-assistant-expand:hover{color:#245cae;background:#eef4fd}.finance-assistant-close{border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.finance-assistant-close:hover{background:#eef1f5}.finance-assistant-close svg{width:18px;height:18px}.finance-assistant-messages{scrollbar-width:thin;scrollbar-color:#cfd7e4 transparent;flex-direction:column;flex:1;gap:16px;min-height:0;padding:18px 16px;display:flex;overflow-y:auto}.finance-assistant-welcome{background:linear-gradient(135deg,#f2f7ff,#faf8ff);border:1px solid #e3ebf8;border-radius:18px;grid-template-columns:25px 1fr;gap:10px;padding:14px;display:grid}.finance-assistant-welcome>svg{width:21px;height:21px}.finance-assistant-welcome strong{font-size:14px}.finance-assistant-welcome p{color:#657086;margin:4px 0 0;font-size:12px;line-height:1.48}.finance-assistant-suggestions{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.finance-assistant-suggestions button{color:#3c587d;cursor:pointer;text-align:left;background:#fff;border:1px solid #dce5f1;border-radius:15px;padding:9px 12px;font-size:12px}.finance-assistant-suggestions button:hover{background:#f5f9ff;border-color:#afc7ea}.finance-assistant-user{color:#17365f;background:#e6f0ff;border-radius:17px 17px 5px;align-self:flex-end;max-width:82%;padding:10px 13px;font-size:13px;line-height:1.45}.finance-assistant-answer{grid-template-columns:27px minmax(0,1fr);align-items:flex-start;gap:9px;display:grid}.finance-assistant-answer-mark{width:27px;height:27px}.finance-assistant-answer-mark svg{width:15px;height:15px}.finance-assistant-answer>div{color:#344158;min-width:0;font-size:13px;line-height:1.55}.finance-assistant-answer p{margin:0 0 8px}.finance-assistant-answer p:last-child{margin-bottom:0}.finance-assistant-answer ul,.finance-assistant-answer ol{margin:7px 0;padding-left:18px}.finance-assistant-answer strong{color:#1e2a3b}.finance-assistant-error{color:#a23b39}.finance-assistant-thinking{color:#768195;align-items:center;gap:5px;min-height:27px;font-size:12px;display:flex}.finance-assistant-thinking span{background:#6387c5;border-radius:50%;width:5px;height:5px;animation:1s ease-in-out infinite assistant-dot}.finance-assistant-thinking span:nth-child(2){animation-delay:.12s}.finance-assistant-thinking span:nth-child(3){margin-right:3px;animation-delay:.24s}@keyframes assistant-dot{0%,70%,to{opacity:.32;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}.finance-assistant-panel>footer{background:#fff;border-top:1px solid #edf0f4;padding:11px 12px 12px}.finance-assistant-composer{background:#f8fafd;border:1px solid #dce3ed;border-radius:19px;grid-template-columns:minmax(0,1fr) 34px;align-items:end;gap:7px;padding:7px 7px 7px 13px;display:grid}.finance-assistant-composer:focus-within{border-color:#8fb2ea;box-shadow:0 0 0 3px #4285f41a}.finance-assistant-composer textarea{resize:none;color:#26354a;max-height:84px;font:inherit;background:0 0;border:0;outline:0;padding:7px 0;font-size:13px;line-height:1.4;overflow-y:auto}.finance-assistant-composer textarea::placeholder{color:#8993a3}.finance-assistant-composer button{color:#fff;cursor:pointer;background:#2e69c7;border:0;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.finance-assistant-composer button:disabled{color:#929ba7;cursor:default;background:#e5e9ee}.finance-assistant-composer button svg{width:18px;height:18px}.finance-assistant-panel>footer>small{color:#8a93a0;text-align:center;margin-top:7px;font-size:10px;display:block}.finance-assistant-fab{color:#244f91;cursor:pointer;background:linear-gradient(135deg,#fff,#edf4ff);border:1px solid #2a5eb32e;border-radius:27px;align-items:center;gap:9px;height:54px;padding:0 18px 0 12px;transition:transform .15s,box-shadow .15s;display:flex;box-shadow:0 10px 30px #27487f33}.finance-assistant-fab:hover{transform:translateY(-2px);box-shadow:0 14px 34px #27487f40}.finance-assistant-fab>span{color:#356dc5;background:#dceaff;border-radius:50%;place-items:center;width:31px;height:31px;display:grid;position:relative}.finance-assistant-fab>span>svg:first-child{width:19px;height:19px}.finance-assistant-fab>span>svg:last-child{width:13px;height:13px;position:absolute;top:-4px;right:-5px}.finance-assistant-fab>strong{font-size:14px}.finance-assistant.open .finance-assistant-fab{justify-content:center;width:46px;height:46px;padding:0}.finance-assistant.open .finance-assistant-fab svg{width:19px;height:19px}@media (width<=680px){.finance-assistant{bottom:12px;right:12px}.finance-assistant-panel{border-radius:24px;width:calc(100vw - 24px);height:min(620px,100dvh - 82px)}.finance-assistant-panel>header{grid-template-columns:38px minmax(0,1fr) auto 32px;padding-inline:12px 8px}.finance-assistant-fab{justify-content:center;width:52px;padding:0}.finance-assistant-fab>strong{display:none}}@media (prefers-reduced-motion:reduce){.finance-assistant-panel{animation:none}.finance-assistant-thinking span{opacity:.65;animation:none}}.finance-dashboard{min-width:0;min-height:0;color:var(--gem-text);background:radial-gradient(circle at 72% 0%, #7c9ce214, transparent 28%), var(--gem-bg);flex-direction:column;flex:1;display:flex;overflow:hidden}.finance-topbar{z-index:10;background:linear-gradient(180deg, var(--gem-bg) 72%, #f7f9fc00);flex:0 0 68px;justify-content:space-between;align-items:center;min-height:68px;padding:0 22px;display:flex;position:relative}.finance-menu-button{width:42px;height:42px;color:var(--gem-text-secondary);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:none}.finance-menu-button:hover{background:#3c404314}.finance-menu-button svg,.finance-topbar-brand svg{width:22px;height:22px}.finance-topbar-brand{font-family:var(--font-sans);align-items:center;gap:9px;font-size:19px;font-weight:500;display:flex}.finance-topbar-brand svg{color:#3769c8}.finance-topbar-end,.finance-header-actions{align-items:center;display:flex}.finance-topbar-end{gap:12px;margin-left:auto}.finance-header-actions{gap:6px}.finance-header-actions button{color:#496587;cursor:pointer;white-space:nowrap;background:#ffffffbd;border:1px solid #4b5e7b24;border-radius:19px;align-items:center;gap:7px;height:38px;padding:0 12px;font-size:14px;font-weight:600;transition:background .15s,border-color .15s,color .15s,transform .15s;display:inline-flex}.finance-header-actions button:hover,.finance-header-actions button:focus-visible{color:#225cae;background:#edf4ff;border-color:#b8cae5;outline:none;transform:translateY(-1px)}.finance-header-actions svg{width:17px;height:17px}.finance-profile{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3769d1,#7454b6);border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;font-size:14px;font-weight:600;display:grid;box-shadow:inset 0 0 0 1px #ffffff59}.finance-sign-in{height:38px;color:var(--gem-blue);cursor:pointer;background:#ffffffb8;border:1px solid #c6d4e8;border-radius:19px;padding:0 17px;font-size:13px;font-weight:600}.finance-scroll{scrollbar-color:#c7cbc9 transparent;scrollbar-width:thin;flex:1;min-height:0;padding:8px 28px 52px;overflow-y:auto}.finance-container{width:min(100%,1180px);margin:0 auto}.finance-hero{justify-content:space-between;align-items:flex-end;gap:32px;min-height:126px;padding:10px 2px 24px;display:flex}.finance-eyebrow{color:#5975a4;letter-spacing:.7px;text-transform:uppercase;align-items:center;gap:7px;margin-bottom:8px;font-size:11px;font-weight:600;display:flex}.finance-eyebrow svg{width:16px;height:16px}.finance-hero h1,.finance-hero p,.finance-panel h2,.finance-section h2{margin:0}.finance-hero h1{font-family:var(--font-sans);letter-spacing:-1.1px;font-size:clamp(28px,3.3vw,40px);font-weight:500}.finance-hero p{color:var(--gem-text-secondary);margin-top:5px;font-size:14px}.finance-hero-actions{flex:none;align-items:center;gap:10px;display:flex}.month-picker{border:1px solid var(--gem-border);height:46px;color:var(--gem-text-secondary);cursor:pointer;background:#ffffffb8;border-radius:23px;align-items:center;gap:9px;padding:0 15px;font-size:13px;font-weight:500;display:flex;position:relative;box-shadow:0 1px 2px #3c40430a}.month-picker svg{width:18px;height:18px}.month-picker input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.finance-primary-action{color:#fff;cursor:pointer;background:linear-gradient(135deg,#1769da,#446fd0);border:0;border-radius:23px;justify-content:center;align-items:center;gap:8px;height:46px;padding:0 18px;font-size:13px;font-weight:600;transition:transform .14s,box-shadow .14s;display:inline-flex;box-shadow:0 5px 14px #2d67c638}.finance-primary-action:hover{transform:translateY(-1px);box-shadow:0 7px 18px #2d67c647}.finance-primary-action svg{width:18px;height:18px}.finance-secondary-action{color:#285b9f;cursor:pointer;background:linear-gradient(135deg,#f7faff,#f3f0ff);border:1px solid #cdd9eb;border-radius:23px;justify-content:center;align-items:center;gap:8px;height:46px;padding:0 17px;font-size:13px;font-weight:600;transition:border-color .14s,box-shadow .14s,transform .14s;display:inline-flex}.finance-secondary-action:hover{border-color:#aebfda;transform:translateY(-1px);box-shadow:0 5px 14px #42669d21}.finance-secondary-action svg{width:18px;height:18px}.finance-success{color:#176b53;background:#edf8f3;border:1px solid #cce7dc;border-radius:16px;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;padding:12px 14px;font-size:12px;font-weight:500;display:flex}.finance-success>span{align-items:center;gap:8px;display:flex}.finance-success svg{width:17px;height:17px}.finance-success button{color:#3c735f;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:30px;height:30px;padding:0;display:grid}.finance-success button:hover{background:#1e6f5314}.finance-alert{color:#8f2721;background:#fce8e6;border:1px solid #b3261e33;border-radius:16px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;padding:12px 16px;font-size:12px;display:flex}.finance-alert button{color:#8f2721;cursor:pointer;background:0 0;border:0;font-weight:600}.finance-loading{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.finance-loading span{background:linear-gradient(100deg,#edf1f6 20%,#f8fafc 42%,#edf1f6 64%) 0 0/240% 100%;border-radius:24px;height:150px;animation:1.4s linear infinite finance-shimmer}.finance-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.summary-card,.finance-panel{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffc7;border:1px solid #8fa4c233;box-shadow:0 5px 20px #334a6c0d}.summary-card{border-radius:24px;flex-direction:column;min-width:0;min-height:154px;padding:18px;display:flex;position:relative;overflow:hidden}.summary-card.balance-card{color:#fff;background:radial-gradient(circle at 88% 2%,#ffffff38,#0000 35%),linear-gradient(145deg,#356bc5,#625bb5);border-color:#0000;box-shadow:0 10px 26px #4359a433}.summary-icon{color:#536f9e;background:#edf3fc;border-radius:12px;place-items:center;width:34px;height:34px;margin-bottom:16px;display:grid}.summary-icon.spending{color:#c15058;background:#fcecef}.summary-icon.income{color:#13866f;background:#e2f4ef}.summary-icon.investing{color:#7e57c2;background:#f0eafb}.balance-card .summary-icon{color:#fff;background:#ffffff29}.summary-icon svg{width:19px;height:19px}.summary-label{color:var(--gem-text-secondary);letter-spacing:.45px;text-transform:uppercase;font-size:11px;font-weight:600}.balance-card .summary-label,.balance-card small{color:#ffffffb8}.summary-card>strong{font-family:var(--font-sans);letter-spacing:-.7px;text-overflow:ellipsis;white-space:nowrap;margin:5px 0 4px;font-size:clamp(20px,2vw,27px);font-weight:600;overflow:hidden}.summary-card small{color:var(--gem-text-tertiary);margin-top:auto;font-size:10px}.summary-card small.spending{color:#fff}.summary-card small.change-up{color:#b14c55}.summary-card small.change-down{color:#16836d}.finance-insight{background:linear-gradient(100deg,#ebf3ffeb,#f6f1ffd1);border:1px solid #8193cb3d;border-radius:22px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:14px;margin-top:14px;padding:14px 16px;display:grid}.insight-sparkle{background:#ffffffb8;border-radius:15px;place-items:center;width:42px;height:42px;display:grid;box-shadow:0 3px 10px #4a5e8e17}.insight-sparkle svg{width:23px;height:23px}.finance-insight strong{margin-bottom:3px;font-size:13px;font-weight:600;display:block}.finance-insight p{color:var(--gem-text-secondary);margin:0;font-size:11px;line-height:1.45}.finance-insight button{color:#355f9e;cursor:pointer;background:#ffffffa8;border:1px solid #4265aa3d;border-radius:18px;height:36px;padding:0 14px;font-size:11px;font-weight:600}.analytics-grid{grid-template-columns:minmax(0,1.65fr) minmax(280px,.85fr);gap:14px;margin-top:14px;display:grid}.finance-panel{border-radius:26px}.spending-panel,.categories-panel{min-height:300px;padding:20px}.panel-header,.section-heading{justify-content:space-between;align-items:center;gap:18px;display:flex}.panel-header>div,.section-heading>div{gap:3px;display:grid}.panel-header span,.section-heading>div>span{color:var(--gem-text-tertiary);letter-spacing:.6px;text-transform:uppercase;font-size:10px;font-weight:600}.panel-header strong{font-size:17px;font-weight:600}.panel-header>small{color:#607ba6;letter-spacing:.3px;text-transform:uppercase;background:#edf3fc;border-radius:10px;padding:5px 9px;font-size:9px;font-weight:600}.panel-header>svg{color:#6c81a5;width:22px;height:22px}.trend-chart{margin-top:14px}.trend-chart svg{width:100%;height:190px;display:block;overflow:visible}.chart-grid-line{stroke:#e7ebf1;stroke-dasharray:3 6;stroke-width:1px}.chart-y-axis-label{fill:var(--gem-text-tertiary);text-anchor:end;dominant-baseline:middle;font-family:inherit;font-size:10px;font-weight:550}.chart-area{fill:url(#spending-area)}.chart-line{fill:none;stroke:#4285f4;stroke-linecap:round;stroke-linejoin:round;stroke-width:3px;vector-effect:non-scaling-stroke}.chart-point{fill:#fff;stroke:#4285f4;stroke-width:2.5px;vector-effect:non-scaling-stroke;transition:r .14s,fill .14s}.chart-point-hit-area{fill:#0000;cursor:pointer;pointer-events:all}.chart-point-target:focus{outline:none}.chart-point-target:focus-visible .chart-point,.chart-point-target.active .chart-point{r:6px;fill:#4285f4}.chart-hover-guide{stroke:#4285f459;stroke-dasharray:3 4;stroke-width:1px;vector-effect:non-scaling-stroke}.chart-tooltip{pointer-events:none;filter:drop-shadow(0 5px 10px #3448682e)}.chart-tooltip rect{fill:#fffffffa;stroke:#5c79a82e;stroke-width:1px}.chart-tooltip text{dominant-baseline:auto;font-family:inherit}.chart-tooltip-label{fill:#687386;font-size:11px;font-weight:600}.chart-tooltip-value{fill:#202124;font-size:15px;font-weight:700}.trend-labels{color:var(--gem-text-tertiary);text-align:center;grid-template-columns:repeat(6,1fr);margin:-24px 3% 0 10%;font-size:10px;display:grid}.category-content{gap:20px;padding-top:22px;display:grid}.spending-donut{border-radius:50%;place-items:center;width:128px;height:128px;margin:0 auto;display:grid;box-shadow:inset 0 0 0 1px #5b6e8b14}.spending-donut>div{text-align:center;background:#fff;border-radius:50%;place-content:center;width:82px;height:82px;display:grid;box-shadow:0 2px 8px #30436014}.spending-donut strong,.spending-donut span{display:block}.spending-donut strong{font-size:17px;font-weight:600}.spending-donut span{color:var(--gem-text-tertiary);text-transform:uppercase;margin-top:2px;font-size:9px}.category-list{gap:8px;display:grid}.category-list>div{grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:8px;font-size:10px;display:grid}.category-list i{border-radius:50%;width:7px;height:7px}.category-list span{color:var(--gem-text-secondary);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.category-list strong{font-weight:600}.panel-empty{color:var(--gem-text-tertiary);text-align:center;margin:10px 0;font-size:11px}.finance-section{margin-top:28px}.section-heading{margin-bottom:13px;padding:0 2px}.section-heading h2{font-family:var(--font-sans);letter-spacing:-.5px;font-size:22px;font-weight:600}.section-heading>button{color:#486691;cursor:pointer;background:#ffffffb8;border:1px solid #d5dde8;border-radius:18px;align-items:center;gap:7px;height:36px;padding:0 12px;font-size:11px;font-weight:600;display:flex}.section-heading>button:hover{background:#eef3fa}.section-heading>button svg{width:16px;height:16px}.section-heading-actions{align-items:center;gap:8px;display:flex}.section-heading-actions button{color:#486691;cursor:pointer;background:#ffffffb8;border:1px solid #d5dde8;border-radius:18px;align-items:center;gap:7px;height:36px;padding:0 12px;font-size:11px;font-weight:600;display:flex}.section-heading-actions button:hover{background:#eef3fa}.section-heading-actions .view-all-button{color:var(--gem-blue);background:0 0;border-color:#0000;flex-direction:column;align-items:center;padding-top:6px;display:flex}.section-heading-actions svg{width:16px;height:16px}.budget-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.budget-card,.add-empty-card{background:#ffffffc2;border:1px solid #8fa4c233;border-radius:24px;min-height:190px;box-shadow:0 5px 20px #334a6c0b}.budget-card{padding:17px}.budget-card>header{justify-content:space-between;align-items:center;display:flex}.budget-category-icon{border-radius:13px;place-items:center;width:37px;height:37px;font-size:13px;font-weight:700;display:grid}.budget-card header>.transaction-actions-trigger,.wealth-row>.transaction-actions-trigger,.goal-row>.transaction-actions-trigger{opacity:0;width:30px;height:30px;color:var(--gem-text-tertiary);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;transition:opacity .13s,background .13s,color .13s;display:grid}.budget-card:hover header>.transaction-actions-trigger,.wealth-row:hover>.transaction-actions-trigger,.goal-row:hover>.transaction-actions-trigger,.budget-card header>.transaction-actions-trigger:focus-visible,.wealth-row>.transaction-actions-trigger:focus-visible,.goal-row>.transaction-actions-trigger:focus-visible{opacity:1}.budget-card header>.transaction-actions-trigger:hover,.wealth-row>.transaction-actions-trigger:hover,.goal-row>.transaction-actions-trigger:hover{color:var(--gem-text);background:#eef2f7}.budget-card header>.transaction-actions-trigger svg,.wealth-row>.transaction-actions-trigger svg,.goal-row>.transaction-actions-trigger svg{width:16px;height:16px}.budget-card-main{width:100%;color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;padding:0;display:block}.budget-card-main:focus-visible{outline-offset:4px;border-radius:14px;outline:3px solid #4285f42e}.budget-card h3{margin:15px 0 3px;font-size:15px;font-weight:600}.budget-card p{color:var(--gem-text-tertiary);text-transform:capitalize;margin:0;font-size:10px}.budget-values{align-items:baseline;gap:4px;margin-top:17px;display:flex}.budget-values strong{font-size:14px;font-weight:600}.budget-values span,.budget-card-main>small{color:var(--gem-text-tertiary);font-size:9px}.progress-track{background:#e9edf2;border-radius:999px;height:6px;margin:9px 0 7px;overflow:hidden}.progress-track>span{border-radius:inherit;background:linear-gradient(90deg,#4285f4,#7c76df);height:100%;transition:width .4s cubic-bezier(.2,0,0,1);display:block}.budget-card.over .progress-track>span{background:#d85b67!important}.budget-card.over .budget-card-main>small{color:#b44851}.budget-view-activity,.wealth-view-activity{color:#315f9c;cursor:pointer;background:#f0f5fc;border:0;border-radius:13px;width:100%;margin-top:13px;padding:9px 10px;font-size:9px;font-weight:600;display:block}.budget-view-activity:hover,.wealth-view-activity:hover{background:#e4eefb}.wealth-view-activity{margin-top:14px}.add-empty-card{color:var(--gem-text-secondary);cursor:pointer;text-align:center;border-style:dashed;place-items:center;padding:24px;display:grid}.add-empty-card:hover{background:#f5f8fc;border-color:#a6b8d2}.add-empty-card>span{color:#5576a9;background:#e8f0fc;border-radius:50%;place-items:center;width:42px;height:42px;display:grid}.add-empty-card svg{width:19px;height:19px}.add-empty-card strong{color:var(--gem-text);margin:10px 0 4px;font-size:13px}.add-empty-card small{font-size:10px}.transactions-panel{margin-top:28px;overflow:hidden}.transaction-heading{margin:0;padding:20px 20px 15px}.transactions-table{border-top:1px solid #edf0f4}.transaction-row{border-bottom:1px solid #eff2f5;grid-template-columns:42px minmax(150px,1.7fr) minmax(110px,1fr) minmax(110px,1fr) minmax(105px,auto) 34px;align-items:center;gap:11px;min-height:64px;padding:8px 18px;display:grid}.transaction-row:last-child{border-bottom:0}.transaction-table-head{min-height:37px;color:var(--gem-text-tertiary);letter-spacing:.5px;text-transform:uppercase;background:#f6f8fbb3;font-size:9px;font-weight:600}.transaction-table-head span:first-child{grid-column:2}.transaction-mark{color:#b34d56;background:#fbecef;border-radius:13px;place-items:center;width:36px;height:36px;font-size:12px;font-weight:700;display:grid}.transaction-mark.income{color:#14846e;background:#e4f3ef}.transaction-name,.transaction-name strong,.transaction-name small{min-width:0;display:block}.transaction-name strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.transaction-name small{color:var(--gem-text-tertiary);text-overflow:ellipsis;text-transform:capitalize;white-space:nowrap;margin-top:3px;font-size:9px;overflow:hidden}.transaction-category,.transaction-date{color:var(--gem-text-secondary);font-size:10px}.transaction-amount{text-align:right;white-space:nowrap;font-size:11px;font-weight:600}.transaction-amount.expense{color:#a9424b}.transaction-amount.income{color:#147a66}.transaction-delete{opacity:0;width:30px;height:30px;color:var(--gem-text-tertiary);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.transaction-row:hover .transaction-delete,.transaction-delete:focus-visible{opacity:1}.transaction-delete:hover{color:var(--gem-danger);background:#b3261e12}.transaction-delete svg{width:16px;height:16px}.transaction-row>.transaction-actions-trigger{justify-self:end}.transactions-empty{text-align:center;place-content:center;place-items:center;min-height:240px;padding:30px;display:grid}.transactions-empty>svg{color:#6b85ad;width:30px;height:30px;margin-bottom:12px}.transactions-empty strong{font-size:14px}.transactions-empty p{color:var(--gem-text-tertiary);margin:5px 0 14px;font-size:11px}.transactions-empty button{height:34px;color:var(--gem-blue);cursor:pointer;background:#e8f0fe;border:0;border-radius:17px;padding:0 13px;font-size:11px;font-weight:600}.wealth-grid{grid-template-columns:1fr 1fr;gap:14px;margin-top:14px;display:grid}.wealth-panel{min-height:270px;padding:19px}.section-heading.compact{margin:0 0 14px}.section-heading.compact>button{justify-content:center;width:34px;padding:0}.wealth-list,.goals-list{gap:7px;display:grid}.wealth-row,.goal-row{border-bottom:1px solid #edf0f4;grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:10px;min-height:54px;padding:6px 4px;display:grid}.wealth-row-link{min-width:0;color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:0;display:grid}.wealth-row-link:focus-visible{outline-offset:2px;border-radius:12px;outline:3px solid #4285f429}.wealth-row:last-child,.goal-row:last-child{border-bottom:0}.wealth-symbol{color:#4e6e9d;background:#eaf1fb;border-radius:12px;place-items:center;width:36px;height:36px;font-size:9px;font-weight:700;display:grid}.wealth-row-link>span strong,.wealth-row-link>span small{display:block}.wealth-row-link>span strong{font-size:11px;font-weight:600}.wealth-row-link>span small{color:var(--gem-text-tertiary);margin-top:2px;font-size:9px}.wealth-value{text-align:right}.wealth-value small.positive{color:#14806b}.wealth-value small.negative{color:#ad4750}.wealth-empty{color:#5e7599;cursor:pointer;text-align:left;background:#f8fafc;border:1px dashed #d4dce7;border-radius:18px;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:12px;width:100%;min-height:100px;padding:14px;display:grid}.wealth-empty>svg{width:23px;height:23px}.wealth-empty span,.wealth-empty strong,.wealth-empty small{display:block}.wealth-empty strong{color:var(--gem-text);font-size:11px}.wealth-empty small{color:var(--gem-text-tertiary);margin-top:3px;font-size:9px}.goal-ring{background:conic-gradient(var(--goal-color) var(--goal-progress), #e8edf3 0);border-radius:50%;place-items:center;width:36px;height:36px;display:grid;position:relative}.goal-ring:before{content:"";background:#fff;border-radius:50%;width:28px;height:28px;position:absolute}.goal-ring svg{z-index:1;width:15px;height:15px;color:var(--goal-color);position:relative}.goal-percent{font-size:11px;font-weight:600}.savings-total{background:#f6f8fb;border-radius:16px;grid-template-columns:1fr auto;align-items:center;margin-top:18px;padding:13px 14px 8px;display:grid}.savings-total>span,.savings-total>strong{font-size:10px}.savings-total>strong{font-weight:600}.savings-total .progress-track{grid-column:1/-1;margin-bottom:0}.finance-gated{background:radial-gradient(circle at 50% 30%, #5e82d121, transparent 30%), var(--gem-bg)}.finance-gate-content{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;width:min(100% - 36px,720px);min-height:0;margin:0 auto;padding:10px 0 80px;display:flex}.finance-gate-visual{width:min(100%,460px);height:210px;margin-bottom:20px;position:relative}.gate-orb{filter:blur(2px);border-radius:50%;position:absolute}.gate-orb-one{background:#6897e026;width:150px;height:150px;top:30px;left:70px}.gate-orb-two{background:#8764cb24;width:130px;height:130px;top:5px;right:75px}.gate-wallet{z-index:2;color:#fff;background:linear-gradient(145deg,#477ecf,#7163c2);border:1px solid #7594c357;border-radius:25px;place-items:center;width:78px;height:78px;display:grid;position:absolute;top:58px;left:calc(50% - 39px);transform:rotate(-4deg);box-shadow:0 18px 38px #465ca540}.gate-wallet svg{width:34px;height:34px}.gate-card{z-index:3;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);text-align:left;background:#ffffffd1;border:1px solid #92a6c542;border-radius:18px;width:138px;min-height:68px;padding:12px;display:grid;position:absolute;box-shadow:0 10px 26px #334a6c1a}.gate-card-one{bottom:10px;left:18px;transform:rotate(-3deg)}.gate-card-two{bottom:25px;right:10px;transform:rotate(4deg)}.gate-card span{background:#78a4e3;border-radius:4px;width:20px;height:5px;margin-bottom:7px}.gate-card strong{font-size:14px}.gate-card small{color:var(--gem-text-tertiary);margin-top:2px;font-size:9px}.finance-gate-sparkle{width:26px;height:26px;margin-bottom:12px}.finance-gate-content h1{max-width:620px;font-family:var(--font-sans);letter-spacing:-1.6px;margin:0;font-size:clamp(32px,5vw,50px);font-weight:500}.finance-gate-content>p{max-width:560px;color:var(--gem-text-secondary);margin:13px auto 24px;font-size:14px;line-height:1.6}.finance-gate-content>small{color:var(--gem-text-tertiary);margin-top:12px;font-size:10px}.finance-modal-backdrop{z-index:130;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#1c1f265c;place-items:center;padding:24px;animation:.16s ease-out finance-modal-fade;display:grid;position:fixed;inset:0;overflow-y:auto}.finance-modal{background:#fff;border:1px solid #5f636824;border-radius:28px;width:min(100%,640px);max-height:calc(100dvh - 48px);animation:.18s cubic-bezier(.2,0,0,1) finance-modal-rise;overflow-y:auto;box-shadow:0 22px 60px #2a303e42}.finance-modal>header{border-bottom:1px solid #edf0f4;grid-template-columns:48px minmax(0,1fr) 38px;align-items:center;gap:13px;padding:22px 24px 17px;display:grid}.finance-modal-icon{color:#4a70aa;background:#eaf1fc;border-radius:16px;place-items:center;width:48px;height:48px;display:grid}.finance-modal-icon svg{width:23px;height:23px}.finance-modal h2,.finance-modal p{margin:0}.finance-modal h2{text-transform:capitalize;font-size:20px;font-weight:600}.finance-modal header p{color:var(--gem-text-tertiary);margin-top:3px;font-size:11px}.finance-modal>header>button{width:38px;height:38px;color:var(--gem-text-secondary);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.finance-modal>header>button:hover{background:var(--gem-surface-hover)}.finance-modal>header>button svg{width:19px;height:19px}.finance-modal form{grid-template-columns:1fr 1fr;gap:14px;padding:20px 24px 24px;display:grid}.finance-modal label{gap:7px;display:grid}.finance-modal label>span{color:#4b5055;font-size:11px;font-weight:600}.finance-modal label>span small{color:var(--gem-text-tertiary);font-size:9px;font-weight:400}.finance-modal .field-wide,.finance-segmented,.finance-form-error,.finance-modal form>footer{grid-column:1/-1}.finance-modal input,.finance-modal select,.finance-modal textarea{width:100%;min-height:44px;color:var(--gem-text);background:#f9fafc;border:1px solid #d9dfe7;border-radius:13px;outline:none;padding:0 13px;font-size:12px;transition:border-color .13s,box-shadow .13s,background .13s}.finance-modal .custom-select-trigger{background:#f9fafc;border-color:#d9dfe7;font-size:12px}.finance-modal .custom-select-trigger[aria-expanded=true],.finance-modal .custom-select-trigger:focus-visible{background:#fff;border-color:#7ca2dd}.finance-modal textarea{resize:vertical;min-height:76px;padding-block:11px}.finance-modal input:focus,.finance-modal select:focus,.finance-modal textarea:focus{background:#fff;border-color:#7ca2dd;box-shadow:0 0 0 3px #4285f41a}.exchange-rate-card{color:#24466f;background:linear-gradient(135deg,#f3f7ff,#edf8f6);border:1px solid #cbdcf5;border-radius:16px;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;min-height:82px;padding:13px 15px;display:grid}.exchange-rate-card.error{color:#8c302b;background:#fff5f4;border-color:#efc6c3}.exchange-rate-icon{color:#3268b2;background:#ffffffd1;border-radius:14px;place-items:center;width:42px;height:42px;display:grid;box-shadow:0 1px 4px #35537c1f}.exchange-rate-icon svg{width:23px;height:23px}.exchange-rate-card>div{gap:3px;min-width:0;display:grid}.exchange-rate-card>div>span{font-size:13px;font-weight:600}.exchange-rate-card strong{color:#173f70;font-size:22px;font-weight:600}.exchange-rate-card small{color:#5e6f82;font-size:12px;line-height:1.4}.exchange-rate-card a{color:#245da5;font-weight:600;text-decoration:none}.exchange-rate-card a:hover{text-decoration:underline}.finance-segmented{background:#f0f3f7;border-radius:15px;grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.finance-segmented button{height:38px;color:var(--gem-text-secondary);cursor:pointer;background:0 0;border:0;border-radius:11px;font-size:11px;font-weight:600}.finance-segmented button.active{background:#fff;box-shadow:0 1px 4px #36445b1f}.finance-segmented button.active.expense{color:#ab4650}.finance-segmented button.active.income{color:#107661}.color-picker{align-items:center;gap:9px;min-height:44px;padding:0 4px;display:flex}.color-picker button{cursor:pointer;border:3px solid #fff;border-radius:50%;width:27px;height:27px;padding:0;box-shadow:0 0 0 1px #d5dbe3}.color-picker button.active{box-shadow:0 0 0 2px #547ab4}.budget-smart-suggestion{color:#385f99;cursor:pointer;text-align:left;background:linear-gradient(100deg,#f1f6ff,#f7f4ff);border:1px solid #cfdbed;border-radius:15px;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:56px;padding:9px 11px;display:grid}.budget-smart-suggestion>svg{justify-self:center;width:19px;height:19px}.budget-smart-suggestion>span{gap:2px;min-width:0;display:grid}.budget-smart-suggestion strong{color:var(--gem-text);font-size:13px;font-weight:650}.budget-smart-suggestion small{color:var(--gem-text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.budget-smart-suggestion>i{color:#315f9c;background:#fff;border-radius:10px;padding:5px 8px;font-size:11px;font-style:normal;font-weight:650}.budget-impact-preview{background:#f8fafc;border:1px solid #dae2ed;border-radius:17px;overflow:hidden}.budget-impact-preview>header{grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px;padding:11px 13px 9px;display:grid}.budget-impact-preview>header>span{color:#526db0;background:#e8eefb;border-radius:11px;place-items:center;width:32px;height:32px;display:grid}.budget-impact-preview>header svg{width:17px;height:17px}.budget-impact-preview>header strong,.budget-impact-preview>header small{display:block}.budget-impact-preview>header strong{font-size:13px;font-weight:650}.budget-impact-preview>header small{color:var(--gem-text-tertiary);margin-top:1px;font-size:10px}.budget-impact-list{max-height:168px;padding:0 8px;display:grid;overflow-y:auto}.budget-impact-row{border-top:1px solid #e7ebf1;grid-template-columns:8px minmax(0,1fr) minmax(120px,auto);align-items:center;gap:9px;min-height:54px;padding:7px 6px;display:grid}.budget-impact-dot{border-radius:50%;width:7px;height:7px}.budget-impact-row>span:nth-child(2),.budget-impact-row>span:nth-child(2) strong,.budget-impact-row>span:nth-child(2) small{min-width:0;display:block}.budget-impact-row>span:nth-child(2) strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.budget-impact-row>span:nth-child(2) small{color:var(--gem-text-tertiary);margin-top:2px;font-size:10px}.budget-impact-row>span:last-child{justify-items:end;gap:5px;display:grid}.budget-impact-row>span:last-child>strong{font-size:11px;font-weight:650}.budget-impact-row>span:last-child.negative>strong{color:#b34752}.budget-impact-row>span:last-child>i{background:#e5e9ee;border-radius:999px;width:92px;height:5px;overflow:hidden}.budget-impact-row>span:last-child>i>b{border-radius:inherit;height:100%;display:block}.budget-impact-preview>p{color:var(--gem-text-tertiary);border-top:1px solid #e7ebf1;margin:0;padding:8px 13px 10px;font-size:10px;line-height:1.4}.finance-form-error{color:#9c342d;background:#fce8e6;border-radius:12px;padding:10px 12px;font-size:10px}.finance-modal form>footer{justify-content:flex-end;gap:9px;margin-top:3px;display:flex}.finance-modal form>footer button{height:39px;color:var(--gem-text-secondary);cursor:pointer;background:#fff;border:1px solid #d6dde7;border-radius:20px;padding:0 17px;font-size:11px;font-weight:600}.finance-modal form>footer button[type=submit]{color:#fff;background:var(--gem-blue);border-color:#0000}.finance-modal button:disabled{opacity:.55;cursor:wait}@keyframes finance-shimmer{to{background-position:-240% 0}}@keyframes finance-modal-fade{0%{opacity:0}}@keyframes finance-modal-rise{0%{opacity:0;transform:translateY(10px)scale(.985)}}@media (width<=1120px){.finance-header-actions button{justify-content:center;width:38px;padding:0}.finance-header-actions button span{display:none}}@media (width<=1040px){.finance-summary-grid,.finance-loading,.budget-grid{grid-template-columns:repeat(2,1fr)}.analytics-grid{grid-template-columns:1fr}.category-content{grid-template-columns:150px 1fr;align-items:center}.wealth-grid{grid-template-columns:1fr}}@media (width<=840px){.finance-topbar{flex-basis:62px;min-height:62px;padding:0 14px 0 8px}.finance-menu-button{display:grid}.finance-topbar-brand{position:absolute;left:56px}.finance-topbar-end{gap:7px}.finance-header-actions{gap:3px}.finance-header-actions button{background:0 0;border-color:#0000;justify-content:center;width:36px;height:36px;padding:0}.finance-header-actions button span{display:none}.finance-scroll{padding:6px 18px 42px}}@media (width<=680px){.finance-hero{flex-direction:column;align-items:stretch;gap:18px;padding-top:18px}.finance-hero-actions{width:100%}.month-picker,.finance-secondary-action,.finance-hero-actions .finance-primary-action{flex:1}.finance-summary-grid,.finance-loading,.budget-grid{grid-template-columns:1fr}.budget-card header>.transaction-actions-trigger,.wealth-row>.transaction-actions-trigger,.goal-row>.transaction-actions-trigger{opacity:1}.summary-card{min-height:140px}.finance-insight{grid-template-columns:42px 1fr}.finance-insight button{grid-column:1/-1;width:100%}.category-content{grid-template-columns:1fr}.transaction-table-head{display:none}.transaction-row:not(.transaction-table-head){grid-template-columns:40px minmax(0,1fr) auto 30px;gap:9px;min-height:72px;padding:10px 13px}.transaction-category{grid-column:2;margin-top:-15px}.transaction-date{display:none}.transaction-amount{grid-area:1/3}.transaction-delete{opacity:1;grid-area:1/4}.finance-modal-backdrop{align-items:end;padding:10px}.finance-modal{border-radius:26px;max-height:calc(100dvh - 20px)}.finance-modal form{grid-template-columns:1fr}.finance-modal form>*{grid-column:1}}@media (width<=460px){.finance-topbar{padding-right:7px}.finance-topbar-end{gap:3px}.finance-header-actions{gap:1px}.finance-header-actions button,.finance-profile{width:34px;height:34px}.finance-topbar-brand{left:50px}.finance-topbar-brand span{display:none}.finance-scroll{padding-inline:12px}.finance-hero h1{font-size:29px}.finance-hero-actions{flex-direction:column;align-items:stretch}.month-picker,.finance-secondary-action,.finance-hero-actions .finance-primary-action{flex:none;width:100%}.spending-panel,.categories-panel,.wealth-panel{padding:16px}.finance-gate-content{padding-bottom:40px}.finance-gate-visual{transform:scale(.88)}.gate-card-one{left:0}.gate-card-two{right:0}.finance-modal>header{grid-template-columns:42px minmax(0,1fr) 36px;padding:18px}.finance-modal-icon{border-radius:14px;width:42px;height:42px}.finance-modal form{padding:18px}}input[type=date]{box-sizing:border-box;appearance:none;width:100%;min-width:0;max-width:100%}.app-shell{background:var(--gem-bg);width:100%;height:100dvh;display:flex;overflow:hidden}.app.loading{width:100%;height:100dvh;color:var(--gem-text-secondary);background:var(--gem-bg);place-items:center;display:grid}.app.loading:before{content:"";border:3px solid #d6e3f3;border-top-color:#5b8def;border-radius:50%;width:30px;height:30px;animation:.8s linear infinite app-spin}.app.loading p{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}@keyframes app-spin{to{transform:rotate(360deg)}}.main-content{background:var(--gem-bg);flex-direction:column;flex:1;min-width:0;display:flex;position:relative;overflow:hidden}.sidebar-scrim{display:none}@media (width<=840px){.sidebar-scrim{z-index:30;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);background:#20212447;border:0;padding:0;display:block;position:fixed;inset:0}}
