.ebr-shell, .ebr-page {
    --ebr-green: #0f7a2d;
    --ebr-green-dark: #0a5c22;
}   .ebr-hero-glow {     background:         radial-gradient(ellipse 80% 60% at 50% -20%, rgba(99, 102, 241, 0.12), transparent),         radial-gradient(ellipse 60% 40% at 100% 0%, rgba(16, 185, 129, 0.1), transparent); }   .ebr-card {     overflow: hidden;     border-radius: 1rem;     background: #fff;     border: 1px solid rgba(148, 163, 184, 0.35);     box-shadow:         0 1px 2px rgba(15, 23, 42, 0.04),         0 12px 40px rgba(15, 23, 42, 0.08); }   .ebr-official-strip {     position: relative;     background: linear-gradient(135deg, #0d6b28 0%, #128c35 48%, #0a5c22 100%); }   .ebr-official-strip::after {     content: '';     position: absolute;     inset: 0;     background: linear-gradient(120deg, rgba(255,255,255,0.14) 0%, transparent 42%);     pointer-events: none; }   .ebr-field label {     display: block;     margin-bottom: 0.5rem;     font-size: 0.75rem;     font-weight: 700;     letter-spacing: 0.06em;     text-transform: uppercase;     color: #64748b; }   .ebr-control {     width: 100%;     min-height: 2.75rem;     border: 1px solid #e2e8f0;     border-radius: 0.75rem;     background: #fff;     padding: 0.625rem 0.875rem;     font-size: 0.9375rem;     color: #0f172a;     transition: border-color 0.15s ease, box-shadow 0.15s ease; }   .ebr-control:focus {     outline: none;     border-color: #6366f1;     box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15); }   .ebr-captcha-box {     display: flex;     flex-wrap: wrap;     align-items: stretch;     gap: 0.875rem;     padding: 1rem;     border: 1px dashed #cbd5e1;     border-radius: 0.875rem;     background: linear-gradient(180deg, #f8fafc 0%, #fff 100%); }   .ebr-captcha-img-wrap {     display: flex;     flex: 1 1 100%;     align-items: center;     justify-content: center;     width: 100%;     min-height: 5.5rem;     padding: 0.75rem 1rem;     border: 1px solid #e2e8f0;     border-radius: 0.75rem;     background: #fff;     box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04); }   .ebr-captcha-img {     display: block;     width: 100%;     max-width: 22rem;     height: 5rem;     object-fit: contain;     image-rendering: -webkit-optimize-contrast;     image-rendering: crisp-edges; }   .ebr-captcha-loading {     font-size: 0.9375rem;     font-weight: 600;     color: #64748b; }   .ebr-captcha-reload {     display: inline-flex;     align-items: center;     gap: 0.375rem;     min-height: 2.5rem;     padding: 0 0.875rem;     border: 1px solid #fecaca;     border-radius: 0.625rem;     background: #fff;     color: #dc2626;     font-size: 0.8125rem;     font-weight: 600;     cursor: pointer;     transition: background 0.15s ease; }   .ebr-captcha-reload:hover { background: #fef2f2; }   .ebr-btn-primary {     display: inline-flex;     align-items: center;     justify-content: center;     gap: 0.5rem;     min-height: 2.75rem;     padding: 0 1.25rem;     border: none;     border-radius: 0.75rem;     background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);     color: #fff;     font-size: 0.9375rem;     font-weight: 700;     cursor: pointer;     box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);     transition: transform 0.15s ease, box-shadow 0.15s ease; }   .ebr-btn-primary:hover:not(:disabled) {     transform: translateY(-1px);     box-shadow: 0 6px 18px rgba(79, 70, 229, 0.4); }   .ebr-btn-primary:disabled { opacity: 0.65; cursor: wait; }   .ebr-btn-secondary {     display: inline-flex;     align-items: center;     justify-content: center;     min-height: 2.75rem;     padding: 0 1.25rem;     border: 1px solid #e2e8f0;     border-radius: 0.75rem;     background: #fff;     color: #475569;     font-size: 0.9375rem;     font-weight: 600;     cursor: pointer;     transition: background 0.15s ease; }   .ebr-btn-secondary:hover { background: #f8fafc; }   .ebr-btn-official {     display: inline-flex;     align-items: center;     gap: 0.5rem;     min-height: 2.5rem;     padding: 0 1rem;     border-radius: 0.625rem;     background: rgba(255, 255, 255, 0.16);     color: #fff;     font-size: 0.8125rem;     font-weight: 600;     text-decoration: none;     backdrop-filter: blur(4px);     transition: background 0.15s ease; }   .ebr-btn-official:hover { background: rgba(255, 255, 255, 0.24); }   .portal-btn {     display: inline-flex;     align-items: center;     justify-content: center;     min-height: 2.5rem;     padding: 0 1rem;     border: none;     border-radius: 0.625rem;     background: var(--ebr-green);     color: #fff;     font-size: 0.875rem;     font-weight: 700;     text-decoration: none;     cursor: pointer;     transition: background 0.15s ease; }   .portal-btn:hover { background: var(--ebr-green-dark); }   .portal-alert {     margin: 1rem 1.5rem 0;     border-radius: 0.75rem;     padding: 0.875rem 1rem;     font-size: 0.875rem;     line-height: 1.55; }   .portal-alert--error {     border: 1px solid #fecaca;     background: #fef2f2;     color: #b91c1c; }   .portal-loading {     display: none;     margin: 1rem 1.5rem 0;     padding: 0.75rem 1rem;     border: 1px solid #bbf7d0;     border-radius: 0.75rem;     background: #f0fdf4;     color: #166534;     font-size: 0.875rem; }   .portal-loading.is-active { display: flex; align-items: center; gap: 0.5rem; }   .portal-modal-overlay {     display: none;     position: fixed;     inset: 0;     z-index: 1000;     align-items: flex-start;     justify-content: center;     padding: 1.5rem 0.75rem;     background: rgba(15, 23, 42, 0.6);     backdrop-filter: blur(4px);     overflow-y: auto; }   .portal-modal-overlay.is-open { display: flex; }   .portal-modal {     position: relative;     width: 100%;     max-width: 52rem;     border-radius: 1rem;     background: #fff;     box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);     overflow: hidden; }   .portal-modal-close {     position: absolute;     top: 0.75rem;     right: 0.875rem;     z-index: 2;     width: 2.25rem;     height: 2.25rem;     border: none;     border-radius: 9999px;     background: rgba(255, 255, 255, 0.2);     color: #fff;     font-size: 1.5rem;     line-height: 1;     cursor: pointer; }   .portal-modal-scroll {     max-height: calc(100vh - 3rem);     overflow-y: auto;     padding: 1.25rem; }   .portal-modal-header {     margin: -1.25rem -1.25rem 1rem;     padding: 1.25rem 1rem;     background: linear-gradient(135deg, #0d6b28, #128c35);     color: #fff;     text-align: center; }   .portal-modal-header h4 { margin: 0 0 0.25rem; font-size: 1rem; font-weight: 700; } .portal-modal-header p { margin: 0; font-size: 0.75rem; opacity: 0.9; }   .portal-modal-title {     margin: 0 0 1rem;     font-size: 1rem;     font-weight: 700;     color: #0f7a2d;     text-align: center; }   .portal-table-scroll {     width: 100%;     max-width: 100%;     overflow-x: auto;     -webkit-overflow-scrolling: touch; }   .portal-summary-table, .portal-grade-table {     width: 100%;     min-width: 320px;     border-collapse: collapse;     font-size: 0.8125rem; }   .portal-summary-table th, .portal-summary-table td, .portal-grade-table th, .portal-grade-table td {     border: 1px solid #e2e8f0;     padding: 0.5rem 0.55rem;     text-align: left;     word-break: break-word; }   @media (min-width: 640px) {     .portal-summary-table th,     .portal-summary-table td,     .portal-grade-table th,     .portal-grade-table td {         padding: 0.625rem 0.75rem;     } }   .portal-summary-table th, .portal-grade-table th {     background: #f0fdf4;     color: #166534;     font-weight: 700; }   .portal-modal-actions {     display: flex;     flex-wrap: wrap;     gap: 0.625rem;     margin-top: 1rem; }   body.portal-modal-open { overflow: hidden; }   .ebr-shell {     width: 100%;     max-width: 56rem;     margin: 0 auto;     padding: 2rem 1rem 2.5rem; }   .ebr-hero {     margin-bottom: 2rem;     text-align: center; }   .ebr-hero-badge {     display: inline-block;     border: 1px solid rgba(99, 102, 241, 0.2);     border-radius: 9999px;     background: #fff;     padding: 0.35rem 0.85rem;     font-size: 11px;     font-weight: 700;     letter-spacing: 0.18em;     text-transform: uppercase;     color: #4f46e5;     box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06); }   .ebr-hero-title {     margin: 1rem 0 0;     font-size: clamp(1.75rem, 4vw, 2.25rem);     font-weight: 800;     line-height: 1.15;     color: #0f172a; }   .ebr-hero-desc {     max-width: 42rem;     margin: 0.75rem auto 0;     font-size: 1rem;     line-height: 1.65;     color: #475569; }   .ebr-official-strip {     padding: 1.25rem 1.5rem;     color: #fff; }   .ebr-official-grid {     position: relative;     z-index: 1;     display: grid;     grid-template-columns: minmax(0, auto) minmax(0, 1fr);     align-items: center;     gap: 1rem 1.25rem;     min-width: 0; }   .ebr-logo-wrap {     display: flex;     align-items: center;     justify-content: center;     width: 4.5rem;     height: 4.5rem;     flex-shrink: 0;     padding: 0.5rem;     border-radius: 0.75rem;     background: rgba(255, 255, 255, 0.95);     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); }   .ebr-logo-img {     display: block;     width: 3.25rem;     height: 3.25rem;     max-width: 3.25rem;     max-height: 3.25rem;     object-fit: contain; }   .ebr-official-kicker {     margin: 0;     font-size: 11px;     font-weight: 600;     letter-spacing: 0.14em;     text-transform: uppercase;     color: #d1fae5; }   .ebr-official-title {     margin: 0.35rem 0 0;     font-size: 1.25rem;     font-weight: 700;     line-height: 1.25; }   .ebr-official-subtitle {     margin: 0.35rem 0 0;     font-size: 0.875rem;     line-height: 1.45;     color: rgba(236, 253, 245, 0.95); }   .ebr-official-links {     display: flex;     flex-wrap: wrap;     gap: 0.5rem;     margin-top: 0.75rem; }   .ebr-trust-bar {     display: flex;     flex-wrap: wrap;     align-items: center;     justify-content: space-between;     gap: 0.75rem;     padding: 1rem 1.5rem;     border-bottom: 1px solid #f1f5f9;     background: #f8fafc; }   .ebr-trust-text {     margin: 0;     font-size: 0.875rem;     line-height: 1.55;     color: #475569; }   .ebr-trust-dot {     display: inline-block;     width: 0.5rem;     height: 0.5rem;     margin-right: 0.35rem;     border-radius: 9999px;     background: #10b981;     vertical-align: middle; }   .ebr-trust-text a {     color: #4f46e5;     font-weight: 600;     text-decoration: none; }   .ebr-trust-text a:hover { text-decoration: underline; }   .portal-btn-emerald { background: #059669; } .portal-btn-emerald:hover { background: #047857; }   .portal-btn-pdf { background: #1d4ed8; } .portal-btn-pdf:hover { background: #1e40af; }   .ebr-form-body { padding: 1.5rem; }   .ebr-form-grid {     display: grid;     gap: 1.25rem; }   .ebr-form-span-2 { grid-column: 1 / -1; }   .ebr-captcha-input {     flex: 1 1 8rem;     min-width: 0;     width: auto; }   .ebr-captcha-actions {     display: flex;     flex: 1 1 100%;     flex-wrap: wrap;     align-items: center;     gap: 0.75rem; }   .ebr-form-actions {     display: flex;     flex-wrap: wrap;     align-items: center;     justify-content: flex-end;     gap: 0.75rem;     margin-top: 1.5rem;     padding-top: 1.5rem;     border-top: 1px solid #f1f5f9; }   .ebr-card-footer {     display: flex;     flex-wrap: wrap;     align-items: center;     justify-content: space-between;     gap: 0.75rem;     padding: 1rem 1.5rem;     border-top: 1px solid #f1f5f9;     background: #f8fafc;     font-size: 0.75rem;     color: #64748b; }   .ebr-powered {     display: flex;     align-items: center;     gap: 0.5rem; }   .ebr-powered img {     height: 2rem;     width: auto;     max-height: 2rem;     object-fit: contain; }   .ebr-footnote {     margin-top: 1.5rem;     text-align: center;     font-size: 0.75rem;     line-height: 1.6;     color: #64748b; }   .ebr-footnote a {     color: #4f46e5;     font-weight: 600;     text-decoration: none; }   .ebr-footnote a:hover { text-decoration: underline; }   .ebr-seo {     margin-top: 2.5rem;     display: grid;     gap: 1.5rem; }   .ebr-seo-card {     border-radius: 1rem;     background: #fff;     border: 1px solid rgba(148, 163, 184, 0.35);     box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 40px rgba(15, 23, 42, 0.06);     padding: 1.5rem; }   @media (min-width: 640px) {     .ebr-seo-card { padding: 2rem; } }   .ebr-seo-card h2 {     margin: 0;     padding-left: 0.875rem;     border-left: 4px solid #0f7a2d;     font-size: 1.25rem;     font-weight: 800;     color: #0f172a;     line-height: 1.35; }   .ebr-seo-card h3 {     margin: 1.25rem 0 0.5rem;     font-size: 1.05rem;     font-weight: 700;     color: #0f172a; }   .ebr-seo-card p, .ebr-seo-card li {     font-size: 0.9375rem;     line-height: 1.7;     color: #475569; }   .ebr-seo-card p { margin: 1rem 0 0; }   .ebr-seo-card ul, .ebr-seo-card ol {     margin: 0.75rem 0 0;     padding-left: 1.25rem; }   .ebr-seo-card li + li { margin-top: 0.35rem; }   .ebr-seo-card a {     color: #0f7a2d;     font-weight: 600;     text-decoration: none; }   .ebr-seo-card a:hover { text-decoration: underline; }   .ebr-seo-grid {     display: grid;     gap: 1rem;     margin-top: 1rem; }   @media (min-width: 640px) {     .ebr-seo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }   @media (min-width: 900px) {     .ebr-seo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }   .ebr-seo-chip {     border-radius: 0.75rem;     border: 1px solid #e2e8f0;     background: #f8fafc;     padding: 0.875rem 1rem;     font-size: 0.875rem;     font-weight: 600;     color: #334155; }   .ebr-faq-list { margin-top: 1rem; display: grid; gap: 0.75rem; }   .ebr-faq-item {     border: 1px solid #e2e8f0;     border-radius: 0.875rem;     background: #fff;     overflow: hidden; }   .ebr-faq-item[open] { border-color: rgba(15, 122, 45, 0.25); box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06); }   .ebr-faq-item summary {     cursor: pointer;     list-style: none;     padding: 1rem 1.15rem;     font-size: 0.9375rem;     font-weight: 600;     color: #1e293b; }   .ebr-faq-item summary::-webkit-details-marker { display: none; }   .ebr-faq-item summary::after {     content: '+';     float: right;     color: #94a3b8;     font-weight: 700; }   .ebr-faq-item[open] summary::after { content: '−'; color: #0f7a2d; }   .ebr-faq-item .ebr-faq-a {     border-top: 1px solid #f1f5f9;     padding: 0.875rem 1.15rem 1.1rem;     font-size: 0.9rem;     line-height: 1.7;     color: #475569; }   .ebr-spinner {     display: inline-block;     width: 1rem;     height: 1rem;     border: 2px solid #059669;     border-top-color: transparent;     border-radius: 9999px;     animation: ebr-spin 0.8s linear infinite; }   @keyframes ebr-spin { to { transform: rotate(360deg); } }   .portal-subjects-title {     margin: 0 0 0.5rem;     font-size: 0.875rem;     font-weight: 700;     color: #065f46; }   @media (min-width: 640px) {     .ebr-shell { padding-left: 1.5rem; padding-right: 1.5rem; }     .ebr-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }     .ebr-logo-wrap { width: 5rem; height: 5rem; }     .ebr-logo-img { width: 3.75rem; height: 3.75rem; max-width: 3.75rem; max-height: 3.75rem; } }   @media (max-width: 639px) {     .ebr-official-grid { grid-template-columns: 1fr; }     .ebr-form-actions { flex-direction: column; }     .ebr-form-actions button { width: 100%; } }
