:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17202a;background:#f4f7fb;--ink:#17202a;--muted:#627184;--line:#dce4ee;--navy:#102a4c;--green:#0b9f6e;--green-soft:#eaf8f2;--red:#a12c2c;--red-soft:#fff0f0;--shadow:0 18px 55px rgba(16,42,76,.08)}*{box-sizing:border-box}body{margin:0;line-height:1.5;background:radial-gradient(circle at 50% -10%,#fff 0,#f5f8fc 42%,#f0f4f9 100%);min-height:100vh}.wrap{max-width:980px;margin:0 auto;padding:34px 20px 70px}.wrap.narrow{max-width:880px}.card{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:18px;padding:28px;margin:18px 0;box-shadow:var(--shadow)}h1{font-size:clamp(1.9rem,4vw,2.5rem);line-height:1.12;margin:.35rem 0 .75rem;letter-spacing:-.035em}h2{font-size:1.2rem;margin:.2rem 0 1rem}.lead{font-size:1.05rem;max-width:720px}.muted{color:var(--muted)}.small{font-size:.88rem}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;word-break:break-all}.eyebrow{font-size:.76rem;font-weight:800;letter-spacing:.12em;color:#17785d}.topnav,.upload-header{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:14px}.hero-card{padding:34px}.auth-card{margin-top:12vh}.form-row{margin:18px 0}label{display:block;font-weight:700;margin-bottom:7px}input[type=password],input[type=text],input[type=number],input[type=file],select{width:100%;padding:13px 14px;border:1px solid #b9c6d5;border-radius:11px;background:#fff;font:inherit;outline:none;transition:border-color .18s,box-shadow .18s}input:focus,select:focus{border-color:#4d749e;box-shadow:0 0 0 4px rgba(77,116,158,.12)}button,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:11px;padding:11px 16px;background:var(--navy);color:#fff;text-decoration:none;font:inherit;font-weight:750;cursor:pointer;transition:transform .15s,opacity .15s,box-shadow .15s}button:hover,.btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(16,42,76,.15)}button:disabled{cursor:not-allowed;opacity:.45;transform:none;box-shadow:none}.btn.secondary,button.secondary{background:#e9eef5;color:var(--ink)}.btn.danger,button.danger{background:#8f1f1f}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.code-form button{min-width:230px}.privacy-note{font-size:.9rem;color:var(--muted);margin:18px 0 0}.warn,.success,.error{border-radius:12px;padding:12px 14px}.success{background:var(--green-soft);border:1px solid #ccebdd}.error{background:var(--red-soft);border:1px solid #f1caca;color:#7a1f1f}.warn{background:#fff8e6;border:1px solid #f1dfab}.secure-chip{display:inline-flex;align-items:center;gap:10px;background:var(--green-soft);border:1px solid #ccebdd;border-radius:999px;padding:9px 13px;color:#176a50}.secure-chip span:last-child{display:flex;flex-direction:column;line-height:1.18}.secure-chip small{font-size:.72rem;color:#477668;margin-top:2px}.secure-chip-icon{font-size:1rem}.transport-line{display:flex;gap:12px;align-items:flex-start;background:#f4faf7;border:1px solid #d8ede4;border-radius:14px;padding:13px 15px;margin-bottom:20px}.transport-line div{display:flex;flex-direction:column}.transport-line small{color:#5c746b;margin-top:2px}.pulse-dot{width:10px;height:10px;background:#12a873;border-radius:50%;margin-top:7px;box-shadow:0 0 0 0 rgba(18,168,115,.35);animation:pulse 1.8s infinite}@keyframes pulse{70%{box-shadow:0 0 0 8px rgba(18,168,115,0)}100%{box-shadow:0 0 0 0 rgba(18,168,115,0)}}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.drop-zone{display:flex;min-height:230px;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:2px dashed #aebdce;border-radius:17px;background:#f9fbfd;padding:28px;cursor:pointer;transition:.2s}.drop-zone:hover,.drop-zone.dragging{border-color:#26795f;background:#f2faf6;transform:translateY(-1px)}.drop-zone.has-file{min-height:150px}.drop-zone strong{font-size:1.1rem;margin:6px 0}.drop-zone span{color:var(--muted)}.drop-zone small{margin-top:8px;color:#8290a0}.drop-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:#e8f4ef;color:#0b8f65!important;font-size:1.7rem;font-weight:800}.file-preview{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:14px;padding:14px;margin-top:14px;background:#fff}.file-type{display:grid;place-items:center;width:50px;height:50px;border-radius:12px;background:#edf2f7;font-size:.78rem;font-weight:900}.file-main{min-width:0;flex:1;display:flex;flex-direction:column}.file-main strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-main span{font-size:.86rem;color:var(--muted)}.icon-btn{background:transparent;color:#687687;border:0;padding:6px 9px;font-size:1.35rem}.icon-btn:hover{box-shadow:none;transform:none;background:#eef2f6}.upload-actions{margin-top:18px}.upload-progress{margin-top:18px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fbfcfe}.progress-head,.progress-foot{display:flex;justify-content:space-between;gap:12px}.progress-foot{font-size:.82rem;color:var(--muted);margin-top:7px}.progress-track{height:11px;border-radius:999px;background:#e8edf3;overflow:hidden;margin-top:10px}.progress-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#0c9d6d,#37b58c);transition:width .15s}.progress-security{margin-top:10px;color:#17785d;font-size:.84rem;font-weight:650}.upload-result{margin-top:18px}.receipt{display:flex;flex-direction:column;gap:4px}.receipt .btn{align-self:flex-start;margin-top:8px}.verification-note{display:flex;flex-direction:column;gap:3px;margin-top:22px;padding-top:18px;border-top:1px solid #e6ebf1;font-size:.86rem}.verification-note span{color:var(--muted)}.security-loader{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px;background:rgba(244,247,251,.96);backdrop-filter:blur(8px);transition:opacity .45s,visibility .45s}.security-loader.done{opacity:0;visibility:hidden}.security-loader-panel{width:min(560px,100%);background:#fff;border:1px solid var(--line);border-radius:20px;padding:25px;box-shadow:0 24px 80px rgba(17,35,61,.14)}.shield-mark{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:var(--green-soft);color:#07815a;font-size:1.35rem;font-weight:900;margin-bottom:14px}.security-loader-title{font-size:1.25rem}.security-loader-sub{color:var(--muted);font-size:.9rem;margin-top:3px}.security-check-list{display:grid;gap:7px;margin:18px 0}.security-check{opacity:0;transform:translateY(4px);display:flex;gap:8px;font-size:.88rem;color:#5f6e7e;transition:.22s}.security-check.show{opacity:1;transform:none}.security-check.pass span{color:#07815a;font-weight:900}.security-check.fail{color:#8a2e2e}.security-check.fail span{font-weight:900}.security-loader-bar{height:6px;border-radius:999px;background:#e8edf3;overflow:hidden}.security-loader-bar span{display:block;width:0;height:100%;background:#159a6d;transition:width 1s ease}.security-loader.blocked .security-loader-bar span{background:#b43a3a}.security-loader-error{margin-top:14px;padding:10px 12px;border-radius:10px;background:var(--red-soft);color:#842828;font-size:.88rem}table{width:100%;border-collapse:collapse;font-size:.93rem}th,td{text-align:left;padding:10px 8px;border-bottom:1px solid #e4e9ef;vertical-align:top}.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:1.35rem;letter-spacing:.08em;padding:12px;border:1px dashed #8996a4;border-radius:9px;background:#f7f9fb;word-break:break-word}@media(max-width:650px){.wrap{padding:20px 14px 50px}.card,.hero-card{padding:20px}.topnav,.upload-header{align-items:flex-start;flex-direction:column}.secure-chip{align-self:flex-start}.drop-zone{min-height:200px}.progress-foot{flex-direction:column;gap:2px}.code-form button{width:100%}}

