/* Licence Console. No scripts, no inline styles (the content security policy forbids both). */
:root { --ink:#1d2433; --muted:#5b6478; --line:#dfe3ea; --bg:#f6f7f9; --card:#fff; --brand:#1f4e79; --brand-soft:#e8f0f8; --navy:#062a4f;
        --ok:#1e7b4f; --ok-soft:#e6f4ec; --bad:#b42318; --bad-soft:#fdecea; --warn:#8a5a00; --warn-soft:#fff4dc; }
* { box-sizing:border-box; }
body { margin:0; font:15px/1.5 "Segoe UI", system-ui, -apple-system, Arial, sans-serif; color:var(--ink); background:var(--bg); }
a { color:var(--brand); }
header.top { background:var(--navy); color:#fff; padding:8px 24px; display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
header.top a.brand { display:flex; align-items:center; gap:10px; color:#fff; text-decoration:none; }
header.top img.mark { height:36px; width:auto; display:block; }
header.top .name { font-weight:600; font-size:16px; line-height:1.15; } header.top .tagline { display:block; font-weight:400; font-size:12px; opacity:.8; }
header.top nav a { color:#fff; text-decoration:none; margin-right:13px; opacity:.9; font-size:14px; }
header.top nav a:hover { opacity:1; text-decoration:underline; }
header.top .right { margin-left:auto; display:flex; gap:12px; align-items:center; }
header.top .right a { color:#fff; opacity:.85; }
header.top form { display:inline; margin:0; }
header.top button.link { background:none; border:none; color:#fff; text-decoration:underline; cursor:pointer; padding:0; margin:0; font-size:14px; }
main { max-width:1200px; margin:0 auto; padding:24px; }
h1 { font-size:24px; margin:0 0 4px; } h2 { font-size:18px; margin:28px 0 10px; } h3 { font-size:15px; margin:16px 0 8px; }
.sub { color:var(--muted); margin:0 0 18px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:8px; padding:16px 18px; margin-bottom:16px; }
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:12px; margin-bottom:8px; }
.tile { background:var(--card); border:1px solid var(--line); border-radius:8px; padding:12px 14px; }
.tile .label { color:var(--muted); font-size:13px; } .tile .value { font-size:22px; font-weight:600; margin-top:2px; }
.tile.bad { border-color:var(--bad); background:var(--bad-soft); } .tile.warn { border-color:#e9c46a; background:var(--warn-soft); }
table { width:100%; border-collapse:collapse; background:var(--card); }
th, td { text-align:left; padding:7px 9px; border-bottom:1px solid var(--line); vertical-align:top; }
th { font-size:13px; color:var(--muted); font-weight:600; background:#fafbfc; }
td.num, th.num { text-align:right; white-space:nowrap; }
.small { font-size:13px; color:var(--muted); } .muted { color:var(--muted); } .nowrap { white-space:nowrap; }
.pill { display:inline-block; padding:1px 8px; border-radius:10px; font-size:12px; font-weight:600; background:#eef0f4; color:var(--muted); white-space:nowrap; }
.pill.active, .pill.paid, .pill.yes { background:var(--ok-soft); color:var(--ok); }
.pill.ending, .pill.grace, .pill.due, .pill.evaluation { background:var(--warn-soft); color:var(--warn); }
.pill.expired, .pill.suspended, .pill.cancelled, .pill.overdue, .pill.unlicensed, .pill.no { background:var(--bad-soft); color:var(--bad); }
.flash { padding:10px 14px; border-radius:6px; margin-bottom:16px; }
.flash.ok { background:var(--ok-soft); color:var(--ok); } .flash.error { background:var(--bad-soft); color:var(--bad); }
.note { background:var(--warn-soft); color:#5c3d00; border-radius:6px; padding:10px 14px; margin:10px 0; }
.note.info { background:var(--brand-soft); color:#173a5c; }
label { display:block; font-size:13px; color:var(--muted); margin:8px 0 3px; }
label.inline { display:inline-block; margin:4px 16px 0 0; color:var(--ink); font-size:14px; }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=number], select, textarea {
  width:100%; padding:7px 9px; border:1px solid #c9ced8; border-radius:5px; font:inherit; background:#fff; }
textarea { min-height:60px; }
.row { display:flex; gap:12px; flex-wrap:wrap; } .row > div { flex:1 1 160px; }
button, .button { background:var(--brand); color:#fff; border:none; border-radius:5px; padding:8px 14px; font:inherit; cursor:pointer;
  text-decoration:none; display:inline-block; margin-top:10px; }
button.secondary, .button.secondary { background:#fff; color:var(--brand); border:1px solid var(--brand); }
button.danger { background:var(--bad); }
form.inline { display:inline; }
.columns { display:grid; grid-template-columns:1fr 1fr; gap:16px; } @media (max-width:900px) { .columns { grid-template-columns:1fr; } }
pre.key, code { font-family:ui-monospace, Menlo, Consolas, monospace; font-size:13px; word-break:break-all; }
pre.key { background:#f0f2f6; padding:12px; border-radius:6px; white-space:pre-wrap; }
ul.attention { margin:0; padding-left:20px; } ul.attention li { margin:4px 0; }
img.login-mark { height:72px; width:auto; display:block; margin:0 0 14px; }
details summary { cursor:pointer; color:var(--brand); }
footer { color:var(--muted); font-size:12px; text-align:center; padding:24px; }
@media print { header.top, footer, .noprint { display:none !important; } body { background:#fff; } main { padding:0; max-width:none; } }

/* 1.5: shown inside the supplier's website, the customer portal and the enquiry form */
body.framed footer { display: none; }
body.framed main { padding-top: 16px; }
.count { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: #E8A33D; color: #1B2533; font-size: 11px; font-weight: 700; text-align: center; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.checks { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 4px 0 12px; }
.checks label.inline { font-weight: 400; }
.link-box { word-break: break-all; background: #EEF2F7; padding: 10px 12px; border-radius: 6px; font-family: monospace; font-size: 13px; }
.request-reply { margin: 6px 0 0; color: #51627A; }
