.routeros-page { display:grid; gap:14px; color:#303b24; font:15px/1.5 Tahoma,Arial,sans-serif; }
.routeros-intro,.routeros-panel { padding:clamp(14px,2.4vw,23px); border:1px solid #dce3cb; border-radius:12px; background:#fff; }
.routeros-intro { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); align-items:center; gap:18px; background:#f0f4e7; }
.routeros-page h1,.routeros-page h2,.routeros-page h3 { margin:0 0 8px; color:#425126; font-weight:700; line-height:1.25; }
.routeros-page h1 { font-size:clamp(24px,3vw,32px); }
.routeros-page h2 { font-size:20px; }
.routeros-page h3 { font-size:16px; }
.routeros-page p { margin:0 0 10px; line-height:1.5; }
.routeros-actions { display:flex; flex-wrap:wrap; gap:7px; }
.routeros-actions a { display:inline-block; padding:7px 10px; border:1px solid #bec9a9; border-radius:7px; background:#fff; color:#425126; font-size:13px; font-weight:bold; text-decoration:none; }
.routeros-actions a.routeros-primary { border-color:#425126; background:#425126; color:#fff; }
.routeros-actions a:hover { background:#303b24; color:#fff; }
.routeros-actions a:focus-visible { outline:2px solid #61752a; outline-offset:2px; }
.routeros-intro figure { justify-self:center; margin:0; text-align:center; }
.routeros-intro img { display:block; max-width:100%; max-height:190px; width:auto; height:auto; border:1px solid #dce3cb; border-radius:8px; }
.routeros-intro figcaption { margin-top:5px; color:#596546; font-size:12px; }
.routeros-features { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.routeros-features > div { padding:10px; border:1px solid #e4e9d8; border-radius:8px; background:#fafbf7; }
.routeros-features p { margin:0; font-size:14px; }
@media screen and (max-width:730px) {
    .routeros-intro,.routeros-features { grid-template-columns:minmax(0,1fr); }
}

.routeros-photo-trigger { display:inline-block; max-width:100%; cursor:zoom-in; vertical-align:top; }
.routeros-photo-dialog {
    box-sizing:border-box; width:min(1120px,calc(100% - 20px)); max-width:none; padding:8px;
    border:1px solid #dce3cb; border-radius:12px; background:#fff; color:#303b24;
}
.routeros-photo-dialog::backdrop { background:#151b12b8; }
.routeros-photo-dialog img { display:block; width:100%; height:auto; max-height:calc(100dvh - 75px); object-fit:contain; border-radius:8px; }
.routeros-photo-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:0 0 7px 4px; }
.routeros-photo-close {
    flex:none; width:34px; height:34px; padding:0; border:1px solid #dce3cb; border-radius:50%;
    background:#e7edda; color:#425126; font:700 20px/1 Tahoma,Arial,sans-serif; cursor:pointer;
}
