/* base – nur die Gestaltung dieses Bereichs. */
:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface2: #f9fbfd;
  --text: #172033;
  --muted: #718096;
  --line: #e5eaf0;
  --primary: #295a49;
  --primary2: #1f4639;
  --primary-soft: #eaf4ef;
  --blue: #3568c0;
  --blue-soft: #edf3ff;
  --amber: #a56212;
  --amber-soft: #fff5df;
  --red: #b54444;
  --red-soft: #fff0f0;
  --green: #227451;
  --green-soft: #e9f6ef;
  --shadow: 0 10px 30px rgba(27, 39, 51, 0.07);
  --radius: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font:
    14px/1.5 Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  background: var(--bg);
  color: var(--text);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.iconbtn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pagehead {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.eyebrow {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.pagehead h1 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
}

.sub {
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 9px 13px;
  border-radius: 10px;
  font-weight: 650;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.btn:hover {
  background: #f8fafc;
}

.btn.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn.primary:hover {
  background: var(--primary2);
}

.grid {
  display: grid;
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
}

.section-title h2 {
  font-size: 17px;
  margin: 0;
  letter-spacing: -0.2px;
}

.linkbtn {
  border: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  padding: 5px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.status:before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.s-green {
  background: var(--green-soft);
  color: var(--green);
}

.s-amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.s-red {
  background: var(--red-soft);
  color: var(--red);
}

.s-blue {
  background: var(--blue-soft);
  color: var(--blue);
}

@media (max-width: 860px) {
  .pagehead {
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .pagehead h1 {
    font-size: 24px;
  }
}

@media (max-width: 540px) {
  .card {
    padding: 15px;
  }
}

:root {
  --navy: #0f241d;
  --focus: #68a98a;
  --violet: #6750a4;
  --violet-soft: #f1edfb;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.demo-note {
  color: var(--muted);
  font-size: 12px;
  margin: 18px 0 0;
}

#status-message {
  color: var(--primary);
  font-size: 13px;
}

#status-message:empty {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

[hidden] {
  display: none !important;
}

.property-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.s-gray {
  background: #f0f3f6;
  color: #687687;
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 1180px) {
  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .property-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

a {
  color: inherit;
  text-decoration: none;
}
.nav a {
  cursor: pointer;
}
.file-guide {
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid #e7c686;
  border-radius: 12px;
  background: var(--amber-soft);
  color: #815214;
}
.file-guide p {
  margin: 6px 0 12px;
}
.placeholder-card {
  padding: 28px;
  max-width: 720px;
}

.has-password-visibility {
  position: relative;
}
.has-password-visibility > input {
  padding-right: 48px !important;
}
.password-visibility-toggle {
  position: absolute;
  right: 5px;
  bottom: 4px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #667970;
  box-shadow: none;
}
.password-visibility-toggle:hover {
  background: #edf4f1;
  color: var(--primary);
}
.password-visibility-toggle:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
}
.password-eye {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.password-eye-closed {
  display: none;
}
.password-visibility-toggle.is-visible .password-eye-open {
  display: none;
}
.password-visibility-toggle.is-visible .password-eye-closed {
  display: block;
}
.password-visibility-toggle.is-visible {
  background: var(--primary-soft);
  color: var(--primary);
}
