:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1e293b;background:#f8fafc}*{box-sizing:border-box}body{margin:0}header{display:flex;justify-content:space-between;align-items:center;padding:16px 28px;background:#0f172a;color:#fff}header nav{display:flex;gap:18px}header a{color:#cbd5e1;text-decoration:none}.ver{margin-left:10px;font-size:12px;opacity:.7}.wrap{max-width:1200px;margin:36px auto;padding:0 20px}.hero{margin-bottom:24px}.hero h1{font-size:36px;margin:0 0 10px}.card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:22px;box-shadow:0 6px 20px rgba(15,23,42,.05)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:16px}.grid.four{grid-template-columns:repeat(4,1fr)}.score{font-size:42px;font-weight:700}.row{display:flex;gap:10px}input[type=url]{flex:1;padding:13px;border:1px solid #cbd5e1;border-radius:10px}button,.button{display:inline-block;background:#2563eb;color:#fff;border:0;padding:12px 18px;border-radius:10px;text-decoration:none;cursor:pointer}input[type=file]{margin:12px 12px 12px 0}.notice{background:#eff6ff;border-left:4px solid #2563eb;padding:12px}.notice.warn{background:#fff7ed;border-color:#f97316}.muted,small{color:#64748b}.mt{margin-top:16px}.progress{height:14px;background:#e2e8f0;border-radius:999px;overflow:hidden}.progress>div{height:100%;width:0;background:#2563eb;transition:width .2s}.stats{display:flex;gap:28px;margin:16px 0}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}th,td{padding:12px 10px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:top}th{background:#f8fafc}.urlcell{max-width:420px;word-break:break-all}.badge{display:inline-block;padding:4px 7px;border-radius:7px;font-size:11px;font-weight:700}.badge.critical{background:#fee2e2;color:#991b1b}.badge.warning{background:#ffedd5;color:#9a3412}.badge.improvement{background:#fef9c3;color:#854d0e}.badge.ok{background:#dcfce7;color:#166534}@media(max-width:900px){.grid.four{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){header{align-items:flex-start;gap:12px;flex-direction:column}.grid,.grid.four{grid-template-columns:1fr}.row{flex-direction:column}.stats{flex-wrap:wrap;gap:12px}}
.basic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.basic-item{border:1px solid #e2e8f0;border-radius:12px;padding:14px}.basic-item .label{font-size:12px;color:#64748b;margin-bottom:6px}.basic-item .value{font-weight:600;word-break:break-word}.status-ok{color:#166534}.status-warning{color:#9a3412}.status-critical{color:#991b1b}.status-info{color:#1d4ed8}.section-nav{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.section-nav a{background:#fff;border:1px solid #cbd5e1;border-radius:999px;padding:7px 11px;text-decoration:none;color:#334155;font-size:13px}.schema-tags{display:flex;gap:6px;flex-wrap:wrap}.schema-tag{display:inline-block;background:#eef2ff;color:#3730a3;border-radius:999px;padding:4px 8px;font-size:12px}@media(max-width:760px){.basic-grid{grid-template-columns:1fr}}


/* v0.1.7 report layout stabilization */
html{overflow-y:scroll}body{min-width:0;overflow-x:hidden}.wrap{width:100%;min-width:0}.hero,.card,.report-section{min-width:0}.score-grid>.card{min-width:0}.score-grid .score{line-height:1.05;font-variant-numeric:tabular-nums}.section-nav{position:relative;z-index:1}.report-section h2{margin:0 0 8px;line-height:1.35}.report-section>.muted{margin-top:0}.tablewrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #e2e8f0;border-radius:12px}.tablewrap table{margin:0}.report-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:auto}.report-table th,.report-table td{overflow-wrap:anywhere;word-break:normal}.report-table thead th{position:sticky;top:0;z-index:1;white-space:nowrap}.report-table tr:last-child td{border-bottom:0}.basic-table th:nth-child(1){width:180px}.basic-table th:nth-child(2){width:90px}.basic-table th:nth-child(4){width:260px}.issues-table th:nth-child(1){width:95px}.issues-table th:nth-child(2){width:80px}.issues-table th:nth-child(4){width:320px}.urls-table{min-width:1180px}.urls-table th:nth-child(1){width:76px}.urls-table th:nth-child(2){min-width:220px}.urls-table th:nth-child(3){min-width:280px}.urls-table th:nth-child(4){min-width:180px}.urls-table th:nth-child(5){width:90px}.urls-table th:nth-child(6){min-width:220px}.urls-table th:nth-child(7){min-width:160px}.urls-table th:nth-child(8){width:80px}.urls-table th:nth-child(9){min-width:300px}.urls-table td:nth-child(2),.urls-table td:nth-child(3),.urls-table td:nth-child(4){line-height:1.55}.urlcell{max-width:none;overflow-wrap:anywhere;word-break:break-word}.basic-grid{align-items:stretch}.basic-item{min-width:0;height:100%}
@media(max-width:900px){.wrap{margin:24px auto;padding:0 16px}.hero h1{font-size:30px}.score-grid .card{padding:18px}.score-grid .score{font-size:36px}}
@media(max-width:760px){header{padding:14px 16px}header nav{width:100%;gap:12px;overflow-x:auto;padding-bottom:2px}header nav a{white-space:nowrap}.wrap{margin:20px auto;padding:0 12px}.card{padding:16px;border-radius:12px}.hero h1{font-size:28px}.section-nav{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.section-nav a{white-space:nowrap}.score-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.score-grid .score{font-size:34px}.basic-table,.issues-table{min-width:720px}.report-table th,.report-table td{padding:10px 9px;font-size:13px}}
@media(max-width:420px){.score-grid{grid-template-columns:1fr 1fr!important;gap:10px}.score-grid .card{padding:14px}.score-grid .score{font-size:30px}}


/* v0.1.8 shared application header */
.app-header{gap:24px;min-height:64px}.app-brand-wrap{display:flex;align-items:center;min-width:max-content}.app-brand{font-size:17px;font-weight:800;letter-spacing:.01em;color:#fff;text-decoration:none;white-space:nowrap}.app-brand:hover{color:#fff;opacity:.86}.app-nav{align-items:center;flex-wrap:wrap;justify-content:flex-end}.app-nav a{padding:7px 2px;border-bottom:2px solid transparent}.app-nav a:hover{color:#fff}.app-nav a.active{color:#fff;border-bottom-color:#60a5fa;font-weight:700}.app-nav .logout-link{margin-left:4px}.auth-brand-link{display:inline-block;text-decoration:none;color:#0f172a}.auth-brand-link:hover{opacity:.75}
@media(max-width:980px){.app-header{align-items:flex-start;flex-direction:column}.app-nav{width:100%;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;gap:16px;padding-bottom:3px}.app-nav a{white-space:nowrap}}

/* v0.1.9 dashboard */
.dashboard-wrap{padding-bottom:48px}.dashboard-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.button-secondary{background:#fff;color:#2563eb;border:1px solid #bfdbfe}.button-secondary:hover{background:#eff6ff}.dashboard-scan-card{margin-bottom:28px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.section-heading h2{margin:2px 0 0;font-size:22px}.section-heading.compact{margin-bottom:12px}.section-heading.compact h2{font-size:19px}.section-heading a,.latest-site-line a{color:#2563eb;text-decoration:none;font-size:13px;font-weight:700}.eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:.12em;color:#64748b}.dashboard-section{margin-top:28px}.latest-site-line{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.latest-site-line strong{display:block;font-size:18px}.latest-url{display:block;margin-top:2px;font-size:12px;overflow-wrap:anywhere}.dashboard-score-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric-card{padding:18px}.metric-label{font-size:12px;font-weight:700;color:#64748b}.metric-value{font-size:38px;line-height:1.1;font-weight:800;margin:8px 0 7px;font-variant-numeric:tabular-nums}.metric-foot{min-height:18px;font-size:12px}.delta{font-weight:700}.delta.up{color:#15803d}.delta.down{color:#b91c1c}.delta.neutral{color:#64748b}.dashboard-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.stat-card{padding:18px}.stat-card strong{display:block;font-size:30px;line-height:1.15;margin:7px 0;font-variant-numeric:tabular-nums}.stat-label{font-size:12px;font-weight:700;color:#64748b}.stat-card small{display:block;line-height:1.45}.issue-dot{display:inline-block;width:7px;height:7px;border-radius:999px;margin-right:4px;vertical-align:1px}.issue-dot.critical{background:#ef4444}.issue-dot.warning{background:#f97316}.issue-dot.improvement{background:#eab308}.dashboard-two-col{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:16px;margin-top:28px}.dashboard-panel{min-width:0}.recent-list{margin:0 -8px -4px}.recent-row{display:grid;grid-template-columns:minmax(0,1fr) auto 14px;align-items:center;gap:14px;padding:13px 8px;border-top:1px solid #e2e8f0;color:#1e293b;text-decoration:none}.recent-row:first-child{border-top:0}.recent-row:hover{background:#f8fafc;border-radius:10px}.recent-main{min-width:0}.recent-main strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-main span{display:block;font-size:11px;color:#64748b;margin-top:3px}.recent-scores{display:flex;align-items:center;gap:12px;font-size:11px;color:#64748b;white-space:nowrap}.recent-scores b{font-size:16px;color:#0f172a}.recent-arrow{font-size:22px;color:#94a3b8}.issue-list{margin-top:2px}.issue-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 0;border-top:1px solid #e2e8f0}.issue-row:first-child{border-top:0}.issue-name{font-size:13px;line-height:1.45}.issue-row strong{font-size:13px;white-space:nowrap}.issue-summary-line{display:flex;gap:12px;flex-wrap:wrap;border-top:1px solid #e2e8f0;margin-top:8px;padding-top:13px;font-size:11px;color:#64748b}.empty-state{padding:24px;text-align:center;color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px}
@media(max-width:980px){.dashboard-score-grid,.dashboard-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-two-col{grid-template-columns:1fr}}
@media(max-width:620px){.dashboard-hero{align-items:flex-start;flex-direction:column}.dashboard-hero .button{width:100%;text-align:center}.latest-site-line{align-items:flex-start;flex-direction:column}.dashboard-score-grid,.dashboard-stat-grid{grid-template-columns:1fr 1fr;gap:10px}.metric-card,.stat-card{padding:14px}.metric-value{font-size:32px}.recent-row{grid-template-columns:minmax(0,1fr) 12px}.recent-scores{grid-column:1/-1;grid-row:2;justify-content:flex-start;gap:10px}.recent-arrow{grid-column:2;grid-row:1}.section-heading{align-items:flex-start}}
@media(max-width:390px){.dashboard-score-grid,.dashboard-stat-grid{grid-template-columns:1fr}.recent-scores{white-space:normal;flex-wrap:wrap}}
