/* Shozi Tools client UI v3.1.0 */
.szt-app {
    --szt-ink: #172033;
    --szt-muted: #687386;
    --szt-line: #e4e9f2;
    --szt-soft: #f6f8fc;
    --szt-panel: #ffffff;
    --szt-primary: #4f46e5;
    --szt-primary-2: #7c3aed;
    --szt-cyan: #06b6d4;
    --szt-success: #0f9f6e;
    --szt-danger: #dc4c64;
    --szt-warning: #d97706;
    --szt-shadow: 0 24px 70px rgba(29, 40, 74, .12);
    color: var(--szt-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 8px 0 34px;
}

.szt-app *, .szt-app *::before, .szt-app *::after { box-sizing: border-box; }
.szt-app button, .szt-app input { font: inherit; }
.szt-app button { cursor: pointer; }

.szt-hero {
    position: relative;
    overflow: hidden;
    min-height: 238px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 15% 10%, rgba(34, 211, 238, .22), transparent 34%),
        linear-gradient(135deg, #111a35 0%, #24275b 48%, #4f2d83 100%);
    box-shadow: 0 28px 70px rgba(28, 31, 72, .24);
    isolation: isolate;
}

.szt-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .22;
    background-image:
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to right, black, transparent 84%);
}

.szt-hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    opacity: .7;
}
.szt-hero-glow-one { width: 240px; height: 240px; right: -60px; top: -90px; background: rgba(129, 92, 246, .45); }
.szt-hero-glow-two { width: 160px; height: 160px; right: 18%; bottom: -100px; background: rgba(6, 182, 212, .26); }

.szt-hero-content {
    min-height: 238px;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    padding: 44px 46px;
    color: #fff;
}

