:root {
  color-scheme: light;
  --ink: #101828;
  --muted: #667085;
  --muted-2: #98a2b3;
  --line: #e4e7ec;
  --line-strong: #d0d5dd;
  --canvas: #f4f6f9;
  --surface: #ffffff;
  --navy: #0b1220;
  --navy-2: #111c31;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff6ff;
  --green: #16a34a;
  --green-dark: #15803d;
  --green-soft: #ecfdf3;
  --red: #dc2626;
  --red-dark: #b91c1c;
  --red-soft: #fff1f2;
  --amber: #d97706;
  --amber-soft: #fff7ed;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 4px rgba(16, 24, 40, 0.03);
  --shadow-md: 0 14px 30px rgba(15, 23, 42, 0.08);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--navy); }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

button, textarea, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
button:not(:disabled), select { cursor: pointer; }
button:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 2px;
}

.app-shell { min-height: 100vh; background: var(--canvas); }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  display: flex;
  width: 248px;
  flex-direction: column;
  padding: 30px 18px 24px;
  background: radial-gradient(circle at 20% 0%, rgba(37, 99, 235, 0.22), transparent 30%), linear-gradient(180deg, var(--navy-2), var(--navy));
  color: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  padding: 0 10px 28px;
  background: transparent;
  color: #fff;
  text-align: left;
}
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.08); }
.brand-mark svg { width: 23px; height: 23px; }
.brand strong, .brand small { display: block; line-height: 1.15; }
.brand strong { font-size: 18px; letter-spacing: -.02em; }
.brand small { margin-top: 3px; color: #a9b4c8; font-size: 13px; }

.side-nav { display: flex; flex-direction: column; gap: 6px; }
.nav-item { border: 0; background: transparent; color: #aeb8c9; }
.side-nav .nav-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 0 13px; border-radius: 13px; font-size: 15px; font-weight: 600; text-align: left; transition: background 160ms ease, color 160ms ease, transform 160ms ease; }
.side-nav .nav-item svg { width: 21px; height: 21px; flex: 0 0 auto; }
.side-nav .nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-nav .nav-item:active { transform: scale(.98); }
.side-nav .nav-item.is-active { background: #fff; color: var(--navy); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.sidebar-footer { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 14px 12px 0; border-top: 1px solid rgba(255,255,255,.08); color: #8f9cb1; font-size: 12px; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.1); }

.app-main { min-height: 100vh; margin-left: 248px; }
.screen { display: none; width: min(1180px, 100%); min-height: 100vh; margin: 0 auto; padding: 54px clamp(30px, 5vw, 72px) 72px; }
.screen.is-active { display: block; animation: screen-in 220ms ease both; }
@keyframes screen-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.page-header h1 { margin: 2px 0 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.045em; }
.eyebrow { margin: 0; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.title-accent { color: var(--blue); }
.header-link, .text-button { border: 0; padding: 8px 0; background: transparent; color: var(--blue); font-size: 14px; font-weight: 700; }
.header-link:hover, .text-button:hover { color: var(--blue-dark); }

.home-header { align-items: center; }
.live-clock { display: flex; align-items: baseline; gap: 7px; color: var(--ink); font-variant-numeric: tabular-nums; }
.live-clock span { font-size: 28px; font-weight: 800; letter-spacing: -.04em; }
.live-clock small { color: var(--muted); font-size: 13px; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(280px,.8fr); gap: 20px; }
.clock-card { position: relative; min-height: 350px; overflow: hidden; padding: clamp(24px,3.5vw,38px); border-radius: var(--radius-lg); background: radial-gradient(circle at 90% 5%, rgba(59,130,246,.28), transparent 38%), linear-gradient(145deg,#101c33 0%,#0b1220 70%); color: #fff; box-shadow: var(--shadow-md); }
.clock-card::after { position: absolute; right: -82px; bottom: -112px; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,255,255,.025), 0 0 0 68px rgba(255,255,255,.015); content: ""; pointer-events: none; }
.clock-card-top, .clock-card-body, .primary-action { position: relative; z-index: 1; }
.clock-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; color: #cbd5e1; font-size: 13px; }
.status-pill > span { width: 9px; height: 9px; border-radius: 50%; background: #64748b; box-shadow: 0 0 0 4px rgba(100,116,139,.16); }
.status-pill b { font-weight: 600; }
.status-pill.is-active { color: #bbf7d0; }
.status-pill.is-active > span { background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.16); }
.clock-card-date { color: #94a3b8; font-size: 13px; }
.clock-card-body { padding: 55px 0 32px; }
.clock-kicker { margin: 0 0 4px; color: #94a3b8; font-size: 14px; }
.clock-total { margin: 0; font-size: clamp(44px,6vw,64px); font-weight: 800; letter-spacing: -.065em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.clock-total span { margin-left: 2px; color: #7f8ca2; font-size: .42em; font-weight: 700; letter-spacing: 0; }
.clock-since { margin: 10px 0 0; color: #94a3b8; font-size: 13px; }
.primary-action { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 14px; padding: 0 22px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 800; box-shadow: 0 8px 18px rgba(37,99,235,.3); transition: background 160ms ease, transform 160ms ease; }
.primary-action:hover { background: #3472f4; }
.primary-action:active { transform: scale(.98); }
.primary-action.is-stop { background: var(--red); box-shadow: 0 8px 18px rgba(220,38,38,.24); }
.primary-action.is-stop:hover { background: #ef4444; }
.primary-action svg { width: 18px; height: 18px; }

.dashboard-side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.quick-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; width: 100%; min-height: 150px; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; background: var(--surface); color: var(--ink); text-align: left; box-shadow: var(--shadow-sm); transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease; }
.quick-card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.quick-card:active { transform: translateY(0); }
.quick-icon, .stat-icon { display: grid; flex: 0 0 auto; width: 46px; height: 46px; place-items: center; border-radius: 14px; }
.quick-icon svg, .stat-icon svg { width: 23px; height: 23px; }
.quick-icon--blue, .stat-icon--blue { background: var(--blue-soft); color: var(--blue); }
.quick-icon--green, .stat-icon--green { background: var(--green-soft); color: var(--green); }
.stat-icon--amber { background: var(--amber-soft); color: var(--amber); }
.quick-copy { min-width: 0; }
.quick-copy small, .quick-copy strong { display: block; }
.quick-copy small { margin-bottom: 4px; color: var(--muted); font-size: 12px; }
.quick-copy strong { overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.chevron { width: 18px; height: 18px; color: var(--muted-2); }

.section-block { margin-top: 44px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.section-heading h2 { margin: 2px 0 0; font-size: 22px; letter-spacing: -.025em; }
.recent-list { min-height: 92px; }
.recent-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 14px; width: 100%; min-height: 72px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); text-align: left; box-shadow: var(--shadow-sm); }
.recent-row + .recent-row { margin-top: 8px; }
.recent-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px var(--blue-soft); }
.recent-dot.cat-fahrt { background: var(--green); box-shadow: 0 0 0 5px var(--green-soft); }
.recent-dot.type-marker { background: var(--amber); box-shadow: 0 0 0 5px var(--amber-soft); }
.recent-copy { min-width: 0; }
.recent-copy strong, .recent-copy small { display: block; }
.recent-copy strong { font-size: 14px; }
.recent-copy small { overflow: hidden; margin-top: 2px; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.recent-time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

.work-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(290px,.8fr); gap: 24px; align-items: start; }
.work-primary { min-width: 0; }
.status-card { display: flex; min-height: 116px; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px 24px; background: var(--surface); box-shadow: var(--shadow-sm); }
.status-copy { display: flex; align-items: center; gap: 14px; }
.status-indicator { width: 12px; height: 12px; flex: 0 0 auto; border-radius: 50%; background: var(--muted-2); box-shadow: 0 0 0 6px #f2f4f7; }
.status-card.is-active .status-indicator { background: var(--blue); box-shadow: 0 0 0 6px var(--blue-soft); }
.status-card--green.is-active .status-indicator { background: var(--green); box-shadow: 0 0 0 6px var(--green-soft); }
.status-label { margin: 0 0 3px; color: var(--muted); font-size: 12px; }
.status-value { margin: 0; font-size: 17px; font-weight: 750; }
.status-card.is-active:not(.status-card--green) .status-value { color: var(--blue-dark); }
.status-card--green.is-active .status-value { color: var(--green-dark); }
.status-time { text-align: right; }
.status-time span, .status-time small { display: block; }
.status-time span { font-size: 24px; font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.status-time small { color: var(--muted); font-size: 11px; }

.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.big-btn { display: flex; min-height: 124px; align-items: center; gap: 16px; border: 0; border-radius: var(--radius-md); padding: 22px; color: #fff; text-align: left; box-shadow: var(--shadow-sm); transition: filter 160ms ease, transform 160ms ease; }
.big-btn:hover:not(:disabled) { filter: brightness(1.05); transform: translateY(-1px); }
.big-btn:active:not(:disabled) { transform: scale(.985); }
.big-btn--blue { background: linear-gradient(135deg,var(--blue-dark),var(--blue)); }
.big-btn--green { background: linear-gradient(135deg,var(--green-dark),var(--green)); }
.big-btn--red { background: linear-gradient(135deg,var(--red-dark),var(--red)); }
.big-btn:disabled { border: 1px solid var(--line); background: #eaecf0; color: var(--muted-2); box-shadow: none; cursor: not-allowed; }
.button-icon { display: grid; width: 46px; height: 46px; flex: 0 0 auto; place-items: center; border-radius: 14px; background: rgba(255,255,255,.14); }
.big-btn:disabled .button-icon { background: rgba(255,255,255,.56); }
.button-icon svg { width: 22px; height: 22px; }
.big-btn strong, .big-btn small { display: block; }
.big-btn strong { font-size: 17px; }
.big-btn small { margin-top: 3px; color: rgba(255,255,255,.72); font-size: 12px; }
.big-btn:disabled small { color: var(--muted-2); }
.marker-btn { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; width: 100%; min-height: 76px; margin-top: 16px; border: 1px solid #fed7aa; border-radius: var(--radius-md); padding: 14px 18px; background: var(--amber-soft); color: var(--ink); text-align: left; }
.marker-btn > svg:first-child { width: 22px; height: 22px; color: var(--amber); }
.marker-btn strong, .marker-btn small { display: block; }
.marker-btn strong { font-size: 14px; }
.marker-btn small { margin-top: 1px; color: #92400e; font-size: 12px; }

.today-summary, .history-panel, .editor-card, .note-readonly { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.today-summary { min-height: 214px; padding: 22px; }
.summary-label { margin: 0 0 16px; color: var(--ink); font-size: 15px; font-weight: 800; }
.summary-entry { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 2px 0 18px; }
.summary-entry { width: 100%; border: 0; background: transparent; color: var(--ink); text-align: left; }
.summary-entry:last-child { padding-bottom: 0; }
.summary-entry:not(:last-child)::after { position: absolute; top: 20px; bottom: 4px; left: 5px; width: 1px; background: var(--line); content: ""; }
.summary-entry .dot { position: relative; z-index: 1; width: 11px; height: 11px; margin-top: 5px; border: 2px solid #fff; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 2px var(--blue-soft); }
.summary-entry.out .dot { background: var(--red); box-shadow: 0 0 0 2px var(--red-soft); }
.summary-entry.marker .dot { background: var(--amber); box-shadow: 0 0 0 2px var(--amber-soft); }
.summary-entry .entry-time { margin: 0; font-size: 13px; font-weight: 700; }
.summary-entry .reason { margin: 2px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.summary-entry .entry-time, .summary-entry .reason { display: block; }

.notes-layout { display: grid; grid-template-columns: minmax(300px,.78fr) minmax(0,1.35fr); gap: 24px; align-items: start; }
.note-feature { display: flex; min-height: 270px; flex-direction: column; align-items: flex-start; border: 0; border-radius: var(--radius-lg); padding: 28px; background: radial-gradient(circle at 95% 0%, rgba(96,165,250,.25), transparent 34%), linear-gradient(145deg,#1d4ed8,#1e40af); color: #fff; text-align: left; box-shadow: var(--shadow-md); transition: transform 160ms ease; }
.note-feature:hover { transform: translateY(-2px); }
.note-feature-icon { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 16px; background: rgba(255,255,255,.12); }
.note-feature-icon svg { width: 27px; height: 27px; }
.note-feature-copy { display: block; width: 100%; margin-top: 34px; }
.note-feature-copy small, .note-feature-copy strong, .note-feature-copy span { display: block; }
.note-feature-copy small { color: #bfdbfe; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.note-feature-copy strong { margin-top: 3px; font-size: 25px; letter-spacing: -.03em; }
.note-feature-copy span { overflow: hidden; margin-top: 5px; color: #dbeafe; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.note-feature-action { margin-top: auto; border-bottom: 1px solid rgba(255,255,255,.5); font-size: 13px; font-weight: 700; }
.history-panel { min-height: 270px; padding: 24px; }
.section-heading--tight { align-items: center; margin-bottom: 18px; }
.icon-button, .back-btn, .sheet-close { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--ink); }
.icon-button svg, .back-btn svg, .sheet-close svg { width: 20px; height: 20px; }
.list { display: flex; flex-direction: column; gap: 8px; }
.list-row { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; background: #fcfcfd; transition: background 140ms ease, border-color 140ms ease; cursor: pointer; }
.list-row:hover { border-color: var(--line-strong); background: #f9fafb; }
.row-date { font-size: 14px; font-weight: 700; }
.row-preview { display: block; overflow: hidden; max-width: 330px; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.list-row .chev { width: 17px; height: 17px; color: var(--muted-2); }

.editor-header { justify-content: flex-start; align-items: center; }
.editor-header h1 { font-size: clamp(27px,3vw,38px); }
.editor-card { padding: 20px; }
.note-textarea { display: block; width: 100%; min-height: min(52vh,520px); resize: vertical; border: 0; padding: 8px; background: transparent; color: var(--ink); font-size: 16px; line-height: 1.7; }
.note-textarea:focus-visible { outline: none; }
.note-textarea::placeholder { color: var(--muted-2); }
.editor-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 8px 4px; border-top: 1px solid var(--line); }
.editor-actions > span { color: var(--muted); font-size: 12px; }
.primary-button { min-height: 46px; border: 0; border-radius: 12px; padding: 0 20px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 800; transition: background 150ms ease, transform 150ms ease; }
.primary-button:hover { background: var(--blue-dark); }
.primary-button:active { transform: scale(.98); }
.primary-button--full { width: 100%; }
.note-readonly { min-height: 280px; padding: 28px; white-space: pre-wrap; line-height: 1.75; }

.times-header { align-items: center; }
.filter-control { display: flex; align-items: center; gap: 10px; }
.filter-control > span { color: var(--muted); font-size: 12px; font-weight: 700; }
.filter-select { min-width: 178px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 0 36px 0 13px; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 600; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 18px; }
.stat-card { display: flex; min-height: 94px; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.stat-card small, .stat-card strong { display: block; }
.stat-card small { color: var(--muted); font-size: 12px; }
.stat-card strong { margin-top: 2px; font-size: 20px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 8px 0 18px; }
.legend-item { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.legend .dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-blue { background: var(--blue); }
.dot-green { background: var(--green); }
.dot-amber { background: var(--amber); }
.timeline-list { gap: 10px; }
.day-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.day-card-head { display: flex; width: 100%; min-height: 70px; align-items: center; justify-content: space-between; gap: 20px; border: 0; padding: 14px 18px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.day-card-head::after { width: 18px; height: 18px; margin-left: 4px; background: no-repeat center/18px 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a2b3' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); content: ""; transition: transform 180ms ease; }
.day-card.is-open .day-card-head::after { transform: rotate(180deg); }
.day-title { flex: 1; min-width: 0; }
.day-title .row-date, .day-title small { display: block; }
.day-title small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.row-meta { color: var(--ink); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.day-card-detail { display: none; padding: 0 18px 16px; border-top: 1px solid var(--line); }
.day-card.is-open .day-card-detail { display: block; }
.entry-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; align-items: start; padding: 14px 0; }
.entry-row + .entry-row { border-top: 1px solid #f0f1f3; }
.entry-row > svg { width: 18px; height: 18px; margin-top: 1px; color: var(--blue); }
.entry-row.cat-fahrt > svg { color: var(--green); }
.entry-row.type-marker > svg { color: var(--amber); }
.entry-row .entry-time { margin: 0; font-size: 13px; font-weight: 750; }
.entry-row .entry-reason { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.entry-row .entry-time, .entry-row .entry-reason { display: block; }
.entry-category { align-self: center; border-radius: 999px; padding: 4px 8px; background: var(--blue-soft); color: var(--blue-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.entry-category.cat-fahrt { background: var(--green-soft); color: var(--green-dark); }
.entry-category.type-marker { background: var(--amber-soft); color: #92400e; }
.entry-side { display: flex; align-items: flex-end; flex-direction: column; gap: 4px; }
.entry-side > small { color: var(--muted-2); font-size: 9px; font-weight: 700; }

.empty-state { display: flex; min-height: 120px; align-items: center; justify-content: center; gap: 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 20px; color: var(--muted); text-align: left; }
.empty-state.compact { min-height: 88px; }
.empty-state strong { display: block; color: var(--ink); font-size: 14px; }
.empty-state p { margin: 2px 0 0; font-size: 12px; }
.empty-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: #f2f4f7; color: var(--muted); }
.empty-icon svg { width: 20px; height: 20px; }

.mobile-nav { display: none; }
.sheet-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(11,18,32,.62); opacity: 0; pointer-events: none; transition: opacity 200ms ease; backdrop-filter: blur(3px); }
.sheet-backdrop.is-open { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; right: 28px; bottom: 28px; z-index: 60; width: min(430px,calc(100vw - 56px)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: var(--surface); box-shadow: 0 24px 60px rgba(11,18,32,.3); opacity: 0; pointer-events: none; transform: translateY(18px) scale(.98); transition: opacity 190ms ease, transform 220ms ease; }
.sheet.is-open { opacity: 1; pointer-events: auto; transform: none; }
.sheet-handle { display: none; }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.sheet-title { margin: 3px 0 0; font-size: 23px; letter-spacing: -.03em; }
.field-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; color: var(--ink); font-size: 13px; font-weight: 750; }
.field-label span { color: var(--muted); font-size: 11px; font-weight: 600; }
.sheet-textarea { display: block; width: 100%; height: 110px; resize: none; border: 1px solid var(--line-strong); border-radius: 13px; padding: 12px 13px; background: #fcfcfd; color: var(--ink); font-size: 14px; line-height: 1.5; }
.sheet-textarea::placeholder { color: var(--muted-2); }
.sheet-error { display: none; margin: 7px 0 0; color: var(--red); font-size: 12px; }
.sheet-error.is-visible { display: block; }
.sheet .primary-button { margin-top: 16px; }
.toast { position: fixed; right: 28px; bottom: 28px; z-index: 70; max-width: min(360px,calc(100vw - 40px)); border-radius: 12px; padding: 12px 16px; background: var(--navy); color: #fff; box-shadow: var(--shadow-md); font-size: 13px; font-weight: 650; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 160ms ease, transform 160ms ease; }
.toast.is-visible { opacity: 1; transform: none; }
.toast.is-error { background: var(--red-dark); }

[hidden] { display: none !important; }
#app[aria-hidden="true"] { display: none; }
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  background: radial-gradient(circle at 50% 20%, rgba(37,99,235,.25), transparent 32%), var(--navy);
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 650;
}
.loading-mark { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 17px; background: rgba(255,255,255,.08); color: #fff; }
.loading-mark svg { width: 28px; height: 28px; }
.loading-screen .loading-mark { animation: loading-pulse 1.6s ease-in-out infinite; }
@keyframes loading-pulse { 50% { transform: scale(1.05); box-shadow: 0 0 0 9px rgba(37,99,235,.08); } }

.auth-shell {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  overflow-y: auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 28px 20px;
  background: radial-gradient(circle at 50% 0%, rgba(37,99,235,.25), transparent 35%), linear-gradient(145deg,#101c33,#0b1220 65%);
  color: #fff;
}
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.auth-brand strong, .auth-brand small { display: block; line-height: 1.15; }
.auth-brand strong { font-size: 20px; }
.auth-brand small { margin-top: 3px; color: #94a3b8; font-size: 13px; }
.auth-card { width: min(440px,100%); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: clamp(24px,4vw,38px); background: #fff; color: var(--ink); box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.auth-card h1 { margin: 5px 0 8px; font-size: 34px; letter-spacing: -.04em; }
.auth-intro { margin: 0 0 25px; color: var(--muted); font-size: 14px; }
.auth-footnote { max-width: 430px; margin: 18px 0 0; color: #7f8ca2; font-size: 12px; text-align: center; }
.setup-notice { margin-bottom: 18px; border: 1px solid #fed7aa; border-radius: 12px; padding: 12px 14px; background: var(--amber-soft); color: #92400e; font-size: 13px; }
.auth-submit { margin-top: 5px; }

.form-field { display: block; margin-bottom: 15px; }
.form-field > span { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; color: var(--ink); font-size: 13px; font-weight: 750; }
.form-field > span small { color: var(--muted); font-size: 11px; font-weight: 600; }
.form-field > small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.form-field input:not([type="color"]), .form-field select, .form-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0 12px;
  background: #fcfcfd;
  color: var(--ink);
  font-size: 14px;
}
.form-field textarea { min-height: 92px; padding-top: 11px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted-2); }
.form-error { min-height: 18px; margin: -2px 0 8px; color: var(--red); font-size: 12px; }
.compact-field { margin-top: 14px; }

.account-button { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; width: 100%; min-height: 64px; margin-top: auto; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; padding: 10px; background: rgba(255,255,255,.05); color: #fff; text-align: left; }
.account-button:hover { background: rgba(255,255,255,.09); }
.account-avatar, .mobile-account-button { display: grid; place-items: center; border-radius: 12px; background: linear-gradient(145deg,#3b82f6,#1d4ed8); color: #fff; font-weight: 800; text-transform: uppercase; }
.account-avatar { width: 38px; height: 38px; }
.account-copy { min-width: 0; }
.account-copy strong, .account-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-copy strong { font-size: 13px; }
.account-copy small { margin-top: 2px; color: #8f9cb1; font-size: 10px; }
.account-button > svg { width: 16px; height: 16px; color: #718096; }
.home-tools { display: flex; align-items: center; gap: 14px; }
.mobile-account-button { display: none; width: 42px; height: 42px; border: 0; }

.reminder-banner, .migration-banner { display: flex; align-items: center; gap: 14px; margin: -10px 0 20px; border-radius: 15px; padding: 14px 16px; }
.reminder-banner { border: 1px solid #fed7aa; background: var(--amber-soft); color: #7c2d12; }
.migration-banner { justify-content: space-between; border: 1px solid #bfdbfe; background: var(--blue-soft); color: #1e3a8a; }
.reminder-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: #ffedd5; color: var(--amber); }
.reminder-icon svg { width: 20px; height: 20px; }
.reminder-banner > div, .migration-banner > div { flex: 1; }
.reminder-banner strong, .migration-banner strong { display: block; font-size: 14px; }
.reminder-banner p, .migration-banner p { margin: 2px 0 0; font-size: 12px; }
.reminder-banner > button { border: 0; border-bottom: 1px solid currentColor; padding: 4px 0; background: transparent; color: inherit; font-size: 12px; font-weight: 800; }
.secondary-button, .notification-button, .danger-button { min-height: 42px; border-radius: 11px; padding: 0 14px; background: #fff; font-size: 13px; font-weight: 750; }
.secondary-button { border: 1px solid var(--line-strong); color: var(--ink); }
.secondary-button:hover { background: #f9fafb; }
.notification-button { width: 100%; margin-top: 10px; border: 1px solid #bfdbfe; color: var(--blue-dark); }
.danger-button { border: 1px solid #fecdd3; color: var(--red-dark); }
.danger-button:hover { background: var(--red-soft); }

.week-card { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 21px 24px; background: var(--surface); box-shadow: var(--shadow-sm); }
.week-card-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.week-card h2 { margin: 2px 0 0; font-size: 21px; letter-spacing: -.025em; }
.week-card-head > strong { font-size: 16px; }
.week-card-head > strong.is-positive { color: var(--green-dark); }
.week-card-head > strong.is-negative { color: var(--muted); }
.week-progress { overflow: hidden; height: 8px; margin: 17px 0 10px; border-radius: 999px; background: #eaecf0; }
.week-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--blue-dark),#60a5fa); transition: width 300ms ease; }
.week-progress span.is-complete { background: linear-gradient(90deg,var(--green-dark),#4ade80); }
.week-meta { display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 12px; }
.week-meta b { color: var(--ink); }

.times-actions { display: flex; align-items: center; gap: 12px; }
.view-switch { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 4px; background: #eaecf0; }
.view-switch button { min-height: 36px; border: 0; border-radius: 9px; padding: 0 18px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 750; }
.view-switch button.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.time-view { display: none; }
.time-view.is-active { display: flex; }
.calendar-view.is-active { display: block; }
.calendar-view { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; background: var(--surface); box-shadow: var(--shadow-sm); }
.calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.calendar-head h2 { margin: 0; font-size: 20px; letter-spacing: -.025em; text-transform: capitalize; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 6px; }
.calendar-weekdays { margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 800; text-align: center; text-transform: uppercase; }
.calendar-day, .calendar-blank { min-height: 92px; border-radius: 12px; }
.calendar-day { display: flex; min-width: 0; align-items: flex-start; flex-direction: column; border: 1px solid var(--line); padding: 9px; background: #fcfcfd; color: var(--ink); text-align: left; }
.calendar-day:hover { border-color: var(--line-strong); background: #f9fafb; }
.calendar-day.is-today { border-color: #93c5fd; box-shadow: inset 0 0 0 1px #bfdbfe; }
.calendar-day.is-selected { border-color: var(--blue); background: var(--blue-soft); }
.calendar-date { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; font-size: 12px; font-weight: 800; }
.calendar-day.is-today .calendar-date { background: var(--blue); color: #fff; }
.calendar-total { margin-top: auto; font-size: 11px; font-weight: 800; }
.calendar-dots { display: flex; gap: 4px; margin-top: 4px; }
.calendar-dots span { width: 6px; height: 6px; border-radius: 50%; }
.calendar-dots .work { background: var(--blue); }
.calendar-dots .fahrt { background: var(--green); }
.calendar-dots .marker { background: var(--amber); }
.calendar-detail { margin-top: 14px; }
.calendar-detail:empty { display: none; }
.calendar-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; padding: 10px 2px; }
.calendar-detail-head strong { font-size: 14px; }
.calendar-detail-head span { color: var(--muted); font-size: 11px; }

.entry-row { width: 100%; border: 0; background: transparent; color: var(--ink); text-align: left; }
.entry-row:hover { background: #fcfcfd; }
.project-tag { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; border-radius: 999px; padding: 3px 7px; background: #f2f4f7; color: var(--muted); font-size: 10px; font-weight: 700; }
.project-tag::before { width: 6px; height: 6px; border-radius: 50%; background: var(--project-color,#98a2b3); content: ""; }

.settings-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,.75fr); gap: 24px; align-items: start; }
.settings-stack { display: flex; flex-direction: column; gap: 18px; }
.settings-card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; background: var(--surface); box-shadow: var(--shadow-sm); }
.settings-card h2 { margin: 2px 0 0; font-size: 21px; letter-spacing: -.025em; }
.project-list { display: flex; flex-direction: column; gap: 9px; }
.project-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; min-height: 66px; border: 1px solid var(--line); border-radius: 13px; padding: 10px 12px; background: #fcfcfd; }
.project-color { width: 12px; height: 40px; border-radius: 999px; background: var(--project-color); }
.project-copy { min-width: 0; }
.project-copy strong, .project-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-copy strong { font-size: 14px; }
.project-copy small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.project-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.project-actions button { min-height: 34px; border: 0; border-radius: 9px; padding: 0 9px; background: #f2f4f7; color: var(--muted); font-size: 11px; font-weight: 750; }
.project-actions button:hover { color: var(--ink); }
.archived-label { border-radius: 999px; padding: 3px 7px; background: #f2f4f7; color: var(--muted); font-size: 10px; font-weight: 700; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.toggle-row strong, .toggle-row small { display: block; }
.toggle-row strong { font-size: 14px; }
.toggle-row small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.toggle-row input { width: 42px; height: 24px; accent-color: var(--blue); }
.account-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.account-card h2 { margin-bottom: 4px; }
.account-card p:last-child { margin: 0; color: var(--muted); font-size: 12px; }

.sheet-project-field { margin-bottom: 0; }
.entry-sheet { width: min(540px,calc(100vw - 56px)); }
.form-columns { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.modal-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.modal-actions .danger-button { margin-right: auto; }
.color-field { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.color-field > span { margin: 0; }
.color-field input[type="color"] { width: 54px; height: 38px; border: 1px solid var(--line); border-radius: 10px; padding: 4px; background: #fff; }

@media (max-width: 900px) {
  .sidebar { width: 210px; }
  .app-main { margin-left: 210px; }
  .dashboard-grid, .work-layout, .notes-layout { grid-template-columns: 1fr; }
  .dashboard-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .quick-card { min-height: 128px; padding: 18px; }
  .work-layout { gap: 18px; }
  .today-summary { min-height: 0; }
  .settings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { background: var(--canvas); }
  .sidebar { display: none; }
  .app-main { margin-left: 0; }
  .screen { min-height: 100svh; padding: calc(28px + var(--safe-top)) 18px calc(100px + var(--safe-bottom)); }
  .page-header { align-items: center; margin-bottom: 24px; }
  .page-header h1 { font-size: 32px; }
  .page-header .header-link { display: none; }
  .home-header { align-items: flex-start; }
  .live-clock span { font-size: 22px; }
  .live-clock small { display: none; }
  .mobile-account-button { display: grid; }
  .reminder-banner, .migration-banner { margin-top: -4px; }
  .migration-banner { align-items: stretch; flex-direction: column; }
  .dashboard-grid { gap: 14px; }
  .clock-card { min-height: 320px; padding: 24px; border-radius: 22px; }
  .clock-card-body { padding: 45px 0 28px; }
  .clock-total { font-size: 48px; }
  .primary-action { width: 100%; }
  .dashboard-side { grid-template-columns: 1fr; gap: 10px; }
  .quick-card { min-height: 86px; padding: 16px; }
  .section-block { margin-top: 34px; }
  .week-card { padding: 18px; }
  .section-heading h2 { font-size: 20px; }
  .action-grid { grid-template-columns: 1fr; gap: 10px; }
  .big-btn { min-height: 92px; padding: 16px 18px; }
  .status-card { min-height: 102px; padding: 18px; }
  .status-time span { font-size: 20px; }
  .status-time small { max-width: 82px; }
  .today-summary { padding: 18px; }
  .note-feature { min-height: 240px; padding: 24px; }
  .history-panel { padding: 18px; }
  .editor-card { padding: 13px; }
  .note-textarea { min-height: 54vh; padding: 10px; }
  .editor-actions { align-items: stretch; flex-direction: column; padding: 14px 6px 3px; }
  .editor-actions > span { order: 2; text-align: center; }
  .editor-actions .primary-button { width: 100%; }
  .times-header { align-items: flex-start; flex-direction: column; gap: 16px; }
  .times-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .times-actions > .primary-button { width: 100%; }
  .filter-control { width: 100%; justify-content: space-between; }
  .filter-select { min-width: 0; width: 62%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { min-height: 86px; padding: 14px; }
  .stat-card:last-child { grid-column: 1 / -1; }
  .stat-icon { width: 40px; height: 40px; }
  .stat-card strong { font-size: 18px; }
  .day-card-head { min-height: 64px; padding: 12px 14px; }
  .day-card-detail { padding: 0 14px 12px; }
  .entry-row { grid-template-columns: auto minmax(0,1fr); }
  .entry-side { grid-column: 2; align-items: flex-start; }
  .calendar-view { padding: 13px; }
  .calendar-day, .calendar-blank { min-height: 68px; }
  .calendar-day { padding: 5px; }
  .calendar-total { overflow: hidden; width: 100%; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  .calendar-weekdays, .calendar-grid { gap: 3px; }
  .settings-card { padding: 18px; }
  .settings-card .section-heading--tight { align-items: flex-start; flex-direction: column; }
  .account-card { align-items: stretch; flex-direction: column; }
  .form-columns { grid-template-columns: 1fr; }
  .mobile-nav { position: fixed; right: 10px; bottom: calc(10px + var(--safe-bottom)); left: 10px; z-index: 30; display: grid; grid-template-columns: repeat(5,1fr); min-height: 68px; padding: 7px; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: rgba(11,18,32,.96); box-shadow: 0 12px 32px rgba(11,18,32,.28); backdrop-filter: blur(18px); }
  .mobile-nav .nav-item { display: flex; min-width: 0; align-items: center; justify-content: center; flex-direction: column; gap: 3px; border-radius: 14px; color: #8f9cb1; }
  .mobile-nav .nav-item svg { width: 21px; height: 21px; }
  .mobile-nav .nav-item span { overflow: hidden; width: 100%; font-size: 10px; font-weight: 700; text-overflow: ellipsis; }
  .mobile-nav .nav-item.is-active { background: rgba(255,255,255,.1); color: #fff; }
  .sheet { right: 0; bottom: 0; overflow-y: auto; width: 100%; max-width: none; max-height: min(92svh,820px); border-radius: 22px 22px 0 0; padding: 14px 18px calc(22px + var(--safe-bottom)); transform: translateY(100%); }
  .sheet.is-open { transform: none; }
  .sheet-handle { display: block; width: 38px; height: 4px; margin: 0 auto 16px; border-radius: 999px; background: var(--line-strong); }
  .toast { right: 18px; bottom: calc(94px + var(--safe-bottom)); left: 18px; max-width: none; text-align: center; }
}

@media (max-width: 390px) {
  .screen { padding-right: 14px; padding-left: 14px; }
  .clock-card { padding: 21px; }
  .clock-card-date { display: none; }
  .clock-total { font-size: 43px; }
  .quick-card { grid-template-columns: auto minmax(0,1fr) auto; padding: 14px; }
  .status-card { align-items: flex-start; }
  .status-time small { font-size: 10px; }
  .big-btn { min-height: 88px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card:last-child { grid-column: auto; }
  .mobile-nav { right: 6px; bottom: calc(6px + var(--safe-bottom)); left: 6px; }
  .mobile-nav .nav-item span { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Design refresh v8 — präzise, ruhig und auf Touch-Bedienung ausgelegt */
:root {
  --ink: #0d1b2e;
  --muted: #5d6b7e;
  --muted-2: #8a97a9;
  --line: #dbe3ee;
  --line-strong: #c9d4e2;
  --canvas: #eef3f8;
  --surface: rgba(255,255,255,.92);
  --navy: #07111f;
  --navy-2: #0b1c31;
  --blue: #246bfd;
  --blue-dark: #1554dd;
  --blue-soft: #eaf1ff;
  --green: #10a36f;
  --green-dark: #087a53;
  --green-soft: #e7f8f1;
  --red: #e5484d;
  --red-dark: #c9343a;
  --red-soft: #fff0f1;
  --amber: #d9890b;
  --amber-soft: #fff6df;
  --shadow-sm: 0 1px 2px rgba(18,36,59,.04), 0 8px 24px rgba(18,36,59,.045);
  --shadow-md: 0 20px 55px rgba(13,27,46,.12);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
}

body {
  background:
    radial-gradient(circle at 78% -10%, rgba(36,107,253,.11), transparent 30rem),
    linear-gradient(180deg,#f7faff 0,#eef3f8 38rem);
  font-family: "Segoe UI Variable Text", "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
}

button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(36,107,253,.25);
  outline-offset: 3px;
}

.app-shell { background: transparent; }

.sidebar {
  inset: 16px auto 16px 16px;
  width: 240px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 28px;
  padding: 24px 14px 16px;
  background:
    radial-gradient(circle at 15% 2%, rgba(67,136,255,.30), transparent 28%),
    radial-gradient(circle at 90% 90%, rgba(16,163,111,.12), transparent 30%),
    linear-gradient(165deg,#102640 0%,#07111f 70%);
  box-shadow: 0 24px 60px rgba(7,17,31,.24);
}

.sidebar::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg,rgba(255,255,255,.055),transparent 22% 78%,rgba(255,255,255,.025));
  content: "";
  pointer-events: none;
}

.sidebar > * { position: relative; z-index: 1; }
.brand { gap: 13px; padding: 2px 10px 28px; }
.brand-mark, .loading-mark {
  border-color: rgba(255,255,255,.18);
  background: linear-gradient(145deg,rgba(70,139,255,.95),rgba(24,84,222,.88));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.26), 0 10px 24px rgba(19,77,196,.26);
}
.brand strong { font-size: 19px; letter-spacing: -.035em; }
.brand small { color: #91a5be; font-size: 13px; }
.side-nav { gap: 7px; }
.side-nav .nav-item {
  position: relative;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0 14px;
  color: #9eb0c6;
  font-size: 14px;
}
.side-nav .nav-item:hover { border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.055); }
.side-nav .nav-item.is-active {
  border-color: rgba(112,164,255,.34);
  background: linear-gradient(135deg,rgba(49,117,250,.96),rgba(28,87,213,.92));
  color: #fff;
  box-shadow: 0 10px 24px rgba(17,73,181,.32), inset 0 1px 0 rgba(255,255,255,.18);
}
.side-nav .nav-item.is-active::after {
  position: absolute;
  right: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a9c8ff;
  box-shadow: 0 0 0 4px rgba(169,200,255,.12);
  content: "";
}
.sidebar-footer { border-color: rgba(255,255,255,.09); color: #8297b0; font-size: 12px; }
.account-button {
  border-color: rgba(255,255,255,.11);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
}
.account-button:hover { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.09); }
.account-avatar, .mobile-account-button {
  background: linear-gradient(145deg,#4b8cff,#1d59dd);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 6px 14px rgba(24,84,222,.22);
}
.account-copy strong { font-size: 14px; }
.account-copy small { color: #8297b0; font-size: 12px; }

.app-main { margin-left: 272px; }
.screen { width: min(1260px,100%); padding: 56px clamp(28px,4.5vw,68px) 78px; }
.page-header { margin-bottom: 30px; }
.page-header h1 {
  font-family: "Segoe UI Variable Display", "Segoe UI", Inter, sans-serif;
  font-weight: 760;
  letter-spacing: -.052em;
}
.eyebrow { color: #6f7f93; font-size: 12px; letter-spacing: .13em; }
.title-accent { color: #2f73ff; }
.header-link, .text-button { color: var(--blue-dark); }
.live-clock {
  border: 1px solid rgba(201,212,226,.9);
  border-radius: 16px;
  padding: 8px 13px;
  background: rgba(255,255,255,.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  backdrop-filter: blur(12px);
}
.live-clock span { font-size: 25px; }

.dashboard-grid { grid-template-columns: minmax(0,1.55fr) minmax(285px,.78fr); gap: 22px; }
.clock-card {
  min-height: 365px;
  border: 1px solid rgba(118,163,232,.18);
  background:
    radial-gradient(circle at 88% 10%,rgba(68,134,255,.40),transparent 31%),
    radial-gradient(circle at 22% 110%,rgba(16,163,111,.15),transparent 34%),
    linear-gradient(145deg,#132b49 0%,#081523 72%);
  box-shadow: 0 26px 65px rgba(7,17,31,.22), inset 0 1px 0 rgba(255,255,255,.07);
}
.clock-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg,#5591ff,#246bfd 48%,#10a36f);
  content: "";
}
.clock-card::after { border-color: rgba(255,255,255,.10); box-shadow: 0 0 0 34px rgba(255,255,255,.03),0 0 0 68px rgba(255,255,255,.018); }
.clock-card-body { padding: 58px 0 34px; }
.clock-kicker, .clock-since, .clock-card-date { color: #91a5be; }
.clock-total { font-weight: 760; text-shadow: 0 8px 26px rgba(0,0,0,.2); }
.clock-total span { color: #8297b0; }
.status-pill { border: 1px solid rgba(255,255,255,.09); border-radius: 999px; padding: 6px 10px; background: rgba(255,255,255,.055); }
.status-pill.is-active > span, .online-dot { animation: status-pulse 2.2s ease-in-out infinite; }
@keyframes status-pulse { 50% { box-shadow: 0 0 0 7px rgba(74,222,128,.06); } }
.primary-action {
  min-height: 54px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  background: linear-gradient(135deg,#3980ff,#1f5de4);
  box-shadow: 0 12px 28px rgba(23,82,211,.36),inset 0 1px 0 rgba(255,255,255,.2);
}
.primary-action:hover { background: linear-gradient(135deg,#4c8dff,#2868ee); transform: translateY(-1px); }

.quick-card, .week-card, .recent-row, .status-card, .today-summary, .history-panel,
.editor-card, .note-readonly, .calendar-view, .stat-card, .day-card, .settings-card {
  border-color: rgba(201,212,226,.88);
  background: var(--surface);
  box-shadow: var(--shadow-sm),inset 0 1px 0 rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
}
.quick-card { overflow: hidden; min-height: 156px; border-radius: 20px; }
.quick-card::before { width: 3px; height: 48px; border-radius: 999px; background: #cbd8e7; content: ""; }
.quick-card:has(.quick-icon--blue)::before { background: var(--blue); }
.quick-card:has(.quick-icon--green)::before { background: var(--green); }
.quick-card:hover { border-color: #aec2db; box-shadow: 0 18px 38px rgba(23,45,74,.10); }
.quick-icon, .stat-icon { border: 1px solid rgba(255,255,255,.7); border-radius: 15px; box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.quick-copy small, .stat-card small, .status-label, .summary-entry .reason, .big-btn small { font-size: 13px; }
.quick-copy strong { font-size: 17px; letter-spacing: -.02em; }

.week-card { margin-top: 22px; border-radius: 20px; padding: 23px 25px; }
.week-progress { height: 10px; background: #e3eaf3; box-shadow: inset 0 1px 2px rgba(22,45,73,.08); }
.week-progress span { background: linear-gradient(90deg,#246bfd,#63a0ff); box-shadow: 0 0 18px rgba(36,107,253,.24); }
.week-meta { font-size: 13px; }
.recent-row { min-height: 76px; transition: transform 160ms ease,border-color 160ms ease,box-shadow 160ms ease; }
.recent-row:hover { border-color: #b6c7dc; box-shadow: 0 12px 28px rgba(22,45,73,.08); transform: translateY(-1px); }

.status-card { border-radius: 20px; }
.status-card.is-active { border-color: rgba(36,107,253,.38); background: linear-gradient(135deg,rgba(234,241,255,.94),rgba(255,255,255,.94)); }
.status-card--green.is-active { border-color: rgba(16,163,111,.34); background: linear-gradient(135deg,rgba(231,248,241,.94),rgba(255,255,255,.94)); }
.status-value { font-size: 18px; letter-spacing: -.02em; }
.status-time span { font-size: 26px; }
.status-time small { font-size: 12px; }
.big-btn {
  min-height: 130px;
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 16px 34px rgba(19,54,98,.15),inset 0 1px 0 rgba(255,255,255,.18);
}
.big-btn--blue { background: linear-gradient(135deg,#2f76ff,#1856d8); }
.big-btn--green { background: linear-gradient(135deg,#14ad78,#087a53); }
.big-btn--red { background: linear-gradient(135deg,#ee555a,#c9343a); }
.big-btn:disabled { border-color: var(--line); background: #e6ecf3; }
.button-icon { border: 1px solid rgba(255,255,255,.13); }
.marker-btn { border-color: #f0d39a; background: linear-gradient(135deg,#fff9e9,#fff3d1); }
.note-feature {
  border: 1px solid rgba(255,255,255,.1);
  background: radial-gradient(circle at 92% 5%,rgba(108,164,255,.38),transparent 33%),linear-gradient(145deg,#245fda,#133b93);
  box-shadow: 0 22px 48px rgba(16,61,150,.2),inset 0 1px 0 rgba(255,255,255,.12);
}
.note-feature-copy strong { font-size: 27px; }

.list-row, .project-row, .entry-row, .calendar-day {
  border-color: #dbe3ee;
  background: rgba(248,251,255,.86);
}
.list-row:hover, .calendar-day:hover { border-color: #b9c9dc; background: #fff; }
.day-card { overflow: hidden; border-radius: 18px; }
.day-card-head { background: rgba(248,251,255,.7); }
.stat-card strong { font-size: 22px; }
.view-switch { border-color: #d3ddea; background: #e4ebf3; }
.view-switch button { font-size: 13px; }
.view-switch button.is-active { box-shadow: 0 5px 14px rgba(22,45,73,.09); }
.calendar-day.is-selected { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px rgba(36,107,253,.18); }
.calendar-total, .calendar-weekdays, .calendar-detail-head span, .project-tag, .archived-label { font-size: 12px; }

.primary-button {
  min-height: 48px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 13px;
  background: linear-gradient(135deg,#3279ff,#1d5cde);
  box-shadow: 0 9px 20px rgba(27,87,214,.2),inset 0 1px 0 rgba(255,255,255,.2);
}
.primary-button:hover { background: linear-gradient(135deg,#4487ff,#2667eb); transform: translateY(-1px); }
.secondary-button, .notification-button, .danger-button, .icon-button, .back-btn, .sheet-close {
  border-color: #cad6e4;
  background: rgba(255,255,255,.88);
  box-shadow: 0 5px 14px rgba(22,45,73,.055);
}
.filter-select, .form-field input:not([type="color"]), .form-field select, .form-field textarea, .sheet-textarea {
  min-height: 48px;
  border-color: #c9d5e4;
  border-radius: 13px;
  background: rgba(248,251,255,.9);
  font-size: 16px;
  transition: border-color 150ms ease,box-shadow 150ms ease,background 150ms ease;
}
.filter-select:focus, .form-field input:focus, .form-field select:focus, .form-field textarea:focus, .sheet-textarea:focus {
  border-color: #6094f7;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(36,107,253,.09);
}
.form-field > span, .field-label { font-size: 14px; }
.form-field > small, .field-label span, .toggle-row small, .project-copy small, .account-card p:last-child { font-size: 12px; }

.sheet {
  border-color: rgba(201,212,226,.9);
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 30px 75px rgba(7,17,31,.25);
  backdrop-filter: blur(22px);
}
.sheet-backdrop { background: rgba(4,12,22,.62); backdrop-filter: blur(6px); }
.toast { border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: #0c1c30; box-shadow: 0 18px 42px rgba(7,17,31,.24); font-size: 14px; }

.loading-screen, .auth-shell {
  background:
    radial-gradient(circle at 72% 15%,rgba(59,130,246,.28),transparent 28rem),
    radial-gradient(circle at 20% 90%,rgba(16,163,111,.12),transparent 30rem),
    linear-gradient(145deg,#102640,#07111f 68%);
}
.auth-shell::before {
  position: fixed;
  inset: 22px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 32px;
  content: "";
  pointer-events: none;
}
.auth-brand { margin-bottom: 28px; }
.auth-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(255,255,255,.28);
  border-radius: 28px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 34px 80px rgba(0,0,0,.36),inset 0 1px 0 #fff;
}
.auth-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg,#246bfd,#69a0ff 60%,#10a36f);
  content: "";
}
.auth-card h1 { font-family: "Segoe UI Variable Display","Segoe UI",sans-serif; font-size: 37px; font-weight: 760; }
.auth-intro { font-size: 15px; line-height: 1.6; }
.auth-footnote { color: #91a5be; font-size: 12px; line-height: 1.55; }

@media (max-width: 900px) {
  .sidebar { inset: 12px auto 12px 12px; width: 208px; border-radius: 24px; }
  .app-main { margin-left: 232px; }
  .screen { padding-right: 28px; padding-left: 20px; }
  .dashboard-grid, .work-layout, .notes-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { background: linear-gradient(180deg,#f8fbff 0,#eef3f8 35rem); }
  .app-main { margin-left: 0; }
  .screen { padding: calc(24px + var(--safe-top)) 16px calc(106px + var(--safe-bottom)); }
  .page-header { margin-bottom: 22px; }
  .page-header h1 { font-size: 34px; }
  .live-clock { border: 0; padding: 3px 0; background: transparent; box-shadow: none; backdrop-filter: none; }
  .clock-card { min-height: 330px; border-radius: 25px; padding: 24px; }
  .clock-card-body { padding: 44px 0 29px; }
  .clock-total { font-size: 50px; }
  .dashboard-grid { gap: 12px; }
  .quick-card { min-height: 92px; border-radius: 17px; padding: 15px; }
  .quick-card::before { width: 3px; height: 36px; }
  .week-card { margin-top: 14px; padding: 19px; }
  .week-meta { font-size: 12px; }
  .big-btn { min-height: 96px; border-radius: 17px; }
  .status-card { min-height: 108px; border-radius: 18px; }
  .note-feature { border-radius: 22px; }
  .stats-grid { gap: 10px; }
  .stat-card { border-radius: 17px; }
  .calendar-day, .calendar-blank { min-height: 72px; }
  .calendar-total { font-size: 12px; }
  .mobile-nav {
    right: 8px;
    bottom: calc(8px + var(--safe-bottom));
    left: 8px;
    min-height: 72px;
    border-color: rgba(255,255,255,.12);
    border-radius: 22px;
    background: rgba(7,17,31,.94);
    box-shadow: 0 18px 40px rgba(7,17,31,.30),inset 0 1px 0 rgba(255,255,255,.06);
  }
  .mobile-nav .nav-item { border: 1px solid transparent; }
  .mobile-nav .nav-item span { font-size: 12px; }
  .mobile-nav .nav-item.is-active { border-color: rgba(103,153,255,.24); background: linear-gradient(145deg,rgba(47,115,255,.34),rgba(28,87,213,.20)); color: #fff; }
  .sheet { border-radius: 26px 26px 0 0; }
  .auth-shell { padding: 24px 16px; }
  .auth-shell::before { inset: 10px; border-radius: 24px; }
  .auth-brand { margin-bottom: 22px; }
  .auth-card { border-radius: 24px; padding: 28px 22px; }
  .auth-card h1 { font-size: 33px; }
}

@media (max-width: 390px) {
  .screen { padding-right: 13px; padding-left: 13px; }
  .page-header h1 { font-size: 31px; }
  .clock-card { padding: 21px; }
  .clock-total { font-size: 45px; }
  .mobile-nav .nav-item span { font-size: 11px; }
}

/* Feature set v9: Zeitkonto, Arbeitszeitregeln, Urlaub, Berichte und Offline-Sync */
.home-creator {
  margin-top: 34px;
  border-top: 1px solid rgba(126,148,175,.24);
  padding: 18px 2px 0;
  color: #718399;
  font-size: 12px;
  letter-spacing: .025em;
  text-align: center;
}
.home-creator strong { color: #344963; }

.offline-banner {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: -10px 0 20px;
  border: 1px solid #f2cf8d;
  border-radius: 16px;
  padding: 13px 16px;
  background: linear-gradient(135deg,#fff9e9,#fff3d4);
  color: #78430b;
  box-shadow: var(--shadow-sm);
}
.offline-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #e49212;
  box-shadow: 0 0 0 5px rgba(228,146,18,.13);
}
.offline-banner strong, .offline-banner p { display: block; }
.offline-banner strong { font-size: 14px; }
.offline-banner p { margin: 1px 0 0; font-size: 12px; }
.offline-banner.is-syncing { border-color: #b8cef4; background: linear-gradient(135deg,#f0f6ff,#e8f0ff); color: #17468f; }
.offline-banner.is-syncing .offline-dot { background: var(--blue); box-shadow: 0 0 0 5px rgba(36,107,253,.12); animation: status-pulse 1.4s ease-in-out infinite; }
.is-offline .online-dot { background: #e49212; box-shadow: 0 0 0 4px rgba(228,146,18,.12); animation: none; }

.law-strip {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  overflow: hidden;
  margin: 0 0 18px;
  border: 1px solid rgba(201,212,226,.88);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-sm),inset 0 1px 0 rgba(255,255,255,.9);
}
.law-strip > div { min-width: 0; padding: 15px 17px; }
.law-strip > div + div { border-left: 1px solid var(--line); }
.law-strip small, .law-strip strong { display: block; }
.law-strip small { color: var(--muted); font-size: 12px; }
.law-strip strong { margin-top: 2px; font-size: 16px; font-variant-numeric: tabular-nums; }
.law-strip .law-status { background: #edf9f4; }
.law-strip .law-status strong { color: var(--green-dark); }
.law-strip[data-level="warn"] .law-status { background: #fff7e5; }
.law-strip[data-level="warn"] .law-status strong { color: #a66205; }
.law-strip[data-level="danger"] .law-status { background: #fff0f1; }
.law-strip[data-level="danger"] .law-status strong { color: var(--red-dark); }

.stats-grid--wide { grid-template-columns: repeat(3,minmax(0,1fr)); }
.stat-card strong.is-positive, .positive { color: var(--green-dark); }
.stat-card strong.is-negative, .negative, #account-balance-total.is-negative { color: var(--red-dark); }
.service-tag {
  display: inline-flex;
  margin: 5px 0 0 5px;
  border: 1px solid #d9e2ee;
  border-radius: 999px;
  padding: 2px 7px;
  background: #f8fbff;
  color: #53657b;
  font-size: 12px;
  font-weight: 700;
}

.calendar-label {
  display: block;
  overflow: hidden;
  width: 100%;
  margin-top: 4px;
  color: #80510d;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calendar-day.is-holiday { background: #fffaf0; }
.calendar-day.is-absence { background: #f3f7ff; }
.calendar-dots .holiday { background: #e49212; }
.calendar-dots .vacation { background: #7c5ce5; }
.calendar-dots .sick { background: #e5484d; }
.calendar-dots .time_off { background: #0d9488; }
.calendar-dots .other { background: #718399; }
.calendar-event {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
  border: 1px solid #d9e2ee;
  border-radius: 12px;
  padding: 11px 13px;
  background: #f8fbff;
  color: var(--ink);
  text-align: left;
}
button.calendar-event:hover { border-color: #b7c8dd; background: #fff; }
.calendar-event strong { font-size: 13px; }
.calendar-event span { color: var(--muted); font-size: 12px; }
.holiday-event { border-color: #f0d29b; background: #fff9e9; }
.absence-event { border-color: #cbd9f4; background: #f0f5ff; }
.calendar-add-button { margin-top: 14px; }

.account-view.is-active, .reports-view.is-active { display: block; }
.account-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px;
  padding: 25px 27px;
  background:
    radial-gradient(circle at 88% 8%,rgba(78,139,255,.38),transparent 34%),
    linear-gradient(145deg,#122b49,#081523 76%);
  color: #fff;
  box-shadow: 0 20px 48px rgba(7,17,31,.18),inset 0 1px 0 rgba(255,255,255,.08);
}
.account-hero .eyebrow { color: #91a8c2; }
.account-hero > div > strong { display: block; margin: 3px 0 2px; font-size: clamp(32px,5vw,48px); letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.account-hero p:last-child { margin: 0; color: #9fb0c4; font-size: 12px; }
.account-hero .secondary-button { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.1); color: #fff; box-shadow: none; }
.account-hero .secondary-button:hover { background: rgba(255,255,255,.16); }
.account-summary-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.account-summary-grid article {
  border: 1px solid rgba(201,212,226,.88);
  border-radius: 16px;
  padding: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm),inset 0 1px 0 rgba(255,255,255,.85);
}
.account-summary-grid small, .account-summary-grid strong { display: block; }
.account-summary-grid small { color: var(--muted); font-size: 12px; }
.account-summary-grid strong { margin-top: 3px; font-size: 19px; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.account-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.subpanel, .report-card {
  border: 1px solid rgba(201,212,226,.88);
  border-radius: 19px;
  padding: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm),inset 0 1px 0 rgba(255,255,255,.85);
}
.compact-list { display: flex; flex-direction: column; gap: 8px; }
.compact-row {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(248,251,255,.86);
  color: var(--ink);
  text-align: left;
}
.compact-row:hover { border-color: #b9c9dc; background: #fff; }
.compact-row span { min-width: 0; }
.compact-row strong, .compact-row small { display: block; }
.compact-row strong { font-size: 13px; }
.compact-row small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.compact-row > b { overflow: hidden; max-width: 45%; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }

.report-card { padding: clamp(20px,3.5vw,30px); }
.secure-chip { border: 1px solid #cbd9f4; border-radius: 999px; padding: 5px 9px; background: #f0f5ff; color: #285cae; font-size: 12px; font-weight: 750; }
.report-range { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 620px; }
.report-preview { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 6px 0 20px; }
.report-preview > div { border: 1px solid #dbe3ee; border-radius: 14px; padding: 14px; background: #f8fbff; }
.report-preview small, .report-preview strong { display: block; }
.report-preview small { color: var(--muted); font-size: 12px; }
.report-preview strong { margin-top: 2px; font-size: 18px; font-variant-numeric: tabular-nums; }
.report-actions { display: flex; justify-content: flex-end; gap: 10px; }

.settings-grid--expanded { grid-template-columns: minmax(0,1.08fr) minmax(340px,.92fr); }
.service-badge { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #eaf1ff; color: var(--blue-dark); font-size: 14px; font-weight: 850; }
.workdays-field { margin: 7px 0 17px; border: 0; padding: 0; }
.workdays-field legend { margin-bottom: 8px; color: var(--ink); font-size: 14px; font-weight: 750; }
.weekday-toggles { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; }
.weekday-toggles label { cursor: pointer; }
.weekday-toggles input { position: absolute; opacity: 0; pointer-events: none; }
.weekday-toggles span { display: grid; min-height: 42px; place-items: center; border: 1px solid #c9d5e4; border-radius: 11px; background: #f8fbff; color: var(--muted); font-size: 13px; font-weight: 750; }
.weekday-toggles input:checked + span { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-dark); box-shadow: inset 0 0 0 1px rgba(36,107,253,.1); }
.weekday-toggles input:focus-visible + span { outline: 3px solid rgba(37,99,235,.28); outline-offset: 2px; }
.legal-note { margin: 0 0 16px; border-left: 3px solid #aec5ec; padding: 9px 0 9px 12px; color: var(--muted); font-size: 12px; line-height: 1.55; }
#sync-description { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.install-card {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 14px;
}
.install-card h2 { margin-bottom: 3px; }
.install-card p:last-child { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.install-icon { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #cad9f2; border-radius: 14px; background: #edf4ff; color: var(--blue); }
.install-icon svg { width: 23px; height: 23px; }

@media (max-width: 1080px) {
  .account-summary-grid { grid-template-columns: 1fr 1fr; }
  .settings-grid--expanded { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .law-strip { grid-template-columns: 1fr 1fr; }
  .law-strip > div:nth-child(3) { border-left: 0; }
  .law-strip > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .account-columns { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .offline-banner { margin-top: -4px; align-items: flex-start; }
  .law-strip { border-radius: 16px; }
  .law-strip > div { padding: 12px; }
  .law-strip small { font-size: 11px; }
  .law-strip strong { font-size: 14px; }
  .stats-grid--wide { grid-template-columns: 1fr 1fr; }
  .stats-grid--wide .stat-card:last-child { grid-column: auto; }
  .view-switch { display: grid; width: 100%; grid-template-columns: 1fr 1fr; }
  .view-switch button { padding: 0 8px; }
  .calendar-label { font-size: 9px; }
  .calendar-event { align-items: flex-start; flex-direction: column; gap: 2px; }
  .calendar-add-button { width: 100%; }
  .account-hero { align-items: stretch; flex-direction: column; padding: 21px; }
  .account-hero .secondary-button { width: 100%; }
  .account-summary-grid { gap: 9px; }
  .account-summary-grid article { padding: 13px; }
  .account-summary-grid strong { font-size: 17px; }
  .account-columns { gap: 12px; }
  .subpanel, .report-card { padding: 16px; }
  .report-card .section-heading { align-items: flex-start; flex-direction: column; }
  .report-range, .report-preview { grid-template-columns: 1fr 1fr; }
  .report-actions { align-items: stretch; flex-direction: column-reverse; }
  .report-actions button { width: 100%; }
  .weekday-toggles { gap: 4px; }
  .weekday-toggles span { min-height: 39px; border-radius: 9px; font-size: 11px; }
  .project-row { grid-template-columns: auto minmax(0,1fr); }
  .project-actions { grid-column: 2; justify-content: flex-start; }
  .install-card { grid-template-columns: auto minmax(0,1fr); }
  .install-card .secondary-button { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 390px) {
  .stats-grid--wide, .account-summary-grid, .report-preview { grid-template-columns: 1fr; }
  .calendar-label { display: none; }
  .compact-row { align-items: flex-start; flex-direction: column; }
  .compact-row > b { max-width: 100%; }
}

/* Design system v10 — präzises Arbeitsinstrument statt Standard-Dashboard */
:root {
  --ink: #0b1728;
  --muted: #53647a;
  --muted-2: #8290a3;
  --line: #dce4ee;
  --line-strong: #c7d3e1;
  --canvas: #f2f5f9;
  --surface: rgba(255,255,255,.96);
  --navy: #07101c;
  --navy-2: #0d1d31;
  --blue: #176bff;
  --blue-dark: #0e55d8;
  --blue-soft: #eaf2ff;
  --green: #0c9f70;
  --green-dark: #087553;
  --green-soft: #e8f8f2;
  --red: #e0444b;
  --red-dark: #bd2f36;
  --red-soft: #fff0f1;
  --amber: #d88408;
  --amber-soft: #fff6df;
  --shadow-sm: 0 1px 2px rgba(10,29,52,.035),0 10px 28px rgba(10,29,52,.055);
  --shadow-md: 0 24px 68px rgba(7,20,38,.14);
  --radius-sm: 12px;
  --radius-md: 17px;
  --radius-lg: 24px;
}

html { background: var(--navy); }
body {
  background:
    radial-gradient(circle at 77% 0,rgba(23,107,255,.105),transparent 29rem),
    radial-gradient(circle at 36% 100%,rgba(12,159,112,.055),transparent 34rem),
    linear-gradient(180deg,#f9fbfe 0,#f2f5f9 45rem,#edf2f7 100%);
  font-family: "Segoe UI Variable Text","Segoe UI",Inter,system-ui,sans-serif;
}
::selection { background: #cfe0ff; color: #0b2f6b; }

.sidebar {
  inset: 12px auto 12px 12px;
  width: 252px;
  border: 1px solid rgba(153,187,229,.12);
  border-radius: 25px;
  padding: 21px 13px 14px;
  background:
    radial-gradient(circle at 25% -4%,rgba(51,126,255,.34),transparent 27%),
    linear-gradient(172deg,#102641 0%,#091728 54%,#060e19 100%);
  box-shadow: 0 24px 72px rgba(5,14,27,.25),inset 0 1px 0 rgba(255,255,255,.045);
}
.sidebar::after {
  background:
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom,black,transparent 72%);
}
.brand { gap: 12px; padding: 3px 9px 27px; }
.brand-mark,.loading-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(145deg,#3f88ff,#1459dd);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3),0 9px 22px rgba(12,76,193,.34);
}
.brand strong { font-size: 17px; font-weight: 770; letter-spacing: -.035em; }
.brand small { margin-top: 4px; color: #8398b1; font-size: 12px; letter-spacing: .025em; }
.side-nav { gap: 5px; }
.side-nav .nav-item {
  min-height: 48px;
  border-radius: 12px;
  color: #9babc0;
  font-size: 14px;
  font-weight: 660;
}
.side-nav .nav-item svg { width: 20px; height: 20px; }
.side-nav .nav-item.is-active {
  border-color: rgba(125,173,255,.2);
  background: linear-gradient(135deg,rgba(41,113,241,.95),rgba(17,78,190,.95));
  box-shadow: 0 9px 22px rgba(5,49,130,.34),inset 0 1px 0 rgba(255,255,255,.16);
}
.side-nav .nav-item.is-active::after { right: 12px; width: 6px; height: 6px; background: #b9d1ff; }
.account-button { min-height: 62px; border-radius: 14px; background: rgba(255,255,255,.048); }
.account-button:hover { background: rgba(255,255,255,.08); transform: translateY(-1px); }

.app-main { margin-left: 276px; }
.screen { width: min(1320px,100%); padding: 50px clamp(26px,4.25vw,64px) 76px; }
.page-header { margin-bottom: 27px; }
.page-header h1 { font-size: clamp(34px,3.75vw,48px); font-weight: 760; letter-spacing: -.055em; }
.eyebrow { color: #61748b; font-size: 12px; letter-spacing: .145em; }
.home-header .eyebrow::before {
  display: inline-block;
  width: 17px;
  height: 2px;
  margin: 0 8px 3px 0;
  border-radius: 999px;
  background: var(--blue);
  content: "";
}
.live-clock { border-radius: 13px; padding: 8px 12px; background: rgba(255,255,255,.76); }
.live-clock span { font-size: 23px; font-weight: 780; }

.dashboard-grid { grid-template-columns: minmax(0,1.58fr) minmax(270px,.72fr); gap: 17px; }
.clock-card {
  min-height: 342px;
  border: 1px solid rgba(119,170,241,.17);
  border-radius: 23px;
  padding: clamp(24px,3.3vw,35px);
  background:
    radial-gradient(circle at 90% 5%,rgba(50,126,255,.42),transparent 31%),
    radial-gradient(circle at 8% 112%,rgba(18,181,129,.18),transparent 35%),
    linear-gradient(150deg,#132d4d 0%,#09192b 58%,#06111e 100%);
  box-shadow: 0 25px 68px rgba(6,20,39,.22),inset 0 1px 0 rgba(255,255,255,.075);
}
.clock-card::before { inset: 0 0 auto; width: auto; height: 3px; background: linear-gradient(90deg,#4c91ff 0 63%,#19b884 63%); }
.clock-card::after { right: -116px; bottom: -136px; width: 340px; height: 340px; border-color: rgba(255,255,255,.085); }
.clock-card-body { padding: 51px 0 28px; }
.clock-kicker { color: #8fa6c0; font-size: 13px; text-transform: uppercase; letter-spacing: .095em; }
.clock-total { font-size: clamp(50px,6vw,66px); font-weight: 730; letter-spacing: -.075em; }
.clock-total span { color: #8298b2; font-weight: 600; }
.clock-since { color: #96aac0; font-size: 13px; }
.status-pill { border-color: rgba(255,255,255,.115); background: rgba(255,255,255,.065); }
.primary-action { min-height: 52px; border-radius: 12px; box-shadow: 0 12px 28px rgba(14,80,213,.33),inset 0 1px 0 rgba(255,255,255,.22); }

.dashboard-side { gap: 12px; }
.quick-card {
  min-height: 165px;
  border-radius: 17px;
  padding: 20px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 1px 2px rgba(10,29,52,.03),0 13px 34px rgba(10,29,52,.06),inset 0 1px 0 #fff;
}
.quick-card::before { width: 3px; height: 44px; }
.quick-card:hover { border-color: #aebfd5; box-shadow: 0 18px 42px rgba(10,29,52,.095); transform: translateY(-2px); }
.quick-icon,.stat-icon { width: 43px; height: 43px; border-radius: 12px; }
.quick-copy strong { font-size: 16px; }

.week-card { margin-top: 17px; border-radius: 17px; padding: 20px 22px; }
.week-progress { height: 7px; margin: 15px 0 9px; }
.week-progress span { background: linear-gradient(90deg,#1057dc,#3986ff); box-shadow: 0 0 16px rgba(23,107,255,.24); }
.section-block { margin-top: 36px; }
.section-heading h2 { font-size: 21px; }
.recent-row { min-height: 70px; border-radius: 12px; }

.quick-card,.week-card,.recent-row,.status-card,.today-summary,.history-panel,
.editor-card,.note-readonly,.calendar-view,.stat-card,.day-card,.settings-card,.subpanel,.report-card {
  border-color: rgba(201,212,226,.94);
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-sm),inset 0 1px 0 rgba(255,255,255,.95);
}
.status-card { min-height: 108px; border-radius: 17px; padding: 20px 22px; }
.status-card.is-active { border-color: rgba(23,107,255,.32); background: linear-gradient(135deg,#e9f2ff,#fff 70%); }
.status-card--green.is-active { border-color: rgba(12,159,112,.3); background: linear-gradient(135deg,#e8f8f2,#fff 70%); }
.status-value { font-size: 17px; }
.status-time span { font-size: 25px; }
.law-strip { border-radius: 15px; }
.law-strip > div { padding: 13px 15px; }
.big-btn { min-height: 116px; border-radius: 16px; box-shadow: 0 14px 32px rgba(9,31,61,.13),inset 0 1px 0 rgba(255,255,255,.2); }
.big-btn--blue { background: linear-gradient(135deg,#2678ff,#0f52c9); }
.big-btn--green { background: linear-gradient(135deg,#11aa78,#08704f); }
.big-btn--red { background: linear-gradient(135deg,#ec5258,#b92c33); }
.marker-btn { border-radius: 15px; background: linear-gradient(135deg,#fffaf0,#fff2cf); }
.today-summary { border-radius: 17px; }

.note-feature { border-radius: 21px; background: radial-gradient(circle at 92% 3%,rgba(121,178,255,.38),transparent 34%),linear-gradient(150deg,#1d6cf4,#1143a6 75%); }
.history-panel,.editor-card,.note-readonly { border-radius: 17px; }
.list-row,.project-row,.entry-row,.calendar-day,.compact-row { background: #f9fbfd; }
.list-row:hover,.calendar-day:hover,.compact-row:hover { border-color: #afc1d7; background: #fff; }

.times-actions { gap: 10px; }
.filter-select { border-radius: 11px; background: rgba(255,255,255,.92); }
.stats-grid { gap: 11px; }
.stat-card { min-height: 88px; border-radius: 15px; padding: 15px; }
.stat-card strong { font-size: 20px; }
.view-switch { border-radius: 13px; padding: 4px; background: #e6ecf4; }
.view-switch button { min-height: 38px; border-radius: 9px; }
.calendar-view { border-radius: 17px; }
.calendar-day { border-radius: 10px; }
.account-hero { border-radius: 19px; background: radial-gradient(circle at 90% 5%,rgba(55,130,255,.38),transparent 33%),linear-gradient(150deg,#122c4b,#071522 76%); }
.account-summary-grid article,.report-preview > div { border-radius: 13px; }
.subpanel,.report-card { border-radius: 17px; }

.settings-card { border-radius: 17px; padding: 21px; }
.project-row { border-radius: 11px; }
.toggle-row { border-bottom: 1px solid #e5eaf1; padding: 4px 0 14px; }
.toggle-row + .toggle-row { padding-top: 2px; }
.weekday-toggles span { border-radius: 9px; }

.primary-button { border-radius: 11px; background: linear-gradient(135deg,#287cff,#0f55d3); box-shadow: 0 8px 18px rgba(14,75,187,.18),inset 0 1px 0 rgba(255,255,255,.2); }
.secondary-button,.notification-button,.danger-button,.icon-button,.back-btn,.sheet-close { border-radius: 11px; box-shadow: 0 4px 12px rgba(13,35,62,.045); }
.filter-select,.form-field input:not([type="color"]),.form-field select,.form-field textarea,.sheet-textarea { border-radius: 11px; background: #f9fbfd; }
.sheet { border-radius: 21px; }

.auth-shell {
  background:
    radial-gradient(circle at 76% 12%,rgba(42,121,255,.34),transparent 28rem),
    radial-gradient(circle at 19% 88%,rgba(12,159,112,.14),transparent 29rem),
    linear-gradient(145deg,#102944,#050d17 72%);
}
.auth-shell::before {
  inset: 18px;
  border-radius: 26px;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px,transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(135deg,black,transparent 72%);
}
.auth-brand { margin-bottom: 23px; }
.auth-brand strong { font-size: 19px; letter-spacing: -.035em; }
.auth-brand small { margin-top: 3px; color: #8ea3bc; font-size: 12px; }
.auth-card { border-radius: 21px; box-shadow: 0 36px 90px rgba(0,0,0,.4),inset 0 1px 0 #fff; }
.auth-card::before { height: 3px; background: linear-gradient(90deg,#176bff 0 72%,#0ca477 72%); }
.auth-card h1 { font-size: 35px; }

@media (max-width: 900px) {
  .sidebar { width: 212px; }
  .app-main { margin-left: 236px; }
  .screen { padding-right: 24px; padding-left: 20px; }
}

@media (max-width: 680px) {
  body { background: linear-gradient(180deg,#f9fbfe 0,#f0f4f8 38rem); }
  .screen { padding: calc(21px + var(--safe-top)) 15px calc(101px + var(--safe-bottom)); }
  .page-header { margin-bottom: 20px; }
  .page-header h1 { font-size: 32px; }
  .home-header .eyebrow::before { width: 13px; }
  .clock-card { min-height: 292px; border-radius: 20px; padding: 21px; }
  .clock-card-body { padding: 39px 0 24px; }
  .clock-total { font-size: 47px; }
  .dashboard-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 9px; }
  .quick-card { grid-template-columns: auto minmax(0,1fr); min-height: 102px; align-content: center; gap: 11px; border-radius: 15px; padding: 13px; }
  .quick-card::before { display: none; }
  .quick-card .chevron { display: none; }
  .quick-icon { width: 39px; height: 39px; }
  .quick-copy small { font-size: 11px; }
  .quick-copy strong { font-size: 14px; white-space: normal; line-height: 1.25; }
  .week-card { margin-top: 11px; border-radius: 15px; padding: 17px; }
  .week-card-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .week-card-head > strong { font-size: 14px; }
  .recent-row { min-height: 67px; }
  .status-card { min-height: 99px; padding: 16px; }
  .big-btn { min-height: 88px; border-radius: 14px; }
  .law-strip { border-radius: 14px; }
  .stats-grid,.stats-grid--wide { gap: 8px; }
  .stat-card { min-height: 82px; border-radius: 13px; padding: 12px; }
  .stat-icon { width: 37px; height: 37px; }
  .stat-card strong { font-size: 17px; }
  .view-switch { margin-bottom: 12px; }
  .calendar-view,.settings-card,.subpanel,.report-card { border-radius: 15px; }
  .mobile-nav {
    right: 7px;
    bottom: calc(7px + var(--safe-bottom));
    left: 7px;
    min-height: 69px;
    border-radius: 18px;
    background: rgba(6,15,27,.955);
    box-shadow: 0 18px 44px rgba(4,12,23,.34),inset 0 1px 0 rgba(255,255,255,.07);
  }
  .mobile-nav .nav-item { border-radius: 12px; }
  .mobile-nav .nav-item.is-active { border-color: rgba(105,158,255,.25); background: linear-gradient(145deg,rgba(41,113,241,.46),rgba(17,78,190,.27)); }
  .sheet { border-radius: 21px 21px 0 0; }
  .auth-shell::before { inset: 8px; border-radius: 20px; }
  .auth-card { border-radius: 19px; padding: 26px 20px; }
}

@media (max-width: 390px) {
  .screen { padding-right: 12px; padding-left: 12px; }
  .clock-card { min-height: 282px; padding: 19px; }
  .clock-total { font-size: 43px; }
  .quick-card { grid-template-columns: 1fr; min-height: 106px; align-content: start; }
  .quick-icon { width: 36px; height: 36px; }
  .week-meta { flex-direction: column; gap: 3px; }
}

/* Color surfaces v11 — weniger Weiß, klare visuelle Zonen */
:root {
  --canvas: #e9eff6;
  --surface: rgba(245,249,254,.95);
}

body {
  background:
    radial-gradient(circle at 83% 4%,rgba(23,107,255,.17),transparent 27rem),
    radial-gradient(circle at 19% 88%,rgba(5,146,108,.09),transparent 30rem),
    linear-gradient(145deg,#f3f7fc 0%,#e7eef6 52%,#edf3f8 100%);
}

.app-main {
  background-image:
    linear-gradient(rgba(87,111,142,.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(87,111,142,.04) 1px,transparent 1px);
  background-size: 32px 32px;
}
.screen { position: relative; }

.quick-card:has(.quick-icon--blue) {
  border-color: #bfd1ee;
  background: linear-gradient(145deg,rgba(235,243,255,.98),rgba(225,236,252,.94));
}
.quick-card:has(.quick-icon--green) {
  border-color: #b9dccc;
  background: linear-gradient(145deg,rgba(235,249,244,.98),rgba(222,242,234,.94));
}
.quick-card:has(.quick-icon--blue)::before { background: linear-gradient(#1b6fff,#75a7ff); }
.quick-card:has(.quick-icon--green)::before { background: linear-gradient(#0b9f70,#65c7a4); }
.quick-icon--blue { border-color: #bfd3f5; background: rgba(217,231,255,.9); }
.quick-icon--green { border-color: #b8dfcf; background: rgba(215,241,231,.9); }

.week-card {
  border-color: rgba(126,170,226,.17);
  background:
    radial-gradient(circle at 93% 0,rgba(55,132,255,.3),transparent 31%),
    linear-gradient(145deg,#153454,#0b1e33 76%);
  color: #f7fbff;
  box-shadow: 0 18px 48px rgba(8,28,52,.17),inset 0 1px 0 rgba(255,255,255,.075);
}
.week-card .eyebrow { color: #86a5c7; }
.week-card h2,.week-card-head > strong,.week-card-head > strong.is-negative,.week-card-head > strong.is-positive,.week-card .week-meta b { color: #f7fbff; }
.week-card .week-meta { color: #91a8c1; }
.week-card .week-progress { background: rgba(255,255,255,.12); box-shadow: inset 0 1px 2px rgba(0,0,0,.18); }
.week-card .week-progress span { background: linear-gradient(90deg,#3b8cff,#75b0ff); }
.week-card .week-progress span.is-complete { background: linear-gradient(90deg,#13b981,#63d4ac); }

.recent-row {
  border-color: #cad7e6;
  background: linear-gradient(90deg,rgba(242,247,253,.98),rgba(231,239,248,.92));
}
.recent-row:hover { background: linear-gradient(90deg,#f7faff,#eaf2fb); }

.status-card,.today-summary {
  border-color: #c6d5e7;
  background: linear-gradient(145deg,rgba(240,246,253,.98),rgba(229,238,248,.94));
}
.today-summary { box-shadow: 0 14px 34px rgba(22,49,80,.075),inset 0 1px 0 rgba(255,255,255,.8); }
.law-strip { border-color: #c7d6e8; background: linear-gradient(135deg,rgba(238,245,253,.97),rgba(226,236,248,.93)); }
.law-strip .law-status { background: rgba(218,241,232,.8); }
.marker-btn { border-color: #ebc875; background: linear-gradient(135deg,#fff4cf,#f9df9c); }

.note-feature { border-color: rgba(102,155,240,.32); }
.history-panel,.editor-card,.note-readonly {
  border-color: #bfd1e9;
  background: linear-gradient(145deg,rgba(238,245,255,.98),rgba(225,236,250,.95));
}
.list-row { border-color: #c6d6e9; background: rgba(230,239,250,.9); }
.list-row:hover { background: #edf5ff; }

.stat-card:nth-child(1),.stat-card:nth-child(3) { border-color: #bed1ee; background: linear-gradient(145deg,#edf4ff,#e1ebfa); }
.stat-card:nth-child(2),.stat-card:nth-child(6) { border-color: #e4ca91; background: linear-gradient(145deg,#fff6df,#f6e6bd); }
.stat-card:nth-child(4) { border-color: #c9c3ec; background: linear-gradient(145deg,#f0efff,#e5e2f8); }
.stat-card:nth-child(5) { border-color: #b9dccd; background: linear-gradient(145deg,#eaf8f2,#dcefe7); }
.view-switch { border-color: #bdcad9; background: #d4deea; }
.view-switch button.is-active { background: #f2f6fb; }
.day-card { border-color: #c5d3e3; background: linear-gradient(145deg,#eef4fa,#e3ebf4); }
.day-card-head { background: rgba(225,235,246,.86); }
.entry-row { border-color: #c7d5e5; background: rgba(237,244,251,.9); }
.entry-row:hover { background: #f5f9fe; }
.calendar-view { border-color: #c1d2e6; background: linear-gradient(145deg,rgba(235,243,252,.98),rgba(222,233,246,.94)); }
.calendar-day { border-color: #c5d4e5; background: rgba(239,245,252,.9); }
.calendar-day:hover { background: #f7fbff; }

.account-summary-grid article:nth-child(1),.account-summary-grid article:nth-child(3) { border-color: #bed0eb; background: linear-gradient(145deg,#eaf3ff,#dfeafb); }
.account-summary-grid article:nth-child(2) { border-color: #c4d1df; background: linear-gradient(145deg,#eef3f8,#e1e8f0); }
.account-summary-grid article:nth-child(4) { border-color: #b7dcca; background: linear-gradient(145deg,#e9f8f1,#dcefe6); }
.subpanel { border-color: #c4d3e5; background: linear-gradient(145deg,#eef4fb,#e1ebf5); }
.compact-row { border-color: #c7d6e6; background: rgba(232,240,249,.9); }
.report-card { border-color: #bdd0e8; background: linear-gradient(145deg,#eef5fe,#dfeaf7); }
.report-preview > div { border-color: #c2d3e7; background: rgba(225,236,249,.92); }

.settings-stack:first-child .settings-card:nth-child(1) { border-color: #bdd1ed; background: linear-gradient(145deg,#edf4ff,#dfeafa); }
.settings-stack:first-child .settings-card:nth-child(2) { border-color: #c4d2e1; background: linear-gradient(145deg,#eff4f9,#e1e9f1); }
.settings-stack:first-child .settings-card:nth-child(3) { border-color: #b9dacf; background: linear-gradient(145deg,#eaf7f3,#dceee8); }
.settings-stack:nth-child(2) .settings-card { border-color: #c2d2e5; background: linear-gradient(145deg,#eef4fb,#e0eaf5); }
.settings-stack:nth-child(2) .account-card { border-color: #b9cee9; background: linear-gradient(145deg,#e8f2ff,#d9e7f8); }
.settings-stack:nth-child(2) .install-card { border-color: #b4d9c8; background: linear-gradient(145deg,#e8f7f0,#d8ece3); }
.project-row { border-color: #c5d4e4; background: rgba(236,243,250,.9); }
.form-field input:not([type="color"]),.form-field select,.form-field textarea,.sheet-textarea,.filter-select {
  border-color: #bdcddd;
  background: rgba(231,239,248,.92);
}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus,.sheet-textarea:focus,.filter-select:focus { background: #f6faff; }
.sheet { border-color: #bfd0e3; background: linear-gradient(145deg,rgba(242,247,253,.985),rgba(226,236,247,.98)); }

.auth-card {
  border-color: rgba(173,203,241,.55);
  background: linear-gradient(145deg,#f1f7ff,#dfeaf7);
}
.auth-card .form-field input { background: rgba(225,235,247,.9); }

@media (max-width: 680px) {
  body {
    background:
      radial-gradient(circle at 85% 0,rgba(23,107,255,.14),transparent 20rem),
      linear-gradient(160deg,#f0f5fb,#e3ebf4 70%);
  }
  .app-main { background-size: 26px 26px; }
  .quick-card:has(.quick-icon--blue) { background: linear-gradient(145deg,#eaf2ff,#dce9fb); }
  .quick-card:has(.quick-icon--green) { background: linear-gradient(145deg,#e8f7f1,#d8eee4); }
  .week-card { background: radial-gradient(circle at 95% 0,rgba(55,132,255,.31),transparent 34%),linear-gradient(145deg,#143453,#081a2d); }
}

/* Mobile layout v12 — kompakt, daumenfreundlich und ohne horizontales Gedränge */
body { overflow-x: hidden; }
.app-main, .screen, .page-header > *, .section-heading > *, .status-copy > div { min-width: 0; }

@media (max-width: 680px) {
  html { min-width: 0; }
  body { width: 100%; min-width: 0; }
  .sidebar { display: none; }
  .app-shell { width: 100%; min-height: 100dvh; }
  .app-main {
    width: 100%;
    max-width: 100%;
    min-height: 100dvh;
    margin-left: 0;
    overflow-x: clip;
  }
  .screen {
    width: 100%;
    max-width: 100%;
    min-height: 100dvh;
    margin: 0;
    padding: calc(18px + var(--safe-top)) max(14px,var(--safe-right)) calc(96px + var(--safe-bottom)) max(14px,var(--safe-left));
  }

  .page-header { align-items: flex-start; gap: 12px; margin-bottom: 20px; }
  .page-header h1 { max-width: 100%; font-size: clamp(28px,8.5vw,34px); overflow-wrap: anywhere; }
  .home-header { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; }
  .home-tools { gap: 8px; }
  .live-clock span { font-size: 20px; }
  .mobile-account-button { width: 44px; height: 44px; }

  .reminder-banner, .migration-banner, .offline-banner { border-radius: 14px; padding: 12px; }
  .reminder-banner { align-items: flex-start; flex-wrap: wrap; }
  .reminder-banner > button { min-height: 44px; margin-left: 52px; padding: 0 4px; }
  .migration-banner .secondary-button { width: 100%; }

  .dashboard-grid, .work-layout, .notes-layout, .settings-grid, .settings-grid--expanded { min-width: 0; grid-template-columns: minmax(0,1fr); }
  .clock-card { min-height: 290px; padding: 20px; }
  .clock-card-body { padding: 38px 0 23px; }
  .clock-total { font-size: clamp(42px,13vw,50px); }
  .primary-action { min-height: 54px; }
  .quick-card, .recent-row, .status-card, .stat-card, .project-row, .compact-row { min-width: 0; }
  .section-block { margin-top: 30px; }
  .section-heading { gap: 12px; }
  .section-heading h2 { font-size: 20px; }
  .text-button { min-height: 44px; flex: 0 0 auto; }

  .recent-row { grid-template-columns: auto minmax(0,1fr); gap: 9px 12px; min-height: 72px; padding: 12px 13px; }
  .recent-time { grid-column: 2; font-size: 12px; }
  .recent-copy strong, .recent-copy small { overflow-wrap: anywhere; }

  .status-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 15px; }
  .status-copy { min-width: 0; gap: 11px; }
  .status-value { overflow-wrap: anywhere; }
  .status-time span { font-size: 19px; }
  .law-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .law-strip > div { min-height: 72px; padding: 11px; }
  .law-strip strong { overflow-wrap: anywhere; line-height: 1.25; }

  .times-header { gap: 12px; }
  .times-actions { gap: 9px; }
  .filter-control { min-height: 48px; }
  .filter-select { width: min(68%,240px); min-height: 48px; font-size: 16px; }
  .stats-grid, .stats-grid--wide { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stats-grid .stat-card:last-child, .stats-grid--wide .stat-card:last-child { grid-column: auto; }
  .stat-card { min-height: 90px; gap: 9px; padding: 11px; }
  .stat-icon { width: 36px; height: 36px; border-radius: 11px; }
  .stat-icon svg { width: 19px; height: 19px; }
  .stat-card > div { min-width: 0; }
  .stat-card small { line-height: 1.25; overflow-wrap: anywhere; }
  .stat-card strong { font-size: 17px; white-space: nowrap; }
  .legend { gap: 8px 15px; }
  .view-switch { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
  .view-switch button { min-height: 44px; white-space: normal; line-height: 1.15; }

  .day-card-head { gap: 10px; }
  .row-meta { flex: 0 0 auto; font-size: 13px; }
  .entry-row { gap: 9px; }
  .entry-row .entry-reason { overflow-wrap: anywhere; }

  .calendar-view { padding: 10px; }
  .calendar-head { gap: 8px; margin-bottom: 13px; }
  .calendar-head h2 { font-size: 18px; text-align: center; }
  .calendar-weekdays, .calendar-grid { gap: 2px; }
  .calendar-day, .calendar-blank { min-height: 60px; border-radius: 8px; }
  .calendar-day { padding: 4px; }
  .calendar-date { width: 24px; height: 24px; border-radius: 7px; }
  .calendar-label { display: none; }
  .calendar-total { font-size: 8px; }
  .calendar-dots { gap: 2px; }
  .calendar-dots span { width: 5px; height: 5px; }
  .calendar-detail-head { align-items: flex-start; flex-direction: column; gap: 2px; }

  .account-hero { gap: 16px; padding: 18px; }
  .account-hero > div > strong { font-size: clamp(34px,12vw,45px); }
  .account-summary-grid, .report-preview { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .account-summary-grid article, .report-preview > div { min-width: 0; padding: 12px; }
  .account-summary-grid small, .report-preview small { line-height: 1.3; overflow-wrap: anywhere; }
  .account-summary-grid strong, .report-preview strong { font-size: 16px; white-space: nowrap; }
  .compact-row strong, .compact-row small { overflow-wrap: anywhere; }

  .settings-stack { gap: 13px; }
  .settings-card { min-width: 0; padding: 15px; }
  .settings-card .section-heading--tight { width: 100%; gap: 10px; }
  .settings-card .section-heading--tight .secondary-button { width: 100%; }
  .project-row { grid-template-columns: auto minmax(0,1fr); gap: 9px; padding: 10px; }
  .project-actions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit,minmax(90px,1fr)); width: 100%; }
  .project-actions button { min-height: 44px; }
  .toggle-row { align-items: flex-start; gap: 12px; }
  .toggle-row > span { min-width: 0; }
  .toggle-row input { width: 44px; height: 26px; flex: 0 0 auto; }
  .weekday-toggles { grid-template-columns: repeat(7,minmax(0,1fr)); gap: 3px; }
  .weekday-toggles span { min-height: 42px; padding: 0 2px; font-size: 11px; }
  .install-card { padding: 15px; }

  .form-field input:not([type="color"]), .form-field select, .form-field textarea, .sheet-textarea { min-height: 48px; font-size: 16px; }
  .form-field textarea, .sheet-textarea { padding-top: 11px; }
  .primary-button, .secondary-button, .notification-button, .danger-button { min-height: 46px; }

  .sheet {
    max-height: calc(100dvh - var(--safe-top) - 8px);
    padding: 12px 15px calc(18px + var(--safe-bottom));
    overscroll-behavior: contain;
  }
  .sheet-head { gap: 12px; margin-bottom: 16px; }
  .sheet-title { font-size: 21px; overflow-wrap: anywhere; }
  .sheet-close, .icon-button, .back-btn { width: 44px; height: 44px; }

  .mobile-nav {
    right: max(7px,var(--safe-right));
    left: max(7px,var(--safe-left));
    grid-template-columns: repeat(5,minmax(0,1fr));
    min-height: 70px;
    padding: 6px;
  }
  .mobile-nav .nav-item { min-width: 0; min-height: 56px; padding: 4px 2px; }
  .mobile-nav .nav-item span { font-size: 10px; line-height: 1.1; }

  .auth-shell {
    min-height: 100dvh;
    justify-content: flex-start;
    padding: calc(22px + var(--safe-top)) 14px calc(22px + var(--safe-bottom));
  }
  .auth-brand { margin-bottom: 17px; }
  .auth-card { padding: 23px 17px; }
  .auth-card h1 { font-size: 31px; }
  .auth-footnote { margin-top: 14px; }
}

@media (max-width: 540px) {
  .dashboard-side { grid-template-columns: minmax(0,1fr); }
  .quick-card { grid-template-columns: auto minmax(0,1fr) auto; min-height: 78px; padding: 12px 13px; }
  .quick-card .chevron { display: block; }
  .quick-copy strong { white-space: normal; overflow-wrap: anywhere; }
  .report-range { grid-template-columns: minmax(0,1fr); gap: 0; }
  .secure-chip { white-space: normal; }
}

@media (max-width: 440px) {
  .screen { padding-right: 12px; padding-left: 12px; }
  .home-header .eyebrow { font-size: 10px; letter-spacing: .07em; }
  .clock-card { min-height: 278px; padding: 18px; }
  .clock-card-body { padding: 34px 0 21px; }
  .clock-total { font-size: clamp(39px,12.5vw,47px); }
  .clock-since { overflow-wrap: anywhere; }
  .quick-card { min-height: 76px; }
  .week-meta { align-items: flex-start; flex-direction: column; gap: 3px; }
  .status-card { grid-template-columns: minmax(0,1fr) auto; }
  .status-time small { max-width: 72px; }
  .law-strip > div { padding: 10px 9px; }
  .law-strip small { font-size: 10px; }
  .law-strip strong { font-size: 13px; }
  .stat-card { min-height: 86px; padding: 10px; }
  .stat-icon { width: 33px; height: 33px; }
  .stat-card strong { font-size: 16px; }
  .calendar-view { padding: 8px; }
  .calendar-day, .calendar-blank { min-height: 56px; }
  .calendar-total { font-size: 7px; }
  .account-summary-grid article, .report-preview > div { padding: 10px; }
  .account-summary-grid strong, .report-preview strong { font-size: 15px; }
  .compact-row { align-items: flex-start; flex-direction: column; }
  .compact-row > b { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  .modal-actions { align-items: stretch; flex-direction: column-reverse; }
  .modal-actions .danger-button { width: 100%; margin-right: 0; }
  .modal-actions button { width: 100%; }
  .mobile-nav .nav-item span { font-size: 9px; }
}

@media (max-width: 359px) {
  .stats-grid, .stats-grid--wide { grid-template-columns: minmax(0,1fr); }
  .account-summary-grid, .report-preview { grid-template-columns: minmax(0,1fr); }
  .stat-card { min-height: 74px; }
}

@media (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
  .screen { padding-bottom: calc(76px + var(--safe-bottom)); }
  .mobile-nav { min-height: 58px; }
  .mobile-nav .nav-item { min-height: 46px; flex-direction: row; }
  .mobile-nav .nav-item span { width: auto; }
  .sheet { max-height: calc(100dvh - 4px); }
}

/* Phone landscape v16 — keine Desktop-Seitenleiste auf kurzen Displays */
@media (orientation: landscape) and (max-width: 980px) and (max-height: 600px) {
  html, body, .app-shell { width: 100%; min-width: 0; min-height: 100dvh; }
  .sidebar { display: none; }
  .app-main {
    width: 100%;
    max-width: 100%;
    min-height: 100dvh;
    margin-left: 0;
    overflow-x: clip;
  }
  .screen {
    width: 100%;
    max-width: 100%;
    min-height: 100dvh;
    margin: 0;
    padding: calc(10px + var(--safe-top)) max(14px,var(--safe-right)) calc(72px + var(--safe-bottom)) max(14px,var(--safe-left));
  }

  .page-header { align-items: center; gap: 12px; margin-bottom: 12px; }
  .page-header h1 { font-size: clamp(27px,5vw,34px); }
  .home-header { display: grid; grid-template-columns: minmax(0,1fr) auto; }
  .home-tools { gap: 8px; }
  .live-clock span { font-size: 21px; }
  .live-clock small { display: none; }
  .mobile-account-button { display: grid; width: 44px; height: 44px; }

  .dashboard-grid { grid-template-columns: minmax(0,1.55fr) minmax(250px,.85fr); gap: 12px; }
  .clock-card { min-height: 250px; border-radius: 20px; padding: 18px 20px; }
  .clock-card-body { padding: 27px 0 18px; }
  .clock-total { font-size: clamp(40px,7vw,50px); }
  .primary-action { min-height: 50px; }
  .dashboard-side { grid-template-columns: minmax(0,1fr); grid-template-rows: 1fr 1fr; gap: 10px; }
  .quick-card { grid-template-columns: auto minmax(0,1fr) auto; min-height: 120px; gap: 11px; padding: 14px; }
  .quick-card::before, .quick-card .chevron { display: block; }
  .quick-copy strong { white-space: normal; overflow-wrap: anywhere; }
  .week-card { margin-top: 12px; }

  .mobile-nav {
    position: fixed;
    right: max(7px,var(--safe-right));
    bottom: max(6px,var(--safe-bottom));
    left: max(7px,var(--safe-left));
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    min-height: 58px;
    padding: 5px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 17px;
    background: rgba(6,15,27,.96);
    box-shadow: 0 14px 36px rgba(4,12,23,.32),inset 0 1px 0 rgba(255,255,255,.07);
    backdrop-filter: blur(18px);
  }
  .mobile-nav .nav-item {
    display: flex;
    min-width: 0;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 7px;
    border: 1px solid transparent;
    border-radius: 11px;
    padding: 3px 6px;
    color: #8f9cb1;
  }
  .mobile-nav .nav-item svg { width: 19px; height: 19px; flex: 0 0 auto; }
  .mobile-nav .nav-item span { overflow: hidden; width: auto; font-size: 11px; font-weight: 750; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-nav .nav-item.is-active { border-color: rgba(105,158,255,.25); background: linear-gradient(145deg,rgba(41,113,241,.46),rgba(17,78,190,.27)); color: #fff; }

  .toast { right: max(14px,var(--safe-right)); bottom: calc(69px + var(--safe-bottom)); left: max(14px,var(--safe-left)); max-width: none; text-align: center; }
  .sheet {
    right: max(8px,var(--safe-right));
    bottom: max(4px,var(--safe-bottom));
    overflow-y: auto;
    width: min(520px,calc(100vw - 28px - var(--safe-left) - var(--safe-right)));
    max-height: calc(100dvh - 8px - var(--safe-top) - var(--safe-bottom));
    padding: 16px;
    overscroll-behavior: contain;
  }
}

@media (orientation: landscape) and (max-width: 720px) and (max-height: 520px) {
  .dashboard-grid { grid-template-columns: minmax(0,1fr); }
  .dashboard-side { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto; }
  .quick-card { min-height: 88px; }
  .mobile-nav .nav-item { gap: 4px; padding-right: 3px; padding-left: 3px; }
  .mobile-nav .nav-item span { font-size: 9px; }
}

@media (pointer: coarse) {
  button, select, input[type="checkbox"], input[type="date"] { touch-action: manipulation; }
  .nav-item, .text-button, .project-actions button { min-height: 44px; }
}

/* Calendar v17 — allgemeine Termine und klar getrennte Kategorien */
.calendar-category-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.calendar-category-legend span { display: inline-flex; align-items: center; gap: 6px; }
.calendar-category-legend i { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; }
.calendar-category-legend .appointment, .calendar-dots .appointment { background: #176bff; }
.calendar-category-legend .training, .calendar-dots .training { background: #e58a09; }
.calendar-category-legend .vacation, .calendar-dots .vacation { background: #7c5ce5; }
.calendar-category-legend .sick, .calendar-dots .sick { background: #e5484d; }
.calendar-category-legend .time_off, .calendar-dots .time_off { background: #0d9488; }
.calendar-category-legend .private, .calendar-dots .private { background: #db2777; }
.calendar-category-legend .other, .calendar-dots .other { background: #718399; }
.calendar-category-legend .company_free, .calendar-dots .company_free { background: #0b9f70; }
.calendar-category-legend .holiday, .calendar-dots .holiday { background: #d98208; }

.calendar-day.type-company_free { border-color: #a9d8c5; background: #eaf8f2; }
.calendar-label { border-left: 3px solid #718399; padding-left: 5px; color: #53657b; }
.calendar-label.type-appointment { border-color: #176bff; color: #174fa8; }
.calendar-label.type-training { border-color: #e58a09; color: #945706; }
.calendar-label.type-vacation { border-color: #7c5ce5; color: #5f42bd; }
.calendar-label.type-sick { border-color: #e5484d; color: #b72f36; }
.calendar-label.type-time_off { border-color: #0d9488; color: #08756c; }
.calendar-label.type-private { border-color: #db2777; color: #aa185a; }
.calendar-label.type-other { border-color: #718399; }
.calendar-label.type-company_free { border-color: #0b9f70; color: #087553; }
.calendar-label.type-holiday { border-color: #d98208; color: #8f5606; }

.calendar-event { border-left-width: 4px; }
.calendar-event.event-appointment { border-color: #b9cff7; border-left-color: #176bff; background: #edf4ff; }
.calendar-event.event-training { border-color: #f0d29b; border-left-color: #e58a09; background: #fff7e7; }
.calendar-event.event-vacation { border-color: #d3c9f4; border-left-color: #7c5ce5; background: #f4f1ff; }
.calendar-event.event-sick { border-color: #f1c0c3; border-left-color: #e5484d; background: #fff1f2; }
.calendar-event.event-time_off { border-color: #aedbd6; border-left-color: #0d9488; background: #eaf9f7; }
.calendar-event.event-private { border-color: #efbed5; border-left-color: #db2777; background: #fff0f7; }
.calendar-event.event-other { border-color: #cbd4df; border-left-color: #718399; background: #f2f5f8; }
.calendar-event.event-company_free { border-color: #b3ddcd; border-left-color: #0b9f70; background: #eaf8f2; }
.calendar-event.event-holiday { border-color: #efd29c; border-left-color: #d98208; background: #fff8e8; }

@media (max-width: 680px) {
  .calendar-category-legend { gap: 6px 11px; margin-bottom: 12px; font-size: 11px; }
}

/* WhatsApp-Freigabe v18 */
.reports-view.is-active {
  display: grid;
  gap: 16px;
}
.whatsapp-share-card {
  overflow: hidden;
  border: 1px solid rgba(19,137,84,.32);
  border-radius: 17px;
  padding: clamp(20px,3.5vw,30px);
  background:
    radial-gradient(circle at 92% 0,rgba(91,234,157,.2),transparent 34%),
    linear-gradient(145deg,#0b5133,#073c29);
  box-shadow: 0 16px 38px rgba(5,58,37,.18),inset 0 1px 0 rgba(255,255,255,.12);
  color: #fff;
}
.whatsapp-share-heading {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.whatsapp-share-heading .eyebrow { color: #8af0b9; }
.whatsapp-share-heading h2 { margin: 2px 0 5px; font-size: clamp(20px,3vw,26px); }
.whatsapp-share-heading p:last-child { max-width: 680px; margin: 0; color: #c4e7d4; font-size: 13px; line-height: 1.5; }
.whatsapp-share-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 15px;
  background: rgba(255,255,255,.12);
  color: #89f1b8;
}
.whatsapp-share-icon svg { width: 27px; height: 27px; }
.whatsapp-period-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
  margin-top: 22px;
}
.whatsapp-share-button {
  min-height: 66px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 13px;
  padding: 12px 14px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 20px rgba(0,34,19,.14);
  color: #0a3c29;
  text-align: left;
}
.whatsapp-share-button:hover { border-color: #83ebb3; background: #f5fff9; transform: translateY(-1px); }
.whatsapp-share-button span,.whatsapp-share-button small { display: block; }
.whatsapp-share-button span { font-size: 14px; font-weight: 850; }
.whatsapp-share-button small { margin-top: 3px; color: #4e7663; font-size: 11px; font-weight: 650; }
.whatsapp-share-note { margin: 13px 0 0; color: #b9ddca; font-size: 11px; line-height: 1.45; }

@media (max-width: 540px) {
  .whatsapp-share-card { padding: 18px 16px; }
  .whatsapp-share-heading { gap: 11px; }
  .whatsapp-share-icon { width: 42px; height: 42px; border-radius: 13px; }
  .whatsapp-period-grid { grid-template-columns: minmax(0,1fr); gap: 8px; margin-top: 17px; }
  .whatsapp-share-button { min-height: 59px; text-align: center; }
}

/* Nyranic Brand v19 */
.brand-mark,.loading-mark {
  border-color: rgba(114,224,174,.28);
  background: linear-gradient(145deg,#174a78,#0a293f 68%,#0c3c35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18),0 10px 24px rgba(2,24,39,.34);
}
.brand-mark img,.loading-mark img {
  display: block;
  width: 70%;
  height: 70%;
  object-fit: contain;
}
.brand strong,.auth-brand strong { letter-spacing: -.025em; }
