:root {
  --portal-ink: #132b33;
  --portal-ink-deep: #0b2027;
  --portal-muted: #687a80;
  --portal-line: #d9e5e6;
  --portal-soft: #f2f7f6;
  --portal-brand: #148c91;
  --portal-brand-dark: #09686e;
  --portal-copper: #bd7654;
  --portal-up: #16845b;
  --portal-down: #c84b4b;
  --portal-warning: #bd7b12;
  --portal-shadow: 0 18px 50px rgba(18,52,59,.08);
}
@media (min-width:720px) {
  #mainnav .mainnav-portal > ul.cf { align-items: center; display: flex; flex-wrap: nowrap; justify-content: flex-end; white-space: nowrap; }
  #mainnav .mainnav-portal > ul.cf > li { float: none; padding-left: 5px !important; padding-right: 5px !important; }
  #mainnav .mainnav-portal > ul.cf > li > a,#mainnav .mainnav-portal > ul.cf > li > form .btn-link { align-items: center; display: inline-flex; min-height: 42px; }
}
.skip-link { background: #fff; border: 2px solid var(--portal-brand); color: var(--portal-ink); font-weight: 800; left: 12px; padding: 10px 14px; position: fixed; top: -100px; z-index: 2000000; }
.skip-link:focus { top: 12px; }

.portal { background-color: #f7faf9; background-image: linear-gradient(rgba(17,74,79,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(17,74,79,.025) 1px, transparent 1px), radial-gradient(circle at 12% 4%, rgba(20,140,145,.12), transparent 28rem); background-size: 32px 32px, 32px 32px, auto; color: var(--portal-ink); font-family: 'Libre Franklin', Arial, sans-serif; margin-top: -90px; min-height: 70vh; padding: 44px 0 88px; }
.portal.portal-standalone { margin-top: 0; padding-top: 24px; }
.portal-shell { max-width: 1240px; }
.portal h1, .portal h2, .portal h3 { color: var(--portal-ink); margin-top: 0; }
.portal h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 700; letter-spacing: -.045em; line-height: 1.08; margin-bottom: 16px; }
.portal h2 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 0; }
.portal h3 { font-size: 15px; font-weight: 700; }
.portal a { color: var(--portal-brand-dark); }
.portal-eyebrow { color: var(--portal-brand-dark); font-size: 11px; font-weight: 800; letter-spacing: .16em; margin-bottom: 8px; text-transform: uppercase; }
.portal-hero { align-items: flex-end; background: linear-gradient(125deg, var(--portal-ink-deep), #123a42 64%, #0b555a); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; box-shadow: 0 25px 65px rgba(8,37,43,.2); color: #fff; display: flex; gap: 32px; justify-content: space-between; margin-bottom: 22px; overflow: hidden; padding: 34px 36px; position: relative; }
.portal-hero::before { background: radial-gradient(circle, rgba(255,255,255,.12) 0 1px, transparent 1.5px); background-size: 15px 15px; content: ''; height: 190px; opacity: .5; pointer-events: none; position: absolute; right: -42px; top: -64px; transform: rotate(-12deg); width: 310px; }
.portal-hero::after { background: linear-gradient(90deg, transparent, rgba(95,218,210,.25), transparent); content: ''; height: 1px; left: 0; pointer-events: none; position: absolute; top: 0; width: 62%; }
.portal-hero > * { position: relative; z-index: 1; }
.portal-hero h1 { color: #fff; }
.portal-hero-copy { max-width: 710px; }
.portal-summary { color: var(--portal-muted); font-size: 16px; }
.portal-hero .portal-summary { color: rgba(255,255,255,.7); margin: 0; max-width: 650px; }
.portal-summary span { color: #a6b3b7; margin: 0 7px; }
.portal-live-status { align-items: center; color: #8fddd8; display: flex; font-size: 11px; font-weight: 800; gap: 8px; letter-spacing: .14em; margin: 0 0 12px; text-transform: uppercase; }
.portal-live-status span { background: #67d7ca; border-radius: 50%; box-shadow: 0 0 0 5px rgba(103,215,202,.13); height: 7px; width: 7px; }
.portal-summary-list { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 0; padding: 0; }
.portal-summary-list li { align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.11); border-radius: 999px; color: rgba(255,255,255,.8); display: flex; font-size: 12px; gap: 7px; padding: 7px 11px; }
.portal-summary-list i { color: #84d8d2; font-size: 10px; }
.portal-summary-list strong { color: #fff; }
.portal-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.portal .btn { border-radius: 9px; font-weight: 650; padding: 11px 16px; text-shadow: none; text-transform: none; transition: border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease; }
.portal .btn-primary, .portal-dialog .btn-primary { background: linear-gradient(135deg, #15979a, #0e787e); border-color: #159095; box-shadow: 0 7px 18px rgba(15,117,122,.2); color: #fff; }
.portal .btn-primary:hover, .portal-dialog .btn-primary:hover { background: linear-gradient(135deg, #17a3a4, #0b6c72); border-color: #1aa4a6; box-shadow: 0 10px 24px rgba(9,87,92,.28); color: #fff; transform: translateY(-1px); }
.portal .btn-default { background: #fff; border-color: #cedbdd; box-shadow: none; color: var(--portal-ink); }
.portal .btn-default:hover { background: #f4f9f8; border-color: #a9c2c4; color: var(--portal-brand-dark); transform: translateY(-1px); }
.portal-hero .btn-default { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); color: #fff; }
.portal-hero .btn-default:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.38); color: #fff; }
.portal-entry { background: #092d3f url('/assets/images/portal-metal-hero-v1.webp') center/cover no-repeat; border: 1px solid rgba(75,203,211,.26); border-radius: 24px; box-shadow: 0 28px 70px rgba(8,37,43,.24); color: #fff; margin-bottom: 24px; min-height: 500px; overflow: visible; position: relative; }
.portal-entry::before { background: linear-gradient(90deg,rgba(3,28,43,.97) 0%,rgba(4,42,57,.93) 35%,rgba(5,54,66,.58) 64%,rgba(5,29,41,.08) 100%); border-radius: inherit; content: ''; inset: 0; pointer-events: none; position: absolute; }
.portal-entry > * { position: relative; z-index: 1; }
.portal-entry > .portal-entry-nav { z-index: 90; }
.portal-entry-nav { align-items: center; background: rgba(255,255,255,.97); border-radius: 18px 18px 0 0; color: #203641; display: flex; gap: 4px; justify-content: flex-end; min-height: 66px; padding: 9px 20px; }
.portal-nav-shell { max-width: 1240px; padding-top: 18px; position: relative; z-index: 30; }
.portal-entry-nav-standalone { border: 1px solid rgba(16,78,87,.1); border-radius: 18px; box-shadow: 0 14px 38px rgba(6,44,52,.12); }
.portal-entry-nav > a,.portal-entry-nav summary { align-items: center; border-radius: 9px; color: #203641; cursor: pointer; display: flex; font-weight: 750; justify-content: center; list-style: none; min-height: 44px; padding: 10px 17px; text-decoration: none; }
.portal-entry-nav summary::-webkit-details-marker { display: none; }
.portal-entry-nav > a:hover,.portal-entry-nav > a.is-active,.portal-entry-nav details[open] > summary { background: #0b5961; color: #fff; }
.portal-entry-nav > .portal-entry-brand { align-items: center; align-self: stretch; background: transparent; display: flex; margin-right: auto; padding: 3px 9px; }
.portal-entry-nav > .portal-entry-brand:hover { background: #eef8f7; }
.portal-entry-brand img { display: block; filter: saturate(1.08) contrast(1.03); height: 37px; max-width: 245px; object-fit: contain; width: auto; }
.portal-entry-nav > .portal-entry-contact { border: 1px solid #188b97; border-radius: 999px; padding-left: 20px; padding-right: 20px; }
.portal-nav-search { align-items: center; background: #f8fbfb; border: 1px solid #d8e4e5; border-radius: 999px; display: flex; margin: 0 7px 0 10px; min-width: 180px; padding: 0 14px; transition: border-color .18s ease,box-shadow .18s ease,background-color .18s ease; }
.portal-nav-search:focus-within { background: #fff; border-color: #15939b; box-shadow: 0 0 0 3px rgba(21,147,155,.12); }
.portal-nav-search i { color: #0b5961; font-size: 14px; }
.portal-nav-search input { background: transparent; border: 0; box-shadow: none; color: #203641; font-size: 13px; height: 40px; min-width: 0; outline: 0; padding: 0 0 0 10px; width: 100%; }
.portal-nav-search input::placeholder { color: #85969b; }
.portal-entry-nav details { position: relative; }
.portal-entry-nav details[open] { z-index: 80; }
.portal-entry-nav summary > i:first-child { color: #16818a; font-size: 13px; margin-right: 6px; }
.portal-entry-nav details[open] summary > i:first-child { color: #7ce0df; }
.portal-entry-nav details.is-current > summary { color: #0b5961; }
.portal-entry-nav summary > i:last-child { font-size: 9px; margin-left: 8px; transition: transform .2s ease; }
.portal-entry-nav details[open] summary > i:last-child { transform: rotate(180deg); }
.portal-entry-menu { animation: portalMenuIn .2s ease-out; background: rgba(255,255,255,.985); border: 1px solid rgba(16,78,87,.12); border-radius: 16px; box-shadow: 0 24px 64px rgba(5,35,46,.28),0 4px 12px rgba(5,35,46,.08); left: 0; min-width: 360px; padding: 9px; position: absolute; top: calc(100% + 10px); transform-origin: top left; z-index: 20; }
.portal-entry-menu::before { background: #fff; border-left: 1px solid rgba(16,78,87,.1); border-top: 1px solid rgba(16,78,87,.1); content: ''; height: 11px; left: 28px; position: absolute; top: -6px; transform: rotate(45deg); width: 11px; }
.portal-entry-menu-head { align-items: center; border-bottom: 1px solid #e8eeee; color: #75888d; display: flex; font-size: 9px; font-weight: 850; justify-content: space-between; letter-spacing: .1em; margin: 0 5px 5px; padding: 6px 7px 10px; text-transform: uppercase; }
.portal-entry-menu-head em { background: #e5f7ef; border-radius: 999px; color: #19815e; font-size: 8px; font-style: normal; letter-spacing: .05em; padding: 4px 7px; }
.portal-entry-menu a { align-items: center; border: 1px solid transparent; border-radius: 12px; color: #223943; cursor: pointer; display: grid; gap: 12px; grid-template-columns: 48px minmax(0,1fr) 22px; padding: 9px; position: relative; text-decoration: none; transition: background-color .16s ease,border-color .16s ease,transform .16s ease,box-shadow .16s ease; width: 100%; z-index: 1; }
.portal-entry-menu a > * { pointer-events: none; }
.portal-entry-menu a:hover,.portal-entry-menu a:focus { background: linear-gradient(105deg,#edf8f7,#f8fbfb); border-color: #d9ebeb; box-shadow: 0 7px 18px rgba(16,81,88,.08); outline: none; transform: translateX(3px); }
.portal-menu-icon { align-items: center; background: linear-gradient(145deg,#e7f4f5,#d7ebed); border: 1px solid #d2e5e7; border-radius: 12px; color: #0a7881; display: flex; font-size: 18px; height: 44px; justify-content: center; position: relative; width: 44px; }
.portal-menu-icon::after { background: rgba(255,255,255,.65); border-radius: 999px; content: ''; height: 4px; position: absolute; right: 6px; top: 6px; width: 4px; }
.portal-menu-icon.is-metals { background: linear-gradient(145deg,#dff7f5,#bfe5e7); color: #087d89; }
.portal-menu-icon.is-products { background: linear-gradient(145deg,#e7edf6,#cedce9); color: #315e80; }
.portal-menu-icon.is-compare { background: linear-gradient(145deg,#fff0d0,#f1d18c); color: #9b6508; }
.portal-menu-icon.is-favorite { background: linear-gradient(145deg,#fff0f1,#f4d4d9); color: #bd4559; }
.portal-menu-icon.is-alert { background: linear-gradient(145deg,#fff4d9,#f0db9f); color: #a16e0b; }
.portal-entry-menu b { font-size: 13px; line-height: 1.25; }
.portal-entry-menu small { color: #718188; display: block; font-size: 10px; font-weight: 500; line-height: 1.35; margin-top: 3px; }
.portal-entry-menu > a > i:last-child { align-items: center; background: #eef3f3; border-radius: 50%; color: #688087; display: flex; font-size: 8px; height: 22px; justify-content: center; transition: background-color .16s ease,color .16s ease; width: 22px; }
.portal-entry-menu a:hover > i:last-child { background: #0b7780; color: #fff; }
.portal-account-menu { left: auto; min-width: 350px; right: 0; transform-origin: top right; }
.portal-account-menu::before { left: auto; right: 28px; }
@keyframes portalMenuIn { from { opacity: 0; transform: translateY(-7px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.portal-entry-content { max-width: 880px; padding: 64px 48px 42px; }
.portal-entry-kicker { align-items: center; color: #5bd2d5; display: flex; font-size: 13px; font-weight: 850; gap: 13px; letter-spacing: .2em; margin: 0 0 13px; text-transform: uppercase; }
.portal-entry-kicker span { background: #54ced1; height: 2px; width: 40px; }
.portal-entry h1 { color: #fff; font-size: clamp(48px,6.2vw,84px); letter-spacing: -.055em; line-height: .95; margin: 0; text-shadow: 0 4px 24px rgba(0,0,0,.23); }
.portal-entry-lead { color: #e3f0f2; font-size: clamp(21px,2.4vw,31px); font-weight: 350; margin: 12px 0 25px; }
.portal-entry-search { align-items: center; background: #fff; border: 4px solid rgba(255,255,255,.28); border-radius: 999px; box-shadow: 0 16px 38px rgba(0,0,0,.2); display: flex; max-width: 865px; padding: 5px 6px 5px 20px; }
.portal-entry-search > i { color: #173d4d; font-size: 20px; }
.portal-entry-search input { border: 0; box-shadow: none; color: #1d343e; flex: 1; font-size: 16px; height: 44px; min-width: 0; outline: 0; padding: 0 13px; }
.portal-entry-search button { background: linear-gradient(135deg,#13aeb4,#077498); border: 0; border-radius: 999px; color: #fff; font-weight: 850; min-width: 135px; padding: 14px 25px; }
.portal-entry-facts { display: grid; gap: 12px; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 22px; }
.portal-entry-facts > a,.portal-entry-facts > span { align-items: center; backdrop-filter: blur(8px); background: rgba(9,59,75,.7); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; color: #d8ebed; display: flex; font-size: 11px; gap: 11px; min-height: 69px; padding: 12px; text-decoration: none; }
.portal-entry-facts i { align-items: center; border: 1px solid rgba(89,213,215,.55); border-radius: 50%; color: #72dadd; display: flex; flex: 0 0 auto; font-size: 17px; height: 38px; justify-content: center; width: 38px; }
.portal-entry-facts strong { color: #fff; display: block; font-size: 15px; }
.portal-entry-welcome { bottom: 12px; color: rgba(255,255,255,.72); font-size: 11px; margin: 0; position: absolute; right: 20px; }
.portal .btn i { margin-right: 7px; }

.access-progress { background: rgba(255,255,255,.94); border: 1px solid #cfe3e3; border-radius: 14px; box-shadow: 0 10px 30px rgba(26,68,74,.06); margin-bottom: 18px; padding: 16px 19px; }
.access-progress.is-expiring { background: #fff9ee; border-color: #f1d7aa; }
.access-progress-copy { display: flex; justify-content: space-between; margin-bottom: 9px; }
.access-progress-copy a { font-weight: 700; }
.portal-progress { background: #dbe8e9; border-radius: 99px; height: 8px; overflow: hidden; }
.portal-progress span { background: linear-gradient(90deg, var(--portal-brand), #65cac4); border-radius: inherit; display: block; height: 100%; transition: width .5s ease; }
.is-expiring .portal-progress span { background: linear-gradient(90deg, #db8e16, #f0bd55); }

.portal-kpis { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0,1fr)); margin-bottom: 20px; }
.portal-kpi { align-items: center; background: rgba(255,255,255,.96); border: 1px solid var(--portal-line); border-radius: 15px; box-shadow: 0 10px 32px rgba(23,56,62,.05); display: flex; gap: 14px; min-height: 96px; overflow: hidden; padding: 18px; position: relative; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.portal-kpi::before { background: linear-gradient(180deg, var(--portal-brand), var(--portal-copper)); border-radius: 0 0 4px; content: ''; height: 38px; left: 0; position: absolute; top: 17px; width: 3px; }
.portal-kpi:hover { border-color: #c3d9da; box-shadow: 0 16px 38px rgba(23,56,62,.09); transform: translateY(-2px); }
.portal-kpi-icon { align-items: center; background: linear-gradient(145deg, #e2f4f2, #f1f8f7); border: 1px solid #d5e9e8; border-radius: 12px; color: var(--portal-brand-dark); display: flex; flex: 0 0 44px; font-size: 17px; height: 44px; justify-content: center; }
.portal-kpi strong { color: var(--portal-ink-deep); display: block; font-size: 27px; letter-spacing: -.035em; line-height: 1.05; }
.portal-kpi div span { color: var(--portal-muted); display: block; font-size: 13px; margin-top: 4px; }

.portal-grid { display: grid; gap: 18px; grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 18px; }
.portal-grid-main { grid-template-columns: minmax(0,1.65fr) minmax(310px,.75fr); }
.portal-card { background: rgba(255,255,255,.97); border: 1px solid var(--portal-line); border-radius: 17px; box-shadow: var(--portal-shadow); margin-bottom: 20px; overflow: hidden; padding: 24px; }
.portal-grid > .portal-card { margin-bottom: 0; }
.portal-card-head { align-items: flex-start; display: flex; gap: 18px; justify-content: space-between; margin-bottom: 21px; }
.portal-card-head > a, .portal-link-button { background: none; border: 0; color: var(--portal-brand-dark); font-size: 13px; font-weight: 700; padding: 3px 0; }
.data-freshness { background: #e9f7f0; border: 1px solid #d5ece0; border-radius: 999px; color: #14734f; font-size: 11px; font-weight: 700; padding: 7px 10px; white-space: nowrap; }

.mover-columns { display: grid; gap: 25px; grid-template-columns: 1fr 1fr; }
.mover-columns h3 { border-bottom: 1px solid var(--portal-line); margin-bottom: 5px; padding-bottom: 10px; }
.mover-row { align-items: center; border-bottom: 1px solid #edf1f2; border-radius: 7px; display: flex; justify-content: space-between; padding: 11px 7px; text-decoration: none; transition: background-color .18s ease, padding .18s ease; }
.mover-row:hover { background: #f2f8f7; padding-left: 10px; padding-right: 10px; text-decoration: none; }
.mover-row:last-child { border: 0; }
.trend-up { color: var(--portal-up) !important; }
.trend-down { color: var(--portal-down) !important; }
.trend-flat { color: var(--portal-muted) !important; }
.trend-badge { background: #eef2f2; border-radius: 999px; display: inline-block; font-size: 12px; font-weight: 800; padding: 5px 9px; }
.trend-badge.trend-up { background: #e4f5ec; }
.trend-badge.trend-down { background: #fbeaea; }

.notification-list { margin: -7px 0; }
.notification-item { align-items: flex-start; border-bottom: 1px solid #edf1f2; display: flex; gap: 10px; padding: 11px 2px; text-decoration: none; }
.notification-item:last-child { border: 0; }
.notification-item strong, .notification-item small { display: block; }
.notification-item strong { color: var(--portal-ink); font-size: 13px; }
.notification-item small { color: var(--portal-muted); line-height: 1.4; margin-top: 3px; }
.notification-dot { background: #c6d0d2; border-radius: 50%; flex: 0 0 8px; height: 8px; margin-top: 5px; }
.notification-item.is-unread .notification-dot { background: var(--portal-brand); box-shadow: 0 0 0 4px #e5f4f4; }
.notification-item.is-unread strong { color: var(--portal-brand-dark); }

.portal-table-wrap { overflow-x: auto; width: 100%; }
.portal-table { border-collapse: separate; border-spacing: 0; margin: 0; min-width: 720px; width: 100%; }
.portal-table th { background: #eef5f4; border-bottom: 1px solid #dce8e7; color: #4f626b; font-size: 10px; letter-spacing: .09em; padding: 13px 12px; text-align: left; text-transform: uppercase; }
.portal-table td { border-bottom: 1px solid #e8eeee; padding: 14px 12px; transition: background-color .15s ease; vertical-align: middle; }
.portal-table tbody tr:hover td { background: #f7faf9; }
.portal-table tbody tr:last-child td { border-bottom: 0; }
.portal-table td strong, .portal-table td small { display: block; }
.portal-table td small { color: var(--portal-muted); margin-top: 3px; }

.portal-empty { align-items: center; background: linear-gradient(145deg, #f3f8f7, #f9fbfb); border: 1px dashed #bdcfd1; border-radius: 14px; display: flex; flex-direction: column; padding: 34px 18px; text-align: center; }
.portal-empty > i { color: #82a8ab; font-size: 29px; margin-bottom: 11px; }
.portal-empty h3 { font-size: 17px; margin-bottom: 7px; }
.portal-empty p { color: var(--portal-muted); max-width: 520px; }
.portal-empty.is-compact { padding: 18px; }
.portal-empty.is-compact p { margin: 0; }
.portal-empty-row { color: var(--portal-muted); justify-content: center !important; text-align: center; }

.portal-clean-list, .activity-timeline { list-style: none; margin: 0; padding: 0; }
.portal-clean-list li { align-items: center; border-bottom: 1px solid #edf1f2; display: flex; gap: 12px; justify-content: space-between; padding: 11px 2px; }
.portal-clean-list li:last-child { border-bottom: 0; }
.portal-clean-list li > span, .portal-clean-list li > a { min-width: 0; }
.portal-clean-list strong, .portal-clean-list small { display: block; }
.portal-clean-list small { color: var(--portal-muted); margin-top: 3px; }
.portal-switch { background: #edf1f2; border: 0; border-radius: 999px; color: var(--portal-muted); font-size: 11px; font-weight: 800; padding: 7px 10px; }
.portal-switch.is-active { background: #dff3e8; color: var(--portal-up); }
.portal-icon-button { align-items: center; background: transparent; border: 0; border-radius: 6px; color: #708087; display: inline-flex; height: 34px; justify-content: center; width: 34px; }
.portal-icon-button:hover, .portal-icon-button:focus { background: #e7f2f3; color: var(--portal-brand-dark); }
.portal-inline-form { display: flex; gap: 8px; margin-bottom: 12px; }
.portal-inline-form .form-control { height: 42px; padding: 9px 11px; }

.activity-timeline li { align-items: flex-start; display: flex; gap: 12px; padding: 8px 0; }
.activity-icon { align-items: center; background: linear-gradient(145deg, #e7f3f2, #f5f9f9); border: 1px solid #dce9e8; border-radius: 10px; color: var(--portal-brand-dark); display: flex; flex: 0 0 36px; height: 36px; justify-content: center; }
.activity-timeline strong, .activity-timeline small { display: block; }
.activity-timeline small { color: var(--portal-muted); margin-top: 3px; }

.portal-details { margin: 0 0 18px; }
.portal-details > div { border-bottom: 1px solid #edf1f2; display: flex; justify-content: space-between; padding: 10px 0; }
.portal-details dt { color: var(--portal-muted); font-weight: 500; }
.portal-details dd { font-weight: 700; margin: 0; }
.portal-operations-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 18px; }
.portal-operation-card { display: flex; flex-direction: column; min-height: 300px; position: relative; }
.portal-operation-card .portal-card-head { align-items: flex-start; }
.portal-operation-card > .btn { margin-top: auto; }
.portal-operation-card .portal-progress { margin: 10px 0; }
.portal-operation-icon { align-items: center; background: #e6f6f5; border-radius: 14px; color: var(--portal-brand); display: flex; font-size: 22px; height: 46px; justify-content: center; margin-bottom: 16px; width: 46px; }
.portal-service-warning { background: #fff5e6; border-radius: 8px; color: #9a5b00; padding: 9px 11px; }
@media (max-width: 1050px) { .portal-operations-grid { grid-template-columns: 1fr; } }
.status-pill { background: #eef1f2; border-radius: 999px; display: inline-block; font-size: 11px; font-weight: 800; padding: 5px 9px; }
.status-active { background: #e2f5eb; color: var(--portal-up); }
.status-open { background: #fff1d9; color: var(--portal-warning); }
.status-ended { background: #edf1f2; color: var(--portal-muted); }
.portal-hint { background: #f2f7f7; border-radius: 8px; color: var(--portal-muted); font-size: 12px; margin: 15px 0 0; padding: 10px; }
.portal-settings-form { align-items: flex-end; display: grid; gap: 15px; grid-template-columns: 1fr 1fr auto; }
.portal-settings-form label { display: block; margin-bottom: 6px; }
.portal-settings-form .form-control { height: 44px; padding: 9px 12px; }

.portal-tour { align-items: center; background: rgba(12,30,36,.72); display: flex; inset: 0; justify-content: center; padding: 20px; position: fixed; z-index: 1000000; }
.portal-tour-card { background: #fff; border-radius: 18px; box-shadow: 0 25px 80px rgba(0,0,0,.28); max-width: 610px; padding: 36px; text-align: center; }
.portal-tour-card h2 { color: var(--portal-ink); font-size: 30px; font-weight: 750; }
.portal-tour-card p { color: var(--portal-muted); font-size: 16px; }
.portal-tour-step { color: var(--portal-brand-dark); display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; margin-bottom: 10px; text-transform: uppercase; }
.portal-tour-points { display: flex; gap: 9px; justify-content: center; margin: 22px 0; }
.portal-tour-points span { background: #edf6f6; border-radius: 8px; color: var(--portal-ink); padding: 10px; }

.portal-toast-region { bottom: 24px; display: flex; flex-direction: column; gap: 8px; max-width: min(390px,calc(100vw - 30px)); position: fixed; right: 24px; z-index: 1000001; }
.portal-toast { align-items: center; background: #17363d; border-radius: 10px; box-shadow: 0 12px 35px rgba(0,0,0,.22); color: #fff; display: flex; gap: 10px; opacity: 0; padding: 13px 16px; transform: translateY(12px); transition: .22s ease; }
.portal-toast.is-visible { opacity: 1; transform: none; }
.portal-toast-error { background: #8f3434; }

.portal-dialog-backdrop { align-items: center; background: rgba(13,31,37,.64); display: flex; inset: 0; justify-content: center; padding: 18px; position: fixed; z-index: 1000000; }
.portal-dialog { background: #fff; border-radius: 14px; box-shadow: 0 24px 70px rgba(0,0,0,.25); max-width: 480px; overflow: hidden; width: 100%; }
.portal-dialog-head { align-items: center; border-bottom: 1px solid var(--portal-line); display: flex; justify-content: space-between; padding: 18px 20px; }
.portal-dialog-head h2 { color: var(--portal-ink); font-size: 20px; font-weight: 700; margin: 0; }
.portal-dialog-body { padding: 20px; }
.portal-dialog-body label { display: block; margin: 14px 0 6px; }
.portal-dialog-body .form-control { height: 44px; padding: 9px 12px; }
.portal-dialog-intro { color: var(--portal-muted); }
.portal-dialog-actions { border-top: 1px solid var(--portal-line); display: flex; gap: 8px; justify-content: flex-end; padding: 14px 20px; }

.notification-nav { position: relative; }
.notification-nav-button { background: transparent; border: 0; color: inherit; font: inherit; padding: 0; }
.notification-count { align-items: center; background: #db4d4d; border: 2px solid #fff; border-radius: 99px; color: #fff; display: inline-flex; font-size: 9px; font-weight: 800; height: 18px; justify-content: center; min-width: 18px; padding: 0 4px; position: absolute; right: -12px; top: -9px; }
.notification-count[hidden] { display: none; }

.contact-honeypot { height: 1px !important; left: -10000px !important; overflow: hidden !important; position: absolute !important; width: 1px !important; }
.contact-captcha { align-items: center; background: linear-gradient(135deg, #fffaf0, #f4faf8); border: 1px solid #eadfbd; border-radius: 14px; display: grid; gap: 14px; grid-template-columns: 44px minmax(0,1fr) 96px; margin: 18px 0; padding: 15px 17px; }
.contact-captcha-icon { align-items: center; background: #fff1b9; border-radius: 50%; display: flex; font-size: 22px; height: 42px; justify-content: center; width: 42px; }
.contact-captcha label { color: var(--portal-ink); display: block; font-weight: 700; margin: 0 0 3px; }
.contact-captcha p { color: var(--portal-muted); font-size: 12px; margin: 0; }
.contact-captcha .form-control { font-size: 18px; font-weight: 700; height: 44px; text-align: center; }

.price-experience-tools { align-items: center; background: linear-gradient(145deg, #eff7f6, #fafcfc); border: 1px solid #d6e6e6; border-radius: 14px; box-shadow: 0 10px 28px rgba(23,56,62,.05); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin: 14px 0 20px; padding: 12px; }
.price-tool-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.price-action-button { background: transparent; border: 0; border-radius: 6px; color: #66777f; padding: 7px; }
.price-action-button:hover, .price-action-button:focus { background: #e3f1f1; color: var(--portal-brand-dark); }
.price-action-button.is-active { color: #bd3852; }
.price-row-actions { white-space: nowrap; }
.price-name-button { background: transparent; border: 0; color: var(--portal-ink); font-weight: 700; padding: 4px 2px; text-align: left; }
.price-name-button:hover { color: var(--portal-brand-dark); text-decoration: underline; }
.skeleton-inline { animation: portalSkeleton 1.2s ease-in-out infinite alternate; background: #dce7e8; border-radius: 99px; display: inline-block; height: 13px; width: 52px; }
.price-data-table td { vertical-align: middle !important; }
.data-status { border-radius: 999px; display: inline-block; font-size: 10px; font-weight: 800; margin-top: 4px; padding: 3px 6px; }
.data-status-current { background: #e3f5eb; color: var(--portal-up); }
.data-status-old { background: #fff0d9; color: var(--portal-warning); }
.compare-check { align-items: center; display: inline-flex; margin: 0 8px 0 0; }
.compare-check input { height: 16px; margin: 0; width: 16px; }
.compare-floating { align-items: center; background: #17363d; border-radius: 11px; bottom: 20px; box-shadow: 0 14px 40px rgba(0,0,0,.25); color: #fff; display: flex; gap: 12px; left: 50%; padding: 10px 12px 10px 17px; position: fixed; transform: translate(-50%,130%); transition: transform .25s ease; z-index: 10000; }
.compare-floating.is-visible { transform: translate(-50%,0); }
.compare-floating .btn { margin: 0; }
.skeleton-box { animation: portalSkeleton 1.2s ease-in-out infinite alternate; background: #e7eeee; border-radius: 8px; min-height: 70px; }
@keyframes portalSkeleton { to { background: #f4f7f7; } }
.comparison-chart { background: linear-gradient(180deg, #fbfdfd, #f5f9f8); border: 1px solid #e2eceb; border-radius: 13px; height: 520px; overflow: hidden; padding: 8px; width: 100%; }
.compare-form { align-items: flex-end; display: flex; gap: 16px; }
.compare-form fieldset { border: 0; flex: 1; margin: 0; min-width: 0; padding: 0; }
.compare-options { display: grid; gap: 7px; grid-template-columns: repeat(4,minmax(0,1fr)); max-height: 260px; overflow: auto; padding: 3px; }
.compare-option { margin: 0; }
.compare-option input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.compare-option span { align-items: flex-start; background: #f4f7f7; border: 1px solid #dce5e7; border-radius: 10px; cursor: pointer; display: flex; flex-direction: column; font-weight: 600; justify-content: center; min-height: 64px; padding: 10px 12px; position: relative; transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.compare-option span small { color: #687a80; font-size: 11px; font-weight: 400; line-height: 1.35; margin-top: 3px; }
.compare-option span .fa-heart { color: #bd4550; position: absolute; right: 10px; top: 10px; }
.compare-option span:hover { border-color: #b7d2d3; transform: translateY(-1px); }
.compare-option input:checked + span { background: #e4f4f4; border-color: var(--portal-brand); color: var(--portal-brand-dark); box-shadow: 0 0 0 2px rgba(22,143,155,.13); }
.compare-option input:focus-visible + span { outline: 3px solid #1f9eac; outline-offset: 2px; }
.data-domain-switch { display: flex; gap: 8px; margin-bottom: 22px; }
.data-domain-switch a,.data-domain-switch span { border: 1px solid #cbdadc; border-radius: 9px; color: #17363d; display: inline-flex; font-weight: 700; gap: 7px; padding: 11px 16px; text-decoration: none; }
.data-domain-switch .is-active { background: #17363d; border-color: #17363d; color: #fff; }
.compare-category-form { align-items: flex-end; display: flex; gap: 12px; margin-bottom: 24px; max-width: 520px; }
.compare-category-form label { min-width: 165px; }
.compare-form legend { border: 0; color: #17363d; font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.access-required-shell { max-width: 850px; }
.access-required-card { margin: 48px auto; padding: 42px; text-align: center; }
.access-required-card > p { margin-left: auto; margin-right: auto; max-width: 680px; }
.access-required-icon { align-items: center; background: #fff0ed; border-radius: 50%; color: #b94a3b; display: inline-flex; font-size: 28px; height: 72px; justify-content: center; margin-bottom: 18px; width: 72px; }
.access-required-offer { align-items: flex-start; background: #eef8f4; border-left: 4px solid #318557; display: flex; flex-direction: column; gap: 4px; margin: 26px auto; max-width: 680px; padding: 17px 20px; text-align: left; }
.access-required-card .portal-hero-actions { justify-content: center; }
.invoice-detail-grid { display: grid; gap: 16px; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 22px 0; }
.invoice-detail-grid > div { background: #f5f8f8; border-radius: 9px; padding: 15px; }
.invoice-detail-grid dt { color: #65747a; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.invoice-detail-grid dd { color: #17363d; font-size: 17px; font-weight: 700; margin: 5px 0 0; }
.invoice-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 9px; }
.invoice-actions form { margin: 0; }
.invoice-list-actions { align-items: flex-end; display: flex; flex-direction: column; gap: 7px; }
.portal-entry-hint { margin: -55px auto 18px; position: relative; z-index: 2; }
@media (max-width:760px) { .invoice-detail-grid { grid-template-columns: 1fr 1fr; } }
.compare-option i { color: #bd3852; font-size: 11px; }
.compare-legend { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 12px; }
.compare-legend span { align-items: center; display: inline-flex; font-size: 12px; font-weight: 700; gap: 6px; }
.compare-legend i { border-radius: 50%; display: inline-block; height: 10px; width: 10px; }

:focus-visible { outline: 3px solid #1f9eac !important; outline-offset: 3px; }

body .portal-contact-link > a { border: 1px solid #188b97 !important; border-radius: 999px !important; padding-left: 18px !important; padding-right: 18px !important; }

@media (max-width: 900px) {
  .portal-entry-nav { justify-content: flex-start; overflow: visible; }
  .portal-nav-search { margin-left: auto; min-width: 160px; }
  .portal-entry-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .portal-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .portal-grid, .portal-grid-main { grid-template-columns: 1fr; }
  .portal-hero { align-items: flex-start; flex-direction: column; padding: 30px; }
  .portal-hero-actions { justify-content: flex-start; }
  .portal-settings-form { grid-template-columns: 1fr; }
  .compare-form { align-items: stretch; flex-direction: column; }
  .compare-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 650px) {
  .portal-entry { border-radius: 17px; min-height: 0; }
  .portal-entry-nav { align-items: stretch; flex-wrap: wrap; padding: 8px; }
  .portal-entry-nav > a,.portal-entry-nav summary { padding: 10px 11px; }
  .portal-entry-nav > .portal-entry-brand { flex-basis: 100%; justify-content: center; margin-right: 0; }
  .portal-entry-brand img { height: 32px; max-width: 220px; }
  .portal-nav-search { flex: 1 1 100%; margin: 3px 0; order: 8; }
  .portal-entry-nav > .portal-entry-contact { margin-left: auto; }
  .portal-entry-menu { left: 0; max-width: calc(100vw - 48px); min-width: 280px; right: auto; }
  .portal-entry-content { padding: 42px 20px 52px; }
  .portal-entry h1 { font-size: 46px; }
  .portal-entry-lead { font-size: 19px; }
  .portal-entry-search { border-width: 2px; padding-left: 13px; }
  .portal-entry-search input { font-size: 13px; }
  .portal-entry-search button { min-width: 92px; padding: 12px 15px; }
  .portal-entry-facts { grid-template-columns: 1fr 1fr; }
  .portal-entry-facts > a,.portal-entry-facts > span { min-height: 62px; }
  .portal-entry-welcome { bottom: 8px; left: 20px; right: auto; }
  .portal { margin-top: -45px; padding: 22px 0 64px; }
  .portal.portal-standalone { margin-top: 0; padding-top: 16px; }
  .portal-hero { border-radius: 16px; gap: 22px; padding: 25px 20px; }
  .portal-hero h1 { font-size: 31px; }
  .portal-summary-list { align-items: flex-start; flex-direction: column; }
  .portal-summary-list li { width: 100%; }
  .portal-hero-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .portal-hero-actions .btn { text-align: left; width: 100%; }
  .portal-card { padding: 17px; }
  .portal-kpis { grid-template-columns: 1fr 1fr; }
  .portal-kpi { align-items: flex-start; flex-direction: column; gap: 8px; min-height: 112px; }
  .portal-kpi-icon { flex-basis: 36px; height: 36px; }
  .mover-columns { grid-template-columns: 1fr; }
  .access-progress-copy { align-items: flex-start; flex-direction: column; gap: 5px; }
  .portal-tour-card { padding: 26px 19px; }
  .portal-tour-points { flex-direction: column; }
  .portal-inline-form { align-items: stretch; flex-direction: column; }
  .portal-summary span { display: block; height: 3px; opacity: 0; }
  .portal-toast-region { bottom: 14px; right: 15px; }
  .responsive-table { min-width: 0; }
  .responsive-table thead { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
  .responsive-table, .responsive-table tbody, .responsive-table tr, .responsive-table td { display: block; width: 100%; }
  .responsive-table tr { border-bottom: 1px solid var(--portal-line); padding: 10px 0; }
  .responsive-table td { border: 0; display: grid; gap: 10px; grid-template-columns: minmax(105px,38%) 1fr; padding: 7px 2px; text-align: right; }
  .responsive-table td::before { color: var(--portal-muted); content: attr(data-label); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
  .responsive-table td > * { justify-self: end; }
  .compare-options { grid-template-columns: 1fr; }
  .compare-category-form { align-items: stretch; flex-direction: column; }
  .compare-category-form label { min-width: 0; }
  .data-domain-switch { flex-direction: column; }
  .invoice-detail-grid { grid-template-columns: 1fr; }
  .invoice-list-actions { align-items: flex-start; }
  .contact-captcha { grid-template-columns: 40px minmax(0,1fr); }
  .contact-captcha .form-control { grid-column: 1 / -1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .portal *, .portal *::before, .portal *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
.price-chart-panel {
    margin: 14px 16px 22px;
    padding: 20px 22px 16px;
    overflow: hidden;
    border: 1px solid rgba(107, 210, 201, .2);
    border-radius: 18px;
    background: radial-gradient(circle at 82% 5%, rgba(24, 143, 145, .34), transparent 38%), linear-gradient(145deg, #071f28 0%, #0b3540 100%);
    box-shadow: 0 18px 45px rgba(6, 31, 39, .24);
}

.price-chart-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0 6px 8px;
    color: #ffffff;
}

.price-chart-heading span {
    font-size: 18px;
    font-weight: 750;
}

.price-chart-heading small {
    color: #8fcac7;
    font-size: 12px;
}

.price-chart-panel svg text { fill: #c8dadd !important; }

.price-category-sidebar {
    overflow: hidden;
    border: 1px solid rgba(108, 215, 202, .24);
    border-radius: 16px;
    background: radial-gradient(circle at 15% 0%, rgba(31, 70, 105, .38), transparent 38%), linear-gradient(155deg, #071a2c, #102f4a);
    box-shadow: 0 16px 34px rgba(7, 42, 51, .18);
}

.metal-database-page { max-width: 1540px; padding-bottom: 60px; }
.metal-global-search { align-items: center; background: #fff; border: 1px solid #d4e0e2; border-radius: 15px; box-shadow: 0 10px 34px rgba(7,42,51,.09); display: flex; gap: 12px; margin: 18px 0; padding: 8px 9px 8px 17px; }
.metal-global-search > i { color: #71868c; font-size: 19px; }
.metal-global-search input { border: 0; box-shadow: none; flex: 1; font-size: 16px; height: 46px; min-width: 0; outline: 0; }
.metal-global-search button { background: #0a525c; border: 0; border-radius: 10px; color: #fff; font-weight: 800; padding: 13px 24px; }
.metal-database-hero { align-items: center; background: radial-gradient(circle at 75% 0,rgba(24,153,151,.35),transparent 42%),linear-gradient(135deg,#062b35,#07515b); border: 1px solid rgba(89,207,197,.25); border-radius: 19px; box-shadow: 0 18px 46px rgba(7,42,51,.2); color: #fff; display: grid; gap: 18px; grid-template-columns: 100px 68px minmax(0,1fr) auto; margin-bottom: 18px; min-height: 142px; padding: 20px; }
.metal-hero-image { align-items: center; background: radial-gradient(circle at 30% 25%,#f4be70,#9b4a21 34%,#3f201a 78%); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; box-shadow: inset 0 0 25px rgba(255,255,255,.2); display: flex; font-size: 37px; height: 92px; justify-content: center; width: 100px; }
.metal-hero-symbol { align-items: center; background: linear-gradient(145deg,rgba(255,255,255,.2),rgba(224,159,42,.45)); border: 1px solid rgba(255,226,163,.65); border-radius: 13px; display: flex; font-size: 28px; font-weight: 850; height: 68px; justify-content: center; }
.metal-hero-copy > span { color: #71d7d0; font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.metal-hero-copy h1 { color: #fff; font-size: clamp(27px,3vw,39px); margin: 5px 0 3px; }
.metal-hero-copy p { color: #c8e0e1; margin: 0; }
.metal-hero-download { background: transparent; border: 1px solid rgba(255,255,255,.45); border-radius: 10px; color: #fff; font-weight: 800; padding: 11px 15px; }
.metal-database-layout { align-items: start; display: grid; gap: 18px; grid-template-columns: 245px minmax(0,1fr); }
.metal-database-main { min-width: 0; }
.price-category-sidebar { max-height: calc(100vh - 30px); overflow-y: auto; padding: 14px 0; position: sticky; top: 15px; }
.price-category-sidebar .list-group { margin-bottom: 8px; }
.metal-sidebar-search { align-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; display: flex; gap: 8px; margin: 0 12px 16px; padding: 8px 10px; }
.metal-sidebar-search i { color: #a8cbcf; }
.metal-sidebar-search input { background: transparent; border: 0; color: #fff; min-width: 0; outline: 0; width: 100%; }
.metal-sidebar-search input::placeholder { color: #a8c1c4; }
.metal-sidebar-title { color: #7fb1b6; font-size: 10px; font-weight: 850; letter-spacing: .14em; padding: 8px 16px; text-transform: uppercase; }
.metal-element-list { display: grid; }
.metal-element-list a { align-items: center; color: #dcebed; display: flex; font-size: 12px; font-weight: 600; gap: 9px; padding: 6px 14px; text-decoration: none; }
.metal-element-list a:hover { background: rgba(255,255,255,.08); color: #fff; }
.metal-element-list span { align-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; display: inline-flex; font-size: 10px; font-weight: 850; height: 27px; justify-content: center; width: 27px; }
.metal-filter-bar { align-items: center; background: #fff; border: 1px solid #d9e4e6; border-radius: 15px 15px 0 0; display: grid; gap: 10px; grid-template-columns: minmax(210px,1.5fr) minmax(180px,1fr) 160px auto; padding: 14px; }
.metal-filter-bar label { align-items: center; border: 1px solid #cbd9dc; border-radius: 9px; display: flex; gap: 8px; margin: 0; padding: 0 11px; }
.metal-filter-bar label input,.metal-filter-bar > input,.metal-filter-bar select { background: #fff; border: 1px solid #cbd9dc; border-radius: 9px; height: 42px; min-width: 0; padding: 0 11px; width: 100%; }
.metal-filter-bar label input { border: 0; outline: 0; padding: 0; }
.metal-filter-bar button { background: transparent; border: 0; color: #176f8a; font-weight: 750; white-space: nowrap; }
.metal-table-card { background: #fff; border: 1px solid #d9e4e6; border-radius: 0 0 15px 15px; box-shadow: 0 14px 38px rgba(24,55,62,.08); margin: 0; overflow-x: auto; }
.metal-data-table { margin: 0; }
.metal-data-table thead th { background: #f5f8f9; border-bottom: 1px solid #dce6e7 !important; color: #263c44; font-size: 11px; letter-spacing: .03em; padding: 14px 10px !important; text-transform: uppercase; }
.metal-data-table tbody td { border-top-color: #e4ebec !important; padding: 12px 10px !important; }
.metal-data-table tbody tr:hover { background: #f6fbfa !important; }
.metal-data-table .price-action-button { font-size: 15px; }
.metal-data-table .price-action-button:hover { background: #fff2d7; color: #b4780d; }
.chart-periods { display: inline-flex; }
.chart-periods button { background: rgba(0,0,0,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 11px; font-weight: 750; padding: 7px 11px; }
.chart-periods button:first-child { border-radius: 8px 0 0 8px; }
.chart-periods button:last-child { border-radius: 0 8px 8px 0; }
.chart-periods button.is-active { background: linear-gradient(135deg,#bc7c18,#ebb247); border-color: #f5c96f; box-shadow: 0 0 18px rgba(239,176,65,.35); }

.price-category-sidebar .list-group-item {
    margin: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    border-radius: 0;
    background: transparent;
    color: #dcebed;
    font-weight: 600;
    transition: background .18s ease, color .18s ease, padding-left .18s ease;
}

.price-category-sidebar .list-group-item:last-child { border-bottom: 0; }
.price-category-sidebar .list-group-item:hover,
.price-category-sidebar .list-group-item:focus {
    padding-left: 20px;
    background: rgba(255, 255, 255, .09);
    color: #fff;
}
.price-category-sidebar .list-group-item.active {
    border-color: rgba(255, 191, 72, .55);
    background: linear-gradient(90deg, #b97b1e, #efb646);
    color: #fff;
    box-shadow: inset 3px 0 0 #ffe2a3;
}

@media (max-width: 700px) {
    .price-chart-panel { margin: 10px 4px 18px; padding: 16px 10px 12px; border-radius: 14px; }
    .price-chart-heading { align-items: flex-start; flex-direction: column; gap: 2px; }
}
@media (max-width: 980px) {
    .metal-database-layout { grid-template-columns: 1fr; }
    .price-category-sidebar { max-height: none; position: static; }
    .metal-element-list { grid-template-columns: repeat(3,minmax(0,1fr)); max-height: 240px; overflow: auto; }
    .metal-filter-bar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
    .metal-database-hero { grid-template-columns: 64px minmax(0,1fr); }
    .metal-hero-image { height: 64px; width: 64px; }
    .metal-hero-symbol { grid-column: 1; grid-row: 2; height: 52px; }
    .metal-hero-copy { grid-column: 2; grid-row: 1 / span 2; }
    .metal-hero-download { grid-column: 1 / -1; }
    .metal-filter-bar { grid-template-columns: 1fr; }
    .metal-element-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .chart-periods { flex-wrap: wrap; }
}
