:root{--navy:#12365b;--blue:#1e6db0;--soft:#f5f9fc;--line:#dce7ee;--muted:#607889;--green:#16a05d;--amber:#d39416;--red:#bf3f3f}
*{box-sizing:border-box}
body{margin:0;background:#edf4f8;color:#16354d;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-weight:520}
.ns-report-tools{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}
.ns-report-tools__inner{max-width:1180px;margin:0 auto;padding:10px 18px;display:flex;align-items:center;gap:16px;justify-content:space-between}
.ns-report-tools strong{font-weight:850;color:var(--navy)}
.ns-report-type-switch{display:flex;gap:6px;flex-wrap:wrap}.ns-report-type-switch a{text-decoration:none;color:#3b6075;font-weight:800;padding:8px 12px;border-radius:999px}.ns-report-type-switch a.active{background:#e7f1f7;color:var(--navy)}
.ns-report-tools button,.report-actions button{border:1px solid #c9dce7;background:#f7fbfd;color:var(--navy);border-radius:12px;padding:10px 14px;font:inherit;font-weight:820;cursor:pointer;box-shadow:0 1px 2px rgba(10,50,80,.04)}
.ns-report-tools button:hover,.report-actions button:hover{background:#eef6fa;border-color:#b7d1df}
.report-sheet{width:min(1180px,calc(100% - 24px));margin:22px auto;background:#fff;border:1px solid #d9e5ed;border-radius:18px;overflow:hidden;box-shadow:0 18px 55px rgba(25,65,90,.09)}
.report-head{display:grid;grid-template-columns:1fr 1.2fr 1fr;align-items:start;gap:20px;padding:24px 28px;border-bottom:1px solid var(--line)}
.brand{display:flex;gap:11px;align-items:center}.brand-shield{width:38px;height:44px;background:linear-gradient(145deg,#2b79bb,#15508c);clip-path:polygon(50% 0,90% 15%,85% 72%,50% 100%,15% 72%,10% 15%);display:grid;place-items:center;color:#fff;font-size:25px;font-weight:950}
.brand-name{font-size:25px;font-weight:900;color:var(--navy)}.brand-name span{color:#d92e45}.report-id{margin-top:5px;font-size:12px;color:var(--muted)}
.report-title{text-align:center}.report-title h1{margin:0;color:#0c2d50;font-size:31px;letter-spacing:.01em;font-weight:930}.report-title p{margin:5px 0 0;font-size:18px;color:#355b73;font-weight:720}
.report-meta{text-align:right;font-size:13px;color:#426277;line-height:1.8}.report-meta strong{font-weight:820}.soft-badge{display:inline-block;padding:4px 9px;border:1px solid #b8dcca;background:#effaf4;color:#19784a;border-radius:999px;font-weight:820}
.report-layout{display:grid;grid-template-columns:220px 1fr;gap:14px;padding:16px}
.report-side{display:flex;flex-direction:column;gap:12px}.side-card,.report-section{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.side-card{padding:16px}.side-card h2{margin:0 0 14px;font-size:13px;color:#153b62;font-weight:900;letter-spacing:.02em}
.side-nav{display:flex;flex-direction:column;gap:9px}.side-nav div{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:760}.side-nav i{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#eaf3f8;color:#175d96;font-style:normal;font-weight:900}
.side-kv{display:flex;flex-direction:column;gap:2px;margin-bottom:12px;font-size:12px}.side-kv span{color:var(--muted)}.side-kv strong{font-size:14px;color:#143c63;font-weight:850}
.risk-card{text-align:center}.risk-ring{width:88px;height:88px;border:8px solid #20a461;border-radius:50%;display:grid;place-items:center;margin:8px auto 12px}.risk-ring span{font-size:19px;color:#12884d;font-weight:930}.risk-card>strong{font-size:12px;display:block}.risk-card p{font-size:11px;line-height:1.45;color:var(--muted)}
.quick-overview{display:flex;flex-direction:column;gap:8px}.quick-item{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}.quick-item strong{font-weight:760}.quick-status{font-size:10px;font-weight:840}.quick-status.ok{color:var(--green)}.quick-status.unavailable{color:var(--amber)}.report-actions p{font-size:10px;color:var(--muted);line-height:1.4}
.report-main{display:flex;flex-direction:column;gap:13px}.section-title{display:flex;align-items:center;gap:9px;padding:12px 14px;background:linear-gradient(#fbfdfe,#f5f9fc);border-bottom:1px solid var(--line);color:#123d65}.section-title span{font-weight:950;color:#1d67a5}.section-title h2{font-size:14px;margin:0;font-weight:930;letter-spacing:.02em}
.hero-grid{display:grid;grid-template-columns:1.05fr 1.18fr .95fr;gap:12px;padding:12px}.info-card,.status-card,.check-card,.assessment-card{border:1px solid var(--line);border-radius:11px;background:#fff;padding:13px}.info-card h3,.status-card h3,.assessment-card h3,.check-card h3{font-size:12px;margin:0 0 11px;color:#173f66;font-weight:930}
.detail-list{display:grid;grid-template-columns:1.2fr 1fr;gap:8px 10px;margin:0;font-size:11px}.detail-list dt{color:#244961;font-weight:730}.detail-list dd{margin:0;color:#102f4c;font-weight:800;text-align:right}
.visual-column{display:flex;flex-direction:column;gap:10px}.subject-image{aspect-ratio:16/10;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:linear-gradient(145deg,#edf3f6,#fafcfd);display:grid;place-items:center}.subject-image img{width:100%;height:100%;object-fit:cover}.image-placeholder{text-align:center;padding:18px;color:#607988;display:flex;flex-direction:column;gap:5px;align-items:center}.image-placeholder__icon{font-size:42px;color:#9bb2c1}.image-placeholder strong{font-size:14px;color:#274d65}.image-placeholder span{font-size:10px;max-width:220px;line-height:1.4}
.assessment-card{display:flex;gap:10px;background:#f7fbfd}.assessment-icon{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e8f8ef;color:#11944f;font-weight:950}.assessment-card p{font-size:10px;color:#536f80;line-height:1.45;margin:0}
.status-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #edf2f5;font-size:11px}.status-row:last-child{border-bottom:0}.status-row strong{font-weight:790}.status-value{font-size:10px;font-weight:850}.status-value.ok{color:var(--green)}.status-value.unavailable{color:var(--amber)}.status-value.info{color:#456a80}
.check-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:12px}.check-card{min-height:112px}.check-card p{font-size:10px;line-height:1.5;color:#526e7e;margin:7px 0}.check-card .good{color:var(--green);font-weight:850}.check-card .warn{color:var(--amber);font-weight:850}
.source-table-wrap{padding:12px 12px 0;overflow:auto}.source-table{width:100%;border-collapse:collapse;font-size:10px}.source-table th{background:#f3f7fa;color:#173f62;text-align:left;font-weight:900;padding:7px;border:1px solid var(--line)}.source-table td{padding:7px;border:1px solid var(--line);vertical-align:top}.source-state{font-weight:850}.source-state.ok{color:var(--green)}.source-state.unavailable{color:var(--amber)}.source-state.info{color:#647b89}.source-legend{display:flex;gap:18px;flex-wrap:wrap;padding:10px 13px 13px;font-size:9px;color:#567180}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px}.dot.ok{background:var(--green)}.dot.neutral{border:1px solid #91a7b4}.dot.unavailable{background:#e4a51f}
.bottom-grid{display:grid;grid-template-columns:1fr 1.05fr 1.12fr;gap:12px}.compact-content{padding:13px;font-size:10px;line-height:1.55}.compact-content dl{display:grid;grid-template-columns:1fr 1.2fr;gap:7px 10px;margin:0}.compact-content dt{font-weight:750}.compact-content dd{margin:0;font-weight:800}.note-list{padding:12px 16px 14px 28px;margin:0;font-size:10px;line-height:1.55;color:#526e7e}.note-list li{margin-bottom:7px}.recommendation-body{padding:16px;text-align:center}.big-check{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#27b76a,#0e8a4c);color:#fff;font-size:38px;font-weight:950;margin:0 auto 10px}.recommendation-body strong{font-size:12px;color:#153d62}.recommendation-body p{font-size:10px;color:var(--muted);line-height:1.5}
.report-footer{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:20px;align-items:center;background:#082f57;color:#fff;padding:18px 28px;font-size:11px}.report-footer>div:first-child{display:flex;flex-direction:column}.report-footer strong{font-size:17px;font-weight:900}.report-footer span{opacity:.72}.report-footer>div:nth-child(2){text-align:center;opacity:.85}.report-footer>div:last-child{text-align:right;font-weight:800}
@media(max-width:980px){.report-layout{grid-template-columns:1fr}.report-side{display:grid;grid-template-columns:repeat(2,1fr)}.hero-grid{grid-template-columns:1fr 1fr}.status-card{grid-column:1/-1}.check-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.ns-report-tools__inner{align-items:flex-start;flex-direction:column}.report-sheet{width:100%;margin:0;border-radius:0}.report-head{grid-template-columns:1fr}.report-title{text-align:left}.report-meta{text-align:left}.report-side{grid-template-columns:1fr}.hero-grid,.bottom-grid{grid-template-columns:1fr}.check-grid{grid-template-columns:1fr}.report-footer{grid-template-columns:1fr}.report-footer>div:nth-child(2),.report-footer>div:last-child{text-align:left}}
@media print{
  @page{size:A4 portrait;margin:5mm}
  body{background:#fff}
  .ns-report-tools{display:none!important}
  .report-sheet{width:200mm;max-width:none;margin:0;border:0;border-radius:0;box-shadow:none}
  .report-head{padding:5mm 5mm 3mm;grid-template-columns:1fr 1.2fr 1fr}
  .report-layout{grid-template-columns:38mm 1fr;gap:2.5mm;padding:2.5mm}
  .report-side{gap:2mm}.side-card{padding:2.5mm}.report-main{gap:2mm}
  .hero-grid{gap:2mm;padding:2mm}.check-grid{gap:2mm;padding:2mm}.bottom-grid{gap:2mm}
  .report-footer{padding:4mm 5mm}
  .report-section,.side-card,.check-card,.info-card,.status-card,.assessment-card{break-inside:avoid}
  *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
