/* Cliro App V715.4 – UI, accessibility, tour and authentication */

:root {
  --cliro-v7153-bg: #f3f6f9;
  --cliro-v7153-surface: #ffffff;
  --cliro-v7153-surface-soft: #eef3f7;
  --cliro-v7153-surface-raised: #ffffff;
  --cliro-v7153-text: #102030;
  --cliro-v7153-muted: #52697b;
  --cliro-v7153-border: #c8d5df;
  --cliro-v7153-border-strong: #8198aa;
  --cliro-v7153-primary: #12395b;
  --cliro-v7153-primary-hover: #0b2d49;
  --cliro-v7153-primary-text: #ffffff;
  --cliro-v7153-accent: #d99a28;
  --cliro-v7153-accent-text: #2b1b00;
  --cliro-v7153-focus: #f4b740;
  --cliro-v7153-success: #146c43;
  --cliro-v7153-danger: #a82a2a;
  --cliro-v7153-shadow: 0 16px 40px rgba(19, 43, 62, 0.12);
  --cliro-v7153-radius: 16px;
  --cliro-v7153-control-height: 44px;
}

html.cliro-theme-dark {
  --cliro-v7153-bg: #07111d;
  --cliro-v7153-surface: #0d1c2b;
  --cliro-v7153-surface-soft: #13263a;
  --cliro-v7153-surface-raised: #102337;
  --cliro-v7153-text: #f8fafc;
  --cliro-v7153-muted: #c4d0dc;
  --cliro-v7153-border: #31475d;
  --cliro-v7153-border-strong: #54718c;
  --cliro-v7153-primary: #8fb8ff;
  --cliro-v7153-primary-hover: #b6d0ff;
  --cliro-v7153-primary-text: #07111d;
  --cliro-v7153-accent: #e8ad45;
  --cliro-v7153-accent-text: #211500;
  --cliro-v7153-focus: #ffd56a;
  --cliro-v7153-success: #7ce2a8;
  --cliro-v7153-danger: #ffb4ab;
  --cliro-v7153-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

body.cliro-v7153 {
  background-color: var(--cliro-v7153-bg);
  color: var(--cliro-v7153-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.cliro-v7153 :where(h1, h2, h3, h4, h5, h6, label, legend, strong, th) {
  color: var(--cliro-v7153-text);
}

body.cliro-v7153 :where(p, small, .muted, .hint, .description, .subtle, .text-muted) {
  color: var(--cliro-v7153-muted);
}

body.cliro-v7153 :where(a) {
  text-underline-offset: 0.18em;
}

body.cliro-v7153 :where(a, button, input, select, textarea, summary, [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 3px solid var(--cliro-v7153-focus) ;
  outline-offset: 3px ;
  box-shadow: none ;
}

body.cliro-v7153 :where(button, .btn, [role="button"], input[type="submit"], input[type="button"], input[type="reset"]) {
  min-height: var(--cliro-v7153-control-height);
  border-radius: 11px;
}

body.cliro-v7153 :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]), select, textarea) {
  min-height: var(--cliro-v7153-control-height);
  border: 1px solid var(--cliro-v7153-border-strong) ;
  border-radius: 11px ;
  background-color: var(--cliro-v7153-surface) ;
  color: var(--cliro-v7153-text) ;
  caret-color: var(--cliro-v7153-text);
}

body.cliro-v7153 :where(input, select, textarea)::placeholder {
  color: var(--cliro-v7153-muted) ;
  opacity: 1;
}

body.cliro-v7153 select,
body.cliro-v7153 select option {
  background-color: var(--cliro-v7153-surface) ;
  color: var(--cliro-v7153-text) ;
}

body.cliro-v7153 :where(.card, .panel, .box, .widget, .modal-content, .dropdown-menu, .popover, .toast, .notice, .alert, fieldset) {
  border-color: var(--cliro-v7153-border);
}

body.cliro-v7153 :where(.card, .panel, .widget, .modal-content, .dropdown-menu, .popover) {
  background-color: var(--cliro-v7153-surface);
  color: var(--cliro-v7153-text);
}

body.cliro-v7153 :where(.card, .panel, .widget) {
  border-radius: var(--cliro-v7153-radius);
}

body.cliro-v7153 :where(table) {
  border-collapse: separate;
  border-spacing: 0;
  color: var(--cliro-v7153-text);
}

body.cliro-v7153 :where(table thead th) {
  background: var(--cliro-v7153-surface-soft);
  color: var(--cliro-v7153-text);
  border-color: var(--cliro-v7153-border);
}

body.cliro-v7153 :where(table tbody td) {
  border-color: var(--cliro-v7153-border);
}

body.cliro-v7153 :where(table tbody tr:hover td) {
  background: color-mix(in srgb, var(--cliro-v7153-surface-soft) 76%, transparent);
}

body.cliro-v7153 :where(dialog, [role="dialog"]) {
  color: var(--cliro-v7153-text);
}

/* Exact repairs retained from V715.2. */
a.cliro-a11y-language-link,
a[href*="ui_lang=de"].cliro-a11y-language-link,
a[href*="ui_lang=en"].cliro-a11y-language-link {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cliro-v7153-border-strong) ;
  border-radius: 10px;
  background: var(--cliro-v7153-surface-soft) ;
  color: var(--cliro-v7153-text) ;
  font-weight: 800;
  text-decoration: none;
}

a.cliro-a11y-language-link.is-active,
a.cliro-a11y-language-link[aria-current="page"],
a.cliro-a11y-language-link[aria-current="true"] {
  border-color: var(--cliro-v7153-primary) ;
  background: var(--cliro-v7153-primary) ;
  color: var(--cliro-v7153-primary-text) ;
}

.cliro-a11y-check-symbol,
.cliro-a11y-chevron-symbol {
  color: var(--cliro-a11y-symbol-color, var(--cliro-v7153-text)) ;
  text-shadow: none ;
  -webkit-text-fill-color: var(--cliro-a11y-symbol-color, var(--cliro-v7153-text)) ;
}

.cliro-a11y-chevron-symbol {
  background-color: transparent ;
  background-image: none ;
  opacity: 1 ;
}

/* Header layout: company selector keeps room; timer sits visually in the centre. */
.cliro-v7153-topbar-host {
  position: relative ;
}

.cliro-v7153-company-control {
  flex: 1 1 420px ;
  min-width: 240px;
  max-width: min(44vw, 620px);
}

.cliro-v7153-company-control select {
  width: 100% ;
  min-width: 220px;
}

.cliro-v7153-timer-slot {
  display: inline-flex ;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  max-width: 280px;
  padding: 6px 12px;
  border: 1px solid var(--cliro-v7153-border);
  border-radius: 14px;
  background: var(--cliro-v7153-surface-raised);
  color: var(--cliro-v7153-text);
  box-shadow: 0 8px 24px rgba(9, 31, 47, 0.1);
  white-space: nowrap;
}

.cliro-v7153-timer-slot :where(a, button) {
  min-height: 36px;
}

@media (min-width: 1181px) {
  .cliro-v7153-topbar-host > .cliro-v7153-timer-slot,
  .cliro-v7153-timer-slot.cliro-v7153-timer-direct {
    position: absolute ;
    inset-inline-start: 50% ;
    top: 50% ;
    transform: translate(-50%, -50%) ;
    margin: 0 ;
    z-index: 6;
  }
}

@media (max-width: 1180px) {
  .cliro-v7153-topbar-host {
    flex-wrap: wrap ;
    row-gap: 10px ;
  }

  .cliro-v7153-timer-slot {
    position: static ;
    transform: none ;
    order: 20;
    margin-inline: auto ;
  }

  .cliro-v7153-company-control {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .cliro-v7153-company-control,
  .cliro-v7153-timer-slot {
    width: 100% ;
    max-width: none;
  }

  .cliro-v7153-timer-slot {
    white-space: normal;
  }
}

/* Password visibility. */
.cliro-v7153-password-field {
  position: relative;
  display: block;
  width: 100%;
}

.cliro-v7153-password-field > input {
  width: 100%;
  padding-inline-end: 118px ;
}

.cliro-v7153-password-toggle {
  position: absolute;
  inset-inline-end: 5px;
  top: 50%;
  transform: translateY(-50%);
  min-height: 34px ;
  padding: 0 11px;
  border: 1px solid var(--cliro-v7153-border) ;
  border-radius: 8px ;
  background: var(--cliro-v7153-surface-soft) ;
  color: var(--cliro-v7153-text) ;
  font-weight: 750;
  cursor: pointer;
}

.cliro-v7153-forgot-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--cliro-v7153-text) ;
  font-weight: 700;
}

.cliro-v7153-username-status {
  display: block;
  min-height: 1.35em;
  margin-top: 6px;
  color: var(--cliro-v7153-muted);
  font-size: 0.875rem;
}

.cliro-v7153-username-status[data-state="available"] {
  color: var(--cliro-v7153-success);
}

.cliro-v7153-username-status[data-state="unavailable"],
.cliro-v7153-username-status[data-state="invalid"] {
  color: var(--cliro-v7153-danger);
}

/* Authentication pages. */
.cliro-v7153-auth-page {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(217, 154, 40, 0.16), transparent 34%),
    linear-gradient(145deg, #071521, #102536 58%, #17364c);
  color: #ffffff;
  font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cliro-v7153-auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  box-sizing: border-box;
}

.cliro-v7153-auth-card {
  width: min(520px, 100%);
  box-sizing: border-box;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid #456176;
  border-radius: 24px;
  background: rgba(16, 37, 54, 0.96);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.cliro-v7153-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.cliro-v7153-auth-brand > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: #d99a28;
  color: #2b1b00;
  font-weight: 900;
}

.cliro-v7153-auth-card h1 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  line-height: 1.15;
}

.cliro-v7153-eyebrow {
  margin: 0 0 8px;
  color: #f4c96f;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.cliro-v7153-auth-intro,
.cliro-v7153-security-note {
  color: #d7e4ee;
}

.cliro-v7153-auth-form {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.cliro-v7153-auth-form label {
  margin-top: 7px;
  color: #ffffff;
  font-weight: 750;
}

.cliro-v7153-auth-form input {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid #7892a7;
  border-radius: 11px;
  background: #081a28;
  color: #ffffff;
  font: inherit;
}

.cliro-v7153-primary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  background: #ffffff;
  color: #102536;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.cliro-v7153-back-link {
  display: inline-flex;
  margin-top: 20px;
  color: #ffffff;
  font-weight: 750;
}

.cliro-v7153-notice {
  margin: 18px 0;
  padding: 13px 15px;
  border: 1px solid;
  border-radius: 12px;
}

.cliro-v7153-notice.success {
  border-color: #71d4a4;
  background: #123f31;
  color: #effff7;
}

.cliro-v7153-notice.danger {
  border-color: #ff9a9a;
  background: #4a2024;
  color: #fff6f6;
}

/* New accessible product tour. */
.cliro-v7153-tour-trigger {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 20px;
  z-index: 9000;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid var(--cliro-v7153-border-strong);
  border-radius: 999px;
  background: var(--cliro-v7153-surface-raised);
  color: var(--cliro-v7153-text);
  box-shadow: var(--cliro-v7153-shadow);
  font-weight: 800;
  cursor: pointer;
}

.cliro-v7153-tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 11, 18, 0.76);
  backdrop-filter: blur(3px);
}

.cliro-v7153-tour-dialog {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 20002;
  transform: translateX(-50%);
  width: min(560px, calc(100% - 40px));
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  box-sizing: border-box;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--cliro-v7153-border-strong);
  border-radius: 24px;
  background: var(--cliro-v7153-surface-raised);
  color: var(--cliro-v7153-text);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
}

.cliro-v7153-tour-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.cliro-v7153-tour-step {
  color: var(--cliro-v7153-muted);
  font-size: 0.875rem;
  font-weight: 800;
}

.cliro-v7153-tour-close {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--cliro-v7153-border);
  border-radius: 11px;
  background: var(--cliro-v7153-surface-soft);
  color: var(--cliro-v7153-text);
  font-size: 1.25rem;
  cursor: pointer;
}

.cliro-v7153-tour-dialog h2 {
  margin: 0 0 12px;
  color: var(--cliro-v7153-text);
  font-size: clamp(1.6rem, 5vw, 2.25rem);
  line-height: 1.16;
}

.cliro-v7153-tour-dialog p {
  margin: 0;
  color: var(--cliro-v7153-muted);
  font-size: 1.02rem;
}

.cliro-v7153-tour-progress {
  height: 7px;
  margin: 24px 0 20px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--cliro-v7153-surface-soft);
}

.cliro-v7153-tour-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--cliro-v7153-accent);
  transition: width 180ms ease;
}

.cliro-v7153-tour-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.cliro-v7153-tour-actions button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--cliro-v7153-border-strong);
  border-radius: 11px;
  background: var(--cliro-v7153-surface-soft);
  color: var(--cliro-v7153-text);
  font-weight: 800;
  cursor: pointer;
}

.cliro-v7153-tour-actions .primary {
  border-color: var(--cliro-v7153-primary);
  background: var(--cliro-v7153-primary);
  color: var(--cliro-v7153-primary-text);
}

.cliro-v7153-tour-target:not(.cliro-v7153-tour-trigger) {
  position: relative ;
  z-index: 20001 ;
  border-radius: 10px;
  outline: 4px solid var(--cliro-v7153-focus) ;
  outline-offset: 5px ;
  box-shadow: 0 0 0 8px rgba(255, 213, 106, 0.18) ;
}

.cliro-v7153-tour-trigger.cliro-v7153-tour-target {
  position: fixed ;
  z-index: 20001 ;
  outline: 4px solid var(--cliro-v7153-focus) ;
  outline-offset: 5px ;
  box-shadow: 0 0 0 8px rgba(255, 213, 106, 0.18) ;
}

.cliro-v7153-tour-trigger {
  isolation:isolate;
  min-width:132px;
  justify-content:center;
  border-color:var(--cliro-v7153-primary);
  border-radius:14px;
  background:var(--cliro-v7153-primary);
  color:var(--cliro-v7153-primary-text);
  -webkit-text-fill-color:var(--cliro-v7153-primary-text);
  box-shadow:0 10px 28px rgba(15,23,42,.18);
}

.cliro-v7153-tour-trigger:hover {
  filter:brightness(1.08);
  transform:translateY(-1px);
}

.cliro-v7153-tour-trigger .cliro-tour-icon-v718 {
  display:block;
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

html.cliro-theme-dark body.cliro-v7153 .cliro-v7153-tour-trigger {
  border-color:#8fc7f0;
  background:#8fc7f0;
  color:#07131d;
  -webkit-text-fill-color:#07131d;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto ;
    animation-duration: 0.001ms ;
    animation-iteration-count: 1 ;
    transition-duration: 0.001ms ;
  }
}

@media (forced-colors: active) {
  body.cliro-v7153 :where(a, button, input, select, textarea, summary),
  .cliro-v7153-tour-dialog,
  .cliro-v7153-tour-target {
    forced-color-adjust: auto;
  }
}

@media print {
  .cliro-v7153-tour-trigger,
  .cliro-v7153-tour-overlay,
  .cliro-v7153-password-toggle {
    display: none ;
  }
}

/* V715.3 final accessibility and layout refinements. */
body.cliro-v7153 {
  min-height: 100vh;
}

body.cliro-v7153 :where(.icon-button, .icon-btn, button[aria-label], a[aria-label]) {
  min-width: 44px;
  min-height: 44px;
}

body.cliro-v7153 :where(select) {
  color-scheme: light;
  appearance: none ;
  -webkit-appearance: none ;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M2 2l6 6 6-6' fill='none' stroke='%23102030' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") ;
  background-repeat: no-repeat ;
  background-position: right 14px center ;
  background-size: 16px 10px ;
  padding-inline-end: 46px ;
}

html.cliro-theme-dark body.cliro-v7153 :where(select) {
  color-scheme: dark;
  background-color: var(--cliro-v7153-surface) ;
  color: var(--cliro-v7153-text) ;
  -webkit-text-fill-color: var(--cliro-v7153-text) ;
  border-color: var(--cliro-v7153-border-strong) ;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M2 2l6 6 6-6' fill='none' stroke='%23F8FAFC' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") ;
  background-repeat: no-repeat ;
  background-position: right 14px center ;
  background-size: 16px 10px ;
}

