:root { color-scheme: light; font-family: "Segoe UI", system-ui, sans-serif; color: #18374c; background: #edf1f4; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; padding: 42px 20px; display: grid; place-items: center; background: linear-gradient(110deg, rgba(9,32,50,.76), rgba(9,32,50,.35)), url('js/backstrech/img/italpasta2.jpg') center / cover fixed; }
.portal-card { width: min(100%, 500px); padding: 36px; border-radius: 16px; background: #fff; box-shadow: 0 24px 80px #09203255; }
.welcome { width: min(100%, 680px); }
header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.brand { width: 126px; height: 68px; object-fit: contain; }
.badge { border: 1px solid #dbe3ea; border-radius: 30px; padding: 6px 12px; font-size: 12px; white-space: nowrap; color: #587082; }
.eyebrow { color: #9c6828; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
h1 { font-size: 30px; line-height: 1.15; margin: 12px 0; }
h2 { font-size: 20px; margin-top: 24px; }
p { font-size: 15px; line-height: 1.6; }
label { display: block; margin: 18px 0 7px; font-size: 14px; font-weight: 600; }
input, select { width: 100%; padding: 12px; border: 1px solid #b9c8d3; border-radius: 7px; background: white; color: #18374c; font: inherit; }
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #d9b66a; outline-offset: 3px; }
button, .button { display: inline-block; width: 100%; padding: 13px 16px; margin-top: 18px; border: 1px solid #183e59; border-radius: 7px; background: #183e59; color: white; font: inherit; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; }
button:hover, .button:hover { background: #245470; }
.secondary { background: white; color: #183e59; border-color: #bccbd6; }
.secondary:hover { background: #f0f4f7; }
button:disabled { opacity: .6; cursor: wait; }
#status { padding: 12px 14px; background: #f0f4f7; border-radius: 7px; white-space: pre-line; }
#qr { margin: 22px 0; } #qr img, #qr canvas { max-width: 100%; height: auto; }
#secret, code { overflow-wrap: anywhere; }
summary { cursor: pointer; font-size: 14px; }
.notice { background: #edf7f1; border-left: 4px solid #38815b; padding: 18px; margin: 24px 0; }
.notice p { margin-bottom: 0; }
.footnote { font-size: 12px; color: #687e8e; margin-top: 26px; }
.account-link { text-align: center; font-size: 14px; }
a { color: #183e59; text-underline-offset: 3px; }
.password-policy { font-size: 13px; color: #587082; }
.table-scroll { overflow-x: auto; }
.agents-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.agents-table th, .agents-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid #dbe3ea; }
.agents-table th { background: #f0f4f7; }
[hidden] { display: none !important; }
@media (max-width: 480px) { body { padding: 18px 12px; } .portal-card { padding: 24px; } h1 { font-size: 26px; } }
