* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.site-header { position: relative; z-index: 100; }
.nav-shell, .footer-inner { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }
.nav-shell { height: 94px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: Manrope, "Segoe UI", sans-serif; font-size: 16px; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { display: block; width: 36px; height: 36px; flex: 0 0 auto; border-radius: 11px; object-fit: cover; }
.brand small { display: block; margin-top: 1px; color: #82908c; font-family: "DM Sans", "Segoe UI", sans-serif; font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 36px; color: #536563; font-size: 15px; font-weight: 600; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover, .footer-meta a:hover { color: var(--green); }
.nav-account-actions { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.notification-trigger { position: relative; display: grid; width: 40px; height: 40px; place-items: center; padding: 0; border: 1px solid #d8e2dd; border-radius: 8px; color: var(--ink); background: transparent; cursor: pointer; }
.notification-trigger:hover { border-color: var(--green); color: var(--green); }
.notification-trigger svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.notification-badge { display: inline-grid; min-width: 19px; height: 19px; place-items: center; padding: 0 5px; border-radius: 999px; color: white; background: var(--green); font-size: 11px; line-height: 1; }
.notification-trigger .notification-badge { position: absolute; top: -6px; right: -6px; min-width: 17px; height: 17px; padding: 0 4px; font-size: 10px; }
.notification-popover[hidden], .notification-popover-footer[hidden] { display: none; }
.notification-popover { position: absolute; z-index: 101; top: calc(100% + 14px); right: 0; width: min(500px, calc(100vw - 32px)); max-height: min(70vh, 560px); overflow: hidden; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--surface); box-shadow: 0 18px 48px #10251d30; }
.notification-popover-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 16px; padding: 15px 2px 12px; border-bottom: 1px solid var(--line); }
.notification-popover-heading h2 { margin: 0; color: var(--ink); font-size: 17px; }
.notification-close { display: grid; width: 30px; height: 30px; place-items: center; border: 0; border-radius: 50%; color: var(--text-muted); background: transparent; font-size: 24px; cursor: pointer; }
.notification-close:hover { color: var(--ink); background: var(--surface-soft); }
.notification-popover-content { max-height: min(48vh, 400px); overflow-y: auto; padding: 8px 16px; }
.notification-popover-empty { margin: 0; padding: 24px 10px; color: var(--text-muted); text-align: center; font-size: 14px; }
.notification-popover-item { display: grid; gap: 6px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.notification-popover-item:last-child { border-bottom: 0; }
.notification-popover-item strong { color: var(--ink); font-size: 14px; }
.notification-site-link { color: var(--green); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .16s ease; }
.notification-site-link:hover { text-decoration-color: currentColor; }
.notification-site-link:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 2px; }
.notification-popover-item span { color: var(--text-muted); font-size: 13px; }
.notification-popover-footer { display: flex; justify-content: flex-end; padding: 10px 16px 14px; border-top: 1px solid var(--line); }
.notification-antiforgery { display: none; }
.nav-login { padding: 11px 16px; border: 1px solid #d8e2dd; border-radius: 8px; color: var(--ink); }
.nav-login span { padding-left: 11px; color: var(--green); }
.nav-login { transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.nav-login:hover { border-color: #a9c9b8; color: var(--green); background: var(--surface); }
.nav-logout-form { display: flex; margin: 0; }
.nav-logout-button { font: inherit; cursor: pointer; }
.nav-logout-button { appearance: none; -webkit-appearance: none; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; width: min(1160px, calc(100% - 64px)); min-height: 548px; margin: 0 auto; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; min-width: 0; padding: 70px 0 80px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--green); font-size: 14px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #45a982; box-shadow: 0 0 0 4px #e2f3eb; }
.home-hero .status-dot, .about-hero .status-dot { transform: translateX(4px); }
h1, h2 { margin: 22px 0 0; font-family: Manrope, "Segoe UI", sans-serif; font-weight: 700; letter-spacing: -.065em; }
h1 { font-size: clamp(45px, 5.25vw, 68px); line-height: 1.11; }
.hero-description { max-width: 490px; margin: 21px 0 0; color: #687a78; font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 20px; padding: 0 19px; border: 1px solid transparent; border-radius: 8px; color: inherit; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--green); box-shadow: 0 7px 18px #176b5824; }
.button-primary:hover { background: #115744; }
.button-primary span { font-size: 17px; font-weight: 400; }
.button-secondary { border: 1px solid #d8e2dd; background: #fff9; }
.button-secondary:hover { border-color: #a9c9b8; color: var(--green); background: var(--surface); }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 23px; color: #82908c; font-size: 14px; }
.lock-icon { display: grid; width: 17px; height: 17px; place-items: center; border: 1px solid #b8c9c0; border-radius: 50%; color: var(--green); font-size: 15px; }
.identity-card { position: relative; z-index: 1; width: min(340px, 85%); justify-self: center; padding: 24px 25px 25px; overflow: hidden; border: 1px solid #e6eeea; border-radius: 18px; background: #fff; box-shadow: 0 24px 70px #13392b13, 0 3px 9px #13392b08; transform: rotate(2deg); }
.card-topline, .mini-brand { display: flex; align-items: center; }
.card-topline { justify-content: space-between; color: #798a85; font-size: 14px; }
.mini-brand { gap: 7px; font-weight: 700; }
.mini-brand .brand-mark { width: 28px; height: 28px; border-radius: 8px; }
.card-menu { letter-spacing: 2px; }
.avatar-placeholder { display: grid; width: 66px; height: 66px; place-items: center; margin: 31px auto 13px; border: 5px solid #edf5f0; border-radius: 50%; color: var(--green); background: #dceee5; font-family: Manrope, "Segoe UI", sans-serif; font-size: 24px; font-weight: 700; }
.identity-name, .identity-caption { text-align: center; }
.identity-name { font-family: Manrope, "Segoe UI", sans-serif; font-size: 15px; font-weight: 700; }
.identity-caption { margin-top: 4px; color: #98a49f; font-size: 13px; }
.card-divider { height: 1px; margin: 22px 0 9px; background: #edf1ef; }
.connected-row { display: flex; align-items: center; gap: 11px; padding: 12px 0; }
.connected-icon { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 9px; color: var(--green); background: #edf7f1; font-size: 15px; }
.connected-row strong, .connected-row small { display: block; }
.connected-row strong { font-size: 13px; font-weight: 700; }
.connected-row small { margin-top: 4px; color: #99a49f; font-size: 13px; }
.card-glow { position: absolute; z-index: -1; right: -47px; bottom: -66px; width: 155px; height: 155px; border-radius: 50%; background: #dff2e9; filter: blur(1px); opacity: .5; }
.hero-orbit { position: absolute; border: 1px solid #dce9e2; border-radius: 50%; pointer-events: none; }
.orbit-one { top: 45px; right: -105px; width: 510px; height: 510px; }
.orbit-two { top: 95px; right: -54px; width: 410px; height: 410px; border-color: #e7efe9; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); width: min(1160px, calc(100% - 64px)); margin: 0 auto; padding: 26px 0 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip > div { display: flex; align-items: center; gap: 15px; padding: 0 28px; border-right: 1px solid var(--line); }
.trust-strip > div:first-child { padding-left: 0; }
.trust-strip > div:last-child { border-right: 0; }
.trust-number { color: #57a285; font-family: Manrope, "Segoe UI", sans-serif; font-size: 14px; font-weight: 700; }
.trust-strip strong, .trust-strip small { display: block; }
.trust-strip strong { font-size: 14px; }
.trust-strip small { margin-top: 5px; color: #8a9994; font-size: 13px; }
.intro-section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; width: min(950px, calc(100% - 64px)); margin: 0 auto; padding: 93px 0 100px; }
.intro-section .eyebrow { font-size: 13px; }
h2 { margin-top: 16px; font-size: clamp(33px, 4vw, 44px); line-height: 1.2; }
h2 span { color: #7f9790; }
.intro-copy { align-self: center; padding-top: 14px; }
.intro-copy p { margin: 0; color: #6e7e79; font-size: 15px; line-height: 1.9; }
.text-link { display: inline-flex; gap: 10px; margin-top: 20px; color: var(--green); font-size: 14px; font-weight: 700; }
.text-link span { font-size: 16px; }
.home-visual { position: relative; display: grid; min-height: 430px; place-items: center; }
.hero.home-hero { min-height: 470px; }
.home-orbit { position: absolute; border: 1px solid #dbe9e1; border-radius: 50%; }
.home-orbit-outer { width: 390px; height: 390px; }
.home-orbit-inner { width: 290px; height: 290px; border-color: #e5eee8; }
.home-center-card { position: relative; z-index: 1; display: flex; width: 278px; min-height: 242px; align-items: center; flex-direction: column; padding: 23px 22px 16px; border: 1px solid #e4ece7; border-radius: 17px; background: #fff; box-shadow: 0 22px 60px #153d2c12; transform: rotate(1deg); }
.home-center-mark { display: block; width: 47px; height: 47px; margin-bottom: 13px; border-radius: 12px; }
.home-center-card > strong { color: #1d3933; font-family: Manrope, "Segoe UI", sans-serif; font-size: 16px; }
.home-center-card > span { margin-top: 5px; color: #8b9993; font-size: 13px; }
.home-verified { display: flex; width: 100%; align-items: center; gap: 10px; margin-top: 20px; padding: 11px; border: 1px solid #e7f0e9; border-radius: 9px; background: #f7fbf8; }
.home-verified > span { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; border-radius: 8px; color: var(--green); background: #e7f4eb; font-size: 15px; }
.home-verified strong, .home-verified small { display: block; }
.home-verified strong { font-size: 13px; }
.home-verified small { margin-top: 4px; color: #87958f; font-size: 13px; }
.home-service { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 9px 13px 9px 9px; border: 1px solid #e3ece6; border-radius: 9px; color: #526760; background: white; box-shadow: 0 8px 25px #153d2c0d; font-size: 13px; font-weight: 700; }
.home-service-one { top: 93px; right: 2px; }
.home-service-two { bottom: 91px; left: 1px; }
.home-service-icon { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 7px; color: var(--green); background: #eaf5ef; font-size: 13px; }
.home-decoration { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #75b99b; box-shadow: 0 0 0 5px #e7f4ec; }
.home-decoration-one { top: 65px; left: 70px; }
.home-decoration-two { right: 55px; bottom: 68px; width: 6px; height: 6px; background: #b8d8c4; }
.home-how { display: block; width: min(1160px, calc(100% - 64px)); margin: 0 auto; padding: 56px 0; }
.home-section-heading { max-width: 570px; margin: 0 auto 35px; text-align: center; }
.home-section-heading .eyebrow { justify-content: center; }
.home-section-heading h2, .home-control-copy h2, .home-bottom-cta h2 { margin: 12px 0 0; color: #173633; font-size: clamp(27px, 3.5vw, 38px); line-height: 1.22; }
.home-section-heading p { margin: 12px auto 0; color: #71817b; font-size: 14px; line-height: 1.8; }
.home-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.home-step-card { position: relative; min-height: 218px; padding: 24px 22px; border: 1px solid #e3ebe6; border-radius: 12px; background: #fff; }
.home-step-number { position: absolute; top: 23px; right: 22px; color: #94b5a4; font-family: Manrope, "Segoe UI", sans-serif; font-size: 13px; font-weight: 700; }
.home-step-symbol { display: grid; width: 40px; height: 40px; place-items: center; margin-bottom: 20px; border-radius: 12px; color: var(--green); background: #edf7f1; font-size: 19px; }
.home-step-card h3, .about-purpose-card h3, .about-flow-list h3 { margin: 0; color: #25413a; font-family: Manrope, "Segoe UI", sans-serif; font-size: 15px; }
.home-step-card p, .about-purpose-card p, .about-flow-list p { margin: 9px 0 0; color: #7a8983; font-size: 13px; line-height: 1.75; }
.home-control-band { display: grid; grid-template-columns: 1fr .9fr; gap: 70px; width: min(1160px, calc(100% - 64px)); margin: 0 auto; padding: 41px 43px; border: 1px solid #e0eae3; border-radius: 15px; background: #eef5f0; }
.home-control-copy .eyebrow { font-size: 13px; }
.home-control-copy h2 { max-width: 400px; }
.home-control-copy p { max-width: 460px; margin: 13px 0 0; color: #71817b; font-size: 14px; line-height: 1.8; }
.home-control-copy .text-link { margin-top: 17px; }
.home-control-list { display: grid; align-content: center; gap: 12px; }
.home-control-list > div { display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px solid #e4ece6; border-radius: 9px; background: #ffffffb8; }
.home-list-icon { display: grid; width: 29px; height: 29px; flex: 0 0 29px; place-items: center; border-radius: 8px; color: var(--green); background: #e9f5ed; font-size: 14px; }
.home-control-list strong, .home-control-list small { display: block; }
.home-control-list strong { color: #314a40; font-size: 13px; }
.home-control-list small { margin-top: 4px; color: #85928c; font-size: 13px; }
.home-bottom-cta { display: flex; width: min(950px, calc(100% - 64px)); align-items: center; justify-content: space-between; gap: 25px; margin: 0 auto; padding: 90px 0; }
.home-bottom-cta .eyebrow { font-size: 13px; }
.home-bottom-cta h2 { font-size: 25px; }
.home-bottom-cta p { margin: 9px 0 0; color: #74847d; font-size: 13px; }
.home-bottom-cta .button { flex: 0 0 auto; }
.about-page { width: min(1160px, calc(100% - 64px)); margin: 0 auto; padding-bottom: 90px; }
.about-hero { position: relative; display: grid; min-height: 410px; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.about-hero > .eyebrow, .about-hero h1, .about-hero > p, .about-hero > .button, .about-hero-note { position: relative; z-index: 1; grid-column: 1; }
.about-hero h1 { min-width: 0; margin: 18px 0 0; font-size: clamp(36px, 4.3vw, 53px); line-height: 1.14; overflow-wrap: anywhere; }
.about-hero h1 span { color: #789289; }
.about-hero > p { max-width: 510px; margin: 17px 0 0; color: #6e7f78; font-size: 14px; line-height: 1.8; }
.about-hero > .button { width: fit-content; margin-top: 21px; }
.about-hero-note { margin-top: 14px; color: #87958f; font-size: 13px; }
.about-hero-art { position: absolute; top: 0; right: 0; display: grid; width: 48%; height: 100%; place-items: center; }
.about-art-ring { position: absolute; border: 1px solid #dce9e2; border-radius: 50%; }
.ring-one { width: 330px; height: 330px; }
.ring-two { width: 240px; height: 240px; border-color: #e7efe9; }
.about-art-card { position: relative; display: flex; width: 190px; min-height: 185px; align-items: center; flex-direction: column; justify-content: center; gap: 9px; border: 1px solid #e3ebe6; border-radius: 16px; background: white; box-shadow: 0 20px 50px #173d2b12; transform: rotate(3deg); }
.about-art-card .brand-mark { width: 46px; height: 46px; border-radius: 12px; }
.about-art-card > strong { color: #25413a; font-family: Manrope, "Segoe UI", sans-serif; font-size: 16px; }
.about-art-card > small { color: #87958f; font-size: 13px; }
.about-art-card > i { position: absolute; right: -11px; bottom: 18px; display: grid; width: 29px; height: 29px; place-items: center; border: 4px solid #fff; border-radius: 50%; color: #fff; background: #429875; font-size: 14px; font-style: normal; }
.about-content-section, .about-flow-section { padding: 78px 0; }
.about-section-heading { max-width: 610px; margin-bottom: 30px; }
.about-section-heading h2, .about-data-copy h2, .about-control-section h2 { margin: 12px 0 0; color: #183833; font-size: clamp(26px, 3vw, 34px); line-height: 1.25; }
.about-section-heading p, .about-data-copy p, .about-control-section p { margin: 11px 0 0; color: #72817b; font-size: 14px; line-height: 1.8; }
.about-purpose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.about-purpose-card { min-height: 174px; padding: 21px; border: 1px solid #e3ebe6; border-radius: 11px; background: #fff; }
.about-card-index { display: block; margin-bottom: 25px; color: #65a486; font-family: Manrope, "Segoe UI", sans-serif; font-size: 13px; font-weight: 800; }
.about-flow-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-flow-section .about-section-heading { max-width: none; text-align: center; }
.about-flow-list { display: grid; max-width: 900px; margin: 0 auto; grid-template-columns: 1fr; gap: 12px; }
.about-flow-list article { display: flex; gap: 13px; padding: 17px; border: 1px solid #e3ebe6; border-radius: 10px; background: #fff; }
.about-flow-list article > span { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 8px; color: var(--green); background: #edf7f1; font-size: 13px; font-weight: 700; }
.about-data-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 65px; padding: 78px 0; }
.about-data-copy .eyebrow { font-size: 13px; }
.about-data-card { display: grid; gap: 2px; padding: 9px 17px; border: 1px solid #e4ece7; border-radius: 12px; background: #fff; }
.about-data-card > div { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-bottom: 1px solid #edf1ef; }
.about-data-card > div:last-child { border-bottom: 0; }
.about-data-dot { width: 8px; height: 8px; flex: 0 0 8px; margin-top: 4px; border-radius: 50%; background: #5ca381; box-shadow: 0 0 0 4px #edf7f1; }
.about-data-card strong, .about-data-card small { display: block; }
.about-data-card strong { color: #29453d; font-size: 13px; }
.about-data-card small { margin-top: 5px; color: #87958f; font-size: 13px; }
.about-control-section { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 24px; border: 1px solid #dfe9e2; border-radius: 13px; background: #eef5f0; }
.about-control-icon { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 12px; color: var(--green); background: #dcefe4; font-size: 19px; }
.about-control-section .eyebrow { font-size: 13px; }
.about-control-section h2 { margin-top: 6px; font-size: 17px; }
.about-control-section p { max-width: 570px; margin-top: 5px; font-size: 13px; }
.about-control-section .button { min-height: 42px; border: 0; font-family: inherit; font-size: 13px; }
.site-footer { border-top: 1px solid var(--line); background: #f1f5f2; }
.footer-inner { display: grid; min-height: 94px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; }
.footer-brand { font-size: 16px; }
.footer-brand .brand-mark { width: 36px; height: 36px; }
.footer-brand small { max-width: 175px; font-size: 13px; }
.footer-meta { display: contents; color: #87948f; font-size: 13px; }
.footer-copyright { grid-column: 2; justify-self: center; }
.footer-meta a { color: #596c66; }
.footer-meta a { grid-column: 3; justify-self: end; }
.auth-page { display: grid; grid-template-columns: minmax(0, 480px) minmax(280px, 420px); justify-content: center; gap: 80px; width: min(1160px, calc(100% - 64px)); min-height: calc(100vh - 190px); align-items: center; margin: 0 auto; padding: 64px 0; }
.auth-card { width: 100%; padding: 35px 38px; border: 1px solid #e5ece8; border-radius: 16px; background: white; box-shadow: 0 18px 55px #13392b0c; }
.auth-back { display: inline-block; margin-bottom: 30px; color: #71817c; font-size: 14px; font-weight: 600; }
.auth-back:hover { color: var(--green); }
.auth-title { margin-top: 13px; font-size: 34px; letter-spacing: -.055em; }
.auth-description { margin: 13px 0 0; color: #74827d; font-size: 14px; line-height: 1.75; }
.auth-form { display: flex; flex-direction: column; margin-top: 25px; }
.registration-wizard [hidden] { display: none !important; }
.registration-progress { display: flex; justify-content: space-between; gap: 8px; margin: 8px 0 16px; padding: 0; list-style: none; }
.registration-progress li { display: flex; align-items: center; gap: 7px; min-width: 0; color: #84928c; font-size: 12px; }
.registration-progress li span { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 auto; border: 1px solid #d6e1db; border-radius: 50%; background: #fff; font-size: 12px; }
.registration-progress li[aria-current="step"] { color: #286f58; font-weight: 700; }
.registration-progress li[aria-current="step"] span { border-color: #286f58; color: #fff; background: #286f58; }
.account-type-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 8px 0 4px; padding: 0; border: 0; }
.account-type-picker legend { grid-column: 1 / -1; margin-bottom: 8px; color: #314946; font-size: 14px; font-weight: 700; }
.account-type-option { display: flex; align-items: flex-start; gap: 10px; min-width: 0; margin: 0 !important; padding: 13px 12px; border: 1px solid #dce6e1; border-radius: 9px; background: #fcfdfc; cursor: pointer; }
.account-type-option:has(input:checked) { border-color: #397c64; background: #eff7f2; box-shadow: 0 0 0 1px #397c64 inset; }
.account-type-option input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: #286f58; flex: 0 0 auto; }
.account-type-option-copy { display: grid; gap: 3px; }
.account-type-option-copy strong { color: #263e38; font-size: 14px; }
.account-type-option-copy small { color: #62746d; font-size: 12px; line-height: 1.4; }
.registration-section-heading h2 { margin: 0; color: #263e38; font-size: 17px; }
.registration-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.registration-field { display: flex; flex-direction: column; min-width: 0; }
.registration-field > label { display: flex; align-items: center; margin: 15px 0 7px; line-height: 1.3; }
.registration-wizard .field-error:empty { display: none; }
.registration-wizard .field-label-hint { margin-left: 4px; color: #687a72; font-size: .88em; font-weight: 400; white-space: nowrap; }
.registration-section-heading { margin-top: 21px; padding-top: 17px; border-top: 1px solid #e5ece8; }
.registration-section-heading .field-hint { margin-bottom: 0; }
.registration-step-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.registration-step-actions .button { min-width: 130px; }
.registration-step-actions [data-back] { flex: 0 0 80px; min-width: 0; min-height: 40px; padding: 0 10px; }
.registration-final-actions .button-primary { margin-left: auto; }
.registration-step-actions[hidden] { display: none !important; }
.registration-final-actions [type="submit"] { flex: 1 1 auto; width: auto; min-width: 0; margin: 0; }
@media (max-width: 560px) {
    .account-type-picker, .registration-field-grid { grid-template-columns: 1fr; }
    .registration-progress li { flex-direction: column; align-items: flex-start; gap: 4px; font-size: 11px; }
    .registration-step-actions:not(.registration-final-actions) [data-next] { flex: 1 1 auto; min-width: 0; }
    .registration-step-actions:not(.registration-final-actions) [data-back] { flex-basis: 80px; }
    .registration-final-actions [data-back] { flex-basis: 80px; }
    .registration-final-actions [type="submit"] { flex: 1 1 auto; }
}
.auth-form label { margin: 15px 0 7px; color: #314946; font-size: 14px; font-weight: 700; }
.auth-input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #dce6e1; border-radius: 7px; outline: none; color: var(--ink); background: #fcfdfc; font: inherit; font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.auth-input:focus { border-color: #5b9a81; box-shadow: 0 0 0 3px #e1f1e9; }
.auth-input.input-validation-error { border-color: #ba5f58; }
.field-hint { margin-top: 6px; color: #5f7068; font-size: 13px; line-height: 1.55; }
.field-error, .validation-summary { display: block; margin-top: 5px; color: #a84039; font-size: 13px; line-height: 1.5; }
.ukep-status-error { color: #a84039 !important; font-weight: 600; }
.validation-summary ul { margin: 0; padding-left: 17px; }
.auth-submit { width: 100%; margin-top: 25px; border: 0; cursor: pointer; font-family: inherit; }
.auth-switch { margin: 19px 0 0; color: #788781; text-align: center; font-size: 14px; }
.auth-switch a { color: var(--green); font-weight: 700; }
.auth-privacy { display: flex; align-items: flex-start; gap: 9px; margin-top: 23px; padding-top: 18px; border-top: 1px solid #edf1ef; color: #8a9993; font-size: 13px; line-height: 1.6; }
.auth-privacy .lock-icon { flex: 0 0 17px; }
.auth-aside { max-width: 340px; }
.auth-aside-mark { display: block; width: 48px; height: 48px; margin-bottom: 26px; border-radius: 12px; }
.auth-aside h2 { margin: 0; font-size: 28px; line-height: 1.35; }
.auth-aside p { margin-top: 16px; color: #778680; font-size: 14px; line-height: 1.8; }
.notice { margin-top: 20px; padding: 12px 14px; border: 1px solid #cfe8da; border-radius: 8px; color: #265842; background: #f0faf4; font-size: 14px; line-height: 1.6; }
.auth-result-page { grid-template-columns: minmax(0, 480px); }
.auth-result-card { text-align: center; }
.result-icon { display: grid; width: 48px; height: 48px; place-items: center; margin: 0 auto 20px; border-radius: 50%; font-size: 21px; font-weight: 700; }
.result-success { color: #176b58; background: #e1f3e9; }
.result-pending { color: #496b83; background: #e8f1f7; }
.result-error { color: #9a5149; background: #fae9e6; }
.auth-result-card .eyebrow { justify-content: center; }
.auth-result-card .auth-title { margin-top: 14px; }
.auth-result-card form { margin: 0; }
.auth-error-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.auth-error-actions .button { min-height: 44px; }
.account-page { width: min(900px, calc(100% - 64px)); min-height: calc(100vh - 190px); margin: 0 auto; padding: 70px 0 100px; }
.account-heading { max-width: 560px; }
.account-heading .auth-title { margin-top: 13px; }
.profile-card { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 21px; border: 1px solid #e3ebe6; border-radius: 12px; background: white; }
.profile-avatar { flex: 0 0 58px; width: 58px; height: 58px; margin: 0; }
.profile-avatar-image { display: block; object-fit: cover; background: transparent; }
.profile-avatar-form { position: relative; flex: 0 0 58px; width: 58px; height: 58px; margin: 0; }
.profile-avatar-control { position: relative; display: block; width: 58px; height: 58px; margin: 0; cursor: pointer; }
.profile-avatar-control input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.profile-avatar-edit { position: absolute; right: -3px; bottom: -3px; display: grid; width: 25px; height: 25px; place-items: center; border: 2px solid white; border-radius: 50%; color: white; background: var(--green); opacity: 0; transform: scale(.85); transition: opacity .16s ease, transform .16s ease; }
.profile-avatar-edit svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.profile-avatar-control:hover .profile-avatar-edit, .profile-avatar-control:focus-within .profile-avatar-edit { opacity: 1; transform: scale(1); }
.profile-avatar-control:focus-within { outline: 3px solid var(--green); outline-offset: 4px; border-radius: 50%; }
.profile-photo-remove { position: absolute; z-index: 2; bottom: -3px; left: -3px; display: grid; width: 25px; height: 25px; min-height: 25px; place-items: center; margin: 0; padding: 0; border: 2px solid white; border-radius: 50%; color: white; background: var(--green); box-shadow: none; opacity: 0; transform: scale(.85); transition: opacity .16s ease, transform .16s ease; }
.profile-photo-remove:hover { color: white; background: var(--green-dark, var(--green)); }
.profile-photo-remove svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.profile-avatar-form:hover .profile-photo-remove, .profile-avatar-form:focus-within .profile-photo-remove { opacity: 1; transform: scale(1); }
.profile-photo-remove:focus-visible { opacity: 1; transform: scale(1); }
.profile-avatar-form .button.profile-photo-remove { width: 25px; height: 25px; min-width: 25px; min-height: 25px; flex: 0 0 25px; padding: 0; line-height: 1; }
.profile-card strong, .profile-subtitle { display: block; }
.profile-card strong { font-size: 15px; }
.profile-subtitle { margin-top: 6px; color: #83918b; font-size: 13px; }
.profile-account-info { min-width: 0; }
.profile-card-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-left: auto; }
.profile-assurance-badge { padding: 8px 12px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 750; white-space: nowrap; }
.profile-assurance-badge.assurance-simplified { border-color: #bfd8ee; color: #245d87; background: #eaf4fc; }
.profile-assurance-badge.assurance-standard { border-color: #ead39e; color: #795514; background: #fbf3df; }
.profile-assurance-badge.assurance-verified { border-color: #a9d9bc; color: #126445; background: #dff2e6; }
.profile-verification-trigger { padding: 9px 13px; border: 1px solid #c5dfd1; border-radius: 999px; color: #176b58; background: #eff8f2; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; transition: background .18s, border-color .18s, transform .18s; }
.profile-verification-trigger:hover { border-color: #87bda0; background: #e3f2e8; transform: translateY(-1px); }
.profile-verification-trigger:focus-visible { outline: 3px solid #5b9a81; outline-offset: 3px; }
.profile-form { margin-top: 24px; }
.profile-tabs { display: flex; gap: 5px; padding: 6px; overflow-x: auto; border: 1px solid #e3ebe6; border-radius: 11px; background: #edf2ee; scrollbar-width: thin; }
.operator-pagination { align-items: center; }
.profile-tab { flex: 1 0 auto; min-height: 42px; padding: 0 14px; border: 0; border-radius: 7px; color: #667872; background: transparent; font: inherit; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: color .2s, background .2s, box-shadow .2s; }
.profile-tab:hover { color: var(--green); }
.profile-tab[aria-selected="true"] { color: var(--green); background: white; box-shadow: 0 1px 4px #193d2c14; }
.profile-tab:focus-visible { outline: 2px solid #5b9a81; outline-offset: 2px; }
.profile-panel { margin-top: 12px; padding: 28px; border: 1px solid #e3ebe6; border-radius: 12px; background: white; }
.profile-panel[hidden] { display: none; }
.profile-panel-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid #edf1ef; }
.profile-panel-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 11px; color: var(--green); background: #edf7f1; font-size: 13px; font-weight: 800; }
.profile-panel-heading h2, .profile-subsection h3, .profile-document-card h3 { margin: 0; color: #243c38; font-family: Manrope, "Segoe UI", sans-serif; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.profile-panel-heading p, .profile-subsection p { margin: 5px 0 0; color: #83918b; font-size: 13px; line-height: 1.6; }
.profile-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.profile-field { min-width: 0; }
.profile-field label { display: block; margin-bottom: 7px; color: #314946; font-size: 13px; font-weight: 700; }
.profile-field .auth-input { font-size: 14px; }
.profile-field textarea.auth-input { height: auto; min-height: 76px; padding: 11px 12px; resize: vertical; }
.profile-field select.auth-input { cursor: pointer; }
.profile-field-wide { grid-column: 1 / -1; }
.profile-hint { display: block; margin-top: 6px; color: #5f7068; font-size: 13px; line-height: 1.5; }
.profile-subsection { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 1.3fr); gap: 22px; margin-top: 25px; padding-top: 22px; border-top: 1px solid #edf1ef; }
.profile-access-note { display: flex; flex-direction: column; gap: 5px; margin-top: 22px; padding: 14px 16px; border: 1px solid #e3ebe6; border-radius: 9px; color: #667872; background: #f8fbf9; font-size: 13px; line-height: 1.6; }
.profile-access-note strong { color: #31564b; }
.profile-document-card { margin-top: 13px; padding: 19px; border: 1px solid #e7ede9; border-radius: 10px; background: #fbfdfb; }
.profile-document-card h3 { margin-bottom: 17px; font-size: 14px; }
.organization-profile .account-heading { max-width: 680px; }
.organization-account-card { align-items: center; }
.organization-monogram { display: grid; width: 58px; height: 58px; flex: 0 0 58px; place-items: center; border-radius: 14px; color: var(--green); background: #eaf5ee; font-family: Manrope, "Segoe UI", sans-serif; font-size: 23px; font-weight: 800; }
.organization-avatar-form .organization-monogram { margin: 0; border: 0; border-radius: 14px; }
.organization-account-card .profile-account-info { display: grid; gap: 4px; }
.organization-account-card .profile-account-info strong { overflow-wrap: anywhere; }
.organization-account-card .profile-account-id { margin-top: 3px; color: #83918b; font-size: 12px; }
.organization-verification { display: flex; flex-direction: column; gap: 4px; }
.organization-verification strong { color: #265842; }
.organization-profile-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; gap: 14px; margin-top: 20px; }
.organization-profile-grid .profile-panel { margin-top: 0; }
.organization-profile-side { display: grid; gap: 14px; }
.organization-profile-form { margin: 0; }
.organization-profile-form .profile-fields { gap: 15px 16px; }
.organization-profile-form textarea.auth-input { height: auto; min-height: 68px; padding: 10px 12px; resize: vertical; }
.organization-profile-form .auth-input[readonly] { color: #697a74; background: #f4f7f5; }
.organization-profile-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #edf1ef; }
.organization-profile-actions > span { color: #83918b; font-size: 12px; line-height: 1.5; }
.organization-profile-actions .button { flex: 0 0 auto; min-height: 42px; }
.organization-profile-section .profile-hint { margin-top: 14px; }
.profile-document-fields { gap: 15px 17px; }
.profile-dependent-list { display: grid; gap: 12px; }
.dependent-row, .vehicle-row { min-width: 0; margin: 0; padding: 18px; border: 1px solid #e5ece8; border-radius: 10px; }
.dependent-row legend, .vehicle-row legend { float: none; width: auto; margin: 0; padding: 0 7px; color: #31564b; font-size: 13px; font-weight: 700; }
.profile-remove-dependent { align-self: end; min-height: 42px; }
.profile-add-dependent { min-height: 40px; margin-top: 13px; padding: 0 14px; border: 1px solid #dce8e0; color: var(--green); background: #f4faf6; font-size: 13px; cursor: pointer; }
.profile-add-dependent span { font-size: 17px; font-weight: 400; }
.confirmation-dialog { width: min(500px, calc(100% - 32px)); max-width: none; padding: 28px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: var(--surface); box-shadow: 0 24px 80px #07130e55; }
.confirmation-dialog::backdrop { background: #07130e99; backdrop-filter: blur(3px); }
.confirmation-dialog h2 { margin: 0; font-size: 23px; line-height: 1.25; letter-spacing: -.04em; }
.confirmation-dialog p { margin: 14px 0 0; color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.verification-reset-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.verification-reset-actions .button { min-height: 44px; }
.profile-save-bar { position: sticky; bottom: 12px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; padding: 12px 14px 12px 18px; border: 1px solid #e0e9e3; border-radius: 11px; background: #ffffffed; box-shadow: 0 5px 20px #193d2c12; backdrop-filter: blur(10px); }
.profile-save-bar span { color: #7b8b83; font-size: 13px; }
.profile-save-bar .button { min-height: 40px; border: 0; cursor: pointer; font-family: inherit; font-size: 13px; }
.profile-security-links { margin-top: 30px; }
.account-actions { margin-top: 18px; border: 1px solid #e3ebe6; border-radius: 12px; background: white; }
.account-action { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; border-bottom: 1px solid #edf1ef; }
.account-action:last-child { border-bottom: 0; }
.account-action strong, .account-action small { display: block; }
.account-action strong { font-size: 14px; }
.account-action small { margin-top: 6px; color: #88968f; font-size: 13px; }
.account-action > span:last-child { color: var(--green); font-size: 17px; }
.profile-logout-form { margin: 0; }
.profile-logout-form .account-action { width: 100%; border: 0; border-bottom: 1px solid #edf1ef; color: inherit; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.profile-logout-form .account-action:hover { background: var(--surface-soft); }
.account-actions > .profile-logout-form:last-child .account-action { border-bottom: 0; }
.session-list { display: grid; gap: 10px; margin-top: 26px; }
.session-card { display: flex; align-items: center; gap: 14px; padding: 17px; border: 1px solid #e3ebe6; border-radius: 11px; background: white; }
.session-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 10px; color: var(--green); background: #edf7f1; }
.session-details { min-width: 0; flex: 1; }
.session-details strong, .session-details span, .session-details small { display: block; overflow-wrap: anywhere; }
.session-details strong { color: #243c38; font-size: 14px; }
.session-details span { margin-top: 5px; color: #687a73; font-size: 13px; }
.session-details small { margin-top: 4px; color: #94a09a; font-size: 13px; }
.session-revoke { min-height: 36px; padding: 0 12px; font-size: 13px; }
.current-session { color: var(--green); font-size: 13px; font-weight: 700; }
.notification-list { display: grid; gap: 10px; margin-top: 26px; }
.notification-delete-all { display: flex; justify-content: flex-end; margin: 22px 0 -12px; }
.notification-card { display: flex; align-items: center; gap: 14px; padding: 17px; border: 1px solid #e3ebe6; border-radius: 11px; background: white; }
.notification-unread { border-color: #bbddc9; background: #fbfefc; }
.notification-details { min-width: 0; flex: 1; }
.notification-details strong, .notification-details span, .notification-details small { display: block; overflow-wrap: anywhere; }
.notification-details strong { color: #243c38; font-size: 14px; }
.notification-details span { margin-top: 5px; color: #687a73; font-size: 13px; }
.notification-details small { margin-top: 4px; color: #82928a; font-size: 12px; }
.notification-actions { display: flex; align-items: center; gap: 12px; }
.notification-actions form { margin: 0; }
.notification-actions .button { min-height: 36px; padding: 0 12px; font-size: 13px; }
.notification-delete { min-height: 36px; }
.application-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 34px; margin-top: 35px; }
.subsection-title { margin: 0 0 15px; font-family: Manrope, "Segoe UI", sans-serif; font-size: 15px; font-weight: 700; letter-spacing: -.03em; }
.application-list { display: grid; align-content: start; gap: 10px; }
.application-list .subsection-title { margin-bottom: 5px; }
.application-card { display: flex; align-items: flex-start; gap: 13px; padding: 16px; border: 1px solid #e3ebe6; border-radius: 10px; background: white; }
.app-initial { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 9px; color: var(--green); background: #edf7f1; font-weight: 700; }
.application-info { min-width: 0; }
.application-info strong, .application-info small, .application-info span { display: block; }
.application-info strong { margin-bottom: 8px; font-size: 14px; }
.application-info small { margin-top: 5px; overflow-wrap: anywhere; color: #7e8d86; font-size: 13px; }
.application-info code { color: #31564b; font-size: 13px; }
.app-type { margin-top: 10px; color: #6d867b; font-size: 13px; }
.application-register { padding: 19px 21px 22px; border: 1px solid #e3ebe6; border-radius: 11px; background: white; }
.application-register .auth-form { margin-top: 10px; }
.application-register .auth-form label { margin-top: 12px; }
.application-register .auth-submit { margin-top: 19px; }
.client-type-label { display: flex; align-items: center; gap: 9px; }
.client-type-label input { accent-color: var(--green); }
.scope-picker { display: grid; gap: 7px; margin: 17px 0 4px; padding: 12px; border: 1px solid #e5ece8; border-radius: 8px; }
.scope-picker legend { float: none; width: auto; margin: 0; padding: 0 4px; color: #314946; font-size: 13px; font-weight: 700; }
.scope-picker .client-type-label { margin: 3px 0 0; }
.secret-notice { margin-top: 23px; padding: 18px; border: 1px solid #d7c88d; border-radius: 10px; color: #625324; background: #fff9e7; font-size: 14px; }
.secret-notice strong, .secret-notice span { display: block; }
.secret-notice p { margin: 8px 0 13px; color: #766a45; line-height: 1.6; }
.secret-notice code { display: block; margin: 8px 0 13px; padding: 11px; overflow-wrap: anywhere; border: 1px solid #eee3bb; border-radius: 6px; color: #42391c; background: white; font-size: 14px; user-select: all; }
.empty-state { padding: 18px; border: 1px dashed #cedbd3; border-radius: 10px; color: #84928c; font-size: 14px; }
.revoke-consent-form { margin-top: 9px; }
.user-application-list { margin-top: 25px; gap: 14px; }
.user-application-card { padding: 20px; }
.user-application-card .application-info { flex: 1; }
.user-app-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 14px; }
.user-app-heading .app-type { display: inline-block; margin: 0; padding: 3px 9px; border-radius: 999px; background: #edf7f1; }
.user-app-heading .status-revoked { color: #855b56; background: #f7eeec; }
.shared-data-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 9px 0 13px; padding: 0; list-style: none; }
.shared-data-list li { padding: 5px 10px; border: 1px solid #e1ebe5; border-radius: 7px; color: #36584b; background: #f6faf7; font-size: 13px; }
.verification-card { display: flex; flex-direction: column; align-items: stretch; gap: 18px; margin: 20px 0; padding: 20px; border: 1px solid #dce9e1; border-radius: 12px; background: #f6faf7; }
.verification-card[hidden] { display: none; }
.verification-heading-copy { display: grid; gap: 4px; }
.verification-card h2 { margin: 3px 0 5px; font-family: Manrope, "Segoe UI", sans-serif; font-size: 18px; }
.verification-card p, .verification-code-panel small { margin: 0; color: #687a73; font-size: 14px; }
.verification-method-picker { min-width: 0; margin: 0; padding: 0; border: 0; }
.verification-method-picker legend { margin-bottom: 9px; color: #314946; font-size: 13px; font-weight: 750; }
.verification-method-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.verification-method-option { display: flex; align-items: flex-start; gap: 9px; min-width: 0; min-height: 92px; margin: 0; padding: 13px; border: 1px solid #dce6e1; border-radius: 9px; color: var(--ink); background: white; cursor: pointer; }
.verification-method-option.is-current { border-color: #8dbca0; background: #f2faf5; }
.verification-method-option.is-unavailable { color: #71817b; background: #f5f7f6; }
.verification-method-option input { flex: 0 0 auto; margin: 3px 0 0; accent-color: var(--green); }
.verification-method-option input:disabled { cursor: not-allowed; }
.verification-method-copy { display: grid; flex: 1 1 auto; gap: 5px; min-width: 0; }
.verification-method-copy strong { font-size: 13px; line-height: 1.4; }
.verification-method-copy small { color: #778780; font-size: 11px; line-height: 1.45; }
.verification-method-state { flex: 0 0 auto; padding: 3px 7px; border-radius: 999px; color: #176b58; background: #e3f3e9; font-size: 10px; font-weight: 750; white-space: nowrap; }
.is-unavailable .verification-method-state { color: #65736e; background: #e9edeb; }
.verification-method-instructions { display: grid; gap: 5px; padding: 13px 15px; border: 1px solid #dce9e1; border-radius: 9px; background: #fff; }
.verification-method-instructions[hidden] { display: none; }
.verification-method-instructions > strong { color: #31564b; font-size: 13px; }
.verification-method-instructions p { line-height: 1.6; }
.organization-verification { flex-direction: column; }
.organization-verification .verification-method-instructions { border-color: #cfe8da; background: #fafffb; }
.verification-status { padding: 7px 12px; border-radius: 999px; color: #176b58; background: #e5f3e9; font-weight: 700; }
.verification-code-panel { display: grid; gap: 8px; min-width: min(100%, 300px); }
.verification-code { padding: 12px 14px; border: 1px dashed #92b5a1; border-radius: 8px; color: #153d32; background: white; font-size: 21px; font-weight: 750; letter-spacing: .12em; text-align: center; user-select: all; }
.two-factor-page .account-heading { margin-bottom: 24px; }
.two-factor-queue-notice { margin: 0 0 18px; padding: 14px 16px; border: 1px solid #92b5a1; border-radius: 10px; color: var(--text-strong); background: var(--surface-soft); line-height: 1.6; }
.two-factor-card, .recovery-codes-card { display: grid; gap: 16px; margin-top: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.two-factor-card h2, .recovery-codes-card h2 { margin: 0; font-size: 20px; }
.two-factor-card p, .recovery-codes-card p { margin: 0; color: var(--text-muted); line-height: 1.65; }
.two-factor-method-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.two-factor-method-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; color: var(--text-strong); background: var(--surface); font: inherit; text-align: left; cursor: pointer; }
.two-factor-method-option > span:first-child { display: grid; gap: 4px; }
.two-factor-method-option strong { font-size: 14px; }
.two-factor-method-option small { color: var(--text-muted); font-size: 12px; line-height: 1.45; }
.two-factor-method-option[aria-selected="true"] { border-color: #74ab8b; background: #f0f8f2; box-shadow: 0 0 0 2px #74ab8b22; }
.two-factor-method-option.is-coming-soon { color: var(--text-muted); background: var(--surface-soft); cursor: not-allowed; opacity: .78; }
.two-factor-method-badge { flex: 0 0 auto; padding: 4px 8px; border-radius: 999px; color: #176b58; background: #e1f3e9; font-size: 11px; font-weight: 750; white-space: nowrap; }
.is-coming-soon .two-factor-method-badge { color: #667872; background: #e9edeb; }
.two-factor-method-panel { display: grid; gap: 14px; padding-top: 19px; border-top: 1px solid var(--line); }
.two-factor-method-panel[hidden] { display: none; }
.two-factor-method-panel h3 { margin: 0; color: var(--text-strong); font-size: 16px; }
.two-factor-method-panel > p { margin: 0; }
.two-factor-method-panel .two-factor-local-note { color: var(--text-muted); font-size: 12px; }
.two-factor-resend-form { margin: 0; }
.two-factor-resend-form .text-link { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.two-factor-steps { display: grid; gap: 8px; margin: 0; padding-left: 22px; color: var(--text-muted); line-height: 1.6; }
.authenticator-setup { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.authenticator-qr { width: 190px; height: 190px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.authenticator-manual-key { display: grid; gap: 8px; }
.authenticator-manual-key code { width: fit-content; padding: 10px 12px; border: 1px dashed #92b5a1; border-radius: 8px; color: var(--text-strong); background: var(--input-surface); font-size: 16px; font-weight: 750; letter-spacing: .1em; user-select: all; }
.two-factor-code-form { max-width: 440px; }
.two-factor-code-form .button { justify-self: start; margin-top: 8px; }
.two-factor-enabled-state { display: flex; align-items: center; gap: 12px; }
.two-factor-enabled-state > span { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 50%; color: #176b58; background: #e1f3e9; font-weight: 800; }
.two-factor-enabled-state p { margin-top: 4px; }
.two-factor-action-details { padding: 14px; border: 1px solid var(--line); border-radius: 10px; }
.two-factor-action-details > summary { color: var(--text-strong); font-weight: 700; cursor: pointer; }
.two-factor-action-details > p { margin-top: 12px; }
.two-factor-action-details .auth-form { max-width: 440px; margin-top: 14px; }
.two-factor-recovery-option { display: flex; align-items: center; gap: 9px; margin: 0; font-weight: 500; }
.recovery-codes-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.recovery-codes-list code { padding: 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--text-strong); background: var(--input-surface); font-size: 15px; text-align: center; user-select: all; }
.two-factor-back { display: inline-block; margin-top: 18px; }
.developer-guide { margin: 22px 0; border: 1px solid #dce9e1; border-radius: 12px; background: white; }
.developer-guide > summary, .developer-guide-content details > summary, .scope-request-details > summary { padding: 16px 19px; color: #21443a; font-weight: 700; cursor: pointer; }
.developer-guide-content { padding: 0 20px 20px; }
.developer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0 24px; }
.developer-table-actions { display: flex; width: max-content; max-width: 100%; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 6px; margin-inline: 0; }
.developer-table-actions form { display: contents; margin: 0; }
.developer-action-button { min-height: 36px; padding: 0 9px; border-radius: 8px; font-size: 12px; white-space: nowrap; }
.developer-action-icon { display: grid; width: 36px; height: 36px; min-height: 36px; flex: 0 0 36px; place-items: center; padding: 0; border-radius: 8px; cursor: pointer; }
.developer-action-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.developer-scope-icons { display: flex; flex-wrap: wrap; gap: 6px; }
.developer-scope-icon { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--green); background: var(--surface-soft); cursor: help; }
.developer-scope-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.button-danger { border: 1px solid #e8c6c2; color: #a0443c; background: #fff8f7; }
.button-danger:hover { border-color: #d99b95; background: #fff0ee; }
.developer-instructions-page .developer-guide-content { padding: 24px; }
.developer-instructions-page pre { padding: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); }
.developer-guide-content h2 { margin: 20px 0 9px; font-family: Manrope, "Segoe UI", sans-serif; font-size: 17px; }
.developer-guide-content p, .developer-guide-content li { color: #5e7169; font-size: 14px; line-height: 1.65; }
.developer-guide-content ul { padding-left: 22px; }
.developer-guide-content details { margin: 9px 0; border: 1px solid #e1ebe5; border-radius: 9px; }
.developer-guide-content details > summary { padding: 12px 14px; }
.developer-guide-content pre { margin: 0; padding: 16px; overflow: auto; color: #e9f2ec; background: #17231d; font: 13px/1.6 Consolas, monospace; }
.table-scroll { overflow-x: auto; }
.developer-parameters { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 13px; }
.developer-col-name { width: 22%; }
.developer-col-id { width: 38%; }
.developer-col-scopes { width: 25%; }
.developer-col-actions { width: 15%; }
.developer-parameters td:nth-child(2) code { overflow-wrap: anywhere; }
.developer-parameters th, .developer-parameters td { padding: 10px; border: 1px solid #e1ebe5; text-align: left; vertical-align: top; }
.developer-parameters td:last-child { vertical-align: middle; }
.scope-request-details { margin-top: 12px; border: 1px solid #e1ebe5; border-radius: 8px; }
.scope-request-details > summary { padding: 9px 11px; font-size: 13px; }
.scope-request-form, .scope-review-form { display: grid; gap: 8px; padding: 11px; }
.scope-request-form .button, .scope-review-form .button { justify-self: start; }
.operator-code-form { display: grid; grid-template-columns: minmax(220px, 1fr) auto; align-items: end; gap: 12px; max-width: 620px; }
.operator-code-form label { grid-column: 1 / -1; margin-bottom: -8px; font-weight: 700; }
.verification-result-card { margin-top: 20px; }
.verification-result-card h2 { font-size: 18px; }
.verification-result-card dl { display: grid; grid-template-columns: minmax(150px, auto) 1fr; gap: 7px 14px; margin: 16px 0; }
.verification-result-card dt { color: #71827a; }
.verification-result-card dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.verification-result-card .application-info { width: 100%; }
.operator-user-row { align-items: center; justify-content: space-between; flex-wrap: wrap; }
.operator-section-title { margin-top: 32px; }
.operator-help { max-width: 690px; margin: -6px 0 18px; color: var(--text-muted); }
.operator-grant-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 14px; }
.operator-id-field { display: grid; gap: 7px; }
.operator-id-field label { font-weight: 700; }
.operator-id-field .auth-input { min-width: 0; height: 49px; font-family: ui-monospace, Consolas, monospace; }
.operator-role-badge { display: inline-flex; align-self: flex-start; margin-top: 8px; padding: 5px 9px; border-radius: 999px; color: #176b58; background: #e7f4ec; font-size: 12px; font-weight: 700; }
.profile-account-id { display: block; margin-top: 8px; color: var(--text-muted); font-size: 13px; }
.profile-account-id code { user-select: all; }
.text-button { padding: 0; border: 0; color: #9c514a; background: none; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.consent-data-list { display: grid; gap: 2px; margin-top: 24px; padding: 9px 14px; border: 1px solid #e5ece8; border-radius: 10px; background: #fbfdfb; text-align: left; }
.consent-data-row { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px solid #edf1ef; }
.consent-data-row:last-child { border-bottom: 0; }
.consent-check { display: grid; width: 21px; height: 21px; flex: 0 0 21px; place-items: center; border-radius: 50%; color: var(--green); background: #e8f5ec; font-size: 14px; }
.consent-data-row strong, .consent-data-row small { display: block; }
.consent-data-row strong { color: #28443c; font-size: 14px; }
.consent-data-row small { margin-top: 5px; color: #819089; font-size: 13px; line-height: 1.55; }
.consent-footnote { margin: 14px 1px 0; color: #83918b; font-size: 13px; line-height: 1.6; text-align: left; }
.consent-form { margin-top: 15px; }
.consent-form .auth-submit { margin-top: 10px; }
.consent-form .consent-deny { color: #51635d; }
.consent-scope-hint { margin: 14px 0 -10px; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.consent-scope-option { position: relative; display: grid; width: 100%; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 12px; cursor: pointer; }
.consent-scope-option > input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.consent-scope-toggle { position: relative; display: inline-block; width: 40px; height: 23px; border-radius: 999px; background: #cbd5ce; transition: background .18s ease; }
.consent-scope-toggle::after { position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: white; box-shadow: 0 1px 3px #132c2d30; content: ""; transition: transform .18s ease; }
.consent-scope-option > input:checked + .consent-scope-toggle { background: var(--green); }
.consent-scope-option > input:checked + .consent-scope-toggle::after { transform: translateX(17px); }
.consent-scope-option > input:focus-visible + .consent-scope-toggle { outline: 3px solid #58ae8b66; outline-offset: 3px; }
.consent-scope-copy { display: block; min-width: 0; }
.consent-scope-copy strong, .consent-scope-copy small { display: block; }
.consent-scope-copy strong { color: #28443c; font-size: 14px; }
.consent-scope-copy small { margin-top: 5px; color: #819089; font-size: 13px; line-height: 1.55; }
.consent-optional-row { align-items: center; }
html[data-theme="dark"] .consent-scope-hint { color: var(--text-muted); }
html[data-theme="dark"] .consent-scope-copy strong { color: var(--text-strong); }
html[data-theme="dark"] .consent-scope-copy small { color: var(--text-muted); }
html[data-theme="dark"] .consent-scope-toggle { background: #56655c; }

@media (max-width: 760px) {
    .developer-parameters { min-width: 760px; }
    .nav-shell, .footer-inner, .hero, .trust-strip { width: min(100% - 40px, 560px); }
    .nav-shell { height: 76px; }
    .nav-links { gap: 14px; font-size: 14px; }
    .nav-links { justify-content: flex-start; }
    .nav-login { padding: 9px 11px; }
    .hero { grid-template-columns: 1fr; padding-bottom: 48px; }
    .hero-copy { padding: 57px 0 29px; }
    .hero-description { max-width: 520px; font-size: 16px; }
    .hero.home-hero { min-height: 0; }
    .home-visual { min-height: 390px; }
    .home-orbit-outer { width: 320px; height: 320px; }
    .home-orbit-inner { width: 245px; height: 245px; }
    .home-service-one { top: 12px; right: 0; }
    .home-service-two { bottom: 12px; left: 0; }
    .home-how { width: min(100% - 40px, 560px); padding: 44px 0; }
    .home-section-heading { margin-bottom: 24px; text-align: left; }
    .home-section-heading .eyebrow { justify-content: flex-start; }
    .home-step-grid { grid-template-columns: 1fr; }
    .home-step-card { min-height: 0; padding: 20px; }
    .home-step-symbol { margin-bottom: 14px; }
    .home-control-band { grid-template-columns: 1fr; gap: 22px; width: min(100% - 40px, 560px); padding: 25px 20px; }
    .home-bottom-cta { width: min(100% - 40px, 560px); align-items: flex-start; flex-direction: column; padding: 62px 0; }
    .about-page { width: min(100% - 40px, 560px); padding-bottom: 62px; }
    .about-hero { min-height: 0; grid-template-columns: 1fr; padding: 53px 0 29px; }
    .about-hero-art { position: relative; width: 100%; height: 285px; margin-top: 20px; }
    .ring-one { width: 250px; height: 250px; }
    .ring-two { width: 185px; height: 185px; }
    .about-content-section, .about-flow-section { padding: 58px 0; }
    .about-purpose-grid, .about-flow-list { grid-template-columns: 1fr; }
    .about-purpose-card { min-height: 0; }
    .about-card-index { margin-bottom: 15px; }
    .about-data-section { grid-template-columns: 1fr; gap: 22px; padding: 58px 0; }
    .about-control-section { grid-template-columns: auto 1fr; gap: 13px; padding: 17px; }
    .about-control-section .button { grid-column: 1 / -1; width: 100%; }
    .identity-card { width: min(340px, 92%); margin: 15px 0 8px; }
    .orbit-one { top: 290px; right: -360px; }
    .orbit-two { top: 340px; right: -307px; }
    .trust-strip { grid-template-columns: 1fr; gap: 17px; padding: 23px 0; }
    .trust-strip > div, .trust-strip > div:first-child { padding: 0; border: 0; }
    .intro-section { grid-template-columns: 1fr; gap: 20px; width: min(100% - 40px, 560px); padding: 68px 0 72px; }
    .intro-copy { padding: 0; }
    .footer-inner { grid-template-areas: "brand brand brand" ". copyright link"; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); row-gap: 16px; padding: 22px 0; }
    .footer-brand { grid-area: brand; }
    .footer-copyright { grid-area: copyright; }
    .footer-meta a { grid-area: link; white-space: nowrap; }
    .auth-page { grid-template-columns: 1fr; gap: 30px; width: min(100% - 40px, 500px); min-height: auto; padding: 38px 0 58px; }
    .auth-card { padding: 28px 23px; }
    .auth-aside { display: none; }
    .account-page { width: min(100% - 40px, 560px); padding: 48px 0 70px; }
    .profile-card { padding: 16px; }
    .profile-card { flex-wrap: wrap; }
    .profile-card-actions { flex-basis: calc(100% - 74px); justify-content: flex-start; margin-left: 74px; }
    .profile-tabs { margin-right: -2px; }
    .profile-tab { min-height: 39px; padding: 0 12px; }
    .profile-panel { padding: 20px 16px; }
    .profile-fields { grid-template-columns: 1fr; gap: 15px; }
    .profile-field-wide { grid-column: auto; }
    .profile-subsection { grid-template-columns: 1fr; gap: 15px; }
    .profile-document-card { padding: 16px 13px; }
    .dependent-row, .vehicle-row { padding: 15px 12px; }
    .profile-save-bar { bottom: 8px; align-items: flex-start; flex-direction: column; padding: 11px; }
    .profile-save-bar .button { width: 100%; }
    .confirmation-dialog { padding: 22px; }
    .verification-reset-actions { flex-direction: column-reverse; }
    .verification-reset-actions .button { width: 100%; }
    .session-card { align-items: flex-start; flex-wrap: wrap; }
    .session-details { width: calc(100% - 52px); flex: initial; }
    .session-card form { margin-left: 52px; }
    .notification-card { align-items: flex-start; flex-wrap: wrap; }
    .notification-details { width: calc(100% - 52px); flex: initial; }
    .notification-actions { margin-left: 52px; }
    .application-grid { grid-template-columns: 1fr; gap: 25px; }
    .application-register { padding: 17px; }
    .operator-code-form { grid-template-columns: 1fr; }
    .operator-code-form label { grid-column: auto; margin-bottom: 0; }
    .verification-result-card dl { grid-template-columns: 1fr; }
    .developer-guide-content { padding: 0 13px 14px; }
}

.operator-scopes-page .account-heading { margin-bottom: 30px; }
.operator-scopes-page .scope-directory-search { margin: 0 0 18px; }
.operator-scopes-page #scopes-results[aria-busy="true"] { opacity: .68; pointer-events: none; }
.operator-scope-applications { display: grid; gap: 18px; width: 100%; margin-top: 0; }
.operator-scope-app-card { min-width: 0; padding: 23px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 8px 24px #163b2b08; }
.operator-scope-app-heading { display: flex; align-items: center; gap: 13px; }
.operator-scope-app-card > summary { list-style: none; cursor: pointer; }
.operator-scope-app-card > summary::-webkit-details-marker { display: none; }
.operator-scope-app-card > summary::after { content: ""; width: 9px; height: 9px; flex: 0 0 9px; margin-left: 2px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg) translateY(-2px); transition: transform .16s ease; }
.operator-scope-app-card[open] > summary { margin-bottom: 8px; }
.operator-scope-app-card[open] > summary::after { transform: rotate(225deg) translate(-1px, -1px); }
.operator-scope-app-card > summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--green) 30%, transparent); outline-offset: 4px; border-radius: 8px; }
.operator-scope-app-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 12px; color: var(--green); background: var(--mint); font-size: 17px; font-weight: 800; }
.operator-scope-app-title { min-width: 0; }
.operator-scope-app-title h2 { margin: 0; color: var(--text-strong); font-size: 18px; letter-spacing: -.025em; overflow-wrap: anywhere; }
.operator-scope-app-title > span { display: block; margin-top: 4px; color: var(--text-muted); font-size: 13px; overflow-wrap: anywhere; }
.operator-scope-count { margin-left: auto; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-muted); background: var(--surface-soft); font-size: 12px; font-weight: 700; white-space: nowrap; }
.operator-scope-client-id { display: grid; grid-template-columns: 155px minmax(0, 1fr); align-items: baseline; gap: 10px; margin-top: 19px; padding: 13px 14px; border-radius: 10px; background: var(--surface-alt); }
.operator-scope-client-id > span { color: var(--text-muted); font-size: 12px; font-weight: 700; }
.operator-scope-client-id code { color: var(--text-strong); font-size: 12px; overflow-wrap: anywhere; }
.operator-scope-issued { margin-top: 23px; }
.operator-scope-subheading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.operator-scope-subheading h3 { margin: 0; color: var(--text-strong); font-size: 15px; }
.operator-scope-subheading > span { color: var(--text-muted); font-size: 12px; }
.operator-scope-issued-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.operator-scope-issued-group { min-width: 0; }
.operator-scope-issued-group-common { grid-column: 1 / -1; }
.operator-scope-issued-group h4 { margin: 0 0 9px; color: var(--text-strong); font-size: 14px; }
.operator-scope-issued-empty { margin: 0; padding: 12px; border: 1px dashed var(--line); border-radius: 9px; color: var(--text-muted); font-size: 12px; }
.operator-scope-issued-list { display: grid; gap: 7px; }
.operator-scope-issued-item { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); }
.operator-scope-check { display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; border-radius: 50%; color: var(--green); background: var(--mint); font-size: 12px; font-weight: 800; }
.operator-scope-issued-name { min-width: 0; color: var(--text-strong); font-size: 13px; font-weight: 650; }
.operator-scope-required-label { margin-left: auto; color: var(--text-muted); font-size: 11px; white-space: nowrap; }
.operator-scope-revoke-button { min-height: 32px; margin-left: auto; padding: 0 10px; font-size: 12px; }
.operator-scope-grant-form { margin-top: 23px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-alt); }
.operator-scope-choice-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.operator-scope-choice-group legend { color: var(--text-strong); font-size: 15px; font-weight: 750; }
.operator-scope-choice-group > p { margin: 5px 0 13px; color: var(--text-muted); font-size: 13px; line-height: 1.55; }
.operator-scope-account-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.operator-scope-account-column { min-width: 0; }
.operator-scope-account-column h4 { margin: 0 0 10px; color: var(--text-strong); font-size: 14px; }
.operator-scope-choice-list { display: grid; gap: 8px; }
.operator-scope-choice { display: flex; align-items: flex-start; gap: 10px; min-width: 0; min-height: 62px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.operator-scope-choice:hover { border-color: color-mix(in srgb, var(--green) 45%, var(--line)); transform: translateY(-1px); }
.operator-scope-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.operator-scope-choice-mark { display: grid; width: 18px; height: 18px; flex: 0 0 18px; place-items: center; margin-top: 1px; border: 1px solid #a9b9b0; border-radius: 5px; color: transparent; font-size: 12px; font-weight: 800; }
.operator-scope-choice input:checked + .operator-scope-choice-mark { border-color: var(--green); color: white; background: var(--green); }
.operator-scope-choice input:focus-visible + .operator-scope-choice-mark { outline: 3px solid color-mix(in srgb, var(--green) 28%, transparent); outline-offset: 2px; }
.operator-scope-choice-copy { display: grid; gap: 3px; min-width: 0; }
.operator-scope-choice-copy strong { color: var(--text-strong); font-size: 13px; line-height: 1.4; }
.operator-scope-choice-copy small { color: var(--text-muted); font-size: 11px; line-height: 1.45; }
.operator-scope-grant-button { min-height: 42px; margin-top: 14px; }
.operator-scope-all-issued { display: flex; align-items: center; gap: 9px; margin-top: 19px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--text-muted); background: var(--surface-alt); font-size: 13px; }
.operator-scope-all-issued span { color: var(--green); font-size: 16px; font-weight: 800; }
html[data-theme="dark"] .operator-scope-app-card { box-shadow: none; }
html[data-theme="dark"] .operator-scope-choice-mark { border-color: #63766b; }
html[data-theme="dark"] .operator-scope-choice input:checked + .operator-scope-choice-mark { color: #14201a; }

@media (max-width: 760px) {
    .operator-scope-app-card { padding: 17px; }
    .operator-scope-count { max-width: 115px; white-space: normal; text-align: center; }
    .operator-scope-client-id { grid-template-columns: 1fr; gap: 5px; }
    .operator-scope-account-columns { grid-template-columns: 1fr; }
    .operator-scope-issued-groups { grid-template-columns: 1fr; }
    .operator-scope-grant-form { padding: 14px; }
    .operator-scope-subheading { align-items: flex-start; flex-direction: column; gap: 3px; }
}

.developer-instructions-page { width: min(1080px, calc(100% - 56px)); padding-top: 42px; }
.developer-doc-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; color: var(--green); font-size: 14px; font-weight: 700; text-decoration: none; }
.developer-doc-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.developer-doc-hero { max-width: none; margin-bottom: 48px; }
.developer-doc-hero h1 { max-width: none; margin: 12px 0; color: var(--ink); font-family: Manrope, "Segoe UI", sans-serif; font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -.045em; }
.developer-doc-hero p { max-width: none; margin: 0; color: var(--text-muted); font-size: 18px; line-height: 1.7; }
.developer-doc-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 21px; }
.developer-doc-tags span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-strong); background: var(--surface); font-size: 12px; font-weight: 750; }
.developer-doc-section { margin-top: 42px; }
.developer-doc-section-heading { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 18px; }
.developer-doc-section-number { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 11px; color: var(--green); background: var(--mint); font-size: 13px; font-weight: 850; }
.developer-doc-section-heading h2 { margin: 1px 0 4px; color: var(--ink); font-family: Manrope, "Segoe UI", sans-serif; font-size: 24px; line-height: 1.25; }
.developer-doc-section-heading p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.developer-doc-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.developer-doc-step { display: flex; align-items: flex-start; gap: 14px; min-width: 0; padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.developer-doc-step > span { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 50%; color: var(--green); background: var(--mint); font-size: 13px; font-weight: 850; }
.developer-doc-step h3 { margin: 1px 0 6px; color: var(--text-strong); font-size: 16px; }
.developer-doc-step p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.developer-doc-parameter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.developer-doc-parameter { min-width: 0; padding: 17px 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.developer-doc-parameter > span { display: block; margin-bottom: 9px; color: var(--text-muted); font-size: 12px; font-weight: 750; letter-spacing: .035em; text-transform: uppercase; }
.developer-doc-parameter code { display: block; width: fit-content; max-width: 100%; padding: 7px 9px; border-radius: 7px; color: var(--green); background: var(--surface-alt); font: 650 13px/1.5 Consolas, monospace; overflow-wrap: anywhere; }
.developer-doc-parameter p { margin: 10px 0 0; color: var(--text-muted); font-size: 13px; line-height: 1.55; }
.developer-doc-scope-note h3 { margin: 0 0 10px; color: var(--text-strong); font-size: 17px; }
.developer-doc-scope-note ul { margin: 9px 0; padding-left: 20px; color: var(--text-muted); font-size: 13px; line-height: 1.7; }
.developer-doc-scope-note li + li { margin-top: 4px; }
.developer-doc-parameter-wide { grid-column: 1 / -1; }
.developer-doc-identity-note { margin: 13px 0 0; padding: 14px 16px; border-left: 3px solid var(--green); border-radius: 0 9px 9px 0; color: var(--text-muted); background: var(--surface-alt); font-size: 13px; line-height: 1.65; }
.developer-doc-identity-note strong, .developer-doc-identity-note code { color: var(--text-strong); }
.developer-doc-code-list { display: grid; gap: 11px; }
.developer-doc-code { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.developer-doc-code > summary { display: flex; align-items: center; gap: 12px; padding: 15px 17px; color: var(--text-strong); cursor: pointer; list-style: none; }
.developer-doc-code > summary::-webkit-details-marker { display: none; }
.developer-doc-code > summary::after { content: "+"; margin-left: auto; color: var(--green); font-size: 21px; font-weight: 500; }
.developer-doc-code[open] > summary::after { content: "−"; }
.developer-doc-language { display: grid; width: 42px; height: 38px; flex: 0 0 42px; place-items: center; border-radius: 9px; color: var(--green); background: var(--mint); font: 800 12px Consolas, monospace; }
.developer-doc-code > summary strong, .developer-doc-code > summary small { display: block; }
.developer-doc-code > summary strong { font-size: 14px; }
.developer-doc-code > summary small { margin-top: 3px; color: var(--text-muted); font-size: 12px; }
.developer-doc-code pre { max-width: 100%; margin: 0 12px 12px; padding: 18px; overflow: auto; border-radius: 9px; color: #e4eee9; background: #17231d; font: 13px/1.7 Consolas, "Courier New", monospace; tab-size: 4; }
.developer-doc-code code { color: inherit; }
.developer-doc-code-note { margin: 12px 0 0; color: var(--text-muted); font-size: 13px; line-height: 1.65; }
.developer-doc-security { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-alt); }
.developer-doc-security .developer-doc-section-heading { margin-bottom: 15px; }
.developer-doc-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 0; padding: 0; list-style: none; }
.developer-doc-checklist li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.developer-doc-checklist li > span:first-child { display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; border-radius: 50%; color: var(--green); background: var(--mint); font-size: 12px; font-weight: 850; }
.developer-doc-checklist code { color: var(--text-strong); font-weight: 750; }
.developer-doc-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 21px 23px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.developer-doc-footer strong, .developer-doc-footer span { display: block; }
.developer-doc-footer strong { color: var(--text-strong); font-size: 15px; }
.developer-doc-footer span { margin-top: 4px; color: var(--text-muted); font-size: 13px; }
.developer-doc-footer .button { flex: 0 0 auto; }

.developer-doc-toc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -19px 0 34px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.developer-doc-toc strong { flex: 0 0 100%; margin: 0 4px 3px; color: var(--text-strong); font-size: 13px; }
.developer-doc-toc a { padding: 7px 10px; border-radius: 8px; color: var(--green); background: var(--surface-alt); font-size: 13px; font-weight: 650; text-decoration: none; }
.developer-doc-toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.developer-instructions-page [id] { scroll-margin-top: 24px; }
.developer-doc-quick-list, .developer-doc-bullets { display: grid; gap: 10px; margin: 0; padding-left: 23px; color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.developer-doc-quick-list a, .developer-doc-bullets a { color: var(--green); font-weight: 650; }
.developer-doc-callout { margin: 18px 0 0; padding: 15px 17px; border: 1px solid color-mix(in srgb, var(--green) 22%, var(--line)); border-left: 4px solid var(--green); border-radius: 10px; color: var(--text-muted); background: var(--surface-alt); font-size: 14px; line-height: 1.65; }
.developer-doc-callout strong { color: var(--text-strong); }
.developer-doc-muted { color: var(--text-muted); font-size: 13px; line-height: 1.65; }
.developer-doc-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; }
.developer-doc-flow li { display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.developer-doc-flow li > span { display: grid; width: 25px; height: 25px; flex: 0 0 25px; place-items: center; border-radius: 50%; color: var(--green); background: var(--mint); font-size: 12px; font-weight: 800; }
.developer-doc-flow strong, .developer-doc-flow small { display: block; }
.developer-doc-flow strong { color: var(--text-strong); font-size: 13px; }
.developer-doc-flow small { margin-top: 4px; color: var(--text-muted); font-size: 12px; line-height: 1.5; }
.developer-doc-steps-single { grid-template-columns: minmax(0, 1fr); }
.developer-doc-steps-single .developer-doc-step { padding: 16px 18px; }
.developer-doc-subtitle { margin: 25px 0 11px; color: var(--text-strong); font-size: 17px; }
.developer-doc-table { width: 100%; border-collapse: collapse; color: var(--text-strong); background: var(--surface); font-size: 13px; line-height: 1.6; }
.developer-doc-table th, .developer-doc-table td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.developer-doc-table th { color: var(--text-strong); background: var(--surface-alt); font-size: 12px; font-weight: 750; }
.developer-doc-table td { color: var(--text-muted); }
.developer-doc-table td:first-child { color: var(--text-strong); font-weight: 650; }
.developer-doc-table code { overflow-wrap: anywhere; color: var(--green); font-size: 12px; }
.developer-doc-inline-code { max-width: 100%; margin: 12px 0 18px; padding: 16px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; color: var(--text-strong); background: var(--surface-alt); font: 12px/1.7 Consolas, monospace; overflow-wrap: anywhere; }
.developer-doc-inline-code code { white-space: pre; }
.developer-example { margin: 12px 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.developer-example > p { margin: 0; padding: 11px 16px; line-height: 1.65; }
.developer-example > summary { padding: 13px 16px; color: var(--text-strong); font-weight: 700; cursor: pointer; }
.developer-example > .developer-doc-inline-code { margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; }
.developer-doc-code pre { white-space: pre; }
.developer-doc-faq { display: grid; gap: 9px; }
.developer-doc-faq details { padding: 0 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.developer-doc-faq summary { padding: 13px 0; color: var(--text-strong); font-size: 14px; font-weight: 700; cursor: pointer; }
.developer-doc-faq p { margin: 0; padding: 0 0 14px; color: var(--text-muted); font-size: 13px; line-height: 1.65; }
.developer-doc-findings { margin-top: 12px; }
.developer-doc-findings strong { color: var(--text-strong); }

.developer-buttons-page .developer-doc-hero { margin-bottom: 24px; }
.developer-button-note { padding: 22px 25px; border: 1px solid var(--line); border-radius: 16px; color: var(--text-muted); background: var(--surface); font-size: 14px; line-height: 1.65; }
.developer-button-note > strong { display: block; margin-bottom: 8px; color: var(--text-strong); font-size: 17px; }
.developer-button-note ol { margin: 0; padding-left: 21px; }
.developer-button-note li + li { margin-top: 4px; }
.developer-button-note a { color: var(--green); font-weight: 750; }
.developer-button-note p { margin: 12px 0 0; }
.developer-button-note code { color: var(--text-strong); font-weight: 700; }
.developer-doc-callout a { color: var(--green); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.developer-button-title { margin: 35px 0 15px; color: var(--ink); font: 800 23px/1.3 Manrope, "Segoe UI", sans-serif; }
.developer-button-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.developer-button-option { position: relative; min-width: 0; border: 2px solid var(--line); border-radius: 15px; color: var(--text-strong); background: var(--surface); text-align: left; }
.developer-button-copy { position: absolute; z-index: 1; top: 12px; right: 12px; display: grid; width: 36px; height: 36px; min-height: 36px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 8px; color: var(--green); background: var(--surface); cursor: pointer; }
.developer-button-copy:hover, .developer-button-copy:focus-visible { border-color: var(--green); background: var(--mint); }
.developer-button-copy::after { position: absolute; right: 0; bottom: calc(100% + 7px); padding: 6px 9px; border-radius: 6px; color: #fff; background: #17231d; content: attr(data-tooltip); font: 12px/1.3 Arial,sans-serif; white-space: nowrap; opacity: 0; pointer-events: none; }
.developer-button-copy:hover::after, .developer-button-copy:focus-visible::after { opacity: 1; }
.developer-button-preview { display: flex; min-height: 127px; align-items: center; justify-content: center; padding: 18px; border-radius: 13px 13px 0 0; background: var(--surface-alt); }
.developer-button-preview--dark { background: #14231b; }
.developer-button-preview .sia-login-button { max-width: 100%; pointer-events: none; }
.developer-button-option-copy { display: grid; gap: 3px; padding: 15px 18px; }
.developer-button-option-copy strong { font-size: 15px; }
.developer-button-option-copy small { color: var(--text-muted); font-size: 13px; line-height: 1.5; }
.developer-button-copy-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 720px) {
    .developer-button-gallery { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
    .developer-instructions-page { width: min(100% - 36px, 620px); padding-top: 30px; }
    .developer-doc-hero { margin-bottom: 36px; }
    .developer-doc-hero h1 { font-size: clamp(32px, 9vw, 44px); }
    .developer-doc-hero p { font-size: 16px; }
    .developer-doc-section { margin-top: 34px; }
    .developer-doc-section-heading h2 { font-size: 21px; }
    .developer-doc-steps, .developer-doc-parameter-grid, .developer-doc-checklist, .developer-doc-flow { grid-template-columns: minmax(0, 1fr); }
    .developer-doc-parameter-wide { grid-column: auto; }
    .developer-doc-security { padding: 18px; }
    .developer-doc-footer { align-items: stretch; flex-direction: column; }
    .developer-doc-footer .button { justify-content: center; }
    .developer-doc-toc { gap: 7px; margin-top: -10px; }
    .developer-doc-toc a { font-size: 12px; }
    .developer-doc-table { min-width: 680px; }
    .developer-doc-table th, .developer-doc-table td { padding: 10px; }
}

/* Operator navigation and workspaces */
.nav-links { gap: clamp(12px, 2vw, 24px); white-space: nowrap; }
.nav-operator-menu { position: relative; color: inherit; }
.nav-operator-menu > summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
.nav-operator-menu > summary::-webkit-details-marker { display: none; }
.nav-operator-menu > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .16s ease; }
.nav-operator-menu[open] > summary::after { transform: rotate(225deg) translate(-1px, -1px); }
.nav-operator-menu > summary:hover { color: var(--green); }
.nav-operator-dropdown { position: absolute; z-index: 5; top: calc(100% + 14px); right: -18px; display: grid; min-width: 245px; gap: 4px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 14px 38px #18342a1c; }
.nav-operator-dropdown a { display: block; padding: 11px 12px; border-radius: 8px; color: var(--text-strong); white-space: normal; }
.nav-operator-dropdown a:hover, .nav-operator-dropdown a:focus-visible { color: var(--green); background: var(--surface-alt); }
.operator-management-page, .operator-scopes-page { width: min(1040px, calc(100% - 64px)); }
.operator-management-page .account-heading, .operator-scopes-page .account-heading { max-width: 720px; margin-bottom: 34px; }
.operator-management-page .account-heading .auth-description, .operator-scopes-page .account-heading .auth-description { max-width: 680px; }
.operator-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 14px; }
.operator-overview-card { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; min-width: 0; padding: 17px 19px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.operator-overview-card > span { color: var(--text-muted); font-size: 13px; font-weight: 700; }
.operator-overview-card > strong { grid-column: 2; grid-row: 1 / span 2; color: var(--green); font-family: Manrope, "Segoe UI", sans-serif; font-size: 27px; line-height: 1; }
.operator-overview-card > small { color: var(--text-muted); font-size: 11px; }
.operator-overview-card.assurance-standard > strong { color: #287858; }
.operator-overview-card.assurance-verified > strong { color: #356c9a; }
.operator-management-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 16px; margin-top: 18px; }
.operator-management-grid > .operator-section { min-width: 0; margin-top: 0; }
.operator-directory-search { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: 9px; margin-bottom: 16px; }
.operator-user-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 7px; }
.operator-email-state { color: var(--text-muted); font-size: 12px; }
.operator-section { margin-top: 30px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-soft); }
.operator-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.operator-collapsible > summary { margin-bottom: 0; list-style: none; cursor: pointer; }
.operator-collapsible > summary::-webkit-details-marker { display: none; }
.operator-collapsible > summary::after { content: ""; width: 9px; height: 9px; flex: 0 0 9px; margin-left: 8px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg) translateY(-2px); transition: transform .16s ease; }
.operator-collapsible[open] > summary { margin-bottom: 18px; }
.operator-collapsible[open] > summary::after { transform: rotate(225deg) translate(-1px, -1px); }
.operator-collapsible > summary:hover h2 { color: var(--green); }
.operator-section-heading .eyebrow { font-size: 11px; }
.operator-section-heading h2 { margin: 5px 0 0; font-size: 23px; letter-spacing: -.04em; }
.operator-count { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-muted); background: var(--surface); font-size: 13px; font-weight: 650; white-space: nowrap; }
.operator-section .application-card { align-items: center; padding: 18px; }
.operator-section .application-info { min-width: 0; }
.operator-section .application-info small { overflow-wrap: anywhere; }
.operator-management-page .operator-grant-section { margin: 0 0 18px; padding: 18px; background: var(--surface); }
.operator-management-page .operator-grant-section .operator-section-heading { margin-bottom: 8px; }
.operator-management-page .operator-grant-section .operator-section-heading h3 { margin: 4px 0 0; font-size: 18px; }
.operator-management-page .operator-grant-form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.operator-management-page .operator-grant-form .button { min-height: 49px; }
.operator-management-page .operator-pagination { justify-content: flex-start; flex-wrap: wrap; gap: 8px; }
.operator-management-page .operator-pagination > span { flex: 1 1 100%; color: var(--text-muted); font-size: 13px; }
.verification-operator-page { width: min(760px, calc(100% - 64px)); }
.verification-operator-page .account-heading { max-width: 690px; margin-bottom: 28px; }
.operator-code-form { max-width: none; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 10px 30px #19372b0a; }
.operator-code-form .auth-input { min-width: 0; height: 50px; font-family: ui-monospace, Consolas, monospace; font-size: 18px; letter-spacing: .08em; }
.operator-code-form .button { min-height: 50px; white-space: nowrap; }
.verification-result-card { padding: 24px; border-radius: 14px; box-shadow: 0 10px 30px #19372b0a; }
.verification-result-card dl { grid-template-columns: minmax(190px, .7fr) 1.3fr; gap: 11px 20px; }
.verification-result-card form { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.passport-scan-field input[type="file"] { display: block; height: auto; min-height: 46px; padding: 6px 8px; color: var(--text-muted); cursor: pointer; }
.passport-scan-field input[type="file"]::file-selector-button { margin-right: 12px; padding: 9px 15px; border: 1px solid #cfe2d8; border-radius: 7px; color: var(--green); background: var(--mint); font: inherit; font-weight: 700; cursor: pointer; transition: background .18s ease, border-color .18s ease; }
.passport-scan-field input[type="file"]::file-selector-button:hover { border-color: #a9cfbb; background: #d3ecdf; }
.verification-result-card form .button-primary { min-height: 48px; }
.verification-evidence-list { display: grid; gap: 10px; margin: 14px 0 20px; padding: 0; list-style: none; }
.verification-evidence-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); }
.verification-evidence-details { min-width: 0; }
.verification-evidence-name { margin: 0 0 3px; overflow-wrap: anywhere; }
.verification-evidence-details small { margin: 0; color: var(--text-muted); }
.verification-evidence-download { flex: 0 0 auto; gap: 8px; min-height: 40px; white-space: nowrap; }
.verification-evidence-download svg { flex: 0 0 auto; }
@media (max-width: 600px) {
    .verification-evidence-item { align-items: stretch; flex-direction: column; }
    .verification-evidence-download { align-self: flex-start; }
}
.operator-scopes-page .application-card { padding: 22px; border-radius: 14px; }
.scope-review-form { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 10px; margin-top: 18px; }
.scope-review-form label { grid-column: 1 / -1; font-size: 13px; font-weight: 650; }
html[data-theme="dark"] .nav-operator-dropdown { border-color: var(--line); background: var(--surface); box-shadow: 0 16px 40px #0006; }
html[data-theme="dark"] .nav-operator-dropdown a:hover, html[data-theme="dark"] .nav-operator-dropdown a:focus-visible { background: var(--surface-soft); }
html[data-theme="dark"] .operator-section { border-color: var(--line); background: var(--surface-soft); }
html[data-theme="dark"] .operator-count { border-color: var(--line); background: var(--surface); }
html[data-theme="dark"] .operator-role-badge { color: #a9dfbf; background: #26372e; }
html[data-theme="dark"] .operator-help { color: var(--text-muted); }
html[data-theme="dark"] .operator-overview-card { border-color: var(--line); background: var(--surface); }

@media (max-width: 980px) {
    .nav-links { gap: 14px; }
}
@media (max-width: 760px) {
    .nav-links { white-space: normal; }
    .nav-operator-menu { order: 0; }
    .nav-operator-dropdown { right: 0; }
    .operator-management-page, .operator-scopes-page, .verification-operator-page { width: min(100% - 40px, 620px); }
    .operator-section { padding: 17px; }
    .operator-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .operator-management-grid { grid-template-columns: 1fr; }
    .operator-directory-search { grid-template-columns: 1fr 1fr; }
    .operator-directory-search .operator-id-field { grid-column: 1 / -1; }
    .operator-section-heading { align-items: flex-start; }
    .operator-grant-form { grid-template-columns: 1fr; }
    .operator-management-page .operator-grant-form { grid-template-columns: 1fr; }
    .scope-review-form { grid-template-columns: 1fr; }
    .scope-review-form label { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Clearer type and stronger focus indicators across the application. */
body { font-size: 15px; line-height: 1.6; }
.nav-links { font-size: 16px; }
.button { font-size: 15px; }
.eyebrow { font-size: 14px; }
.hero-description, .auth-description, .intro-copy p, .about-hero > p,
.about-section-heading p, .about-data-copy p, .about-control-section p { font-size: 16px; }
.hero-note, .trust-strip small, .home-section-heading p, .home-step-card p,
.home-control-copy p, .home-bottom-cta p, .about-purpose-card p, .about-flow-list p { font-size: 14px; }
.trust-strip strong, .home-control-list strong, .home-center-card > strong { font-size: 15px; }
.home-center-card > span, .home-verified small, .home-control-list small,
.about-data-card small, .footer-meta { font-size: 14px; }
.home-verified strong, .home-control-list strong, .about-data-card strong { font-size: 14px; }
.home-service, .home-bottom-cta h2 { font-size: 14px; }
.nav-login { padding: 11px 15px; }
.brand small { font-size: 13px; }
.footer-meta { gap: 20px; }
.auth-form label { font-size: 15px; }
.auth-input { font-size: 16px; }
.field-hint, .field-error, .validation-summary, .auth-switch, .auth-privacy { font-size: 14px; }
.profile-field label { font-size: 14px; }
.profile-field .auth-input { font-size: 16px; }
.profile-hint, .profile-subtitle, .profile-save-bar span { font-size: 14px; }
.profile-tab { font-size: 14px; }
.profile-panel-heading p, .profile-subsection p, .profile-access-note,
.profile-add-dependent, .profile-save-bar .button, .account-action small { font-size: 14px; }
.profile-panel-heading h2, .profile-subsection h3, .profile-document-card h3 { font-size: 16px; }
.account-action strong { font-size: 16px; }
.session-details strong, .session-details span, .session-details small,
.application-info strong, .application-info small, .app-type,
.secret-notice, .consent-data-row strong, .consent-data-row small,
.consent-footnote { font-size: 14px; }
.auth-input:focus-visible, .button:focus-visible, .text-button:focus-visible, .notification-trigger:focus-visible, .text-link:focus-visible,
a:focus-visible, .theme-toggle:focus-visible { outline: 3px solid #4b9e7a; outline-offset: 3px; }

/* Theme palette: the user's choice is stored in local browser storage. */
/* Theme colors are defined in theme-tokens.css. */
html[data-theme="dark"] body { color: var(--ink); background: var(--paper); }
html[data-theme="dark"] .site-header { background: #111916ed; }
html[data-theme="dark"] .site-footer { background: #151f1a; }
html[data-theme="dark"] .nav-links, html[data-theme="dark"] .footer-meta,
html[data-theme="dark"] .nav-login, html[data-theme="dark"] .hero-description,
html[data-theme="dark"] .intro-copy p, html[data-theme="dark"] .about-hero > p,
html[data-theme="dark"] .about-section-heading p, html[data-theme="dark"] .about-data-copy p,
html[data-theme="dark"] .about-control-section p { color: var(--text-muted); }
html[data-theme="dark"] .notification-trigger { border-color: #33423b; color: var(--text-strong); }
html[data-theme="dark"] .notification-trigger:hover { border-color: var(--green); color: var(--green); }
html[data-theme="dark"] .notification-popover { border-color: #39463f; background: #242320; box-shadow: 0 18px 48px #0008; }
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3,
html[data-theme="dark"] .home-step-card h3, html[data-theme="dark"] .about-purpose-card h3,
html[data-theme="dark"] .about-flow-list h3, html[data-theme="dark"] .home-control-copy h2,
html[data-theme="dark"] .home-section-heading h2, html[data-theme="dark"] .home-bottom-cta h2,
html[data-theme="dark"] .about-section-heading h2, html[data-theme="dark"] .about-data-copy h2,
html[data-theme="dark"] .about-control-section h2 { color: var(--text-strong); }
html[data-theme="dark"] .profile-card, html[data-theme="dark"] .profile-panel,
html[data-theme="dark"] .account-actions, html[data-theme="dark"] .session-card,
html[data-theme="dark"] .notification-card,
html[data-theme="dark"] .application-card, html[data-theme="dark"] .application-register,
html[data-theme="dark"] .auth-card, html[data-theme="dark"] .identity-card,
html[data-theme="dark"] .home-center-card, html[data-theme="dark"] .home-service,
html[data-theme="dark"] .home-step-card, html[data-theme="dark"] .about-art-card,
html[data-theme="dark"] .about-purpose-card, html[data-theme="dark"] .about-flow-list article,
html[data-theme="dark"] .about-data-card, html[data-theme="dark"] .scope-picker,
html[data-theme="dark"] .consent-data-list { border-color: var(--line); background: var(--surface); }
html[data-theme="dark"] .organization-monogram { color: #a9dfbf; background: #26372e; }
html[data-theme="dark"] .organization-profile-form .auth-input[readonly] { color: var(--text-muted); background: var(--surface-soft); }
html[data-theme="dark"] .organization-profile-actions { border-color: var(--line); }
html[data-theme="dark"] .organization-verification strong { color: #b8f0cd; }
html[data-theme="dark"] .profile-document-card, html[data-theme="dark"] .dependent-row,
html[data-theme="dark"] .vehicle-row, html[data-theme="dark"] .home-verified,
html[data-theme="dark"] .home-control-list > div, html[data-theme="dark"] .consent-data-row,
html[data-theme="dark"] .about-control-section, html[data-theme="dark"] .shared-data-list li { border-color: var(--line); background: var(--surface-soft); }
html[data-theme="dark"] .verification-card { border-color: var(--line); background: var(--surface); }
html[data-theme="dark"] .verification-method-picker legend { color: var(--text-strong); }
html[data-theme="dark"] .verification-method-option { border-color: var(--line); color: var(--text-strong); background: var(--surface-soft); }
html[data-theme="dark"] .verification-method-option.is-current { border-color: #4e7961; background: #1c2d24; }
html[data-theme="dark"] .verification-method-option.is-unavailable { color: var(--text-muted); background: #202722; }
html[data-theme="dark"] .verification-method-copy small { color: var(--text-muted); }
html[data-theme="dark"] .verification-method-state { color: #b8f0cd; background: #26372e; }
html[data-theme="dark"] .is-unavailable .verification-method-state { color: var(--text-muted); background: #313a35; }
html[data-theme="dark"] .verification-method-instructions { border-color: var(--line); background: var(--surface-soft); }
html[data-theme="dark"] .verification-method-instructions > strong { color: #b8f0cd; }
html[data-theme="dark"] .two-factor-enabled-state > span { color: #a9dfbf; background: #26372e; }
html[data-theme="dark"] .two-factor-method-option { border-color: var(--line); color: var(--text-strong); background: var(--surface-soft); }
html[data-theme="dark"] .two-factor-method-option[aria-selected="true"] { border-color: #4e7961; background: #1c2d24; }
html[data-theme="dark"] .two-factor-method-option.is-coming-soon { color: var(--text-muted); background: #202722; }
html[data-theme="dark"] .two-factor-method-badge { color: #b8f0cd; background: #26372e; }
html[data-theme="dark"] .is-coming-soon .two-factor-method-badge { color: var(--text-muted); background: #313a35; }
html[data-theme="dark"] .two-factor-method-panel { border-color: var(--line); }
html[data-theme="dark"] .two-factor-method-panel h3 { color: var(--text-strong); }
html[data-theme="dark"] .authenticator-qr { border-color: var(--line); }
@media print {
    body * { visibility: hidden; }
    .recovery-codes-card, .recovery-codes-card * { visibility: visible; }
    .recovery-codes-card { position: absolute; inset: 0 auto auto 0; width: 100%; border: 0; }
    .recovery-codes-card button { display: none; }
}
html[data-theme="dark"] .profile-assurance-badge.assurance-simplified { border-color: #355a78; color: #b9ddf8; background: #1c2d3a; }
html[data-theme="dark"] .profile-assurance-badge.assurance-standard { border-color: #705a2d; color: #f1d595; background: #342c1b; }
html[data-theme="dark"] .profile-assurance-badge.assurance-verified { border-color: #3b7656; color: #b8f0cd; background: #1b3b2a; }
html[data-theme="dark"] .profile-verification-trigger { border-color: #3b654e; color: #b7e5c7; background: #1e3327; }
html[data-theme="dark"] .profile-verification-trigger:hover { border-color: #5b9a71; background: #263f31; }
html[data-theme="dark"] .verification-code { border-color: #4e7961; color: var(--text-strong); background: var(--input-surface); }
html[data-theme="dark"] .verification-status { color: #a9dfbf; background: #26372e; }
html[data-theme="dark"] .developer-guide, html[data-theme="dark"] .developer-guide-content details,
html[data-theme="dark"] .scope-request-details { border-color: var(--line); background: var(--surface); }
html[data-theme="dark"] .developer-guide > summary, html[data-theme="dark"] .developer-guide-content details > summary,
html[data-theme="dark"] .scope-request-details > summary { color: var(--text-strong); }
html[data-theme="dark"] .developer-guide-content p, html[data-theme="dark"] .developer-guide-content li,
html[data-theme="dark"] .verification-result-card dt { color: var(--text-muted); }
html[data-theme="dark"] .developer-parameters th, html[data-theme="dark"] .developer-parameters td { border-color: var(--line); }
html[data-theme="dark"] .developer-scope-icon { border-color: var(--line); background: var(--surface); }
html[data-theme="dark"] .home-control-band { border-color: var(--line); background: #1a2921; }
html[data-theme="dark"] .home-service { color: var(--text-strong); }
html[data-theme="dark"] .profile-field label, html[data-theme="dark"] .auth-form label { color: var(--text-strong); }
html[data-theme="dark"] .home-control-list > div { background: var(--surface); }
html[data-theme="dark"] .about-control-section { background: #1a2921; }
html[data-theme="dark"] .auth-input { border-color: #3a4a42; color: var(--ink); background: var(--input-surface); }
html[data-theme="dark"] .account-type-picker legend,
html[data-theme="dark"] .account-type-option-copy strong,
html[data-theme="dark"] .registration-section-heading h2 { color: var(--text-strong); }
html[data-theme="dark"] .account-type-option { border-color: var(--line); background: var(--surface); }
html[data-theme="dark"] .account-type-option:has(input:checked) { border-color: var(--green); background: #20352a; }
html[data-theme="dark"] .account-type-option-copy small { color: var(--text-muted); }
html[data-theme="dark"] .registration-section-heading { border-color: var(--line); }
html[data-theme="dark"] .registration-progress li { color: var(--text-muted); }
html[data-theme="dark"] .registration-progress li span { border-color: var(--line); color: var(--text-strong); background: var(--surface); }
html[data-theme="dark"] .registration-progress li[aria-current="step"] { color: #a9dfbf; }
html[data-theme="dark"] .registration-progress li[aria-current="step"] span { border-color: #69a983; color: #102218; background: #69a983; }
html[data-theme="dark"] .registration-field .field-label-hint { color: var(--text-muted); }
html[data-theme="dark"] .auth-input::placeholder { color: #94a59b; }
html[data-theme="dark"] .auth-input:focus { border-color: #77d0a8; box-shadow: 0 0 0 3px #77d0a829; }
html[data-theme="dark"] .button-secondary, html[data-theme="dark"] .nav-login {
    border-color: #3a4a42; color: var(--ink); background: #202c26;
}
html[data-theme="dark"] .button-secondary:hover, html[data-theme="dark"] .nav-login:hover {
    border-color: #5b8d72; color: var(--green); background: var(--surface);
}
html[data-theme="dark"] .button-primary { color: #102019; background: #77d0a8; }
html[data-theme="dark"] .button-primary:hover { background: #94dfbb; }
html[data-theme="dark"] .passport-scan-field input[type="file"]::file-selector-button { border-color: #426452; color: #d7f3e3; background: #294637; }
html[data-theme="dark"] .passport-scan-field input[type="file"]::file-selector-button:hover { background: #355844; }
html[data-theme="dark"] .home-center-card > strong, html[data-theme="dark"] .home-verified strong,
html[data-theme="dark"] .home-control-list strong, html[data-theme="dark"] .profile-panel-heading h2,
html[data-theme="dark"] .profile-subsection h3, html[data-theme="dark"] .profile-document-card h3,
html[data-theme="dark"] .profile-card strong, html[data-theme="dark"] .account-action strong,
html[data-theme="dark"] .session-details strong, html[data-theme="dark"] .application-info strong,
html[data-theme="dark"] .notification-details strong,
html[data-theme="dark"] .about-data-card strong, html[data-theme="dark"] .consent-data-row strong,
html[data-theme="dark"] .about-art-card > strong { color: var(--text-strong); }
html[data-theme="dark"] .home-center-card > span, html[data-theme="dark"] .home-verified small,
html[data-theme="dark"] .field-hint,
html[data-theme="dark"] .home-control-list small, html[data-theme="dark"] .profile-panel-heading p,
html[data-theme="dark"] .profile-subsection p, html[data-theme="dark"] .profile-hint,
html[data-theme="dark"] .profile-subtitle, html[data-theme="dark"] .account-action small,
html[data-theme="dark"] .session-details span, html[data-theme="dark"] .session-details small,
html[data-theme="dark"] .notification-details span, html[data-theme="dark"] .notification-details small,
html[data-theme="dark"] .application-info small, html[data-theme="dark"] .about-art-card > small,
html[data-theme="dark"] .about-data-card small, html[data-theme="dark"] .about-purpose-card p,
html[data-theme="dark"] .about-flow-list p { color: var(--text-muted); }
html[data-theme="dark"] .user-app-heading .app-type { color: #a9ddc0; background: #26372e; }
html[data-theme="dark"] .notification-unread { border-color: #365542; background: var(--surface-soft); }
html[data-theme="dark"] .user-app-heading .status-revoked { color: #d2a7a0; background: #3b2927; }
html[data-theme="dark"] .shared-data-list li { color: #c0d9cb; }
html[data-theme="dark"] .profile-tabs { border-color: var(--line); background: #151f1a; }
html[data-theme="dark"] .profile-tab { color: #b0beb6; }
html[data-theme="dark"] .profile-tab[aria-selected="true"] { color: #9be2bd; background: #26372e; }
html[data-theme="dark"] .profile-access-note, html[data-theme="dark"] .empty-state {
    border-color: #36483e; color: #b7c5bd; background: #1e2a24;
}
html[data-theme="dark"] .profile-access-note strong { color: #9be2bd; }
html[data-theme="dark"] .profile-save-bar { border-color: var(--line); background: #19231eeb; }
html[data-theme="dark"] .profile-save-bar span { color: #b1bfb7; }
html[data-theme="dark"] .account-action, html[data-theme="dark"] .card-divider,
html[data-theme="dark"] .home-verified, html[data-theme="dark"] .about-data-card > div { border-color: var(--line); }
html[data-theme="dark"] .avatar-placeholder { border-color: #2c4135; color: #9be2bd; background: #253c30; }
html[data-theme="dark"] .brand small, html[data-theme="dark"] .footer-brand small,
html[data-theme="dark"] .hero-note, html[data-theme="dark"] .identity-caption,
html[data-theme="dark"] .trust-strip small, html[data-theme="dark"] .home-section-heading p,
html[data-theme="dark"] .home-bottom-cta p, html[data-theme="dark"] .about-hero-note,
html[data-theme="dark"] .footer-meta { color: #aab9b1; }
html[data-theme="dark"] .home-orbit, html[data-theme="dark"] .about-art-ring,
html[data-theme="dark"] .hero-orbit { border-color: #2a3b32; }
html[data-theme="dark"] .trust-strip > div { border-color: var(--line); }
html[data-theme="dark"] .site-footer { border-color: var(--line); }
html[data-theme="dark"] .notice { border-color: #315d47; color: #b3e8c8; background: #1b3024; }
html[data-theme="dark"] .secret-notice { border-color: #665a32; color: #eddaa0; background: #302b1c; }
html[data-theme="dark"] .field-error, html[data-theme="dark"] .validation-summary { color: #ffaaa4; }
html[data-theme="dark"] .ukep-status-error { color: #ffaaa4 !important; }
html[data-theme="dark"] h2 span { color: #a7c2b4; }
html[data-theme="dark"] .result-success { color: #9be2bd; background: #1b3024; }
html[data-theme="dark"] .result-pending { color: #b9ddf8; background: #1c2d3a; }
html[data-theme="dark"] .result-error { color: #ffaaa4; background: #382321; }
html[data-theme="dark"] table { color: var(--ink); border-color: var(--line); }
html[data-theme="dark"] th, html[data-theme="dark"] td { border-color: var(--line); }
html[data-theme="dark"] .text-button { color: #f29f98; }
html[data-theme="dark"] .button-danger { border-color: #704743; color: #ffaaa4; background: #302321; }
html[data-theme="dark"] .button-danger:hover { border-color: #98615b; background: #3a2926; }
html[data-theme="dark"] .theme-toggle { border-color: #405247; color: #f3d78a; background: #202c26; }

.theme-toggle { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; padding: 0; border: 1px solid #d8e2dd; border-radius: 9px; color: #526760; background: #fff9; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.theme-toggle:hover { border-color: #a9c9b8; color: var(--green); background: var(--surface); }
.theme-icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-icon-moon { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: block; }

.redirect-uri-editor, .redirect-uri-fields { width: 100%; }
.redirect-uri-fields { display: grid; gap: 10px; }
.redirect-uri-row { display: flex; align-items: center; gap: 10px; width: 100%; }
.redirect-uri-row .auth-input { flex: 1 1 auto; min-width: 0; }
.redirect-uri-add { align-self: flex-start; margin: 10px 0 4px; }
.redirect-uri-remove { flex: 0 0 auto; }
.redirect-uri-list { margin: 4px 0 10px; padding-left: 20px; overflow-wrap: anywhere; }
.redirect-uri-list li + li { margin-top: 5px; }
html[data-theme="dark"] .redirect-uri-row .auth-input { border-color: var(--line); color: var(--ink); background: var(--surface); }
.operator-scope-applications .shared-data-list li { display: flex; align-items: center; gap: 12px; }
.scope-remove-form { display: inline-flex; margin: 0 0 0 auto; }
.operator-scopes-page { display: flex; flex-direction: column; }
.privacy-page { width: min(940px, calc(100% - 64px)); }
.privacy-heading { max-width: 720px; margin-bottom: 34px; }
.privacy-content { display: grid; gap: 13px; }
.privacy-section { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; padding: 23px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.privacy-index { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; color: var(--green); background: var(--mint); font-size: 12px; font-weight: 800; }
.privacy-section h2 { margin: 3px 0 10px; font-size: 20px; line-height: 1.3; }
.privacy-section p, .privacy-section li { color: var(--text-muted); font-size: 14px; line-height: 1.75; }
.privacy-section p { margin: 0 0 11px; }
.privacy-section p:last-child { margin-bottom: 0; }
.privacy-section ul { margin: 8px 0 11px; padding-left: 20px; }
.privacy-section li + li { margin-top: 5px; }
.privacy-section strong { color: var(--text-strong); }
.privacy-section a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
html[data-theme="dark"] .privacy-index { color: #a4e0bd; background: #263c30; }
html[data-theme="dark"] .privacy-section h2, html[data-theme="dark"] .privacy-section strong { color: var(--ink); }

@media (max-width: 760px) {
    .privacy-page { width: min(100% - 40px, 560px); }
    .privacy-section { grid-template-columns: 1fr; gap: 12px; padding: 19px; }
    .theme-toggle { width: 36px; height: 36px; flex-basis: 36px; }
    .nav-shell { height: auto; min-height: 76px; flex-wrap: wrap; gap: 10px; padding: 12px 0; }
    .nav-links { min-width: 0; flex: 1 1 auto; flex-wrap: wrap; justify-content: flex-start; gap: 10px; }
    .home-hero .hero-actions { align-items: stretch; flex-wrap: wrap; }
}

@media (min-width: 761px) {
    .nav-shell { justify-content: flex-start; gap: clamp(16px, 2vw, 28px); }
    .brand { flex: 0 0 auto; }
    .nav-links { min-width: 0; flex: 1 1 auto; justify-content: flex-end; gap: clamp(10px, 1vw, 16px); }
    .nav-account-actions { gap: 10px; }
    .notification-trigger, .theme-toggle { width: 40px; height: 40px; flex: 0 0 40px; }
    .nav-login { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 0 13px; line-height: 1; }
    .nav-login span { padding-left: 8px; }
}

@media (min-width: 761px) and (max-width: 1200px) {
    .nav-shell:has(.nav-account-actions) {
        height: auto;
        flex-wrap: wrap;
        gap: 10px;
        padding-block: 14px;
    }
    .nav-shell:has(.nav-account-actions) .nav-links {
        flex: 1 1 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

button, input[type="button"], input[type="submit"], a.button {
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.button { transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.profile-photo-remove { transition: opacity .16s ease, transform .16s ease, background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }

/* Shared layout and control rules for consistent page rhythm. */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }
body { min-width: 320px; overflow-x: clip; }
img, svg, video, canvas { max-width: 100%; }
input, select, textarea, button { max-width: 100%; }

.nav-shell, .footer-inner, .hero, .trust-strip, .about-page,
.account-page, .privacy-page, .operator-management-page,
.operator-scopes-page, .verification-operator-page,
.developer-instructions-page {
    width: min(var(--layout-wide), calc(100% - 2 * var(--layout-gutter)));
}
.account-heading, .privacy-heading { max-width: var(--layout-reading); }
.account-heading .auth-description, .privacy-heading p,
.hero-description, .about-hero > p { max-width: var(--layout-reading); }
.account-heading .auth-description, .privacy-heading p { line-height: 1.7; }
.profile-field input[type="date"] { display: block; width: 100%; min-width: 0; max-width: 100%; }

.button, .nav-login, input[type="button"], input[type="submit"] {
    min-height: var(--control-height);
    border-radius: var(--control-radius);
    font-family: inherit;
}
.button { padding-inline: 18px; }
.button.developer-action-icon { min-height: 36px; padding: 0; border-radius: 8px; }
.button:focus-visible, button:focus-visible, a:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--green) 65%, white);
    outline-offset: 3px;
}

/* Keep long labels, identifiers, and form controls inside their layout. */
.account-page *, .privacy-page *, .operator-management-page *,
.operator-scopes-page *, .verification-operator-page *,
.auth-page * { min-width: 0; }
.developer-parameters, .developer-doc-table { max-width: 100%; }
.developer-doc-table { width: 100%; table-layout: fixed; }
.table-scroll { width: 100%; max-width: 100%; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
.developer-parameters code, .developer-doc-table code,
.developer-instructions-page code { overflow-wrap: anywhere; }
.developer-doc-code pre, .developer-guide-content pre { max-width: 100%; }

@media (max-width: 760px) {
    .nav-shell, .footer-inner, .hero, .trust-strip, .about-page,
    .account-page, .privacy-page, .operator-management-page,
    .operator-scopes-page, .verification-operator-page,
    .developer-instructions-page {
        width: calc(100% - 2 * var(--layout-gutter));
    }
    .account-page, .privacy-page { padding-top: 36px; padding-bottom: 56px; }
    .hero-description, .auth-description, .about-hero > p,
    .account-heading .auth-description, .privacy-heading p {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.7;
    }
    .account-heading, .privacy-heading { margin-bottom: 26px; }
    .button, .nav-login, input[type="button"], input[type="submit"] {
        min-height: 44px;
    }
    .profile-tabs { max-width: 100%; overflow-x: auto; }
    .two-factor-method-options { grid-template-columns: minmax(0, 1fr); }
    .verification-method-options { grid-template-columns: minmax(0, 1fr); }
    .verification-method-option { min-height: 0; }
    .organization-profile-grid { grid-template-columns: minmax(0, 1fr); }
    .organization-profile-actions { align-items: stretch; flex-direction: column; }
    .organization-profile-actions .button { width: 100%; }
    .organization-account-card .profile-card-actions { flex-basis: 100%; margin-left: 74px; }
    .profile-tab { flex: 0 0 auto; }
    .profile-save-bar { gap: 10px; }
    .developer-parameters { display: block; overflow-x: auto; }
    .developer-parameters th, .developer-parameters td { min-width: 110px; }
    .operator-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .operator-directory-search, .operator-grant-form, .scope-review-form,
    .auth-form, .profile-form { min-width: 0; }
    .auth-page { width: calc(100% - 2 * var(--layout-gutter)); }
    .nav-account-actions { position: static; }
    .notification-popover {
        top: calc(100% + 8px);
        right: var(--layout-gutter);
        left: var(--layout-gutter);
        width: auto;
        max-width: 500px;
        margin-inline: auto;
    }
}

@media (max-width: 420px) {
    .nav-shell { align-items: flex-start; }
    .brand { max-width: 100%; }
    .nav-links { width: 100%; flex: 1 1 100%; justify-content: flex-start; }
    .nav-account-actions { flex-wrap: wrap; gap: 8px; }
    .operator-overview { grid-template-columns: 1fr; }
    .privacy-section { padding: 16px; }
    .button { gap: 10px; padding-inline: 14px; }
}

/* Browser based user guide. */
.support-hero { max-width: 760px; }
.support-hero h1 { margin: 0; }
.support-section { margin-top: 38px; scroll-margin-top: 24px; }
.support-hero + .support-section { margin-top: 26px; }
.support-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.support-section-heading h2 { margin: 4px 0 0; color: var(--ink); font: 700 24px Manrope, "Segoe UI", sans-serif; letter-spacing: -.03em; }
.support-section-heading > p { margin: 0; color: var(--text-muted); font-size: 14px; }
.support-contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.support-contact { display: flex; min-width: 0; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: var(--surface); }
.support-contact:hover { border-color: #8fbaa1; transform: translateY(-1px); }
.support-contact-icon { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 10px; color: var(--green); background: #edf7f1; font-size: 19px; font-weight: 700; }
.support-contact-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.support-contact > span:last-child { display: grid; min-width: 0; gap: 4px; }
.support-contact small { color: var(--text-muted); font-size: 12px; }
.support-contact strong { overflow-wrap: anywhere; color: var(--green); font-size: 14px; }
.support-guide-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 28px; }
.support-guide-toc { position: sticky; top: 18px; display: grid; gap: 3px; padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.support-guide-toc a { padding: 9px 10px; border-radius: 7px; color: var(--text-muted); font-size: 13px; line-height: 1.35; }
.support-guide-toc a:hover { color: var(--green); background: #edf7f1; }
.support-guide-content { min-width: 0; padding: 8px 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.support-guide-intro { margin: 14px 0 4px; color: var(--text-muted); font-size: 15px; line-height: 1.7; }
.guide-chapter { padding: 24px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.guide-chapter:last-child { border-bottom: 0; }
.guide-chapter h3 { margin: 3px 0 10px; color: var(--ink); font: 700 18px Manrope, "Segoe UI", sans-serif; }
.guide-chapter h4 { margin: 18px 0 7px; color: var(--ink); font-size: 14px; }
.guide-chapter p, .guide-chapter li { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.guide-chapter p { margin: 8px 0; }
.guide-chapter ol { display: grid; gap: 7px; margin: 8px 0; padding-left: 22px; }
.guide-chapter li { padding-left: 3px; }
.guide-chapter .support-security-note { color: var(--green); font-weight: 700; }
.support-faq-list { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.support-faq-list details + details { border-top: 1px solid var(--line); }
.support-faq-list summary { position: relative; padding: 18px 48px 18px 20px; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.45; cursor: pointer; list-style: none; }
.support-faq-list summary::-webkit-details-marker { display: none; }
.support-faq-list summary::after { position: absolute; top: 50%; right: 20px; color: var(--green); content: "+"; font-size: 22px; font-weight: 400; transform: translateY(-50%); }
.support-faq-list details[open] summary::after { content: "−"; }
.support-faq-list details p { max-width: 800px; margin: -3px 20px 18px; color: var(--text-muted); font-size: 14px; line-height: 1.65; }
html[data-theme="dark"] .support-contact-icon { color: #9be2bd; background: #26372e; }

@media (max-width: 900px) {
    .support-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .support-guide-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 760px) {
    .footer-inner { grid-template-areas: "brand" "copyright" "link"; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 12px; }
    .footer-brand { grid-area: brand; }
    .footer-copyright { grid-area: copyright; grid-column: auto; justify-self: center; }
    .footer-meta a { grid-area: link; grid-column: auto; justify-self: center; }
    .support-page { padding-top: 36px; }
    .support-section { margin-top: 30px; }
    .support-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .support-guide-layout { grid-template-columns: minmax(0, 1fr); }
    .support-guide-toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .support-guide-content { padding: 6px 18px; }
}
@media (max-width: 480px) {
    .support-contact-grid { grid-template-columns: minmax(0, 1fr); }
    .support-contact { padding: 14px; }
    .support-guide-toc { grid-template-columns: minmax(0, 1fr); }
    .guide-chapter { padding: 20px 0; }
    .support-section-heading h2 { font-size: 21px; }
}

/* Keep authentication forms readable before the two-column layout runs out of room. */
@media (min-width: 761px) and (max-width: 1050px) {
    .auth-page {
        grid-template-columns: minmax(0, 500px);
        gap: 0;
        width: min(500px, calc(100% - 2 * var(--layout-gutter)));
    }
    .auth-aside { display: none; }
}



.toast-container {
    position: fixed; z-index: 2000; top: 16px; right: 16px; display: grid;
    width: min(420px, calc(100vw - 32px)); gap: 10px; pointer-events: none;
}
.toast {
    position: relative; display: flex; align-items: flex-start; gap: 12px; overflow: hidden;
    padding: 16px 14px 18px 17px; border: 1px solid #cfe8da; border-left: 4px solid #248365;
    border-radius: 11px; color: #193a32; background: #fff; box-shadow: 0 12px 36px #152b2030;
    pointer-events: auto; opacity: 1; transform: translateX(0); transition: opacity .22s ease, transform .22s ease;
}
.toast-error { border-color: #f0c8c4; border-left-color: #b63d36; color: #562521; }
.toast-message { flex: 1; margin: 0; white-space: pre-line; overflow-wrap: anywhere; font-size: 14px; line-height: 1.5; }
.toast-close { flex: 0 0 auto; width: 26px; height: 26px; margin: -4px -3px 0 0; border: 0; border-radius: 6px; color: inherit; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; }
.toast-close:hover { background: #0000000d; }
.toast-progress { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: #248365; transform-origin: left center; animation: toast-progress 5s linear forwards; }
.toast-error .toast-progress { background: #b63d36; }
.toast-leaving { opacity: 0; transform: translateX(20px); }
.toast:focus-within { outline: 2px solid #248365; outline-offset: 2px; }
@keyframes toast-progress { to { transform: scaleX(0); } }
html[data-theme="dark"] .toast { border-color: #315d47; border-left-color: #62bb98; color: #e1eee8; background: #242a26; box-shadow: 0 12px 36px #0008; }
html[data-theme="dark"] .toast-error { border-color: #6e3d39; border-left-color: #ff8e86; color: #ffe7e4; }
html[data-theme="dark"] .toast-progress { background: #62bb98; }
html[data-theme="dark"] .toast-error .toast-progress { background: #ff8e86; }
html[data-theme="dark"] .auth-back,
html[data-theme="dark"] .auth-description,
html[data-theme="dark"] .auth-privacy,
html[data-theme="dark"] .auth-aside p { color: var(--text-muted); }
html[data-theme="dark"] .auth-form .text-button { color: var(--green); }
@media (prefers-reduced-motion: reduce) {
    .toast, .toast-progress { transition: none; animation-duration: .01ms; }
}

/* Support and responsive site navigation. */
.nav-menu-toggle { display: none; }
.support-page { padding-block: 56px 80px; }

/* Profile sections and removal controls. */
.profile-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; }
.profile-page .profile-tabs { grid-template-columns: 1fr; }
.profile-details-panel { margin-top: 0; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
html[data-theme="dark"] .profile-details-panel { background: var(--surface); }
.profile-identity-grid { display: grid; gap: 16px; }
.profile-identity-card { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-alt); }
.profile-identity-card-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.profile-identity-card-heading h2, .profile-identity-card-heading h3 { margin: 0; font-size: 17px; color: var(--ink); }
.profile-identity-card-heading p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.profile-identity-card-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 11px; color: var(--green); background: #e4f2e9; }
.profile-identity-card-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html[data-theme="dark"] .profile-identity-card-icon { background: #243e31; }
.profile-passport-card .profile-document-fields { margin-top: 0; }
.verification-evidence-section { margin-top: 20px; }
.verification-evidence-section h3 { margin-bottom: 12px; }
@media (max-width: 760px) { .profile-details-panel { padding: 12px; } .profile-identity-card { padding: 16px; } }
.profile-tab { min-width: 0; width: 100%; white-space: normal; line-height: 1.3; }
.profile-panel-heading { gap: 0; }
.dependent-row, .vehicle-row { position: relative; padding-top: 18px; }
.dependent-row legend, .vehicle-row legend { max-width: calc(100% - 52px); padding-right: 10px; }
.profile-remove-dependent { position: absolute; top: 10px; right: 12px; display: grid; width: 36px; height: 36px; min-height: 36px; place-items: center; padding: 0; border: 1px solid #e6d8d5; border-radius: 8px; color: #a4443b; background: #fff8f7; cursor: pointer; }
.profile-remove-dependent svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.profile-remove-dependent:hover { border-color: #c77b72; background: #fbe9e6; }
html[data-theme="dark"] .profile-remove-dependent { border-color: #76514b; color: #ffb6a9; background: #3a2624; }

@media (max-width: 760px) {
    .nav-shell { align-items: center; justify-content: space-between; }
    .nav-menu-toggle { display: flex; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; margin-left: auto; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--surface); cursor: pointer; }
    .nav-menu-toggle span { display: block; width: 19px; height: 2px; border-radius: 2px; background: currentColor; }
    html[data-nav-enhanced="true"] .nav-links { display: none; }
    html[data-nav-enhanced="true"] .nav-links.is-open { display: flex; }
    .nav-links, html[data-nav-enhanced="true"] .nav-links.is-open { flex: 1 1 100%; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); white-space: normal; }
    .nav-links > a { display: flex; min-height: 46px; align-items: center; padding: 11px 12px; border-bottom: 1px solid var(--line); }
    .nav-links > a:last-of-type { border-bottom: 0; }
    .nav-account-actions { display: grid; grid-template-columns: 44px 44px minmax(0, 1fr); align-items: center; justify-items: start; gap: 10px; padding: 12px; }
    .nav-logout-form { grid-column: 3; grid-row: 1; justify-self: end; }
    .notification-trigger, .theme-toggle { width: 44px; height: 44px; }
    .nav-account-actions .theme-toggle { grid-column: 2; grid-row: 1; margin: 0; }
    .nav-links > .theme-toggle { margin: 0 12px 8px; }
    .nav-operator-menu { padding: 10px 11px; }
    .profile-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0; border: 0; border-radius: 0; background: transparent; }
    .profile-tab, .profile-tab:last-child { display: flex; grid-column: auto; min-height: 48px; align-items: center; justify-content: center; padding: 9px 10px; border: 1px solid #e1e9e4; border-radius: 9px; color: #536861; background: var(--surface); text-align: center; }
    .profile-tab[aria-selected="true"] { border-color: #77ad91; color: var(--green); background: #edf7f1; box-shadow: inset 0 0 0 1px #77ad91; }
}
@media (max-width: 420px) {
    .nav-shell { align-items: center; }
    .nav-account-actions { grid-template-columns: 40px 40px minmax(0, 1fr); }
    .nav-account-actions .notification-trigger, .nav-account-actions .theme-toggle { width: 40px; height: 40px; }
    .profile-tab { font-size: 13px; }
}
