/* IP subnet calculator (P0046) */
.ip-label { font-weight: bold; }
.ip-in, .ip-sel { min-height: 46px; width: 100%; max-width: 30em; box-sizing: border-box; padding: 0 10px; border: 2px solid #8C96A6; border-radius: 10px; font: inherit; font-size: 1.1em; background: #FFFFFF; font-family: Consolas, "Courier New", monospace; }
.ip-sel { width: auto; font-family: inherit; font-size: 1em; }
.ip-short { width: 7em; }
.ip-hint, .ip-note { color: #4A5568; }
.ip-note { display: inline-block; margin-top: 6px; font-weight: bold; color: #24334B; }
.ip-ex, .ip-btn { min-height: 44px; padding: 0 12px; margin: 4px 6px 4px 0; border: 2px solid #3B6970; border-radius: 10px; background: #FFFFFF; color: #24334B; font: inherit; cursor: pointer; }
.ip-btn { font-weight: bold; }
.ip-ex:hover, .ip-btn:hover { background: #EEF4F3; }
.ip-out { padding: 10px 14px; background: #EEF4F3; border-radius: 12px; }
.ip-out dt { font-weight: bold; color: #4A5568; margin-top: 6px; }
.ip-out dd { margin: 0 0 2px; font-size: 1.15em; color: #24334B; overflow-wrap: anywhere; }
.ip-mono, .ip-pre { font-family: Consolas, "Courier New", monospace; }
.ip-tablewrap { max-height: 360px; overflow: auto; }
.ip-table { border-collapse: collapse; }
.ip-table th, .ip-table td { border-bottom: 1px solid #E5E0D5; padding: 6px 12px; text-align: left; white-space: nowrap; }
.ip-table th { background: #EEF4F3; }
.ip-list { width: 100%; max-width: 30em; box-sizing: border-box; padding: 8px 10px; border: 2px solid #8C96A6; border-radius: 10px; font-family: Consolas, "Courier New", monospace; font-size: 1em; }
.ip-listout h4 { margin: 12px 0 4px; }
.ip-listout li { overflow-wrap: anywhere; }
.ip-pre { background: #F7F5F0; padding: 8px 12px; border-radius: 8px; white-space: pre-wrap; }
@media print { .ip-tablewrap { max-height: none; overflow: visible; } .ip-ex { display: none; } }
