.ed-page{max-width:1640px;margin:0 auto;color:var(--text,#1e293b)}
.ed-header,.ed-detail-head,.ed-lead>header{display:flex;align-items:start;justify-content:space-between;gap:16px}
.ed-header h1{margin:6px 0;font-size:28px;letter-spacing:-.5px}.ed-header p{color:var(--muted,#64748b);margin:8px 0 18px}.ed-eyebrow{font-size:12px;letter-spacing:1px;color:#4b6f81;font-weight:600}
.ed-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.ed-stats>div{border:1px solid var(--line,#dbe3eb);border-radius:12px;padding:18px;background:var(--panel,#fff)}.ed-stats b{display:block;font-size:29px;font-weight:650;color:#1b5c63}.ed-stats span{display:block;font-size:13px;color:#64748b;margin-top:5px}
.ed-muted,.ed-page small{color:var(--muted,#64748b);font-size:12px;line-height:1.65}.ed-page small{display:block}.ed-page code{font-size:11px;overflow-wrap:anywhere;color:#576578}.ed-page a{color:#176b78;text-decoration:none}.ed-page a:hover{text-decoration:underline}
.ed-message{min-height:24px;font-size:13px;color:#176b78}.ed-error,.ed-dialog-error{color:#b42318}.ed-notice{padding:12px 15px;border-left:3px solid #d49b38;background:#fff8e8;color:#72551d;font-size:13px;line-height:1.7;border-radius:4px}
.ed-tabs{display:flex;gap:5px;margin:10px 0 18px;border-bottom:1px solid #dbe3eb;padding-bottom:9px}.ed-tabs button[aria-pressed=true]{background:#e7f2f1;color:#135e62;border-color:#a8cfcc}
.ed-page button,.ed-dialog button{font-size:12px;white-space:normal;min-height:34px;padding:6px 12px;border:1px solid #ccd8df;border-radius:7px;background:var(--panel,#fff);color:inherit;cursor:pointer}.ed-page button.primary,.ed-dialog button.primary{background:#1c696b;color:white;border-color:#1c696b}.ed-page button:disabled,.ed-dialog button:disabled{opacity:.45;cursor:default}
.ed-page label,.ed-dialog label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#526074}.ed-page input,.ed-page select,.ed-dialog input,.ed-dialog select,.ed-dialog textarea{box-sizing:border-box;max-width:100%;min-width:0;padding:8px 10px;border:1px solid #cbd5df;border-radius:7px;background:var(--panel,#fff);color:inherit;font:inherit}.ed-dialog textarea{resize:vertical;min-height:74px}.ed-dialog form{display:grid;gap:14px}.ed-dialog header,.ed-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.ed-dialog footer{justify-content:flex-end}.ed-dialog h2{margin:0;font-size:21px}.ed-dialog{width:min(580px,90vw);max-height:88vh;overflow:auto;padding:26px;border:1px solid #d7e1e9;border-radius:16px;box-shadow:0 20px 100px #10253633;color:#26374b}.ed-dialog::backdrop{background:#10253655}
.ed-search,.ed-form-row{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.ed-search{padding:15px;border:1px solid #dbe3eb;border-radius:10px;margin-bottom:16px;background:var(--panel,#fff)}.ed-search-text{flex:1;min-width:220px}.ed-search label:not(.ed-search-text){max-width:160px}.ed-check{flex-direction:row!important;align-items:center;padding-bottom:8px}.ed-check input{width:auto}.ed-form-row>label{flex:1;min-width:130px}
.ed-layout{display:grid;grid-template-columns:minmax(460px,1.05fr) minmax(390px,1fr);gap:20px;align-items:start}.ed-list,.ed-detail{border:1px solid #dbe3eb;background:var(--panel,#fff);border-radius:12px;overflow:hidden}.ed-detail{padding:22px}.ed-detail h2{margin:5px 0;font-size:23px}.ed-detail h3{font-size:15px;margin:26px 0 12px}.ed-detail p{font-size:13px;line-height:1.75;overflow-wrap:anywhere}.ed-detail details{margin:10px 0}.ed-detail summary,.ed-lead summary{font-size:12px;cursor:pointer;line-height:1.8;color:#526c7c}.ed-scroll{overflow-x:auto}.ed-list table{width:100%;border-collapse:collapse;font-size:12px}.ed-list th{text-align:left;background:#f5f8fa;padding:12px;color:#526074;font-weight:600}.ed-list td{border-top:1px solid #edf0f3;padding:13px 12px;vertical-align:top;line-height:1.7}.ed-list td:first-child{min-width:160px}.ed-list td:first-child a{font-size:13px;font-weight:600}.ed-list tr:hover td{background:#f5fafa}.ed-pagination{display:flex;align-items:center;gap:8px;padding:12px;font-size:12px;border-top:1px solid #e2e8ee}.ed-pagination span{margin-right:auto;color:#64748b}
.ed-badge{display:inline-block;font-size:10px;line-height:1.5;padding:3px 7px;border-radius:5px;background:#eef2f7;color:#526074;margin:2px 0}.ed-published,.ed-active,.ed-useful{background:#eaf4ef;color:#2c6c4e}.ed-candidate,.ed-pending,.ed-stale{background:#fff3db;color:#96670e}.ed-retired,.ed-dismissed{background:#f0f0f0;color:#777}.ed-warn{color:#ab7e26;font-size:11px}.ed-actions{display:flex;gap:7px;flex-wrap:wrap}.ed-empty{padding:24px 15px;line-height:1.9;font-size:13px;color:#738194;text-align:center}.ed-terms,.ed-relations{padding:0;list-style:none}.ed-terms li{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #edf0f3;padding:12px 0;font-size:13px}.ed-relations li{padding:12px 0;border-bottom:1px solid #edf0f3;font-size:13px;line-height:1.9}.ed-sources{padding-left:19px;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.ed-sources li{margin:8px 0}
.ed-lead{padding:17px;border:1px solid #dbe3eb;border-radius:10px;margin:14px 0;background:var(--panel,#fff)}.ed-lead h3,.ed-lead h4{margin:0 0 10px;font-size:15px}.ed-lead p{font-size:13px;line-height:1.8}.ed-path{background:#f4f8f9;padding:12px;border-radius:7px;margin:12px 0;font-size:12px;line-height:1.9}.ed-arrow{display:inline-block;padding:0 9px;color:#638992}.ed-review{display:grid;grid-template-columns:1fr;gap:9px;margin:18px 0 9px}.ed-review button{justify-self:start}.ed-pair{padding:12px 0;border-top:1px solid #e5ebee}
@media(max-width:1150px){.ed-layout{grid-template-columns:1fr}.ed-detail{padding:18px}.ed-stats{gap:8px}.ed-stats>div{padding:12px}.ed-stats b{font-size:24px}}
@media(max-width:640px){.ed-stats{grid-template-columns:repeat(2,1fr)}.ed-header{display:block}.ed-header>a{display:block;margin-bottom:16px}.ed-search label:not(.ed-search-text){max-width:none;flex:1;min-width:120px}.ed-stats>div:last-child{grid-column:span 2}.ed-dialog{padding:18px}.ed-detail{padding:14px}.ed-list td{padding:10px}.ed-tabs button{flex:1}}
