﻿:root {
    --wt-primary: #1769e0;
    --wt-primary-dark: #0f52b5;
    --wt-ink: #17233b;
    --wt-muted: #64748b;
    --wt-line: #dce5f1;
    --wt-surface: #ffffff;
    --wt-background: #f3f7fc;
    --wt-good: #12805c;
    --wt-warning: #a86108;
    --wt-danger: #c03535;
    --wt-radius: 16px;
    --wt-shadow: 0 12px 35px rgba(30, 64, 110, .08);
}
[hidden] { display: none !important; }
.wt-page { background: var(--wt-background); color: var(--wt-ink); min-height: 70vh; }
.wt-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.wt-tool, .wt-center { padding: 28px 0 56px; }
.wt-breadcrumb { display: flex; gap: 10px; align-items: center; color: var(--wt-muted); font-size: 14px; margin-bottom: 24px; }
.wt-breadcrumb a { color: var(--wt-primary); text-decoration: none; }
.wt-hero { display: flex; align-items: center; gap: 20px; margin: 0 0 26px; }
.wt-tool-icon { width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #2787ff, #1455bd); box-shadow: 0 10px 24px rgba(23, 105, 224, .22); flex: 0 0 auto; }
.wt-tool-icon svg { width: 36px; height: 36px; }
.wt-eyebrow { color: var(--wt-primary); font-weight: 700; font-size: 13px; letter-spacing: .08em; margin: 0 0 7px; }
.wt-hero h1, .wt-center-hero h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; margin: 0 0 9px; font-weight: 750; }
.wt-subtitle { color: var(--wt-muted); font-size: 17px; margin: 0; }
.wt-panel { background: var(--wt-surface); border: 1px solid var(--wt-line); border-radius: var(--wt-radius); padding: 26px; margin-bottom: 20px; box-shadow: var(--wt-shadow); }
.wt-input-panel { padding: 28px; }
.wt-input-panel label, .wt-modal label { display: block; font-weight: 700; margin: 0 0 10px; }
.wt-input-row { display: flex; gap: 12px; align-items: stretch; }
.wt-input-row input { flex: 1 1 auto; min-width: 0; }
.wt-text-input, .wt-input-row input, #wtTarget { width: 100%; min-height: 50px; border: 1px solid #b9c9dc; border-radius: 10px; padding: 12px 14px; font-size: 16px; color: var(--wt-ink); background: #fff; box-sizing: border-box; }
#wtTarget:focus, .wt-text-input:focus { outline: 3px solid rgba(23, 105, 224, .16); border-color: var(--wt-primary); }
.wt-input-help { color: var(--wt-muted); font-size: 13px; margin: 10px 0 0; }
.wt-boundary { margin: 17px 0 0; padding: 12px 14px; border-radius: 9px; background: #eef5ff; color: #385574; font-size: 13px; line-height: 1.7; }
.wt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 9px; font-weight: 700; font-size: 14px; line-height: 1.4; text-decoration: none; cursor: pointer; white-space: nowrap; box-sizing: border-box; transition: background .15s, border-color .15s, transform .15s; }
.wt-btn:hover { text-decoration: none; transform: translateY(-1px); }
.wt-btn:focus-visible { outline: 3px solid rgba(23, 105, 224, .25); outline-offset: 2px; }
.wt-btn:disabled { opacity: .58; cursor: not-allowed; transform: none; }
.wt-btn-primary { color: #fff; background: var(--wt-primary); border-color: var(--wt-primary); }
.wt-btn-primary:hover { color: #fff; background: var(--wt-primary-dark); border-color: var(--wt-primary-dark); }
.wt-btn-secondary, .wt-secondary-fill { color: var(--wt-primary); background: #fff; border-color: #9cbce7; }
.wt-btn-secondary:hover, .wt-secondary-fill:hover { color: var(--wt-primary-dark); background: #f0f6ff; border-color: var(--wt-primary); }
.wt-btn-text { color: var(--wt-primary); background: transparent; border-color: transparent; }
.wt-btn-text:hover { color: var(--wt-primary-dark); background: #edf4ff; }
#wtStart { min-width: 126px; min-height: 50px; font-size: 16px; }
.wt-progress { display: flex; align-items: center; gap: 11px; color: #315477; background: #edf5ff; border-radius: 10px; padding: 13px 15px; margin-top: 18px; }
.wt-spinner { width: 20px; height: 20px; border: 2px solid #b9d2f3; border-top-color: var(--wt-primary); border-radius: 50%; animation: wt-spin .8s linear infinite; flex: 0 0 auto; }
@keyframes wt-spin { to { transform: rotate(360deg); } }
.wt-alert { border-radius: 10px; padding: 13px 15px; margin-top: 16px; line-height: 1.65; }
.wt-alert-danger { color: #8e2424; background: #fff0f0; border: 1px solid #f1c6c6; }
.wt-result { scroll-margin-top: 20px; }
.wt-summary { display: flex; justify-content: space-between; gap: 26px; align-items: center; }
.wt-score-block { display: flex; align-items: center; gap: 22px; min-width: 0; }
.wt-score-ring { width: 94px; height: 94px; border-radius: 50%; display: flex; align-items: baseline; justify-content: center; padding-top: 24px; box-sizing: border-box; border: 8px solid #dbe5f2; flex: 0 0 auto; }
.wt-score-ring span { font-size: 32px; font-weight: 800; line-height: 1; }
.wt-score-ring small { font-size: 12px; margin-left: 3px; }
.wt-score-good { color: var(--wt-good); border-color: #8ed6bd; background: #f0fbf7; }
.wt-score-warning { color: var(--wt-warning); border-color: #f0ca86; background: #fffaf0; }
.wt-score-bad { color: var(--wt-danger); border-color: #e9aaaa; background: #fff5f5; }
.wt-summary h2 { margin: 0 0 7px; font-size: 24px; }
.wt-summary-text { margin: 0 0 8px; line-height: 1.65; }
.wt-muted { color: var(--wt-muted); font-size: 14px; line-height: 1.65; }
.wt-result-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.wt-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 19px; }
.wt-section-heading h2 { font-size: 21px; margin: 0; }
.wt-section-heading .wt-btn { flex: 0 0 auto; }
.wt-tag { display: inline-flex; border-radius: 999px; padding: 5px 10px; color: #315f98; background: #edf4ff; font-size: 12px; white-space: nowrap; }
.wt-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.wt-metric { border: 1px solid var(--wt-line); border-radius: 12px; padding: 15px; background: #fbfdff; min-width: 0; }
.wt-metric-name { display: block; color: var(--wt-muted); font-size: 13px; margin-bottom: 8px; }
.wt-metric-value { display: block; font-size: 20px; margin-bottom: 7px; overflow-wrap: anywhere; }
.wt-metric .wt-muted { margin: 0; font-size: 12px; }
.wt-level-good { border-top: 3px solid #54b594; }
.wt-level-warning { border-top: 3px solid #e1a446; }
.wt-level-critical { border-top: 3px solid #d96a6a; }
.wt-level-info { border-top: 3px solid #85a9d4; }
.wt-findings { display: grid; gap: 12px; }
.wt-finding { border: 1px solid var(--wt-line); border-left-width: 4px; border-radius: 10px; padding: 15px 17px; background: #fff; }
.wt-finding-head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.wt-finding-head h3 { margin: 0; font-size: 16px; }
.wt-severity { display: inline-flex; border-radius: 999px; padding: 3px 8px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.wt-severity-critical { color: #9e2525; background: #ffe8e8; }
.wt-severity-warning { color: #8c560d; background: #fff3d9; }
.wt-severity-good { color: #176648; background: #e5f7ef; }
.wt-severity-info { color: #345f92; background: #eaf2fd; }
.wt-finding-detail { margin: 0 0 8px; color: #455970; line-height: 1.65; }
.wt-finding-advice { margin: 0; padding: 10px 12px; border-radius: 8px; background: #f3f7fc; line-height: 1.65; }
.wt-empty { color: var(--wt-muted); background: #f4f8fc; border-radius: 10px; padding: 18px; line-height: 1.7; }
.wt-extra-group { border: 1px solid var(--wt-line); border-radius: 11px; padding: 16px; margin-bottom: 12px; overflow-wrap: anywhere; }
.wt-extra-group h3 { margin: 0 0 12px; font-size: 16px; }
.wt-extra-grid { display: grid; grid-template-columns: minmax(110px, .55fr) 2fr; gap: 8px 16px; margin: 0; }
.wt-extra-grid dt { color: var(--wt-muted); }
.wt-extra-grid dd { margin: 0; line-height: 1.6; }
.wt-extra-wide { grid-column: 1 / -1; }
.wt-extra-wide dd { margin-top: 8px; }
.wt-extra-list { margin: 0; padding-left: 20px; }
.wt-extra-list li { padding: 5px 0; line-height: 1.6; }
.wt-extra-line { display: block; }
.wt-conversion { background: linear-gradient(135deg, #fff, #f2f7ff); }
.wt-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wt-product { display: flex; flex-direction: column; border: 1px solid var(--wt-line); border-radius: 12px; padding: 18px; background: #fff; }
.wt-product-type { align-self: flex-start; color: var(--wt-primary); background: #eaf2ff; border-radius: 999px; padding: 4px 9px; font-size: 11px; font-weight: 700; margin-bottom: 10px; }
.wt-product h3 { font-size: 17px; margin: 0 0 8px; }
.wt-product p { color: var(--wt-muted); line-height: 1.65; flex: 1 1 auto; margin: 0 0 15px; }
.wt-product .wt-btn { align-self: flex-start; }
.wt-captcha-box { min-height: 72px; display: flex; align-items: center; margin-bottom: 14px; border: 1px dashed #b9c9dc; border-radius: 10px; background: #f7faff; }
.wt-captcha-box img { display: block; max-width: 100%; height: auto; }
.wt-modal .modal-content { border-radius: 15px; border: 1px solid var(--wt-line); }
.wt-modal .modal-header, .wt-modal .modal-footer { border-color: #e5ebf2; }
.wt-modal .modal-body { color: #33465f; line-height: 1.7; }
.wt-center-hero { position: relative; overflow: hidden; padding: 42px; border-radius: 22px; color: #fff; background: linear-gradient(120deg, #0c4eb5, #1979e8 62%, #27a4df); margin-bottom: 30px; box-shadow: 0 18px 40px rgba(18, 86, 175, .2); }
.wt-center-hero::after { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -90px; top: -160px; border: 55px solid rgba(255,255,255,.08); }
.wt-center-hero h1 { max-width: 760px; }
.wt-center-hero p { max-width: 720px; font-size: 17px; line-height: 1.8; margin: 0; color: #e8f3ff; }
.wt-center-hero .wt-hero-points { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.wt-hero-points span { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 7px 12px; font-size: 13px; }
.wt-section-title { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 32px 0 17px; }
.wt-section-title h2 { margin: 0; font-size: 25px; }
.wt-section-title p { margin: 0; color: var(--wt-muted); font-size: 14px; }
.wt-tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wt-tool-card { display: flex; flex-direction: column; min-height: 232px; padding: 22px; border-radius: 15px; border: 1px solid var(--wt-line); background: #fff; color: var(--wt-ink); text-decoration: none; box-shadow: 0 7px 22px rgba(30, 64, 110, .05); transition: transform .18s, box-shadow .18s, border-color .18s; }
.wt-tool-card:hover { color: var(--wt-ink); text-decoration: none; transform: translateY(-4px); border-color: #9bbfe9; box-shadow: 0 15px 30px rgba(30, 64, 110, .11); }
.wt-tool-card .wt-tool-icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px; }
.wt-tool-card .wt-tool-icon svg { width: 26px; height: 26px; }
.wt-tool-card h3 { font-size: 18px; margin: 0 0 8px; }
.wt-tool-card p { color: var(--wt-muted); line-height: 1.65; margin: 0 0 16px; flex: 1 1 auto; }
.wt-card-link { color: var(--wt-primary); font-weight: 700; font-size: 13px; }
.wt-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wt-info-card { background: #fff; border: 1px solid var(--wt-line); border-radius: 14px; padding: 22px; }
.wt-info-card h3 { font-size: 18px; margin: 0 0 11px; }
.wt-info-card p, .wt-info-card li { color: #4f6278; line-height: 1.8; }
.wt-info-card p { margin: 0; }
.wt-info-card ul { margin: 0; padding-left: 20px; }
.wt-faq details { background: #fff; border: 1px solid var(--wt-line); border-radius: 11px; margin-bottom: 10px; padding: 0 18px; }
.wt-faq summary { cursor: pointer; padding: 17px 0; font-weight: 700; }
.wt-faq details p { margin: 0; padding: 0 0 17px; color: #4f6278; line-height: 1.8; }
.wt-home-entry { width: min(1180px, calc(100% - 40px)); margin: 26px auto; padding: 25px 28px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border: 1px solid #cfe0f5; border-radius: 16px; background: linear-gradient(120deg, #eef6ff, #f9fcff); }
.wt-home-entry h2 { margin: 0 0 7px; font-size: 23px; color: #17365e; }
.wt-home-entry p { margin: 0; color: #58708e; line-height: 1.7; }
.wt-home-entry .wt-btn { flex: 0 0 auto; }
.wt-report-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 22px; }
.wt-report-header h1 { margin: 0 0 9px; font-size: clamp(26px, 4vw, 36px); }
.wt-report-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.wt-report-boundary { background: #eef5ff; color: #3e5d7f; border-radius: 11px; padding: 14px 16px; line-height: 1.75; margin-bottom: 20px; }
.wt-report-error { max-width: 760px; margin: 50px auto; background: #fff; border: 1px solid var(--wt-line); border-radius: 16px; padding: 35px; text-align: center; }
.wt-report-error h1 { font-size: 26px; }
.wt-report-error p { color: var(--wt-muted); line-height: 1.8; }
@media (max-width: 1050px) {
    .wt-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wt-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wt-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .wt-container { width: calc(100% - 28px); }
    .wt-tool, .wt-center { padding: 18px 0 36px; }
    .wt-breadcrumb { margin-bottom: 18px; }
    .wt-hero { align-items: flex-start; gap: 14px; }
    .wt-tool-icon { width: 54px; height: 54px; border-radius: 16px; }
    .wt-tool-icon svg { width: 29px; height: 29px; }
    .wt-hero h1 { font-size: 27px; }
    .wt-subtitle { font-size: 15px; line-height: 1.6; }
    .wt-panel { padding: 18px; border-radius: 13px; margin-bottom: 15px; }
    .wt-input-panel { padding: 19px; }
    .wt-input-row { flex-direction: column; }
    #wtStart { width: 100%; }
    .wt-summary, .wt-report-header { flex-direction: column; align-items: stretch; }
    .wt-score-block { align-items: flex-start; gap: 15px; }
    .wt-score-ring { width: 78px; height: 78px; padding-top: 19px; border-width: 7px; }
    .wt-score-ring span { font-size: 27px; }
    .wt-result-actions, .wt-report-actions { justify-content: flex-start; }
    .wt-result-actions .wt-btn { flex: 1 1 auto; }
    .wt-metrics, .wt-products, .wt-info-grid { grid-template-columns: 1fr; }
    .wt-extra-grid { grid-template-columns: 1fr; gap: 5px; }
    .wt-extra-grid dd { margin-bottom: 9px; }
    .wt-extra-wide { grid-column: auto; }
    .wt-section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .wt-center-hero { padding: 27px 22px; border-radius: 17px; }
    .wt-center-hero p { font-size: 15px; }
    .wt-section-title { align-items: flex-start; flex-direction: column; gap: 8px; }
    .wt-tool-grid { grid-template-columns: 1fr; }
    .wt-tool-card { min-height: 0; }
    .wt-home-entry { width: calc(100% - 28px); padding: 20px; flex-direction: column; align-items: flex-start; }
    .wt-home-entry .wt-btn { width: 100%; }
    .wt-modal .modal-content { margin: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .wt-spinner { animation-duration: 1.8s; }
    .wt-btn, .wt-tool-card { transition: none; }
}