html.cliro-theme-dark body.cliro-v7153 :where(select option) {
  background: #0d1c2b ;
  color: #f8fafc ;
  -webkit-text-fill-color: #f8fafc ;
}

body.cliro-v7153 :where(.business-switch-caret, .cliro-a11y-chevron-symbol) {
  background-image: none ;
  background-repeat: no-repeat ;
}

body.cliro-v7153 :where([aria-disabled="true"], :disabled) {
  opacity: 0.72;
}

body.cliro-v7153 :where([role="alert"], .error, .danger, .invalid-feedback) {
  color: var(--cliro-v7153-danger);
}

body.cliro-v7153 :where(.success, [data-status="success"]) {
  color: var(--cliro-v7153-success);
}

body.cliro-v7153 :where(.table-responsive, .responsive-table, [data-table-scroll]) {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

body.cliro-v7153 table :where(a, button) {
  min-height: 40px;
}

.cliro-v7153-account-line {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--cliro-v7153-border-strong);
  border-radius: 12px;
  background: var(--cliro-v7153-surface-soft);
  color: var(--cliro-v7153-text);
  overflow-wrap: anywhere;
}

.cliro-v7153-auth-form small {
  display: block;
}

@media (min-width: 1181px) {
  .cliro-v7153-topbar-host {
    min-height: 58px;
    padding-inline: clamp(8px, 1.4vw, 22px) ;
  }

  .cliro-v7153-company-control {
    flex-basis: min(38vw, 560px) ;
    max-width: min(40vw, 580px);
    padding-inline-end: min(15vw, 210px);
    box-sizing: border-box;
  }

  .cliro-v7153-topbar-host > .cliro-v7153-timer-slot,
  .cliro-v7153-timer-slot.cliro-v7153-timer-direct {
    inset-inline-start: 50% ;
    width: min(270px, 25vw);
  }
}

@media (max-width: 520px) {
  .cliro-v7153-auth-shell {
    padding: 14px;
  }

  .cliro-v7153-auth-card {
    border-radius: 18px;
    padding: 22px 18px;
  }

  .cliro-v7153-tour-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cliro-v7153-tour-actions .primary {
    grid-column: 1 / -1;
  }
}


/* V715.4: echte Cliro-Theme-Erkennung und konsistente Dark-Mode-Flächen. */
html.cliro-theme-dark body.cliro-v7153 {
  background: var(--cliro-v7153-bg) ;
  color: var(--cliro-v7153-text) ;
}
html.cliro-theme-dark body.cliro-v7153 :where(.cliro-v7153-tour-trigger,.cliro-v7153-tour-dialog,.cliro-v7153-timer-slot) {
  background: var(--cliro-v7153-surface-raised) ;
  color: var(--cliro-v7153-text) ;
  border-color: var(--cliro-v7153-border) ;
}
html.cliro-theme-dark body.cliro-v7153 :where(.cliro-v7153-tour-actions button,.cliro-v7153-tour-close) {
  background: var(--cliro-v7153-surface-soft) ;
  color: var(--cliro-v7153-text) ;
  border-color: var(--cliro-v7153-border-strong) ;
}
html.cliro-theme-dark body.cliro-v7153 .cliro-v7153-tour-actions .primary {
  background: var(--cliro-v7153-primary) ;
  color: var(--cliro-v7153-primary-text) ;
  -webkit-text-fill-color: var(--cliro-v7153-primary-text) ;
}
html.cliro-theme-dark body.cliro-v7153 :where(.cliro-a11y-language-link) {
  background: var(--cliro-v7153-surface-soft) ;
  color: var(--cliro-v7153-text) ;
  -webkit-text-fill-color: var(--cliro-v7153-text) ;
}
html.cliro-theme-dark body.cliro-v7153 :where(.cliro-a11y-language-link.is-active,.cliro-a11y-language-link[aria-current="page"]) {
  background: var(--cliro-v7153-primary) ;
  color: var(--cliro-v7153-primary-text) ;
  -webkit-text-fill-color: var(--cliro-v7153-primary-text) ;
}
@media (max-width: 640px) {
  .cliro-v7153-tour-dialog {
    bottom: max(12px, env(safe-area-inset-bottom));
    width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
  }
}


/* Cliro V715.4 Fix 004 — exact headbar, timer, menus and contrast. */
.app-headbar-v711,
.headbar-primary-v711,
.headbar-context-v711,
.headbar-actions-v711 { overflow: visible ; }
.app-headbar-v711 { z-index: 800 ; }
.headbar-primary-v711 { position: relative ; z-index: 840 ; }
.headbar-context-v711 { position: relative ; z-index: 810 ; }
.headbar-subnav-wrap-v711 { position: relative ; z-index: 790 ; }

@media (min-width:1181px) {
  .headbar-primary-v711 {
    display: grid ;
    grid-template-columns: minmax(220px,auto) minmax(0,1fr) auto ;
    grid-template-rows: auto auto ;
    align-items: center ;
    gap: 8px 18px ;
    min-height: 118px ;
    padding-top: 12px ;
    padding-bottom: 10px ;
  }
  .headbar-brand-v711 { grid-column: 1 ; grid-row: 1 ; }
  .headbar-actions-v711 { grid-column: 3 ; grid-row: 1 ; justify-self: end ; }
  .headbar-main-nav-v711 {
    grid-column: 1 / -1 ;
    grid-row: 2 ;
    display: grid ;
    grid-template-columns: repeat(6,minmax(0,1fr)) ;
    width: 100% ;
    gap: 8px ;
    overflow: visible ;
  }
  .headbar-main-nav-v711 a {
    min-width: 0 ;
    min-height: 48px ;
    white-space: normal ;
    line-height: 1.18 ;
    text-align: left ;
  }
  .headbar-main-nav-v711 .nav-label {
    min-width: 0 ;
    overflow: visible ;
    text-overflow: clip ;
    white-space: normal ;
  }
  .headbar-context-v711 {
    grid-template-columns: minmax(280px,1fr) auto minmax(280px,1fr) ;
    gap: 24px ;
    min-height: 96px ;
    padding-top: 12px ;
    padding-bottom: 12px ;
  }
  .headbar-title-v711 { justify-self: stretch ; min-width: 0 ; }
  .headbar-timer-v712 { justify-self: center ; width: auto ; min-width: 0 ; }
  .headbar-company-v712 { justify-self: end ; width: 100% ; max-width: 430px ; }
}

