body{
margin:0;
font-family:Arial, sans-serif;
background:#eef2f7;
color:#111827;
}

[hidden]{
display:none!important;
}

header{
background:#004a99;
color:white;
padding:28px 20px;
text-align:center;
}

.company-logo{
display:block;
width:auto;
height:76px;
max-width:220px;
object-fit:contain;
margin:0 auto 16px;
}

header p{
margin:0 0 8px;
font-size:14px;
letter-spacing:.08em;
text-transform:uppercase;
}

header h1{
margin:0;
font-size:32px;
line-height:1.15;
}

.container{
width:min(960px, calc(100% - 32px));
margin:32px auto;
}

.document-card{
display:flex;
flex-direction:column;
gap:10px;
width:min(360px, 100%);
min-height:132px;
box-sizing:border-box;
padding:22px;
background:white;
border-radius:8px;
box-shadow:0 3px 15px rgba(0,0,0,.2);
font-size:16px;
transition:.3s;
}

.document-card:hover{
transform:translateY(-5px);
}

.document-card strong{
font-size:24px;
line-height:1.2;
}

.document-card span:last-child{
color:#004a99;
font-weight:700;
}

.document-type{
width:max-content;
padding:5px 9px;
border-radius:6px;
background:#e8f1ff;
color:#004a99;
font-size:12px;
font-weight:700;
letter-spacing:.08em;
}

a{
text-decoration:none;
color:black;
}

.viewer-page{
background:#20242a;
}

.pdf-viewer{
min-height:100vh;
display:flex;
flex-direction:column;
}

.viewer-toolbar{
display:flex;
justify-content:space-between;
gap:12px;
padding:12px 16px;
background:#111827;
}

.viewer-toolbar a{
color:white;
font-size:14px;
font-weight:700;
}

#pdf-frame{
width:100%;
flex:1;
min-height:0;
border:0;
background:white;
}

.mobile-pdf-panel{
flex:1;
display:grid;
place-items:center;
padding:24px;
}

.mobile-pdf-card{
width:min(100%, 420px);
box-sizing:border-box;
padding:24px;
background:white;
border-radius:8px;
box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.mobile-pdf-card h1{
margin:14px 0 8px;
font-size:30px;
line-height:1.15;
}

.mobile-pdf-card p{
margin:0 0 20px;
color:#4b5563;
line-height:1.5;
}

.primary-action,
.secondary-action{
display:flex;
align-items:center;
justify-content:center;
min-height:48px;
border-radius:8px;
font-weight:700;
}

.primary-action{
background:#004a99;
color:white;
}

.secondary-action{
margin-top:10px;
border:1px solid #cbd5e1;
color:#111827;
}

.pdf-error{
color:white;
padding:24px;
}

@media (max-width: 640px){
header{
padding:22px 16px;
}

.company-logo{
height:58px;
max-width:180px;
margin-bottom:14px;
}

header h1{
font-size:26px;
}

.container{
width:calc(100% - 24px);
margin:20px auto;
}

.document-card{
width:100%;
min-height:120px;
padding:20px;
}

.document-card strong{
font-size:22px;
}

.viewer-toolbar{
padding:12px;
}

.viewer-toolbar a{
font-size:13px;
}

.mobile-pdf-panel{
padding:16px;
}

.mobile-pdf-card{
padding:20px;
}

.mobile-pdf-card h1{
font-size:26px;
}
}
