*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f1f0e8;color:#10110f;font-family:Arial,Helvetica,sans-serif}header{height:88px;padding:0 5vw;display:flex;align-items:center;border-bottom:1px solid #c9c8be;gap:44px}.brand{font-size:32px;font-weight:900;letter-spacing:-2px;text-decoration:none;color:#111}.brand span{font-size:19px;color:#7d9d22}nav{margin:auto;display:flex;gap:40px}nav a,.ghost{color:#111;text-decoration:none}.ghost{border:1px solid #111;border-radius:30px;padding:12px 21px}.hero{padding:105px 5vw 95px}.kicker{font:700 13px monospace;letter-spacing:3px}.hero h1{font-size:clamp(54px,7.5vw,112px);line-height:.92;letter-spacing:-5px;margin:28px 0}.hero em{font-family:Georgia,serif;font-weight:400}.hero p{font-size:22px;line-height:1.55;max-width:800px;color:#42433e}.primary{display:inline-block;background:#111;color:white;padding:17px 24px;text-decoration:none;margin-top:15px}.subnote{display:block;color:#77786f;margin-top:14px;font-size:13px}.audit{background:#11130f;color:#f5f4ec;padding:80px 5vw}.audit-head{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:end}.audit h2,.how h2{font-size:48px;letter-spacing:-2px;margin:15px 0}.audit-head p{color:#afb0a8;line-height:1.6;font-size:18px}.light{color:#a3c638}form{display:flex;max-width:1000px;margin-top:35px}input{flex:1;padding:19px 20px;border:0;font-size:17px;background:#f3f2eb}button{border:0;cursor:pointer;font-weight:700}form button{background:#9dbc38;padding:0 30px}.status{padding:18px 0;color:#a7a99f}.report{border-top:1px solid #383b34;margin-top:18px;padding-top:30px}.hidden{display:none!important}.report-top{display:flex;justify-content:space-between;align-items:center}.online{font-size:20px}.online i{width:9px;height:9px;border-radius:50%;background:#9dbc38;display:inline-block;margin-right:8px}.muted{color:#8d9087;margin-top:7px;font-size:13px}.overall{text-align:right}.overall strong{display:block;font-size:66px;line-height:.9}.overall span{font:700 11px monospace;letter-spacing:2px;color:#aaa}.score-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:35px 0 55px}.score-grid>div{border:1px solid #393c35;padding:19px}.score-grid span{font:700 11px monospace;color:#a7a99f;letter-spacing:1px}.score-grid strong{display:block;font-size:29px;margin:8px 0}.bar{height:3px;background:#353831}.bar i{height:100%;background:#a1c23a;display:block}.section-title{border-top:1px solid #393c35;padding:24px 0 16px;display:flex;justify-content:space-between;text-transform:uppercase;font:700 13px monospace;letter-spacing:1px}.counts{display:flex;gap:18px}.counts b{font-size:11px}.issues{display:grid;gap:10px;margin-bottom:42px}.issue{border:1px solid #353831;padding:18px 20px;display:grid;grid-template-columns:110px 1fr;gap:18px}.badge{font:700 10px monospace;letter-spacing:1px}.critical .badge{color:#ff8e83}.warning .badge{color:#e8c95c}.info .badge{color:#9eaaa0}.issue p{margin:5px 0 0;color:#d3d4cc}.issue small{color:#7f8379}.details{display:grid;grid-template-columns:repeat(2,1fr);border:1px solid #353831;margin-bottom:25px}.detail{padding:15px 18px;border-bottom:1px solid #353831;display:flex;justify-content:space-between;gap:20px}.detail:nth-child(odd){border-right:1px solid #353831}.detail span{color:#96998f}.detail b{max-width:65%;text-align:right;overflow-wrap:anywhere}.actions{display:flex;gap:10px;flex-wrap:wrap}.secondary,.ai{padding:14px 18px}.secondary{background:transparent;border:1px solid #4c5047;color:#eee}.ai{background:#9dbc38}.ai span{font-size:10px;opacity:.7;margin-left:7px}.ai-message{margin-top:15px;background:#20231e;padding:16px;color:#bfc1b8}.features{padding:75px 5vw;display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.features article{border-top:1px solid #aaa99f;padding-top:22px}.features article>b{font:700 12px monospace;color:#708c20}.features h3{font-size:28px}.features p{font-size:17px;line-height:1.55;color:#55564f}.how{padding:80px 5vw;border-top:1px solid #c9c8be}.how pre{background:#deddd4;padding:30px;overflow:auto;line-height:1.7}footer{border-top:1px solid #c9c8be;padding:30px 5vw;display:flex;justify-content:space-between;color:#6e7068}@media(max-width:800px){header{height:72px}nav{display:none}.ghost{margin-left:auto}.hero{padding-top:70px}.hero h1{font-size:54px;letter-spacing:-3px}.hero p{font-size:18px}.audit-head{grid-template-columns:1fr;gap:10px}.audit h2,.how h2{font-size:37px}form{flex-direction:column}form button{padding:17px}.report-top{align-items:flex-start}.overall strong{font-size:50px}.score-grid{grid-template-columns:1fr 1fr}.section-title{gap:15px;flex-direction:column}.counts{flex-wrap:wrap}.issue{grid-template-columns:1fr}.details{grid-template-columns:1fr}.detail:nth-child(odd){border-right:0}.features{grid-template-columns:1fr}footer{flex-direction:column;gap:12px}}/* TUYAN v0.5 — Scan History */

