/* Draktliste 0013. Namespaced branding only: table rules remain unchanged. */
.dl-brand-header {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    color: #14583e;
    text-decoration: none;
}
.dl-brand-header .dl-brand-mark {
    display: block;
    width: 40px;
    height: auto;
    flex: 0 0 40px;
}
.dl-brand-header .dl-brand-wordmark {
    display: block;
    width: 183px;
    max-width: calc(100% - 49px);
    height: auto;
}
.dl-brand-header:focus-visible,
.dl-brand-public:focus-visible {
    outline: 2px solid #166534;
    outline-offset: 5px;
    border-radius: 2px;
}
.dl-brand-public {
    display: block;
    width: min(100%, 380px);
    margin: 0 auto 24px;
}
.dl-brand-public img {
    display: block;
    width: 100%;
    height: auto;
}
.dl-auth-page {
    margin: 0;
    background: #f3f4f6;
    color: #1f2937;
    font-family: Arial, sans-serif;
    line-height: 1.5;
}
.dl-auth-card {
    box-sizing: border-box;
    width: min(460px, calc(100% - 32px));
    margin: 40px auto;
    padding: 28px;
    background: #fff;
    border: 1px solid #d1d5db;
}
.dl-auth-card--wide {
    width: min(620px, calc(100% - 32px));
}
.dl-auth-card h1 {
    font-size: 24px;
    line-height: 1.25;
    margin: 0 0 14px;
}
.dl-auth-card p { margin: 0 0 16px; }
.dl-auth-card label {
    display: block;
    margin: 14px 0 5px;
    font-size: 14px;
    font-weight: 600;
}
.dl-auth-card input:not([type="hidden"]),
.dl-auth-card textarea,
.dl-auth-card select {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 10px;
    border: 1px solid #9ca3af;
    border-radius: 2px;
    background: #fff;
    color: #1f2937;
    font: inherit;
}
.dl-auth-card textarea { min-height: 84px; resize: vertical; }
.dl-auth-card input:focus-visible,
.dl-auth-card textarea:focus-visible,
.dl-auth-card select:focus-visible { outline: 2px solid #166534; outline-offset: 1px; }
.dl-auth-card button[type="submit"] {
    box-sizing: border-box;
    width: 100%;
    min-height: 42px;
    margin: 18px 0;
    padding: 10px 16px;
    border: 1px solid #10452f;
    border-radius: 2px;
    background: #14583e;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.dl-auth-card button[type="submit"]:hover { background: #104b34; }
.dl-auth-card button:focus-visible { outline: 2px solid #166534; outline-offset: 3px; }
.dl-auth-card a { color: #166534; }
.dl-auth-card .dl-access {
    border-top: 1px solid #e5e7eb;
    margin-top: 24px;
    padding-top: 18px;
    font-size: 14px;
    color: #4b5563;
}
.dl-auth-card .dl-access a { font-weight: 700; }
.dl-auth-card .dl-error,
.dl-auth-card .errorlist {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 10px 14px;
    margin: 0 0 16px;
}
.dl-auth-card .errorlist { list-style-position: inside; }
.dl-auth-card .helptext { display: block; margin: 6px 0 12px; font-size: 13px; color: #4b5563; }
.dl-auth-card .dl-success {
    padding: 12px;
    margin-bottom: 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}
.dl-auth-card .dl-message { padding: 10px; border: 1px solid #d1d5db; margin-bottom: 14px; }
@media (max-width: 700px) {
    .topbar .dl-brand-header { gap: 7px; }
    .topbar .dl-brand-mark { width: 34px; flex-basis: 34px; }
    .topbar .dl-brand-wordmark { width: 166px; max-width: calc(100% - 41px); }
}
@media (max-width: 480px) {
    .dl-auth-card { margin: 18px auto; padding: 22px 20px; }
    .dl-auth-card h1 { font-size: 22px; }
    .dl-auth-card input:not([type="hidden"]),
    .dl-auth-card textarea,
    .dl-auth-card select { font-size: 16px; }
}
