* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
.sec-brandbar .headline-brandbar-inner { grid-template-columns: 310px minmax(360px, 720px) auto; }
.sec-live-status { display: flex; align-items: center; gap: 10px; color: #fff; white-space: nowrap; }
.sec-live-status > span:last-child { display: grid; gap: 2px; }
.sec-live-status strong { font-size: 13px; letter-spacing: .03em; }
.sec-live-status small { color: rgba(255,255,255,.72); font-size: 11px; }

.sec-page-shell { width: min(var(--rg-shell-max), calc(100% - 32px)); margin: 16px auto 60px; }
.sec-hero { min-height: 118px; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff; background: linear-gradient(118deg,#172a50 0%,#234c8f 58%,#28709e 100%); border-radius: 12px; box-shadow: 0 12px 28px rgba(26,52,93,.16); }
.sec-eyebrow { margin: 0 0 5px; color: #8ecbff; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.sec-hero h1 { margin: 0 0 6px; font-size: clamp(24px,2.4vw,34px); letter-spacing: -.02em; line-height: 1.16; }
.sec-hero p:last-child { max-width: 880px; margin: 0; color: rgba(255,255,255,.76); font-size: 14px; line-height: 1.55; }
.sec-hero-actions { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.sec-secondary-button,.sec-api-button { min-height: 38px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.34); border-radius: 7px; font-size: 13px; font-weight: 700; text-decoration: none; }
.sec-secondary-button { color: #fff; background: rgba(255,255,255,.08); }
.sec-secondary-button.active { color: #16345e; background: #fff; }
.sec-api-button { color: #16345e; background: #fff; }

.sec-metrics { margin: 18px 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.sec-metrics article { min-height: 105px; padding: 18px 20px; display: grid; align-content: center; gap: 5px; background: #fff; border: 1px solid var(--rg-border); border-radius: 10px; box-shadow: var(--rg-shadow); }
.sec-metrics span { color: #748298; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.sec-metrics strong { color: #1d3355; font-size: 17px; }
.sec-metrics small { color: #7d899a; }

.sec-content-grid { display: grid; grid-template-columns: 282px minmax(0,1fr); gap: 18px; align-items: start; }
.sec-filter-card,.sec-results-card { background: #fff; border: 1px solid var(--rg-border); border-radius: 10px; box-shadow: var(--rg-shadow); }
.sec-filter-card { overflow: hidden; position: sticky; top: 16px; }
.sec-filter-heading { min-height: 58px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; background: #f2f6fb; border-bottom: 1px solid var(--rg-border); font-weight: 750; }
.sec-filter-heading button { padding: 5px 8px; color: #65758c; background: transparent; border: 0; font-size: 12px; }
.sec-filter-card section { padding: 18px; border-bottom: 1px solid #edf1f6; }
.sec-filter-card h2 { margin: 0 0 12px; color: #263750; font-size: 14px; }
.sec-filter-options { display: grid; gap: 5px; }
.sec-filter-options button { width: 100%; min-height: 34px; padding: 7px 9px; color: #536279; background: transparent; border: 0; border-radius: 6px; text-align: left; font-size: 13px; }
.sec-filter-options button:hover { color: #3159ad; background: #f5f8fd; }
.sec-filter-options button.active { color: #3159ad; background: #edf3ff; font-weight: 750; }
.sec-filter-options button.active::before { margin-right: 7px; content: '•'; }
.sec-date-fields { display: grid; gap: 9px; }
.sec-date-fields label { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 7px; color: #8290a4; font-size: 12px; }
.sec-date-fields input { width: 100%; min-width: 0; height: 35px; padding: 0 7px; color: #46566e; border: 1px solid #d6deea; border-radius: 6px; }
.sec-source-note { margin: 15px; padding: 12px; display: flex; gap: 10px; color: #46617b; background: #eff8f7; border: 1px solid #cceae6; border-radius: 8px; }
.sec-source-note > span { color: #108474; font-weight: 900; }
.sec-source-note p { margin: 0; font-size: 11px; line-height: 1.55; }
.sec-source-note strong { display: block; color: #285b56; font-size: 12px; }

.sec-results-card { overflow: hidden; min-height: 620px; }
.sec-results-toolbar { min-height: 64px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--rg-border); }
.sec-results-toolbar > div:first-child { display: grid; gap: 3px; }
.sec-results-toolbar strong { color: #263750; font-size: 16px; }
.sec-results-toolbar span { color: #8995a6; font-size: 12px; }
.sec-sort-tabs { display: flex; gap: 4px; padding: 3px; background: #f0f3f8; border-radius: 7px; }
.sec-sort-tabs button { min-height: 32px; padding: 6px 13px; color: #5a6980; background: transparent; border: 0; border-radius: 5px; font-size: 13px; }
.sec-sort-tabs button.active { color: #3159ad; background: #fff; box-shadow: 0 2px 7px rgba(36,61,100,.09); font-weight: 700; }

.sec-filing-item { min-height: 158px; padding: 20px 22px; display: grid; grid-template-columns: 86px minmax(0,1fr) 145px; gap: 18px; border-bottom: 1px solid #e8edf4; transition: background .15s ease; }
.sec-filing-item:hover { background: #fbfcff; }
.sec-form-badge { width: 76px; height: 76px; display: grid; place-items: center; align-self: start; color: #3159ad; background: #edf3ff; border: 1px solid #9bbaff; border-radius: 8px; font-size: 18px; font-weight: 850; letter-spacing: -.02em; }
.sec-form-badge.foreign { color: #1d6a65; background: #eaf8f6; border-color: #84d2ca; }
.sec-filing-main { min-width: 0; }
.sec-company-line { margin-bottom: 7px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: #718097; font-size: 12px; }
.sec-ticker { padding: 2px 6px; color: #fff; background: #263e68; border-radius: 4px; font-weight: 800; }
.sec-event-badge { padding: 3px 7px; color: #845e24; background: #fff6e6; border-radius: 12px; font-weight: 700; }
.sec-amendment { color: #a4404a; font-weight: 700; }
.sec-filing-title { margin: 0; color: #1d2f4d; font-size: 17px; line-height: 1.48; cursor: pointer; }
.sec-filing-title:hover { color: #3159ad; }
.sec-filing-summary { margin: 8px 0 10px; display: -webkit-box; overflow: hidden; color: #5d6d84; font-size: 13px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.sec-filing-meta { display: flex; flex-wrap: wrap; gap: 13px; color: #8995a5; font-size: 11px; }
.sec-filing-side { display: grid; align-content: space-between; justify-items: end; gap: 12px; }
.sec-score { text-align: right; }
.sec-score strong { display: block; color: #263e68; font-size: 20px; }
.sec-score span { color: #8a97a8; font-size: 11px; }
.sec-open-button { min-height: 36px; padding: 8px 12px; color: #3159ad; background: #fff; border: 1px solid #b8c9ea; border-radius: 6px; font-size: 12px; font-weight: 700; }
.sec-open-button:hover { color: #fff; background: #3159ad; border-color: #3159ad; }
.sec-watch-button { color: #8b97a7; background: transparent; border: 0; font-size: 12px; }
.sec-watch-button.active { color: #d18a16; }
.sec-demo-notice { margin: 18px 22px 0; padding: 12px 14px; display: flex; align-items: center; gap: 10px; color: #49617d; background: #f1f6ff; border: 1px solid #d6e4fb; border-radius: 8px; font-size: 12px; line-height: 1.55; }
.sec-demo-notice strong,.sec-sample-badge { color: #fff; background: #3159ad; border-radius: 4px; font-weight: 800; }
.sec-demo-notice strong { padding: 3px 7px; white-space: nowrap; }
.sec-sample-badge { padding: 2px 6px; }
.sec-open-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.sec-secondary-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

.sec-pagination { min-height: 62px; padding: 12px 22px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.sec-pagination button { min-height: 34px; padding: 7px 13px; color: #3159ad; background: #fff; border: 1px solid #c7d3e6; border-radius: 6px; }
.sec-pagination button:disabled { color: #adb6c2; background: #f6f7f9; cursor: default; }
.sec-pagination span { color: #758298; font-size: 12px; }
.sec-loading,.sec-empty { min-height: 360px; padding: 50px 24px; display: grid; place-items: center; align-content: center; gap: 14px; color: #7c899b; text-align: center; }
.sec-loading span { width: 27px; height: 27px; border: 3px solid #dce5f2; border-top-color: #3159ad; border-radius: 50%; animation: sec-spin .8s linear infinite; }
.sec-empty strong { color: #344660; font-size: 17px; }
.sec-empty p { max-width: 520px; margin: 0; line-height: 1.7; }
.sec-empty button { padding: 9px 14px; color: #fff; background: #3159ad; border: 0; border-radius: 6px; }
@keyframes sec-spin { to { transform: rotate(360deg); } }

.sec-detail-modal[hidden] { display: none; }
.sec-detail-modal { position: fixed; z-index: 1000; inset: 0; }
.sec-detail-backdrop { position: absolute; inset: 0; background: rgba(11,23,43,.56); backdrop-filter: blur(2px); }
.sec-detail-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(820px,92vw); overflow-y: auto; background: #fff; box-shadow: -18px 0 55px rgba(10,27,54,.2); }
.sec-detail-close { position: fixed; z-index: 2; top: 16px; right: 18px; width: 36px; height: 36px; color: #41526a; background: #f1f4f8; border: 0; border-radius: 50%; font-size: 24px; }
.sec-detail-header { padding: 40px 48px 28px; color: #fff; background: linear-gradient(125deg,#172a50,#285e9b); }
.sec-detail-kicker { display: flex; align-items: center; gap: 8px; color: #9bd1ff; font-size: 12px; font-weight: 750; }
.sec-detail-header h2 { margin: 16px 0 12px; font-size: 27px; line-height: 1.4; }
.sec-detail-header p { margin: 0; color: rgba(255,255,255,.7); }
.sec-detail-body { padding: 30px 48px 60px; }
.sec-detail-section { padding: 22px 0; border-bottom: 1px solid #e7edf4; }
.sec-detail-section h3 { margin: 0 0 13px; color: #253a5b; font-size: 16px; }
.sec-detail-summary { color: #4c5f79; font-size: 15px; line-height: 1.85; white-space: pre-wrap; }
.sec-section-heading { margin-bottom: 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.sec-section-heading h3 { margin: 0; }
.sec-analysis-status { padding: 7px 10px; display: grid; gap: 2px; border-radius: 7px; text-align: right; }
.sec-analysis-status strong { font-size: 11px; }
.sec-analysis-status span { color: #708198; font-size: 10px; }
.sec-analysis-status.verified { color: #147260; background: #eaf7f3; }
.sec-analysis-status.review { color: #9b5a17; background: #fff5e8; }
.sec-deep-analysis h4 { margin: 20px 0 9px; color: #354967; font-size: 13px; }
.sec-analysis-list { margin: 0; padding-left: 20px; color: #4c5f79; font-size: 13px; line-height: 1.75; }
.sec-analysis-list li + li { margin-top: 5px; }
.sec-change-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.sec-change-grid article { padding: 13px 14px; background: #f7f9fd; border: 1px solid #e2e8f2; border-radius: 8px; }
.sec-change-grid article > span { color: #3159ad; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.sec-change-grid p { margin: 7px 0; color: #3d506d; font-size: 12px; line-height: 1.65; }
.sec-change-grid small { color: #8995a6; }
.sec-risk-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.sec-risk-grid article { padding: 0 15px 14px; border: 1px solid #e4eaf2; border-radius: 9px; }
.sec-evidence-list { display: grid; gap: 9px; }
.sec-evidence-list blockquote { margin: 0; padding: 12px 14px; color: #42566f; background: #f1f8f6; border-left: 3px solid #38a089; border-radius: 0 8px 8px 0; }
.sec-evidence-list strong { color: #28675d; font-size: 11px; }
.sec-evidence-list p { margin: 6px 0 0; font-size: 12px; line-height: 1.65; }
.sec-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.sec-detail-grid div { padding: 13px 15px; background: #f5f8fc; border-radius: 7px; }
.sec-detail-grid span { display: block; margin-bottom: 4px; color: #8794a7; font-size: 11px; }
.sec-detail-grid strong { color: #30445f; font-size: 13px; }
.sec-facts { overflow-x: auto; }
.sec-facts table { width: 100%; border-collapse: collapse; font-size: 12px; }
.sec-facts th,.sec-facts td { padding: 10px 9px; border-bottom: 1px solid #e8edf3; text-align: left; white-space: nowrap; }
.sec-facts th { color: #728097; background: #f5f7fa; }
.sec-facts a,.sec-official-link { color: #3159ad; text-decoration: none; }
.sec-evidence-note { padding: 12px 14px; color: #3e655f; background: #edf8f6; border-radius: 7px; font-size: 12px; line-height: 1.6; }
.sec-source-list { display: grid; gap: 12px; }
.sec-source-card { padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #f8fbff; border: 1px solid #dce5f1; border-radius: 12px; }
.sec-source-card div { min-width: 0; display: grid; gap: 4px; }
.sec-source-card span { color: #3561b8; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sec-source-card strong { color: #12233f; overflow-wrap: anywhere; }
.sec-source-card small { color: #728096; }
.sec-source-card p { margin: 0; display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 10px; }
.sec-source-card a { color: #285bc4; font-weight: 700; text-decoration: none; }
.sec-reader-heading { margin-bottom: 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.sec-reader-heading h3 { margin-bottom: 5px; }
.sec-reader-heading p { margin: 0; color: #718096; font-size: 12px; }
.sec-reader-heading a { flex: 0 0 auto; color: #285bc4; font-size: 12px; font-weight: 700; text-decoration: none; }
.sec-document-reader iframe { width: 100%; min-height: 560px; border: 1px solid #dce5f1; border-radius: 8px; background: #fbfcfe; }
body.sec-modal-open { overflow: hidden; }

@media (max-width: 1180px) {
    .sec-content-grid { grid-template-columns: minmax(0,1fr); }
    .sec-filter-card { position: static; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
    .sec-filter-heading,.sec-source-note { grid-column: 1/-1; }
    .sec-filter-card section { border-right: 1px solid #edf1f6; }
}
@media (max-width: 800px) {
    .sec-page-shell { width: calc(100% - 16px); margin-top: 12px; }
    .sec-brandbar .headline-brandbar-inner { grid-template-columns: minmax(0,1fr); padding: 14px 0; }
    .sec-brandbar .headline-brand,.sec-live-status { display: none; }
    .sec-hero { min-height: 0; padding: 18px; display: grid; }
    .sec-hero-actions { white-space: normal; }
    .sec-metrics { grid-template-columns: 1fr; }
    .sec-filter-card { display: block; }
    .sec-filing-item { padding: 17px; grid-template-columns: 62px minmax(0,1fr); gap: 12px; }
    .sec-form-badge { width: 58px; height: 58px; font-size: 14px; }
    .sec-filing-side { grid-column: 2; display: flex; align-items: center; justify-content: space-between; }
    .sec-score { text-align: left; }
    .sec-score strong { display: inline; margin-right: 4px; font-size: 15px; }
    .sec-results-toolbar { padding: 12px 15px; align-items: flex-start; }
    .sec-detail-header,.sec-detail-body { padding-right: 24px; padding-left: 24px; }
    .sec-detail-grid { grid-template-columns: 1fr; }
    .sec-change-grid,.sec-risk-grid { grid-template-columns: 1fr; }
    .sec-source-card { align-items: flex-start; flex-direction: column; }
    .sec-reader-heading { flex-direction: column; }
    .sec-document-reader iframe { min-height: 430px; }
}
