Global CSS to prevent horizontal scroll html,body{margin:0;padding:0;width:100%;height:100%;box-sizing:border-box}*,*:before,*:after{box-sizing:border-box}#root{width:100%;height:100vh}.MuiTableContainer-root{overflow-x:auto;max-width:100%}.MuiDrawer-paper,.MuiDrawer-paper .MuiList-root,.MuiDrawer-paper .MuiBox-root{max-width:100%}main{max-width:100%}.MuiDrawer-paper .MuiListItemButton-root{cursor:pointer}.MuiDrawer-paper .MuiListItemButton-root.parent-menu{cursor:default}@keyframes pulse{0%{transform:scale(1);opacity:1}50%{transform:scale(1.2);opacity:.7}to{transform:scale(1);opacity:1}}@supports (position: sticky){.sticky-element{position:-webkit-sticky;position:sticky}}@supports (-webkit-touch-callout: none){.sticky-element{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}}@media screen and (-webkit-min-device-pixel-ratio: 0){.sticky-element{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.responsive-table{border-collapse:collapse;width:100%}.responsive-table.show-borders .MuiTableRow-root{transition:all .2s ease-in-out;border-bottom:1px solid rgba(0,0,0,.08)!important}.responsive-table.show-borders .MuiTableRow-root:last-child{border-bottom:none!important}.responsive-table.no-borders .MuiTableRow-root{border-bottom:none!important}.responsive-table .MuiTableRow-root:hover{background-color:#00000005!important}.responsive-table.show-borders .MuiTableCell-root{border-bottom:1px solid rgba(0,0,0,.08)!important;border-right:1px solid rgba(0,0,0,.05)!important;color:#000000de!important;transition:all .2s ease-in-out}.responsive-table.no-borders .MuiTableCell-root{border-bottom:none!important;border-right:none!important;color:#000000de!important;transition:all .2s ease-in-out}.responsive-table .MuiTableCell-root:last-child{border-right:none!important}.responsive-table .MuiTableHead-root .MuiTableCell-root{background-color:#00000005!important;border-bottom:1px solid rgba(0,0,0,.12)!important;font-weight:600!important;color:#000000de!important}.responsive-table .MuiTableHead-root .MuiTableCell-root *{color:#000000de!important;font-weight:600!important}.responsive-table .MuiTableHead-root .MuiTableCell-root,.responsive-table .MuiTableHead-root .MuiTableCell-root *,.responsive-table .MuiTableHead-root .MuiTableCell-root span,.responsive-table .MuiTableHead-root .MuiTableCell-root div,.responsive-table .MuiTableHead-root .MuiTableCell-root p,.responsive-table .MuiTableHead-root .MuiTableCell-root strong,.responsive-table .MuiTableHead-root .MuiTableCell-root b{color:#000!important;font-weight:600!important}.responsive-table .MuiTableHead-root .MuiTableCell-root,.responsive-table .MuiTableHead-root .MuiTableCell-root *,.responsive-table .MuiTableHead-root .MuiTableCell-root *:before,.responsive-table .MuiTableHead-root .MuiTableCell-root *:after{color:#000!important;font-weight:600!important}.responsive-table.responsive-table .MuiTableHead-root .MuiTableCell-root,.responsive-table.responsive-table .MuiTableHead-root .MuiTableCell-root *{color:#000!important;font-weight:600!important}.responsive-table .MuiTableContainer-root{border:1px solid rgba(0,0,0,.08)!important;overflow:hidden}.MuiTableCell-root{border-bottom:none!important}.responsive-table.striped .MuiTableBody-root .MuiTableRow-root:nth-of-type(2n){background-color:#00000005!important}.responsive-table.show-borders .MuiTableBody-root .MuiTableRow-root{border-bottom:1px solid rgba(0,0,0,.12)!important}.responsive-table.show-borders .MuiTableBody-root .MuiTableRow-root:last-child{border-bottom:none!important}.responsive-table.no-borders .MuiTableBody-root .MuiTableRow-root{border-bottom:none!important}.responsive-table.hoverable .MuiTableRow-root:hover{background-color:#00000005!important;cursor:pointer}.responsive-table-actions{opacity:0;transition:opacity .2s ease-in-out}.responsive-table .MuiTableRow-root:hover .responsive-table-actions{opacity:1!important}.responsive-table.loading .MuiTableBody-root .MuiTableRow-root{opacity:.6}.responsive-table.empty .MuiTableBody-root .MuiTableRow-root{text-align:center}@media (max-width: 600px){.responsive-table .MuiTableCell-root{padding:8px 4px!important;font-size:.75rem!important}.responsive-table .MuiTableHead-root .MuiTableCell-root{font-size:.7rem!important}}@media (max-width: 400px){.responsive-table .MuiTableCell-root{padding:6px 2px!important;font-size:.7rem!important}}@media (prefers-color-scheme: dark){.responsive-table.show-borders .MuiTableRow-root{border-bottom:1px solid rgba(255,255,255,.12)!important}.responsive-table.show-borders .MuiTableRow-root:last-child{border-bottom:none!important}.responsive-table.no-borders .MuiTableRow-root{border-bottom:none!important}.responsive-table.show-borders .MuiTableCell-root{border-bottom:1px solid rgba(255,255,255,.12)!important;border-right:1px solid rgba(255,255,255,.08)!important}.responsive-table.no-borders .MuiTableCell-root{border-bottom:none!important;border-right:none!important;color:#ffffffde!important}.responsive-table .MuiTableHead-root .MuiTableCell-root{background-color:#ffffff0d!important;border-bottom:1px solid rgba(255,255,255,.12)!important;color:#ffffffde!important}.responsive-table .MuiTableContainer-root{border:1px solid rgba(255,255,255,.12)!important}.responsive-table.striped .MuiTableBody-root .MuiTableRow-root:nth-of-type(2n){background-color:#ffffff0d!important}.responsive-table.show-borders .MuiTableBody-root .MuiTableRow-root{border-bottom:1px solid rgba(255,255,255,.15)!important}.responsive-table.show-borders .MuiTableBody-root .MuiTableRow-root:last-child{border-bottom:none!important}.responsive-table.no-borders .MuiTableBody-root .MuiTableRow-root{border-bottom:none!important}.responsive-table.hoverable .MuiTableRow-root:hover{background-color:#ffffff0d!important}}.portfolio-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px #0000001a;transition:all .2s ease;cursor:pointer;height:100%;display:flex;flex-direction:column;overflow:hidden}.portfolio-card:hover{transform:translateY(-4px);box-shadow:0 8px 25px #00000026;border-color:#3b82f6}.portfolio-card--fund{border-left:4px solid #7c3aed;background:linear-gradient(135deg,#faf5ff,#fff)}.portfolio-card--fund:hover{border-color:#7c3aed;box-shadow:0 8px 25px #7c3aed26}.portfolio-card--fund .portfolio-card__type-badge{background:#7c3aed;color:#fff}.portfolio-card--fund .portfolio-card__actions{background:linear-gradient(135deg,#faf5ff,#f3f4f6)}.portfolio-card--individual{border-left:4px solid #059669;background:linear-gradient(135deg,#f0fdf4,#fff)}.portfolio-card--individual:hover{border-color:#059669;box-shadow:0 8px 25px #05966926}.portfolio-card--individual .portfolio-card__type-badge{background:#059669;color:#fff}.portfolio-card--individual .portfolio-card__actions{background:linear-gradient(135deg,#f0fdf4,#f3f4f6)}.portfolio-card__content{padding:.75rem;flex-grow:1;display:flex;flex-direction:column}.portfolio-card__header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem;gap:.75rem}.portfolio-card__title-section{display:flex;flex-direction:column;gap:.25rem;flex:1;min-width:0}.portfolio-card__title-wrapper{display:flex;align-items:center;gap:.5rem;min-width:0}.portfolio-card__public-icon{transition:all .2s ease;flex-shrink:0}.portfolio-card__public-icon:hover{transform:scale(1.1);color:#1565c0!important}.portfolio-card__type-icon{font-size:1.25rem;flex-shrink:0}.portfolio-card__type-icon--fund{color:#7c3aed}.portfolio-card__type-icon--individual{color:#059669}.portfolio-card__type-badge{display:inline-flex;align-items:center;padding:.25rem .75rem;border-radius:6px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;align-self:flex-start}.portfolio-card__title{margin:0;font-size:1.125rem;font-weight:600;color:#111827;line-height:1.2;text-align:left;word-break:break-word;flex:1;min-width:0}.portfolio-card__currency{display:inline-flex;align-items:center;padding:.25rem .75rem;background:#f3f4f6;color:#374151;border-radius:6px;font-size:.75rem;font-weight:500;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;flex-shrink:0}.portfolio-card__currency--primary{background:#dbeafe;color:#1e40af}.portfolio-card__metrics{display:grid;gap:.75rem;flex-grow:1}.portfolio-card__total-value{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-bottom:.25rem;text-align:center}.portfolio-card__total-value-icon{color:#3b82f6;font-size:1.25rem}.portfolio-card__total-value-amount{font-size:1.125rem;font-weight:700;color:#111827;line-height:1.2}.portfolio-card__total-value-label{font-size:.75rem;color:#6b7280;margin-top:.125rem}.portfolio-card__pl-section{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.portfolio-card__pl-item{display:flex;flex-direction:column;gap:.25rem;min-width:0}.portfolio-card__pl-header{display:flex;align-items:flex-start;gap:.25rem;min-width:0}.portfolio-card__pl-icon{font-size:1rem;flex-shrink:0;margin-top:.125rem}.portfolio-card__pl-icon--positive{color:#059669}.portfolio-card__pl-icon--negative{color:#dc2626}.portfolio-card__pl-amount{font-size:.75rem;font-weight:600;line-height:1.2;min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portfolio-card__pl-amount--positive{color:#059669}.portfolio-card__pl-amount--negative{color:#dc2626}.portfolio-card__pl-label{font-size:.625rem;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;font-weight:500;word-break:break-word;overflow-wrap:break-word}.portfolio-card__cash-balance{margin-top:.5rem;padding-top:.5rem;border-top:1px solid #f3f4f6}.portfolio-card__cash-label{font-size:.625rem;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;font-weight:500;margin-bottom:.125rem}.portfolio-card__cash-amount{font-size:.75rem;color:#374151;font-weight:500}.portfolio-card__actions{display:flex;justify-content:space-between;align-items:center;padding:.5rem .75rem;background:#f8fafc;border-top:1px solid #f3f4f6;gap:.5rem;position:relative;z-index:10}.portfolio-card__actions .MuiIconButton-root{position:relative;z-index:11;pointer-events:auto;cursor:pointer}.portfolio-card__actions .MuiIconButton-root:hover{transform:scale(1.05);transition:transform .2s ease}.portfolio-card__view-btn{display:flex;align-items:center;gap:.25rem;padding:.375rem .75rem;background:#fff;color:#374151;border:1px solid #d1d5db;border-radius:6px;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s ease;text-decoration:none;flex:1;justify-content:center}.portfolio-card__view-btn:hover{background:#f9fafb;border-color:#9ca3af;transform:translateY(-1px)}.portfolio-card__edit-btn{display:flex;align-items:center;gap:.25rem;padding:.375rem .5rem;background:transparent;color:#6b7280;border:none;border-radius:6px;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s ease;text-decoration:none}.portfolio-card__edit-btn:hover{background:#f3f4f6;color:#374151}.portfolio-card__copy-btn{display:flex;align-items:center;gap:.25rem;padding:.375rem .5rem;background:transparent;color:#6b7280;border:none;border-radius:6px;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s ease;text-decoration:none;pointer-events:auto;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.portfolio-card__copy-btn:hover{background:#f3f4f6;color:#374151}.portfolio-card__delete-btn{display:flex;align-items:center;gap:.25rem;padding:.375rem .5rem;background:transparent;border:1px solid transparent;border-radius:.375rem;color:#dc2626;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s ease;text-decoration:none;min-width:auto;flex-shrink:0}.portfolio-card__delete-btn:hover{background:#fef2f2;color:#b91c1c;border-color:#fecaca}.portfolio-card__delete-btn:active{transform:translateY(0);background:#fee2e2}.portfolio-card--deleted{opacity:.5;pointer-events:none;transition:opacity .3s ease}@media (max-width: 1024px){.portfolio-card__actions{flex-direction:row;gap:.25rem;flex-wrap:nowrap;justify-content:center}}@media (max-width: 768px){.portfolio-card__content{padding:.5rem}.portfolio-card__header{margin-bottom:.5rem}.portfolio-card__title,.portfolio-card__total-value-amount{font-size:1rem}.portfolio-card__pl-amount{font-size:.75rem}.portfolio-card__actions{padding:.375rem .5rem;flex-direction:row;gap:.25rem;flex-wrap:nowrap;justify-content:center}.portfolio-card__view-btn{flex:1;min-width:0}.portfolio-card__edit-btn,.portfolio-card__copy-btn,.portfolio-card__delete-btn{flex:1;min-width:0;justify-content:center;padding:.25rem .375rem;font-size:.625rem}}@media (max-width: 480px){.portfolio-card__content{padding:.5rem}.portfolio-card__header{flex-direction:row;align-items:flex-start;gap:.5rem;margin-bottom:.5rem}.portfolio-card__title{font-size:.8rem;line-height:1.1}.portfolio-card__total-value-amount{font-size:.875rem}.portfolio-card__pl-amount{font-size:.6rem}.portfolio-card__actions{padding:.25rem .375rem;gap:.125rem;justify-content:center}.portfolio-card__view-btn,.portfolio-card__edit-btn,.portfolio-card__copy-btn,.portfolio-card__delete-btn{padding:.2rem .25rem;font-size:.5rem;min-width:0}.portfolio-card__title-section{align-items:flex-start;text-align:left}.portfolio-card__title-wrapper{justify-content:flex-start}.portfolio-card__type-badge{align-self:flex-start}.portfolio-card__title{font-size:.875rem;text-align:left}.portfolio-card__currency{align-self:center}.portfolio-card__pl-section{grid-template-columns:1fr 1fr;gap:.5rem}.portfolio-card__pl-header{justify-content:flex-start}.portfolio-card__pl-amount{text-align:left;font-size:.625rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portfolio-card__pl-label{text-align:left}.portfolio-card__total-value{justify-content:center;text-align:center}.portfolio-card__cash-balance{text-align:left}}@media (max-width: 360px){.portfolio-card__content{padding:.375rem}.portfolio-card__title{font-size:.75rem;line-height:1.1}.portfolio-card__total-value-amount{font-size:.8rem}.portfolio-card__pl-amount{font-size:.55rem}.portfolio-card__pl-section{grid-template-columns:1fr 1fr;gap:.375rem}.portfolio-card__header{flex-direction:row;align-items:flex-start;gap:.375rem}.portfolio-card__title-section{align-items:flex-start;text-align:left}.portfolio-card__title-wrapper{justify-content:flex-start}.portfolio-card__type-badge{align-self:flex-start}.portfolio-card__title{text-align:left}.portfolio-card__currency{align-self:flex-start}.portfolio-card__actions{padding:.2rem .25rem;gap:.1rem;justify-content:center}.portfolio-card__view-btn,.portfolio-card__edit-btn,.portfolio-card__copy-btn,.portfolio-card__delete-btn{padding:.15rem .2rem;font-size:.45rem;min-width:0}.portfolio-card__type-badge,.portfolio-card__currency{font-size:.6rem;padding:.2rem .5rem}}.portfolio-card--loading{opacity:.6;pointer-events:none}.portfolio-card--loading:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);animation:shimmer 1.5s infinite}@keyframes shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.portfolio-card--error{border-color:#dc2626;background:#fef2f2}.portfolio-card--error .portfolio-card__title{color:#dc2626}.portfolio-card--success{border-color:#059669;background:#f0fdf4}.portfolio-card--success .portfolio-card__title{color:#059669}.portfolio-card:focus{outline:none;box-shadow:0 0 0 3px #3b82f61a}.portfolio-card__view-btn:focus,.portfolio-card__edit-btn:focus{outline:none;box-shadow:0 0 0 3px #3b82f61a}.portfolio-card{animation:fadeInUp .3s ease-out}.portfolio-list{padding:1.5rem;background:#f8fafc;min-height:100vh}.portfolio-list__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;flex-wrap:wrap;gap:1rem}.portfolio-list__title{margin:0;font-size:2rem;font-weight:700;color:#111827;line-height:1.2}.portfolio-list__create-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;text-decoration:none;white-space:nowrap}.portfolio-list__create-btn:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.portfolio-list__filters{display:flex;gap:1rem;margin-bottom:2rem;flex-wrap:wrap;align-items:center}.portfolio-list__search{min-width:200px;flex:1}.portfolio-list__search .MuiOutlinedInput-root{background:#fff;border-radius:8px}.portfolio-list__currency-filter{min-width:120px}.portfolio-list__currency-filter .MuiOutlinedInput-root{background:#fff;border-radius:8px}.portfolio-list__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:1.5rem;margin-bottom:2rem}.portfolio-list__empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:500px;text-align:center;padding:3rem 2rem;background:linear-gradient(135deg,#fff,#f8fafc);border-radius:16px;box-shadow:0 4px 20px #00000014;border:1px solid #e5e7eb;position:relative;overflow:hidden}.portfolio-list__empty:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#3b82f6,#10b981,#f59e0b);border-radius:16px 16px 0 0}.portfolio-list__empty-illustration{margin-bottom:2rem;position:relative}.portfolio-list__empty-icon{display:flex;align-items:center;justify-content:center;width:120px;height:120px;margin:0 auto;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:50%;box-shadow:0 8px 25px #3b82f626;animation:float 3s ease-in-out infinite;border:2px solid rgba(59,130,246,.1)}.portfolio-list__empty-content{max-width:600px;margin-bottom:2rem}.portfolio-list__empty-title{margin:0 0 1rem;font-size:1.75rem;font-weight:700;color:#111827;line-height:1.3}.portfolio-list__empty-description{margin:0 0 2rem;color:#6b7280;line-height:1.6;font-size:1rem}.portfolio-list__empty-features{display:flex;justify-content:center;gap:2rem;margin-bottom:2rem;flex-wrap:wrap}.portfolio-list__empty-feature{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1rem;background:#3b82f60d;border-radius:12px;border:1px solid rgba(59,130,246,.1);min-width:120px;transition:all .2s ease}.portfolio-list__empty-feature:hover{background:#3b82f61a;transform:translateY(-2px)}.portfolio-list__empty-feature-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:#fffc;border-radius:12px;margin-bottom:.5rem;box-shadow:0 2px 8px #0000001a;transition:all .2s ease}.portfolio-list__empty-feature span{font-size:.875rem;font-weight:500;color:#374151}.portfolio-list__empty-actions{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center}.portfolio-list__empty-btn{display:flex;align-items:center;gap:.5rem;padding:.875rem 1.75rem;border:none;border-radius:10px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;text-decoration:none;min-width:180px;justify-content:center}.portfolio-list__empty-btn--primary{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff!important;box-shadow:0 4px 15px #3b82f64d}.portfolio-list__empty-btn--primary:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff!important;transform:translateY(-2px);box-shadow:0 6px 20px #3b82f666}.portfolio-list__empty-btn--secondary{background:#fff;color:#374151;border:2px solid #e5e7eb;box-shadow:0 2px 8px #0000000d}.portfolio-list__empty-btn--secondary:hover{background:#f9fafb;border-color:#d1d5db;transform:translateY(-1px);box-shadow:0 4px 12px #0000001a}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.portfolio-list__fab{position:fixed;bottom:24px;right:24px;z-index:1000;display:none}.portfolio-list__loading{display:flex;justify-content:center;align-items:center;min-height:400px}.portfolio-list__error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:1rem;border-radius:8px;margin-bottom:1rem}@media (max-width: 1024px){.portfolio-list{padding:1.25rem}.portfolio-list__header{flex-direction:row;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem}.portfolio-list__create-btn{align-self:flex-end}}@media (max-width: 768px){.portfolio-list{padding:1rem}.portfolio-list__title{font-size:1.75rem}.portfolio-list__filters{flex-direction:column;align-items:stretch;gap:.75rem;margin-bottom:1.5rem}.portfolio-list__search{min-width:auto}}@media (max-width: 600px){.portfolio-list__grid{grid-template-columns:1fr;gap:1rem}}.portfolio-list__empty{min-height:400px;padding:2rem 1.5rem}.portfolio-list__empty-icon{width:100px;height:100px}.portfolio-list__empty-title{font-size:1.5rem}.portfolio-list__empty-features{gap:.75rem;flex-direction:row;flex-wrap:wrap;justify-content:center}.portfolio-list__empty-feature{min-width:90px;padding:.75rem;flex:1;max-width:140px}.portfolio-list__empty-actions{flex-direction:column;align-items:center}.portfolio-list__empty-btn{min-width:200px}.portfolio-list__fab{display:flex}.portfolio-list__create-btn{display:none}@media (max-width: 480px){.portfolio-list{padding:.75rem}.portfolio-list__title{font-size:1.5rem}.portfolio-list__empty{min-height:350px;padding:1.5rem 1rem}.portfolio-list__empty-icon{width:80px;height:80px}.portfolio-list__empty-feature-icon{width:40px;height:40px}.portfolio-list__empty-title{font-size:1.25rem}.portfolio-list__empty-description{font-size:.875rem}.portfolio-list__empty-features{flex-direction:row;gap:.5rem;flex-wrap:wrap;justify-content:center}.portfolio-list__empty-feature{min-width:80px;width:auto;max-width:120px;padding:.5rem;flex:1}.portfolio-list__empty-actions{width:100%}.portfolio-list__empty-btn{min-width:100%;width:100%}}.portfolio-list__grid{animation:fadeInUp .3s ease-out}.portfolio-list__create-btn:focus,.portfolio-list__empty-btn:focus{outline:none;box-shadow:0 0 0 3px #3b82f61a}.portfolio-list__grid>*{transition:transform .2s ease}.portfolio-list__grid>*:hover{transform:translateY(-2px)}@media (max-width: 1024px){.portfolio-detail{overflow-x:hidden}.portfolio-detail .MuiContainer-root{max-width:100%!important;padding-left:16px!important;padding-right:16px!important}.portfolio-detail .MuiGrid-container{margin:0!important;width:100%!important}.portfolio-detail .MuiGrid-item{padding:8px!important}}@keyframes modalSlideIn{0%{opacity:0;transform:scale(.9) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.portfolio-detail{padding:1.5rem;background:#f8fafc;min-height:100vh}.portfolio-detail__header{display:flex;align-items:center;gap:1.5rem;margin-bottom:2rem;flex-wrap:wrap}.portfolio-detail__back-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#fff;color:#374151;border:1px solid #d1d5db;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;text-decoration:none}.portfolio-detail__back-btn:hover{background:#f9fafb;border-color:#9ca3af;transform:translateY(-1px)}.portfolio-detail__title{margin:0;font-size:2rem;font-weight:700;color:#111827;line-height:1.2;flex:1;min-width:0}.portfolio-detail__actions{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.portfolio-detail__edit-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;text-decoration:none}.portfolio-detail__edit-btn:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.portfolio-detail__trades-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:#6b7280;color:#fff;border:none;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;text-decoration:none}.portfolio-detail__trades-btn:hover{background:#4b5563;transform:translateY(-1px);box-shadow:0 4px 12px #6b72804d}.portfolio-detail__summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:2rem}.portfolio-detail__summary-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.5rem;text-align:center;box-shadow:0 1px 3px #0000001a;transition:all .2s ease}.portfolio-detail__summary-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.portfolio-detail__summary-icon{font-size:2.5rem;margin-bottom:.75rem;display:block}.portfolio-detail__summary-value{font-size:1.5rem;font-weight:700;color:#111827;margin-bottom:.5rem;line-height:1.2}.portfolio-detail__summary-value--positive{color:#059669}.portfolio-detail__summary-value--negative{color:#dc2626}.portfolio-detail__summary-label{font-size:.875rem;color:#6b7280;font-weight:500;text-transform:uppercase;letter-spacing:.05em}.portfolio-detail__tabs{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.portfolio-detail__tabs-header{border-bottom:1px solid #e5e7eb;background:#f8fafc}.portfolio-detail__tabs-list{display:flex;margin:0;padding:0;list-style:none}.portfolio-detail__tab{flex:1;padding:1rem 1.5rem;background:transparent;border:none;color:#6b7280;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;border-bottom:2px solid transparent}.portfolio-detail__tab:hover{background:#f1f5f9;color:#374151}.portfolio-detail__tab--active{color:#3b82f6;border-bottom-color:#3b82f6;background:#fff}.portfolio-detail__tab-content{padding:1.5rem}.portfolio-detail__tab-title{margin:0 0 1rem;font-size:1.25rem;font-weight:600;color:#111827}.portfolio-detail__overview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.portfolio-detail__info-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;padding:1.25rem}.portfolio-detail__info-title{margin:0 0 1rem;font-size:1rem;font-weight:600;color:#111827}.portfolio-detail__info-item{margin-bottom:.75rem;font-size:.875rem;color:#6b7280}.portfolio-detail__info-item:last-child{margin-bottom:0}.portfolio-detail__loading{display:flex;justify-content:center;align-items:center;padding:3rem}.portfolio-detail__error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:1rem;border-radius:8px;margin-bottom:1rem}@media (max-width: 1024px) and (min-width: 769px){.portfolio-detail{padding:1.25rem;max-width:100vw;overflow-x:hidden}.portfolio-detail__header{flex-direction:row;align-items:center;gap:1rem;flex-wrap:wrap}.portfolio-detail__title{font-size:1.75rem;text-align:left;flex:1;min-width:0}.portfolio-detail__actions{justify-content:flex-end;flex-wrap:wrap}.portfolio-detail__summary{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.25rem}.portfolio-detail__tabs{width:100%;max-width:100%}.portfolio-detail__tabs-list{flex-wrap:wrap}.portfolio-detail__tab{flex:1;min-width:120px;text-align:center}}@media (max-width: 768px){.portfolio-detail{padding:1.25rem;max-width:100vw;overflow-x:hidden}.portfolio-detail__header{flex-direction:column;align-items:stretch;gap:1rem}.portfolio-detail__title{font-size:1.75rem;text-align:center}.portfolio-detail__actions{justify-content:center}.portfolio-detail__summary{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1.25rem}}@media (max-width: 768px){.portfolio-detail{padding:1rem}.portfolio-detail__title{font-size:1.5rem}.portfolio-detail__summary{grid-template-columns:repeat(2,1fr);gap:1rem}.portfolio-detail__summary-card{padding:1.25rem}.portfolio-detail__summary-value{font-size:1.25rem}.portfolio-detail__tabs-list{flex-direction:column}.portfolio-detail__tab{text-align:left;border-bottom:1px solid #e5e7eb;border-right:2px solid transparent}.portfolio-detail__tab--active{border-right-color:#3b82f6;border-bottom-color:#e5e7eb}.portfolio-detail__overview-grid{grid-template-columns:1fr;gap:1rem}}@media (max-width: 768px){.portfolio-detail .MuiTabs-root{width:calc(100% - 50px)!important;border-bottom:1px solid #e5e7eb;background:#f8fafc;border-radius:8px 8px 0 0;margin-bottom:0!important;flex:1}.portfolio-detail .MuiIconButton-root{flex-shrink:0!important;width:40px!important;height:40px!important;margin-left:.5rem!important}.portfolio-detail .MuiTabs-flexContainer{gap:.25rem!important;padding:.25rem}.portfolio-detail .MuiTab-root{min-width:70px!important;padding:.5rem .75rem!important;font-size:.7rem!important;min-height:36px!important}.portfolio-detail .MuiTab-root .MuiTab-iconWrapper{font-size:.9rem!important;margin-right:.25rem!important}.portfolio-detail .MuiTabs-scrollButtons{width:32px!important;height:32px!important}.portfolio-detail .MuiTabPanel-root{padding:.75rem!important}.portfolio-detail .MuiGrid-container{margin:0!important;width:100%!important}.portfolio-detail .MuiGrid-item{padding:.25rem!important}.portfolio-detail .MuiCard-root{margin:.25rem!important;padding:.5rem!important}.portfolio-detail .MuiCardContent-root{padding:.5rem!important}.portfolio-detail .MuiTypography-root{font-size:.8rem!important}.portfolio-detail .MuiButton-root{min-height:36px!important;font-size:.75rem!important;padding:.5rem .75rem!important}.portfolio-detail .MuiTable-root{font-size:.7rem!important}.portfolio-detail .MuiTableCell-root{padding:.5rem .25rem!important}}@media (max-width: 480px){.portfolio-detail{padding:.75rem}.portfolio-detail__title{font-size:1.25rem}.portfolio-detail__actions{flex-direction:column}.portfolio-detail .MuiTabs-root{width:calc(100% - 45px)!important}.portfolio-detail .MuiIconButton-root{width:36px!important;height:36px!important;margin-left:.25rem!important}.portfolio-detail .MuiTab-root{min-width:60px!important;padding:.4rem .6rem!important;font-size:.65rem!important}.portfolio-detail__edit-btn,.portfolio-detail__trades-btn{width:100%;justify-content:center}.portfolio-detail__summary{grid-template-columns:1fr;gap:.75rem}.portfolio-detail__summary-card{padding:1rem}.portfolio-detail__summary-value{font-size:1.125rem}.portfolio-detail__tab-content{padding:1rem}}.portfolio-detail__summary{animation:fadeInUp .3s ease-out}.portfolio-detail__tabs{animation:fadeInUp .3s ease-out .1s both}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.portfolio-detail__back-btn:focus,.portfolio-detail__edit-btn:focus,.portfolio-detail__trades-btn:focus,.portfolio-detail__tab:focus{outline:none;box-shadow:0 0 0 3px #3b82f61a}.portfolio-detail--loading{opacity:.6;pointer-events:none}.portfolio-detail--error{border-color:#dc2626;background:#fef2f2}