.szt-tool-mark {
    width: 78px;
    height: 78px;
    position: relative;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,.17), rgba(255,255,255,.06));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 20px 50px rgba(0,0,0,.2);
    backdrop-filter: blur(12px);
}
.szt-tool-mark span {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 7px rgba(255,255,255,.1);
}
.szt-tool-mark span:nth-child(1) { left: 17px; top: 20px; }
.szt-tool-mark span:nth-child(2) { right: 15px; top: 31px; background: #67e8f9; }
.szt-tool-mark span:nth-child(3) { left: 29px; bottom: 15px; background: #c4b5fd; }
.szt-tool-mark::before, .szt-tool-mark::after {
    content: "";
    position: absolute;
    height: 1px;
    background: rgba(255,255,255,.55);
    transform-origin: left center;
}
.szt-tool-mark::before { width: 35px; left: 27px; top: 30px; transform: rotate(17deg); }
.szt-tool-mark::after { width: 31px; left: 24px; top: 38px; transform: rotate(62deg); }

.szt-overline {
    display: block;
    margin-bottom: 8px;
    color: #a5f3fc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}
.szt-hero h1 { margin: 0; color: #fff; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.035em; }
.szt-hero p { max-width: 780px; margin: 13px 0 0; color: rgba(255,255,255,.76); font-size: 15px; line-height: 1.75; }

.szt-access-badge {
    align-self: start;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 2px;
    padding: 10px 13px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(9, 17, 42, .28);
    color: rgba(255,255,255,.83);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}
.szt-access-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 5px rgba(52,211,153,.12); }

.szt-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 22px;
    align-items: start;
    margin-top: -34px;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.szt-workspace { min-width: 0; }
.szt-search-card, .szt-result-shell, .szt-history-card {
    border: 1px solid rgba(221, 227, 239, .94);
    background: rgba(255,255,255,.97);
    box-shadow: var(--szt-shadow);
}
.szt-search-card { padding: 23px; border-radius: 21px; backdrop-filter: blur(20px); }
.szt-search-label { display: block; margin: 0 0 9px 2px; color: #3c4658; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.szt-search-control {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    min-height: 58px;
    overflow: hidden;
    border: 1px solid #dce2ed;
    border-radius: 15px;
    background: #f9fbff;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.szt-search-control:focus-within { border-color: rgba(79,70,229,.58); background: #fff; box-shadow: 0 0 0 4px rgba(79,70,229,.09); }
.szt-search-icon { width: 21px; height: 21px; margin-left: 17px; color: #77839a; }
.szt-search-icon svg { width: 100%; height: 100%; }
.szt-search-control input {
    min-width: 0;
    height: 56px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--szt-ink);
    font-size: 15px;
    font-weight: 600;
}
.szt-search-control input::placeholder { color: #9aa4b5; font-weight: 500; }
.szt-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 46px;
    margin-right: 6px;
    padding: 0 18px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--szt-primary), var(--szt-primary-2));
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(79,70,229,.26);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.szt-search-button:hover { transform: translateY(-1px); box-shadow: 0 15px 30px rgba(79,70,229,.31); }
.szt-search-button:disabled { cursor: not-allowed; opacity: .68; transform: none; }
.szt-search-button svg { width: 17px; height: 17px; }
.szt-search-button.is-loading svg { animation: szt-spin 1s linear infinite; }

.szt-search-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 11px 2px 0; color: #8993a4; font-size: 11px; font-weight: 650; }
.szt-search-meta i { width: 3px; height: 3px; border-radius: 50%; background: #c5cbd7; }

.szt-status { margin: 16px 0 0; padding: 14px 16px; border-radius: 14px; font-size: 13px; font-weight: 700; line-height: 1.5; }
.szt-status.is-error { border: 1px solid #fecdd3; background: #fff1f3; color: #a61b38; }
.szt-status.is-success { border: 1px solid #a7f3d0; background: #ecfdf5; color: #08775a; }

.szt-result-shell { min-height: 330px; margin-top: 18px; border-radius: 21px; overflow: hidden; }
.szt-empty-state { min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px; text-align: center; }
.szt-empty-state h2 { margin: 20px 0 7px; color: #253048; font-size: 20px; letter-spacing: -.02em; }
.szt-empty-state p { max-width: 440px; margin: 0; color: #7a8598; line-height: 1.65; }
.szt-empty-visual { width: 112px; height: 112px; position: relative; }
.szt-radar-ring { position: absolute; inset: 50%; border: 1px solid rgba(79,70,229,.22); border-radius: 50%; transform: translate(-50%,-50%); }
.szt-radar-ring.ring-one { width: 104px; height: 104px; }
.szt-radar-ring.ring-two { width: 72px; height: 72px; }
.szt-radar-ring.ring-three { width: 42px; height: 42px; }
.szt-radar-core { position: absolute; left: 50%; top: 50%; width: 15px; height: 15px; border-radius: 50%; background: linear-gradient(135deg, var(--szt-cyan), var(--szt-primary)); transform: translate(-50%,-50%); box-shadow: 0 0 0 10px rgba(79,70,229,.08), 0 0 28px rgba(6,182,212,.45); }

.szt-loading { min-height: 330px; padding: 28px; }
.szt-loading-head { height: 82px; border-radius: 15px; background: linear-gradient(90deg,#f2f4f8,#fafbfc,#f2f4f8); background-size: 200% 100%; animation: szt-shimmer 1.25s infinite; }
.szt-loading-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 15px; }
.szt-loading-grid span { height: 90px; border-radius: 14px; background: linear-gradient(90deg,#f2f4f8,#fafbfc,#f2f4f8); background-size: 200% 100%; animation: szt-shimmer 1.25s infinite; }

.szt-results { padding: 24px; }
.szt-result-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.szt-result-header h2 { margin: 2px 0 5px; color: #202a40; font-size: 22px; letter-spacing: -.025em; word-break: break-word; }
.szt-result-header p { margin: 0; color: var(--szt-muted); font-size: 12px; }
.szt-result-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.szt-copy-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 7px 11px; border: 1px solid #dfe4ed; border-radius: 999px; background: #fff; color: #4a556b; font-size: 11px; font-weight: 800; transition: border-color .18s, color .18s, background .18s; }
.szt-copy-link:hover { border-color: #c7c1ff; background: #f5f3ff; color: var(--szt-primary); }
.szt-copy-link svg { width: 15px; height: 15px; }
.szt-result-badge { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.szt-result-badge.is-success { background: #e8faf3; color: #08775a; }
.szt-result-badge.is-neutral { background: #eef2ff; color: #4338ca; }
.szt-result-badge.is-warning { background: #fff7e8; color: #a85e00; }

.szt-metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.szt-metric { min-width: 0; padding: 15px; border: 1px solid var(--szt-line); border-radius: 15px; background: linear-gradient(180deg,#fff,#fbfcff); }
.szt-metric span { display: block; margin-bottom: 7px; color: #8490a3; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.szt-metric strong { display: block; overflow: hidden; color: #263047; font-size: 14px; line-height: 1.45; text-overflow: ellipsis; word-break: break-word; }
.szt-metric small { display: block; margin-top: 5px; color: #8a95a7; font-size: 11px; }

.szt-section { margin-top: 14px; border: 1px solid var(--szt-line); border-radius: 16px; overflow: hidden; background: #fff; }
.szt-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #edf0f5; background: #fafbfe; }
.szt-section-head h3 { margin: 0; color: #2c364c; font-size: 13px; font-weight: 850; }
.szt-section-head span { color: #98a2b2; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.szt-kv-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
.szt-kv { min-width: 0; padding: 13px 16px; border-bottom: 1px solid #f0f2f6; }
.szt-kv:nth-child(odd) { border-right: 1px solid #f0f2f6; }
.szt-kv span { display: block; margin-bottom: 5px; color: #8b96a8; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.szt-kv strong { display: block; color: #303a50; font-size: 13px; font-weight: 700; line-height: 1.55; word-break: break-word; }
.szt-kv strong.is-empty { color: #a3acba; font-weight: 550; }

.szt-chip-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 15px 16px; }
.szt-chip { display: inline-flex; align-items: center; max-width: 100%; padding: 7px 10px; border: 1px solid #dde3ee; border-radius: 999px; background: #f8faff; color: #45506a; font-size: 11px; font-weight: 750; word-break: break-all; }
.szt-chip.is-purple { border-color: #ddd6fe; background: #f5f3ff; color: #5b21b6; }
.szt-chip.is-green { border-color: #bbf7d0; background: #f0fdf4; color: #08775a; }

.szt-ip-entry { margin-top: 13px; padding: 17px; border: 1px solid var(--szt-line); border-radius: 16px; background: linear-gradient(180deg,#fff,#fafcff); }
.szt-ip-entry-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.szt-ip-entry-head strong { color: #27324a; font-size: 15px; word-break: break-all; }
.szt-record-type { padding: 5px 8px; border-radius: 8px; background: #eef2ff; color: #4338ca; font-size: 10px; font-weight: 850; }
.szt-org-line { display: flex; align-items: center; gap: 11px; }
.szt-org-icon { width: 34px; height: 34px; border: 1px solid #e3e7ef; border-radius: 10px; object-fit: contain; background: #fff; padding: 4px; }
.szt-flag { width: 28px; height: 20px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); vertical-align: middle; margin-right: 7px; }

.szt-json { margin: 0; max-height: 540px; overflow: auto; padding: 18px; background: #111827; color: #dbeafe; font: 12px/1.7 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace; white-space: pre-wrap; word-break: break-word; }
.szt-raw-details { margin-top: 14px; border: 1px solid var(--szt-line); border-radius: 15px; overflow: hidden; }
.szt-raw-details summary { cursor: pointer; padding: 14px 16px; background: #fafbfe; color: #3e4960; font-size: 12px; font-weight: 800; }
.szt-raw-details pre { margin: 0; max-height: 390px; overflow: auto; padding: 16px; background: #101827; color: #d7e1f2; font: 11px/1.65 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace; white-space: pre-wrap; word-break: break-word; }

.szt-history-card { position: sticky; top: 18px; padding: 20px; border-radius: 21px; }
.szt-history-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.szt-history-head .szt-overline { color: var(--szt-primary); }
.szt-history-head h2 { margin: 0; color: #273148; font-size: 20px; letter-spacing: -.02em; }
.szt-history-mode { padding: 6px 9px; border-radius: 999px; background: #eef2ff; color: #4f46e5; font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.szt-history-note { margin: 10px 0 16px; color: #7e899a; font-size: 11px; line-height: 1.55; }
.szt-history-list { min-height: 154px; }
.szt-history-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; padding: 12px 0; border-top: 1px solid #edf0f5; }
.szt-history-item:first-child { border-top: 0; }
.szt-history-query { overflow: hidden; color: #303a50; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.szt-history-summary { overflow: hidden; margin-top: 4px; color: #8a95a7; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.szt-history-time { margin-top: 5px; color: #a0a8b6; font-size: 9px; font-weight: 650; }
.szt-history-use { align-self: center; width: 31px; height: 31px; border: 1px solid #dfe4ed; border-radius: 9px; background: #fff; color: #59657a; font-size: 14px; transition: border-color .18s, color .18s, background .18s; }
.szt-history-use:hover { border-color: #c7c1ff; background: #f5f3ff; color: var(--szt-primary); }
.szt-history-empty { padding: 28px 10px; color: #8d97a7; font-size: 11px; line-height: 1.6; text-align: center; }
.szt-history-loading { display: flex; justify-content: center; gap: 6px; padding: 48px 0; }
.szt-history-loading span { width: 7px; height: 7px; border-radius: 50%; background: #8b82f0; animation: szt-bounce .9s infinite alternate; }
.szt-history-loading span:nth-child(2) { animation-delay: .15s; }
.szt-history-loading span:nth-child(3) { animation-delay: .3s; }
.szt-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; }
.szt-page-btn { min-width: 29px; height: 29px; padding: 0 8px; border: 1px solid #e0e5ee; border-radius: 8px; background: #fff; color: #687386; font-size: 10px; font-weight: 800; }
.szt-page-btn:hover, .szt-page-btn.is-active { border-color: var(--szt-primary); background: var(--szt-primary); color: #fff; }
.szt-page-btn:disabled { opacity: .45; cursor: not-allowed; }

@keyframes szt-spin { to { transform: rotate(360deg); } }
@keyframes szt-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes szt-bounce { to { transform: translateY(-6px); opacity: .55; } }

@media (max-width: 1040px) {
    .szt-layout { grid-template-columns: minmax(0,1fr); }
    .szt-history-card { position: static; }
    .szt-hero-content { grid-template-columns: 70px minmax(0,1fr); }
}

@media (max-width: 720px) {
    .szt-app { margin-top: 0; }
    .szt-hero { border-radius: 20px; }
    .szt-hero-content { min-height: 260px; grid-template-columns: 1fr; gap: 14px; padding: 30px 24px 54px; }
    .szt-tool-mark { width: 62px; height: 62px; border-radius: 19px; transform: scale(.82); transform-origin: left center; }
    .szt-layout { margin-top: -28px; padding: 0 10px; }
    .szt-search-card, .szt-results, .szt-history-card { padding: 17px; }
    .szt-search-control { grid-template-columns: 42px minmax(0,1fr); overflow: visible; }
    .szt-search-control input { height: 54px; }
    .szt-search-button { grid-column: 1 / -1; width: calc(100% + 2px); height: 48px; margin: 8px -1px -1px; border-radius: 0 0 13px 13px; }
    .szt-search-meta { display: none; }
    .szt-result-header { flex-direction: column; }
    .szt-result-actions { justify-content: flex-start; }
    .szt-metric-grid { grid-template-columns: 1fr 1fr; }
    .szt-kv-grid { grid-template-columns: 1fr; }
    .szt-kv:nth-child(odd) { border-right: 0; }
    .szt-loading-grid { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
    .szt-metric-grid { grid-template-columns: 1fr; }
    .szt-hero h1 { font-size: 31px; }
    .szt-layout { padding: 0 6px; }
}
