:root { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.42857143; color: #333; background: #ebebeb; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #337ab7; text-decoration: none; }
a:hover { color: #23527c; text-decoration: underline; }
button, input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.topbar { min-height: 50px; background: linear-gradient(#3c3c3c, #222); border-bottom: 1px solid #080808; color: #eee; }
.topbar-inner { max-width: 1170px; min-height: 50px; margin: 0 auto; display: flex; align-items: stretch; justify-content: space-between; padding: 0 15px; }
.topnav { display: flex; align-items: stretch; min-width: 0; }
.topnav a, .topnav .nav-disabled { display: flex; align-items: center; flex: none; padding: 0 12px; white-space: nowrap; color: #aaa; font-size: 14px; }
.topnav a:hover { color: #fff; text-decoration: none; }
.topnav a.active { color: #fff; background: #080808; }
.nav-badge { display: inline-block; min-width: 20px; margin-left: 4px; padding: 2px 5px; border-radius: 10px; background: #888; color: #fff; text-align: center; font-size: 11px; font-weight: bold; line-height: 1; }
.topnav .nav-disabled { cursor: default; }
.nav-dropdown { position: relative; display: flex; flex: none; }
.nav-dropdown > a { gap: 5px; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 10; min-width: 165px; padding: 5px 0; border: 1px solid #ccc; border-radius: 4px; background: #fff; box-shadow: 0 6px 12px rgba(0, 0, 0, .175); }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.topnav .nav-dropdown-menu a { display: block; padding: 5px 15px; color: #333; }
.topnav .nav-dropdown-menu a:hover { background: #f5f5f5; color: #262626; }
.account-menu { display: flex; align-items: center; gap: 8px; flex: none; padding-left: 12px; color: #aaa; white-space: nowrap; }
.account-menu form { margin: 0; }
.account-menu button { border: 0; background: transparent; color: #aaa; cursor: pointer; padding: 0; }
.account-menu button:hover { color: #fff; }
.brand { display: flex; align-items: center; color: #fff; font-weight: bold; }
.page-container { max-width: 1170px; margin: 10px auto 0; padding: 0 15px 18px; }
.panel { border: 1px solid #ddd; border-radius: 4px; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .05); }
.panel-heading { min-height: 39px; padding: 9px 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #ddd; border-radius: 3px 3px 0 0; background: linear-gradient(#f5f5f5, #e8e8e8); }
.panel-heading h1 { margin: 0; font-size: 16px; font-weight: 500; line-height: 20px; }
.panel-body { padding: 15px; }
.stocktable-panel .panel-body { padding-top: 12px; }
.panel-search { display: flex; gap: 5px; align-items: center; margin: -4px 0; }
.panel-search { position: relative; }
.search-suggestions { position: absolute; z-index: 20; top: 100%; right: 0; width: 280px; max-height: 320px; overflow-y: auto; border: 1px solid #ccc; border-radius: 4px; background: #fff; box-shadow: 0 6px 12px rgba(0, 0, 0, .175); }
.search-suggestions[hidden] { display: none; }
.search-suggestions a { display: block; padding: 7px 10px; color: #333; }
.search-suggestions a:hover, .search-suggestions a:focus { background: #f5f5f5; color: #23527c; text-decoration: none; }
.panel-search input, .login-form input { width: 238px; height: 30px; padding: 5px 9px; border: 1px solid #ccc; border-radius: 4px; background: #fff; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); }
.panel-search button, .primary-button { height: 30px; padding: 4px 11px; border: 1px solid #2e6da4; border-radius: 4px; background: #337ab7; color: #fff; cursor: pointer; }
.panel-search button:hover, .primary-button:hover { background: #286090; }
.table-scroll { width: 100%; overflow-x: auto; }
.stock-table, .detail-table { width: 100%; border-collapse: collapse; }
.stock-table { min-width: 1020px; table-layout: fixed; font-size: 12px; }
.stock-table .company-col { width: 13.1%; }
.stock-table .price-col { width: 7.6%; }
.stock-table .change-col { width: 10.05%; }
.stock-table .flex-col { width: 5.6%; }
.stock-table .rent-col { width: 8.65%; }
.stock-table .stable-col { width: 9.25%; }
.stock-table .chart-col { width: 5.95%; }
.stock-table .total-col { width: 7.1%; }
.stock-table .verdict-col { width: 7.35%; }
.stock-table .estimates-col { width: 11.2%; }
.stock-table .value-col { width: 11.2%; }
.stock-table .action-col { width: 2.95%; }
.group-stock-table .company-col { width: 10.4%; }
.group-stock-table .price-col { width: 5.7%; }
.group-stock-table .kmv-col { width: 4.6%; }
.country-stock-table .company-col { width: 13.1%; }
.country-stock-table .price-col { width: 6.2%; }
.watchlist-table .company-col { width: auto; }
.watchlist-table .price-col { width: 5.25%; }
.watchlist-table .change-col { width: 9.2%; }
.watchlist-table .flex-col { width: 5.15%; }
.watchlist-table .rent-col { width: 8.05%; }
.watchlist-table .stable-col { width: 8.5%; }
.watchlist-table .chart-col { width: 5.4%; }
.watchlist-table .total-col { width: 6.6%; }
.watchlist-table .verdict-col { width: 6.85%; }
.watchlist-table .estimates-col { width: 13.9%; }
.watchlist-table .value-col { width: 10.4%; }
.watchlist-table .action-col { width: 32px; }
.stock-table th, .stock-table td { padding: 5px 3px; border: 1px solid #ddd; text-align: center; vertical-align: middle; line-height: 1.42857143; }
.stock-table thead th { height: 71px; background: #f2f2f2; font-weight: bold; line-height: 1.2; }
.stock-table thead th:first-child { text-align: center; }
.stock-table thead th a { display: flex; align-items: center; justify-content: space-between; min-height: 27px; gap: 2px; color: inherit; }
.stock-table thead th a:hover { text-decoration: none; color: #23527c; }
.stock-table thead th a > span:first-child { flex: 1; }
.sort-icon { display: flex; flex: none; flex-direction: column; color: #444; font-size: 8px; line-height: 7px; }
.sort-icon::before { content: '▲'; }
.sort-icon::after { content: '▼'; }
.stock-table .company-name { text-align: left; }
.stock-table tbody tr:nth-child(odd) { background: #f9f9f9; }
.stock-table tbody tr:hover { background: #f5f5f5; }
.stock-table .company-name { overflow-wrap: anywhere; }
.stock-table .numeric { text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }
.stock-table tbody td:nth-child(10), .stock-table tbody td:nth-child(11) { white-space: nowrap; font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }
.stock-table .unit { display: inline-block; min-width: 1em; text-align: left; }
.stock-table .watchlist-eye { display: inline-flex; width: 13px; height: 13px; margin-left: 8px; vertical-align: middle; }
.stock-table .watchlist-eye svg, .watchlist-action svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.watchlist-action form { margin: 0; }
.watchlist-action button { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 22px; padding: 2px; border: 1px solid #ccc; border-radius: 3px; background: #fff; color: #333; cursor: pointer; font-size: 16px; line-height: 1; }
.watchlist-action button:hover { background: #e6e6e6; }
.stock-table .change-positive { background: #dff0d8; }
.stock-table .change-negative { background: #f2dede; }
.stock-table .pending-value { color: #999; }
.stock-table .score-total, .stock-table .verdict { font-weight: bold; }
.stock-table .empty-state { text-align: center; padding: 18px; }
.market-table { width: 100%; min-width: 1095px; border-collapse: collapse; table-layout: fixed; font-size: 12px; }
.market-table th, .market-table td { padding: 5px 4px; border: 1px solid #ddd; text-align: center; vertical-align: middle; line-height: 1.43; font-variant-numeric: tabular-nums; }
.market-table thead th { height: 54px; background: #f2f2f2; line-height: 1.2; }
.market-table thead th a { display: flex; align-items: center; justify-content: space-between; gap: 2px; color: inherit; }
.market-table thead th a:hover { color: #23527c; text-decoration: none; }
.market-table thead th a > span:first-child { flex: 1; }
.market-table td:first-child { text-align: left; overflow-wrap: anywhere; }
.market-table tbody tr:nth-child(odd) { background: #f9f9f9; }
.market-table tbody tr:hover { background: #f5f5f5; }
.market-table .positive { background: #dff0d8; }
.market-table .negative { background: #f2dede; }
.market-table .total-score { font-weight: bold; }
.overview-panel .panel-body { padding-top: 12px; }
.overview-table { min-width: 1050px; }
.overview-table-country, .overview-table-index { min-width: 1000px; }
.overview-table th, .overview-table td { padding-top: 8px; padding-bottom: 8px; }
.overview-table thead th { height: 75px; }
.overview-table tfoot { background: #f2f2f2; }
.index-detail h2 { margin: 12px 0 3px; font-size: 36px; font-weight: 500; }
.index-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.index-summary .detail-table { width: 100%; }
.index-summary input { width: 112px; padding: 6px 12px; margin-right: 15px; border: 1px solid #ccc; border-radius: 4px; text-align: right; }
.index-summary .detail-table th { width: 43%; }
.index-summary .detail-table td:last-child { text-align: left; }
.index-summary-right { padding-left: 0; }
.index-actions { position: relative; display: flex; justify-content: flex-end; height: 76px; gap: 10px; margin-bottom: 6px; }
.index-actions .primary-button { display: inline-block; width: 52%; height: 35px; margin: 0; text-align: center; font-size: 14px; }
.index-actions button { position: absolute; left: 0; top: 42px; }
.index-actions .index-chart-link { width: 42%; }
.index-points summary { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; list-style: none; }
.index-points summary::-webkit-details-marker { display: none; }
.index-points summary span { color: #337ab7; font-size: 13px; }
.index-points[open] summary span { transform: rotate(90deg); }
.index-points > div { width: 100%; margin-top: 8px; }
.index-points > div > div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 11px; }
.index-points > div > div > span:first-child { font-weight: bold; }
.index-members { margin-top: 80px; }
.index-members summary { margin-bottom: 15px; cursor: pointer; color: #337ab7; }
.index-members .market-table input { width: 80px; padding: 5px; border: 1px solid #ccc; border-radius: 4px; text-align: right; }
.index-members > .primary-button { margin-top: 12px; }
.notice-success { padding: 10px 14px; border: 1px solid #d6e9c6; border-radius: 4px; background: #dff0d8; color: #3c763d; }
.notice-info { padding: 10px 14px; border: 1px solid #bce8f1; border-radius: 4px; background: #d9edf7; color: #31708f; }
.base-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr); gap: 18px 24px; }
.base-grid h3 { margin: 3px 0 8px; font-size: 30px; font-weight: 500; }
.base-grid h3 small, .base-panel .detail-heading small { font-size: 60%; color: #777; }
.base-data-table { width: 100%; }
.base-data-table th { width: 47%; }
.base-data-table td:nth-child(3) { text-align: right; white-space: nowrap; }
.base-data-table td:last-child { width: 54px; }
.financial-table { table-layout: fixed; }
.financial-table .base-label-col { width: 43%; }
.financial-table .base-colon-col { width: 3%; }
.financial-table .base-original-col { width: 27%; }
.financial-table .base-equals-col { width: 3%; }
.financial-table .base-euro-col { width: 24%; }
.financial-table th { width: auto; }
.financial-table td:last-child { width: auto; }
.financial-table td.base-value, .financial-table td.base-euro { text-align: right; white-space: nowrap; }
.financial-table td.base-equals { text-align: center; }
.financial-table td[colspan="3"] { text-align: right; }
.base-data-table .unavailable { color: #a94442; }
.base-data-table td, .base-data-table th { padding-top: 6px; padding-bottom: 6px; line-height: 19px; }
.base-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; padding-top: 10px; }
.base-actions a, .base-actions span { display: block; width: 100%; max-width: 240px; padding: 7px 10px; border: 1px solid #2e6da4; border-radius: 4px; background: #337ab7; color: #fff; text-align: center; white-space: nowrap; }
.base-actions span { opacity: .7; }
.historical-table { min-width: 0; }
.historical-table th, .historical-table td { width: 16.66%; }
.calculation-panel .detail-heading { margin-bottom: 41px; }
.calculation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0 15px; }
.calculation-grid > div:first-child { padding-right: 15px; }
.calculation-grid h3 { margin: 5px 0 10px; font-size: 30px; font-weight: 500; }
.calculation-subpanel { margin-top: 22px; }
.calculation-subpanel .panel-heading h4 { margin: 0; font-size: 14px; font-weight: 500; }
.calculation-summary { width: 100%; }
.calculation-summary th { width: 39%; }
.calculation-summary tr:first-child td:nth-child(4) { font-weight: bold; }
.calculation-summary td:last-child { white-space: nowrap; }
.indicator-details { margin-top: 12px; }
.indicator-details summary { cursor: pointer; color: #337ab7; }
.indicator-details .detail-table { margin-top: 10px; width: 100%; }
.indicator-details .detail-table th { width: 30%; }
.indicator-details .indicator-number { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.indicator-details .indicator-unit { padding-left: 0; white-space: nowrap; overflow-wrap: normal; }
.calculation-actions { margin-top: 50px; }
.wealth-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 18px; }
.wealth-field { display: grid; grid-template-columns: minmax(240px, 1fr) 14px 105px 22px; align-items: center; gap: 6px; min-height: 49px; font-weight: bold; }
.wealth-field input { width: 100%; padding: 6px 9px; border: 1px solid #ccc; border-radius: 4px; text-align: right; font-weight: normal; }
.wealth-results { margin: 0; }
.wealth-results div { display: grid; grid-template-columns: 1fr 125px; min-height: 42px; align-items: center; }
.wealth-results dt { font-weight: bold; }
.wealth-results dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.wealth-note { margin-top: 14px; line-height: 1.5; }
.wealth-table { min-width: 0; table-layout: fixed; font-size: 11px; }
.wealth-table tbody td { white-space: nowrap; }
.wealth-panel .table-scroll { margin-top: 12px; }
.wealth-table th, .wealth-table td { white-space: nowrap; padding: 5px 3px; border-left: 0; border-right: 0; }
.wealth-table thead th { height: 28px; background: #fff; }
.wealth-table tbody tr:nth-child(odd) { background: #fff; }
.wealth-table .year-row { cursor: pointer; font-weight: bold; background: #fff; }
.wealth-table .month-row[hidden] { display: none; }
.settings-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; gap: 20px 30px; }
.settings-form > .panel:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.settings-form > .panel:nth-of-type(2) { grid-column: 1; grid-row: 2; }
.settings-form > .panel:nth-of-type(3) { grid-column: 2; grid-row: 1 / span 2; }
.settings-form > .notice-success, .settings-form > .notice-info, .settings-form > .form-error { grid-column: 1 / -1; }
.settings-recommendation-link { padding: 0; border: 0; background: transparent; color: #245580; font: inherit; font-weight: bold; text-decoration: underline; cursor: pointer; }
.settings-recommendation-notice { margin: 0 0 20px; }
.settings-form .market-table { min-width: 0; }
.settings-form input[type="number"], .settings-form input[inputmode="decimal"], .settings-form select { max-width: 120px; width: 100%; padding: 5px; border: 1px solid #ccc; border-radius: 4px; text-align: right; }
.settings-form input[type="checkbox"] { width: 17px; height: 17px; }
.settings-form th { text-align: center; }
.settings-ratings th:first-child, .settings-indicators th:first-child { text-align: left; }
.settings-maximum thead th, .settings-maximum td { height: 35px; border: 0; border-bottom: 1px solid #ddd; background: #fff; }
.settings-ratings th, .settings-ratings td { height: 44px; }
.settings-ratings tbody th { font-weight: normal; }
.settings-ratings { width: 100%; table-layout: fixed; font-size: 11px; }
.settings-ratings th:first-child { width: 35%; white-space: normal; overflow-wrap: normal; }
.settings-ratings th:not(:first-child) { width: 16.25%; }
.settings-ratings th, .settings-ratings td { padding: 4px 2px; }
.settings-ratings input[inputmode="decimal"] { max-width: 64px; }
.settings-ratings input[type="radio"] { margin: 0 4px 0 0; }
.settings-ratings label { display: inline-flex; align-items: center; font-weight: bold; }
.settings-ratings .settings-manual-interval { text-align: left; }
.settings-ratings .settings-manual-interval input[inputmode="decimal"] { max-width: 54px; }
.settings-general { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; padding: 12px; border: 1px solid #ddd; border-radius: 4px; margin-bottom: 20px; }
.settings-general fieldset { display: flex; gap: 15px; border: 0; }
.settings-general legend { float: left; margin-right: 12px; font-weight: normal; }
.settings-general fieldset label { display: flex; align-items: center; gap: 7px; font-weight: bold; }
.settings-general .settings-max-points { display: grid; grid-template-columns: 75px 1fr; column-gap: 6px; }
.settings-max-points input { grid-row: 1; width: 70px; padding: 5px; border: 1px solid #ccc; border-radius: 4px; text-align: right; }
.settings-max-points small { grid-column: 1 / -1; font-size: 11px; }
.settings-tabs { display: grid; grid-template-columns: repeat(4, 1fr); }
.settings-tabs > input[type="radio"] { position: absolute; opacity: 0; }
.settings-tabs > label { padding: 10px 4px; border: 1px solid transparent; border-bottom-color: #ddd; color: #337ab7; text-align: center; cursor: pointer; white-space: nowrap; }
.settings-tabs > input[type="radio"]:checked + label { border-color: #ddd; border-bottom-color: #fff; border-radius: 4px 4px 0 0; color: #333; }
.settings-tabs > input[type="radio"]:focus-visible + label { outline: 2px solid #337ab7; }
.settings-tab-panels { grid-column: 1 / -1; border: 1px solid #ddd; border-top: 0; padding: 15px 10px; }
.settings-tab-panel { display: none; }
#indicator-tab-flex:checked ~ .settings-tab-panels .settings-tab-flex, #indicator-tab-rent:checked ~ .settings-tab-panels .settings-tab-rent, #indicator-tab-stable:checked ~ .settings-tab-panels .settings-tab-stable, #indicator-tab-chart:checked ~ .settings-tab-panels .settings-tab-chart { display: block; }
.settings-indicators { width: 100%; border-collapse: collapse; font-size: 12px; table-layout: fixed; }
.settings-indicators th, .settings-indicators td { padding: 8px 3px; border-bottom: 1px solid #ddd; text-align: center; vertical-align: middle; }
.settings-indicators th:first-child { width: 16%; }
.settings-indicators th:nth-child(2) { width: 8%; }
.settings-indicators th:nth-child(3) { width: 16%; }
.settings-indicators th:nth-child(4), .settings-indicators th:nth-child(5) { width: 16%; }
.settings-indicators th:nth-child(6) { width: 21%; }
.settings-indicators th:nth-child(7) { width: 7%; }
.settings-indicators input[inputmode="decimal"] { max-width: 70px; }
.settings-indicators select { max-width: 70px; }
.settings-indicators td:nth-child(3) small { display: block; font-size: 10px; }
.settings-indicator-interval > label { display: inline-flex; align-items: center; gap: 2px; margin-right: 4px; }
.settings-indicator-interval label { font-weight: bold; }
.settings-indicator-interval input[type="radio"] { margin: 0; }
.settings-indicator-interval label:last-child { display: block; margin-top: 4px; text-align: left; }
.settings-indicator-interval label:last-child input { max-width: 50px; font-weight: normal; }
.settings-preview-button { display: inline-flex; align-items: center; justify-content: center; width: 23px; height: 25px; padding: 2px; border: 0; background: transparent; color: #337ab7; cursor: pointer; }
.settings-preview-button:hover, .settings-preview-button:focus-visible { color: #23527c; background: #eee; }
.settings-preview-button svg { width: 15px; height: 15px; fill: currentColor; }
.settings-chart-indicators th:nth-child(1) { width: 45%; }
.settings-chart-indicators th:nth-child(2) { width: 15%; }
.settings-chart-indicators th:nth-child(3) { width: 30%; }
.settings-chart-indicators th:nth-child(4) { width: 10%; }
.settings-preview-dialog { width: min(600px, calc(100% - 30px)); max-height: calc(100vh - 60px); padding: 0; border: 1px solid #999; border-radius: 6px; box-shadow: 0 5px 15px rgba(0, 0, 0, .5); color: #333; }
.settings-recommendation-dialog { width: min(1000px, calc(100% - 30px)); max-height: calc(100vh - 60px); padding: 0; border: 1px solid #999; border-radius: 6px; box-shadow: 0 5px 15px rgba(0, 0, 0, .5); color: #333; }
.settings-recommendation-dialog::backdrop { background: rgba(0, 0, 0, .5); }
.settings-recommendation-dialog .settings-preview-dialog-header h2 { margin: 0; font-size: 18px; font-weight: 500; }
.settings-recommendation-dialog .settings-preview-dialog-header small { font-size: 13px; }
.settings-recommendation-close { border: 0; background: transparent; font-size: 25px; line-height: 1; color: #777; cursor: pointer; }
.settings-recommendation-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.settings-recommendation-table th, .settings-recommendation-table td { padding: 6px 8px; border-bottom: 1px solid #ddd; text-align: right; white-space: nowrap; }
.settings-recommendation-table th:nth-child(2) { text-align: left; }
.settings-recommendation-table tbody th { font-weight: normal; }
.settings-recommendation-table tbody th small { display: block; color: #777; }
.settings-recommendation-unavailable { color: #999; }
.settings-recommendation-all { display: inline-flex; gap: 5px; align-items: center; padding: 10px 8px; }
.settings-recommendation-cancel { margin-right: 8px; padding: 6px 12px; border: 1px solid #ccc; border-radius: 4px; background: #fff; cursor: pointer; }
.settings-preview-dialog::backdrop { background: rgba(0, 0, 0, .5); }
.settings-preview-dialog-header, .settings-preview-dialog-footer { display: flex; align-items: center; padding: 15px; }
.settings-preview-dialog-header { justify-content: space-between; border-bottom: 1px solid #e5e5e5; }
.settings-preview-dialog-header h2 { margin: 0; font-size: 18px; font-weight: 500; }
.settings-preview-close { border: 0; background: transparent; font-size: 25px; line-height: 1; color: #777; cursor: pointer; }
.settings-preview-dialog-body { max-height: min(65vh, 600px); overflow: auto; padding: 15px; }
.settings-preview-dialog-body table { width: 100%; border-collapse: collapse; }
.settings-preview-dialog-body th, .settings-preview-dialog-body td { padding: 5px; border-bottom: 1px solid #ddd; text-align: center; }
.settings-preview-dialog-footer { justify-content: flex-end; border-top: 1px solid #e5e5e5; }
.settings-preview-ok { padding: 6px 12px; border: 1px solid #ccc; border-radius: 4px; background: #fff; cursor: pointer; }
.settings-preview { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 11px; font-variant-numeric: tabular-nums; }
.settings-preview th, .settings-preview td { padding: 6px 3px; border-bottom: 1px solid #ddd; text-align: center; white-space: nowrap; }
.settings-preview th:nth-child(1) { width: 18%; }
.settings-preview th:nth-child(2) { width: 9%; }
.settings-preview th:nth-child(3) { width: 15%; }
.settings-preview th:nth-child(4), .settings-preview th:nth-child(5) { width: 8%; }
.settings-preview th:nth-child(6) { width: 10%; }
.settings-preview th:nth-child(7) { width: 17%; }
.settings-preview th:nth-child(8) { width: 9%; }
.settings-preview tbody th { text-align: left; font-weight: normal; }
.settings-rating-labels { margin-bottom: 0; }
.settings-save { margin-top: 18px; }
@media (max-width: 900px) { .settings-form { display: block; } .settings-form > .panel { margin-bottom: 20px; } }
.calculator-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.calculator-table { min-width: 0; margin-bottom: 26px; }
.calculator-column .calculator-table:last-child { margin-bottom: 0; }
.calculator-table thead th { height: 32px; background: #fff; text-align: left; padding-left: 5px; }
.calculator-table tbody tr:nth-child(odd) { background: #fff; }
.calculator-spacer { display: none; }
.calculator-panel[data-direction="long"] .stock-column .calculator-spacer { display: block; height: 160px; }
.calculator-panel[data-direction="short"] .certificate-column .calculator-spacer { display: block; height: 40px; }
.calculator-table td { height: 40px; }
.calculator-table td:first-child { width: 80%; }
.calculator-table td:last-child { text-align: right; white-space: nowrap; }
.calculator-table input { width: 70px; padding: 5px; border: 1px solid #ccc; border-radius: 4px; text-align: right; }
.calculator-table input[inputmode="text"] { width: 95px; }
.calculator-table output { display: inline-block; min-width: 70px; text-align: right; }
.calculator-unit { display: inline-block; min-width: 18px; text-align: left; }
@media (max-width: 1200px) { .calculator-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .wealth-inputs, .calculation-grid, .index-summary, .base-grid { grid-template-columns: 1fr; } .calculation-grid > div:first-child { padding-right: 0; } }
.detail-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 27px; }
.detail-heading h2 { font-size: 36px; line-height: 1.1; font-weight: 500; margin: 18px 0 0 15px; }
.detail-heading form { margin: 0; }
.detail-watchlist { padding: 7px 12px; border: 1px solid #4cae4c; border-radius: 4px; background: #5cb85c; color: #fff; cursor: pointer; }
.detail-watchlist:hover { background: #449d44; }
.detail-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
.detail-table { font-size: 13px; align-self: start; }
.detail-table td, .detail-table th { padding: 9.5px 8px; border-top: 1px solid #ddd; vertical-align: top; text-align: left; line-height: 20px; }
.detail-table th { width: 43%; font-weight: bold; }
.detail-table td:nth-child(2) { width: 20px; text-align: center; }
.detail-table td:last-child { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.detail-side { min-width: 0; }
.detail-chart { display: block; width: 100%; height: auto; max-height: 310px; margin: 0 auto; font-size: 10px; fill: #555; transform: translateX(-18px); }
.detail-chart .chart-grid { stroke: #ccc; stroke-width: 1; }
.detail-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 41px; }
.detail-actions a, .detail-actions span { display: block; min-width: 250px; padding: 7px 10px; text-align: center; border-radius: 4px; border: 1px solid #2e6da4; background: #337ab7; color: #fff; }
.detail-actions a:hover { background: #286090; text-decoration: none; }
.detail-actions span { cursor: not-allowed; opacity: .75; }
.page-footer { max-width: 1170px; margin: 0 auto; padding: 4px 15px 25px; color: #555; font-size: 11px; }
.last-updates { margin: 0; padding: 0; list-style: none; text-align: center; }
.last-updates li { display: inline-block; padding-right: 6px; margin-right: 1px; border-right: 1px solid #777; white-space: nowrap; }
.last-updates li:last-child { border-right: 0; }
.login-panel { max-width: 480px; margin: 35px auto; }
.login-panel h1 { margin: 0; font-size: 22px; font-weight: 500; }
.login-form label { display: block; margin-bottom: 4px; font-weight: bold; }
.login-form input { width: 100%; height: 34px; }
.login-form .form-row { margin-bottom: 15px; }
.form-error { color: #a94442; }
@media (max-width: 700px) { .topbar-inner { flex-wrap: wrap; } .topnav { width: 100%; order: 2; overflow-x: auto; } .topnav a, .topnav .nav-disabled { padding: 12px 8px; } .account-menu { min-height: 50px; } .detail-content { grid-template-columns: 1fr; } .detail-heading h2 { font-size: 26px; } }