.headbar-timer-v712 .page-head-timer-card {
  position: relative ;
  display: grid ;
  grid-template-columns: 44px minmax(148px,1fr) auto ;
  align-items: center ;
  gap: 11px ;
  width: auto ;
  min-width: 300px ;
  max-width: 390px ;
  min-height: 64px ;
  padding: 9px 12px ;
  margin: 0 ;
  border: 1px solid #ccd7e2 ;
  border-radius: 16px ;
  background: #ffffff ;
  background-image: none ;
  color: #102030 ;
  -webkit-text-fill-color: #102030 ;
  box-shadow: 0 8px 22px rgba(15,23,42,.08) ;
  overflow: hidden ;
  transform: none ;
}
.headbar-timer-v712 .page-head-timer-card::before,
.headbar-timer-v712 .page-head-timer-card::after { display: none ; content: none ; }
.headbar-timer-v712 .page-head-timer-card:hover { transform: none ; border-color: #8296a8 ; box-shadow: 0 10px 26px rgba(15,23,42,.12) ; }
.headbar-timer-v712 .page-head-timer-icon {
  width: 42px ; height: 42px ; border-radius: 13px ;
  background: #12395b ; color: #fff ; -webkit-text-fill-color: #fff ;
  box-shadow: none ;
}
.headbar-timer-v712 .page-head-timer-body { display: grid ; gap: 1px ; min-width: 0 ; }
.headbar-timer-v712 .page-head-timer-label {
  display: inline-flex ; align-items: center ; gap: 6px ;
  width: max-content ; max-width: 100% ; padding: 0 ;
  border-radius: 0 ; background: transparent ;
  color: #52697b ; -webkit-text-fill-color: #52697b ;
  font-size: 10px ; line-height: 1.2 ; font-weight: 900 ; letter-spacing: .06em ;
}
.headbar-timer-v712 .page-head-timer-label i { width: 7px ; height: 7px ; }
.headbar-timer-v712 .page-head-timer-time {
  margin: 1px 0 0 ; color: #102030 ; -webkit-text-fill-color: #102030 ;
  font-size: 25px ; line-height: 1 ; letter-spacing: -.035em ;
}
.headbar-timer-v712 .page-head-timer-body small {
  color: #52697b ; -webkit-text-fill-color: #52697b ;
  font-size: 11px ; line-height: 1.25 ; font-weight: 750 ;
}
.headbar-timer-v712 .page-head-timer-cta {
  min-height: 34px ; padding: 0 10px ; border-radius: 10px ;
  background: #eef3f7 ; color: #12395b ; -webkit-text-fill-color: #12395b ;
  box-shadow: none ; font-size: 11px ;
}
.headbar-timer-v712 .page-head-timer-units { display: none ; }

html.cliro-theme-dark .headbar-timer-v712 .page-head-timer-card {
  background: #102337 ; border-color: #3b5269 ; color: #f8fafc ; -webkit-text-fill-color: #f8fafc ;
  box-shadow: 0 8px 22px rgba(0,0,0,.24) ;
}
html.cliro-theme-dark .headbar-timer-v712 .page-head-timer-icon { background: #1c4265 ; }
html.cliro-theme-dark .headbar-timer-v712 .page-head-timer-label,
html.cliro-theme-dark .headbar-timer-v712 .page-head-timer-body small { color: #c4d0dc ; -webkit-text-fill-color: #c4d0dc ; }
html.cliro-theme-dark .headbar-timer-v712 .page-head-timer-time { color: #fff ; -webkit-text-fill-color: #fff ; }
html.cliro-theme-dark .headbar-timer-v712 .page-head-timer-cta { background: #1a334a ; color: #e8f1f8 ; -webkit-text-fill-color: #e8f1f8 ; }

.headbar-create-menu { z-index: 10020 ; }
.headbar-create-menu[open] { z-index: 10030 ; }
.headbar-create-panel {
  z-index: 10040 ;
  isolation: isolate ;
  max-height: min(72vh,620px) ;
  overflow: auto ;
}
.headbar-create-menu > summary,
.headbar-create-menu > summary *,
.headbar-create-menu > summary .cliro-a11y-chevron-symbol,
.headbar-create-menu > summary .cliro-a11y-plus-symbol {
  --cliro-a11y-symbol-color: #071421 ;
  color: #071421 ;
  -webkit-text-fill-color: #071421 ;
}
.headbar-create-menu > summary > span,
.headbar-create-menu > summary > small { background: transparent ; }
.headbar-create-menu > summary > span:first-child { background: rgba(7,20,33,.10) ; }

.cliro-admin-mode-v715 {
  background: #fff4d6 ;
  border-color: #d99a28 ;
  color: #2b1b00 ;
  -webkit-text-fill-color: #2b1b00 ;
}
.cliro-admin-mode-v715 strong,
.cliro-admin-mode-v715 span { color: #2b1b00 ; -webkit-text-fill-color: #2b1b00 ; }
html.cliro-theme-dark .cliro-admin-mode-v715 {
  background: #3a2b10 ; border-color: #e8ad45 ; color: #fff1c7 ; -webkit-text-fill-color: #fff1c7 ;
}
html.cliro-theme-dark .cliro-admin-mode-v715 strong,
html.cliro-theme-dark .cliro-admin-mode-v715 span { color: #fff1c7 ; -webkit-text-fill-color: #fff1c7 ; }

@media (max-width:1180px) and (min-width:781px) {
  .headbar-primary-v711 { min-height: 76px ; }
  .headbar-context-v711 { grid-template-columns: minmax(220px,1fr) minmax(280px,360px) ; }
  .headbar-title-v711 { grid-column: 1 ; }
  .headbar-timer-v712 { grid-column: 2 ; justify-self: end ; }
  .headbar-company-v712 { grid-column: 1 / -1 ; justify-self: stretch ; max-width: none ; }
  .headbar-company-v712 .business-switch { max-width: none ; width: 100% ; }
}
@media (max-width:780px) {
  .headbar-timer-v712 .page-head-timer-card { min-width: 0 ; max-width: none ; width: 100% ; }
}

/* Fix 005 – Sprachumschalter mit eindeutigem Vorder-/Hintergrundkontrast. */
html body.cliro-v7153 a.cliro-a11y-language-link{
  opacity:1;
  background-color:#eef3f7;
  color:#102030;
  -webkit-text-fill-color:#102030;
  border-color:#8198aa;
}
html body.cliro-v7153 a.cliro-a11y-language-link.is-active,
html body.cliro-v7153 a.cliro-a11y-language-link[aria-current="page"],
html body.cliro-v7153 a.cliro-a11y-language-link[aria-current="true"]{
  background-color:#12395b;
  color:#fff;
  -webkit-text-fill-color:#fff;
  border-color:#12395b;
}
html.cliro-theme-dark body.cliro-v7153 a.cliro-a11y-language-link,
html.cliro-theme-dark body.cliro-v7153 a.cliro-a11y-language-link{
  background-color:#13263a;
  color:#f8fafc;
  -webkit-text-fill-color:#f8fafc;
  border-color:#54718c;
}
html.cliro-theme-dark body.cliro-v7153 a.cliro-a11y-language-link.is-active,
html.cliro-theme-dark body.cliro-v7153 a.cliro-a11y-language-link[aria-current="page"],
html.cliro-theme-dark body.cliro-v7153 a.cliro-a11y-language-link[aria-current="true"],
html.cliro-theme-dark body.cliro-v7153 a.cliro-a11y-language-link.is-active,
html.cliro-theme-dark body.cliro-v7153 a.cliro-a11y-language-link[aria-current="page"],
html.cliro-theme-dark body.cliro-v7153 a.cliro-a11y-language-link[aria-current="true"]{
  background-color:#8fb8ff;
  color:#07111d;
  -webkit-text-fill-color:#07111d;
  border-color:#b6d0ff;
}

/* V715.4 Fix 005 – robuste Symbole, mobile Vollbreite und klare Container. */
html body.cliro-v7153 .headbar-create-menu>summary,
html body.cliro-v7153 .headbar-create-menu>summary :where(span,strong,small),
html body.cliro-v7153 .headbar-create-menu>summary .cliro-a11y-chevron-symbol,
html body.cliro-v7153 .headbar-create-menu>summary .cliro-a11y-plus-symbol{
  --cliro-a11y-symbol-color:#071421;
  color:#071421;
  -webkit-text-fill-color:#071421;
}
html body.cliro-v7153 .headbar-create-menu>summary :where(span,small){background-color:transparent}
html body.cliro-v7153 .headbar-create-panel .cliro-a11y-check-symbol{
  color:currentColor;
  -webkit-text-fill-color:currentColor;
  background-color:transparent;
}
html body.cliro-v7153 .headbar-create-panel{z-index:10050}

@media(max-width:780px){
  html,body{max-width:100%;overflow-x:hidden}
  body.cliro-v7153 .main,
  body.cliro-v7153 main,
  body.cliro-v7153 .app-main,
  body.cliro-v7153 .page-content,
  body.cliro-v7153 .content-wrap{
    width:100%;
    max-width:none;
    min-width:0;
  }
  body.cliro-v7153 .main{padding:12px}
  body.cliro-v7153 :where(.card,.panel,.company-admin-hero,.company-create-card,.company-card,.partner-hero-v436,.partner-card-v436,.partner-panel-v436){
    width:100%;
    max-width:none;
    min-width:0;
    margin-left:0;
    margin-right:0;
    border-radius:18px;
  }
  body.cliro-v7153 :where(.grid,.cards,.stats,.split,.form-grid,.dashboard-grid,.home-hero,.company-grid,.team-add-grid,.team-member-form,.partner-grid-v436,.partner-form-grid-v436){
    grid-template-columns:1fr;
  }
  body.cliro-v7153 :where(input,select,textarea,button,.btn){max-width:100%;min-width:0}
  body.cliro-v7153 .table-wrap{width:100%;max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}
  body.cliro-v7153 .headbar-context-v711{grid-template-columns:1fr;gap:10px;padding-inline:12px}
  body.cliro-v7153 .headbar-title-v711,
  body.cliro-v7153 .headbar-timer-v712,
  body.cliro-v7153 .headbar-company-v712{width:100%;max-width:none;justify-self:stretch}
  body.cliro-v7153 .headbar-timer-v712 .page-head-timer-card{width:100%;min-width:0;max-width:none}
  body.cliro-v7153 .headbar-company-v712 .business-switch{width:100%;max-width:none}
  body.cliro-v7153 .headbar-create-panel{position:fixed;left:12px;right:12px;top:auto;bottom:max(12px,env(safe-area-inset-bottom));width:auto;max-height:min(72vh,620px);border-radius:20px}
}

@media(max-width:520px){
  body.cliro-v7153 .main{padding:9px}
  body.cliro-v7153 :where(.card,.panel){padding:14px}
  body.cliro-v7153 .headbar-timer-v712 .page-head-timer-card{grid-template-columns:40px minmax(0,1fr) auto;padding:9px 10px;border-radius:15px}
  body.cliro-v7153 .headbar-timer-v712 .page-head-timer-time{font-size:23px}
  body.cliro-v7153 .headbar-timer-v712 .page-head-timer-cta{padding-inline:8px}
}

/* Cliro V715.4 Fix 007 — UI-Konsolidierung nach vollständigem Quellcode-Scan. */
:root{
  --cliro-ui-page-max:1760px;
  --cliro-ui-content-gap:20px;
  --cliro-ui-panel-radius:22px;
  --cliro-ui-panel-padding:clamp(18px,2vw,28px);
}

/* Seitenrhythmus und wiederkehrende Oberflächen. */
body.cliro-v7154 .page-content-v711{
  box-sizing:border-box;
  width:min(100%,var(--cliro-ui-page-max));
  margin-inline:auto;
  padding:clamp(18px,2.1vw,34px) clamp(16px,2.5vw,40px) 64px;
}
body.cliro-v7154 .page-content-v711 > :where(.panel,.card,.box,section[role="region"]){
  min-width:0;
}
body.cliro-v7154 :where(.panel,.card,.box,.widget){
  border-radius:var(--cliro-ui-panel-radius);
}
body.cliro-v7154 :where(.panel,.card){
  border-color:var(--cliro-v7153-border);
  box-shadow:0 12px 34px rgba(16,32,48,.075);
}
html.cliro-theme-dark body.cliro-v7154 :where(.panel,.card,.box,.widget){
  background-color:#0c1724;
  border-color:#354a60;
  box-shadow:0 16px 38px rgba(0,0,0,.25);
}
body.cliro-v7154 :where(.section-title-row,.section-head,.panel-headline){
  align-items:flex-start;
  gap:14px;
}
body.cliro-v7154 :where(.toolbar,.filter-row,.row-actions,.form-actions){
  gap:10px;
}
body.cliro-v7154 :where(.toolbar,.filter-row){
  align-items:end;
}
body.cliro-v7154 :where(.empty-state){
  min-height:120px;
  display:grid;
  place-items:center;
  padding:24px;
  border:1px dashed var(--cliro-v7153-border-strong);
  border-radius:18px;
  background:color-mix(in srgb,var(--cliro-v7153-surface-soft) 68%,transparent);
  text-align:center;
}
body.cliro-v7154 :where(.notice,.success,.warning,.error,.alert){
  border-radius:16px;
  line-height:1.45;
}

/* Formulare: konsistente Lesbarkeit und ausreichend große Ziele. */
body.cliro-v7154 :where(.form-grid,.inline-grid){
  column-gap:16px;
  row-gap:15px;
}
body.cliro-v7154 .field{
  min-width:0;
}
body.cliro-v7154 .field > label,
body.cliro-v7154 fieldset > legend{
  display:block;
  margin-bottom:6px;
  font-size:13px;
  font-weight:850;
  line-height:1.35;
}
body.cliro-v7154 :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}
body.cliro-v7154 textarea{
  min-height:112px;
  resize:vertical;
}
body.cliro-v7154 :where(.btn,button,input[type="submit"],input[type="button"]){
  font-weight:800;
}

/* Tabellen werden auf kleinen Flächen scrollbar statt abgeschnitten. */
body.cliro-v7154 :where(.table-wrap,.table-scroll,.cliro-table-scroll-007){
  width:100%;
  max-width:100%;
  overflow:auto;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
  border-radius:16px;
}
body.cliro-v7154 .cliro-table-scroll-007:focus-visible{
  outline:3px solid var(--cliro-v7153-focus);
  outline-offset:3px;
}
body.cliro-v7154 :where(.table-wrap,.table-scroll,.cliro-table-scroll-007) > table{
  width:100%;
  min-width:max-content;
}
body.cliro-v7154 table :where(th,td){
  vertical-align:middle;
}
body.cliro-v7154 table th{
  white-space:nowrap;
}

/* Primärer Kopfbereich: Navigation in eigener Zeile, keine abgeschnittenen Labels. */
@media (min-width:1181px){
  body.cliro-v7154 .headbar-primary-v711{
    grid-template-columns:minmax(220px,auto) minmax(0,1fr) auto;
    grid-template-rows:auto auto;
    min-height:116px;
    row-gap:9px;
  }
  body.cliro-v7154 .headbar-brand-v711{grid-column:1;grid-row:1}
  body.cliro-v7154 .headbar-actions-v711{grid-column:3;grid-row:1}
  body.cliro-v7154 .headbar-main-nav-v711{
    grid-column:1/-1;
    grid-row:2;
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:8px;
    width:100%;
    overflow:visible;
  }
  body.cliro-v7154 .headbar-main-nav-v711 a{
    min-height:46px;
    min-width:0;
    padding:8px 11px;
  }
  body.cliro-v7154 .headbar-main-nav-v711 .nav-label{
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
    line-height:1.18;
  }
}

/* Kontextzeile: symmetrische Außenspalten halten die Timerkarte geometrisch mittig. */
@media (min-width:1281px){
  body.cliro-v7154 .headbar-context-v711{
    display:grid;
    grid-template-columns:minmax(280px,1fr) minmax(540px,680px) minmax(280px,1fr);
    align-items:center;
    column-gap:clamp(20px,2vw,34px);
    min-height:106px;
    padding-block:14px;
  }
  body.cliro-v7154 .headbar-title-v711{grid-column:1;justify-self:stretch}
  body.cliro-v7154 .headbar-timer-v712{grid-column:2;justify-self:stretch;width:100%}
  body.cliro-v7154 .headbar-company-v712{grid-column:3;justify-self:stretch;width:100%;max-width:none}
  body.cliro-v7154 .headbar-company-v712 .business-switch{width:min(100%,520px);max-width:520px}
}
@media (min-width:981px) and (max-width:1280px){
  body.cliro-v7154 .headbar-context-v711{
    display:grid;
    grid-template-columns:minmax(230px,1fr) minmax(450px,560px) minmax(230px,1fr);
    align-items:center;
    gap:18px;
    min-height:102px;
  }
  body.cliro-v7154 .headbar-title-v711{grid-column:1}
  body.cliro-v7154 .headbar-timer-v712{grid-column:2;justify-self:stretch;width:100%}
  body.cliro-v7154 .headbar-company-v712{grid-column:3;width:100%;max-width:none}
}
@media (min-width:781px) and (max-width:980px){
  body.cliro-v7154 .headbar-context-v711{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(280px,1fr);
    grid-template-areas:"title company" "timer timer";
    gap:12px 18px;
    padding-block:14px;
  }
  body.cliro-v7154 .headbar-title-v711{grid-area:title}
  body.cliro-v7154 .headbar-company-v712{grid-area:company;width:100%;max-width:none}
  body.cliro-v7154 .headbar-timer-v712{grid-area:timer;width:min(100%,680px);justify-self:center}
}

/* Timer: bewusst breit, komplett mittig positioniert, Inhalt jedoch links ausgerichtet. */
body.cliro-v7154 .headbar-timer-v712{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
}
body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card{
  box-sizing:border-box;
  position:relative;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  width:100%;
  max-width:680px;
  min-width:0;
  min-height:76px;
  margin:0;
  padding:12px 14px;
  border:1px solid #c8d5df;
  border-radius:20px;
  background:#fff;
  background-image:none;
  color:#102030;
  -webkit-text-fill-color:#102030;
  box-shadow:0 10px 28px rgba(15,23,42,.09);
  overflow:hidden;
  transform:none;
  text-align:left;
}
body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card::before,
body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card::after{
  display:none;
  content:none;
}
body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card:hover{
  transform:none;
  border-color:#8198aa;
  box-shadow:0 13px 32px rgba(15,23,42,.13);
}
body.cliro-v7154 .headbar-timer-v712 .page-head-timer-icon{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  min-width:48px;
  border-radius:15px;
  background:#12395b;
  color:#fff;
  -webkit-text-fill-color:#fff;
  box-shadow:none;
}
body.cliro-v7154 .headbar-timer-v712 .page-head-timer-body{
  display:grid;
  justify-items:start;
  align-content:center;
  gap:2px;
  min-width:0;
  text-align:left;
}
body.cliro-v7154 .headbar-timer-v712 .page-head-timer-label{
  display:inline-flex;
  align-items:center;
  gap:7px;
  width:auto;
  max-width:100%;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#52697b;
  -webkit-text-fill-color:#52697b;
  font-size:10px;
  font-weight:900;
  line-height:1.2;
  letter-spacing:.075em;
  text-transform:uppercase;
}
body.cliro-v7154 .headbar-timer-v712 .page-head-timer-time{
  display:block;
  margin:1px 0;
  color:#102030;
  -webkit-text-fill-color:#102030;
  font-size:30px;
  line-height:1;
  letter-spacing:-.04em;
  font-variant-numeric:tabular-nums;
}
body.cliro-v7154 .headbar-timer-v712 .page-head-timer-body small{
  display:block;
  width:100%;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#52697b;
  -webkit-text-fill-color:#52697b;
  font-size:12px;
  font-weight:720;
  line-height:1.25;
}
body.cliro-v7154 .headbar-timer-v712 .page-head-timer-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 14px;
  border-radius:12px;
  background:#eef3f7;
  color:#12395b;
  -webkit-text-fill-color:#12395b;
  box-shadow:none;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}
body.cliro-v7154 .headbar-timer-v712 .page-head-timer-units{display:none}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card{
  background:#101f2e;
  border-color:#40566c;
  color:#f8fafc;
  -webkit-text-fill-color:#f8fafc;
  box-shadow:0 12px 30px rgba(0,0,0,.28);
}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .page-head-timer-icon{background:#1b4569}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .page-head-timer-time{color:#fff;-webkit-text-fill-color:#fff}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 :where(.page-head-timer-label,.page-head-timer-body small){color:#c4d0dc;-webkit-text-fill-color:#c4d0dc}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .page-head-timer-cta{background:#19344b;color:#f8fafc;-webkit-text-fill-color:#f8fafc}

/* Firmen- und Neu-Menüs bleiben über dem Inhalt. */
body.cliro-v7154 .headbar-actions-v711,
body.cliro-v7154 .headbar-create-menu,
body.cliro-v7154 .headbar-profile-v711,
body.cliro-v7154 .business-switch{position:relative;overflow:visible}
body.cliro-v7154 .headbar-create-menu{z-index:12020}
body.cliro-v7154 .headbar-create-menu[open]{z-index:12040}
body.cliro-v7154 .headbar-create-panel{z-index:12060}
body.cliro-v7154 .business-switch[open]{z-index:12030}
body.cliro-v7154 .business-switch-menu{z-index:12050}
body.cliro-v7154 .headbar-create-menu>summary,
body.cliro-v7154 .headbar-create-menu>summary :where(span,strong,small){
  --cliro-a11y-symbol-color:#071421;
  color:#071421;
  -webkit-text-fill-color:#071421;
}
body.cliro-v7154 .headbar-create-menu>summary :where(span,small){background-color:transparent}
body.cliro-v7154 .headbar-create-menu>summary>span:first-child{background:rgba(7,20,33,.10)}

/* Dashboard: Firma/To-dos links, Arbeitsbereich rechts; gleiche visuelle Wertigkeit. */
body.cliro-v7154 .home-hero.panel{
  grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr);
  gap:22px;
  align-items:stretch;
}
body.cliro-v7154 .home-hero.panel>div:first-child,
body.cliro-v7154 .home-hero-workspace{
  min-width:0;
}
body.cliro-v7154 .home-hero-workspace .action-center-v583{
  height:100%;
  min-height:100%;
  margin:0;
}

/* Sprachumschalter: aktiver Zustand mit echtem Textkontrast. */
html body.cliro-v7154 a.cliro-a11y-language-link.is-active,
html body.cliro-v7154 a.cliro-a11y-language-link[aria-current="page"]{
  background-color:#12395b;
  color:#fff;
  -webkit-text-fill-color:#fff;
}
html.cliro-theme-dark body.cliro-v7154 a.cliro-a11y-language-link.is-active,
html.cliro-theme-dark body.cliro-v7154 a.cliro-a11y-language-link[aria-current="page"]{
  background-color:#8fb8ff;
  color:#07111d;
  -webkit-text-fill-color:#07111d;
}

/* Mobile: entweder klarer Vollflächenbereich oder sauberer Container. */
@media (max-width:900px){
  body.cliro-v7154 .page-content-v711{
    width:100%;
    max-width:none;
    padding:14px 12px 96px;
  }
  body.cliro-v7154 .home-hero.panel{
    grid-template-columns:1fr;
    gap:14px;
  }
  body.cliro-v7154 :where(.form-grid,.inline-grid,.stats,.grid,.dashboard-grid,.two-col,.split){
    grid-template-columns:1fr;
  }
  body.cliro-v7154 :where(.toolbar,.filter-row,.section-title-row,.section-head,.panel-headline,.form-actions,.row-actions){
    flex-wrap:wrap;
  }
  body.cliro-v7154 :where(.toolbar,.filter-row,.form-actions) > :where(.btn,button,.field){
    max-width:100%;
  }
}
@media (max-width:780px){
  body.cliro-v7154 .headbar-context-v711{
    grid-template-columns:1fr;
    grid-template-areas:none;
    gap:10px;
  }
  body.cliro-v7154 .headbar-title-v711,
  body.cliro-v7154 .headbar-timer-v712,
  body.cliro-v7154 .headbar-company-v712{
    grid-area:auto;
    width:100%;
    max-width:none;
    justify-self:stretch;
  }
  body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card{
    max-width:none;
  }
  body.cliro-v7154 .headbar-company-v712 .business-switch{
    width:100%;
    max-width:none;
  }
}
@media (max-width:560px){
  body.cliro-v7154 .page-content-v711{padding-inline:9px}
  body.cliro-v7154 :where(.panel,.card,.box){
    width:100%;
    max-width:none;
    margin-inline:0;
    padding:14px;
    border-radius:18px;
  }
  body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card{
    grid-template-columns:42px minmax(0,1fr) auto;
    gap:10px;
    min-height:68px;
    padding:10px;
    border-radius:17px;
  }
  body.cliro-v7154 .headbar-timer-v712 .page-head-timer-icon{
    width:42px;
    height:42px;
    min-width:42px;
  }
  body.cliro-v7154 .headbar-timer-v712 .page-head-timer-time{font-size:25px}
  body.cliro-v7154 .headbar-timer-v712 .page-head-timer-body small{font-size:11px}
  body.cliro-v7154 .headbar-timer-v712 .page-head-timer-cta{min-height:36px;padding-inline:9px}
  body.cliro-v7154 :where(.btn,button,input[type="submit"],input[type="button"]){min-height:46px}
}


/* Fix 008: Passwortanzeige als eigenes kompaktes Feld neben dem Eingabefeld. */
body.cliro-v7154 .cliro-v7154-password-control,
body.cliro-v7154 .cliro-v7153-password-field.cliro-v7154-password-control,
.cliro-v7153-auth-page .cliro-v7154-password-control {
  position: static ;
  display: grid ;
  grid-template-columns: minmax(0, 1fr) 48px ;
  align-items: stretch ;
  gap: 8px ;
  width: 100% ;
  overflow: visible ;
}
body.cliro-v7154 .cliro-v7154-password-control > input,
.cliro-v7153-auth-page .cliro-v7154-password-control > input {
  grid-column: 1 ;
  width: 100% ;
  min-width: 0 ;
  padding-inline-end: 12px ;
}
body.cliro-v7154 .cliro-v7154-password-control > .cliro-v7153-password-toggle,
.cliro-v7153-auth-page .cliro-v7154-password-control > .cliro-v7153-password-toggle {
  position: static ;
  inset: auto ;
  grid-column: 2 ;
  align-self: stretch ;
  transform: none ;
  display: grid ;
  place-items: center ;
  width: 48px ;
  min-width: 48px ;
  height: auto ;
  min-height: 48px ;
  margin: 0 ;
  padding: 0 ;
  border: 1px solid var(--cliro-v7153-border, #cbd5e1) ;
  border-radius: 12px ;
  background: var(--cliro-v7153-surface-soft, #f1f5f9) ;
  color: var(--cliro-v7153-text, #102030) ;
  -webkit-text-fill-color: var(--cliro-v7153-text, #102030) ;
  box-shadow: none ;
  line-height: 1 ;
}
body.cliro-v7154 .cliro-v7154-password-control > .cliro-v7153-password-toggle svg,
.cliro-v7153-auth-page .cliro-v7154-password-control > .cliro-v7153-password-toggle svg {
  width: 21px ;
  height: 21px ;
  pointer-events: none ;
}
body.cliro-v7154 .cliro-v7154-password-control > .cliro-v7153-password-toggle:hover,
.cliro-v7153-auth-page .cliro-v7154-password-control > .cliro-v7153-password-toggle:hover {
  border-color: var(--cliro-v7153-primary, #12395b) ;
}
body.cliro-v7154 .cliro-v7154-password-control > .cliro-v7153-password-toggle:focus-visible,
.cliro-v7153-auth-page .cliro-v7154-password-control > .cliro-v7153-password-toggle:focus-visible {
  outline: 3px solid rgba(18, 57, 91, .28) ;
  outline-offset: 2px ;
}
html.cliro-theme-dark body.cliro-v7154 .cliro-v7154-password-control > .cliro-v7153-password-toggle,
html.cliro-theme-dark .cliro-v7153-auth-page .cliro-v7154-password-control > .cliro-v7153-password-toggle {
  background: #142b3e ;
  border-color: #496177 ;
  color: #f8fafc ;
  -webkit-text-fill-color: #f8fafc ;
}
@media (max-width: 560px) {
  body.cliro-v7154 .cliro-v7154-password-control,
  .cliro-v7153-auth-page .cliro-v7154-password-control {
    grid-template-columns: minmax(0, 1fr) 46px ;
    gap: 7px ;
  }
  body.cliro-v7154 .cliro-v7154-password-control > .cliro-v7153-password-toggle,
  .cliro-v7153-auth-page .cliro-v7154-password-control > .cliro-v7153-password-toggle {
    width: 46px ;
    min-width: 46px ;
    min-height: 46px ;
  }
}

/* Fix 009: breiter, ruhiger und geometrisch mittiger Header-Timer. */
html body.cliro-v7154 .headbar-context-v711{
  display:grid;
  grid-template-columns:minmax(260px,1fr) minmax(520px,640px) minmax(260px,1fr);
  align-items:center;
  column-gap:clamp(24px,3vw,52px);
  row-gap:14px;
}
html body.cliro-v7154 .headbar-title-v711{justify-self:start;min-width:0}
html body.cliro-v7154 .headbar-timer-v712{
  justify-self:center;
  width:100%;
  max-width:640px;
  min-width:0;
}
html body.cliro-v7154 .headbar-company-v712{
  justify-self:end;
  width:100%;
  max-width:430px;
  min-width:0;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card,
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card.cliro-timer-009{
  position:relative;
  display:grid;
  grid-template-columns:46px minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  width:100%;
  max-width:640px;
  min-height:76px;
  margin:0;
  padding:11px 12px;
  border:1px solid #c9d6e3;
  border-radius:18px;
  background:#f8fbfe;
  background-image:none;
  color:#132033;
  -webkit-text-fill-color:#132033;
  box-shadow:0 8px 20px rgba(15,23,42,.075);
  overflow:hidden;
  text-decoration:none;
  transform:none;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card:before,
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card:after{
  display:none;
  content:none;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card:hover{
  transform:translateY(-1px);
  border-color:#91a9bf;
  background:#fff;
  box-shadow:0 11px 25px rgba(15,23,42,.10);
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card:focus-visible{
  outline:3px solid rgba(42,114,184,.35);
  outline-offset:3px;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-icon{
  position:relative;
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  min-width:46px;
  border:1px solid #bed0e0;
  border-radius:14px;
  background:#e8f0f7;
  color:#143f63;
  -webkit-text-fill-color:#143f63;
  box-shadow:none;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-icon svg{
  width:21px;
  height:21px;
  color:currentColor;
  stroke:currentColor;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card.is-running .page-head-timer-icon{
  border-color:#8bd4b4;
  background:#e5f8ef;
  color:#076644;
  -webkit-text-fill-color:#076644;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card.is-running .page-head-timer-icon:after{
  content:"";
  position:absolute;
  top:5px;
  right:5px;
  width:8px;
  height:8px;
  border:2px solid #fff;
  border-radius:999px;
  background:#0aa36c;
  box-shadow:none;
  transform:none;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-body{
  display:grid;
  grid-template-columns:max-content minmax(0,1fr);
  grid-template-areas:"label time" "status status";
  align-items:center;
  column-gap:14px;
  row-gap:4px;
  min-width:0;
  text-align:left;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-label{
  grid-area:label;
  display:inline-flex;
  align-items:center;
  gap:7px;
  width:auto;
  max-width:none;
  min-height:0;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#516477;
  -webkit-text-fill-color:#516477;
  font-size:10px;
  font-weight:900;
  letter-spacing:.075em;
  line-height:1.2;
  text-transform:uppercase;
  white-space:nowrap;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-label i{
  width:7px;
  height:7px;
  border-radius:999px;
  background:#8a9aac;
  box-shadow:none;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card.is-running .page-head-timer-label i{
  background:#0aa36c;
  box-shadow:0 0 0 3px rgba(10,163,108,.14);
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-time{
  grid-area:time;
  display:block;
  justify-self:start;
  min-width:0;
  margin:0;
  padding:0;
  color:#0c1c2f;
  -webkit-text-fill-color:#0c1c2f;
  font-size:clamp(27px,2vw,32px);
  font-weight:900;
  line-height:1;
  letter-spacing:-.035em;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-body>small{
  grid-area:status;
  display:block;
  min-width:0;
  max-width:100%;
  margin:0;
  color:#627386;
  -webkit-text-fill-color:#627386;
  font-size:11px;
  font-weight:750;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:92px;
  min-height:44px;
  margin:0;
  padding:0 14px;
  border:1px solid #164c77;
  border-radius:13px;
  background:#164c77;
  color:#fff;
  -webkit-text-fill-color:#fff;
  box-shadow:none;
  font-size:12px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card.is-running .page-head-timer-cta{
  border-color:#08704b;
  background:#08704b;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-units{display:none}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card{
  border-color:#40546a;
  background:#111c29;
  color:#f8fafc;
  -webkit-text-fill-color:#f8fafc;
  box-shadow:0 10px 24px rgba(0,0,0,.24);
}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card:hover{
  border-color:#60778e;
  background:#142130;
}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .page-head-timer-icon{
  border-color:#405a72;
  background:#1b3043;
  color:#b8d8f3;
  -webkit-text-fill-color:#b8d8f3;
}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card.is-running .page-head-timer-icon{
  border-color:#316f59;
  background:#153b2e;
  color:#8ce2bd;
  -webkit-text-fill-color:#8ce2bd;
}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .page-head-timer-label{
  color:#a9b8c8;
  -webkit-text-fill-color:#a9b8c8;
}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .page-head-timer-time{
  color:#fff;
  -webkit-text-fill-color:#fff;
}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .page-head-timer-body>small{
  color:#b8c5d2;
  -webkit-text-fill-color:#b8c5d2;
}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .page-head-timer-cta{
  border-color:#52779a;
  background:#1b476b;
  color:#fff;
  -webkit-text-fill-color:#fff;
}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card.is-running .page-head-timer-cta{
  border-color:#368769;
  background:#176044;
}
@media(max-width:1420px){
  html body.cliro-v7154 .headbar-context-v711{
    grid-template-columns:minmax(230px,1fr) minmax(470px,570px) minmax(230px,1fr);
    column-gap:24px;
  }
  html body.cliro-v7154 .headbar-timer-v712{max-width:570px}
}
@media(max-width:1120px){
  html body.cliro-v7154 .headbar-context-v711{
    grid-template-columns:minmax(0,1fr) minmax(300px,1fr);
    grid-template-areas:"title company" "timer timer";
  }
  html body.cliro-v7154 .headbar-title-v711{grid-area:title}
  html body.cliro-v7154 .headbar-company-v712{grid-area:company;max-width:100%}
  html body.cliro-v7154 .headbar-timer-v712{grid-area:timer;max-width:640px}
}
@media(max-width:780px){
  html body.cliro-v7154 .headbar-context-v711{
    grid-template-columns:1fr;
    grid-template-areas:"title" "timer" "company";
  }
  html body.cliro-v7154 .headbar-title-v711,
  html body.cliro-v7154 .headbar-timer-v712,
  html body.cliro-v7154 .headbar-company-v712{
    width:100%;
    max-width:none;
    justify-self:stretch;
  }
}
@media(max-width:560px){
  html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card{
    grid-template-columns:42px minmax(0,1fr) auto;
    gap:10px;
    min-height:70px;
    padding:9px 10px;
    border-radius:16px;
  }
  html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-icon{
    width:42px;
    height:42px;
    min-width:42px;
    border-radius:12px;
  }
  html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-body{
    grid-template-columns:1fr;
    grid-template-areas:"time" "status";
    row-gap:3px;
  }
  html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-label{display:none}
  html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-time{font-size:25px}
  html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-cta{
    min-width:44px;
    min-height:40px;
    padding:0 9px;
    font-size:0;
  }
  html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-cta:after{
    content:"→";
    font-size:18px;
    line-height:1;
  }
}

/* Cliro V715.4 Fix 010 – sichere Geheimnisanzeige */
.secret-actions-v7154{
  display:flex;
  align-items:flex-start;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}
.secret-output-v7154{
  display:block;
  flex:1 1 320px;
  min-width:0;
  padding:11px 13px;
  border:1px solid var(--border,#cfd9e4);
  border-radius:12px;
  background:var(--surface-soft,#f6f8fb);
  color:var(--text,#101828);
  font:700 13px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  overflow-wrap:anywhere;
  user-select:all;
}
html.cliro-theme-dark .secret-output-v7154{
  border-color:#3c556d;
  background:#091a29;
  color:#f8fafc;
}
@media(max-width:640px){
  .secret-actions-v7154{display:grid;grid-template-columns:1fr}
  .secret-actions-v7154 .btn,
  .secret-output-v7154{width:100%;max-width:none}
}

/* Cliro V715.4 Fix 010 – konsistente Ebenenskala der aktiven Oberfläche */
body.cliro-v7154 .app-headbar-v711{z-index:100}
body.cliro-v7154 .headbar-primary-v711,
body.cliro-v7154 .headbar-context-v711,
body.cliro-v7154 .headbar-subnav-wrap-v711{z-index:auto}
body.cliro-v7154 .headbar-create-menu,
body.cliro-v7154 .business-switch,
body.cliro-v7154 [data-headbar-profile-v711]{z-index:180}
body.cliro-v7154 .headbar-create-menu[open],
body.cliro-v7154 .business-switch[open],
body.cliro-v7154 [data-headbar-profile-v711][open]{z-index:210}
body.cliro-v7154 .headbar-create-panel,
body.cliro-v7154 .business-switch-menu,
body.cliro-v7154 .headbar-profile-panel-v711{z-index:220}
body.cliro-v7154 .global-search-overlay-v583{z-index:900}
body.cliro-v7154 .task-notification-backdrop{z-index:910}
body.cliro-v7154 .task-notification-dialog{z-index:920}
body.cliro-v7154 .cliro-v7153-tour-overlay{z-index:950}
body.cliro-v7154 .cliro-v7153-tour-dialog{z-index:960}
body.cliro-v7154 .skip-link{z-index:1100}

/* Cliro V715.4 Fix 011 – intuitives, konsistentes Bedienkonzept */
:root{
  --cliro-ux-page-max:1720px;
  --cliro-ux-space-1:6px;
  --cliro-ux-space-2:10px;
  --cliro-ux-space-3:14px;
  --cliro-ux-space-4:18px;
  --cliro-ux-space-5:24px;
  --cliro-ux-space-6:32px;
  --cliro-ux-radius-sm:12px;
  --cliro-ux-radius-md:18px;
  --cliro-ux-radius-lg:24px;
  --cliro-ux-shadow:0 12px 32px rgba(15,23,42,.075);
  --cliro-ux-shadow-hover:0 18px 44px rgba(15,23,42,.12);
}
html body.cliro-v7154 .page-content-v711{
  box-sizing:border-box;
  width:min(100%,var(--cliro-ux-page-max));
  max-width:var(--cliro-ux-page-max);
  margin-inline:auto;
  padding:clamp(18px,2.2vw,34px);
}
html body.cliro-v7154 .panel,
html body.cliro-v7154 .card,
html body.cliro-v7154 .settings-block,
html body.cliro-v7154 .form-section{
  border-radius:var(--cliro-ux-radius-lg);
  border:1px solid #d8e1eb;
  background:#fff;
  box-shadow:var(--cliro-ux-shadow);
}
html body.cliro-v7154 .panel{padding:clamp(18px,2vw,28px)}
html body.cliro-v7154 .card,
html body.cliro-v7154 .settings-block,
html body.cliro-v7154 .form-section{padding:clamp(16px,1.6vw,22px)}
html body.cliro-v7154 .panel+.panel,
html body.cliro-v7154 .card+.card,
html body.cliro-v7154 .settings-block+.settings-block{margin-top:18px}
html body.cliro-v7154 .panel-headline,
html body.cliro-v7154 .section-title-row,
html body.cliro-v7154 .section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin:0 0 20px;
}
html body.cliro-v7154 .panel-headline h2,
html body.cliro-v7154 .section-title-row h2,
html body.cliro-v7154 .section-head h2{
  margin:0;
  font-size:clamp(22px,2vw,30px);
  line-height:1.12;
  letter-spacing:-.035em;
}
html body.cliro-v7154 .muted,
html body.cliro-v7154 .field-help,
html body.cliro-v7154 .field-hint{
  color:#66788a;
  line-height:1.5;
}

/* Klare Aktionshierarchie */
html body.cliro-v7154 .btn{
  min-height:42px;
  border-radius:13px;
  padding:9px 14px;
  font-weight:850;
  line-height:1.2;
  box-shadow:none;
  transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,background .14s ease;
}
html body.cliro-v7154 .btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(15,23,42,.10)}
html body.cliro-v7154 .btn.primary{background:#164c77;border-color:#164c77;color:#fff;-webkit-text-fill-color:#fff}
html body.cliro-v7154 .btn.secondary{background:#eef4f9;border-color:#d5e0ea;color:#17324b;-webkit-text-fill-color:#17324b}
html body.cliro-v7154 .btn.danger{background:#fff5f4;border-color:#f3b3ae;color:#a81f17;-webkit-text-fill-color:#a81f17}
html body.cliro-v7154 .hero-actions,
html body.cliro-v7154 .toolbar,
html body.cliro-v7154 .form-actions,
html body.cliro-v7154 .row-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}
html body.cliro-v7154 .form-actions{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid #e5ebf1;
}

/* Formulare: verständliche Gruppen, starke Fokusführung */
html body.cliro-v7154 .form-grid{
  display:grid;
  gap:16px;
}
html body.cliro-v7154 .field{min-width:0;margin:0}
html body.cliro-v7154 .field>label,
html body.cliro-v7154 label.label,
html body.cliro-v7154 .field-label{
  display:flex;
  align-items:center;
  gap:6px;
  margin:0 0 7px;
  color:#25384b;
  font-size:13px;
  font-weight:850;
  line-height:1.3;
}
html body.cliro-v7154 .cliro-required-marker-v011{
  color:#b42318;
  font-weight:950;
}
html body.cliro-v7154 input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
html body.cliro-v7154 select,
html body.cliro-v7154 textarea{
  min-height:46px;
  border-radius:13px;
  border:1px solid #cbd7e3;
  background:#fff;
  color:#172b3d;
  -webkit-text-fill-color:#172b3d;
  box-shadow:0 1px 2px rgba(15,23,42,.035);
}
html body.cliro-v7154 textarea{min-height:110px;line-height:1.5}
html body.cliro-v7154 input:focus-visible,
html body.cliro-v7154 select:focus-visible,
html body.cliro-v7154 textarea:focus-visible,
html body.cliro-v7154 button:focus-visible,
html body.cliro-v7154 a:focus-visible,
html body.cliro-v7154 summary:focus-visible{
  outline:3px solid #84b9ec;
  outline-offset:3px;
  box-shadow:0 0 0 5px rgba(42,125,195,.16);
}
html body.cliro-v7154 .cliro-form-busy-v011{opacity:.72;cursor:progress}

/* Tabellen: bessere Leseführung und Bedienbarkeit */
html body.cliro-v7154 .table-wrap,
html body.cliro-v7154 .table-scroll,
html body.cliro-v7154 .cliro-responsive-table{
  border:1px solid #d8e1eb;
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 24px rgba(15,23,42,.045);
}
html body.cliro-v7154 table.table{width:100%;border-collapse:separate;border-spacing:0}
html body.cliro-v7154 table.table thead th{
  position:sticky;
  top:0;
  z-index:2;
  background:#f2f6fa;
  color:#405367;
  font-size:11px;
  font-weight:900;
  letter-spacing:.045em;
  text-transform:uppercase;
}
html body.cliro-v7154 table.table td,
html body.cliro-v7154 table.table th{padding:13px 14px;border-bottom:1px solid #e7edf3}
html body.cliro-v7154 table.table tbody tr:hover td{background:#f8fbfd}
html body.cliro-v7154 table.table tbody tr:last-child td{border-bottom:0}
html body.cliro-v7154 .cliro-table-scroll-hint-v011{
  display:none;
  margin:0 0 8px;
  color:#617487;
  font-size:12px;
  font-weight:750;
}

/* Rückmeldungen und Leerzustände */
html body.cliro-v7154 .success,
html body.cliro-v7154 .notice,
html body.cliro-v7154 .warning,
html body.cliro-v7154 .error{
  border-radius:16px;
  padding:14px 16px;
  line-height:1.45;
  box-shadow:none;
}
html body.cliro-v7154 .success{background:#edfdf4;border-color:#9bd5b4;color:#075c3b}
html body.cliro-v7154 .notice{background:#f0f7ff;border-color:#a8c9e7;color:#164c77}
html body.cliro-v7154 .warning{background:#fff9e8;border-color:#e5c576;color:#6c4b05}
html body.cliro-v7154 .error{background:#fff2f1;border-color:#e8aaa5;color:#8f1d17}
html body.cliro-v7154 .empty-state{
  display:grid;
  place-items:center;
  min-height:180px;
  padding:28px;
  border:1px dashed #b9c8d7;
  border-radius:20px;
  background:#f8fbfd;
  text-align:center;
}

/* Navigation: Orientierung vor maximaler Dichte */
html body.cliro-v7154 .headbar-primary-v711{
  min-height:112px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  grid-template-rows:auto auto;
  align-items:center;
  gap:8px 24px;
  padding:12px clamp(18px,2.4vw,38px);
}
html body.cliro-v7154 .headbar-brand-v711{grid-column:1;grid-row:1 / span 2;align-self:center}
html body.cliro-v7154 .headbar-main-nav-v711{
  grid-column:2;
  grid-row:2;
  justify-content:flex-start;
  width:100%;
  overflow-x:auto;
  scrollbar-width:thin;
  padding:2px 0;
}
html body.cliro-v7154 .headbar-main-nav-v711 a{
  flex:0 0 auto;
  min-height:42px;
  padding:7px 12px;
}
html body.cliro-v7154 .headbar-main-nav-v711 a span:not(.nav-ico):not(.nav-badge){
  max-width:none;
  overflow:visible;
  text-overflow:clip;
}
html body.cliro-v7154 .headbar-actions-v711{grid-column:2 / span 2;grid-row:1;justify-self:end}

/* Kontextzeile: Titel | wirklich mittiger Timer | Firma */
html body.cliro-v7154 .headbar-context-v711{
  grid-template-columns:minmax(280px,1fr) minmax(560px,700px) minmax(280px,1fr);
  gap:clamp(20px,2.4vw,42px);
  min-height:116px;
  padding:14px clamp(18px,2.4vw,38px);
}
html body.cliro-v7154 .headbar-title-v711{justify-self:start;min-width:0}
html body.cliro-v7154 .headbar-company-v712{justify-self:end;width:min(100%,420px);max-width:420px}
html body.cliro-v7154 .headbar-timer-v712{
  justify-self:center;
  width:100%;
  max-width:700px;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card{
  display:grid;
  grid-template-columns:58px minmax(180px,1fr) auto 112px;
  align-items:center;
  gap:18px;
  width:100%;
  min-height:86px;
  padding:12px 14px;
  border:1px solid #c8d7e5;
  border-radius:22px;
  background:linear-gradient(135deg,#fff 0%,#f4f8fb 100%);
  box-shadow:0 14px 34px rgba(15,23,42,.09);
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-icon{
  width:54px;
  height:54px;
  min-width:54px;
  border-radius:17px;
  border:1px solid #d2dfeb;
  background:#eaf2f8;
  color:#164c77;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-body{
  display:grid;
  grid-template-columns:1fr;
  grid-template-areas:none;
  gap:5px;
  min-width:0;
  text-align:left;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-label{
  display:inline-flex;
  color:#526779;
  font-size:11px;
  letter-spacing:.08em;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-context{
  display:block;
  max-width:100%;
  margin:0;
  overflow:hidden;
  color:#2f4559;
  font-size:13px;
  font-weight:750;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-time{
  justify-self:end;
  min-width:148px;
  margin:0;
  color:#0b1f31;
  font-size:clamp(34px,2.5vw,44px);
  font-weight:900;
  line-height:1;
  letter-spacing:-.055em;
  font-variant-numeric:tabular-nums;
  text-align:right;
  white-space:nowrap;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-cta{
  min-width:112px;
  min-height:48px;
  padding:0 16px;
  border-radius:15px;
  font-size:13px;
}

/* Dashboard: klare Hauptaufgabe links, Arbeitsbereich rechts */
html body.cliro-v7154 .cliro-dashboard-overview-v011{
  grid-template-columns:minmax(0,1.15fr) minmax(380px,.85fr);
  gap:24px;
  align-items:stretch;
}
html body.cliro-v7154 .home-hero-company-v011,
html body.cliro-v7154 .home-hero-workspace{min-width:0}
html body.cliro-v7154 .home-hero-company-head-v011{margin-bottom:18px}
html body.cliro-v7154 .home-hero-company-head-v011 h2{
  margin:0 0 6px;
  font-size:clamp(26px,2.3vw,36px);
  line-height:1.08;
  letter-spacing:-.04em;
}
html body.cliro-v7154 .cliro-dashboard-overview-v011 .hero-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
html body.cliro-v7154 .cliro-dashboard-overview-v011 .hero-actions .btn{width:100%;justify-content:flex-start}
html body.cliro-v7154 .cliro-dashboard-overview-v011 .dashboard-todo-inline{
  width:100%;
  max-width:none;
  margin-top:18px;
  border-radius:20px;
  box-shadow:none;
}
html body.cliro-v7154 .cliro-dashboard-overview-v011 .home-hero-workspace .action-center-v583{
  height:100%;
  min-height:100%;
  border-radius:20px;
  box-shadow:none;
}

/* Progressive Disclosure: fortgeschrittene Blöcke ruhiger */
html body.cliro-v7154 details>summary{
  min-height:44px;
}
html body.cliro-v7154 .settings-block details>summary,
html body.cliro-v7154 .form-section details>summary{
  padding:13px 15px;
  border:1px solid #d8e1eb;
  border-radius:14px;
  background:#f6f9fc;
  color:#24394c;
  font-weight:850;
}

/* Dark Mode als zusammenhängende Oberfläche */
html.cliro-theme-dark body.cliro-v7154{
  --cliro-ux-shadow:0 12px 32px rgba(0,0,0,.22);
  --cliro-ux-shadow-hover:0 18px 44px rgba(0,0,0,.3);
}
html.cliro-theme-dark body.cliro-v7154 .panel,
html.cliro-theme-dark body.cliro-v7154 .card,
html.cliro-theme-dark body.cliro-v7154 .settings-block,
html.cliro-theme-dark body.cliro-v7154 .form-section{
  border-color:#344b61;
  background:#101b27;
  color:#f4f7fb;
}
html.cliro-theme-dark body.cliro-v7154 .muted,
html.cliro-theme-dark body.cliro-v7154 .field-help,
html.cliro-theme-dark body.cliro-v7154 .field-hint{color:#aebdca}
html.cliro-theme-dark body.cliro-v7154 .field>label,
html.cliro-theme-dark body.cliro-v7154 label.label,
html.cliro-theme-dark body.cliro-v7154 .field-label{color:#dce6ef}
html.cliro-theme-dark body.cliro-v7154 input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
html.cliro-theme-dark body.cliro-v7154 select,
html.cliro-theme-dark body.cliro-v7154 textarea{
  border-color:#3a5268;
  background:#0b1722;
  color:#f8fafc;
  -webkit-text-fill-color:#f8fafc;
}
html.cliro-theme-dark body.cliro-v7154 .table-wrap,
html.cliro-theme-dark body.cliro-v7154 .table-scroll,
html.cliro-theme-dark body.cliro-v7154 .cliro-responsive-table{border-color:#344b61;background:#101b27}
html.cliro-theme-dark body.cliro-v7154 table.table thead th{background:#172737;color:#c7d4df}
html.cliro-theme-dark body.cliro-v7154 table.table td,
html.cliro-theme-dark body.cliro-v7154 table.table th{border-bottom-color:#2b4053}
html.cliro-theme-dark body.cliro-v7154 table.table tbody tr:hover td{background:#142331}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card{
  border-color:#3b5369;
  background:linear-gradient(135deg,#101d29 0%,#0c1721 100%);
  box-shadow:0 14px 34px rgba(0,0,0,.28);
}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .page-head-timer-icon{
  border-color:#405b72;
  background:#182d3f;
  color:#a8d3f4;
}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .page-head-timer-label{color:#9fb1c1}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .page-head-timer-context{color:#d2dde7}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .page-head-timer-time{color:#fff;-webkit-text-fill-color:#fff}
html.cliro-theme-dark body.cliro-v7154 .settings-block details>summary,
html.cliro-theme-dark body.cliro-v7154 .form-section details>summary{border-color:#344b61;background:#152433;color:#e7eef5}
html.cliro-theme-dark body.cliro-v7154 .empty-state{border-color:#41586d;background:#0d1924;color:#e9f0f6}

@media(max-width:1280px){
  html body.cliro-v7154 .headbar-context-v711{
    grid-template-columns:minmax(240px,1fr) minmax(480px,620px) minmax(240px,1fr);
  }
  html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card{
    grid-template-columns:52px minmax(150px,1fr) auto 98px;
    gap:14px;
  }
  html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-cta{min-width:98px}
}
@media(max-width:1080px){
  html body.cliro-v7154 .headbar-primary-v711{
    grid-template-columns:auto minmax(0,1fr);
    grid-template-rows:auto auto;
  }
  html body.cliro-v7154 .headbar-actions-v711{grid-column:2}
  html body.cliro-v7154 .headbar-main-nav-v711{grid-column:1 / -1;grid-row:2}
  html body.cliro-v7154 .headbar-context-v711{
    grid-template-columns:minmax(0,1fr) minmax(300px,1fr);
    grid-template-areas:"title company" "timer timer";
  }
  html body.cliro-v7154 .headbar-title-v711{grid-area:title}
  html body.cliro-v7154 .headbar-company-v712{grid-area:company}
  html body.cliro-v7154 .headbar-timer-v712{grid-area:timer;max-width:700px}
  html body.cliro-v7154 .cliro-dashboard-overview-v011{grid-template-columns:1fr}
}
@media(max-width:760px){
  html body.cliro-v7154 .page-content-v711{width:100%;padding:12px}
  html body.cliro-v7154 .panel,
  html body.cliro-v7154 .card,
  html body.cliro-v7154 .settings-block,
  html body.cliro-v7154 .form-section{border-radius:18px;padding:16px}
  html body.cliro-v7154 .headbar-primary-v711{
    display:flex;
    min-height:auto;
    padding:9px 12px;
  }
  html body.cliro-v7154 .headbar-main-nav-v711{display:none}
  html body.cliro-v7154 .headbar-context-v711{
    grid-template-columns:1fr;
    grid-template-areas:"title" "timer" "company";
    min-height:auto;
    gap:10px;
    padding:11px 12px;
  }
  html body.cliro-v7154 .headbar-title-v711,
  html body.cliro-v7154 .headbar-timer-v712,
  html body.cliro-v7154 .headbar-company-v712{width:100%;max-width:none;justify-self:stretch}
  html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card{
    grid-template-columns:46px minmax(0,1fr) auto;
    grid-template-areas:"icon time cta" "icon body cta";
    gap:5px 12px;
    min-height:76px;
    padding:10px 11px;
    border-radius:18px;
  }
  html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-icon{grid-area:icon;width:46px;height:46px;min-width:46px;border-radius:14px}
  html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-time{grid-area:time;justify-self:start;min-width:0;font-size:29px;text-align:left}
  html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-body{grid-area:body;gap:2px}
  html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-label{display:none}
  html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-context{font-size:11px}
  html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-cta{grid-area:cta;min-width:44px;width:44px;min-height:44px;padding:0;font-size:0}
  html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-cta:after{content:"→";font-size:18px}
  html body.cliro-v7154 .cliro-dashboard-overview-v011 .hero-actions{grid-template-columns:1fr}
  html body.cliro-v7154 .panel-headline,
  html body.cliro-v7154 .section-title-row,
  html body.cliro-v7154 .section-head{display:grid;grid-template-columns:1fr}
  html body.cliro-v7154 .form-actions{
    position:sticky;
    bottom:0;
    z-index:80;
    margin-inline:-16px;
    padding:12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top:1px solid #d8e1eb;
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(14px);
    box-shadow:0 -12px 28px rgba(15,23,42,.10);
  }
  html.cliro-theme-dark body.cliro-v7154 .form-actions{border-top-color:#344b61;background:rgba(11,23,34,.94)}
  html body.cliro-v7154 .form-actions .btn{flex:1 1 140px;justify-content:center}
  html body.cliro-v7154 .cliro-table-scroll-hint-v011{display:block}
}
@media(prefers-reduced-motion:reduce){
  html body.cliro-v7154 .btn{transition:none}
}

/* Cliro V715.4 Fix 012 – exakter Timeraufbau und firmenbezogener Header. */
html body.cliro-v7154 .headbar-brand-v711 {
  min-width: 0 ;
  max-width: min(360px, 30vw) ;
}
html body.cliro-v7154 .headbar-brand-copy-v711 {
  display: block ;
  min-width: 0 ;
}
html body.cliro-v7154 .headbar-brand-copy-v711 strong {
  display: block ;
  max-width: 100% ;
  overflow: hidden ;
  text-overflow: ellipsis ;
  white-space: nowrap ;
  font-size: 16px ;
  line-height: 1.2 ;
}
html body.cliro-v7154 .headbar-brand-copy-v711 small {
  display: none ;
}

@media (min-width: 1121px) {
  html body.cliro-v7154 .headbar-context-v711 {
    display: grid ;
    grid-template-columns:
      minmax(260px, 1fr)
      minmax(520px, 720px)
      minmax(260px, 1fr) ;
    align-items: center ;
    column-gap: clamp(22px, 2.6vw, 48px) ;
  }
  html body.cliro-v7154 .headbar-title-v711 {
    justify-self: stretch ;
    min-width: 0 ;
  }
  html body.cliro-v7154 .headbar-timer-v712 {
    justify-self: center ;
    width: 100% ;
    max-width: 720px ;
    min-width: 0 ;
  }
  html body.cliro-v7154 .headbar-company-v712 {
    justify-self: end ;
    width: 100% ;
    max-width: 430px ;
    min-width: 0 ;
  }
}

html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card.cliro-timer-012 {
  position: relative ;
  display: grid ;
  grid-template-columns: 54px minmax(0, 1fr) auto ;
  grid-template-areas: "icon main action" ;
  align-items: center ;
  gap: 16px ;
  width: 100% ;
  max-width: 720px ;
  min-width: 0 ;
  min-height: 82px ;
  margin: 0 ;
  padding: 13px 15px ;
  border: 1px solid #c7d5e2 ;
  border-radius: 19px ;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%) ;
  color: #0c1c2f ;
  -webkit-text-fill-color: #0c1c2f ;
  box-shadow:
    0 10px 28px rgba(15, 23, 42, .09),
    inset 0 1px 0 rgba(255, 255, 255, .82) ;
  text-decoration: none ;
  overflow: hidden ;
  transform: none ;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card.cliro-timer-012::before,
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card.cliro-timer-012::after {
  display: none ;
  content: none ;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card.cliro-timer-012:hover {
  border-color: #8fa8bd ;
  background: linear-gradient(180deg, #ffffff 0%, #f1f6fa 100%) ;
  box-shadow:
    0 13px 32px rgba(15, 23, 42, .12),
    inset 0 1px 0 rgba(255, 255, 255, .9) ;
  transform: translateY(-1px) ;
}
html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card.cliro-timer-012:focus-visible {
  outline: 3px solid rgba(42, 114, 184, .38) ;
  outline-offset: 3px ;
}

html body.cliro-v7154 .headbar-timer-v712 .cliro-timer-012 .page-head-timer-icon {
  grid-area: icon ;
  position: relative ;
  display: grid ;
  place-items: center ;
  width: 54px ;
  height: 54px ;
  min-width: 54px ;
  margin: 0 ;
  border: 1px solid #b9cee0 ;
  border-radius: 16px ;
  background: #e6f0f8 ;
  color: #164f7a ;
  -webkit-text-fill-color: #164f7a ;
  box-shadow: none ;
}
html body.cliro-v7154 .headbar-timer-v712 .cliro-timer-012 .page-head-timer-icon svg {
  width: 24px ;
  height: 24px ;
  stroke: currentColor ;
}
html body.cliro-v7154 .headbar-timer-v712 .cliro-timer-012.is-running .page-head-timer-icon {
  border-color: #80cfad ;
  background: #e4f7ee ;
  color: #08704b ;
  -webkit-text-fill-color: #08704b ;
}
html body.cliro-v7154 .headbar-timer-v712 .cliro-timer-012.is-running .page-head-timer-icon::after {
  content: "" ;
  position: absolute ;
  top: 6px ;
  right: 6px ;
  display: block ;
  width: 8px ;
  height: 8px ;
  border: 2px solid #ffffff ;
  border-radius: 999px ;
  background: #0b9b68 ;
}

html body.cliro-v7154 .headbar-timer-v712 .cliro-timer-012 .page-head-timer-main {
  grid-area: main ;
  display: grid ;
  grid-template-rows: auto auto ;
  align-content: center ;
  gap: 5px ;
  min-width: 0 ;
  text-align: left ;
}
html body.cliro-v7154 .headbar-timer-v712 .cliro-timer-012 .page-head-timer-time {
  display: block ;
  grid-area: auto ;
  justify-self: start ;
  min-width: 0 ;
  margin: 0 ;
  padding: 0 ;
  color: #091a2b ;
  -webkit-text-fill-color: #091a2b ;
  font-size: clamp(30px, 2.2vw, 36px) ;
  font-weight: 900 ;
  line-height: .98 ;
  letter-spacing: -.045em ;
  font-variant-numeric: tabular-nums ;
  white-space: nowrap ;
}
html body.cliro-v7154 .headbar-timer-v712 .cliro-timer-012 .page-head-timer-context {
  display: block ;
  min-width: 0 ;
  max-width: 100% ;
  margin: 0 ;
  color: #5a6f82 ;
  -webkit-text-fill-color: #5a6f82 ;
  font-size: 13px ;
  font-weight: 750 ;
  line-height: 1.25 ;
  white-space: nowrap ;
  overflow: hidden ;
  text-overflow: ellipsis ;
}
html body.cliro-v7154 .headbar-timer-v712 .cliro-timer-012 .page-head-timer-cta {
  grid-area: action ;
  display: inline-flex ;
  align-items: center ;
  justify-content: center ;
  min-width: 112px ;
  min-height: 46px ;
  margin: 0 ;
  padding: 0 17px ;
  border: 1px solid #164f7a ;
  border-radius: 13px ;
  background: #164f7a ;
  color: #ffffff ;
  -webkit-text-fill-color: #ffffff ;
  box-shadow: 0 6px 14px rgba(22, 79, 122, .16) ;
  font-size: 13px ;
  font-weight: 900 ;
  line-height: 1 ;
  white-space: nowrap ;
}
html body.cliro-v7154 .headbar-timer-v712 .cliro-timer-012.is-running .page-head-timer-cta {
  border-color: #08704b ;
  background: #08704b ;
  box-shadow: 0 6px 14px rgba(8, 112, 75, .16) ;
}

html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card.cliro-timer-012 {
  border-color: #3a5268 ;
  background: linear-gradient(180deg, #142435 0%, #101d2b 100%) ;
  color: #f8fafc ;
  -webkit-text-fill-color: #f8fafc ;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .035) ;
}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card.cliro-timer-012:hover {
  border-color: #58738c ;
  background: linear-gradient(180deg, #172a3d 0%, #122131 100%) ;
}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .cliro-timer-012 .page-head-timer-icon {
  border-color: #405e78 ;
  background: #1b344a ;
  color: #b7dbf5 ;
  -webkit-text-fill-color: #b7dbf5 ;
}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .cliro-timer-012.is-running .page-head-timer-icon {
  border-color: #33765c ;
  background: #153b2e ;
  color: #8de0bd ;
  -webkit-text-fill-color: #8de0bd ;
}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .cliro-timer-012 .page-head-timer-time {
  color: #ffffff ;
  -webkit-text-fill-color: #ffffff ;
}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .cliro-timer-012 .page-head-timer-context {
  color: #b8c8d7 ;
  -webkit-text-fill-color: #b8c8d7 ;
}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .cliro-timer-012 .page-head-timer-cta {
  border-color: #5480a3 ;
  background: #1d527a ;
  color: #ffffff ;
  -webkit-text-fill-color: #ffffff ;
}
html.cliro-theme-dark body.cliro-v7154 .headbar-timer-v712 .cliro-timer-012.is-running .page-head-timer-cta {
  border-color: #3b8b6b ;
  background: #176044 ;
}

@media (max-width: 1420px) and (min-width: 1121px) {
  html body.cliro-v7154 .headbar-context-v711 {
    grid-template-columns:
      minmax(230px, 1fr)
      minmax(470px, 620px)
      minmax(230px, 1fr) ;
    column-gap: 24px ;
  }
  html body.cliro-v7154 .headbar-timer-v712 {
    max-width: 620px ;
  }
}

@media (max-width: 1120px) {
  html body.cliro-v7154 .headbar-timer-v712 {
    width: 100% ;
    max-width: 720px ;
  }
  html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card.cliro-timer-012 {
    max-width: 720px ;
  }
}

@media (max-width: 600px) {
  html body.cliro-v7154 .headbar-timer-v712 .page-head-timer-card.cliro-timer-012 {
    grid-template-columns: 46px minmax(0, 1fr) auto ;
    gap: 11px ;
    min-height: 72px ;
    padding: 10px 11px ;
    border-radius: 16px ;
  }
  html body.cliro-v7154 .headbar-timer-v712 .cliro-timer-012 .page-head-timer-icon {
    width: 46px ;
    height: 46px ;
    min-width: 46px ;
    border-radius: 13px ;
  }
  html body.cliro-v7154 .headbar-timer-v712 .cliro-timer-012 .page-head-timer-time {
    font-size: 27px ;
  }
  html body.cliro-v7154 .headbar-timer-v712 .cliro-timer-012 .page-head-timer-context {
    font-size: 11px ;
  }
  html body.cliro-v7154 .headbar-timer-v712 .cliro-timer-012 .page-head-timer-cta {
    min-width: 82px ;
    min-height: 42px ;
    padding: 0 12px ;
    font-size: 12px ;
  }
}


/* Cliro V715.4 Fix 013 – mobile controls, system theme, light tables and logical company wrapping. */

/* Mobile: keep the theme control reachable in the top bar instead of hiding it. */
@media (max-width: 480px) {
  html body.cliro-v7154 .headbar-actions-v711 .theme-toggle-top {
    display: grid ;
    width: 40px ;
    min-width: 40px ;
    height: 40px ;
    min-height: 40px ;
    padding: 0 ;
  }
}

/* Mobile navigation utilities. */
html body.cliro-v7154 .headbar-mobile-nav-v013 {
  display: grid ;
  gap: 5px ;
}

html body.cliro-v7154 .headbar-mobile-utilities-v013 {
  display: grid ;
  gap: 14px ;
  padding: 4px ;
}

html body.cliro-v7154 .cliro-mobile-utility-label-v013 {
  margin: 0 0 7px ;
  color: #475569 ;
  -webkit-text-fill-color: #475569 ;
  font-size: 11px ;
  font-weight: 900 ;
  line-height: 1.25 ;
  letter-spacing: .055em ;
  text-transform: uppercase ;
}

html.cliro-theme-dark body.cliro-v7154 .cliro-mobile-utility-label-v013 {
  color: #aebfd0 ;
  -webkit-text-fill-color: #aebfd0 ;
}

html body.cliro-v7154 .cliro-theme-choice-group-v013 {
  display: grid ;
  grid-template-columns: repeat(3, minmax(0, 1fr)) ;
  gap: 7px ;
}

html body.cliro-v7154 .cliro-theme-choice-group-v013 > button {
  display: grid ;
  grid-template-columns: auto minmax(0, 1fr) ;
  align-items: center ;
  justify-content: center ;
  gap: 6px ;
  min-width: 0 ;
  min-height: 42px ;
  padding: 7px 8px ;
  border: 1px solid #cbd7e3 ;
  border-radius: 11px ;
  background: #f7f9fc ;
  color: #26384a ;
  -webkit-text-fill-color: #26384a ;
  box-shadow: none ;
  cursor: pointer ;
}

html body.cliro-v7154 .cliro-theme-choice-group-v013 > button > span {
  color: currentColor ;
  -webkit-text-fill-color: currentColor ;
  font-size: 15px ;
  line-height: 1 ;
}

html body.cliro-v7154 .cliro-theme-choice-group-v013 > button > strong {
  min-width: 0 ;
  color: currentColor ;
  -webkit-text-fill-color: currentColor ;
  font-size: 12px ;
  font-weight: 850 ;
  line-height: 1.1 ;
  white-space: nowrap ;
}

html body.cliro-v7154 .cliro-theme-choice-group-v013 > button:hover {
  border-color: #8fa6bb ;
  background: #eef3f8 ;
}

html body.cliro-v7154 .cliro-theme-choice-group-v013 > button[aria-pressed="true"],
html body.cliro-v7154 .cliro-theme-choice-group-v013 > button.is-active {
  border-color: #12395b ;
  background: #12395b ;
  color: #fff ;
  -webkit-text-fill-color: #fff ;
}

html.cliro-theme-dark body.cliro-v7154 .cliro-theme-choice-group-v013 > button {
  border-color: #344b61 ;
  background: #122438 ;
  color: #dce7f1 ;
  -webkit-text-fill-color: #dce7f1 ;
}

html.cliro-theme-dark body.cliro-v7154 .cliro-theme-choice-group-v013 > button:hover {
  border-color: #58748e ;
  background: #193149 ;
}

html.cliro-theme-dark body.cliro-v7154 .cliro-theme-choice-group-v013 > button[aria-pressed="true"],
html.cliro-theme-dark body.cliro-v7154 .cliro-theme-choice-group-v013 > button.is-active {
  border-color: #8fb8ff ;
  background: #8fb8ff ;
  color: #07111d ;
  -webkit-text-fill-color: #07111d ;
}

html body.cliro-v7154 .cliro-mobile-language-v013 .ui-lang-switch {
  display: grid ;
  grid-template-columns: repeat(2, minmax(0, 1fr)) ;
  gap: 7px ;
  width: 100% ;
}

html body.cliro-v7154 .cliro-mobile-language-v013 .ui-lang-switch > a {
  width: 100% ;
  min-height: 42px ;
}

/* Login utilities are added by the V013 runtime on small screens. */
.cliro-login-mobile-tools-v013 {
  display: none;
}

@media (max-width: 820px) {
  .cliro-login-mobile-tools-v013 {
    position: fixed ;
    z-index: 80 ;
    top: max(10px, env(safe-area-inset-top)) ;
    left: max(10px, env(safe-area-inset-left)) ;
    right: max(10px, env(safe-area-inset-right)) ;
    display: flex ;
    align-items: center ;
    justify-content: space-between ;
    gap: 8px ;
    pointer-events: none ;
  }

  .cliro-login-mobile-tools-v013 > * {
    pointer-events: auto ;
  }

  .cliro-login-mobile-language-v013,
  .cliro-login-mobile-theme-v013 {
    display: inline-flex ;
    align-items: center ;
    gap: 5px ;
    padding: 4px ;
    border: 1px solid var(--login-border, #cfdae5) ;
    border-radius: 13px ;
    background: color-mix(in srgb, var(--login-surface, #fff) 94%, transparent) ;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .13) ;
    backdrop-filter: blur(14px) ;
  }

  .cliro-login-mobile-language-v013 a,
  .cliro-login-mobile-theme-v013 button {
    display: grid ;
    place-items: center ;
    min-width: 38px ;
    height: 38px ;
    min-height: 38px ;
    padding: 0 8px ;
    border: 1px solid transparent ;
    border-radius: 10px ;
    background: transparent ;
    color: var(--login-text, #101828) ;
    -webkit-text-fill-color: var(--login-text, #101828) ;
    font-size: 12px ;
    font-weight: 900 ;
    text-decoration: none ;
    cursor: pointer ;
  }

  .cliro-login-mobile-language-v013 a[aria-current="page"],
  .cliro-login-mobile-theme-v013 button[aria-pressed="true"] {
    border-color: var(--login-primary, #12395b) ;
    background: var(--login-primary, #12395b) ;
    color: #fff ;
    -webkit-text-fill-color: #fff ;
  }

  html.cliro-theme-dark .cliro-login-mobile-theme-v013 button[aria-pressed="true"] {
    border-color: #8fb8ff ;
    background: #8fb8ff ;
    color: #07111d ;
    -webkit-text-fill-color: #07111d ;
  }

  .login-theme-toggle {
    display: grid ;
    top: max(62px, calc(env(safe-area-inset-top) + 52px)) ;
    right: max(12px, env(safe-area-inset-right)) ;
  }
}

/* Light mode tables: explicit surfaces prevent legacy dark backgrounds leaking in. */
html.cliro-theme-light body.cliro-v7154
:where(.table-wrap, .table-scroll, .cliro-table-scroll-007, .doc-table-wrap, .lmcs-resizable-table-wrap) {
  background: #fff ;
  border-color: #d7e1eb ;
  color: #172033 ;
}

html.cliro-theme-light body.cliro-v7154
:where(table.table, .table-wrap > table, .table-scroll > table, .cliro-table-scroll-007 > table, table.doc-table, table.lmcs-resizable-table) {
  background: #fff ;
  color: #172033 ;
  border-color: #d7e1eb ;
  color-scheme: light ;
}

html.cliro-theme-light body.cliro-v7154
:where(table.table, .table-wrap > table, .table-scroll > table, .cliro-table-scroll-007 > table, table.doc-table, table.lmcs-resizable-table)
thead th {
  background: #eaf0f6 ;
  color: #26384a ;
  -webkit-text-fill-color: #26384a ;
  border-color: #ccd8e4 ;
  text-shadow: none ;
}

html.cliro-theme-light body.cliro-v7154
:where(table.table, .table-wrap > table, .table-scroll > table, .cliro-table-scroll-007 > table, table.doc-table, table.lmcs-resizable-table)
tbody tr > td {
  background: #fff ;
  color: #172033 ;
  -webkit-text-fill-color: #172033 ;
  border-color: #e1e8ef ;
}

html.cliro-theme-light body.cliro-v7154
:where(table.table, .table-wrap > table, .table-scroll > table, .cliro-table-scroll-007 > table, table.doc-table, table.lmcs-resizable-table)
tbody tr:nth-child(even) > td {
  background: #f8fafc ;
}

html.cliro-theme-light body.cliro-v7154
:where(table.table, .table-wrap > table, .table-scroll > table, .cliro-table-scroll-007 > table, table.doc-table, table.lmcs-resizable-table)
tbody tr:hover > td {
  background: #eef4f8 ;
}

/* Company names wrap at words and hyphenation points instead of being cut off. */
html body.cliro-v7154 :where(
  .headbar-brand-copy-v711,
  .headbar-brand-copy-v711 strong,
  .headbar-eyebrow-v711 span:last-child,
  .business-switch-current,
  .business-switch-current strong,
  .business-switch-option > span:not(.business-switch-option-logo),
  .business-switch-option strong,
  .headbar-profile-meta small
) {
  min-width: 0 ;
  max-width: 100% ;
  white-space: normal ;
  word-break: normal ;
  overflow-wrap: break-word ;
  hyphens: auto ;
  text-overflow: clip ;
}

html body.cliro-v7154 .headbar-brand-copy-v711 strong,
html body.cliro-v7154 .business-switch-current strong {
  display: -webkit-box ;
  -webkit-box-orient: vertical ;
  -webkit-line-clamp: 2 ;
  overflow: hidden ;
  line-height: 1.18 ;
}

html body.cliro-v7154 .business-switch > summary {
  height: auto ;
  min-height: 52px ;
  align-items: center ;
}

html body.cliro-v7154 .business-switch-current {
  align-self: center ;
}

html body.cliro-v7154 .business-switch-option {
  height: auto ;
  min-height: 58px ;
  align-items: center ;
}

html body.cliro-v7154 .business-switch-option strong {
  line-height: 1.24 ;
}

@media (max-width: 780px) {
  html body.cliro-v7154 .headbar-brand-copy-v711 strong,
  html body.cliro-v7154 .business-switch-current strong {
    -webkit-line-clamp: 2 ;
  }

  html body.cliro-v7154 .headbar-company-v712 .business-switch,
  html body.cliro-v7154 .headbar-company-v712 .business-switch > summary {
    width: 100% ;
    max-width: none ;
  }
}


/* Cliro V715.4 Fix 014 – ausführliche, erklärende Produkttour */
body.cliro-v7154 .cliro-v7153-tour-dialog{
  width:min(700px,calc(100% - 40px));
  max-height:min(820px,calc(100dvh - 40px));
  padding:clamp(22px,3vw,34px);
  scrollbar-gutter:stable;
}
body.cliro-v7154 .cliro-v7153-tour-dialog h2{
  max-width:22ch;
  margin-bottom:12px;
  font-size:clamp(1.55rem,3.2vw,2.2rem);
}
body.cliro-v7154 .cliro-v7153-tour-dialog>#cliro-v7153-tour-description{
  max-width:66ch;
  font-size:1rem;
  line-height:1.62;
}
body.cliro-v7154 .cliro-v716-tour-details{
  margin:20px 0 0;
  padding:16px 18px;
  border:1px solid var(--cliro-v7153-border);
  border-radius:16px;
  background:var(--cliro-v7153-surface-soft);
}
body.cliro-v7154 .cliro-v716-tour-details[hidden],
body.cliro-v7154 .cliro-v716-tour-tip[hidden]{display:none}
body.cliro-v7154 .cliro-v716-tour-details h3{
  margin:0 0 10px;
  color:var(--cliro-v7153-text);
  font-size:.86rem;
  line-height:1.25;
  font-weight:900;
  letter-spacing:.045em;
  text-transform:uppercase;
}
body.cliro-v7154 .cliro-v716-tour-points{
  display:grid;
  gap:9px;
  margin:0;
  padding:0;
  list-style:none;
}
body.cliro-v7154 .cliro-v716-tour-points li{
  position:relative;
  margin:0;
  padding-inline-start:24px;
  color:var(--cliro-v7153-text);
  font-size:.96rem;
  line-height:1.48;
}
body.cliro-v7154 .cliro-v716-tour-points li::before{
  content:'✓';
  position:absolute;
  inset-inline-start:0;
  top:.05em;
  display:grid;
  place-items:center;
  width:17px;
  height:17px;
  border-radius:999px;
  background:var(--cliro-v7153-primary);
  color:var(--cliro-v7153-primary-text);
  font-size:10px;
  font-weight:950;
}
body.cliro-v7154 .cliro-v716-tour-tip{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:10px 12px;
  align-items:start;
  margin:14px 0 0;
  padding:14px 16px;
  border:1px solid color-mix(in srgb,var(--cliro-v7153-accent) 48%,var(--cliro-v7153-border));
  border-radius:15px;
  background:color-mix(in srgb,var(--cliro-v7153-accent) 12%,var(--cliro-v7153-surface-raised));
  color:var(--cliro-v7153-text);
}
body.cliro-v7154 .cliro-v716-tour-tip strong{
  color:var(--cliro-v7153-text);
  font-size:.85rem;
  font-weight:950;
  white-space:nowrap;
}
body.cliro-v7154 .cliro-v716-tour-tip span{
  color:var(--cliro-v7153-text);
  font-size:.93rem;
  line-height:1.48;
}
body.cliro-v7154 .cliro-v7153-tour-progress{margin-top:20px}
body.cliro-v7154 .cliro-v7153-tour-target{scroll-margin-top:150px}
@media(max-width:640px){
  body.cliro-v7154 .cliro-v7153-tour-dialog{
    bottom:max(8px,env(safe-area-inset-bottom));
    width:calc(100% - 16px);
    max-height:calc(100dvh - 16px);
    padding:20px 17px max(18px,env(safe-area-inset-bottom));
    border-radius:20px;
  }
  body.cliro-v7154 .cliro-v716-tour-details{padding:14px}
  body.cliro-v7154 .cliro-v716-tour-tip{grid-template-columns:1fr;gap:5px;padding:13px 14px}
  body.cliro-v7154 .cliro-v716-tour-tip strong{white-space:normal}
  body.cliro-v7154 .cliro-v7153-tour-actions{position:sticky;bottom:0;margin-inline:-4px;padding-top:12px;background:linear-gradient(to bottom,transparent,var(--cliro-v7153-surface-raised) 24%)}
}
@media(forced-colors:active){
  body.cliro-v7154 .cliro-v716-tour-points li::before{forced-color-adjust:auto;border:1px solid ButtonText}
}

/* Cliro V715.4 Fix 015 – z-index, mobile header and mobile document workflow. */
html body.cliro-v7154 .app-headbar-v711,
html body.cliro-v7154 .headbar-primary-v711,
html body.cliro-v7154 .headbar-actions-v711{
  overflow:visible;
}
html body.cliro-v7154 .app-headbar-v711{z-index:12000}
html body.cliro-v7154 .headbar-primary-v711{position:relative;z-index:12010}
html body.cliro-v7154 .headbar-actions-v711{position:relative;z-index:12020}
html body.cliro-v7154 .headbar-create-menu{position:relative;z-index:12100}
html body.cliro-v7154 .headbar-create-menu[open]{z-index:15000}
html body.cliro-v7154 .headbar-create-menu .headbar-create-panel{
  top:calc(100% + 10px);
  margin-top:0;
  z-index:15010;
  isolation:isolate;
}

/* Document toolbar: semantic groups and calmer hierarchy. */
html body.cliro-v7154 .document-list-toolbar-v015{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:end;
  gap:14px;
  padding:14px;
  border:1px solid #d7e1eb;
  border-radius:18px;
  background:#fff;
  box-shadow:0 9px 28px rgba(15,23,42,.06);
}
html body.cliro-v7154 .document-toolbar-primary-v015,
html body.cliro-v7154 .document-toolbar-secondary-v015{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
html body.cliro-v7154 .document-filter-grid-v015{
  display:grid;
  grid-template-columns:minmax(180px,1.2fr) minmax(180px,1.2fr) minmax(145px,.8fr) minmax(190px,1fr);
  gap:10px;
  min-width:0;
}
html body.cliro-v7154 .document-filter-field-v015{
  display:grid;
  align-content:end;
  gap:6px;
  min-width:0;
}
html body.cliro-v7154 .document-filter-field-v015>label,
html body.cliro-v7154 .document-filter-label-v015{
  margin:0;
  color:#526779;
  font-size:11px;
  font-weight:900;
  letter-spacing:.045em;
  text-transform:uppercase;
}
html body.cliro-v7154 .document-filter-field-v015 :where(input,select,.lmcs-customer-search,.customer-search,[data-customer-search]){
  width:100%;
  min-width:0;
  max-width:none;
}
html.cliro-theme-dark body.cliro-v7154 .document-list-toolbar-v015{
  border-color:#344b61;
  background:#101d2a;
  box-shadow:0 12px 32px rgba(0,0,0,.22);
}
html.cliro-theme-dark body.cliro-v7154 .document-filter-field-v015>label,
html.cliro-theme-dark body.cliro-v7154 .document-filter-label-v015{color:#aebfd0}

@media(max-width:1280px){
  html body.cliro-v7154 .document-list-toolbar-v015{grid-template-columns:1fr;align-items:stretch}
  html body.cliro-v7154 .document-filter-grid-v015{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body.cliro-v7154 .document-toolbar-primary-v015,
  html body.cliro-v7154 .document-toolbar-secondary-v015{justify-content:flex-start}
}

@media(max-width:780px){
  html body.cliro-v7154 .app-headbar-v711{margin:0;padding:0}
  html body.cliro-v7154 .headbar-primary-v711{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    grid-template-rows:1fr;
    align-items:center;
    gap:6px;
    min-height:58px;
    margin:0;
    padding:max(7px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) 7px max(10px,env(safe-area-inset-left));
  }
  html body.cliro-v7154 .headbar-brand-v711{
    grid-column:1;
    grid-row:1;
    min-width:0;
    margin:0;
    padding:0;
  }
  html body.cliro-v7154 .headbar-actions-v711{
    grid-column:2;
    grid-row:1;
    display:flex;
    align-items:center;
    gap:4px;
    min-width:0;
    margin:0;
    padding:0;
  }
  html body.cliro-v7154 .headbar-mobile-menu-v711{
    grid-column:3;
    grid-row:1;
    align-self:center;
    justify-self:end;
    margin:0;
    padding:0;
  }
  html body.cliro-v7154 .headbar-actions-v711 .global-search-button,
  html body.cliro-v7154 .headbar-actions-v711 .theme-toggle-top{display:none}
  html body.cliro-v7154 .headbar-actions-v711 :where(.headbar-create-menu>summary,.top-notification-bell,.headbar-profile-v711>summary),
  html body.cliro-v7154 .headbar-mobile-menu-v711>summary{
    width:40px;
    min-width:40px;
    height:40px;
    min-height:40px;
    margin:0;
    padding:0;
    border-radius:11px;
  }
  html body.cliro-v7154 .headbar-actions-v711 .headbar-profile-copy,
  html body.cliro-v7154 .headbar-actions-v711 .headbar-profile-caret,
  html body.cliro-v7154 .headbar-actions-v711 .headbar-create-menu>summary strong{display:none}
  html body.cliro-v7154 .headbar-context-v711{
    display:grid;
    grid-template-columns:1fr;
    grid-template-areas:"title" "timer" "company";
    gap:8px;
    min-height:0;
    margin:0;
    padding:8px max(10px,env(safe-area-inset-right)) 9px max(10px,env(safe-area-inset-left));
  }
  html body.cliro-v7154 .headbar-title-v711{
    margin:0;
    padding:0 2px;
  }
  html body.cliro-v7154 .headbar-title-v711 h1{margin:0;font-size:20px;line-height:1.2}
  html body.cliro-v7154 .headbar-eyebrow-v711{margin:0 0 3px}
  html body.cliro-v7154 .headbar-timer-v712,
  html body.cliro-v7154 .headbar-company-v712{margin:0;padding:0}
  html body.cliro-v7154 .headbar-subnav-wrap-v711{
    margin:0;
    padding:0 max(10px,env(safe-area-inset-right)) 8px max(10px,env(safe-area-inset-left));
  }
  html body.cliro-v7154 .headbar-create-menu .headbar-create-panel{
    position:fixed;
    top:calc(max(7px,env(safe-area-inset-top)) + 58px);
    left:max(10px,env(safe-area-inset-left));
    right:max(10px,env(safe-area-inset-right));
    width:auto;
    max-height:calc(100dvh - 82px - env(safe-area-inset-bottom));
    margin-top:8px;
    overflow:auto;
    z-index:15010;
  }
  html body.cliro-v7154 .headbar-mobile-panel-v711{
    top:calc(100% + 8px);
    right:0;
    margin:0;
    z-index:15020;
  }

  html body.cliro-v7154 .document-list-toolbar-v015{
    display:grid;
    grid-template-columns:1fr;
    gap:11px;
    margin:0 0 13px;
    padding:12px;
    border-radius:16px;
  }
  html body.cliro-v7154 .document-toolbar-primary-v015{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
  }
  html body.cliro-v7154 .document-toolbar-primary-v015 .document-new-button-v015{justify-content:center}
  html body.cliro-v7154 .document-filter-grid-v015{grid-template-columns:1fr;gap:9px}
  html body.cliro-v7154 .document-toolbar-secondary-v015{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  html body.cliro-v7154 .document-toolbar-secondary-v015>*{width:100%;justify-content:center}

  html body.cliro-v7154 #docTable.doc-table tbody{gap:12px}
  html body.cliro-v7154 #docTable.doc-table tr{
    border-radius:16px;
    box-shadow:0 8px 24px rgba(15,23,42,.07);
  }
  html body.cliro-v7154 #docTable.doc-table td{
    grid-template-columns:88px minmax(0,1fr);
    gap:8px;
    padding:10px 12px;
  }
  html body.cliro-v7154 #docTable.doc-table .doc-actions-cell-v56{
    display:block;
    padding:12px;
    background:#f7fafc;
  }
  html body.cliro-v7154 #docTable.doc-table .doc-actions-v56-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(38px,auto);gap:7px}
  html body.cliro-v7154 #docTable.doc-table .doc-actions-v56 :where(.btn,.doc-act,.doc-act-wide,.doc-act-danger){min-height:38px;height:auto;padding:7px 8px;font-size:12px;border-radius:10px}
  html.cliro-theme-dark body.cliro-v7154 #docTable.doc-table .doc-actions-cell-v56{background:#132434}
}

@media(max-width:480px){
  html body.cliro-v7154 .headbar-brand-copy-v711 strong{font-size:14px}
  html body.cliro-v7154 .headbar-actions-v711 .top-notification-bell{display:none}
  html body.cliro-v7154 .document-toolbar-primary-v015,
  html body.cliro-v7154 .document-toolbar-secondary-v015{grid-template-columns:1fr}
  html body.cliro-v7154 #docTable.doc-table td{grid-template-columns:1fr;gap:4px}
  html body.cliro-v7154 #docTable.doc-table td::before{padding:0}
}

@media(max-width:780px){
  html.cliro-theme-dark body.cliro-v7154 #docTable.doc-table tr{
    border-color:#344b61;
    background:#101d2a;
    box-shadow:0 10px 28px rgba(0,0,0,.24);
  }
  html.cliro-theme-dark body.cliro-v7154 #docTable.doc-table td{
    border-bottom-color:#2b4053;
    background:#101d2a;
    color:#e8f0f7;
    -webkit-text-fill-color:#e8f0f7;
  }
  html.cliro-theme-dark body.cliro-v7154 #docTable.doc-table td::before{
    color:#9fb2c3;
    -webkit-text-fill-color:#9fb2c3;
  }
  html.cliro-theme-dark body.cliro-v7154 #docTable.doc-table tr:hover td{background:#142536}
}

/* CLIRO_DOCUMENT_VIEW_018_BUNDLED */
/* Cliro document portal 018 */
:root{--doc018-ink:#172033;--doc018-muted:#667085;--doc018-line:#d9e2ec;--doc018-soft:#f5f8fb;--doc018-brand:var(--brand-primary,#12395b);--doc018-accent:var(--brand-accent,#d99a28)}
body.cliro-public-document-v018{background:linear-gradient(180deg,#edf3f8 0,#f7f9fc 240px,#eef2f6 100%);color:#172033;min-height:100vh}
.cliro-document-portal-head-v018{max-width:1040px;margin:18px auto 14px;padding:16px 18px;border:1px solid rgba(15,23,42,.09);border-radius:20px;background:rgba(255,255,255,.92);box-shadow:0 18px 50px rgba(15,23,42,.10);backdrop-filter:blur(14px);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center}
.cliro-document-portal-head-v018 .portal-kicker{display:block;margin-bottom:4px;color:var(--doc018-brand);font-size:11px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.cliro-document-portal-head-v018 h1{margin:0;font-size:20px;line-height:1.2}.cliro-document-portal-head-v018 p{margin:5px 0 0;color:var(--doc018-muted)}
.cliro-document-portal-head-v018 .customer-actions{margin:0;max-width:none;justify-content:flex-end}
.cliro-document-preview-v018{max-width:1040px;margin:0 auto;padding:0 18px 42px}.cliro-document-preview-v018>.doc-sheet,.customer-page>.doc-sheet{max-width:920px;border-radius:18px;border:1px solid #d4dde8;box-shadow:0 28px 80px rgba(15,23,42,.16);overflow:hidden;background:#fff}
.cliro-document-preview-v018 .doc-head-block,.customer-page .doc-head-block{padding:38px 42px 28px;margin:0 0 24px;background:linear-gradient(135deg,#fff 0,#f8fbfd 100%);border-bottom:1px solid #e5ebf2}.cliro-document-preview-v018 .doc-kind-badge,.customer-page .doc-kind-badge{box-shadow:0 8px 20px color-mix(in srgb,var(--doc018-brand) 22%,transparent)}.cliro-document-preview-v018 .doc-title,.customer-page .doc-title{font-size:30px;letter-spacing:-.035em}.cliro-document-preview-v018 .items-section,.customer-page .items-section{margin-top:22px}.cliro-document-preview-v018 .pos-table,.customer-page .pos-table{border:1px solid #dce4ed;border-radius:14px;overflow:hidden}.cliro-document-preview-v018 .pos-table th,.customer-page .pos-table th{background:var(--doc018-brand);color:#fff;padding:12px 14px}.cliro-document-preview-v018 .pos-table td,.customer-page .pos-table td{padding:13px 14px}.cliro-document-preview-v018 .position-desc-row td,.customer-page .position-desc-row td{background:#f8fafc}
.payment-summary{display:block;margin:0}.document-total-list-v018{width:min(100%,430px);margin:0 0 0 auto;border:1px solid #d7e0ea;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 12px 30px rgba(15,23,42,.07)}.document-total-row-v018{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;padding:12px 16px;border-bottom:1px solid #e7ecf2}.document-total-row-v018:last-child{border-bottom:0}.document-total-row-v018 dt{color:#475467;font-weight:700}.document-total-row-v018 dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;color:#101828}.document-total-row-v018.total-gross{padding:16px;background:var(--doc018-brand);border-bottom:0}.document-total-row-v018.total-gross dt,.document-total-row-v018.total-gross dd{color:#fff;font-size:16px;font-weight:950}.document-total-row-v018.total-tax dt:after{content:""}
.document-check-v018{max-width:1040px;margin:14px auto;padding:14px 16px;border-radius:16px;display:grid;gap:8px;border:1px solid #b7e4ca;background:#ecfdf3;color:#065f46}.document-check-v018>strong,.document-check-v018>div strong{display:block}.document-check-v018 span{display:block;margin-top:3px}.document-check-v018.has-warning{border-color:#fedf89;background:#fffaeb;color:#7a2e0e}.document-check-v018.has-error{border-color:#fecdca;background:#fef3f2;color:#912018}.document-check-v018 ul{margin:4px 0 0 20px;padding:0}.document-check-v018 li{margin:4px 0}
.preview-actions-v018{max-width:1040px;margin:0 auto 12px;padding:12px 14px;border-radius:18px;background:#fff;border:1px solid #dce4ed;box-shadow:0 12px 34px rgba(15,23,42,.08);position:sticky;top:10px;z-index:500;display:flex;gap:8px;flex-wrap:wrap}.preview-actions-v018 .btn.primary{order:-1}.preview-info-bubbles{max-width:1040px;margin:0 auto 14px}.accept-box{max-width:920px;border-radius:20px;border:1px solid #d8e2ec;box-shadow:0 16px 46px rgba(15,23,42,.10);padding:24px}.accept-box h2{font-size:24px;margin-top:0}.confirm-box{display:flex;gap:10px;align-items:flex-start;padding:13px 14px;border:1px solid #dce4ed;border-radius:13px;background:#f8fafc}.signature-pad{width:100%;max-width:100%;background:#fff;border:2px dashed #aab8c8;border-radius:14px;touch-action:none}
html.cliro-theme-dark body.cliro-public-document-v018{background:linear-gradient(180deg,#07111d,#0c1a29 260px,#08131f);color:#eaf0f6}html.cliro-theme-dark .cliro-public-document-v018 .doc-sheet{color:#172033}html.cliro-theme-dark .cliro-public-document-v018 .cliro-document-portal-head-v018{background:rgba(11,26,42,.93);border-color:#263d52;color:#f8fafc}html.cliro-theme-dark .cliro-public-document-v018 .cliro-document-portal-head-v018 p{color:#b6c1d4}html.cliro-theme-dark .cliro-public-document-v018 .accept-box{background:#102235;border-color:#2a4359;color:#f8fafc}html.cliro-theme-dark .cliro-public-document-v018 .accept-box .muted{color:#bdc8d5}html.cliro-theme-dark .cliro-public-document-v018 .confirm-box{background:#0b1b2b;border-color:#30495f}html.cliro-theme-dark .cliro-public-document-v018 .input{background:#091827;border-color:#3a5267;color:#fff}
@media(max-width:800px){.cliro-document-portal-head-v018{margin:0;padding:14px;border-radius:0;grid-template-columns:1fr}.cliro-document-portal-head-v018 .customer-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.cliro-document-portal-head-v018 .customer-actions .btn{justify-content:center}.cliro-document-preview-v018{padding:0 0 24px}.cliro-document-preview-v018>.doc-sheet,.customer-page>.doc-sheet{border-radius:0;border-left:0;border-right:0;box-shadow:none}.preview-actions-v018{top:0;border-radius:0;margin:0;padding:10px;overflow-x:auto;flex-wrap:nowrap}.preview-actions-v018 .btn{white-space:nowrap}.document-total-list-v018{width:100%;margin:0}.document-total-row-v018{padding:12px 14px}.accept-box{border-radius:0;margin:12px 0;box-shadow:none}.customer-page{padding:0;margin:0}}
@media print{.cliro-document-portal-head-v018,.preview-actions-v018,.document-check-v018{display:none}.cliro-document-preview-v018{max-width:none;padding:0}.cliro-document-preview-v018>.doc-sheet{box-shadow:none;border:0;border-radius:0}.document-total-list-v018{box-shadow:none;border:0;border-radius:0}.document-total-row-v018.total-gross{background:#11131a;-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* Strong online document presentation */
.customer-page{max-width:1180px;margin:0 auto;padding:0 18px 46px}
.cliro-document-portal-title-v018{min-width:0}.cliro-document-portal-meta-v018{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:6px}.cliro-document-status-v018{display:inline-flex;align-items:center;min-height:25px;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:900;letter-spacing:.02em;background:#eef2f6;color:#344054}.cliro-document-status-v018.is-accepted{background:#dcfae6;color:#067647}.cliro-document-status-v018.is-declined{background:#fee4e2;color:#b42318}.cliro-document-status-v018.is-viewed{background:#e0f2fe;color:#075985}.cliro-document-status-v018.is-open{background:#fff3d6;color:#854d0e}
.cliro-document-preview-v018>.doc-sheet{margin-inline:auto}.cliro-document-preview-v018 .doc-brand-row{gap:24px}.cliro-document-preview-v018 .doc-recipient-block{margin:0 42px 20px}.cliro-document-preview-v018 .doc-title,.cliro-document-preview-v018 .salutation,.cliro-document-preview-v018 .items-section,.cliro-document-preview-v018 .payment-final-block,.cliro-document-preview-v018 .closing{margin-left:42px;margin-right:42px}.cliro-document-preview-v018 .payment-final-block{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,430px);gap:28px;align-items:start;padding:26px 0 12px;border-top:1px solid #e7edf3}.cliro-document-preview-v018 .payment-info{padding:2px 0}.cliro-document-preview-v018 .payment-info h2{margin-top:0}.cliro-document-preview-v018 .doc-footer{margin-top:28px}
.preview-info-bubbles{display:grid;grid-template-columns:minmax(160px,.65fr) minmax(300px,1.8fr) minmax(140px,.55fr);gap:10px}.preview-info-bubble{min-width:0;border:1px solid #dce4ed;border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.055)}.preview-info-bubble-note{grid-column:1 / -1}.preview-info-link{overflow-wrap:anywhere}
html.cliro-theme-dark .preview-actions-v018,html.cliro-theme-dark .preview-info-bubble{background:#102235;border-color:#2a4359;color:#f8fafc}.cliro-public-document-v018 .success,.cliro-public-document-v018 .notice,.cliro-public-document-v018 .error{max-width:1040px;margin:12px auto;border-radius:15px}
@media(max-width:900px){.cliro-document-preview-v018 .doc-recipient-block,.cliro-document-preview-v018 .doc-title,.cliro-document-preview-v018 .salutation,.cliro-document-preview-v018 .items-section,.cliro-document-preview-v018 .payment-final-block,.cliro-document-preview-v018 .closing{margin-left:24px;margin-right:24px}.cliro-document-preview-v018 .payment-final-block{grid-template-columns:1fr}.preview-info-bubbles{grid-template-columns:1fr 1fr}.preview-info-bubble-wide,.preview-info-bubble-note{grid-column:1 / -1}}
@media(max-width:600px){.customer-page{padding:0}.cliro-document-portal-head-v018 .customer-actions{grid-template-columns:1fr}.cliro-document-preview-v018 .doc-head-block{padding:24px 18px 20px}.cliro-document-preview-v018 .doc-brand-row{display:grid;grid-template-columns:1fr}.cliro-document-preview-v018 .doc-recipient-block,.cliro-document-preview-v018 .doc-title,.cliro-document-preview-v018 .salutation,.cliro-document-preview-v018 .items-section,.cliro-document-preview-v018 .payment-final-block,.cliro-document-preview-v018 .closing{margin-left:16px;margin-right:16px}.cliro-document-preview-v018 .doc-title{font-size:25px}.preview-info-bubbles{grid-template-columns:1fr}.preview-info-bubble,.preview-info-bubble-wide,.preview-info-bubble-note{grid-column:auto}.document-total-row-v018{grid-template-columns:minmax(0,1fr) auto;gap:12px}.document-total-row-v018 dt{overflow-wrap:anywhere}}



/* V019: interne Dokumentvorschau – Logo und Dark-Mode-Rahmen */
body.cliro-v7154 .cliro-document-preview-v019 .doc-brand-left{min-width:0;min-height:72px;display:flex;align-items:center;overflow:visible}
body.cliro-v7154 .cliro-document-preview-v019 .doc-logo{display:block;width:auto;height:auto;max-width:170px;max-height:82px;object-fit:contain;object-position:left center;background:transparent}
body.cliro-v7154 .cliro-document-preview-v019 .doc-logo-fallback-v019{display:block;max-width:180px;color:var(--brand-primary,#12395b);font-size:17px;font-weight:950;line-height:1.15;overflow-wrap:anywhere}
html.cliro-theme-dark body.cliro-v7154 .cliro-document-preview-v019{background:transparent}
html.cliro-theme-dark body.cliro-v7154 .cliro-document-preview-v019>.doc-sheet{color-scheme:light;background:#fff;color:#172033;border-color:#7890a5;box-shadow:0 28px 84px rgba(0,0,0,.42)}
html.cliro-theme-dark body.cliro-v7154 .preview-actions-v018,
html.cliro-theme-dark body.cliro-v7154 .preview-info-bubble{background:#102235;border-color:#2f485e;color:#f8fafc}
html.cliro-theme-dark body.cliro-v7154 .preview-info-bubble :where(.preview-info-label,.preview-info-value){color:inherit}

/* Cliro V717.15 – robuste Produkttour ohne Legacy-Konflikte oder Layout-Manipulationen. */
body.cliro-v7154 .cliro-v7153-tour-overlay{
  z-index:30000;
  background:rgba(2,11,18,.76);
  backdrop-filter:blur(3px);
  pointer-events:none;
}
body.cliro-v7154 .cliro-v7153-tour-overlay.has-target{
  background:transparent;
  backdrop-filter:none;
}
body.cliro-v7154 .cliro-v71715-tour-shade{
  position:fixed;
  z-index:30000;
  display:block;
  margin:0;
  padding:0;
  border:0;
  background:rgba(2,11,18,.76);
  pointer-events:none;
}
body.cliro-v7154 .cliro-v71715-tour-shade[hidden]{display:none}
body.cliro-v7154 .cliro-v71715-tour-spotlight{
  position:fixed;
  z-index:30001;
  display:block;
  border:3px solid var(--cliro-v7153-focus,#8fc7f0);
  border-radius:16px;
  background:rgba(255,255,255,.04);
  box-shadow:0 18px 54px rgba(0,0,0,.28);
  pointer-events:none;
  transition:left .16s ease,top .16s ease,width .16s ease,height .16s ease;
}
body.cliro-v7154 .cliro-v71715-tour-spotlight[hidden]{display:none}
body.cliro-v7154 .cliro-v7153-tour-dialog{
  z-index:30002;
  margin:0;
  pointer-events:auto;
}
body.cliro-v7154 .cliro-v7153-tour-dialog.is-centered{
  left:50%;
  right:auto;
  top:50%;
  bottom:auto;
  transform:translate(-50%,-50%);
}
body.cliro-v7154 .cliro-v7153-tour-dialog.is-positioned{
  transform:none;
}
/* Alte Zielregeln dürfen echte Header-, Grid- oder Sticky-Elemente nicht mehr umpositionieren. */
body.cliro-v7154 .cliro-v7153-tour-target,
body.cliro-v7154 .cliro-v7153-tour-trigger.cliro-v7153-tour-target{
  z-index:auto;
  outline:0;
  box-shadow:none;
}
@media(max-width:760px){
  body.cliro-v7154 .cliro-v7153-tour-dialog{
    left:8px;
    right:8px;
    top:auto;
    bottom:max(8px,env(safe-area-inset-bottom));
    width:auto;
    max-height:calc(100dvh - 16px);
    transform:none;
  }
  body.cliro-v7154 .cliro-v71715-tour-spotlight{
    border-radius:13px;
  }
}
@media(prefers-reduced-motion:reduce){
  body.cliro-v7154 .cliro-v71715-tour-spotlight{transition:none}
}
@media(forced-colors:active){
  body.cliro-v7154 .cliro-v71715-tour-shade{
    background:Canvas;
    forced-color-adjust:none;
  }
  body.cliro-v7154 .cliro-v71715-tour-spotlight{
    border:3px solid Highlight;
    box-shadow:none;
    forced-color-adjust:none;
  }
}

