.shield-shell{max-width:1050px;margin:auto;padding:38px 22px 75px}.shield-shell h1{font-size:clamp(34px,4.5vw,58px);margin:10px 0;color:#142f43}.shield-shell h1 small{font-size:.4em;color:#9c7731}.shield-shell>p{color:#536d7e;line-height:1.65}.shield-tag{font-size:11px;color:#e8cf8c;font-weight:800}.shield-alert{background:#fff3d6;border:1px solid #dbc37c;border-radius:12px;margin:22px 0;padding:18px;color:#685524}.shield-panel{border:1px solid #dce6eb;border-radius:16px;background:white;margin:23px 0;padding:25px}.shield-panel h2{margin:0 0 15px;font-size:23px;color:#152f45}.shield-panel p{font-size:13px;color:#607889;line-height:1.6}.shield-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0}.shield-grid label,.shield-file{display:flex;flex-direction:column;gap:8px;font-weight:700;color:#23455b;font-size:13px}.shield-grid input,.shield-grid select,.shield-scroll input{border:1px solid #b9cbd6;background:#fcfefe;border-radius:9px;padding:10px;min-height:43px;min-width:0;width:100%;font:inherit}.shield-file{align-items:center;text-align:center;min-height:200px;border:2px dashed #bacccf;background:#f8fbfa;border-radius:12px;padding:18px}.shield-file input{font-size:12px}.shield-file button{border:1px solid #aec8cc;border-radius:8px;background:white;padding:9px;color:#234e61}.shield-file small{font-size:12px;font-weight:400}.shield-file img{max-height:190px;max-width:100%;object-fit:contain}.shield-panel .lab-btn-primary{border:0}.shield-scroll{overflow-x:auto;margin:15px 0}.shield-scroll table,.shield-panel table{border-collapse:collapse;width:100%;min-width:590px}.shield-scroll th,.shield-panel th{background:#f2f6f7;font-size:12px;text-align:left;padding:9px}.shield-scroll td,.shield-panel td{border-bottom:1px solid #e1ebee;padding:8px;font-size:13px}.shield-scroll input{font-size:13px}.shield-panel[hidden],.shield-grid label[hidden]{display:none}#status,#confirm-status{margin:14px 0;color:#855b26;font-size:13px;line-height:1.6}@media(max-width:720px){.shield-grid{grid-template-columns:1fr}.shield-shell{padding:22px 14px 55px}.shield-panel{padding:18px}}
.shield-secondary-btn{display:inline-block;border:1px solid #b9cbd6;border-radius:9px;padding:12px 16px;min-height:44px;background:#fff;color:#173950;font:inherit;font-size:14px;font-weight:700;cursor:pointer;margin:8px 8px 8px 0}.shield-secondary-btn:focus-visible,.shield-login-link:focus-visible{outline:3px solid #a37b28;outline-offset:3px}.shield-login-link{display:inline-block;color:#234e61;text-decoration:underline;font-size:13px;font-weight:700;padding:10px 0}

.shield-review-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:18px 0}
.shield-review-overview>div{background:#f2f6f7;border:1px solid #dce6eb;border-radius:11px;padding:13px;display:flex;flex-direction:column;gap:6px}
.shield-review-overview span{color:#607889;font-size:12px;font-weight:650}
.shield-review-overview strong{color:#142f43;font-size:16px;overflow-wrap:anywhere}
.shield-review-ready{grid-column:1/-1;background:#f0f8f5;border:1px solid #a7cec0;border-radius:10px;padding:14px;color:#1c5945!important}
.shield-review-gate{border:1px solid #e2b880;background:#fff8ec;border-radius:11px;padding:16px;margin:14px 0;color:#784521}
.shield-review-gate strong,.shield-review-gate p{color:#784521}
.shield-review-gate ul{padding-left:22px;margin-bottom:0;font-size:14px;line-height:1.6}
.shield-review-details{margin:18px 0;padding:13px;border:1px solid #dce6eb;border-radius:10px}
.shield-review-details>summary{cursor:pointer;font-weight:700;color:#24495e;padding:6px}
.shield-review-details[open]>summary{margin-bottom:12px}
#confirm[hidden],#review-gate[hidden]{display:none}

/* Keep the explicit standard-contract consent independent of the confirm action. */
.shield-assumption{display:flex;align-items:flex-start;gap:12px;max-width:100%;line-height:1.6;margin:18px 0 14px;color:#173950;overflow-wrap:anywhere}
.shield-assumption input{flex:0 0 auto;margin-top:5px;accent-color:#a37b28}
#confirm{display:block;max-width:100%;white-space:normal;margin-top:12px}
#output .shield-scroll{max-width:100%;overflow-x:auto}
#output .shield-scroll td{min-width:110px;overflow-wrap:anywhere;line-height:1.5}
#output .shield-scroll td:last-child{min-width:230px}

/* Local export: no remote conversion or permanent links. */
#result .shield-report-meta{font-size:13px;font-weight:650;color:#385469;margin:10px 0 20px}
#result .shield-report-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px;padding-top:16px;border-top:1px solid #dce6eb}
#result .shield-report-actions button{margin:0}
#result #report-export-status{min-height:1.5em;color:#285d4c}
@page{size:A4 landscape;margin:12mm}
@media print{
 html,body{background:white!important;color:#172c3a!important}
 .lab-header,.lab-footer,.shield-shell > :not(#result),#result .shield-report-actions,#report-export-status{display:none!important}
 .shield-shell{max-width:none!important;width:100%!important;padding:0!important;margin:0!important}
 #result{display:block!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important}
 #result h2{font-size:18pt!important;margin:0 0 9pt!important}
 #result h3{font-size:13pt!important;margin:14pt 0 6pt!important;break-after:avoid;page-break-after:avoid}
 #result p{color:#233d4d!important;font-size:10pt!important}
 #result .shield-scroll{overflow:visible!important;max-width:none!important;width:100%!important}
 #result table{width:100%!important;min-width:0!important;table-layout:fixed;border-collapse:collapse}
 #result th,#result td{font-size:8.5pt!important;padding:5pt!important;min-width:0!important;overflow-wrap:anywhere!important;vertical-align:top}
 #result tr{break-inside:avoid;page-break-inside:avoid}
 #result .shield-report-meta{font-size:10pt!important}
}

/* Valorizza Global official gold emblem, with Word-friendly live typography.
   The branded cover is export-only and does not change the tool's on-screen UX. */
#result .shield-export-brand,#result .shield-export-title,
#result .shield-export-details,#result .shield-export-footer{display:none}
@media print{
 #result{display:flex!important;flex-direction:column!important}
 #report-brand{display:flex!important;order:0;align-items:center;gap:16pt;
  padding-bottom:11pt;margin-bottom:15pt;border-bottom:1.5pt solid #ae852b;break-inside:avoid}
 #report-brand-logo{width:75pt;height:75pt;object-fit:contain;flex:none}
 #report-brand .shield-brand-wordmark{display:flex;flex-direction:column;gap:3pt}
 #report-brand .shield-brand-wordmark strong{font-size:23pt;letter-spacing:3pt;
  font-weight:500;color:#071b36;line-height:1}
 #report-brand .shield-brand-wordmark span{font-size:16pt;letter-spacing:7pt;
  font-weight:600;color:#ad822a;line-height:1.1}
 #report-brand .shield-brand-wordmark small{font-size:8pt;letter-spacing:.8pt;
  color:#071b36;line-height:1.35}
 #report-cover-title{display:block!important;order:1;break-inside:avoid;margin:0 0 12pt}
 #report-cover-title strong{font-size:24pt;color:#071b36;line-height:1.2}
 #report-cover-title p{font-size:15pt!important;color:#071b36!important;margin:4pt 0 0}
 #result-heading,#result-meta{display:none!important}
 #report-export-details{display:grid!important;order:2;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8pt;margin:0 0 12pt;break-inside:avoid}
 #report-export-details>div{border:1pt solid #c9a04c;border-radius:7pt;
  padding:8pt 9pt;display:flex;flex-direction:column;gap:6pt;min-width:0}
 #report-export-details span{font-size:8pt;letter-spacing:1pt;font-weight:bold;color:#071b36}
 #report-export-details strong{font-size:9pt;line-height:1.4;color:#071b36;overflow-wrap:anywhere}
 #result-description{order:3}
 #output{order:4}
 #report-export-footer{display:flex!important;order:5;align-items:center;justify-content:space-between;
  border-top:1pt solid #ae852b;margin-top:15pt;padding-top:7pt;
  font-size:9pt;color:#071b36;break-inside:avoid}
 #report-export-footer span:last-child{font-style:italic}
 #result .shield-report-actions{order:6}
 #report-export-status{order:7}
}

/* Preview-only Netlify Drawer must not appear in a printed investment report. */
@media print{
 iframe[src^="https://app.netlify.com"]{display:none!important}
 body>div:has(iframe[src^="https://app.netlify.com"]){display:none!important}
 #output table thead{display:table-header-group!important}
 #output table tbody{display:table-row-group!important}
}
