Oberfläche auf das tradeo Corporate Design umstellen

Nur tradeo Blue und Weiß, Neutraltöne als Deckkraft-Abstufungen. Poppins für
Titel und Kennzeichen, Inter für Bedienelemente, beide selbst gehostet.
Kopfzeile als Markenfläche, Listen mit Trennlinien statt Kästen, Linien-SVGs
statt Emojis, Rot nur noch funktional. Design-System unter docs/DESIGN.md
abgelegt und in CLAUDE.md verankert.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
ferdi2goandClaude Fable 5.1 committed 2026-09-16 09:33:42 +00:00
1 parent 95756778d8
commit 8a0f903a40
14 files changed
+1160 -190

No files matched your search

+13 -16
View File
@@ -23,6 +23,7 @@ function fmtDate(isoStr) {
function fmtLong(isoStr) {
return new Date(isoStr + 'T12:00:00').toLocaleDateString('de-DE', { weekday: 'long', day: 'numeric', month: 'long', year: 'numeric' });
}
const LOCK_ICON = '<svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><rect x="5" y="11" width="14" height="10" rx="1.5"/><path d="M8 11V7a4 4 0 0 1 8 0v4"/></svg>';
const MONTHS = ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'];
let toastTimer;
@@ -66,11 +67,6 @@ function personById(id) { return state.data.persons.find((p) => p.id === id); }
function fullName(p) { return p ? `${p.firstName} ${p.lastName}` : 'unbesetzt'; }
function shortName(p) { return p ? `${p.firstName} ${p.lastName.charAt(0)}.` : '?'; }
function initials(p) { return `${p.firstName.charAt(0)}${p.lastName.charAt(0)}`.toUpperCase(); }
function colorFor(id) {
let h = 0;
for (const c of id) h = (h * 31 + c.charCodeAt(0)) >>> 0;
return `hsl(${h % 360} 55% 45%)`;
}
function isAbsent(personId, date) {
return state.data.absences.some((a) => a.personId === personId && a.from <= date && a.to >= date);
}
@@ -94,7 +90,6 @@ function avatarEl(p, cls = '') {
}
const e = document.createElement('span');
e.className = `avatar ${cls}`;
e.style.background = colorFor(p.id);
e.textContent = initials(p);
e.setAttribute('role', 'img');
e.setAttribute('aria-label', fullName(p));
@@ -141,7 +136,9 @@ function renderCalendar() {
if (date < today) cell.classList.add('past');
const num = document.createElement('div');
num.className = 'num';
num.textContent = cur.getDate();
const numText = document.createElement('span');
numText.textContent = cur.getDate();
num.appendChild(numText);
cell.appendChild(num);
if (outside) { grid.appendChild(cell); continue; }
@@ -162,7 +159,7 @@ function renderCalendar() {
cell.setAttribute('aria-label', `${fmtLong(date)}, kein Meeting`);
} else if (a) {
planned += 1;
if (a.locked) { const lock = document.createElement('span'); lock.className = 'lock'; lock.textContent = '🔒'; lock.title = 'fixiert'; num.appendChild(lock); }
if (a.locked) { const lock = document.createElement('span'); lock.className = 'lock'; lock.innerHTML = LOCK_ICON; lock.title = 'fixiert'; num.appendChild(lock); }
const pair = document.createElement('div');
pair.className = 'pair';
const main = personById(a.main);
@@ -171,7 +168,7 @@ function renderCalendar() {
pair.appendChild(slotEl(main, 'main', date));
pair.appendChild(slotEl(co, 'co', date));
cell.appendChild(pair);
const absentNote = (p) => (p && isAbsent(p.id, date) ? ' (abwesend!)' : '');
const absentNote = (p) => (p && isAbsent(p.id, date) ? ' (abwesend)' : '');
cell.setAttribute('aria-label', `${fmtLong(date)}: Haupt ${fullName(main)}${absentNote(main)}, Neben ${fullName(co)}${absentNote(co)}${a.locked ? ', fixiert' : ''}`);
} else {
cell.setAttribute('aria-label', `${fmtLong(date)}, noch nicht ausgelost`);
@@ -206,7 +203,7 @@ function slotEl(p, role, date) {
name.className = 'name';
name.textContent = shortName(p);
name.title = fullName(p);
if (absent) { name.classList.add('absent'); name.title += ' – abwesend!'; }
if (absent) { name.classList.add('absent'); name.title += ' – abwesend'; }
slot.appendChild(name);
return slot;
}
@@ -734,16 +731,16 @@ function renderAbsences() {
const conflicts = Object.entries(state.data.assignments).filter(([d, x]) => d >= a.from && d <= a.to && !x.off && (x.main === a.personId || x.co === a.personId));
if (conflicts.length) {
const warn = document.createElement('span');
warn.className = 'tag off';
warn.textContent = `${conflicts.length}× eingeplant!`;
warn.className = 'tag conflict';
warn.textContent = `${conflicts.length}× eingeplant`;
warn.title = 'Diese Person ist an Tagen im Kalender eingeplant, an denen sie abwesend ist. Im Kalender neu auslosen.';
li.appendChild(warn);
}
const del = document.createElement('button');
del.type = 'button';
del.className = 'ghost danger';
del.textContent = 'Löschen';
del.addEventListener('click', () => run(() => api(`api/absences/${a.id}`, { method: 'DELETE' }), 'Abwesenheit gelöscht.'));
del.className = 'ghost';
del.textContent = 'Entfernen';
del.addEventListener('click', () => run(() => api(`api/absences/${a.id}`, { method: 'DELETE' }), 'Abwesenheit entfernt.'));
li.appendChild(del);
list.appendChild(li);
}
@@ -797,7 +794,7 @@ function renderSettings() {
if (!h.auto) li.appendChild(tag('manuell'));
const del = document.createElement('button');
del.type = 'button';
del.className = 'ghost danger';
del.className = 'ghost';
del.textContent = 'Entfernen';
del.addEventListener('click', () => run(() => api(`api/holidays/${h.date}`, { method: 'DELETE' }), 'Eintrag entfernt.'));
li.appendChild(del);
+93
View File
@@ -0,0 +1,93 @@
Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
+93
View File
@@ -0,0 +1,93 @@
Copyright 2020 The Poppins Project Authors (https://github.com/itfoundry/Poppins)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
+7
View File
@@ -0,0 +1,7 @@
/* Poppins und Inter, selbst gehostet (SIL Open Font License, siehe OFL-*.txt). Quelle: Google Fonts, Subsets latin + latin-ext. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('inter-variable-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('inter-variable-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('poppins-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('poppins-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('poppins-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('poppins-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+11 -10
View File
@@ -3,14 +3,15 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta name="color-scheme" content="light dark">
<meta name="color-scheme" content="light">
<title>Rotatory – Morning-Meeting-Moderation</title>
<link rel="stylesheet" href="fonts/fonts.css">
<link rel="stylesheet" href="style.css">
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ctext y='.9em' font-size='90'%3E%F0%9F%8E%99%3C/text%3E%3C/svg%3E">
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect width='16' height='16' rx='3' fill='%23122E45'/%3E%3C/svg%3E">
</head>
<body>
<header class="topbar">
<h1><span aria-hidden="true">🎙</span> Rotatory</h1>
<h1>Rotatory</h1>
<nav aria-label="Bereiche">
<a href="#kalender" data-view="kalender">Kalender</a>
<a href="#personen" data-view="personen">Personen</a>
@@ -24,15 +25,15 @@
<section id="view-kalender" class="view" aria-labelledby="cal-title">
<div class="toolbar">
<div class="month-nav">
<button type="button" id="prev-month" aria-label="Vorheriger Monat">‹</button>
<button type="button" id="prev-month" class="icon-button" aria-label="Vorheriger Monat"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M15 6l-6 6 6 6"/></svg></button>
<h2 id="cal-title">Monat</h2>
<button type="button" id="next-month" aria-label="Nächster Monat">›</button>
<button type="button" id="next-month" class="icon-button" aria-label="Nächster Monat"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M9 6l6 6-6 6"/></svg></button>
<button type="button" id="today-month" class="ghost">Heute</button>
</div>
<div class="actions">
<button type="button" id="open-plan" class="primary">Auslosen …</button>
<button type="button" id="open-nextcloud">Nextcloud …</button>
<a id="download-ics" class="button ghost" href="#" download>ICS</a>
<a id="download-ics" class="button ghost" href="#" download>ICS-Datei</a>
</div>
</div>
<p id="cal-hint" class="hint" hidden></p>
@@ -45,7 +46,7 @@
<div class="legend">
<span><span class="badge main">H</span> Hauptmoderation</span>
<span><span class="badge co">N</span> Nebenmoderation</span>
<span><span class="lock" aria-hidden="true">🔒</span> fixiert</span>
<span><span class="lock" aria-hidden="true"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><rect x="5" y="11" width="14" height="10" rx="1.5"/><path d="M8 11V7a4 4 0 0 1 8 0v4"/></svg></span> fixiert</span>
<span><span class="avatar empty small" aria-hidden="true">?</span> unbesetzt</span>
</div>
<section class="stats" aria-labelledby="stats-title">
@@ -123,7 +124,7 @@
</div>
</form>
<p class="hint">Abwesenheiten wirken auf die nächste Auslosung. Bereits ausgeloste Tage werden markiert und lassen sich im Kalender neu auslosen.</p>
<label class="inline"><input type="checkbox" id="absence-show-past"> Vergangene anzeigen</label>
<label class="inline" id="absence-toggle"><input type="checkbox" id="absence-show-past"> Vergangene anzeigen</label>
<ul id="absence-list" class="list"></ul>
</section>
@@ -169,7 +170,7 @@
<label class="inline"><input type="checkbox" name="locked"> Fixieren (bleibt bei jeder Auslosung erhalten)</label>
<label class="inline"><input type="checkbox" name="off"> Kein Meeting an diesem Tag</label>
<div class="form-actions">
<button type="button" id="day-reroll">🎲 Neu auslosen</button>
<button type="button" id="day-reroll">Neu auslosen</button>
<button type="button" id="day-clear" class="ghost danger">Entfernen</button>
<span class="spacer"></span>
<button type="button" id="day-close" class="ghost">Abbrechen</button>
@@ -213,7 +214,7 @@
<button type="button" id="nextcloud-test">Verbindung testen</button>
<span class="spacer"></span>
<button type="button" class="ghost" id="nextcloud-close">Schließen</button>
<button type="submit" class="primary" id="nextcloud-go">Go – schreiben</button>
<button type="submit" class="primary" id="nextcloud-go">In Nextcloud schreiben</button>
</div>
</form>
</dialog>
+195 -164
View File
@@ -1,204 +1,235 @@
/*
* Rotatory – Oberfläche nach dem tradeo Corporate Design System (docs/DESIGN.md, Stand 0.1).
* Farben: ausschließlich tradeo Blue #122E45 und Weiß. Neutraltöne sind Abstufungen von tradeo Blue
* über Deckkraft – eine offene Designentscheidung, bis das CDS Grautöne definiert (Abschnitt 3.3).
* Ebenso offen: Radius (hier 6 px), funktionale Statusfarbe (hier #B42318, nur für Fehler/Konflikte),
* Icon-Familie (hier schlichte Linien-SVGs, 1,75 px Strich). Kein Dark Mode, da im CDS nicht definiert.
*/
:root {
--bg: #f6f7fb;
--card: #ffffff;
--text: #1c2130;
--muted: #5d6578;
--line: #dde1ea;
--accent: #2f6fed;
--accent-text: #ffffff;
--main: #2f6fed;
--co: #e08a1e;
--danger: #c93b3b;
--holiday: #eef0f5;
--today: #fff6d6;
--warn: #b25e00;
--ok: #1d7a3e;
--radius: 10px;
--cell-min: 64px;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #14171f;
--card: #1e222c;
--text: #e8eaf0;
--muted: #a0a7b8;
--line: #313746;
--holiday: #1a1d25;
--today: #3a3420;
--accent: #5b8dff;
--main: #5b8dff;
--co: #f0a23a;
--danger: #ff7b7b;
--warn: #f2b45a;
--ok: #5fcf7f;
}
--tradeo-blue: #122E45;
--white: #FFFFFF;
--text: #122E45;
--text-2: rgba(18, 46, 69, .72);
--text-3: rgba(18, 46, 69, .56);
--line: rgba(18, 46, 69, .14);
--line-2: rgba(18, 46, 69, .32);
--tint-1: rgba(18, 46, 69, .04);
--tint-2: rgba(18, 46, 69, .08);
--tint-3: rgba(18, 46, 69, .16);
--danger: #B42318;
--radius: 6px;
--font-title: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
--avatar-main: 52px;
--avatar-co: 44px;
--cell-min: 104px;
}
* { box-sizing: border-box; }
html { color-scheme: light dark; }
html { color-scheme: light; }
body {
margin: 0;
font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
font: 400 15px/1.5 var(--font-ui);
color: var(--text);
background: var(--bg);
background: var(--white);
-webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0 0 .5rem; line-height: 1.2; }
h1 { font-size: 1.25rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; margin-top: 1.5rem; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0; font-family: var(--font-title); line-height: 1.25; }
h1 { font-size: 18px; font-weight: 600; }
h2 { font-size: 22px; font-weight: 600; }
h3 { font-size: 16px; font-weight: 500; }
a { color: var(--tradeo-blue); }
[hidden] { display: none !important; }
svg.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
/* Kopfzeile: Markenfläche in tradeo Blue mit weißer Wortmarke */
.topbar {
display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center;
padding: .6rem 1rem; background: var(--card); border-bottom: 1px solid var(--line);
display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px;
padding: 0 24px; min-height: 56px;
background: var(--tradeo-blue); color: var(--white);
position: sticky; top: 0; z-index: 5;
}
.topbar nav { display: flex; gap: .25rem; flex-wrap: wrap; }
.topbar h1 { color: var(--white); padding: 14px 0; }
.topbar nav { display: flex; gap: 4px; flex-wrap: wrap; align-self: stretch; }
.topbar nav a {
text-decoration: none; color: var(--muted); padding: .35rem .7rem; border-radius: 999px; font-weight: 500;
display: inline-flex; align-items: center; padding: 0 12px; min-height: 56px;
text-decoration: none; color: rgba(255, 255, 255, .76); font-weight: 500; font-size: 14px;
border-bottom: 2px solid transparent;
}
.topbar nav a[aria-current="page"] { background: var(--accent); color: var(--accent-text); }
.topbar nav a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, .day:focus-visible {
outline: 3px solid var(--accent); outline-offset: 2px;
.topbar nav a:hover { color: var(--white); }
.topbar nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--white); }
.topbar nav a:focus-visible { outline: 2px solid var(--white); outline-offset: -4px; }
@media (max-width: 560px) {
.topbar { padding: 0 16px; gap: 0 16px; }
.topbar h1 { padding: 12px 0; }
.topbar nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; margin: 0 -16px; padding: 0 8px; scrollbar-width: none; }
.topbar nav::-webkit-scrollbar { display: none; }
.topbar nav a { min-height: 44px; padding: 0 10px; font-size: 13px; white-space: nowrap; }
}
button:focus-visible, input:focus-visible, select:focus-visible, .button:focus-visible, .day:focus-visible, .avatar[tabindex]:focus-visible {
outline: 2px solid var(--tradeo-blue); outline-offset: 2px;
}
main { padding: 1rem; max-width: 1100px; margin: 0 auto; }
.view > h2 { margin-bottom: 1rem; }
main { padding: 24px 16px 48px; max-width: 1120px; margin: 0 auto; }
@media (min-width: 720px) { main { padding: 32px 24px 64px; } }
.view > h2 { margin-bottom: 24px; }
h3 { margin: 32px 0 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; }
.form-grid { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .wide, .form-grid fieldset, .form-grid .form-actions, .form-grid .hint { grid-column: 1 / -1; } }
label { display: flex; flex-direction: column; gap: .25rem; font-size: .9rem; color: var(--muted); }
label.inline { flex-direction: row; align-items: center; gap: .5rem; color: var(--text); }
input, select, button, .button {
font: inherit; border-radius: 8px; border: 1px solid var(--line); padding: .5rem .65rem; background: var(--card); color: var(--text);
min-height: 40px;
}
input[type="checkbox"] { min-height: 0; width: 1.1rem; height: 1.1rem; accent-color: var(--accent); }
/* Felder dürfen nie breiter werden als ihr Container – lange Kalendernamen in <select> sonst schon */
/* Karten und Formulare */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .wide, .form-grid fieldset, .form-grid .form-actions, .form-grid .hint, .form-grid h3 { grid-column: 1 / -1; } }
.form-grid h3 { margin: 0; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-2); }
label.inline { flex-direction: row; align-items: center; gap: 10px; color: var(--text); font-weight: 400; font-size: 14px; }
label > input:not([type="checkbox"]), label > select { width: 100%; min-width: 0; max-width: 100%; }
.form-grid > *, .dialog-form > *, .row > label { min-width: 0; }
input, select, button, .button {
font: inherit; font-size: 15px; color: var(--text); background: var(--white);
border: 1px solid var(--line-2); border-radius: var(--radius); padding: 8px 12px; min-height: 40px;
}
input::placeholder { color: var(--text-3); }
input[type="checkbox"] { min-height: 0; width: 18px; height: 18px; margin: 0; accent-color: var(--tradeo-blue); }
fieldset.checks { border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 12px 16px 16px; margin: 0; }
fieldset.checks legend { font-size: 13px; font-weight: 500; color: var(--text-2); padding: 0 4px; }
fieldset.checks label { flex-direction: row; align-items: center; gap: 8px; color: var(--text); font-weight: 400; font-size: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; margin-bottom: 16px; }
.row > label { flex: 1 1 180px; }
.row > button { flex: 0 0 auto; }
fieldset.checks { border: 1px solid var(--line); border-radius: 8px; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; padding: .5rem .75rem .75rem; margin: 0; }
fieldset.checks legend { font-size: .85rem; color: var(--muted); padding: 0 .25rem; }
fieldset.checks label { flex-direction: row; align-items: center; gap: .4rem; color: var(--text); }
button, .button { cursor: pointer; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; }
button:hover, .button:hover { border-color: var(--accent); }
button.primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
button.ghost, .button.ghost { background: transparent; }
button.danger { color: var(--danger); }
button:disabled { opacity: .5; cursor: wait; }
.form-actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.form-actions .spacer { flex: 1; }
.row { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: end; margin-bottom: .75rem; }
.hint { color: var(--muted); font-size: .88rem; margin: .25rem 0 .75rem; }
.result { padding: .6rem .8rem; border-radius: 8px; background: var(--holiday); font-size: .9rem; white-space: pre-line; }
.hint { color: var(--text-2); font-size: 13px; margin: 4px 0 16px; }
.result { padding: 12px 16px; border-radius: var(--radius); background: var(--tint-1); font-size: 14px; white-space: pre-line; }
.result.error { color: var(--danger); }
/* Schaltflächen: primär in tradeo Blue, sekundär zurückhaltend, destruktiv nur funktional */
button, .button {
cursor: pointer; font-weight: 500; font-size: 14px; text-decoration: none; color: var(--tradeo-blue);
display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; white-space: nowrap;
}
button:hover, .button:hover { background: var(--tint-1); }
button.primary { background: var(--tradeo-blue); color: var(--white); border-color: var(--tradeo-blue); }
button.primary:hover { box-shadow: inset 0 0 0 999px rgba(255, 255, 255, .1); background: var(--tradeo-blue); }
button.ghost, .button.ghost { border-color: transparent; }
button.danger { color: var(--danger); }
button.icon-button { width: 40px; padding: 0; }
button:disabled { opacity: .45; cursor: default; }
.form-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.form-actions .spacer { flex: 1; }
/* Kalender */
.toolbar { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.month-nav { display: flex; align-items: center; gap: .4rem; }
.month-nav h2 { min-width: 11ch; text-align: center; margin: 0; }
.month-nav button { min-width: 40px; }
.actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.calendar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.month-nav { display: flex; align-items: center; gap: 8px; }
.month-nav h2 { min-width: 11ch; font-size: 20px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.calendar { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.weekdays, .days { display: grid; grid-template-columns: repeat(5, 1fr); }
.weekdays div { text-align: center; font-size: .8rem; color: var(--muted); padding: .4rem 0; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .04em; }
.weekdays div { font-size: 12px; font-weight: 500; color: var(--text-3); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.day {
min-height: var(--cell-min); padding: .3rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
display: flex; flex-direction: column; gap: .25rem; text-align: left; background: transparent; border-radius: 0; color: inherit;
cursor: pointer; align-items: stretch; justify-content: flex-start;
min-height: var(--cell-min); padding: 8px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0;
display: flex; flex-direction: column; gap: 6px; align-items: stretch; justify-content: flex-start; text-align: left;
background: var(--white); color: inherit; cursor: pointer; font-weight: 400; white-space: normal;
}
.day:nth-child(5n) { border-right: 0; }
.day.outside { background: var(--holiday); cursor: default; opacity: .55; }
.day.holiday { background: var(--holiday); }
.day.today { background: var(--today); }
.day.past { opacity: .7; }
.day:hover:not(.outside) { border-color: var(--line); box-shadow: inset 0 0 0 2px var(--accent); }
.day .num { font-size: .8rem; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.day .num .lock { font-size: .7rem; }
.day .label { font-size: .72rem; color: var(--muted); line-height: 1.2; overflow-wrap: anywhere; }
.day .label.off { color: var(--warn); font-weight: 500; }
.day .pair { display: flex; gap: .3rem; align-items: flex-end; justify-content: center; flex-wrap: wrap; }
.slot { display: flex; flex-direction: column; align-items: center; gap: .1rem; min-width: 0; }
.slot .name { font-size: .68rem; line-height: 1.1; text-align: center; max-width: 5.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.day.outside { background: var(--tint-1); cursor: default; }
.day.outside .num { opacity: .5; }
.day.holiday { background: var(--tint-1); }
.day.past:not(.outside) { opacity: .6; }
.day:hover:not(.outside) { background: var(--tint-1); }
.day:focus-visible { outline-offset: -2px; }
.day .num { font-size: 13px; font-weight: 500; color: var(--text-3); display: flex; justify-content: space-between; align-items: center; min-height: 24px; }
.day.today .num > span:first-child { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tradeo-blue); color: var(--white); font-weight: 600; }
.day .num .lock { display: inline-flex; color: var(--text-2); }
.day .num .lock svg { width: 14px; height: 14px; }
.day .label { font-size: 12px; color: var(--text-2); line-height: 1.3; overflow-wrap: anywhere; }
.day .label.off { font-weight: 500; }
.day .pair { display: flex; gap: 8px; align-items: flex-end; justify-content: center; flex-wrap: wrap; margin-top: auto; margin-bottom: auto; }
.slot { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.slot .name { font-size: 12px; line-height: 1.2; text-align: center; max-width: 6rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.slot .name.absent { color: var(--danger); text-decoration: line-through; }
.avatar.absent { border-color: var(--danger); box-shadow: 0 0 0 2px var(--danger); }
.avatar {
width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--holiday);
display: inline-flex; align-items: center; justify-content: center; font-weight: 600; color: #fff; font-size: 1rem;
border: 3px solid var(--main); position: relative; flex-shrink: 0;
}
.avatar.co { width: 42px; height: 42px; border-color: var(--co); font-size: .85rem; }
.avatar.empty { border-style: dashed; color: var(--muted); background: transparent; }
.avatar.small { width: 24px; height: 24px; border-width: 2px; font-size: .7rem; }
.avatar.plain { border-color: var(--line); }
.slot .avatar-wrap { position: relative; display: inline-block; }
/* Avatare: Hauptmoderation mit gefülltem, Nebenmoderation mit umrandetem Kennzeichen – eine Farbe, zwei Gewichte */
.avatar {
width: var(--avatar-main); height: var(--avatar-main); border-radius: 50%; object-fit: cover;
display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
background: var(--tint-2); color: var(--text); font-family: var(--font-title); font-weight: 600; font-size: 15px;
border: 2px solid var(--tradeo-blue);
}
.avatar.co { width: var(--avatar-co); height: var(--avatar-co); border-color: var(--line-2); font-size: 13px; }
.avatar.plain { border-color: var(--line); }
.avatar.empty { border-style: dashed; border-color: var(--line-2); color: var(--text-3); background: transparent; }
.avatar.small { width: 24px; height: 24px; border-width: 1px; font-size: 10px; }
.avatar.absent { border-color: var(--danger); }
.badge {
display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%;
font-size: .65rem; font-weight: 700; color: #fff; background: var(--main);
display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%;
font-family: var(--font-title); font-size: 10px; font-weight: 600; line-height: 1;
background: var(--tradeo-blue); color: var(--white); border: 1.5px solid var(--tradeo-blue);
}
.badge.co { background: var(--co); }
.slot .badge { position: absolute; bottom: -2px; right: -4px; border: 2px solid var(--card); width: 20px; height: 20px; }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: .75rem 0; font-size: .85rem; color: var(--muted); align-items: center; }
.legend > span { display: inline-flex; align-items: center; gap: .35rem; }
.stats { margin-top: .5rem; }
.stats h3 { margin-top: .5rem; }
#stats { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .6rem .25rem .3rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: .85rem; }
.chip .avatar { width: 26px; height: 26px; border-width: 2px; font-size: .7rem; }
.chip .count { color: var(--muted); }
.badge.co { background: var(--white); color: var(--tradeo-blue); }
.slot .badge { position: absolute; bottom: -3px; right: -5px; box-shadow: 0 0 0 2px var(--white); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0 0; font-size: 13px; color: var(--text-2); align-items: center; }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }
.legend .lock { display: inline-flex; color: var(--text-2); }
.legend .lock svg { width: 16px; height: 16px; }
.stats { margin-top: 32px; }
.stats h3 { margin-top: 0; }
#stats { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; }
.chip .avatar { width: 28px; height: 28px; border-width: 1px; font-size: 11px; }
.chip .count { color: var(--text-3); font-variant-numeric: tabular-nums; }
@media (max-width: 520px) {
:root { --cell-min: 78px; }
main { padding: .5rem; }
.avatar { width: 34px; height: 34px; border-width: 2px; font-size: .75rem; }
.avatar.co { width: 28px; height: 28px; font-size: .65rem; }
.slot .badge { width: 15px; height: 15px; font-size: .55rem; }
@media (max-width: 560px) {
:root { --cell-min: 88px; --avatar-main: 36px; --avatar-co: 30px; }
.avatar { font-size: 12px; } .avatar.co { font-size: 10px; }
.slot .badge { width: 16px; height: 16px; font-size: 9px; }
.slot .name { display: none; }
.day { padding: .2rem; }
.day .pair { flex-direction: column; align-items: center; gap: .15rem; }
.day { padding: 6px 4px; gap: 4px; }
.day .pair { flex-direction: column; align-items: center; gap: 6px; }
.weekdays div { padding: 8px 6px; }
.month-nav h2 { min-width: 0; }
}
/* Listen */
.list, .person-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.list li, .person-list li {
display: flex; align-items: center; gap: .75rem; padding: .6rem .8rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); flex-wrap: wrap;
}
.list.compact li { padding: .35rem .6rem; }
.person-list .avatar { width: 56px; height: 56px; cursor: pointer; }
.person-list .avatar.plain:hover { border-color: var(--accent); }
.person-list .who { flex: 1; min-width: 160px; }
.person-list .who strong { display: block; }
.person-list .who small, .list small { color: var(--muted); }
.tags { display: flex; gap: .3rem; flex-wrap: wrap; margin-top: .2rem; }
.tag { font-size: .72rem; padding: .1rem .5rem; border-radius: 999px; background: var(--holiday); color: var(--muted); }
.tag.main { background: var(--main); color: #fff; }
.tag.co { background: var(--co); color: #fff; }
.tag.off { background: var(--danger); color: #fff; }
.list li .grow { flex: 1; min-width: 160px; }
.list li button, .person-list li button { min-height: 34px; padding: .3rem .6rem; font-size: .85rem; }
.person-list li.inactive { opacity: .6; }
.type-urlaub { color: var(--ok); } .type-krankheit { color: var(--danger); } .type-frei { color: var(--accent); } .type-sonstiges { color: var(--muted); }
.contacts-list { list-style: none; margin: 0; padding: 0; max-height: 50vh; overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
.contacts-list li { display: flex; align-items: center; gap: .6rem; padding: .4rem .6rem; border-bottom: 1px solid var(--line); }
.contacts-list li:last-child { border-bottom: 0; }
.contacts-list li.exists { opacity: .55; }
.contacts-list label { flex-direction: row; align-items: center; gap: .6rem; color: var(--text); flex: 1; cursor: pointer; }
.contacts-list small { color: var(--muted); }
.contacts-tools { display: flex; gap: .5rem; }
.form-grid h3 { margin: 0; }
/* Listen: Zeilen mit dezenten Trennlinien statt einzelner Kästen */
.list, .person-list, .contacts-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.list li, .person-list li, .contacts-list li { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.list.compact li { padding: 8px 0; }
.person-list .avatar { width: 48px; height: 48px; cursor: pointer; }
.person-list .avatar.plain:hover { border-color: var(--tradeo-blue); }
.person-list .who { flex: 1; min-width: 180px; }
.person-list .who strong { display: block; font-family: var(--font-title); font-weight: 500; font-size: 15px; }
.person-list .who small, .list small, .contacts-list small { color: var(--text-2); font-size: 13px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.tag { font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 4px; background: var(--tint-2); color: var(--text); border: 1px solid transparent; }
.tag.main { background: var(--tradeo-blue); color: var(--white); }
.tag.co { background: var(--white); border-color: var(--tradeo-blue); }
.tag.off { background: var(--tint-3); }
.tag.conflict { background: var(--white); border-color: var(--danger); color: var(--danger); }
.list li .grow { flex: 1; min-width: 180px; }
.list li button, .person-list li button { min-height: 34px; padding: 0 12px; font-size: 13px; }
.person-list li.inactive { opacity: .55; }
.type-krankheit { color: var(--danger); }
label.inline#absence-toggle { margin-bottom: 8px; }
/* Dialoge */
dialog { border: 1px solid var(--line); border-radius: var(--radius); padding: 0; background: var(--card); color: var(--text); width: min(92vw, 520px); max-width: calc(100vw - 2rem); box-sizing: border-box; }
dialog::backdrop { background: rgba(0,0,0,.45); }
.dialog-form { display: grid; gap: .75rem; padding: 1.25rem; }
.dialog-form h2 { margin: 0; }
.dialog-form .form-actions { margin-top: .5rem; }
dialog {
border: 1px solid var(--line); border-radius: var(--radius); padding: 0; background: var(--white); color: var(--text);
width: min(92vw, 520px); max-width: calc(100vw - 32px); box-shadow: 0 8px 24px rgba(18, 46, 69, .16);
}
dialog::backdrop { background: rgba(18, 46, 69, .4); }
.dialog-form { display: grid; gap: 16px; padding: 24px; }
.dialog-form h2 { font-size: 18px; }
.dialog-form .form-actions { margin-top: 8px; }
.contacts-list { max-height: 50vh; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.contacts-list li { padding: 8px 12px; gap: 12px; }
.contacts-list li:last-child { border-bottom: 0; }
.contacts-list li.exists { opacity: .5; }
.contacts-list label { flex-direction: row; align-items: center; gap: 12px; color: var(--text); flex: 1; cursor: pointer; font-weight: 400; font-size: 14px; }
.contacts-tools { display: flex; gap: 8px; }
.toast { position: fixed; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: .6rem 1rem; border-radius: 999px; font-size: .9rem; z-index: 20; max-width: 90vw; }
.toast.error { background: var(--danger); color: #fff; }
.status-ok { color: var(--ok); } .status-warn { color: var(--warn); }
code { background: var(--holiday); padding: .1rem .3rem; border-radius: 4px; font-size: .85em; }
.toast {
position: fixed; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%);
background: var(--tradeo-blue); color: var(--white); padding: 10px 16px; border-radius: var(--radius); font-size: 14px; z-index: 20; max-width: 90vw;
}
.toast.error { background: var(--danger); }
.status-ok, .status-warn { font-weight: 500; }
.status-warn { color: var(--danger); }
code { background: var(--tint-1); padding: 1px 6px; border-radius: 4px; font-size: .9em; }