@media print { html, body { display: none !important; visibility: hidden !important; } }
.btn-foi, .btn-alerts { display: none !important; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; max-width: 100%; -webkit-text-size-adjust: 100%; }
body { font-family: "Segoe UI", Tahoma, Arial, sans-serif; background-color: #f0f0f0; color: #000000; font-size: 13px; overflow-x: hidden; }
body, main, table, tr, td, th, div, p, h1, h2, h3, span { -webkit-user-select: none !important; -moz-user-select: none !important; -ms-user-select: none !important; user-select: none !important; -webkit-touch-callout: none !important; }
input, textarea { -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; }

#consent-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #003366; z-index: 999999; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #ffffff; text-align: center; padding: 20px; }
#consent-overlay svg { height: 120px; width: 120px; margin-bottom: 25px; transform: rotate(180deg); }
#consent-overlay h1 { font-size: 24px; font-weight: bold; margin: 0 0 15px 0; max-width: 700px; line-height: 1.4; }
.consent-input-block { margin-bottom: 25px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.consent-input-block label { font-size: 13px; color: #cccccc; }
.consent-input-block input { padding: 8px 12px; font-size: 15px; border: 1px solid #b2cbe4; border-radius: 2px; width: 180px; text-align: center; font-family: monospace; background-color: #ffffff; color: #000000; outline: none; }
.consent-checkbox-container { margin-bottom: 12px; font-size: 14px; display: flex; align-items: center; cursor: pointer; }
.consent-checkbox-container input { margin-left: 10px; width: 18px; height: 18px; cursor: pointer; }
#consent-btn { font-family: inherit; padding: 14px 45px; font-size: 16px; font-weight: bold; border-radius: 2px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); transition: all 0.15s ease; }
#consent-btn:disabled { background: #cccccc !important; color: #777777 !important; border: 1px solid #aaaaaa !important; cursor: not-allowed !important; }
#consent-btn:not(:disabled) { background: #b30000 !important; color: #ffffff !important; border: 1px solid #8a0000 !important; cursor: pointer !important; }
#consent-btn:hover:not(:disabled) { background: #8a0000 !important; }
#terminal-screen { display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #000000; color: #00ff00; font-family: "Courier New", Courier, monospace; font-size: 12px; text-align: left; direction: ltr; padding: 20px; overflow-y: hidden; z-index: 1000001; line-height: 1.4; }

#net-hamishpat-popup-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 99999; align-items: center; justify-content: center; padding: 15px; }
.nh-popup-window { background-color: #ffffff; width: 100%; max-width: 540px; border: 3px solid #b2cbe4; box-shadow: 0 4px 15px rgba(0,0,0,0.3); color: #002060; text-align: right; direction: rtl; }
.nh-popup-header { background: linear-gradient(to bottom, #f2f7fb, #dce8f3); padding: 6px 10px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #b2cbe4; }
.nh-popup-close-x { cursor: pointer; font-size: 14px; font-weight: bold; color: #b30000; background: #ffffff; border: 1px solid #cccccc; padding: 0 5px; line-height: 1.2; }
.nh-popup-body { padding: 25px; font-size: 13px; line-height: 1.6; color: #002060; }
.nh-popup-footer { background-color: #f7f9fb; padding: 12px 20px; border-top: 1px solid #e2eaf2; display: flex; justify-content: flex-start; align-items: center; }
.nh-popup-confirm-btn { background: linear-gradient(to bottom, #ffffff, #e6e6e6); border: 1px solid #ababab; color: #000000; padding: 5px 30px; font-size: 12px; font-weight: bold; cursor: pointer; }

.google-rating-window { background-color: #ffffff; width: 100%; max-width: 520px; border-radius: 8px; box-shadow: 0 8px 25px rgba(0,0,0,0.4); font-family: Arial, Roboto, "Segoe UI", sans-serif; color: #202124; text-align: right; direction: rtl; overflow: hidden; border: 1px solid #dadce0; z-index: 1000000; }
.google-browser-bar { background: #f1f3f4; padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e0e0e0; direction: ltr; }
.google-browser-dots { display: flex; gap: 6px; }
.google-browser-dots .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background-color: #ff5f56; } .dot-yellow { background-color: #ffbd2e; } .dot-green { background-color: #27c93f; }
.google-address-bar { background: #ffffff; border: 1px solid #ced4da; border-radius: 12px; padding: 3px 12px; font-size: 11px; color: #5f6368; width: 70%; overflow: hidden; text-overflow: ellipsis; font-family: monospace; }
.google-close-x { cursor: pointer; font-size: 14px; font-weight: bold; color: #5f6368; padding: 0 4px; }
.google-card-content { padding: 18px; }
.google-title { font-size: 17px; font-weight: bold; color: #1a0dab; margin: 0 0 6px 0; }
.google-pin-tag { color: #d93025; font-weight: bold; }
.google-meta-line { font-size: 13px; color: #4d5156; margin-bottom: 6px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.google-rating-score { font-weight: bold; color: #e37400; } .google-stars-display { color: #fbbc04; } .google-reviews-count { color: #70757a; }
.google-status-line { font-size: 13px; color: #4d5156; margin-bottom: 15px; } .google-open-status { color: #188038; font-weight: bold; }
.google-rating-prompt-box { background-color: #f8f9fa; border: 1px solid #e8eaed; border-radius: 8px; padding: 12px; margin-bottom: 15px; text-align: center; }
.google-prompt-title { font-size: 13px; font-weight: bold; margin-bottom: 8px; }
.google-interactive-stars { display: flex; justify-content: center; gap: 8px; direction: ltr; }
.google-interactive-stars .star-btn { font-size: 28px; color: #d1d5db; cursor: pointer; transition: transform 0.1s ease; }
.google-interactive-stars .star-btn.active { color: #fbbc04; }
.google-action-chips { display: flex; gap: 8px; justify-content: center; margin-bottom: 10px; flex-wrap: wrap; }
.google-chip { background-color: #ffffff; border: 1px solid #dadce0; border-radius: 16px; padding: 6px 14px; font-size: 12px; color: #1a73e8; cursor: pointer; }
.google-submit-btn { background-color: #1a73e8; color: #ffffff; border: none; border-radius: 4px; padding: 10px 24px; font-size: 13px; font-weight: bold; cursor: pointer; width: 100%; }

header { background-color: #003366; color: #ffffff; border-bottom: 4px solid #002244; position: fixed; top: 0; left: 0; width: 100%; z-index: 999; }
.header-main-content { padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.main-title { margin: 0; font-size: 18px; font-weight: bold; color: #ffffff !important; }
.user-id-meta { font-size: 12px; margin-top: 5px; color: #cccccc; }
.header-left-block { display: flex; align-items: center; gap: 15px; } .view-switcher-container { display: flex; gap: 5px; }
.view-btn { padding: 6px 14px; background-color: #1a4975; color: #ffffff; font-size: 13px; border: 1px solid #002244; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; border-radius: 2px; text-decoration: none; }
.view-btn:hover { background-color: #245d94; }
.wtfaq-nav-btn { background-color: #cc0000 !important; color: #ffffff !important; font-weight: 900 !important; font-size: 13px; padding: 6px 16px; border: 2px solid #000000 !important; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 2px 2px 0px #000000 !important; }
.tab-icon { width: 14px; height: 14px; fill: currentColor; margin-left: 6px; vertical-align: middle; }
.ticker-wrapper { background-color: #ffffe6; border-top: 2px solid #cccccc; overflow: hidden; position: fixed; bottom: 0; left: 0; padding: 6px 0; width: 100%; z-index: 1000000; }
.ticker-content { display: inline-block; white-space: nowrap; font-family: "Courier New", Courier, monospace; font-size: 13px; color: #b30000; font-weight: bold; padding-right: 100%; animation: scroll-irony var(--ticker-dur, 500s) linear infinite; direction: rtl; }
@keyframes scroll-irony { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(100%, 0, 0); } }

main { background: #ffffff; padding: 20px; margin: 85px 20px 55px 20px; border: 1px solid #999999; width: calc(100% - 40px); }
.table-container { width: 100%; overflow-x: auto; margin-top: 5px; }
.ngcs-grid-table { width: 100%; border-collapse: collapse; min-width: 1100px; }
.ngcs-grid-table th { background-color: #e0e0e0; color: #000000; padding: 8px; text-align: right; border: 1px solid #999999; font-weight: bold; }
.ngcs-grid-table td { padding: 8px; border: 1px solid #999999; text-align: right; word-wrap: break-word; vertical-align: middle; }
.ngcs-grid-table tr:nth-child(even) { background-color: #f9f9f9; }
.ngcs-grid-table tr:hover { background-color: #e4f0fc; }
.col-case-num { width: 120px; } .col-case-parties { width: 220px; } .col-case-result { width: 200px; }
.case-header-block { background: #f9f9f9; padding: 15px; border-right: 4px solid #003366; margin-bottom: 20px; }
.content-section { margin-top: 25px; border-bottom: 1px dashed #cccccc; padding-bottom: 15px; }
.content-section h3 { color: #003366; margin-bottom: 10px; font-size: 15px; }
.protocol-text { font-size: 13px; line-height: 1.6; color: #222222; text-align: justify; }
.engine-open-popup-trigger { color: #003366; cursor: pointer; display: block; line-height: 1.2; font-weight: bold; font-size: 13px; }
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); align-items: center; justify-content: center; z-index: 1001; padding: 10px; }
.modal-content { width: 85%; height: 90%; background: #ffffff; padding: 25px; position: relative; border: 2px solid #003366; overflow-y: auto; }
.disclosure-box { margin-top: 85px; font-size: 11px; color: #333333; border-top: 1px solid #999999; padding-top: 15px; }
#landing-terms-wrapper { position: fixed !important; bottom: 55px !important; left: 20px !important; z-index: 1000005 !important; }
#open-terms-popup-btn { text-decoration: none !important; color: #e5e7eb !important; font-size: 12px !important; }
body.lock-scroll { overflow: hidden !important; }

@media (max-width: 600px) {
    .header-main-content { flex-direction: column; align-items: flex-start; padding: 10px; gap: 8px; }
    .header-left-block { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-top: 5px; gap: 4px; }
    .view-switcher-container { flex-grow: 1; display: flex; gap: 3px; }
    .view-btn { padding: 6px 3px; font-size: 11px; flex-grow: 1; } .view-btn .tab-icon { display: none !important; }
    main { margin: 135px 10px 55px 10px; padding: 10px; width: calc(100% - 20px); }
    .ngcs-grid-table { display: block; border: none; min-width: 100%; } .ngcs-grid-table thead { display: none; }
    .ngcs-grid-table tbody, .ngcs-grid-table tr, .ngcs-grid-table td { display: block; width: 100% !important; }
    .ngcs-grid-table tr { margin-bottom: 20px; border: 1px solid #999999; background-color: #ffffff !important; padding: 5px; }
    .ngcs-grid-table td { border: none; border-bottom: 1px dashed #dddddd; padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; }
    .ngcs-grid-table td::before { content: attr(data-label); font-weight: bold; color: #003366; font-size: 11px; }
    .ngcs-grid-table td.cell-case-num { background-color: #e4f0fc; border-bottom: 1px solid #b7d2f3; padding: 10px; }
    .modal-content { width: 96%; height: 92%; padding: 15px; }
}
