/* Compact cards and simple illustrated explanations. */
.operations-section { border-top: 1px solid var(--line); }
.operations-section h2 { margin-bottom: 36px; }
.operation-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 14px; margin-inline: -14px; border-radius: 16px; background: var(--surface-well); }
.operation-card { display: flex; flex-direction: column; text-decoration: none; border: 1px solid #dce1e5; border-radius: 10px; background: #fff; box-shadow: var(--card-shadow); overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.operation-card:hover { transform: translateY(-4px); border-color: #bfc7cf; box-shadow: 0 15px 35px -21px #1e293b38; }
.operation-cover { overflow: hidden; }
.operation-cover img { width: 100%; height: auto; transition: transform .3s; }
.operation-card:hover img { transform: scale(1.025); }
.operation-card-caption { padding: 22px 24px; }
.operation-card h3 { margin: 0 0 12px; font-size: 23px; font-weight: 500; line-height: 1.3; letter-spacing: -.035em; }
.operation-card-caption > span { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: #6b675d; }
.operation-card-caption > span > span { color: var(--red); font-size: 20px; }
html.operation-open { overflow: hidden; }
.operation-dialog { width: min(900px, calc(100% - 48px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 1px solid #dad7cd; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 30px 100px #0006; overscroll-behavior: contain; }
.operation-dialog::backdrop { background: #1d231ee6; backdrop-filter: blur(5px); }
.operation-dialog-header { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 25px 30px 19px; background: #fff; }
.operation-dialog h2 { font-size: 32px; letter-spacing: -.04em; }
.operation-close { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid #d7d1c4; border-radius: 50%; background: white; color: #534d45; font-size: 30px; line-height: 1; }
.operation-close:hover { background: #f5f2e9; color: var(--red); }
.operation-dialog-body { padding: 0 30px 24px; }
#operation-lede { margin-bottom: 25px; font-size: 18px; color: #686358; line-height: 1.6; }
.operation-overview { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center; }
#operation-illustration { width: 100%; height: auto; border: 1px solid #e2ded4; border-radius: 7px; }
#operation-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 21px; }
#operation-points li { position: relative; padding-left: 20px; font-size: 17px; line-height: 1.5; }
#operation-points li::before { content: ''; position: absolute; width: 5px; height: 5px; border-radius: 50%; left: 0; top: .6em; background: var(--red); }
.operation-more { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 19px; }
.operation-more > summary { font-size: 15px; color: #686358; cursor: pointer; width: fit-content; }
.operation-notes { margin-top: 25px; display: grid; gap: 22px; }
.operation-notes h3 { font-size: 16px; font-weight: 500; line-height: 1.5; margin: 0 0 7px; }
.operation-notes p { font-size: 15px; color: var(--muted); line-height: 1.8; }
.operation-notes p + p { margin-top: 10px; }
@media (max-width: 850px) {
  .operation-cards { gap: 16px; }
  .operation-card-caption { padding: 18px; }
  .operation-card h3 { font-size: 20px; }
  .operation-card-caption > span { font-size: 13px; }
  .operation-overview { gap: 22px; }
  #operation-points li { font-size: 16px; }
}
@media (max-width: 600px) {
  .operations-section h2 { margin-bottom: 25px; }
  .operation-cards { grid-template-columns: 1fr; gap: 14px; }
  .operation-card { flex-direction: row; }
  .operation-cover { width: 124px; flex-shrink: 0; }
  .operation-cover img { height: 100%; object-fit: cover; }
  .operation-card-caption { flex: 1; padding: 18px 15px; }
  .operation-card h3 { font-size: 19px; margin-bottom: 8px; }
  .operation-card-caption > span { font-size: 13px; gap: 6px; }
  .operation-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 9px; }
  .operation-dialog-header { padding: 18px 18px 15px; gap: 12px; }
  .operation-dialog h2 { font-size: 26px; line-height: 1.2; }
  .operation-dialog-body { padding: 0 18px 22px; }
  #operation-lede { font-size: 16px; margin-bottom: 21px; }
  .operation-overview { grid-template-columns: 1fr; gap: 24px; }
  #operation-points { gap: 14px; }
  #operation-points li { font-size: 16px; }
  .operation-more { margin-top: 24px; }
  .operation-more > summary { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .operation-card, .operation-cover img { transition: none; } .operation-card:hover, .operation-card:hover img { transform: none; } }
@media print { .operation-dialog { display: none; } .operation-card { break-inside: avoid; } }

@media (max-width: 600px) { .operation-cards { padding: 10px; margin-inline: -10px; border-radius: 12px; } }