.security-loader.blocked .shield-mark{background:var(--red-soft);color:var(--red)}
.security-alert{display:flex;flex-direction:column;gap:3px;margin:14px 0 0;padding:12px 14px;border:1px solid #f0caca;border-radius:13px;background:#fff5f5;color:#7e2525;box-shadow:0 8px 24px rgba(126,37,37,.05)}
.security-alert span{font-size:.88rem}
.status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}.status-item{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--line);border-radius:12px;background:#f9fbfd}.status-item>span{display:grid;place-items:center;width:24px;height:24px;border-radius:999px;font-weight:900;flex:0 0 auto}.status-item.ok>span{background:var(--green-soft);color:#087b58}.status-item.bad>span{background:var(--red-soft);color:var(--red)}.status-item div{display:flex;flex-direction:column}.status-item small{color:var(--muted);margin-top:2px}

/* v1.3 upload UI refresh */
.upload-shell{max-width:1020px}
.upload-topbar{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:18px}
.upload-intro{max-width:620px;margin:0}
.secure-chip.compact{padding:10px 14px;border-radius:14px;box-shadow:none}
.upload-modern-card{padding:28px}
.upload-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:start}
.upload-main{min-width:0}
.upload-side{min-width:0}
.drop-zone.modern{min-height:280px;border:1.5px dashed #cad6e4;border-radius:24px;background:linear-gradient(180deg,#f9fbfe 0%,#f4f8fc 100%);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px 24px;gap:10px;transition:border-color .2s,transform .2s,box-shadow .2s,background .2s}
.drop-zone.modern:hover{border-color:#2f5b94;box-shadow:0 14px 36px rgba(16,42,76,.08);transform:translateY(-1px)}
.drop-zone.modern.dragging{border-color:#0b9f6e;background:linear-gradient(180deg,#f4fcf8 0%,#eefaf5 100%);box-shadow:0 18px 44px rgba(11,159,110,.14)}
.drop-zone.modern.has-file{min-height:120px;padding:18px}
.drop-zone-icon{width:68px;height:68px;display:grid;place-items:center;border-radius:20px;background:#fff;color:#102a4c;border:1px solid #d9e3ee;box-shadow:0 12px 30px rgba(16,42,76,.08);font-size:1.7rem;font-weight:900}
.drop-zone.modern strong{font-size:1.24rem;letter-spacing:-.02em}
.drop-zone.modern span{color:var(--muted)}
.drop-zone.modern small{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:#fff;border:1px solid #e4ebf3;color:#4f5d6c;font-size:.84rem}
.file-preview.modern{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;margin-top:16px;padding:15px 16px;border:1px solid #dce4ee;border-radius:18px;background:#fbfdff;box-shadow:0 10px 28px rgba(16,42,76,.05)}
.file-badge{min-width:58px;height:58px;padding:0 12px;border-radius:18px;display:grid;place-items:center;background:#eaf2ff;color:#23456f;font-weight:800;letter-spacing:.06em}
.file-preview.modern .file-main strong{display:block;font-size:1rem;line-height:1.35;word-break:break-word}
.file-preview.modern .file-main span{display:block;margin-top:4px;color:var(--muted);font-size:.92rem;word-break:break-word}
.icon-btn.light{background:#eef3f8;color:#324255;border:1px solid #dbe5ef;width:42px;height:42px;border-radius:12px;box-shadow:none}
.icon-btn.light:hover{background:#e7edf5;box-shadow:none}
.upload-progress.modern{margin-top:16px;padding:16px;border:1px solid #dbe4ee;border-radius:18px;background:#fbfdff}
.upload-progress.modern .progress-track{height:12px;border-radius:999px;background:#ecf1f6;overflow:hidden;margin:10px 0}
.upload-progress.modern .progress-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#183c6d,#0b9f6e)}
.upload-progress.modern .progress-foot{display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:.9rem}
.upload-actions.modern{margin-top:18px}
.upload-actions.modern .btn.secondary{background:#eef3f8;color:#213247;border:1px solid #d8e3ee}
.upload-actions.modern .btn.secondary:hover{box-shadow:none;background:#e7edf5}
.mini-secure-card{border:1px solid #dce4ee;border-radius:20px;background:linear-gradient(180deg,#ffffff 0%,#f8fbfe 100%);padding:18px;box-shadow:0 12px 34px rgba(16,42,76,.05)}
.mini-secure-head{display:flex;align-items:center;gap:10px;font-size:1rem;margin-bottom:12px}
.mini-secure-head span{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:#eff7f3}
.mini-points{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.mini-points li{position:relative;padding-left:22px;color:#435161;font-size:.93rem}
.mini-points li::before{content:"✓";position:absolute;left:0;top:0;color:#0b9f6e;font-weight:900}
.upload-finish-card{text-align:center;padding:18px 8px 6px}
.finish-icon{width:72px;height:72px;margin:0 auto 16px;border-radius:24px;display:grid;place-items:center;background:#eaf8f2;color:#0b9f6e;font-size:2rem;font-weight:900}
.finish-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:20px 0 24px;text-align:left}
.finish-meta span{display:flex;flex-direction:column;gap:2px;padding:14px 15px;border:1px solid #dce4ee;border-radius:16px;background:#fbfdff}
.finish-meta strong{font-size:.82rem;color:#617084;text-transform:uppercase;letter-spacing:.06em}
.upload-result.success.receipt{padding:16px;border-radius:18px}
.upload-result.success.receipt strong{display:block;margin-bottom:5px}
.upload-result.success.receipt span{display:block;color:#4d5c6c;margin-top:4px}
@media (max-width: 860px){.upload-layout{grid-template-columns:1fr}.upload-side{order:-1}.mini-secure-card{padding:16px}.upload-topbar{flex-direction:column}.secure-chip.compact{align-self:flex-start}}
@media (max-width: 640px){.upload-modern-card{padding:20px}.drop-zone.modern{min-height:240px;padding:22px 16px;border-radius:20px}.drop-zone-icon{width:60px;height:60px}.file-preview.modern{grid-template-columns:1fr auto;grid-template-areas:"badge clear" "main main"}.file-preview.modern .file-badge{grid-area:badge}.file-preview.modern .file-main{grid-area:main}.file-preview.modern .icon-btn{grid-area:clear}.finish-meta{grid-template-columns:1fr}}

/* v1.5 technical error log */
.error-log-list{display:grid;gap:10px}.error-log-item{border:1px solid var(--line);border-radius:14px;background:#fbfdff;overflow:hidden}.error-log-item summary{display:grid;grid-template-columns:auto minmax(160px,1fr) auto auto;gap:12px;align-items:center;padding:13px 15px;cursor:pointer;list-style:none}.error-log-item summary::-webkit-details-marker{display:none}.error-log-item summary:hover{background:#f6f9fc}.error-id{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:#eef3f8;border:1px solid #dce5ee;border-radius:8px;padding:3px 7px;font-size:.84rem}.error-log-item summary span{color:var(--muted);font-size:.88rem}.error-log-detail{padding:0 15px 14px;border-top:1px solid var(--line);background:#fff}.error-log-detail p{margin:11px 0 0}.error-log-detail .mono{font-size:.82rem}@media(max-width:760px){.error-log-item summary{grid-template-columns:1fr 1fr}.error-log-item summary strong{grid-column:1/-1;grid-row:1}.error-id{justify-self:start}}

/* v1.5.2 transfer-code administration */
.compact-actions{gap:6px;margin-top:7px;flex-wrap:wrap}.small-btn{padding:6px 9px;border-radius:8px;font-size:.78rem}.token-status{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:.8rem;font-weight:750}.token-status-offen{background:#eaf8f2;color:#087b58}.token-status-verwendet{background:#edf2f7;color:#4c5b6d}.token-status-widerrufen{background:#fff0f0;color:#962f2f}.token-status-abgelaufen{background:#fff7e8;color:#8b5b0a}