.history-heading{
	margin-top:42px
}

.history-summary{
	color:#8d9087;
	font-size:11px
}

.history{
	margin-bottom:30px
}

.history-table{
	border:1px solid #353831;
	overflow-x:auto
}

.history-row{
	display:grid;
	grid-template-columns:
		minmax(170px,1.8fr)
		repeat(5,minmax(75px,.7fr))
		minmax(100px,1fr)
		minmax(70px,.6fr);
	align-items:center;
	min-width:850px;
	border-bottom:1px solid #353831
}

.history-row:last-child{
	border-bottom:0
}

.history-row>div{
	padding:15px 14px;
	border-right:1px solid #353831;
	font-size:13px
}

.history-row>div:last-child{
	border-right:0
}

.history-header{
	background:#1b1e19
}

.history-header>div{
	font:700 10px monospace;
	letter-spacing:1px;
	color:#898d83
}

.history-row strong{
	font-size:19px;
	color:#b1d348
}

.history-date{
	color:#a9aca3
}

.history-empty{
	border:1px solid #353831;
	padding:22px;
	color:#8d9087
}

@media(max-width:800px){

	.history{
		overflow-x:auto
	}

	.history-heading{
		margin-top:32px
	}

}
/* TUYAN v0.6 — History Overview */

.history-overview{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    border:1px solid #353831;
    margin-bottom:14px;
}

.history-stat{
    padding:20px;
    border-right:1px solid #353831;
}

.history-stat:last-child{
    border-right:0;
}

.history-stat span{
    display:block;
    margin-bottom:10px;
    font:700 10px monospace;
    letter-spacing:1px;
    color:#898d83;
}

.history-stat strong{
    display:block;
    font-size:25px;
    line-height:1.2;
    color:#b1d348;
}

.history-stat small{
    display:block;
    margin-top:7px;
    color:#8d9087;
}

.trend-good{
    color:#b1d348 !important;
}

.trend-bad{
    color:#e58b7b !important;
}

.trend-neutral{
    color:#8d9087 !important;
}

.trend-box{
    border:1px solid #353831;
    margin-bottom:14px;
}

.trend-line{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:15px 18px;
    border-bottom:1px solid #353831;
}

.trend-line:last-child{
    border-bottom:0;
}

.trend-line span{
    font:700 10px monospace;
    letter-spacing:1px;
    color:#898d83;
}

.trend-line strong{
    font:600 13px monospace;
    color:#d9dcd3;
    text-align:right;
}

@media(max-width:800px){

    .history-overview{
        grid-template-columns:repeat(2,1fr);
    }

    .history-stat:nth-child(2){
        border-right:0;
    }

    .history-stat:nth-child(-n+2){
        border-bottom:1px solid #353831;
    }

    .trend-line{
        align-items:flex-start;
        flex-direction:column;
        gap:7px;
    }

    .trend-line strong{
        text-align:left;
        overflow-wrap:anywhere;
    }
}

@media(max-width:480px){

    .history-overview{
        grid-template-columns:1fr;
    }

    .history-stat{
        border-right:0;
        border-bottom:1px solid #353831;
    }

    .history-stat:last-child{
        border-bottom:0;
    }
}

/* TUYAN v0.6 — History Overview */

.history-overview{
	display:grid;
	grid-template-columns:repeat(4,1fr);
	border:1px solid #353831;
	margin-bottom:16px;
	background:#151814;
}

.history-stat{
	padding:20px;
	border-right:1px solid #353831;
	min-width:0;
}

.history-stat:last-child{
	border-right:0;
}

.history-stat span{
	display:block;
	margin-bottom:10px;
	font:700 10px monospace;
	letter-spacing:1px;
	color:#898d83;
}

.history-stat strong{
	display:block;
	font-size:24px;
	line-height:1.2;
	color:#b1d348;
}

.history-stat small{
	display:block;
	margin-top:7px;
	font-size:12px;
	color:#969a90;
}

@media(max-width:800px){

	.history-overview{
		grid-template-columns:repeat(2,1fr);
	}

	.history-stat:nth-child(2){
		border-right:0;
	}

	.history-stat:nth-child(1),
	.history-stat:nth-child(2){
		border-bottom:1px solid #353831;
	}
}

@media(max-width:480px){

	.history-overview{
		grid-template-columns:1fr;
	}

	.history-stat{
		border-right:0;
		border-bottom:1px solid #353831;
	}

	.history-stat:last-child{
		border-bottom:0;
	}
}