/* Keep the previous screenshot-matched layout; add read-only backend states. */
body .optional-help { color:#667; font:13px Arial,sans-serif; margin:7px 0 0; }
body .lookup-error { padding:9px 12px; color:#8b2121; background:#fff4f2; border:1px solid #e6a09b; font:14px Arial,sans-serif; margin-top:8px; }
body .prototype-stamp { position:fixed; top:0; right:0; z-index:9; color:#f5f7fc; background:#a34228; padding:5px 9px; margin:0; font:10px Arial,sans-serif; letter-spacing:.4px; }
body.has-record .main { padding-top:30px; }
body.has-record .notice { position:relative; top:auto; text-align:center; margin:25px auto 28px; width:100%; }
.verified-document { max-width:960px; width:calc(100% - 50px); margin:0 auto; }
.record-toolbar { display:flex; align-items:center; justify-content:space-between; gap:18px; border:1px solid #e3e7ef; border-bottom:0; background:#f7f9fc; padding:10px 12px; color:#26384c; font:14px Arial,sans-serif; }
.record-toolbar a { flex:none; color:#2764a1; font-weight:bold; }
.degree-image { width:100%; display:block; height:auto; border:1px solid #dfdfdf; object-fit:contain; }
.degree-pdf { border:1px solid #d5d5d5; width:100%; height:740px; background:white; display:block; }
.record-caption { font:12px Arial,sans-serif; color:#667; text-align:center; margin-top:12px; }
@media (max-width:850px) { .degree-pdf { height:850px; } }
@media print { .prototype-stamp { display:none; } }

body .prototype-stamp{display:none!important}
body.has-record .main {margin-left: 170px;}
body .verified-document{max-width:1000px}
@media screen and (max-width:900px){body.has-record .main{margin-left:170px}}
