.bpa-module{--bpa-accent:var(--cassiopeia-color-primary,#176b55);--bpa-border:var(--border-color,#e5e7eb);--bpa-muted:var(--body-color,#5d6670);width:100%;color:var(--body-color,#20262d)}
.bpa-module *{box-sizing:border-box}.bpa-header{display:flex;justify-content:space-between;align-items:end;margin:0 0 1.1rem}.bpa-title{font-size:clamp(1.35rem,2.2vw,1.85rem);line-height:1.25;margin:0;font-weight:750}.bpa-intro{margin:.35rem 0 0;color:var(--bpa-muted);font-size:.96rem}.bpa-list{border-top:1px solid var(--bpa-border)}
.bpa-item{display:grid;grid-template-columns:76px minmax(0,1fr);gap:1.1rem;padding:1.2rem .15rem;border-bottom:1px solid var(--bpa-border)}.bpa-date{display:flex;align-items:center;justify-content:center;flex-direction:column;align-self:start;min-height:84px;padding:.55rem .25rem;border-radius:10px;background:color-mix(in srgb,var(--bpa-accent) 8%,transparent);color:var(--bpa-accent);font-variant-numeric:tabular-nums}.bpa-date-month{font-size:.72rem;font-weight:800;letter-spacing:.08em}.bpa-date strong{font-size:1.9rem;line-height:1.1}.bpa-date-year{font-size:.72rem;color:var(--bpa-muted)}.bpa-content{min-width:0}.bpa-item-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.bpa-item-title{font-size:1.08rem;line-height:1.45;margin:0 0 .55rem;font-weight:700;overflow-wrap:anywhere}.bpa-category{flex-shrink:0;padding:.2rem .55rem;border:1px solid color-mix(in srgb,var(--bpa-accent) 25%,transparent);border-radius:99px;color:var(--bpa-accent);font-size:.73rem;line-height:1.5}.bpa-meta{display:flex;flex-direction:column;gap:.36rem;color:var(--bpa-muted);font-size:.9rem}.bpa-meta>div{display:flex;align-items:flex-start;gap:.5rem;min-width:0}.bpa-icon{display:inline-flex;align-items:center;justify-content:center;width:1.1rem;flex:0 0 1.1rem;color:var(--bpa-accent);font-size:1.05rem;font-weight:700;line-height:1.3}.bpa-attachments{display:flex;flex-direction:column;gap:.35rem;margin:.85rem 0 .25rem;padding-top:.65rem;border-top:1px dashed var(--bpa-border)}.bpa-attachment{display:inline-flex;align-items:center;gap:.45rem;align-self:flex-start;max-width:100%;color:inherit;text-decoration:none;font-size:.84rem;line-height:1.35}.bpa-attachment:hover .bpa-file-name{text-decoration:underline;color:var(--bpa-accent)}.bpa-file-icon{display:inline-flex;align-items:center;justify-content:center;min-width:29px;height:21px;padding:0 .22rem;border-radius:4px;background:#eef2f5;color:#344054;font-size:.58rem;font-weight:800;letter-spacing:.02em}.bpa-file-name{overflow-wrap:anywhere}.bpa-download{color:var(--bpa-accent);font-size:1rem;font-weight:800}.bpa-file-size{color:var(--bpa-muted);font-size:.73rem;white-space:nowrap}.bpa-more{margin-top:.8rem;padding:0;border:0;background:transparent;color:var(--bpa-accent);font:inherit;font-size:.88rem;font-weight:750;cursor:pointer}.bpa-more:hover{text-decoration:underline}.bpa-pagination{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding-top:1rem}.bpa-page-info{color:var(--bpa-muted);font-size:.82rem}.bpa-page-actions{display:flex;gap:.5rem}.bpa-page-btn{border:1px solid var(--bpa-border);background:transparent;border-radius:7px;padding:.48rem .7rem;color:inherit;font:inherit;font-size:.82rem;cursor:pointer}.bpa-page-btn:hover:not(:disabled){border-color:var(--bpa-accent);color:var(--bpa-accent)}.bpa-page-btn:disabled{opacity:.4;cursor:not-allowed}.bpa-empty{padding:1.2rem;border:1px dashed var(--bpa-border);border-radius:9px;color:var(--bpa-muted)}
.bpa-modal[hidden]{display:none!important}.bpa-modal{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:1.25rem}.bpa-modal-backdrop{position:absolute;inset:0;background:rgba(12,20,28,.65)}.bpa-modal-panel{position:relative;z-index:1;width:min(900px,100%);max-height:min(90vh,950px);overflow:auto;background:var(--body-bg,#fff);color:var(--body-color,#20262d);border-radius:14px;box-shadow:0 24px 80px rgba(0,0,0,.28)}.bpa-modal-close{position:sticky;top:.65rem;float:right;z-index:2;margin:.65rem .65rem -2.7rem 0;width:2.2rem;height:2.2rem;border:1px solid var(--bpa-border);border-radius:50%;background:var(--body-bg,#fff);font-size:1.5rem;line-height:1;cursor:pointer}.bpa-modal-body{padding:2rem}.bpa-modal-title{font-size:clamp(1.35rem,3vw,1.9rem);line-height:1.3;margin:0 2.2rem 1rem 0}.bpa-detail-badges{display:flex;gap:.45rem;flex-wrap:wrap;margin-bottom:1.2rem}.bpa-detail-badge{display:inline-block;border-radius:99px;background:color-mix(in srgb,var(--bpa-accent) 9%,transparent);color:var(--bpa-accent);padding:.28rem .65rem;font-size:.78rem}.bpa-detail-image{display:block;max-width:100%;max-height:340px;object-fit:contain;border-radius:9px;margin:1rem 0}.bpa-detail-table{width:100%;border-collapse:collapse;margin:1rem 0 1.35rem;font-size:.9rem}.bpa-detail-table th,.bpa-detail-table td{border-bottom:1px solid var(--bpa-border);padding:.7rem .55rem;text-align:left;vertical-align:top}.bpa-detail-table th{width:31%;color:var(--bpa-muted);font-weight:650}.bpa-detail-section{margin-top:1.35rem}.bpa-detail-section h3{font-size:1.05rem;margin:0 0 .55rem}.bpa-detail-copy{overflow-wrap:anywhere;line-height:1.7}.bpa-detail-copy p:last-child{margin-bottom:0}.bpa-detail-links{display:flex;flex-direction:column;gap:.55rem}.bpa-detail-link{color:var(--bpa-accent);overflow-wrap:anywhere}.bpa-loading,.bpa-error{padding:2rem;text-align:center;color:var(--bpa-muted)}.bpa-error{color:#a12828}
@media(max-width:600px){.bpa-item{grid-template-columns:58px minmax(0,1fr);gap:.75rem;padding:1rem 0}.bpa-date{min-height:74px}.bpa-date strong{font-size:1.55rem}.bpa-item-heading{display:block}.bpa-category{display:inline-block;margin-bottom:.5rem}.bpa-pagination{align-items:flex-start;flex-direction:column}.bpa-page-actions{width:100%;justify-content:space-between}.bpa-modal{padding:.35rem}.bpa-modal-panel{max-height:96vh;border-radius:10px}.bpa-modal-body{padding:1.35rem 1rem}.bpa-detail-table th{width:36%;padding-left:0}.bpa-detail-table td{padding-right:0}}


/* v1.0.1: resilient styles against template-level element resets */
.bpa-module, .bpa-module * { box-sizing: border-box; }
.bpa-module {
  --bpa-accent: #b78312;
  --bpa-border: #e5e7eb;
  --bpa-muted: #64748b;
  --bpa-ink: #172033;
  width: 100%;
  color: var(--bpa-ink);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.55;
}
.bpa-module button { font: inherit; cursor: pointer; }
.bpa-header { margin: 0 0 18px; padding: 0 0 14px; border-bottom: 1px solid var(--bpa-border); }
.bpa-title { margin: 0 0 5px !important; font-size: clamp(1.25rem, 2vw, 1.65rem) !important; line-height: 1.25 !important; font-weight: 700 !important; color: var(--bpa-ink) !important; }
.bpa-intro { margin: 0 !important; color: var(--bpa-muted); }
.bpa-list { display: grid; gap: 12px; }
.bpa-item { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 18px; padding: 18px; border: 1px solid var(--bpa-border); border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(15,23,42,.035); }
.bpa-date { align-self: start; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 82px; padding: 8px 5px; border-radius: 9px; background: #f8f4e9; color: var(--bpa-accent); text-align: center; }
.bpa-date-month { font-size: .72rem; font-weight: 800; letter-spacing: .09em; }
.bpa-date strong { font-size: 2rem; line-height: 1.08; font-weight: 750; }
.bpa-date-year { font-size: .75rem; color: #78642f; }
.bpa-content { min-width: 0; }
.bpa-item-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.bpa-item-title { flex: 1; min-width: 0; margin: 0 !important; font-size: clamp(1.05rem, 1.5vw, 1.28rem) !important; line-height: 1.38 !important; font-weight: 650 !important; color: var(--bpa-ink) !important; overflow-wrap: anywhere; }
.bpa-category { flex: 0 0 auto; display: inline-flex; align-items: center; max-width: 45%; padding: 4px 9px; border-radius: 999px; background: #f3f5f7; color: #475569; font-size: .75rem; line-height: 1.35; }
.bpa-meta { display: flex; flex-wrap: wrap; gap: 7px 18px; margin: 0 0 12px; color: #475569; font-size: .9rem; }
.bpa-meta > div { display: inline-flex; align-items: flex-start; gap: 7px; min-width: 0; }
.bpa-icon { flex: 0 0 18px; width: 18px; color: var(--bpa-accent); font-weight: 700; text-align: center; }
.bpa-attachments { display: flex; flex-wrap: wrap; gap: 7px 10px; margin: 12px 0 13px; padding-top: 11px; border-top: 1px solid #edf0f3; }
.bpa-attachment { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 5px 8px; border: 1px solid var(--bpa-border); border-radius: 7px; color: #334155 !important; background: #fbfcfd; text-decoration: none !important; font-size: .82rem; }
.bpa-attachment:hover { border-color: #c8a34d; background: #fffaf0; }
.bpa-file-icon { flex: 0 0 auto; padding: 2px 4px; border-radius: 3px; background: #eef2f7; color: #475569; font-size: .62rem; font-weight: 800; }
.bpa-file-name { min-width: 0; overflow-wrap: anywhere; }
.bpa-download { flex: 0 0 auto; color: var(--bpa-accent); font-size: 1rem; font-weight: 800; }
.bpa-file-size { color: var(--bpa-muted); font-size: .72rem; white-space: nowrap; }
.bpa-more, .bpa-page-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 7px 13px; border: 1px solid #c99a2e !important; border-radius: 7px !important; background: #fff !important; color: #8a620b !important; font-size: .88rem !important; font-weight: 600 !important; line-height: 1.25 !important; text-decoration: none !important; box-shadow: none !important; }
.bpa-more:hover, .bpa-page-btn:hover:not(:disabled) { background: #b78312 !important; color: #fff !important; }
.bpa-page-btn:disabled { opacity: .4; cursor: not-allowed; }
.bpa-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--bpa-border); }
.bpa-page-info { color: var(--bpa-muted); font-size: .85rem; }
.bpa-page-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bpa-empty { padding: 24px; border: 1px dashed var(--bpa-border); border-radius: 10px; color: var(--bpa-muted); text-align: center; }
.bpa-modal[hidden] { display: none !important; }
.bpa-modal { position: fixed; z-index: 99999; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; }
.bpa-modal-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.62); }
.bpa-modal-panel { position: relative; z-index: 1; width: min(860px, 100%); max-height: min(88vh, 900px); overflow: auto; padding: clamp(20px, 4vw, 34px); border-radius: 14px; background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.25); }
.bpa-modal-close { position: sticky; float: right; top: 0; z-index: 2; width: 36px; height: 36px; margin: -8px -8px 0 12px; border: 1px solid var(--bpa-border) !important; border-radius: 50% !important; background: #fff !important; color: #334155 !important; font-size: 1.5rem !important; line-height: 1 !important; }
.bpa-modal-body { overflow-wrap: anywhere; }
.bpa-modal-body h2, .bpa-modal-body h3 { color: var(--bpa-ink); }
.bpa-modal-body img { max-width: 100%; height: auto; border-radius: 9px; }
.bpa-modal-body a { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .bpa-item { grid-template-columns: 56px minmax(0,1fr); gap: 12px; padding: 12px; border-radius: 9px; }
  .bpa-date { min-height: 70px; }
  .bpa-date strong { font-size: 1.6rem; }
  .bpa-item-heading { display: block; }
  .bpa-category { max-width: 100%; margin-top: 7px; }
  .bpa-meta { display: grid; gap: 7px; }
  .bpa-pagination { align-items: flex-start; flex-direction: column; }
  .bpa-page-actions { width: 100%; }
  .bpa-page-btn { flex: 1; }
  .bpa-modal { padding: 10px; }
  .bpa-modal-panel { max-height: 94vh; border-radius: 10px; }
}


/* v1.0.2: requested compact agenda list */
.bpa-module .bpa-header { display: none !important; }
.bpa-module .bpa-category,
.bpa-module .bpa-detail-badges { display: none !important; }
.bpa-module .bpa-item-heading { display: block !important; margin: 0 0 9px !important; }
.bpa-module .bpa-item-title {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  font-size: 1rem !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
}
.bpa-module .bpa-content { width: 100%; min-width: 0; }
.bpa-module .bpa-modal[hidden] { display: none !important; }
.bpa-module .bpa-modal:not([hidden]) { display: flex !important; }
.bpa-module .bpa-modal-panel { display: block; }
.bpa-module .bpa-modal-body { display: block; min-height: 48px; }
.bpa-module .bpa-loading { margin: 0; color: #64748b; }
.bpa-module .bpa-error { margin: 0; padding: 12px; border: 1px solid #fecaca; border-radius: 8px; color: #991b1b; background: #fff7f7; }
.bpa-module .bpa-detail-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.bpa-module .bpa-detail-table th,
.bpa-module .bpa-detail-table td { padding: 9px 10px; border-bottom: 1px solid #e5e7eb; text-align: left; vertical-align: top; }
.bpa-module .bpa-detail-table th { width: 30%; font-weight: 600; color: #475569; }
.bpa-module .bpa-detail-section { margin-top: 18px; }
.bpa-module .bpa-detail-section h3 { margin: 0 0 8px; font-size: 1rem; }
.bpa-module .bpa-detail-copy { line-height: 1.65; overflow-wrap: anywhere; }
.bpa-module .bpa-detail-image { display: block; max-width: 100%; max-height: 360px; object-fit: contain; margin: 16px auto; }
.bpa-module .bpa-detail-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }


/* v1.0.3 final display overrides */
.bpa-module .bpa-header,
.bpa-module .bpa-category,
.bpa-module .bpa-detail-badges { display: none !important; }
.bpa-module .bpa-item-heading { display: block !important; }
.bpa-module .bpa-item-title {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  font-size: 1rem !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
}
.bpa-module .bpa-error { margin: 12px 0; padding: 10px 12px; color: #991b1b; background: #fff7f7; border: 1px solid #fecaca; border-radius: 8px; }


/* v1.0.5 — modern detail modal layout */
.bpa-module .bpa-modal-panel {
  width: min(820px, 100%);
  max-height: min(90vh, 900px);
  padding: 0 !important;
  overflow: auto;
  border: 1px solid #e7ebf0;
  border-radius: 18px;
  background: #fff;
  color: #203850;
}
.bpa-module .bpa-modal-close {
  position: sticky;
  float: right;
  top: 12px;
  margin: 12px 12px -48px 0;
  width: 38px;
  height: 38px;
  border: 1px solid #e3e8ef !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #34465b !important;
  box-shadow: 0 3px 12px rgba(20,35,55,.08);
}
.bpa-module .bpa-modal-body { padding: clamp(22px, 4vw, 38px); overflow-wrap: anywhere; }
.bpa-module .bpa-detail-header { padding: 0 48px 20px 0; margin-bottom: 22px; border-bottom: 1px solid #e8edf2; }
.bpa-module .bpa-detail-eyebrow { margin: 0 0 7px; color: #ad7a13; font-size: .72rem; font-weight: 750; letter-spacing: .09em; }
.bpa-module .bpa-modal-title { margin: 0 0 8px; color: #172f49; font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.3; font-weight: 700; }
.bpa-module .bpa-detail-subtitle { margin: 0; color: #6b7b8e; font-size: .9rem; }
.bpa-module .bpa-detail-section { margin-top: 24px; }
.bpa-module .bpa-detail-section h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; color: #203850; font-size: 1rem; font-weight: 700; }
.bpa-module .bpa-detail-section h3 > span { display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 27px; border-radius: 8px; background: #f8f3e7; color: #ad7a13; font-size: 1rem; }
.bpa-module .bpa-detail-overview { padding: 16px 18px 4px; border: 1px solid #e7ebf0; border-radius: 13px; background: #fbfcfd; }
.bpa-module .bpa-detail-table { margin: 0 0 10px; font-size: .9rem; }
.bpa-module .bpa-detail-table th, .bpa-module .bpa-detail-table td { padding: 11px 8px; border-bottom: 1px solid #e7ebf0; }
.bpa-module .bpa-detail-table tr:last-child th, .bpa-module .bpa-detail-table tr:last-child td { border-bottom: 0; }
.bpa-module .bpa-detail-table th { width: 31%; color: #60758b; font-weight: 650; }
.bpa-module .bpa-detail-table td { color: #203850; overflow-wrap: anywhere; }
.bpa-module .bpa-detail-copy { color: #42566b; font-size: .94rem; line-height: 1.8; overflow-wrap: anywhere; }
.bpa-module .bpa-detail-media { padding-top: 2px; }
.bpa-module .bpa-detail-thumbnail-link { display: inline-flex; max-width: 220px; padding: 5px; border: 1px solid #e3e8ef; border-radius: 12px; background: #fff; }
.bpa-module .bpa-detail-image { display: block; width: 200px; max-width: 100%; height: 135px; max-height: none; margin: 0; object-fit: cover; border-radius: 8px; }
.bpa-module .bpa-detail-caption { margin: 7px 0 0; color: #8290a0; font-size: .76rem; }
.bpa-module .bpa-detail-links { gap: 8px; }
.bpa-module .bpa-detail-links .bpa-attachment { width: fit-content; max-width: 100%; }
.bpa-module .bpa-contact-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; padding: 4px 14px; border: 1px solid #e7ebf0; border-radius: 12px; background: #fbfcfd; }
.bpa-module .bpa-contact-row { display: flex; align-items: flex-start; gap: 11px; min-width: 0; padding: 13px 0; border-bottom: 1px solid #e7ebf0; }
.bpa-module .bpa-contact-row:last-child { border-bottom: 0; }
.bpa-module .bpa-contact-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 30px; height: 30px; border-radius: 9px; background: #f8f3e7; color: #ad7a13; }
.bpa-module .bpa-contact-row small { display: block; margin-bottom: 3px; color: #8290a0; font-size: .75rem; }
.bpa-module .bpa-contact-row div div { color: #203850; font-size: .88rem; overflow-wrap: anywhere; }
.bpa-module .bpa-contact-row a { color: inherit; text-decoration: none; }
.bpa-module .bpa-contact-row a:hover { color: #ad7a13; text-decoration: underline; }
.bpa-module .bpa-detail-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid #e5d5ae; border-radius: 9px; color: #94670c; text-decoration: none; }
.bpa-module .bpa-detail-link:hover { background: #fbf7ed; }
@media (max-width: 600px) {
  .bpa-module .bpa-modal { padding: 8px; }
  .bpa-module .bpa-modal-panel { max-height: 96vh; border-radius: 13px; }
  .bpa-module .bpa-modal-body { padding: 22px 16px; }
  .bpa-module .bpa-detail-header { padding-right: 38px; }
  .bpa-module .bpa-detail-overview { padding: 12px 10px 3px; }
  .bpa-module .bpa-detail-table th { width: 39%; }
  .bpa-module .bpa-detail-table th, .bpa-module .bpa-detail-table td { padding: 10px 5px; font-size: .82rem; }
  .bpa-module .bpa-contact-card { grid-template-columns: minmax(0,1fr); }
  .bpa-module .bpa-detail-image { width: 160px; height: 108px; }
}

/* v1.0.6: tabbed detail modal; contain width and prevent horizontal scrollbar */
.bpa-module .bpa-modal { padding: 16px; overflow: hidden; }
.bpa-module .bpa-modal-panel { width: min(900px, calc(100vw - 32px)); max-width: 100%; max-height: min(86vh, 860px); overflow-x: hidden; overflow-y: auto; padding: 0; }
.bpa-module .bpa-modal-body { min-width: 0; width: 100%; padding: clamp(20px, 3vw, 34px); overflow-x: hidden; overflow-wrap: anywhere; }
.bpa-module .bpa-detail-header { min-width: 0; padding: 0 44px 18px 0; margin: 0 0 16px; border-bottom: 1px solid #e8edf2; }
.bpa-module .bpa-modal-title { overflow-wrap: anywhere; }
.bpa-module .bpa-detail-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; width: 100%; margin: 0 0 18px; padding: 5px; border: 1px solid #e7ebf0; border-radius: 11px; background: #f7f9fb; }
.bpa-module .bpa-detail-tab { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; padding: 10px 8px; border: 1px solid transparent !important; border-radius: 8px !important; background: transparent !important; color: #64748b !important; font-size: .88rem !important; font-weight: 600 !important; line-height: 1.3; box-shadow: none !important; white-space: normal; }
.bpa-module .bpa-detail-tab > span { color: #b78312; font-size: 1rem; }
.bpa-module .bpa-detail-tab.is-active { border-color: #ead9ad !important; background: #fff !important; color: #203850 !important; box-shadow: 0 1px 4px rgba(15,23,42,.06) !important; }
.bpa-module .bpa-detail-tab-content { min-width: 0; width: 100%; overflow-wrap: anywhere; }
.bpa-module .bpa-detail-pane[hidden] { display: none !important; }
.bpa-module .bpa-detail-pane { min-width: 0; width: 100%; }
.bpa-module .bpa-detail-pane > :first-child { margin-top: 0; }
.bpa-module .bpa-detail-pane .bpa-detail-section { min-width: 0; }
.bpa-module .bpa-detail-overview { padding: 14px 16px 4px; }
.bpa-module .bpa-detail-table { table-layout: fixed; }
.bpa-module .bpa-detail-table th { width: 34%; }
.bpa-module .bpa-detail-table td { overflow-wrap: anywhere; word-break: break-word; }
.bpa-module .bpa-contact-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; padding: 8px 14px; border: 1px solid #e7ebf0; border-radius: 12px; background: #fbfcfd; }
.bpa-module .bpa-contact-row { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 14px 0; border-bottom: 1px solid #e7ebf0; }
.bpa-module .bpa-contact-row > div { min-width: 0; overflow-wrap: anywhere; }
.bpa-module .bpa-contact-row small { display: block; margin-bottom: 2px; color: #8290a0; font-size: .78rem; }
.bpa-module .bpa-contact-row a { overflow-wrap: anywhere; }
.bpa-module .bpa-contact-icon { display: inline-flex; flex: 0 0 32px; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px; background: #f8f3e7; color: #ad7a13; }
.bpa-module .bpa-no-content { padding: 18px; border: 1px dashed #dbe2ea; border-radius: 9px; color: #64748b; }
.bpa-module .bpa-detail-copy { max-width: 100%; }
@media (max-width: 600px) {
 .bpa-module .bpa-modal { padding: 6px; }
 .bpa-module .bpa-modal-panel { width: calc(100vw - 12px); max-height: 94vh; }
 .bpa-module .bpa-modal-body { padding: 20px 14px; }
 .bpa-module .bpa-detail-tabs { gap: 3px; padding: 3px; }
 .bpa-module .bpa-detail-tab { flex-direction: column; gap: 3px; padding: 8px 3px; font-size: .72rem !important; }
 .bpa-module .bpa-detail-tab > span { font-size: .95rem; }
 .bpa-module .bpa-detail-overview { padding: 12px 9px 3px; }
 .bpa-module .bpa-detail-table th { width: 40%; }
 .bpa-module .bpa-detail-table th, .bpa-module .bpa-detail-table td { padding: 9px 5px; font-size: .8rem; }
 .bpa-module .bpa-contact-card { grid-template-columns: minmax(0,1fr); }
}


/* v1.0.7: refined compact list + fixed tabbed modal */
.bpa-module .bpa-header{display:none!important}
.bpa-module .bpa-category,.bpa-module .bpa-detail-badges{display:none!important}
.bpa-module .bpa-item-heading{display:block!important;margin:0 0 9px!important}
.bpa-module .bpa-item-title{font-size:.92rem!important;line-height:1.5!important;font-weight:600!important;letter-spacing:normal!important;width:100%!important;max-width:none!important}
.bpa-module .bpa-meta{font-size:.9rem!important}
.bpa-module .bpa-attachments{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 11px;padding-top:10px;border-top:1px solid #edf0f3}
.bpa-module a.bpa-attachment{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;align-self:flex-start;width:auto!important;max-width:100%;min-height:36px;padding:7px 12px;border:1px solid #c99a2e;border-radius:7px;background:#fffaf0;color:#8a620b!important;text-decoration:none!important;font-size:.84rem!important;font-weight:600;line-height:1.25;white-space:normal}
.bpa-module a.bpa-attachment:hover{background:#b78312;color:#fff!important;border-color:#b78312}
.bpa-module .bpa-download-icon{font-size:1rem;font-weight:800;line-height:1}
.bpa-module .bpa-download-label{overflow-wrap:anywhere}
.bpa-module .bpa-more,.bpa-module .bpa-page-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 12px!important;border:1px solid #c99a2e!important;border-radius:7px!important;background:#fff!important;color:#8a620b!important;font-size:.84rem!important;font-weight:600!important;line-height:1.25!important;text-decoration:none!important;box-shadow:none!important}
.bpa-module .bpa-more{margin-top:8px!important}
.bpa-module .bpa-more:hover,.bpa-module .bpa-page-btn:hover:not(:disabled){background:#b78312!important;color:#fff!important}
.bpa-module .bpa-modal{padding:16px!important;overflow:hidden!important}
.bpa-module .bpa-modal-panel{display:flex!important;flex-direction:column;width:min(920px,calc(100vw - 32px))!important;height:min(760px,88vh)!important;max-height:88vh!important;overflow:hidden!important;padding:0!important;border-radius:16px!important;background:#fff!important}
.bpa-module .bpa-modal-close{position:absolute!important;top:14px!important;right:14px!important;float:none!important;margin:0!important;flex:none;box-shadow:0 3px 12px rgba(15,23,42,.08)}
.bpa-module .bpa-modal-body{display:flex!important;flex-direction:column;min-height:0!important;height:100%!important;width:100%!important;padding:24px 28px 22px!important;overflow:hidden!important}
.bpa-module .bpa-detail-header{flex:0 0 auto;padding:0 52px 14px 0!important;margin:0 0 14px!important}
.bpa-module .bpa-detail-eyebrow{font-size:.68rem!important;margin-bottom:5px!important}
.bpa-module .bpa-modal-title{font-size:1.35rem!important;line-height:1.3!important;margin-bottom:5px!important}
.bpa-module .bpa-detail-subtitle{font-size:.86rem!important}
.bpa-module .bpa-detail-tabs{flex:0 0 auto;margin-bottom:12px!important}
.bpa-module .bpa-detail-tab-content{flex:1 1 auto;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:1px 3px 10px 0;overscroll-behavior:contain;scrollbar-width:thin}
.bpa-module .bpa-detail-pane{min-height:0!important}
.bpa-module .bpa-detail-section{margin-top:12px!important}
.bpa-module .bpa-detail-section h3{margin-bottom:8px!important}
.bpa-module .bpa-detail-overview{padding:10px 14px 2px!important}
.bpa-module .bpa-detail-table{table-layout:fixed!important;margin:0 0 8px!important}
.bpa-module .bpa-detail-table th,.bpa-module .bpa-detail-table td{padding:8px 7px!important;font-size:.86rem!important}
.bpa-module .bpa-detail-table th{width:34%!important}
.bpa-module .bpa-detail-copy{font-size:.9rem!important;line-height:1.65!important}
.bpa-module .bpa-detail-image{width:150px!important;height:100px!important;object-fit:cover!important}
.bpa-module .bpa-contact-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.bpa-module .bpa-contact-row{min-width:0;overflow-wrap:anywhere}
@media(max-width:640px){
 .bpa-module .bpa-item{grid-template-columns:56px minmax(0,1fr)!important;gap:12px!important;padding:12px!important}
 .bpa-module .bpa-item-title{font-size:.9rem!important}
 .bpa-module .bpa-pagination{align-items:flex-start;flex-direction:column}
 .bpa-module .bpa-page-actions{width:100%}
 .bpa-module .bpa-page-btn{flex:1}
 .bpa-module .bpa-modal{padding:6px!important}
 .bpa-module .bpa-modal-panel{width:calc(100vw - 12px)!important;height:94vh!important;max-height:94vh!important;border-radius:12px!important}
 .bpa-module .bpa-modal-body{padding:18px 13px 14px!important}
 .bpa-module .bpa-modal-title{font-size:1.12rem!important}
 .bpa-module .bpa-detail-tabs{gap:3px!important;padding:3px!important}
 .bpa-module .bpa-detail-tab{flex-direction:column;gap:3px;padding:7px 3px!important;font-size:.72rem!important}
 .bpa-module .bpa-detail-table th{width:39%!important}
 .bpa-module .bpa-detail-table th,.bpa-module .bpa-detail-table td{padding:8px 4px!important;font-size:.78rem!important}
 .bpa-module .bpa-contact-card{grid-template-columns:minmax(0,1fr)}
}
