/* Kaluo function-page polish v4 */
:root{
  --k-cyan:#18bfd4;
  --k-cyan-dark:#09a4bd;
  --k-ink:#222f3d;
  --k-text:#34495e;
  --k-muted:#7a8b9c;
  --k-line:#e6edf3;
  --k-line2:#d5e2ec;
  --k-bg:#ffffff;
  --k-soft:#f7fbfd;
  --k-blue-soft:#edfaff;
  --k-ok:#13935f;
  --k-bad:#d64545;
  --k-shadow:0 2px 10px rgba(20,60,90,.045);
}
html,body{background:#fff!important;color:var(--k-text)!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif!important}
.wrap{width:min(1180px,calc(100% - 22px))!important;margin:0 auto!important}
.topbar{display:none!important}
.header,.nav{background:#fff!important;border-bottom:1px solid var(--k-line)!important;box-shadow:none!important;position:sticky!important;top:0!important;z-index:25!important}
.header .wrap,.nav-inner{min-height:58px!important;display:flex!important;align-items:center!important;gap:14px!important}
.logo{display:flex!important;align-items:center!important;gap:8px!important;color:#1e405c!important;font-size:21px!important;font-weight:850!important;white-space:nowrap!important}
.logo-mark{width:34px!important;height:34px!important;border-radius:50%!important;background:var(--k-cyan)!important;color:#fff!important;box-shadow:none!important;display:grid!important;place-items:center!important}
.mini-logo,.logo-mark svg{width:29px!important;height:29px!important}
.nav{display:flex!important;gap:4px!important;flex:1!important;overflow-x:auto!important;white-space:nowrap!important;scrollbar-width:none!important;border-bottom:0!important}
.nav::-webkit-scrollbar{display:none!important}
.nav a{height:34px!important;display:inline-flex!important;align-items:center!important;padding:0 9px!important;border:0!important;border-radius:3px!important;color:#4b5d6f!important;background:#fff!important;font-size:13px!important;font-weight:650!important}
.nav a:hover,.nav a.active{color:var(--k-cyan-dark)!important;background:#effcff!important}
main.wrap{padding-top:12px!important}
.k-global-announcement{border:1px solid #cdeef5!important;background:#f2fcff!important;border-radius:3px!important;color:#527586!important}
.notice{border:0!important;border-left:3px solid var(--k-cyan)!important;background:#f8fdff!important;border-radius:0!important;color:#5b7488!important;padding:9px 10px!important;margin:10px 0!important;box-shadow:none!important;font-size:13px!important}
.notice b{color:#34495e!important}.k-tool-actions{display:none!important}
.ad{height:42px!important;min-height:42px!important;border:1px solid #e3edf5!important;border-radius:2px!important;background:linear-gradient(105deg,#fff 0,#f5fbff 55%,#dff6ff 100%)!important;color:#35627a!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0 12px!important;font-size:13px!important;font-weight:650!important;margin:10px 0 12px!important;box-shadow:none!important;position:relative!important;overflow:hidden!important}
.ad:after{content:'';position:absolute;right:-22px;top:-18px;width:90px;height:90px;background:linear-gradient(135deg,rgba(24,191,212,.18),rgba(24,191,212,.04));transform:rotate(35deg)}
.tool-page{display:grid!important;grid-template-columns:minmax(0,1fr) 292px!important;gap:14px!important;align-items:start!important;margin-top:10px!important}
.panel{background:#fff!important;border:1px solid var(--k-line)!important;border-radius:2px!important;box-shadow:none!important;overflow:hidden!important}
.panel-title{height:43px!important;min-height:43px!important;padding:0 12px!important;border-bottom:1px solid var(--k-line)!important;background:#fff!important;color:#2a3b4d!important;display:flex!important;align-items:center!important;justify-content:space-between!important;font-size:15px!important;font-weight:800!important}
.panel-title:before{content:'';width:4px;height:16px;background:var(--k-cyan);border-radius:2px;margin-right:8px;display:inline-block}.panel-title{justify-content:flex-start!important}.panel-title span{margin-left:auto!important;color:#8a99a8!important;font-size:12px!important;font-weight:500!important}
.panel-body{padding:14px!important;background:#fff!important}
.tool-heading{padding:0 0 12px!important;margin:0 0 12px!important;border-bottom:1px solid #eef3f7!important;text-align:left!important}
.tool-heading h1{margin:0!important;color:#25384d!important;font-size:22px!important;line-height:1.25!important;font-weight:850!important;display:flex!important;align-items:center!important;gap:7px!important}
.tool-heading h1:before{content:'◷';color:var(--k-cyan);font-size:18px;font-weight:400}.tool-heading p{margin:7px 0 0!important;color:#7b8b9b!important;font-size:13px!important;line-height:1.65!important}
.tool-chips{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:0 0 12px!important}.tool-chips span{border:1px solid #dff3f7!important;background:#fbfeff!important;color:#668092!important;border-radius:2px!important;padding:3px 7px!important;font-size:12px!important}
.form-row{display:grid!important;grid-template-columns:minmax(0,1fr) 96px!important;gap:0!important;align-items:stretch!important;margin:9px 0 12px!important;border:1px solid var(--k-line2)!important;border-radius:2px!important;overflow:hidden!important;background:#fff!important}
.form-row .input,.form-row input,.form-row select{border:0!important;border-radius:0!important;height:42px!important;box-shadow:none!important;background:#fff!important}.form-row .btn,.form-row button{height:42px!important;border-radius:0!important;border:0!important}
.input,input[type="text"],input[type="number"],input[type="url"],select,textarea{border:1px solid var(--k-line2)!important;background:#fff!important;color:#2f4052!important;border-radius:2px!important;outline:none!important;box-shadow:none!important}
.input,input[type="text"],input[type="number"],input[type="url"],select{height:40px!important;padding:0 11px!important}textarea{min-height:126px!important;padding:10px 11px!important;line-height:1.65!important}.input:focus,input:focus,select:focus,textarea:focus{border-color:var(--k-cyan)!important;box-shadow:0 0 0 2px rgba(24,191,212,.08)!important}
.btn,button{border-radius:2px!important;font-weight:750!important;cursor:pointer!important}.btn.primary,button.primary,.primary{background:var(--k-cyan)!important;border-color:var(--k-cyan)!important;color:#fff!important;box-shadow:none!important}.btn:hover,button:hover{filter:brightness(.98)!important;transform:none!important}
.result-card{border:1px solid var(--k-line)!important;background:#fff!important;border-radius:2px!important;min-height:180px!important;padding:14px!important;box-shadow:none!important}.hint{min-height:120px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;border:1px dashed #e3edf4!important;background:#fbfdff!important;border-radius:2px!important;color:#9aa7b3!important;padding:18px!important}
.result-head{border:1px solid var(--k-line)!important;border-radius:2px!important;background:#fbfdff!important;padding:12px!important;margin-bottom:10px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}.result-head.ok{border-color:#cceee0!important;background:#f5fffa!important}.result-head.bad{border-color:#ffd7d7!important;background:#fff8f8!important}.result-head strong{display:block!important;color:#24394f!important;font-size:17px!important}.result-head span{display:block!important;color:#7b8b9b!important;font-size:12px!important;margin-top:3px!important}.result-badge,.pill{border-radius:2px!important;padding:3px 7px!important;font-size:12px!important;font-style:normal!important;border:1px solid #d6f2f7!important;background:#effcff!important;color:#0796b8!important}
.metric-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:10px 0!important}.metric{border:1px solid #e6edf3!important;background:#fff!important;border-radius:2px!important;padding:9px!important}.metric span{display:block!important;color:#8796a5!important;font-size:12px!important;margin-bottom:4px!important}.metric strong{color:#25384d!important;font-size:14px!important;word-break:break-word!important}
.raw-json{border:1px solid #e6edf3!important;border-radius:2px!important;background:#fff!important;margin-top:10px!important;padding:9px!important}.raw-json summary{cursor:pointer!important;color:#527586!important;font-weight:700!important}.raw-json pre,.route-lines{white-space:pre-wrap!important;word-break:break-all!important;background:#f7fafc!important;color:#354b63!important;border:1px solid #e6edf3!important;border-radius:2px!important;padding:10px!important;overflow:auto!important;font-size:12px!important;line-height:1.7!important}
.tool-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin-top:10px!important}.tool-card{border:1px solid #e6edf3!important;background:#fff!important;border-radius:2px!important;padding:10px!important}.tool-card strong{display:block!important;color:#25384d!important}.tool-card small{display:block!important;color:#8291a0!important;margin-top:4px!important;line-height:1.55!important}
.side-list{display:grid!important;gap:0!important}.side-list a{display:flex!important;align-items:center!important;justify-content:space-between!important;border:0!important;border-bottom:1px solid #eef3f7!important;background:#fff!important;border-radius:0!important;padding:10px 4px!important;color:#4d6174!important;font-weight:650!important}.side-list a:last-child{border-bottom:0!important}.side-list a:after{content:'›';color:#a7b4c1}.side-list a:hover{color:var(--k-cyan-dark)!important;background:#fbfeff!important}
.footer{margin:22px auto 0!important;padding:16px 0!important;border-top:1px solid #edf2f6!important;text-align:center!important;color:#8a99a8!important;background:#fff!important;font-size:13px!important}
@media(max-width:900px){.tool-page{grid-template-columns:1fr!important}.tool-page aside{display:none!important}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tool-grid{grid-template-columns:1fr!important}}


/* final function-page header controls */
.header .wrap,.nav-inner{justify-content:space-between!important;flex-wrap:nowrap!important}
.header nav.nav{display:none!important}
.nav .links{display:none!important}
.k-header-actions{margin-left:auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;position:relative!important;flex:0 0 auto!important;max-width:62vw!important;min-width:0!important}
.k-login-link,.k-category-toggle{height:28px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid var(--k-line2)!important;border-radius:3px!important;background:#fff!important;color:#31506a!important;padding:0 10px!important;font-size:12px!important;font-weight:800!important;line-height:28px!important;box-shadow:none!important;white-space:nowrap!important;flex:0 0 auto!important}
.k-login-link{background:var(--k-cyan)!important;border-color:var(--k-cyan)!important;color:#fff!important}
.k-category-toggle{cursor:pointer!important}
.k-category-menu{position:absolute!important;right:0!important;top:34px!important;width:min(520px,calc(100vw - 22px))!important;max-height:70vh!important;overflow:auto!important;background:#fff!important;border:1px solid var(--k-line2)!important;box-shadow:0 8px 22px rgba(20,60,90,.12)!important;border-radius:4px!important;padding:8px!important;z-index:60!important;display:block!important}
.k-category-menu[hidden]{display:none!important}
.k-category-menu .k-cat-group{border:1px solid #eef3f7!important;background:#fff!important;border-radius:3px!important;margin-bottom:7px!important;overflow:hidden!important}
.k-category-menu .k-cat-group:last-child{margin-bottom:0!important}
.k-category-menu .k-cat-title{height:30px!important;display:flex!important;align-items:center!important;gap:6px!important;padding:0 9px!important;background:#f8fbfd!important;color:#24445e!important;font-size:12px!important;font-weight:850!important;border-bottom:1px solid #eef3f7!important}
.k-category-menu .k-cat-links{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;background:#fff!important}
.k-category-menu a{height:32px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;padding:0 8px!important;border-radius:0!important;border-right:1px solid #eef3f7!important;border-bottom:1px solid #eef3f7!important;color:#3d566d!important;background:#fff!important;font-size:12px!important;font-weight:750!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.k-category-menu a:nth-child(3n){border-right:0!important}
.k-category-menu a:before{content:'';width:3px;height:3px;border-radius:50%;background:#bdd2df;margin-right:5px;flex:0 0 auto}
.k-category-menu a:hover{background:#effcff!important;color:var(--k-cyan-dark)!important}
.k-nav-tools,.k-mobile-actions,.k-category-panel{display:none!important}
@media(max-width:760px){.header .wrap,.nav-inner{min-height:46px!important;gap:6px!important}.logo{font-size:18px!important;max-width:38vw!important;overflow:hidden!important}.logo-mark{width:28px!important;height:28px!important}.mini-logo,.logo-mark svg{width:23px!important;height:23px!important}.k-login-link,.k-category-toggle{height:26px!important;line-height:26px!important;font-size:11px!important;padding:0 8px!important}.k-category-menu{top:32px!important;right:0!important;width:min(360px,calc(100vw - 16px))!important}.k-category-menu .k-cat-links{grid-template-columns:repeat(2,minmax(0,1fr))!important}.k-category-menu a:nth-child(3n){border-right:1px solid #eef3f7!important}.k-category-menu a:nth-child(2n){border-right:0!important}}
/* keep result/report action buttons single-line on mobile */
.result-actions,.actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important;align-items:center!important}
.result-actions .mini,.actions .mini,.primary-mini{white-space:nowrap!important;word-break:keep-all!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:max-content!important}
@media(max-width:420px){.result-actions .mini,.actions .mini,.primary-mini{font-size:12px!important;padding-left:10px!important;padding-right:10px!important}}


/* Domain authorized label: keep compact V badge right after domain, override global result styles */
.result-head .domain-title-line{display:inline-flex!important;align-items:center!important;gap:5px!important;flex-wrap:nowrap!important;color:inherit!important;font-size:inherit!important;margin-top:0!important;max-width:100%!important;vertical-align:middle!important}
.result-head .domain-title-line>span:first-child{display:inline!important;color:inherit!important;font-size:inherit!important;margin-top:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0!important}
.result-head .domain-title-line .domain-labels{display:inline-flex!important;align-items:center!important;gap:4px!important;flex:0 0 auto!important;color:inherit!important;font-size:inherit!important;margin-top:0!important;white-space:nowrap!important}
.result-head .domain-title-line .domain-label{display:inline-flex!important;align-items:center!important;gap:3px!important;width:auto!important;margin-top:0!important;white-space:nowrap!important;border-radius:999px!important;padding:2px 6px 2px 3px!important;font-size:12px!important;line-height:1.2!important;font-weight:850!important;box-shadow:none!important}
.result-head .domain-title-line .domain-label:before{content:'V'!important;width:14px!important;height:14px!important;border-radius:50%!important;display:inline-grid!important;place-items:center!important;font-size:9px!important;font-weight:950!important;background:#7048d9!important;color:#fff!important;line-height:1!important;flex:0 0 14px!important}
@media(max-width:760px){.result-head .domain-title-line{gap:4px!important}.result-head .domain-title-line .domain-label{font-size:11px!important;padding:2px 5px 2px 3px!important}.result-head .domain-title-line .domain-label:before{width:13px!important;height:13px!important;font-size:8px!important;flex-basis:13px!important}}


/* Domain/Whois detail cards: compact readable info blocks */
.domain-metric-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-top:10px!important}
.domain-metric-grid .metric{border:1px solid #e5edf4!important;background:#fff!important;border-radius:8px!important;padding:9px 10px!important;box-shadow:none!important;min-height:auto!important}
.domain-metric-grid .metric span{display:block!important;color:#7b8b9a!important;font-size:12px!important;line-height:1.2!important;margin:0 0 4px!important}
.domain-metric-grid .metric strong{display:block!important;color:#24394f!important;font-size:13px!important;line-height:1.35!important;font-weight:850!important;word-break:break-word!important}
@media(max-width:760px){.domain-metric-grid{grid-template-columns:1fr!important;gap:6px!important}.domain-metric-grid .metric{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;padding:8px 9px!important;border-radius:7px!important}.domain-metric-grid .metric span{margin:0!important;font-size:12px!important}.domain-metric-grid .metric strong{font-size:13px!important;text-align:right!important}}


/* Kaluo function-page result card polish: compact, readable, mobile-first */
body:not(.home-page) main .result-card{border:1px solid #dfeaf2!important;background:#fff!important;border-radius:10px!important;padding:12px!important;box-shadow:0 4px 14px rgba(26,73,105,.04)!important;min-height:140px!important}
body:not(.home-page) main .hint{min-height:96px!important;border:1px dashed #d9e8f1!important;background:#fbfdff!important;border-radius:9px!important;color:#8193a4!important;font-size:13px!important;line-height:1.65!important;padding:16px!important}
body:not(.home-page) main .result-head{border:1px solid #dcebf3!important;border-radius:9px!important;background:linear-gradient(180deg,#fbfdff,#fff)!important;padding:10px 11px!important;margin-bottom:10px!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;box-shadow:none!important}
body:not(.home-page) main .result-head.ok{border-color:#bee8d5!important;background:#f6fffb!important}
body:not(.home-page) main .result-head.bad{border-color:#ffd0d0!important;background:#fff8f8!important}
body:not(.home-page) main .result-head strong{display:block!important;color:#24394f!important;font-size:15px!important;line-height:1.35!important;font-weight:900!important;word-break:break-word!important}
body:not(.home-page) main .result-head>div>span{display:block!important;color:#7b8b9a!important;font-size:12px!important;margin-top:3px!important;line-height:1.35!important}
body:not(.home-page) main .result-badge{flex:0 0 auto!important;border:1px solid #bfe7f1!important;background:#f4fdff!important;color:#0796b8!important;border-radius:999px!important;padding:3px 8px!important;font-style:normal!important;font-size:12px!important;font-weight:850!important;white-space:nowrap!important}
body:not(.home-page) main .result-head.bad .result-badge{border-color:#ffc3c3!important;background:#fff2f2!important;color:#c73636!important}
body:not(.home-page) main .metric-grid:not(.domain-metric-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:10px 0!important}
body:not(.home-page) main .metric-grid:not(.domain-metric-grid) .metric{border:1px solid #e5edf4!important;background:#fff!important;border-radius:8px!important;padding:9px 10px!important;box-shadow:none!important;min-height:auto!important}
body:not(.home-page) main .metric-grid:not(.domain-metric-grid) .metric span{display:block!important;color:#7b8b9a!important;font-size:12px!important;line-height:1.2!important;margin:0 0 4px!important}
body:not(.home-page) main .metric-grid:not(.domain-metric-grid) .metric strong{display:block!important;color:#24394f!important;font-size:13px!important;line-height:1.35!important;font-weight:850!important;word-break:break-word!important}
body:not(.home-page) main .raw-json{border:1px solid #e5edf4!important;border-radius:9px!important;background:#fff!important;margin-top:10px!important;overflow:hidden!important}
body:not(.home-page) main .raw-json summary{padding:9px 10px!important;cursor:pointer!important;color:#527586!important;font-size:13px!important;font-weight:850!important;background:#fbfdff!important}
body:not(.home-page) main .raw-json pre,body:not(.home-page) main .route-lines{white-space:pre-wrap!important;word-break:break-all!important;background:#0f172a!important;color:#dff6ff!important;border:0!important;border-top:1px solid #1f2a44!important;border-radius:0 0 9px 9px!important;padding:10px!important;max-height:320px!important;overflow:auto!important;font-size:12px!important;line-height:1.55!important}
@media(max-width:760px){body:not(.home-page) main .result-card{padding:10px!important;border-radius:9px!important;min-height:120px!important}body:not(.home-page) main .result-head{padding:9px!important;gap:8px!important}body:not(.home-page) main .result-head strong{font-size:14px!important}body:not(.home-page) main .result-badge{font-size:11px!important;padding:3px 7px!important}body:not(.home-page) main .metric-grid:not(.domain-metric-grid){grid-template-columns:1fr!important;gap:6px!important}body:not(.home-page) main .metric-grid:not(.domain-metric-grid) .metric{display:grid!important;grid-template-columns:78px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;padding:8px 9px!important;border-radius:7px!important}body:not(.home-page) main .metric-grid:not(.domain-metric-grid) .metric span{margin:0!important;font-size:12px!important}body:not(.home-page) main .metric-grid:not(.domain-metric-grid) .metric strong{font-size:13px!important;text-align:right!important}.tool-grid{grid-template-columns:1fr!important}.tool-card{border-radius:8px!important}}

/* Check page result action polish: no empty API placeholder, clear report CTA */
.check-result-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin:10px 0 2px!important}
.check-result-actions .mini{border-radius:8px!important;padding:8px 12px!important;font-size:13px!important;font-weight:850!important;line-height:1.2!important;text-decoration:none!important}
.check-result-actions .primary-mini{background:#10b7d6!important;border-color:#10b7d6!important;color:#fff!important;box-shadow:none!important}
@media(max-width:760px){.check-result-actions{margin-top:9px!important}.check-result-actions .mini{width:100%!important;justify-content:center!important;padding:9px 12px!important}}


/* Function-page global polish v5 */
body:not(.home-page) .notice,
body:not(.home-page) .ad,
body:not(.home-page) .panel,
body:not(.home-page) .result-card,
body:not(.home-page) .raw-json,
body:not(.home-page) .tool-card{border-radius:8px!important}
body:not(.home-page) .panel-title{font-size:16px!important}
body:not(.home-page) .panel-body{padding:12px!important}
body:not(.home-page) .tool-heading h1{font-size:20px!important;line-height:1.3!important}
body:not(.home-page) .tool-heading p{font-size:13px!important;line-height:1.65!important;color:#6f8192!important}
body:not(.home-page) .tool-chips span{border-radius:999px!important;padding:4px 9px!important}
body:not(.home-page) .form-row{border-radius:8px!important;overflow:hidden!important}
body:not(.home-page) .form-row .btn,
body:not(.home-page) .form-row button,
body:not(.home-page) .form-row .input,
body:not(.home-page) .form-row input,
body:not(.home-page) .form-row select{height:42px!important}
body:not(.home-page) .btn,
body:not(.home-page) button{white-space:nowrap!important}
body:not(.home-page) .btn.primary,
body:not(.home-page) button.primary,
body:not(.home-page) .primary{background:linear-gradient(180deg,#14bfd5,#0ca5bf)!important;border-color:#0ca5bf!important}
body:not(.home-page) .side-list a{border-radius:8px!important;margin-bottom:4px!important}
body:not(.home-page) .link-list a{border-radius:8px!important}
body:not(.home-page) .table .row{border-radius:8px!important}
body:not(.home-page) .k-category-menu{border-radius:8px!important}
body:not(.home-page) .k-category-menu .k-cat-group{border-radius:8px!important}
body:not(.home-page) .k-category-menu a{font-size:12px!important;padding:0 8px!important}
body:not(.home-page) .result-actions,
body:not(.home-page) .actions,
body:not(.home-page) .check-result-actions{gap:8px!important}
body:not(.home-page) .result-actions .mini,
body:not(.home-page) .actions .mini,
body:not(.home-page) .check-result-actions .mini,
body:not(.home-page) .primary-mini{border-radius:8px!important;min-width:0!important}
body:not(.home-page) .raw-json summary{font-size:13px!important}
@media(max-width:760px){
  body:not(.home-page) .notice,
  body:not(.home-page) .ad{padding:8px 10px!important}
  body:not(.home-page) .panel-title{height:auto!important;min-height:40px!important;line-height:1.35!important;padding-top:10px!important;padding-bottom:10px!important}
  body:not(.home-page) .panel-title span{font-size:11px!important}
  body:not(.home-page) .form-row{grid-template-columns:1fr!important;gap:8px!important;padding:8px!important}
  body:not(.home-page) .form-row .btn,
  body:not(.home-page) .form-row button{width:100%!important;border-radius:8px!important}
  body:not(.home-page) .tool-chips{gap:5px!important}
  body:not(.home-page) .result-card{padding:10px!important}
  body:not(.home-page) .result-head{flex-direction:column!important;align-items:flex-start!important}
  body:not(.home-page) .result-badge{align-self:flex-start!important}
  body:not(.home-page) .raw-json pre,
  body:not(.home-page) .route-lines{max-height:260px!important}
}

/* Mobile real-device safety net v6: avoid horizontal overflow on long URLs/forms/results */
html,body{max-width:100%!important;overflow-x:hidden!important}
body:not(.home-page) main,
body:not(.home-page) .wrap,
body:not(.home-page) .panel,
body:not(.home-page) .panel-body,
body:not(.home-page) .result-card,
body:not(.home-page) .table,
body:not(.home-page) .row{max-width:100%!important;min-width:0!important}
body:not(.home-page) a,
body:not(.home-page) code,
body:not(.home-page) pre,
body:not(.home-page) small,
body:not(.home-page) .mono,
body:not(.home-page) .table .row,
body:not(.home-page) .table .row b,
body:not(.home-page) .table .row small{overflow-wrap:anywhere!important;word-break:break-word!important}
body:not(.home-page) .form-row.two,
body:not(.home-page) .form-row.three,
body:not(.home-page) .form-row.multi{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto!important}
body:not(.home-page) .actions,
body:not(.home-page) .result-actions,
body:not(.home-page) .check-result-actions{max-width:100%!important;overflow:hidden!important}
@media(max-width:760px){
  body:not(.home-page) .wrap{width:calc(100% - 16px)!important}
  body:not(.home-page) .tool-page{display:block!important;margin-top:8px!important}
  body:not(.home-page) aside{display:none!important}
  body:not(.home-page) .tool-heading h1{font-size:18px!important;line-height:1.28!important;align-items:flex-start!important}
  body:not(.home-page) .tool-heading p{font-size:12px!important;line-height:1.55!important}
  body:not(.home-page) .panel-body{padding:10px!important}
  body:not(.home-page) .form-row,
  body:not(.home-page) .form-row.two,
  body:not(.home-page) .form-row.three,
  body:not(.home-page) .form-row.multi{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:8px!important;border-radius:9px!important;overflow:visible!important}
  body:not(.home-page) .input,
  body:not(.home-page) input,
  body:not(.home-page) select,
  body:not(.home-page) textarea,
  body:not(.home-page) .btn,
  body:not(.home-page) button{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  body:not(.home-page) .btn,
  body:not(.home-page) button{min-height:40px!important;height:auto!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body:not(.home-page) .metric-grid,
  body:not(.home-page) .domain-metric-grid,
  body:not(.home-page) .kv-grid,
  body:not(.home-page) .info-grid{grid-template-columns:1fr!important;gap:6px!important}
  body:not(.home-page) .result-head{max-width:100%!important;overflow:hidden!important}
  body:not(.home-page) .result-head strong,
  body:not(.home-page) .result-head span{max-width:100%!important;overflow-wrap:anywhere!important;word-break:break-word!important}
  body:not(.home-page) .table{display:block!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  body:not(.home-page) .table .row{display:block!important;padding:9px!important;margin-bottom:7px!important}
  body:not(.home-page) .k-category-menu{left:auto!important;right:0!important;width:calc(100vw - 18px)!important;max-width:calc(100vw - 18px)!important}
}
@media(max-width:420px){
  body:not(.home-page) .logo{font-size:17px!important;max-width:42vw!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body:not(.home-page) .k-header-actions{gap:6px!important}
  body:not(.home-page) .k-login-link,
  body:not(.home-page) .k-category-toggle{padding:0 8px!important;font-size:12px!important;flex:0 0 auto!important;width:auto!important}
  body:not(.home-page) .result-actions .mini,
  body:not(.home-page) .actions .mini,
  body:not(.home-page) .check-result-actions .mini,
  body:not(.home-page) .primary-mini{width:100%!important;justify-content:center!important;min-width:0!important}
}
