: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-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 .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; }
.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; }

@media (max-width: 900px) {
  .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 { margin-top: -45px; padding: 22px 0 64px; }
  .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; }
}
