.login-overline{font-size:17px;letter-spacing:.09em}
.contract-number-note{margin:0;padding:12px 14px;border:1px solid var(--line);border-radius:9px;background:#f4f8fc;color:#254e75}
.file-tile{display:flex;align-items:center;gap:10px;max-width:100%;padding:10px;border:1px solid #dce7f0;border-radius:10px;background:#f8fbff;color:#235583;cursor:pointer;text-align:left;overflow-wrap:anywhere;font:inherit}
.file-tile img,.file-type{width:54px;height:60px;object-fit:cover;flex-shrink:0;border-radius:6px}
.file-type{display:grid;place-items:center;background:#e7effa;font-size:14px;font-weight:700}
.file-tile small{display:block;margin-top:5px;color:#526b85;font-size:12px}
.file-preview{display:grid;place-items:center;background:#edf2f7;border-radius:10px;min-height:280px;padding:12px}
.file-preview img{max-width:100%;max-height:65vh;object-fit:contain}
.file-preview iframe{width:100%;height:60vh;min-height:300px;border:0;background:white}
.activity p{overflow-wrap:anywhere;white-space:pre-wrap}
.history-action{font-weight:650;color:#254b70}
.history-fields{margin:12px 0 0;display:grid;gap:9px}.history-field{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;line-height:1.6}.history-field dt,.history-label{color:#526b85;font-size:14px}.history-field dd{margin:0;color:#203c5e;white-space:pre-wrap;overflow-wrap:anywhere}
.history-changes{margin-top:12px;display:grid;gap:12px}.history-change{padding-top:10px;border-top:1px solid #dce7f0}.history-change-values{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:12px;margin-top:6px;line-height:1.6}.history-before,.history-after{white-space:pre-wrap;overflow-wrap:anywhere;font-weight:400}.history-before{color:#526b85}.history-after{color:#203c5e}.history-arrow{color:#6683a0}.history-missing{font-size:14px;color:#526b85}
@media(max-width:600px){.history-field{grid-template-columns:1fr;gap:2px}.history-change-values{grid-template-columns:1fr;gap:4px}.history-arrow{transform:rotate(90deg);width:18px;text-align:center}}
.import-intro{margin-bottom:18px}.import-intro p,.import-summary p{font-size:15px;color:#526b85;line-height:1.6}
.platform-shell{display:block;min-height:100vh}.platform-main{max-width:1200px;margin:auto;padding:32px 40px}
.platform-header,.platform-user{display:flex;align-items:center;justify-content:space-between;gap:16px}.platform-header .brand{margin:0;padding:0;border:0;color:#203c5e}.platform-header .brand-logo-frame{background:#173750}
.platform-user{font-size:14px;color:#526b85}.platform-welcome{margin:64px 0 28px}.platform-welcome h1{font-size:34px;margin:14px 0;color:#203c5e}
.module-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.module-tile{padding:32px;border:1px solid #dce7f0;border-radius:18px;background:white;box-shadow:0 14px 40px #204a7e08}.module-mark{display:inline-block;padding:10px 14px;border-radius:10px;color:#235889;background:#e9f2fa;font-weight:700}.module-tile h2{font-size:26px;margin:22px 0 12px}.module-tile p{color:#526b85;line-height:1.6;margin:0 0 26px}.module-tile .module-note{font-size:14px;margin:20px 0 0}
@media(max-width:700px){.platform-main{padding:20px}.platform-header{align-items:flex-start;flex-direction:column}.platform-user{width:100%;flex-wrap:wrap}.platform-welcome{margin-top:36px}.platform-welcome h1{font-size:28px}.module-grid{grid-template-columns:1fr;gap:16px}.module-tile{padding:24px}.import-summary{overflow-wrap:anywhere}}
@media(max-width:900px){.login-brand .brand-logo-frame{width:154px;height:62px}.login-brand img{width:134px;max-height:48px}.login-overline{font-size:15px}.login-brand-foot{display:block;margin-top:18px;font-size:13px}}
/* Destructive actions are subordinate to everyday work, with explicit confirmation. */
.danger-link{background:transparent;border:0;color:#a73838;cursor:pointer;font:inherit;padding:8px 12px;white-space:nowrap}
.danger{background:#a73838;border:1px solid #a73838;color:white;border-radius:12px;padding:12px 20px;font:inherit;font-weight:600;cursor:pointer}
.danger-zone{border-top:1px solid #dfe6ef;margin-top:24px;padding-top:16px;display:flex;justify-content:flex-end}

/* Shared D palette with delivery. No decoration over working tables. */
:root{--navy:var(--jd-ink);--muted:var(--jd-muted);--line:var(--jd-line);--accent:var(--jd-primary);--teal:var(--jd-primary);background:var(--jd-bg);color:var(--jd-ink)}
.primary{background:var(--jd-primary);box-shadow:none}.primary:hover{background:var(--jd-primary-hover);filter:none}
.brand-logo-frame,.platform-header .brand-logo-frame{background:var(--jd-logo-bg)}
.platform-header .brand-logo-frame img{filter:none}
.module-tile{box-shadow:var(--jd-shadow)}
.voucher-item{max-width:340px;min-width:160px}.voucher-item .row-actions{flex-wrap:wrap;gap:4px}.voucher-item a{text-decoration:none}
.integration-project-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--jd-line,#dce5ef)}.integration-project-row>div{display:grid;gap:6px}.integration-project-row strong{font-size:16px}.integration-project-row span{font-size:14px;color:var(--jd-muted,#566d86)}@media(max-width:700px){.integration-project-row{align-items:flex-start}.integration-project-row .secondary{flex:none}}
.brand-home-link { color: inherit; text-decoration: none; cursor: pointer; border-radius: 10px; }
.brand-home-link:focus-visible { outline: 3px solid #7ca6ce; outline-offset: 4px; }
.brand-home-link .brand-logo-frame { flex-shrink: 0; }
