Files
paliad/frontend/src/styles/global.css
m 3f0c26fd3a feat(frontend): PWA mobile BottomNav + Quick-Add sheet (t-paliad-041)
Phone-first bottom navigation per pwa-baseline.md. Renders only at
<768px; tablets and desktop are unchanged.

Slots: Start / Projekte / [+] Anlegen / Agenda / Menü.

- Center [+] opens a slide-up <dialog> sheet with three rows: Frist,
  Termin, Projekt. Native showModal() + ::backdrop, ESC and backdrop-tap
  dismiss, transform-based slide-up transition.
- Right Menü slot reuses the existing Sidebar mobile drawer via a new
  exported toggleMobileSidebar() (DRY with the legacy hamburger handler).
- Agenda slot carries a red-dot badge: count = today + overdue pending
  deadlines (live via /api/deadlines/summary, refreshed every 60s). Pulse
  animation when overdue > 0 — m: "Due is the latest we can do, OVERDUE
  is a catastrophy."
- visualViewport resize watcher hides the bar when the on-screen keyboard
  opens (>100px height shrink) so it doesn't cover form fields.
- safe-area-inset-bottom padding on the bar; main padding-bottom adjusts
  on phones so the last row stays above the bar.

PWA shell groundwork (defers manifest/SW/install-prompt to follow-ups):
- viewport-fit=cover on every page (required for safe-area to register)
- theme-color #65a30d (lime), apple-mobile-web-app-capable, status-bar
  style — all 30 page heads updated in one sweep.

Backend: deadline_service.SummaryCounts gains a `today` bucket so the
Agenda badge can distinguish "due today" from "this week" without a new
endpoint.

Files added:
  frontend/src/components/BottomNav.tsx
  frontend/src/client/bottom-nav.ts

Verified visually via headless chromium at 375x812, 800x600, 1280x800:
phone shows BottomNav (5 slots, lime [+] elevated), tablet shows the
existing hamburger only, desktop sidebar untouched. go build/vet/test
and bun run build all clean.
2026-04-26 10:32:00 +02:00

6586 lines
129 KiB
CSS

/* patholo — Patent Knowledge for Hogan Lovells */
:root {
--color-bg: #fafafa;
--color-surface: #ffffff;
--color-text: #1a1a2e;
--color-text-muted: #64647a;
--color-accent: #65a30d; /* lime green */
--color-accent-light: #84cc16;
--color-border: #e5e5ed;
--color-hero-bg: #1a2e1a; /* dark forest */
--color-hero-text: #ffffff;
--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
--font-mono: "JetBrains Mono", "Fira Code", monospace;
--radius: 8px;
--shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
--max-width: 1080px;
--sidebar-collapsed: 64px;
--sidebar-expanded: 240px;
--bottom-nav-height: 56px;
}
*, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 16px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
font-family: var(--font-sans);
color: var(--color-text);
background: var(--color-bg);
line-height: 1.6;
min-height: 100vh;
display: flex;
flex-direction: column;
}
main {
flex: 1;
}
.container {
max-width: var(--max-width);
margin: 0 auto;
padding: 0 1.5rem;
}
/* --- Header --- */
.header {
background: var(--color-surface);
border-bottom: 1px solid var(--color-border);
position: sticky;
top: 0;
z-index: 10;
}
.nav {
display: flex;
align-items: center;
justify-content: space-between;
height: 3.5rem;
}
.logo {
display: flex;
align-items: baseline;
gap: 0.15rem;
text-decoration: none;
font-weight: 600;
font-size: 1.15rem;
letter-spacing: -0.02em;
color: var(--color-text);
}
.logo-mark {
font-family: var(--font-mono);
color: var(--color-accent);
font-weight: 700;
font-size: 1.3rem;
}
.nav-right {
display: flex;
align-items: center;
gap: 1.25rem;
}
.nav-logout {
font-size: 0.8rem;
color: var(--color-text-muted);
text-decoration: none;
}
.nav-logout:hover {
color: var(--color-accent);
}
.nav-lang {
font-size: 0.8rem;
letter-spacing: 0.05em;
color: var(--color-text-muted);
user-select: none;
}
.lang-btn {
background: none;
border: none;
font-family: inherit;
font-size: inherit;
letter-spacing: inherit;
cursor: pointer;
padding: 0;
color: inherit;
}
.lang-btn:hover {
color: var(--color-accent-light);
}
.lang-active {
color: var(--color-accent);
font-weight: 600;
cursor: default;
}
.lang-sep {
margin: 0 0.25rem;
}
.timeline-trigger-date {
font-weight: 400;
color: var(--color-text-muted);
font-size: 0.85rem;
}
/* --- Hero --- */
.hero {
background: var(--color-hero-bg);
color: var(--color-hero-text);
padding: 5rem 0 4.5rem;
}
.hero h1 {
font-size: 2.75rem;
font-weight: 700;
line-height: 1.15;
letter-spacing: -0.03em;
}
.hero-accent {
font-weight: 400;
opacity: 0.85;
}
.hero-sub {
margin-top: 1.25rem;
font-size: 1.1rem;
line-height: 1.7;
opacity: 0.9;
max-width: 560px;
}
/* --- Card Grid --- */
.sections {
padding: 4rem 0;
}
.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
}
.card {
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius);
padding: 2rem;
transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover {
box-shadow: var(--shadow-md);
border-color: var(--color-accent-light);
}
.card-icon {
width: 2.25rem;
height: 2.25rem;
color: var(--color-accent);
margin-bottom: 1rem;
}
.card-icon svg {
width: 100%;
height: 100%;
}
.card h2 {
font-size: 1.15rem;
font-weight: 600;
margin-bottom: 0.5rem;
letter-spacing: -0.01em;
}
.card p {
color: var(--color-text-muted);
font-size: 0.92rem;
line-height: 1.6;
}
.section-heading {
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--color-text-muted);
margin-bottom: 1rem;
}
.grid-2 {
grid-template-columns: repeat(2, 1fr);
}
.card-link {
text-decoration: none;
color: inherit;
display: block;
}
.card-link:hover {
border-color: var(--color-accent);
}
/* --- Offices --- */
.offices {
padding: 0 0 4rem;
}
.offices h3 {
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--color-text-muted);
margin-bottom: 1rem;
}
.office-list {
display: flex;
gap: 2rem;
flex-wrap: wrap;
}
.office-list span {
font-size: 1rem;
font-weight: 500;
color: var(--color-text);
position: relative;
padding-left: 0.85rem;
}
.office-list span::before {
content: "";
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 5px;
height: 5px;
border-radius: 50%;
background: var(--color-accent);
}
/* --- Footer --- */
.footer {
border-top: 1px solid var(--color-border);
padding: 1.5rem 0;
margin-top: auto;
}
.footer p {
font-size: 0.8rem;
color: var(--color-text-muted);
text-align: center;
}
/* --- Login --- */
.login-main {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 3rem 1.5rem;
}
.login-card {
width: 100%;
max-width: 400px;
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius);
padding: 2.5rem;
box-shadow: var(--shadow-md);
}
.login-tabs {
display: flex;
margin-bottom: 1.75rem;
border-bottom: 1px solid var(--color-border);
}
.login-tab {
flex: 1;
padding: 0.6rem 0;
background: none;
border: none;
border-bottom: 2px solid transparent;
font-family: var(--font-sans);
font-size: 0.9rem;
font-weight: 500;
color: var(--color-text-muted);
cursor: pointer;
transition: color 0.15s ease, border-color 0.15s ease;
}
.login-tab:hover {
color: var(--color-text);
}
.login-tab.active {
color: var(--color-accent);
border-bottom-color: var(--color-accent);
}
.login-error {
background: #fef2f2;
color: #991b1b;
border: 1px solid #fecaca;
border-radius: var(--radius);
padding: 0.75rem 1rem;
font-size: 0.85rem;
margin-bottom: 1.25rem;
line-height: 1.5;
}
.login-success {
background: #f0fdf4;
color: #166534;
border: 1px solid #bbf7d0;
border-radius: var(--radius);
padding: 0.75rem 1rem;
font-size: 0.85rem;
margin-bottom: 1.25rem;
line-height: 1.5;
}
.login-form {
display: flex;
flex-direction: column;
}
.login-label {
font-size: 0.85rem;
font-weight: 500;
color: var(--color-text);
margin-bottom: 0.35rem;
margin-top: 0.75rem;
}
.login-label:first-child {
margin-top: 0;
}
.login-input {
font-family: var(--font-sans);
font-size: 0.92rem;
padding: 0.6rem 0.8rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
outline: none;
transition: border-color 0.15s ease, box-shadow 0.15s ease;
color: var(--color-text);
background: var(--color-bg);
}
.login-input:focus {
border-color: var(--color-accent);
box-shadow: 0 0 0 3px rgba(101, 163, 13, 0.15);
}
.login-input::placeholder {
color: var(--color-text-muted);
opacity: 0.6;
}
.login-button {
font-family: var(--font-sans);
font-size: 0.92rem;
font-weight: 600;
padding: 0.65rem 1rem;
margin-top: 1.25rem;
border: none;
border-radius: var(--radius);
background: var(--color-accent);
color: #ffffff;
cursor: pointer;
transition: background 0.15s ease;
}
.login-button:hover {
background: var(--color-accent-light);
}
.login-hint {
font-size: 0.78rem;
color: var(--color-text-muted);
text-align: center;
margin-top: 1.5rem;
}
/* --- Onboarding (first-login profile capture) --- */
.onboarding-card {
max-width: 460px;
}
.onboarding-heading {
font-size: 1.5rem;
font-weight: 600;
margin: 0 0 0.5rem;
color: var(--color-text);
}
.onboarding-lede {
font-size: 0.9rem;
color: var(--color-text-muted);
line-height: 1.5;
margin: 0 0 1.5rem;
}
.login-label-optional {
font-weight: 400;
color: var(--color-text-muted);
margin-left: 0.25rem;
}
/* --- Nav Links --- */
.nav-link {
font-size: 0.8rem;
color: var(--color-text-muted);
text-decoration: none;
transition: color 0.15s ease;
}
.nav-link:hover {
color: var(--color-accent);
}
/* --- Sidebar --- */
.sidebar {
position: fixed;
left: 0;
top: 0;
bottom: 0;
width: var(--sidebar-collapsed);
background: var(--color-surface);
border-right: 1px solid var(--color-border);
z-index: 40;
display: flex;
flex-direction: column;
overflow: hidden;
transition: width 150ms ease;
}
.sidebar.expanded,
.sidebar.pinned {
width: var(--sidebar-expanded);
}
.sidebar-header {
display: flex;
align-items: center;
height: 3.5rem;
border-bottom: 1px solid var(--color-border);
flex-shrink: 0;
overflow: hidden;
}
.sidebar-logo {
display: flex;
align-items: center;
text-decoration: none;
color: var(--color-text);
flex: 1;
min-width: 0;
height: 100%;
}
.sidebar-logo .logo-text {
font-weight: 600;
font-size: 1.15rem;
letter-spacing: -0.02em;
}
.sidebar-pin {
background: none;
border: none;
color: var(--color-text-muted);
cursor: pointer;
padding: 0.35rem;
margin-right: 0.75rem;
border-radius: 4px;
flex-shrink: 0;
opacity: 0;
pointer-events: none;
transition: opacity 150ms ease, color 150ms ease, background 150ms ease;
}
.sidebar.expanded .sidebar-pin,
.sidebar.pinned .sidebar-pin {
opacity: 1;
pointer-events: auto;
}
.sidebar-pin:hover {
color: var(--color-accent);
background: rgba(0, 0, 0, 0.04);
}
.sidebar-pin svg {
width: 16px;
height: 16px;
display: block;
}
.sidebar.pinned .sidebar-pin {
color: var(--color-accent);
}
.sidebar-nav {
display: flex;
flex-direction: column;
padding: 0.5rem 0;
flex: 1 1 auto;
overflow-x: hidden;
overflow-y: auto;
min-height: 0;
}
.sidebar-item {
display: flex;
align-items: center;
min-height: 2.5rem;
color: var(--color-text-muted);
text-decoration: none;
font-size: 0.85rem;
font-weight: 500;
position: relative;
transition: color 150ms ease, background 150ms ease;
border: none;
background: none;
cursor: pointer;
font-family: var(--font-sans);
width: 100%;
text-align: left;
padding: 0;
}
.sidebar-item:hover {
color: var(--color-text);
background: rgba(0, 0, 0, 0.03);
}
.sidebar-item.active {
color: var(--color-accent);
}
.sidebar-item.active::after {
content: "";
position: absolute;
left: 0;
top: 4px;
bottom: 4px;
width: 3px;
background: var(--color-accent);
border-radius: 0 2px 2px 0;
}
.sidebar-icon {
width: var(--sidebar-collapsed);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.sidebar-icon svg {
width: 20px;
height: 20px;
}
.sidebar-label {
opacity: 0;
white-space: nowrap;
transition: opacity 150ms ease;
overflow: hidden;
padding-right: 1rem;
}
.sidebar.expanded .sidebar-label,
.sidebar.pinned .sidebar-label {
opacity: 1;
}
.sidebar-spacer {
flex: 1;
}
.sidebar-bottom {
display: flex;
flex-direction: column;
padding: 0.5rem 0;
border-top: 1px solid var(--color-border);
flex-shrink: 0;
}
.sidebar-lang-item {
cursor: default;
}
.sidebar-lang-item:hover {
background: transparent;
color: var(--color-text-muted);
}
.sidebar-lang {
display: flex;
align-items: center;
}
.sidebar-hamburger {
display: none;
position: fixed;
bottom: 1.5rem;
left: 1.5rem;
z-index: 50;
width: 48px;
height: 48px;
border-radius: 50%;
border: none;
background: var(--color-accent);
color: #fff;
cursor: pointer;
align-items: center;
justify-content: center;
box-shadow: var(--shadow-md);
transition: background 150ms ease;
}
.sidebar-hamburger:hover {
background: var(--color-accent-light);
}
.sidebar-hamburger svg {
width: 22px;
height: 22px;
}
.sidebar-overlay {
display: none;
}
/* Layout: pages with sidebar */
.has-sidebar {
padding-left: var(--sidebar-collapsed);
transition: padding-left 150ms ease;
}
.has-sidebar.sidebar-pinned {
padding-left: var(--sidebar-expanded);
}
.has-sidebar .tool-results {
top: 1.5rem;
}
.no-scroll {
overflow: hidden;
}
/* --- Tool Pages --- */
.tool-page {
padding: 2rem 0 4rem;
}
.tool-header {
margin-bottom: 2rem;
}
.tool-header h1 {
font-size: 1.75rem;
font-weight: 700;
letter-spacing: -0.02em;
}
.tool-subtitle {
color: var(--color-text-muted);
font-size: 0.92rem;
margin-top: 0.5rem;
line-height: 1.6;
}
.tool-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
align-items: start;
}
.tool-input {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.tool-results {
position: sticky;
top: 4.5rem;
}
/* Input sections */
.input-section h3 {
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--color-text-muted);
margin-bottom: 0.75rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid var(--color-border);
}
.input-section select {
font-family: var(--font-sans);
font-size: 0.88rem;
padding: 0.45rem 0.7rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: var(--color-bg);
color: var(--color-text);
outline: none;
cursor: pointer;
}
.input-section select:focus {
border-color: var(--color-accent);
box-shadow: 0 0 0 3px rgba(101, 163, 13, 0.15);
}
/* Streitwert */
.streitwert-group {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.streitwert-input-row {
display: flex;
align-items: center;
gap: 0.5rem;
}
.streitwert-prefix {
font-size: 0.88rem;
font-weight: 500;
color: var(--color-text-muted);
}
.streitwert-field {
font-family: var(--font-mono);
font-size: 1.25rem;
font-weight: 600;
padding: 0.5rem 0.75rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: var(--color-surface);
color: var(--color-text);
outline: none;
width: 100%;
max-width: 240px;
}
.streitwert-field:focus {
border-color: var(--color-accent);
box-shadow: 0 0 0 3px rgba(101, 163, 13, 0.15);
}
input[type="range"] {
-webkit-appearance: none;
width: 100%;
height: 4px;
border-radius: 2px;
background: var(--color-border);
outline: none;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
width: 18px;
height: 18px;
border-radius: 50%;
background: var(--color-accent);
cursor: pointer;
border: 2px solid var(--color-surface);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
input[type="range"]::-moz-range-thumb {
width: 18px;
height: 18px;
border-radius: 50%;
background: var(--color-accent);
cursor: pointer;
border: 2px solid var(--color-surface);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.streitwert-presets {
display: flex;
gap: 0.4rem;
flex-wrap: wrap;
}
.streitwert-presets button {
font-family: var(--font-mono);
font-size: 0.75rem;
font-weight: 500;
padding: 0.3rem 0.6rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: var(--color-surface);
color: var(--color-text-muted);
cursor: pointer;
transition: all 0.15s ease;
}
.streitwert-presets button:hover {
border-color: var(--color-accent);
color: var(--color-accent);
}
.streitwert-presets button.active {
background: var(--color-accent);
border-color: var(--color-accent);
color: #fff;
}
/* Instance cards */
.instance-card {
border: 1px solid var(--color-border);
border-radius: var(--radius);
margin-bottom: 0.5rem;
transition: border-color 0.15s ease;
}
.instance-card.enabled {
border-color: var(--color-accent-light);
}
.instance-header {
display: flex;
align-items: center;
gap: 0.6rem;
padding: 0.65rem 0.85rem;
cursor: pointer;
}
.instance-header input[type="checkbox"] {
accent-color: var(--color-accent);
width: 16px;
height: 16px;
cursor: pointer;
}
.instance-header label {
flex: 1;
font-size: 0.88rem;
cursor: pointer;
display: flex;
align-items: baseline;
gap: 0.5rem;
}
.instance-header label strong {
font-weight: 500;
}
.instance-toggle {
background: none;
border: none;
color: var(--color-text-muted);
font-size: 0.75rem;
cursor: pointer;
padding: 0.2rem;
}
.instance-details {
padding: 0.75rem 0.85rem;
border-top: 1px solid var(--color-border);
background: var(--color-bg);
}
.instance-fields {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.field-row {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.85rem;
}
.field-row label {
display: flex;
align-items: center;
gap: 0.4rem;
color: var(--color-text);
}
.field-row select {
font-size: 0.82rem;
padding: 0.3rem 0.5rem;
}
.field-row input[type="checkbox"] {
accent-color: var(--color-accent);
}
/* Results panel */
.result-card {
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius);
padding: 1.5rem;
box-shadow: var(--shadow);
}
.result-total-section {
text-align: center;
padding-bottom: 1.25rem;
margin-bottom: 1.25rem;
border-bottom: 2px solid var(--color-accent);
}
.result-total-label {
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--color-text-muted);
margin-bottom: 0.25rem;
}
.result-total {
font-family: var(--font-mono);
font-size: 1.6rem;
font-weight: 700;
color: var(--color-accent);
}
.result-empty {
text-align: center;
color: var(--color-text-muted);
font-size: 0.88rem;
padding: 2rem 0;
}
.result-summary {
padding-bottom: 1rem;
margin-bottom: 1rem;
border-bottom: 1px solid var(--color-border);
}
.result-summary-row {
display: flex;
justify-content: space-between;
font-size: 0.85rem;
padding: 0.2rem 0;
color: var(--color-text-muted);
}
.result-section {
padding: 0.85rem 0;
border-bottom: 1px solid var(--color-border);
}
.result-section:last-child {
border-bottom: none;
}
.result-section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.5rem;
}
.result-section-label {
font-size: 0.88rem;
font-weight: 600;
}
.result-section-total {
font-family: var(--font-mono);
font-size: 0.92rem;
font-weight: 600;
color: var(--color-accent);
}
.result-detail-row {
display: flex;
justify-content: space-between;
font-size: 0.82rem;
padding: 0.15rem 0;
color: var(--color-text-muted);
}
.result-detail-sum {
font-weight: 600;
color: var(--color-text);
padding-top: 0.25rem;
border-top: 1px dotted var(--color-border);
margin-top: 0.15rem;
}
.result-attorney-detail {
margin: 0.4rem 0;
padding-left: 0.5rem;
border-left: 2px solid var(--color-border);
}
.result-detail-label {
font-size: 0.8rem;
font-weight: 500;
color: var(--color-text);
margin-bottom: 0.15rem;
}
.result-detail-note {
font-size: 0.78rem;
color: var(--color-text-muted);
font-style: italic;
margin-top: 0.25rem;
}
/* Result action buttons */
.result-actions {
display: flex;
gap: 0.5rem;
margin-top: 1rem;
}
.result-action-btn {
font-family: var(--font-sans);
font-size: 0.82rem;
font-weight: 500;
padding: 0.5rem 1rem;
flex: 1;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: var(--color-surface);
color: var(--color-text-muted);
cursor: pointer;
transition: all 0.15s ease;
text-align: center;
}
.result-action-btn:hover {
border-color: var(--color-accent);
color: var(--color-accent);
}
.result-action-btn--accent {
background: var(--color-accent);
border-color: var(--color-accent);
color: #fff;
}
.result-action-btn--accent:hover {
background: var(--color-accent-light);
border-color: var(--color-accent-light);
color: #fff;
}
.result-action-btn.copied {
background: var(--color-accent);
border-color: var(--color-accent);
color: #fff;
}
/* Scenario comparison */
.comparison-container {
margin-top: 2rem;
}
.comparison-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 1.5rem;
}
.comparison-header h2 {
font-size: 1.25rem;
font-weight: 700;
}
.comparison-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
align-items: start;
}
.comparison-col-title {
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--color-text-muted);
margin-bottom: 0.75rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid var(--color-border);
}
.comparison-diff {
margin-top: 1.5rem;
}
.comparison-diff-card {
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius);
padding: 1.25rem;
text-align: center;
}
.comparison-diff-card.diff-decrease {
border-color: var(--color-accent);
background: rgba(101, 163, 13, 0.04);
}
.comparison-diff-card.diff-increase {
border-color: #e53e3e;
background: rgba(229, 62, 62, 0.04);
}
.comparison-diff-label {
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--color-text-muted);
margin-bottom: 0.25rem;
}
.comparison-diff-value {
font-family: var(--font-mono);
font-size: 1.4rem;
font-weight: 700;
}
.diff-decrease .comparison-diff-value {
color: var(--color-accent);
}
.diff-increase .comparison-diff-value {
color: #e53e3e;
}
.diff-neutral .comparison-diff-value {
color: var(--color-text-muted);
}
.comparison-diff-pct {
font-family: var(--font-mono);
font-size: 0.88rem;
color: var(--color-text-muted);
margin-bottom: 0.75rem;
}
.comparison-diff-detail {
padding-top: 0.75rem;
border-top: 1px solid var(--color-border);
text-align: left;
}
/* Print header/footer (hidden on screen) */
.print-header,
.print-footer {
display: none;
}
/* --- Fristenrechner --- */
.fristen-wizard {
max-width: 720px;
}
.wizard-step {
margin-bottom: 2rem;
}
.wizard-step-label {
font-size: 0.92rem;
font-weight: 600;
margin-bottom: 1rem;
display: flex;
align-items: center;
gap: 0.6rem;
}
.step-number {
display: inline-flex;
align-items: center;
justify-content: center;
width: 1.5rem;
height: 1.5rem;
border-radius: 50%;
background: var(--color-accent);
color: #fff;
font-size: 0.75rem;
font-weight: 700;
flex-shrink: 0;
}
.proceeding-group {
margin-bottom: 1.25rem;
}
.proceeding-group h4 {
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--color-text-muted);
margin-bottom: 0.5rem;
}
.proceeding-btns {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.proceeding-btn {
font-family: var(--font-sans);
font-size: 0.85rem;
padding: 0.6rem 1rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: var(--color-surface);
color: var(--color-text);
cursor: pointer;
transition: all 0.15s ease;
text-align: left;
display: flex;
flex-direction: column;
gap: 0.1rem;
}
.proceeding-btn:hover {
border-color: var(--color-accent);
box-shadow: var(--shadow);
}
.proceeding-btn.active {
border-color: var(--color-accent);
background: rgba(101, 163, 13, 0.06);
box-shadow: 0 0 0 3px rgba(101, 163, 13, 0.15);
}
.proceeding-btn strong {
font-weight: 500;
}
/* Date input */
.date-input-group {
display: flex;
flex-direction: column;
gap: 0.75rem;
max-width: 400px;
}
.date-field-row {
display: flex;
align-items: center;
gap: 0.75rem;
}
.date-label {
font-size: 0.85rem;
font-weight: 500;
color: var(--color-text);
min-width: 160px;
}
.trigger-event-name {
font-size: 0.88rem;
font-weight: 600;
color: var(--color-accent);
}
.date-input {
font-family: var(--font-sans);
font-size: 0.92rem;
padding: 0.5rem 0.7rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: var(--color-surface);
color: var(--color-text);
outline: none;
}
.date-input:focus {
border-color: var(--color-accent);
box-shadow: 0 0 0 3px rgba(101, 163, 13, 0.15);
}
.calculate-btn {
font-family: var(--font-sans);
font-size: 0.88rem;
font-weight: 600;
padding: 0.6rem 1.25rem;
border: none;
border-radius: var(--radius);
background: var(--color-accent);
color: #fff;
cursor: pointer;
transition: background 0.15s ease;
align-self: flex-start;
}
.calculate-btn:hover {
background: var(--color-accent-light);
}
.reset-btn {
font-family: var(--font-sans);
font-size: 0.82rem;
font-weight: 500;
padding: 0.5rem 1rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: var(--color-surface);
color: var(--color-text-muted);
cursor: pointer;
transition: all 0.15s ease;
}
.reset-btn:hover {
border-color: var(--color-accent);
color: var(--color-accent);
}
/* Timeline */
.timeline-header {
margin-bottom: 1.25rem;
padding-bottom: 0.75rem;
border-bottom: 2px solid var(--color-accent);
}
.timeline-header strong {
font-size: 1rem;
}
.timeline {
position: relative;
}
.timeline-item {
display: flex;
gap: 0.75rem;
min-height: 4rem;
}
.timeline-item:last-child .timeline-line {
display: none;
}
.timeline-dot-col {
display: flex;
flex-direction: column;
align-items: center;
width: 14px;
flex-shrink: 0;
}
.timeline-dot {
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--color-accent);
border: 2px solid var(--color-surface);
box-shadow: 0 0 0 2px var(--color-accent);
flex-shrink: 0;
margin-top: 0.35rem;
}
.dot-root {
width: 14px;
height: 14px;
margin-top: 0.2rem;
}
.timeline-line {
width: 2px;
flex: 1;
background: var(--color-border);
margin: 0.25rem 0;
}
.timeline-content {
flex: 1;
padding-bottom: 1rem;
}
.timeline-item-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 1rem;
}
.timeline-name {
font-size: 0.88rem;
font-weight: 500;
}
.timeline-date {
font-family: var(--font-mono);
font-size: 0.85rem;
font-weight: 600;
color: var(--color-text);
white-space: nowrap;
}
.timeline-court-set {
font-size: 0.82rem;
color: var(--color-text-muted);
font-style: italic;
text-align: right;
}
.timeline-meta {
display: flex;
align-items: center;
gap: 0.5rem;
margin-top: 0.25rem;
}
.party-badge {
font-size: 0.7rem;
font-weight: 500;
padding: 0.1rem 0.45rem;
border-radius: 99px;
}
.party-claimant {
background: #dbeafe;
color: #1e40af;
}
.party-defendant {
background: #fef3c7;
color: #92400e;
}
.party-court {
background: #f3e8ff;
color: #6b21a8;
}
.party-both {
background: #e5e7eb;
color: #374151;
}
.optional-badge {
font-size: 0.68rem;
font-weight: 500;
padding: 0.05rem 0.4rem;
border-radius: 99px;
background: #fef3c7;
color: #92400e;
}
.timeline-rule {
font-family: var(--font-mono);
font-size: 0.72rem;
color: var(--color-text-muted);
}
.timeline-adjusted {
font-size: 0.78rem;
color: #d97706;
margin-top: 0.2rem;
}
.timeline-notes {
font-size: 0.78rem;
color: var(--color-text-muted);
font-style: italic;
margin-top: 0.15rem;
}
/* --- Responsive: Sidebar --- */
@media (max-width: 1023px) {
.sidebar {
width: var(--sidebar-expanded);
transform: translateX(-100%);
transition: transform 150ms ease;
}
.sidebar.mobile-open {
transform: translateX(0);
}
.sidebar .sidebar-label {
opacity: 1;
}
.sidebar .sidebar-pin {
display: none;
}
.sidebar-hamburger {
display: flex;
}
.sidebar-overlay {
display: block;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.4);
z-index: 35;
opacity: 0;
pointer-events: none;
transition: opacity 150ms ease;
}
.sidebar-overlay.visible {
opacity: 1;
pointer-events: auto;
}
.has-sidebar,
.has-sidebar.sidebar-pinned {
padding-left: 0;
}
}
/* --- Glossar --- */
.glossar-header-row {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 1rem;
}
.btn-suggest {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.55rem 1.1rem;
font-size: 0.85rem;
font-weight: 600;
color: #fff;
background: var(--color-accent);
border: none;
border-radius: var(--radius);
cursor: pointer;
white-space: nowrap;
transition: background 0.15s ease;
flex-shrink: 0;
margin-top: 0.25rem;
}
.btn-suggest:hover {
background: var(--color-accent-light);
}
.btn-suggest-icon {
font-size: 1.1rem;
font-weight: 700;
line-height: 1;
}
.glossar-controls {
margin-bottom: 1.5rem;
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.glossar-search-wrap {
position: relative;
display: flex;
align-items: center;
}
.glossar-search-icon {
position: absolute;
left: 0.75rem;
width: 1.1rem;
height: 1.1rem;
color: var(--color-text-muted);
pointer-events: none;
}
.glossar-search {
width: 100%;
padding: 0.65rem 0.75rem 0.65rem 2.5rem;
font-size: 0.92rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: var(--color-surface);
color: var(--color-text);
font-family: var(--font-sans);
outline: none;
transition: border-color 0.15s ease;
}
.glossar-search:focus {
border-color: var(--color-accent);
}
.glossar-count {
position: absolute;
right: 0.75rem;
font-size: 0.78rem;
color: var(--color-text-muted);
}
.glossar-filters {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
}
.filter-pill {
padding: 0.35rem 0.85rem;
font-size: 0.8rem;
font-weight: 500;
border: 1px solid var(--color-border);
border-radius: 99px;
background: var(--color-surface);
color: var(--color-text-muted);
cursor: pointer;
transition: all 0.15s ease;
font-family: var(--font-sans);
}
.filter-pill:hover {
border-color: var(--color-accent);
color: var(--color-accent);
}
.filter-pill.active {
background: var(--color-accent);
border-color: var(--color-accent);
color: #fff;
}
.glossar-table-wrap {
overflow-x: auto;
}
.glossar-table {
width: 100%;
border-collapse: collapse;
font-size: 0.88rem;
}
.glossar-table thead th {
text-align: left;
padding: 0.7rem 0.75rem;
font-size: 0.78rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--color-text-muted);
border-bottom: 2px solid var(--color-border);
white-space: nowrap;
}
.glossar-table tbody tr {
border-bottom: 1px solid var(--color-border);
transition: background 0.1s ease;
}
.glossar-table tbody tr:hover {
background: rgba(101, 163, 13, 0.04);
}
.glossar-table td {
padding: 0.65rem 0.75rem;
vertical-align: top;
}
.glossar-de {
font-weight: 600;
color: var(--color-text);
white-space: nowrap;
}
.glossar-en {
color: var(--color-text);
}
.glossar-def {
color: var(--color-text-muted);
font-size: 0.84rem;
line-height: 1.5;
max-width: 380px;
}
.glossar-no-def {
color: var(--color-border);
}
.glossar-col-actions {
width: 2.5rem;
}
.glossar-actions {
text-align: center;
}
.glossar-feedback-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 1.75rem;
height: 1.75rem;
border: none;
background: none;
color: var(--color-text-muted);
cursor: pointer;
border-radius: 4px;
transition: all 0.15s ease;
opacity: 0.4;
}
.glossar-table tbody tr:hover .glossar-feedback-btn {
opacity: 1;
}
.glossar-feedback-btn:hover {
background: rgba(101, 163, 13, 0.1);
color: var(--color-accent);
opacity: 1;
}
.glossar-empty {
text-align: center;
padding: 3rem 1rem;
color: var(--color-text-muted);
font-size: 0.95rem;
}
/* --- Modal --- */
.modal-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.4);
display: flex;
align-items: center;
justify-content: center;
z-index: 100;
padding: 1rem;
}
.modal-card {
background: var(--color-surface);
border-radius: calc(var(--radius) * 1.5);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
width: 100%;
max-width: 480px;
max-height: 90vh;
overflow-y: auto;
padding: 1.5rem;
}
.modal-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 0 0.75rem;
}
.modal-header h2 {
font-size: 1.15rem;
font-weight: 700;
}
.modal-close {
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
color: var(--color-text-muted);
line-height: 1;
padding: 0.25rem;
}
.modal-close:hover {
color: var(--color-text);
}
#suggest-form {
padding: 1.25rem 1.5rem 1.5rem;
}
.form-field {
margin-bottom: 1rem;
}
.form-field label {
display: block;
font-size: 0.82rem;
font-weight: 600;
margin-bottom: 0.3rem;
color: var(--color-text);
}
.form-field input,
.form-field textarea,
.form-field select {
width: 100%;
padding: 0.55rem 0.75rem;
font-size: 0.88rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: var(--color-bg);
color: var(--color-text);
font-family: var(--font-sans);
outline: none;
transition: border-color 0.15s ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
border-color: var(--color-accent);
}
.form-actions {
display: flex;
justify-content: flex-end;
gap: 0.5rem;
margin-top: 1.25rem;
}
.btn-cancel {
padding: 0.5rem 1rem;
font-size: 0.85rem;
font-weight: 500;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: var(--color-surface);
color: var(--color-text-muted);
cursor: pointer;
font-family: var(--font-sans);
transition: border-color 0.15s ease;
}
.btn-cancel:hover {
border-color: var(--color-text-muted);
}
.btn-submit {
padding: 0.5rem 1.25rem;
font-size: 0.85rem;
font-weight: 600;
border: none;
border-radius: var(--radius);
background: var(--color-accent);
color: #fff;
cursor: pointer;
font-family: var(--font-sans);
transition: background 0.15s ease;
}
.btn-submit:hover {
background: var(--color-accent-light);
}
.btn-submit:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.form-msg {
margin-top: 0.75rem;
font-size: 0.82rem;
min-height: 1.25rem;
}
.form-msg-error {
color: #dc2626;
}
.form-msg-success {
color: var(--color-accent);
}
/* --- Responsive: General --- */
/* --- Downloads --- */
.downloads-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
gap: 1.25rem;
}
.download-card {
display: flex;
align-items: center;
gap: 1.25rem;
padding: 1.5rem;
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius);
text-decoration: none;
color: inherit;
transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.download-card:hover {
box-shadow: var(--shadow-md);
border-color: var(--color-accent);
}
.download-card:hover .download-btn {
background: var(--color-accent);
color: #fff;
}
.download-icon {
flex-shrink: 0;
width: 2.5rem;
height: 2.5rem;
color: var(--color-accent);
}
.download-icon svg {
width: 100%;
height: 100%;
}
.download-info {
flex: 1;
min-width: 0;
}
.download-info h2 {
font-size: 1.05rem;
font-weight: 600;
margin-bottom: 0.25rem;
letter-spacing: -0.01em;
}
.download-info p {
color: var(--color-text-muted);
font-size: 0.85rem;
line-height: 1.5;
}
.download-action {
flex-shrink: 0;
}
.download-btn {
display: inline-block;
padding: 0.5rem 1rem;
font-size: 0.82rem;
font-weight: 600;
color: var(--color-accent);
border: 1.5px solid var(--color-accent);
border-radius: var(--radius);
transition: background 0.15s ease, color 0.15s ease;
white-space: nowrap;
}
@media (max-width: 768px) {
.hero {
padding: 3.5rem 0 3rem;
}
.hero h1 {
font-size: 2rem;
}
.grid, .grid-2 {
grid-template-columns: 1fr;
gap: 1rem;
}
.office-list {
gap: 1.25rem;
}
.tool-grid {
grid-template-columns: 1fr;
}
.tool-results {
position: static;
}
.nav-right {
gap: 0.75rem;
}
.proceeding-btns {
flex-direction: column;
}
.date-field-row {
flex-direction: column;
align-items: flex-start;
gap: 0.3rem;
}
.timeline-item-header {
flex-direction: column;
gap: 0.25rem;
}
.glossar-header-row {
flex-direction: column;
}
.glossar-de {
white-space: normal;
}
.glossar-def {
max-width: none;
}
.glossar-table {
font-size: 0.82rem;
}
.glossar-table td,
.glossar-table thead th {
padding: 0.5rem;
}
.download-card {
flex-direction: column;
text-align: center;
gap: 0.75rem;
}
.downloads-grid {
grid-template-columns: 1fr;
}
.links-header-row {
flex-direction: column;
gap: 1rem;
}
.links-header-actions {
align-self: flex-start;
}
.links-category-grid {
grid-template-columns: 1fr;
}
.comparison-grid {
grid-template-columns: 1fr;
}
.result-actions {
flex-direction: column;
}
}
/* --- Links --- */
.links-header-row {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 1.5rem;
}
.links-header-actions {
display: flex;
align-items: center;
gap: 0.75rem;
flex-shrink: 0;
padding-top: 0.25rem;
}
.links-pending-badge {
font-size: 0.78rem;
color: var(--color-accent);
background: rgba(101, 163, 13, 0.1);
padding: 0.25rem 0.65rem;
border-radius: 999px;
font-weight: 600;
white-space: nowrap;
}
.links-suggest-btn {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.5rem 1rem;
font-size: 0.85rem;
font-weight: 600;
color: #fff;
background: var(--color-accent);
border: none;
border-radius: var(--radius);
cursor: pointer;
transition: background 0.15s ease;
white-space: nowrap;
}
.links-suggest-btn:hover {
background: var(--color-accent-light);
}
.links-filters {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-bottom: 2rem;
}
.links-filter-btn {
padding: 0.4rem 1rem;
font-size: 0.85rem;
font-weight: 500;
color: var(--color-text-muted);
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: 999px;
cursor: pointer;
transition: all 0.15s ease;
}
.links-filter-btn:hover {
border-color: var(--color-accent);
color: var(--color-accent);
}
.links-filter-btn.active {
background: var(--color-accent);
color: #fff;
border-color: var(--color-accent);
}
.links-category-heading {
font-size: 1.15rem;
font-weight: 700;
letter-spacing: -0.01em;
margin: 2rem 0 0.75rem;
color: var(--color-text);
}
.links-category-heading:first-child {
margin-top: 0;
}
.links-category-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 1rem;
margin-bottom: 0.5rem;
}
.link-card {
display: flex;
align-items: stretch;
padding: 1.25rem;
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius);
text-decoration: none;
color: inherit;
transition: box-shadow 0.15s ease, border-color 0.15s ease;
position: relative;
}
.link-card:hover {
box-shadow: var(--shadow-md);
border-color: var(--color-accent);
}
.link-card-placeholder {
opacity: 0.55;
pointer-events: auto;
}
.link-card-body {
flex: 1;
min-width: 0;
}
.link-card-title {
display: flex;
align-items: center;
gap: 0.4rem;
font-size: 0.95rem;
font-weight: 600;
letter-spacing: -0.01em;
margin-bottom: 0.3rem;
}
.link-card-external {
flex-shrink: 0;
color: var(--color-text-muted);
opacity: 0.6;
}
.link-card:hover .link-card-external {
color: var(--color-accent);
opacity: 1;
}
.link-card-desc {
color: var(--color-text-muted);
font-size: 0.82rem;
line-height: 1.5;
}
.link-card-feedback {
flex-shrink: 0;
display: flex;
align-items: flex-start;
padding: 0.25rem;
margin-left: 0.5rem;
background: none;
border: none;
color: var(--color-text-muted);
cursor: pointer;
opacity: 0;
transition: opacity 0.15s ease, color 0.15s ease;
}
.link-card:hover .link-card-feedback {
opacity: 0.5;
}
.link-card-feedback:hover {
opacity: 1 !important;
color: var(--color-accent);
}
.links-empty {
color: var(--color-text-muted);
font-size: 0.9rem;
padding: 2rem 0;
}
/* --- Modals --- */
.modal-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.4);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
padding: 1rem;
}
.modal-content {
background: var(--color-surface);
border-radius: calc(var(--radius) * 1.5);
padding: 2rem;
width: 100%;
max-width: 480px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.modal-content-sm {
max-width: 380px;
}
.modal-content h2 {
font-size: 1.2rem;
font-weight: 700;
margin-bottom: 1.25rem;
}
.form-field {
margin-bottom: 1rem;
}
.form-field label {
display: block;
font-size: 0.82rem;
font-weight: 600;
color: var(--color-text-muted);
margin-bottom: 0.3rem;
}
.form-field input,
.form-field select,
.form-field textarea {
width: 100%;
padding: 0.55rem 0.75rem;
font-size: 0.9rem;
font-family: var(--font-sans);
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: var(--color-bg);
color: var(--color-text);
transition: border-color 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
outline: none;
border-color: var(--color-accent);
}
.form-field textarea {
resize: vertical;
}
.form-actions {
display: flex;
justify-content: flex-end;
gap: 0.75rem;
margin-top: 1.25rem;
}
.btn-primary {
padding: 0.5rem 1.25rem;
font-size: 0.85rem;
font-weight: 600;
color: #fff;
background: var(--color-accent);
border: none;
border-radius: var(--radius);
cursor: pointer;
transition: background 0.15s ease;
}
.btn-primary:hover {
background: var(--color-accent-light);
}
.btn-secondary {
padding: 0.5rem 1.25rem;
font-size: 0.85rem;
font-weight: 600;
color: var(--color-text-muted);
background: none;
border: 1px solid var(--color-border);
border-radius: var(--radius);
cursor: pointer;
transition: border-color 0.15s ease;
}
.btn-secondary:hover {
border-color: var(--color-text-muted);
}
.form-message {
font-size: 0.82rem;
margin-top: 0.75rem;
min-height: 1.2em;
}
.form-message-success {
color: var(--color-accent);
}
.form-message-error {
color: #dc2626;
}
/* --- Print --- */
@media print {
.header, .footer, .sidebar, .sidebar-hamburger, .sidebar-overlay,
.tool-input, .result-actions, .reset-btn, #step-1, #step-2,
.calculate-btn, .modal-overlay, .glossar-feedback-btn, .btn-suggest,
.comparison-header button, .comparison-container {
display: none !important;
}
.print-header, .print-footer {
display: block !important;
}
.print-header {
padding: 1.5rem 0 1rem;
border-bottom: 2px solid #65a30d;
margin-bottom: 1.5rem;
}
.print-header-brand {
font-size: 1.2rem;
color: #1a1a2e;
}
.print-header-brand strong {
color: #65a30d;
font-size: 1.4rem;
}
.print-header-meta {
margin-top: 0.75rem;
font-size: 0.85rem;
color: #64647a;
display: flex;
flex-wrap: wrap;
gap: 0.5rem 1.5rem;
}
.print-footer {
margin-top: 2rem;
padding-top: 1rem;
border-top: 1px solid #e5e5ed;
font-size: 0.75rem;
color: #64647a;
display: flex;
justify-content: space-between;
}
.has-sidebar {
padding-left: 0 !important;
}
.tool-grid {
grid-template-columns: 1fr;
}
.tool-results {
position: static;
}
.tool-header {
display: none;
}
.result-card {
box-shadow: none;
border: none;
padding: 0;
}
body {
font-size: 11pt;
color: #000;
}
@page {
margin: 2cm;
size: A4;
}
}
/* --- Geb\u00fchrentabellen --- */
.gebuehren-header-row {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 1rem;
flex-wrap: wrap;
}
.gebuehren-lookup {
margin-bottom: 1.5rem;
}
.gebuehren-lookup label {
display: block;
font-weight: 500;
margin-bottom: 0.375rem;
font-size: 0.875rem;
color: var(--color-text-muted);
}
.gebuehren-lookup-row {
display: flex;
align-items: center;
gap: 0.5rem;
max-width: 480px;
}
.gebuehren-currency {
color: var(--color-text-muted);
font-weight: 500;
font-size: 0.875rem;
}
.gebuehren-input {
flex: 1;
padding: 0.5rem 0.75rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
font-family: var(--font-mono);
font-size: 0.9rem;
background: var(--color-surface);
transition: border-color 0.15s;
}
.gebuehren-input:focus {
outline: none;
border-color: var(--color-accent);
box-shadow: 0 0 0 3px rgba(101, 163, 13, 0.15);
}
.btn-lookup {
padding: 0.5rem 1rem;
background: var(--color-accent);
color: #fff;
border: none;
border-radius: var(--radius);
font-weight: 500;
font-size: 0.875rem;
cursor: pointer;
white-space: nowrap;
transition: background 0.15s;
}
.btn-lookup:hover {
background: var(--color-accent-light);
}
/* Lookup result cards */
.gebuehren-lookup-result {
margin-bottom: 1.5rem;
}
.gebuehren-lookup-cards {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
.gebuehren-lookup-card {
background: var(--color-surface);
border: 1px solid var(--color-accent);
border-radius: var(--radius);
padding: 0.75rem 1.25rem;
display: flex;
flex-direction: column;
gap: 0.25rem;
min-width: 160px;
}
.gebuehren-lookup-label {
font-size: 0.75rem;
color: var(--color-text-muted);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.gebuehren-lookup-value {
font-family: var(--font-mono);
font-weight: 600;
font-size: 1.05rem;
color: var(--color-accent);
}
/* Tabs */
.gebuehren-tabs {
display: flex;
gap: 0;
border-bottom: 2px solid var(--color-border);
margin-bottom: 1.5rem;
overflow-x: auto;
}
.gebuehren-tab {
padding: 0.625rem 1.25rem;
background: none;
border: none;
font-family: var(--font-sans);
font-size: 0.9rem;
font-weight: 500;
color: var(--color-text-muted);
cursor: pointer;
border-bottom: 2px solid transparent;
margin-bottom: -2px;
transition: color 0.15s, border-color 0.15s;
white-space: nowrap;
}
.gebuehren-tab:hover {
color: var(--color-text);
}
.gebuehren-tab.active {
color: var(--color-accent);
border-bottom-color: var(--color-accent);
}
/* Panels */
.gebuehren-panel {
min-height: 200px;
}
.gebuehren-versions {
display: flex;
gap: 0.5rem;
margin-bottom: 1rem;
flex-wrap: wrap;
}
.gebuehren-section-title {
font-size: 0.95rem;
font-weight: 600;
margin: 1.5rem 0 0.75rem;
color: var(--color-text);
}
.gebuehren-section-title:first-child {
margin-top: 0;
}
/* Fee tables */
.gebuehren-table-wrap {
border: 1px solid var(--color-border);
border-radius: var(--radius);
overflow: auto;
max-height: 520px;
}
.gebuehren-table-wrap-short {
max-height: none;
}
.gebuehren-table {
width: 100%;
border-collapse: collapse;
font-size: 0.85rem;
}
.gebuehren-table th,
.gebuehren-table td {
padding: 0.5rem 0.875rem;
text-align: right;
border-bottom: 1px solid var(--color-border);
white-space: nowrap;
}
.gebuehren-table th {
background: var(--color-bg);
font-weight: 600;
position: sticky;
top: 0;
z-index: 1;
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.03em;
color: var(--color-text-muted);
}
.gebuehren-table th:first-child,
.gebuehren-table td:first-child {
text-align: left;
}
.gebuehren-table tbody tr:hover {
background: rgba(101, 163, 13, 0.04);
}
.gebuehren-table tbody tr.highlight {
background: rgba(101, 163, 13, 0.12);
font-weight: 600;
}
.gebuehren-table tbody tr.highlight td {
border-bottom-color: var(--color-accent);
}
.gebuehren-table-compact th,
.gebuehren-table-compact td {
padding: 0.375rem 0.625rem;
font-size: 0.8rem;
}
/* UPC summary cards */
.gebuehren-upc-cards {
display: flex;
gap: 1rem;
margin-bottom: 1.5rem;
flex-wrap: wrap;
}
.gebuehren-upc-card {
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius);
padding: 0.75rem 1.25rem;
min-width: 160px;
flex: 1;
}
.gebuehren-upc-card-label {
font-size: 0.75rem;
color: var(--color-text-muted);
margin-bottom: 0.25rem;
}
.gebuehren-upc-card-value {
font-family: var(--font-mono);
font-weight: 600;
font-size: 1.1rem;
color: var(--color-text);
}
/* Multipliers section */
.gebuehren-multipliers {
margin-top: 2rem;
padding-top: 1.5rem;
border-top: 1px solid var(--color-border);
}
.gebuehren-multipliers h3 {
font-size: 1rem;
margin-bottom: 0.25rem;
}
.gebuehren-multipliers-desc {
font-size: 0.825rem;
color: var(--color-text-muted);
margin-bottom: 1rem;
}
.text-muted {
color: var(--color-text-muted);
}
/* Responsive */
@media (max-width: 640px) {
.gebuehren-lookup-row {
flex-wrap: wrap;
max-width: 100%;
}
.gebuehren-input {
min-width: 0;
}
.gebuehren-lookup-cards {
flex-direction: column;
}
.gebuehren-upc-cards {
flex-direction: column;
}
.gebuehren-tab {
padding: 0.5rem 0.75rem;
font-size: 0.8rem;
}
.gebuehren-table th,
.gebuehren-table td {
padding: 0.375rem 0.5rem;
font-size: 0.8rem;
}
}
@media print {
.gebuehren-lookup,
.gebuehren-tabs,
.gebuehren-versions,
.btn-suggest,
.gebuehren-lookup-result,
.modal-overlay {
display: none !important;
}
.gebuehren-panel {
display: block !important;
}
.gebuehren-table-wrap {
max-height: none;
overflow: visible;
border: 1px solid #ccc;
}
}
/* --- Checklisten --- */
.checklist-filters {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
margin-bottom: 1.5rem;
}
.checklist-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 1rem;
}
.checklist-card {
display: flex;
flex-direction: column;
gap: 0.6rem;
padding: 1.1rem 1.2rem 1.2rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: var(--color-surface);
text-decoration: none;
color: var(--color-text);
transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.checklist-card:hover {
border-color: var(--color-accent);
transform: translateY(-1px);
box-shadow: var(--shadow-md);
}
.checklist-card-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
}
.checklist-card-count {
font-size: 0.78rem;
color: var(--color-text-muted);
}
.checklist-card-title {
font-size: 1.05rem;
font-weight: 600;
line-height: 1.3;
margin: 0;
}
.checklist-card-desc {
color: var(--color-text-muted);
font-size: 0.88rem;
line-height: 1.5;
margin: 0;
}
.checklist-card-court {
font-size: 0.78rem;
color: var(--color-text-muted);
margin: 0;
font-style: italic;
}
.checklist-card-progress {
display: flex;
align-items: center;
gap: 0.6rem;
margin-top: 0.2rem;
}
.checklist-regime {
display: inline-block;
padding: 0.15rem 0.55rem;
border-radius: 99px;
font-size: 0.72rem;
font-weight: 600;
letter-spacing: 0.04em;
background: rgba(101, 163, 13, 0.12);
color: var(--color-accent);
}
.checklist-regime-UPC {
background: rgba(101, 163, 13, 0.12);
color: var(--color-accent);
}
.checklist-regime-DE {
background: rgba(26, 54, 93, 0.08);
color: #1b365d;
}
.checklist-regime-EPA {
background: rgba(100, 100, 122, 0.12);
color: var(--color-text-muted);
}
.checklist-empty {
color: var(--color-text-muted);
text-align: center;
padding: 2rem 1rem;
grid-column: 1 / -1;
}
/* --- Checklist detail --- */
.checklist-back {
display: inline-flex;
align-items: center;
gap: 0.4rem;
font-size: 0.85rem;
color: var(--color-text-muted);
text-decoration: none;
margin-bottom: 1rem;
transition: color 0.15s ease;
}
.checklist-back:hover {
color: var(--color-accent);
}
.checklist-back-arrow {
font-size: 1rem;
}
.checklist-detail-header {
margin-bottom: 1.5rem;
}
.checklist-detail-head-row {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap;
}
.checklist-actions {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
margin-top: 0.25rem;
}
.btn-ghost {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.55rem 0.9rem;
font-size: 0.82rem;
font-weight: 500;
color: var(--color-text-muted);
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius);
cursor: pointer;
transition: all 0.15s ease;
font-family: var(--font-sans);
}
.btn-ghost:hover {
border-color: var(--color-accent);
color: var(--color-accent);
}
.checklist-meta {
display: flex;
flex-wrap: wrap;
gap: 0.4rem 1.5rem;
margin-top: 0.85rem;
font-size: 0.82rem;
}
.checklist-meta-item {
display: flex;
flex-direction: column;
gap: 0.15rem;
}
.checklist-meta-item dt {
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--color-text-muted);
font-weight: 600;
}
.checklist-meta-item dd {
color: var(--color-text);
margin: 0;
}
.checklist-progress {
display: flex;
align-items: center;
gap: 0.75rem;
margin-top: 1.25rem;
}
.checklist-progress-bar {
flex: 1;
height: 0.4rem;
background: var(--color-border);
border-radius: 99px;
overflow: hidden;
}
.checklist-progress-fill {
height: 100%;
background: var(--color-accent);
border-radius: 99px;
transition: width 0.2s ease;
width: 0%;
}
.checklist-progress-label {
font-size: 0.8rem;
color: var(--color-text-muted);
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
/* Checklist instance list (on template detail page) */
.checklist-instances-section {
margin-top: 2rem;
}
.checklist-instances-section h2 {
font-size: 1.1rem;
margin-bottom: 0.25rem;
}
.checklist-progress-inline {
display: flex;
align-items: center;
gap: 0.5rem;
min-width: 9rem;
}
.checklist-progress-inline .checklist-progress-bar {
width: 5.5rem;
flex: 0 0 auto;
}
.checklist-instance-name {
color: var(--color-text);
text-decoration: none;
font-weight: 500;
}
.checklist-instance-name:hover {
color: var(--color-accent);
}
.checklist-instance-akte-link {
color: var(--color-accent);
text-decoration: none;
}
.checklist-instance-akte-link:hover {
text-decoration: underline;
}
.checklist-instance-actions {
display: flex;
gap: 0.35rem;
justify-content: flex-end;
white-space: nowrap;
}
.checklist-instance-titles {
display: flex;
flex-direction: column;
gap: 0.25rem;
min-width: 0;
flex: 1;
}
.checklist-instance-name-row {
display: flex;
align-items: center;
gap: 0.5rem;
flex-wrap: wrap;
}
.akten-muted {
color: var(--color-text-muted);
font-style: italic;
font-size: 0.85rem;
}
.btn-small {
padding: 0.35rem 0.7rem;
font-size: 0.78rem;
}
.checklist-groups {
display: flex;
flex-direction: column;
gap: 1.75rem;
}
.checklist-group-title {
font-size: 0.78rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--color-text-muted);
padding-bottom: 0.45rem;
border-bottom: 1px solid var(--color-border);
margin-bottom: 0.75rem;
}
.checklist-list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 0.3rem;
}
.checklist-item {
padding: 0.55rem 0.6rem;
border-radius: var(--radius);
transition: background 0.15s ease;
}
.checklist-item:hover {
background: rgba(101, 163, 13, 0.04);
}
.checklist-item.checked .checklist-item-text {
color: var(--color-text-muted);
text-decoration: line-through;
}
.checklist-item-label {
display: flex;
align-items: flex-start;
gap: 0.7rem;
cursor: pointer;
}
.checklist-checkbox {
width: 1.05rem;
height: 1.05rem;
margin-top: 0.2rem;
accent-color: var(--color-accent);
flex-shrink: 0;
cursor: pointer;
}
.checklist-item-body {
flex: 1;
display: flex;
flex-direction: column;
gap: 0.2rem;
}
.checklist-item-row {
display: flex;
align-items: baseline;
gap: 0.6rem;
flex-wrap: wrap;
}
.checklist-item-text {
font-size: 0.92rem;
line-height: 1.5;
color: var(--color-text);
}
.checklist-item-rule {
font-size: 0.72rem;
padding: 0.1rem 0.45rem;
border-radius: 99px;
background: rgba(26, 54, 93, 0.06);
color: #1b365d;
font-family: var(--font-mono);
white-space: nowrap;
}
.checklist-item-note {
font-size: 0.8rem;
color: var(--color-text-muted);
line-height: 1.5;
margin: 0;
}
.checklist-print-footer {
margin-top: 2rem;
padding-top: 1rem;
border-top: 1px solid var(--color-border);
}
.checklist-disclaimer {
font-size: 0.75rem;
color: var(--color-text-muted);
line-height: 1.6;
margin: 0;
}
@media (max-width: 640px) {
.checklist-detail-head-row {
flex-direction: column;
}
.checklist-actions {
width: 100%;
}
}
@media print {
.checklist-back,
.checklist-actions,
.checklist-filters,
.checklist-card-progress {
display: none !important;
}
.checklist-item {
break-inside: avoid;
border-bottom: 1px dotted #ccc;
padding: 0.3rem 0;
}
.checklist-item:hover {
background: none;
}
.checklist-checkbox {
/* Keep checkbox visible with actual state */
accent-color: #000;
}
.checklist-group {
break-inside: avoid-page;
margin-bottom: 1rem;
}
.checklist-progress {
margin-top: 0.5rem;
}
.checklist-progress-bar {
display: none;
}
}
/* --- Gerichtsverzeichnis --- */
.gerichte-header-row {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 1rem;
}
.gerichte-controls {
display: flex;
flex-direction: column;
gap: 0.85rem;
margin-bottom: 1.5rem;
}
.gerichte-filter-row {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.65rem;
}
.gerichte-filter-label {
font-size: 0.78rem;
font-weight: 600;
color: var(--color-text-muted);
text-transform: uppercase;
letter-spacing: 0.04em;
min-width: 3rem;
}
.gerichte-list {
display: flex;
flex-direction: column;
gap: 0.65rem;
}
.gericht-card {
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius);
overflow: hidden;
transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.gericht-card:hover {
border-color: rgba(101, 163, 13, 0.4);
}
.gericht-card.open {
border-color: var(--color-accent);
box-shadow: var(--shadow-md);
}
.gericht-summary {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.9rem 1.1rem;
cursor: pointer;
user-select: none;
}
.gericht-title {
flex: 1;
min-width: 0;
}
.gericht-name {
font-weight: 600;
font-size: 0.97rem;
color: var(--color-text);
line-height: 1.35;
margin-bottom: 0.25rem;
}
.gericht-meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.5rem 0.9rem;
font-size: 0.8rem;
color: var(--color-text-muted);
}
.gericht-meta svg {
vertical-align: -2px;
margin-right: 0.15rem;
}
.gericht-type-badge {
display: inline-flex;
align-items: center;
padding: 0.12rem 0.55rem;
border-radius: 99px;
background: rgba(101, 163, 13, 0.1);
color: var(--color-accent);
font-weight: 600;
font-size: 0.72rem;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.gericht-city {
display: inline-flex;
align-items: center;
gap: 0.25rem;
}
.gericht-langs {
font-family: var(--font-mono);
font-size: 0.72rem;
color: var(--color-text-muted);
border: 1px solid var(--color-border);
border-radius: 4px;
padding: 0.05rem 0.35rem;
}
.gericht-actions {
display: flex;
align-items: center;
gap: 0.35rem;
flex-shrink: 0;
}
.gericht-feedback-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 1.9rem;
height: 1.9rem;
border: none;
background: none;
color: var(--color-text-muted);
cursor: pointer;
border-radius: 4px;
opacity: 0.45;
transition: all 0.15s ease;
font-size: 0.85rem;
}
.gericht-card:hover .gericht-feedback-btn {
opacity: 1;
}
.gericht-feedback-btn:hover {
background: rgba(101, 163, 13, 0.1);
color: var(--color-accent);
}
.gericht-toggle {
display: inline-flex;
align-items: center;
justify-content: center;
width: 1.9rem;
height: 1.9rem;
border: 1px solid var(--color-border);
background: var(--color-surface);
color: var(--color-text-muted);
cursor: pointer;
border-radius: 4px;
font-size: 1.05rem;
line-height: 1;
font-weight: 600;
transition: all 0.15s ease;
}
.gericht-card.open .gericht-toggle {
background: var(--color-accent);
color: #fff;
border-color: var(--color-accent);
}
.gericht-details {
display: none;
padding: 0.25rem 1.1rem 1.1rem;
border-top: 1px solid var(--color-border);
grid-template-columns: 1fr;
gap: 0.85rem;
}
.gericht-card.open .gericht-details {
display: grid;
}
@media (min-width: 720px) {
.gericht-card.open .gericht-details {
grid-template-columns: 160px 1fr;
}
.gericht-card.open .gericht-field {
display: contents;
}
}
.gericht-field {
display: grid;
gap: 0.25rem;
}
.gericht-field-label {
font-size: 0.72rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--color-text-muted);
padding-top: 0.85rem;
}
.gericht-field-value {
font-size: 0.88rem;
color: var(--color-text);
line-height: 1.55;
padding-top: 0.85rem;
}
.gericht-contacts {
display: flex;
flex-direction: column;
gap: 0.3rem;
}
.gericht-contact {
display: inline-flex;
align-items: center;
gap: 0.4rem;
color: var(--color-text);
}
.gericht-contact a {
color: var(--color-accent);
text-decoration: none;
}
.gericht-contact a:hover {
text-decoration: underline;
}
@media print {
.sidebar,
.sidebar-hamburger,
.sidebar-overlay,
.gerichte-controls,
.gericht-feedback-btn,
.gericht-toggle,
.btn-suggest,
.modal-overlay,
body.has-sidebar main {
/* keep main visible — only specific controls hidden */
}
.sidebar,
.sidebar-hamburger,
.sidebar-overlay,
.gerichte-controls,
.gericht-feedback-btn,
.gericht-toggle,
.btn-suggest,
.modal-overlay,
.footer {
display: none !important;
}
body.has-sidebar main {
padding-left: 0 !important;
}
.gericht-card {
break-inside: avoid;
border: 1px solid #ccc !important;
margin-bottom: 0.5rem;
box-shadow: none !important;
}
/* Expand all cards in print */
.gericht-card .gericht-details {
display: grid !important;
grid-template-columns: 150px 1fr !important;
}
.gericht-card .gericht-field {
display: contents !important;
}
}
/* ============================================================================
Phase D — Akten (Mandate) UI
============================================================================ */
/* --- Sidebar groups --- */
.sidebar-group {
margin-top: 0.75rem;
padding-top: 0.75rem;
border-top: 1px solid var(--color-border);
}
.sidebar-group:first-of-type {
border-top: none;
padding-top: 0.25rem;
}
.sidebar-group-label {
padding: 0 0.5rem 0.25rem 1.5rem;
font-size: 0.66rem;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--color-text-muted);
opacity: 0;
transition: opacity 0.15s ease;
white-space: nowrap;
overflow: hidden;
}
.sidebar.expanded .sidebar-group-label,
.sidebar.pinned .sidebar-group-label,
.sidebar.mobile-open .sidebar-group-label {
opacity: 0.75;
}
.sidebar-item-disabled {
opacity: 0.4;
cursor: not-allowed;
pointer-events: auto;
}
.sidebar-item-disabled:hover {
background: transparent !important;
}
/* --- Akten list page --- */
.akten-header-row {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 1.5rem;
flex-wrap: wrap;
}
.btn-cta-lime {
display: inline-flex;
align-items: center;
padding: 0.6rem 1.25rem;
font-size: 0.9rem;
font-weight: 600;
color: #1a1a2e;
background: #c6f41c;
border: none;
border-radius: var(--radius);
cursor: pointer;
text-decoration: none;
transition: background 0.15s ease, transform 0.05s ease;
}
.btn-cta-lime:hover {
background: #b8e616;
}
.btn-cta-lime:active {
transform: translateY(1px);
}
.btn-cta-lime.btn-outline {
background: transparent;
color: var(--color-accent);
border: 1.5px solid var(--color-accent);
}
.btn-cta-lime.btn-outline:hover {
background: rgba(198, 244, 28, 0.1);
}
.akten-controls {
display: flex;
flex-direction: column;
gap: 0.75rem;
margin-bottom: 1.5rem;
}
.akten-search-wrap {
max-width: 460px;
}
.akten-filter-row {
display: flex;
align-items: center;
gap: 0.5rem;
flex-wrap: wrap;
}
.akten-filter-label {
font-size: 0.85rem;
color: var(--color-text-muted);
margin-left: 0.5rem;
}
.akten-filter-label:first-child {
margin-left: 0;
}
.akten-select {
padding: 0.4rem 0.75rem;
font-size: 0.85rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: #fff;
color: var(--color-text);
cursor: pointer;
}
.akten-select:focus {
outline: none;
border-color: var(--color-accent);
}
.akten-unavailable {
padding: 1rem 1.25rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: #fff8e6;
color: #70520b;
margin-bottom: 1rem;
}
.akten-table-wrap {
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: var(--color-surface);
overflow-x: auto;
box-shadow: var(--shadow);
}
.akten-table {
width: 100%;
border-collapse: collapse;
font-size: 0.9rem;
}
.akten-table thead th {
padding: 0.75rem 1rem;
text-align: left;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--color-text-muted);
border-bottom: 1px solid var(--color-border);
background: #fafafa;
}
.akten-table tbody tr {
cursor: pointer;
transition: background 0.08s ease;
border-bottom: 1px solid var(--color-border);
}
.akten-table tbody tr:last-child {
border-bottom: none;
}
.akten-table tbody tr:hover {
background: #f8fbf0;
}
.akten-table td {
padding: 0.75rem 1rem;
vertical-align: middle;
}
.akten-col-title {
font-weight: 600;
}
.akten-col-ref {
font-family: var(--font-mono);
font-size: 0.82rem;
color: var(--color-text-muted);
}
.akten-col-updated {
font-size: 0.82rem;
color: var(--color-text-muted);
white-space: nowrap;
}
.akten-office-chip,
.akten-status-chip,
.akten-firmwide-chip {
display: inline-block;
padding: 0.15rem 0.55rem;
font-size: 0.72rem;
font-weight: 600;
border-radius: 999px;
white-space: nowrap;
}
.akten-office-chip {
background: #eef2ff;
color: #4338ca;
}
.akten-office-munich { background: #eef2ff; color: #4338ca; }
.akten-office-duesseldorf { background: #fef3c7; color: #92400e; }
.akten-office-hamburg { background: #dbeafe; color: #1e40af; }
.akten-office-amsterdam { background: #fee2e2; color: #991b1b; }
.akten-office-london { background: #f3e8ff; color: #6b21a8; }
.akten-office-paris { background: #e0f2fe; color: #075985; }
.akten-office-milan { background: #fce7f3; color: #9d174d; }
.akten-status-chip {
background: #e5e7eb;
color: #374151;
}
.akten-status-active {
background: #dcfce7;
color: #166534;
}
.akten-status-completed {
background: #dbeafe;
color: #1e40af;
}
.akten-status-archived {
background: #f3f4f6;
color: #6b7280;
}
.akten-firmwide-chip {
background: #c6f41c;
color: #1a1a2e;
}
.akten-firmwide-dot {
color: #c6f41c;
font-size: 0.95em;
margin-left: 0.4rem;
text-shadow: 0 0 2px rgba(26, 26, 46, 0.35);
}
.akten-empty {
text-align: center;
padding: 3rem 1.5rem;
border: 1px dashed var(--color-border);
border-radius: var(--radius);
background: var(--color-surface);
color: var(--color-text-muted);
}
.akten-empty h2 {
font-size: 1.15rem;
color: var(--color-text);
margin-bottom: 0.5rem;
}
.akten-empty .btn-cta-lime {
margin-top: 1rem;
}
.akten-empty-filtered {
padding: 2rem 1.5rem;
}
/* --- Project tree view (Baumansicht) --- */
.projekt-tree-wrap {
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: var(--color-surface);
box-shadow: var(--shadow);
padding: 0.5rem 0.75rem;
}
.projekt-tree-loading,
.projekt-tree-error,
.projekt-tree-empty,
.projekt-tree-unavailable {
padding: 1.5rem 1rem;
color: var(--color-text-muted);
font-size: 0.9rem;
text-align: center;
}
.projekt-tree-error,
.projekt-tree-unavailable {
color: #92400e;
}
.projekt-tree-root,
.projekt-tree-children {
list-style: none;
margin: 0;
padding: 0;
}
.projekt-tree-children {
padding-left: 1.5rem;
border-left: 1px dashed var(--color-border);
margin-left: 1.1rem;
}
.projekt-tree-row {
display: flex;
align-items: center;
gap: 0.55rem;
padding: 0.4rem 0.5rem;
border-radius: 6px;
cursor: pointer;
transition: background 0.08s ease;
}
.projekt-tree-row:hover {
background: #f8fbf0;
}
.projekt-tree-row:focus-visible {
outline: 2px solid var(--color-accent);
outline-offset: 1px;
background: #f8fbf0;
}
.projekt-tree-toggle {
width: 1.2rem;
height: 1.2rem;
flex: 0 0 auto;
display: inline-flex;
align-items: center;
justify-content: center;
border: none;
background: transparent;
color: var(--color-text-muted);
cursor: pointer;
padding: 0;
border-radius: 3px;
transition: transform 0.15s ease, background 0.1s ease;
}
.projekt-tree-toggle svg {
width: 0.9rem;
height: 0.9rem;
}
.projekt-tree-toggle:hover {
background: rgba(198, 244, 28, 0.18);
color: var(--color-text);
}
.projekt-tree-toggle.is-open svg {
transform: rotate(90deg);
}
.projekt-tree-toggle.is-leaf {
cursor: default;
pointer-events: none;
}
.projekt-tree-icon {
width: 1.1rem;
height: 1.1rem;
flex: 0 0 auto;
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--color-text-muted);
}
.projekt-tree-icon svg {
width: 100%;
height: 100%;
}
.projekt-tree-icon-client { color: #4338ca; }
.projekt-tree-icon-litigation { color: #9d174d; }
.projekt-tree-icon-patent { color: #075985; }
.projekt-tree-icon-case { color: #92400e; }
.projekt-tree-icon-project { color: #166534; }
.projekt-tree-title {
font-weight: 600;
color: var(--color-text);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 28rem;
}
.projekt-tree-type-chip {
flex: 0 0 auto;
font-size: 0.7rem;
padding: 0.1rem 0.5rem;
border-radius: 999px;
background: #eef2f7;
color: #475569;
font-weight: 600;
}
.akten-type-chip.akten-type-client { background: #eef2ff; color: #4338ca; }
.akten-type-chip.akten-type-litigation { background: #fce7f3; color: #9d174d; }
.akten-type-chip.akten-type-patent { background: #e0f2fe; color: #075985; }
.akten-type-chip.akten-type-case { background: #fef3c7; color: #92400e; }
.akten-type-chip.akten-type-project { background: #dcfce7; color: #166534; }
.projekt-tree-meta {
font-size: 0.8rem;
color: var(--color-text-muted);
font-family: var(--font-mono);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.projekt-tree-spacer {
flex: 1 1 auto;
}
.projekt-tree-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 1.3rem;
height: 1.3rem;
padding: 0 0.4rem;
border-radius: 999px;
font-size: 0.72rem;
font-weight: 700;
line-height: 1;
}
.projekt-tree-badge-overdue {
background: #fee2e2;
color: #b91c1c;
}
.projekt-tree-badge-open {
background: #fef3c7;
color: #92400e;
}
.projekt-tree-status {
flex: 0 0 auto;
}
.projekt-tree-node[aria-current="true"] > .projekt-tree-row {
background: rgba(198, 244, 28, 0.2);
border-left: 3px solid var(--color-accent);
padding-left: calc(0.5rem - 3px);
}
@media (max-width: 720px) {
.projekt-tree-meta,
.projekt-tree-status {
display: none;
}
.projekt-tree-title {
max-width: 14rem;
}
}
/* --- Akten create form --- */
.container-narrow {
max-width: 680px;
}
.akten-back-link {
display: inline-block;
margin-bottom: 0.75rem;
font-size: 0.85rem;
color: var(--color-text-muted);
text-decoration: none;
}
.akten-back-link:hover {
color: var(--color-accent);
}
.akten-form {
display: flex;
flex-direction: column;
gap: 1.25rem;
margin-top: 1.5rem;
}
.form-field-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
}
@media (max-width: 640px) {
.form-field-row {
grid-template-columns: 1fr;
}
}
.form-checkbox {
display: flex;
align-items: center;
gap: 0.5rem;
cursor: pointer;
user-select: none;
}
.form-checkbox input {
width: 1rem;
height: 1rem;
cursor: pointer;
}
.form-hint {
font-size: 0.78rem;
color: var(--color-text-muted);
margin-top: 0.25rem;
}
.akten-collab {
position: relative;
border: 1px solid var(--color-border);
border-radius: var(--radius);
padding: 0.4rem;
display: flex;
flex-wrap: wrap;
gap: 0.3rem;
align-items: center;
background: #fff;
}
.akten-collab input {
flex: 1;
min-width: 160px;
border: none !important;
padding: 0.3rem 0.5rem !important;
outline: none !important;
background: transparent !important;
}
.akten-collab-chips {
display: flex;
flex-wrap: wrap;
gap: 0.3rem;
}
.akten-chip {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.2rem 0.6rem;
font-size: 0.8rem;
background: #eef2ff;
color: #4338ca;
border-radius: 999px;
}
.akten-chip-x {
background: none;
border: none;
color: inherit;
cursor: pointer;
font-size: 0.9rem;
line-height: 1;
padding: 0;
}
.akten-collab-suggestions {
position: absolute;
top: 100%;
left: 0;
right: 0;
margin-top: 0.25rem;
background: #fff;
border: 1px solid var(--color-border);
border-radius: var(--radius);
box-shadow: var(--shadow-md);
max-height: 240px;
overflow-y: auto;
display: none;
z-index: 10;
}
.akten-suggestion {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.5rem 0.75rem;
border: none;
background: #fff;
text-align: left;
font-size: 0.85rem;
cursor: pointer;
}
.akten-suggestion:hover {
background: #f8fbf0;
}
.akten-suggestion-meta {
color: var(--color-text-muted);
font-size: 0.75rem;
margin-left: 0.75rem;
}
/* --- Akten detail --- */
.akten-detail-header {
padding: 1rem 0;
border-bottom: 1px solid var(--color-border);
margin-bottom: 1rem;
}
.akten-detail-title-row {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 1rem;
flex-wrap: wrap;
}
.akten-detail-title-col h1 {
font-size: 1.6rem;
margin-bottom: 0.3rem;
}
.akten-title-input {
font-size: 1.6rem;
font-weight: 700;
padding: 0.25rem 0.4rem;
border: 1px solid var(--color-accent);
border-radius: var(--radius);
width: 100%;
max-width: 520px;
}
.akten-detail-meta {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
align-items: center;
margin-top: 0.4rem;
}
.akten-ref {
font-family: var(--font-mono);
font-size: 0.85rem;
color: var(--color-text-muted);
margin-right: 0.25rem;
}
.akten-detail-actions {
display: flex;
gap: 0.5rem;
align-items: center;
}
.btn-icon {
width: 36px;
height: 36px;
border-radius: var(--radius);
border: 1px solid var(--color-border);
background: #fff;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--color-text-muted);
transition: border-color 0.15s ease, color 0.15s ease;
}
.btn-icon:hover {
border-color: var(--color-accent);
color: var(--color-accent);
}
.akten-tabs {
display: flex;
gap: 0.25rem;
margin-bottom: 1rem;
border-bottom: 1px solid var(--color-border);
overflow-x: auto;
}
.akten-tab {
padding: 0.6rem 1rem;
text-decoration: none;
color: var(--color-text-muted);
font-size: 0.88rem;
font-weight: 500;
border-bottom: 2px solid transparent;
white-space: nowrap;
transition: color 0.12s ease, border-color 0.12s ease;
}
.akten-tab:hover {
color: var(--color-text);
}
.akten-tab.active {
color: var(--color-text);
border-bottom-color: #c6f41c;
font-weight: 600;
}
.akten-tab-panel {
padding: 0.5rem 0 2rem;
}
.akten-events {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.akten-event {
display: grid;
grid-template-columns: 170px 1fr;
gap: 1rem;
padding: 0.75rem 1rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: var(--color-surface);
box-shadow: var(--shadow);
}
@media (max-width: 640px) {
.akten-event {
grid-template-columns: 1fr;
}
}
.akten-event-date {
font-size: 0.8rem;
color: var(--color-text-muted);
font-family: var(--font-mono);
}
.akten-event-title {
font-weight: 600;
font-size: 0.9rem;
}
.akten-event-desc {
font-size: 0.85rem;
color: var(--color-text-muted);
margin-top: 0.25rem;
}
.akten-events-empty {
text-align: center;
padding: 2rem 1rem;
color: var(--color-text-muted);
font-size: 0.9rem;
}
.akten-events-loadmore {
margin-top: 1rem;
text-align: center;
}
.akten-parteien-controls {
margin-bottom: 1rem;
}
.btn-small {
padding: 0.4rem 0.9rem;
font-size: 0.82rem;
}
.akten-partei-form {
margin-bottom: 1.25rem;
padding: 1rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: var(--color-surface);
gap: 0.75rem;
}
.akten-parteien-table {
width: 100%;
border-collapse: collapse;
font-size: 0.9rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
overflow: hidden;
background: var(--color-surface);
}
.akten-parteien-table thead th {
text-align: left;
padding: 0.6rem 1rem;
font-size: 0.72rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--color-text-muted);
border-bottom: 1px solid var(--color-border);
background: #fafafa;
}
.akten-parteien-table td {
padding: 0.6rem 1rem;
border-bottom: 1px solid var(--color-border);
}
.akten-parteien-table tr:last-child td {
border-bottom: none;
}
.akten-col-actions {
text-align: right;
}
.btn-link-danger {
background: none;
border: none;
color: #b91c1c;
cursor: pointer;
font-size: 0.82rem;
padding: 0.2rem 0.5rem;
}
.btn-link-danger:hover {
text-decoration: underline;
}
.btn-danger {
padding: 0.5rem 1.25rem;
font-size: 0.85rem;
font-weight: 600;
color: #fff;
background: #dc2626;
border: none;
border-radius: var(--radius);
cursor: pointer;
transition: background 0.15s ease;
}
.btn-danger:hover {
background: #b91c1c;
}
.akten-soon {
text-align: center;
padding: 3rem 1.5rem;
border: 1px dashed var(--color-border);
border-radius: var(--radius);
background: var(--color-surface);
}
.akten-soon h2 {
font-size: 1.1rem;
color: var(--color-text);
margin-bottom: 0.5rem;
}
.akten-soon p {
color: var(--color-text-muted);
font-size: 0.9rem;
}
.akten-detail-footer {
margin-top: 2.5rem;
padding-top: 1.5rem;
border-top: 1px solid var(--color-border);
display: flex;
justify-content: flex-end;
}
.akten-loading {
text-align: center;
padding: 3rem;
color: var(--color-text-muted);
font-size: 0.9rem;
}
/* ========================================================================
Phase E — Fristen (persistent deadlines)
Traffic-light: red overdue, amber soon, green later. Done = grey.
======================================================================== */
:root {
--frist-red: #ef4444;
--frist-amber: #f59e0b;
--frist-green: #22c55e;
--frist-grey: #9ca3af;
}
.fristen-header-actions {
display: flex;
gap: 0.5rem;
align-items: center;
}
.frist-summary-cards {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0.75rem;
margin: 0 0 1.5rem;
}
.frist-summary-card {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 0.35rem;
padding: 0.9rem 1rem;
background: var(--color-surface);
border: 1px solid var(--color-border);
border-left-width: 4px;
border-radius: var(--radius);
cursor: pointer;
text-align: left;
transition: background 0.12s ease, transform 0.12s ease;
font: inherit;
}
.frist-summary-card:hover {
background: #fafafa;
transform: translateY(-1px);
}
.frist-summary-card .frist-summary-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: currentColor;
opacity: 0.65;
}
.frist-summary-count {
font-size: 1.6rem;
font-weight: 600;
line-height: 1;
color: var(--color-text);
}
.frist-summary-label {
font-size: 0.85rem;
color: var(--color-text-muted);
}
.frist-card-overdue { border-left-color: var(--frist-red); color: var(--frist-red); }
.frist-card-week { border-left-color: var(--frist-amber); color: var(--frist-amber); }
.frist-card-upcoming { border-left-color: var(--frist-green); color: var(--frist-green); }
.frist-card-completed { border-left-color: var(--frist-grey); color: var(--frist-grey); }
.fristen-table .frist-col-check {
width: 28px;
padding-right: 0;
}
.fristen-table .frist-col-due {
white-space: nowrap;
font-variant-numeric: tabular-nums;
}
.fristen-table .frist-col-rule {
color: var(--color-text-muted);
font-size: 0.85rem;
}
.frist-due-dot {
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
margin-right: 0.4rem;
vertical-align: middle;
background: var(--frist-grey);
}
.frist-urgency-overdue { color: var(--frist-red); }
.frist-urgency-overdue .frist-due-dot { background: var(--frist-red); }
.frist-urgency-soon { color: var(--frist-amber); }
.frist-urgency-soon .frist-due-dot { background: var(--frist-amber); }
.frist-urgency-later { color: var(--frist-green); }
.frist-urgency-later .frist-due-dot { background: var(--frist-green); }
.frist-urgency-done { color: var(--frist-grey); text-decoration: line-through; }
.frist-urgency-done .frist-due-dot { background: var(--frist-grey); }
.frist-title-done {
text-decoration: line-through;
color: var(--color-text-muted);
}
.akten-ref-link {
color: var(--color-text);
text-decoration: none;
font-weight: 500;
}
.akten-ref-link:hover {
text-decoration: underline;
}
.frist-akte-title {
display: block;
color: var(--color-text-muted);
font-size: 0.8rem;
}
.frist-due-chip {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.2rem 0.6rem;
border-radius: 999px;
background: #f3f4f6;
color: var(--color-text);
font-size: 0.85rem;
font-weight: 500;
}
.frist-due-chip.frist-urgency-overdue { background: #fee2e2; color: #991b1b; }
.frist-due-chip.frist-urgency-soon { background: #fef3c7; color: #92400e; }
.frist-due-chip.frist-urgency-later { background: #dcfce7; color: #166534; }
.frist-due-chip.frist-urgency-done { background: #f3f4f6; color: #6b7280; text-decoration: none; }
.akten-status-chip.akten-status-pending { background: #fef3c7; color: #92400e; }
.akten-status-chip.akten-status-cancelled { background: #f3f4f6; color: #6b7280; }
.akten-status-chip.akten-status-waived { background: #f3f4f6; color: #6b7280; }
.frist-detail-panel {
border: 1px solid var(--color-border);
border-radius: var(--radius);
padding: 1.5rem;
background: var(--color-surface);
}
.frist-detail-list {
display: grid;
grid-template-columns: max-content 1fr;
column-gap: 1.5rem;
row-gap: 0.75rem;
margin: 0;
}
.frist-detail-list dt {
font-weight: 600;
color: var(--color-text-muted);
font-size: 0.85rem;
}
.frist-detail-list dd {
margin: 0;
color: var(--color-text);
}
.frist-detail-list textarea,
.frist-detail-list input[type="date"] {
width: 100%;
max-width: 22rem;
}
/* Calendar view */
.frist-calendar-controls {
display: flex;
align-items: center;
gap: 0.75rem;
margin: 0 0 1rem;
}
.frist-cal-month-label {
font-size: 1.15rem;
margin: 0;
min-width: 11rem;
text-align: center;
}
.frist-calendar {
display: grid;
grid-template-columns: repeat(7, minmax(0, 1fr));
gap: 1px;
background: var(--color-border);
border: 1px solid var(--color-border);
border-radius: var(--radius);
overflow: hidden;
}
.frist-cal-weekday {
background: #f9fafb;
color: var(--color-text-muted);
font-size: 0.78rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
padding: 0.4rem 0.6rem;
text-align: center;
}
.frist-cal-grid {
grid-column: 1 / -1;
display: grid;
grid-template-columns: repeat(7, minmax(0, 1fr));
gap: 1px;
background: var(--color-border);
}
.frist-cal-cell {
background: var(--color-surface);
min-height: 88px;
padding: 0.4rem 0.5rem;
display: flex;
flex-direction: column;
justify-content: space-between;
cursor: default;
}
.frist-cal-cell-empty {
background: #fafafa;
}
.frist-cal-cell-has {
cursor: pointer;
}
.frist-cal-cell-has:hover {
background: #f9fafb;
}
.frist-cal-day {
font-size: 0.8rem;
color: var(--color-text-muted);
font-variant-numeric: tabular-nums;
}
.frist-cal-today .frist-cal-day {
background: var(--color-accent);
color: white;
border-radius: 999px;
width: 1.5rem;
height: 1.5rem;
display: inline-flex;
align-items: center;
justify-content: center;
font-weight: 600;
}
.frist-cal-dots {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 3px;
}
.frist-cal-dot {
display: inline-block;
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--frist-grey);
}
.frist-cal-dot.frist-urgency-overdue { background: var(--frist-red); }
.frist-cal-dot.frist-urgency-soon { background: var(--frist-amber); }
.frist-cal-dot.frist-urgency-later { background: var(--frist-green); }
.frist-cal-dot.frist-urgency-done { background: var(--frist-grey); }
.frist-cal-more {
font-size: 0.7rem;
color: var(--color-text-muted);
margin-left: 0.2rem;
}
.frist-cal-popup-list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.frist-cal-popup-item {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
gap: 0.6rem;
padding: 0.4rem 0;
border-bottom: 1px solid var(--color-border);
}
.frist-cal-popup-item:last-child {
border-bottom: none;
}
.frist-cal-popup-title {
color: var(--color-text);
text-decoration: none;
font-weight: 500;
}
.frist-cal-popup-title:hover {
text-decoration: underline;
}
.frist-cal-popup-akte {
color: var(--color-text-muted);
font-size: 0.8rem;
text-decoration: none;
}
.frist-cal-popup-akte:hover {
color: var(--color-text);
}
/* Fristenrechner save-to-Akte modal */
.fristen-result-actions {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
margin-top: 1rem;
}
.frist-save-list {
list-style: none;
margin: 0;
padding: 0;
max-height: 16rem;
overflow-y: auto;
border: 1px solid var(--color-border);
border-radius: var(--radius);
}
.frist-save-row {
border-bottom: 1px solid var(--color-border);
}
.frist-save-row:last-child {
border-bottom: none;
}
.frist-save-row label {
display: flex;
align-items: center;
gap: 0.6rem;
padding: 0.5rem 0.75rem;
cursor: pointer;
margin: 0;
}
.frist-save-row input[type="checkbox"]:disabled + .frist-save-title {
color: var(--color-text-muted);
text-decoration: line-through;
}
.frist-save-title {
flex: 1;
color: var(--color-text);
}
.frist-save-meta {
color: var(--color-text-muted);
font-size: 0.8rem;
font-variant-numeric: tabular-nums;
}
.form-msg-ok {
color: #166534;
}
@media (max-width: 700px) {
.frist-summary-cards {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.frist-cal-cell {
min-height: 64px;
}
}
/* ========================================================================
Dashboard (Phase G — logged-in landing)
======================================================================== */
.dashboard-header {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 1rem;
margin-bottom: 1.5rem;
flex-wrap: wrap;
}
.dashboard-greeting {
font-size: 1.6rem;
font-weight: 600;
letter-spacing: -0.02em;
margin: 0;
}
.dashboard-greeting-name {
color: var(--color-accent);
}
.dashboard-subline {
margin-top: 0.4rem;
display: flex;
align-items: center;
gap: 0.75rem;
color: var(--color-text-muted);
font-size: 0.88rem;
}
.dashboard-office-chip {
margin-right: 0.25rem;
}
.dashboard-date {
text-transform: capitalize;
}
.dashboard-section-heading {
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--color-text-muted);
margin-bottom: 0.75rem;
font-weight: 600;
}
.dashboard-unavailable {
padding: 1rem 1.25rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: #fff8e6;
color: #70520b;
margin-bottom: 1.5rem;
font-size: 0.92rem;
}
/* --- Traffic-light summary cards --- */
.dashboard-summary {
margin-bottom: 2rem;
}
.dashboard-summary-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1rem;
}
.dashboard-card {
display: block;
padding: 1.25rem 1.4rem;
border-radius: var(--radius);
background: var(--color-surface);
border: 1px solid var(--color-border);
text-decoration: none;
color: var(--color-text);
transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
box-shadow: var(--shadow);
}
.dashboard-card:hover {
transform: translateY(-1px);
box-shadow: var(--shadow-md);
}
.dashboard-card-count {
font-family: var(--font-mono);
font-size: 2.25rem;
font-weight: 700;
line-height: 1.1;
letter-spacing: -0.03em;
}
.dashboard-card-label {
margin-top: 0.4rem;
font-size: 0.78rem;
text-transform: uppercase;
letter-spacing: 0.05em;
font-weight: 600;
color: var(--color-text-muted);
}
.dashboard-card-red .dashboard-card-count { color: #b91c1c; }
.dashboard-card-red { border-left: 3px solid #b91c1c; }
.dashboard-card-amber .dashboard-card-count { color: #b45309; }
.dashboard-card-amber { border-left: 3px solid #f59e0b; }
.dashboard-card-green .dashboard-card-count { color: #15803d; }
.dashboard-card-green { border-left: 3px solid #65a30d; }
.dashboard-card-done .dashboard-card-count { color: #475569; }
.dashboard-card-done { border-left: 3px solid #94a3b8; }
.dashboard-card-quiet .dashboard-card-count { color: var(--color-text-muted); }
.dashboard-card-quiet { border-left-color: var(--color-border); }
/* --- Matter summary card --- */
.dashboard-matters {
margin-bottom: 2rem;
}
.dashboard-matter-card {
display: block;
padding: 1.25rem 1.5rem;
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius);
text-decoration: none;
color: var(--color-text);
box-shadow: var(--shadow);
transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.dashboard-matter-card:hover {
border-color: var(--color-accent-light);
box-shadow: var(--shadow-md);
}
.dashboard-matter-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 0.9rem;
}
.dashboard-matter-header h3 {
font-size: 0.95rem;
font-weight: 600;
margin: 0;
}
.dashboard-matter-arrow {
color: var(--color-accent);
font-size: 1.1rem;
}
.dashboard-matter-stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
}
.dashboard-matter-num {
font-family: var(--font-mono);
font-size: 1.5rem;
font-weight: 700;
line-height: 1.1;
color: var(--color-text);
}
.dashboard-matter-lbl {
margin-top: 0.25rem;
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--color-text-muted);
}
/* --- Two-column lists --- */
.dashboard-columns {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
margin-bottom: 2.5rem;
}
.dashboard-col {
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius);
padding: 1.25rem 1.4rem;
box-shadow: var(--shadow);
}
.dashboard-list {
list-style: none;
margin: 0;
padding: 0;
}
.dashboard-list-item {
border-bottom: 1px solid var(--color-border);
}
.dashboard-list-item:last-child {
border-bottom: none;
}
.dashboard-list-link {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.75rem 0;
text-decoration: none;
color: var(--color-text);
transition: color 0.1s ease;
}
.dashboard-list-link:hover {
color: var(--color-accent);
}
.dashboard-list-main {
display: flex;
flex-direction: column;
gap: 0.15rem;
min-width: 0;
}
.dashboard-list-title {
font-weight: 600;
font-size: 0.92rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.dashboard-list-ref {
font-size: 0.78rem;
color: var(--color-text-muted);
font-family: var(--font-mono);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.dashboard-list-meta {
flex-shrink: 0;
}
.dashboard-urgency-badge {
display: inline-block;
padding: 0.2rem 0.6rem;
border-radius: 999px;
font-size: 0.72rem;
font-weight: 600;
white-space: nowrap;
}
.dashboard-urgency-overdue { background: #fee2e2; color: #b91c1c; }
.dashboard-urgency-today { background: #fef3c7; color: #92400e; }
.dashboard-urgency-urgent { background: #fef3c7; color: #b45309; }
.dashboard-urgency-soon { background: #ecfccb; color: #365314; }
.dashboard-appt-time {
font-family: var(--font-mono);
font-size: 0.82rem;
color: var(--color-text-muted);
white-space: nowrap;
}
.dashboard-termin-dot {
display: inline-block;
width: 0.55rem;
height: 0.55rem;
border-radius: 999px;
background: #94a3b8;
margin-right: 0.5rem;
vertical-align: middle;
}
.dashboard-termin-hearing { background: #b91c1c; }
.dashboard-termin-meeting { background: #2563eb; }
.dashboard-termin-consultation { background: #65a30d; }
.dashboard-termin-deadline_hearing { background: #b45309; }
.dashboard-empty {
padding: 1.5rem 0.5rem;
color: var(--color-text-muted);
font-size: 0.88rem;
font-style: italic;
}
/* --- Activity feed --- */
.dashboard-activity {
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius);
padding: 1.25rem 1.4rem;
box-shadow: var(--shadow);
margin-bottom: 3rem;
}
.dashboard-activity-list {
list-style: none;
margin: 0;
padding: 0;
}
.dashboard-activity-item {
display: grid;
grid-template-columns: 8.5rem 1fr;
gap: 0.75rem;
padding: 0.6rem 0;
border-bottom: 1px solid var(--color-border);
font-size: 0.88rem;
}
.dashboard-activity-item:last-child {
border-bottom: none;
}
.dashboard-activity-time {
font-family: var(--font-mono);
font-size: 0.78rem;
color: var(--color-text-muted);
white-space: nowrap;
}
.dashboard-activity-body {
display: inline;
}
.dashboard-activity-actor {
font-weight: 600;
margin-right: 0.3rem;
}
.dashboard-activity-action {
color: var(--color-text-muted);
margin-right: 0.3rem;
}
.dashboard-activity-akte {
font-family: var(--font-mono);
font-size: 0.82rem;
color: var(--color-accent);
text-decoration: none;
margin-right: 0.3rem;
}
.dashboard-activity-akte:hover {
text-decoration: underline;
}
.dashboard-activity-details {
color: var(--color-text-muted);
}
/* --- Responsive --- */
@media (max-width: 900px) {
.dashboard-summary-grid {
grid-template-columns: repeat(2, 1fr);
}
.dashboard-columns {
grid-template-columns: 1fr;
}
.dashboard-matter-stats {
grid-template-columns: repeat(3, 1fr);
}
.dashboard-activity-item {
grid-template-columns: 1fr;
gap: 0.2rem;
}
}
/* ============================================================================
* Phase F — Termine + CalDAV
* ============================================================================ */
/* Type colours match the dashboard set so dots/chips/badges stay coherent.
Keyed by termin_type so adding a new type only needs one block. */
.termin-dot {
display: inline-block;
width: 10px;
height: 10px;
border-radius: 50%;
background: #94a3b8;
margin-right: 0.4rem;
vertical-align: middle;
}
.termin-type-hearing { background: #b91c1c; color: #b91c1c; }
.termin-type-meeting { background: #2563eb; color: #2563eb; }
.termin-type-consultation { background: #65a30d; color: #65a30d; }
.termin-type-deadline_hearing { background: #b45309; color: #b45309; }
.termin-type-default { background: #94a3b8; color: #64748b; }
.termin-type-chip {
display: inline-block;
padding: 0.15rem 0.55rem;
border-radius: 999px;
font-size: 0.78rem;
font-weight: 600;
background: rgba(0, 0, 0, 0.04);
color: inherit;
}
.termin-type-chip.termin-type-hearing { background: rgba(185, 28, 28, 0.10); }
.termin-type-chip.termin-type-meeting { background: rgba(37, 99, 235, 0.10); }
.termin-type-chip.termin-type-consultation { background: rgba(101, 163, 13, 0.10); }
.termin-type-chip.termin-type-deadline_hearing { background: rgba(180, 83, 9, 0.12); }
.termin-type-badge {
display: inline-block;
padding: 0.2rem 0.6rem;
border-radius: 6px;
font-size: 0.78rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
background: rgba(0, 0, 0, 0.06);
color: #475569;
margin-bottom: 0.5rem;
}
.termin-type-badge.termin-type-hearing { background: rgba(185, 28, 28, 0.12); color: #b91c1c; }
.termin-type-badge.termin-type-meeting { background: rgba(37, 99, 235, 0.12); color: #2563eb; }
.termin-type-badge.termin-type-consultation { background: rgba(101, 163, 13, 0.12); color: #4d7c0f; }
.termin-type-badge.termin-type-deadline_hearing { background: rgba(180, 83, 9, 0.14); color: #92400e; }
.termin-personal-tag {
display: inline-block;
padding: 0.1rem 0.5rem;
border-radius: 4px;
background: rgba(0, 0, 0, 0.05);
color: #64748b;
font-size: 0.78rem;
}
/* Summary cards reuse .frist-summary-card; just colour them appropriately. */
.termin-card-today { border-left-color: #b45309; color: #b45309; }
.termin-card-week { border-left-color: #2563eb; color: #2563eb; }
.termin-card-later { border-left-color: #475569; color: #475569; }
.termin-card-today .frist-summary-dot { background: #b45309; }
.termin-card-week .frist-summary-dot { background: #2563eb; }
.termin-card-later .frist-summary-dot { background: #475569; }
.termin-cal-legend {
display: flex;
gap: 1.2rem;
flex-wrap: wrap;
margin: 0.5rem 0 1rem;
color: #475569;
font-size: 0.85rem;
}
.termin-cal-legend-item {
display: inline-flex;
align-items: center;
gap: 0.35rem;
}
/* Calendar popup: extra time column for termine (vs. the deadline popup). */
.frist-cal-popup-time {
color: #475569;
font-variant-numeric: tabular-nums;
margin-right: 0.5rem;
}
/* CalDAV settings page */
.caldav-status-card {
background: rgba(0, 0, 0, 0.02);
border: 1px solid rgba(0, 0, 0, 0.08);
border-radius: 8px;
padding: 0.8rem 1rem;
margin-bottom: 1.5rem;
}
.caldav-status-row {
display: flex;
gap: 0.6rem;
align-items: baseline;
}
.caldav-status-label {
color: #64748b;
font-size: 0.85rem;
min-width: 11rem;
}
.caldav-status-value {
font-weight: 500;
}
.caldav-status-error {
color: #b91c1c;
font-family: ui-monospace, "SF Mono", Menlo, monospace;
font-size: 0.85rem;
word-break: break-word;
}
.caldav-toggle-field {
margin-top: 0.5rem;
}
.caldav-toggle-label {
display: inline-flex;
align-items: center;
gap: 0.5rem;
cursor: pointer;
}
.caldav-actions {
display: flex;
gap: 0.6rem;
flex-wrap: wrap;
justify-content: flex-end;
}
.caldav-log-card {
margin-top: 2rem;
}
.caldav-log-card h2 {
font-size: 1.1rem;
margin-bottom: 0.6rem;
}
.caldav-log-table th,
.caldav-log-table td {
font-size: 0.85rem;
padding: 0.4rem 0.6rem;
}
/* ===== Settings page (t-paliad-022) ===== */
.settings-subhead {
font-size: 1rem;
font-weight: 600;
margin: 0 0 0.25rem;
}
.settings-sub-group {
margin-left: 1.5rem;
padding-top: 0.25rem;
border-left: 2px solid var(--color-border);
padding-left: 0.8rem;
transition: opacity 0.15s ease;
}
.settings-sub-group .form-field {
margin-bottom: 0.3rem;
}
/* ===== Notizen (polymorphic notes — Phase I) ===== */
.notiz-container {
display: flex;
flex-direction: column;
gap: 1rem;
}
.notiz-form {
display: flex;
flex-direction: column;
gap: 0.5rem;
padding: 0.75rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: var(--color-surface);
}
.notiz-form-editing {
border-color: var(--color-accent);
box-shadow: 0 0 0 2px rgba(101, 163, 13, 0.15);
}
.notiz-textarea {
width: 100%;
box-sizing: border-box;
font: inherit;
padding: 0.5rem 0.6rem;
border: 1px solid var(--color-border);
border-radius: var(--radius-sm, 4px);
background: var(--color-bg);
resize: vertical;
min-height: 3.5rem;
}
.notiz-textarea:focus {
outline: none;
border-color: var(--color-accent);
box-shadow: 0 0 0 2px rgba(101, 163, 13, 0.2);
}
.notiz-form-actions {
display: flex;
justify-content: flex-end;
gap: 0.5rem;
}
.notiz-list {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 0.6rem;
}
.notiz-card {
padding: 0.75rem 0.9rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: var(--color-surface);
box-shadow: var(--shadow);
position: relative;
}
.notiz-card-header {
display: flex;
align-items: center;
gap: 0.6rem;
margin-bottom: 0.4rem;
font-size: 0.8rem;
color: var(--color-text-muted);
}
.notiz-author {
font-weight: 600;
color: var(--color-text);
}
.notiz-time {
font-family: var(--font-mono);
font-size: 0.75rem;
}
.notiz-actions {
margin-left: auto;
display: flex;
gap: 0.25rem;
}
.notiz-action-btn {
background: transparent;
border: none;
padding: 0.25rem;
cursor: pointer;
color: var(--color-text-muted);
border-radius: 4px;
display: inline-flex;
align-items: center;
justify-content: center;
transition: background-color 0.15s, color 0.15s;
}
.notiz-action-btn:hover {
background: var(--color-bg);
color: var(--color-text);
}
.notiz-action-btn.notiz-action-danger:hover {
color: #dc2626;
}
.notiz-body {
font-size: 0.9rem;
line-height: 1.5;
color: var(--color-text);
white-space: pre-wrap;
word-break: break-word;
}
.notiz-body a {
color: var(--color-accent);
text-decoration: underline;
word-break: break-all;
}
.notiz-edited {
display: inline-block;
margin-top: 0.4rem;
font-size: 0.7rem;
color: var(--color-text-muted);
font-style: italic;
}
.notiz-empty {
text-align: center;
padding: 1.5rem 1rem;
color: var(--color-text-muted);
font-size: 0.9rem;
}
.frist-notes-section,
.termin-notes-section {
margin-top: 2rem;
}
.frist-section-heading {
font-size: 1.1rem;
margin: 0 0 0.75rem 0;
color: var(--color-text);
}
/* --- Invitation modal (sidebar) --- */
.invite-modal-body {
color: var(--color-text-muted);
font-size: 0.9rem;
margin: 0 0 1rem 0;
line-height: 1.5;
}
#invite-modal .modal-card {
max-width: 480px;
}
#invite-modal textarea {
font-family: var(--font-sans);
resize: vertical;
min-height: 5rem;
}
/* --- Global search (t-paliad-026) --------------------------------------- */
.sidebar-search {
position: relative;
display: flex;
align-items: center;
min-height: 2.5rem;
margin-bottom: 0.35rem;
overflow: hidden;
}
.sidebar-search-icon {
color: var(--color-text-muted);
pointer-events: none;
}
.sidebar-search-input {
flex: 1;
min-width: 0;
height: 2rem;
padding: 0 0.5rem;
font-size: 0.85rem;
font-family: var(--font-sans);
color: var(--color-text);
background: var(--color-bg);
border: 1px solid var(--color-border);
border-radius: 6px;
outline: none;
opacity: 0;
pointer-events: none;
transition: border-color 150ms ease, opacity 150ms ease;
margin-right: 0.75rem;
}
.sidebar.expanded .sidebar-search-input,
.sidebar.pinned .sidebar-search-input,
.sidebar.mobile-open .sidebar-search-input {
opacity: 1;
pointer-events: auto;
}
.sidebar-search-input:focus {
border-color: var(--color-accent);
}
.sidebar-search-input::-webkit-search-cancel-button {
cursor: pointer;
}
.sidebar-search-kbd {
position: absolute;
right: 1.25rem;
font-family: var(--font-mono, monospace);
font-size: 0.7rem;
padding: 0.05rem 0.35rem;
border: 1px solid var(--color-border);
border-radius: 3px;
color: var(--color-text-muted);
background: var(--color-bg);
opacity: 0;
pointer-events: none;
transition: opacity 150ms ease;
}
.sidebar.expanded .sidebar-search-kbd,
.sidebar.pinned .sidebar-search-kbd,
.sidebar.mobile-open .sidebar-search-kbd {
opacity: 1;
}
.sidebar-search-input:focus + .sidebar-search-kbd {
opacity: 0;
}
/* Results overlay: fixed to viewport, anchored just below the sidebar header
so it covers the nav items while results are visible. Width matches the
expanded sidebar on desktop and spills over slightly to fit long titles. */
.search-overlay {
position: fixed;
top: 6.75rem;
left: 0.5rem;
width: calc(var(--sidebar-expanded) - 1rem);
max-width: 420px;
max-height: calc(100vh - 8rem);
overflow-y: auto;
z-index: 55;
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: 8px;
box-shadow: var(--shadow-lg, 0 10px 30px rgba(0, 0, 0, 0.15));
padding: 0.35rem 0;
font-size: 0.88rem;
}
.search-group + .search-group {
border-top: 1px solid var(--color-border);
margin-top: 0.25rem;
padding-top: 0.25rem;
}
.search-group-header {
padding: 0.35rem 0.85rem 0.2rem;
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--color-text-muted);
}
.search-result {
display: flex;
align-items: center;
gap: 0.65rem;
padding: 0.45rem 0.85rem;
color: var(--color-text);
text-decoration: none;
cursor: pointer;
transition: background 120ms ease;
border-left: 3px solid transparent;
}
.search-result:hover,
.search-result.active {
background: rgba(0, 0, 0, 0.04);
border-left-color: var(--color-accent);
}
.search-result-icon {
flex-shrink: 0;
width: 18px;
height: 18px;
color: var(--color-text-muted);
display: flex;
align-items: center;
justify-content: center;
}
.search-result-icon svg {
width: 16px;
height: 16px;
}
.search-result-body {
display: flex;
flex-direction: column;
min-width: 0;
flex: 1;
}
.search-result-title {
font-weight: 500;
color: var(--color-text);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.search-result-subtitle {
font-size: 0.78rem;
color: var(--color-text-muted);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.search-result mark {
background: transparent;
color: inherit;
font-weight: 700;
padding: 0;
}
.search-empty {
padding: 1rem 0.85rem;
color: var(--color-text-muted);
text-align: center;
font-size: 0.85rem;
}
/* Mobile: full-width overlay below the hamburger-triggered drawer. When the
sidebar is closed on mobile the search input is hidden inside the drawer;
the overlay is still fixed-positioned so a focus-via-shortcut (no "/" on
phones, but theoretically) or tap-in-drawer would render correctly. */
@media (max-width: 1023px) {
.search-overlay {
left: 0.5rem;
right: 0.5rem;
width: auto;
max-width: none;
top: 6.75rem;
}
.sidebar-search-kbd {
display: none;
}
}
/* --- Changelog / What's New (t-paliad-027) --- */
.sidebar-changelog {
position: relative;
}
.sidebar-badge {
position: absolute;
top: 0.4rem;
left: calc(var(--sidebar-collapsed) - 1rem);
min-width: 1rem;
height: 1rem;
padding: 0 0.3rem;
border-radius: 999px;
background: var(--color-accent);
color: #fff;
font-size: 0.65rem;
font-weight: 700;
line-height: 1rem;
text-align: center;
box-shadow: 0 0 0 2px var(--color-bg, #fff);
pointer-events: none;
transition: left 150ms ease;
}
.sidebar.expanded .sidebar-badge,
.sidebar.pinned .sidebar-badge {
left: auto;
right: 1rem;
top: 50%;
transform: translateY(-50%);
}
.changelog-list {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 1.75rem;
max-width: 44rem;
}
.changelog-entry {
border-bottom: 1px solid var(--color-border, #e5e7eb);
padding-bottom: 1.75rem;
}
.changelog-entry:last-child {
border-bottom: none;
padding-bottom: 0;
}
.changelog-meta {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 0.4rem;
}
.changelog-date {
color: var(--color-text-muted);
font-size: 0.8rem;
font-variant-numeric: tabular-nums;
}
.changelog-tag {
font-size: 0.7rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.04em;
padding: 0.15rem 0.55rem;
border-radius: 999px;
}
.changelog-tag-feature {
background: rgba(101, 163, 13, 0.14);
color: var(--color-accent);
}
.changelog-tag-content {
background: rgba(37, 99, 235, 0.12);
color: #2563eb;
}
.changelog-tag-fix {
background: rgba(180, 83, 9, 0.14);
color: #92400e;
}
.changelog-title {
font-size: 1.05rem;
font-weight: 600;
margin: 0 0 0.35rem;
letter-spacing: -0.01em;
}
.changelog-body {
color: var(--color-text-muted);
line-height: 1.55;
margin: 0;
font-size: 0.92rem;
}
.changelog-empty {
color: var(--color-text-muted);
font-style: italic;
padding: 1.5rem 0;
}
/* ============================================================
* Agenda — unified timeline across projects
* ============================================================ */
.agenda-controls {
display: flex;
flex-wrap: wrap;
gap: 1.5rem 2rem;
align-items: flex-start;
margin: 1.5rem 0 1.25rem 0;
}
.agenda-filter-group {
display: flex;
flex-direction: column;
gap: 0.4rem;
}
.agenda-filter-label {
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.03em;
color: var(--color-text-muted, #6b7280);
}
.agenda-chip-row {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
}
.agenda-chip {
appearance: none;
background: var(--color-surface-subtle, #f3f4f6);
border: 1px solid transparent;
border-radius: 999px;
padding: 0.35rem 0.85rem;
font-size: 0.85rem;
font-weight: 500;
color: var(--color-text, #1f2937);
cursor: pointer;
transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.agenda-chip:hover { background: var(--color-surface, #e5e7eb); }
.agenda-chip-active {
background: var(--color-accent-lime, #c6f41c);
border-color: rgba(0,0,0,0.1);
color: #1a1a1a;
}
.agenda-loading {
padding: 1rem 0;
color: var(--color-text-muted, #6b7280);
font-style: italic;
}
.agenda-timeline {
display: flex;
flex-direction: column;
gap: 1.75rem;
margin-top: 0.5rem;
}
.agenda-day { }
.agenda-day-heading {
display: flex;
align-items: baseline;
gap: 0.7rem;
font-size: 1.1rem;
font-weight: 600;
margin: 0 0 0.6rem 0;
padding-bottom: 0.35rem;
border-bottom: 1px solid var(--color-border, #e5e7eb);
}
.agenda-day-relative { color: var(--color-text, #111827); }
.agenda-day-full {
color: var(--color-text-muted, #6b7280);
font-weight: 400;
font-size: 0.95rem;
}
.agenda-items {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 0.4rem;
}
.agenda-item-link {
display: grid;
grid-template-columns: 2rem 1fr auto;
gap: 0.7rem;
align-items: center;
padding: 0.6rem 0.85rem;
border-radius: 8px;
border: 1px solid var(--color-border, #e5e7eb);
background: var(--color-surface-0, #ffffff);
text-decoration: none;
color: inherit;
transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.agenda-item-link:hover {
background: var(--color-surface-subtle, #f9fafb);
border-color: #d1d5db;
}
.agenda-item-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2rem;
height: 2rem;
border-radius: 50%;
background: var(--color-surface-subtle, #f3f4f6);
color: var(--color-text-muted, #6b7280);
}
.agenda-item-icon svg { width: 1.1rem; height: 1.1rem; }
.agenda-item-main {
display: flex;
flex-direction: column;
gap: 0.2rem;
min-width: 0;
}
.agenda-item-headline {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
align-items: baseline;
font-size: 0.95rem;
}
.agenda-item-type-label {
font-weight: 600;
color: var(--color-text-muted, #6b7280);
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.02em;
}
.agenda-item-title {
font-weight: 600;
color: var(--color-text, #111827);
overflow: hidden;
text-overflow: ellipsis;
}
.agenda-item-sub {
display: flex;
flex-wrap: wrap;
gap: 0.6rem;
font-size: 0.82rem;
color: var(--color-text-muted, #6b7280);
}
.agenda-item-project {
color: var(--color-text-muted, #6b7280);
text-decoration: none;
border-bottom: 1px dotted currentColor;
}
.agenda-item-project:hover {
color: var(--color-text, #111827);
}
.agenda-item-time { font-variant-numeric: tabular-nums; }
.agenda-item-location::before { content: "· "; }
.agenda-item-meta {
display: flex;
align-items: center;
}
.agenda-item-urgency {
display: inline-block;
padding: 0.2rem 0.55rem;
border-radius: 999px;
font-size: 0.72rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.03em;
white-space: nowrap;
}
/* Urgency colour system — shares the red/amber/green vocabulary with the
* Fristen page (--frist-red / --frist-amber / --frist-green) so a user who
* learned the traffic lights there reads the agenda without relearning. */
.agenda-item-overdue .agenda-item-urgency { background: #fee2e2; color: #b91c1c; }
.agenda-item-overdue .agenda-item-icon { background: #fee2e2; color: #b91c1c; }
.agenda-item-overdue .agenda-item-link { border-left: 3px solid var(--frist-red, #ef4444); }
.agenda-item-today .agenda-item-urgency { background: #fee2e2; color: #b91c1c; }
.agenda-item-today .agenda-item-icon { background: #fee2e2; color: #b91c1c; }
.agenda-item-today .agenda-item-link { border-left: 3px solid var(--frist-red, #ef4444); }
.agenda-item-tomorrow .agenda-item-urgency { background: #fef3c7; color: #92400e; }
.agenda-item-tomorrow .agenda-item-icon { background: #fef3c7; color: #92400e; }
.agenda-item-tomorrow .agenda-item-link { border-left: 3px solid var(--frist-amber, #f59e0b); }
.agenda-item-this_week .agenda-item-urgency { background: #fef3c7; color: #b45309; }
.agenda-item-this_week .agenda-item-icon { background: #fef3c7; color: #b45309; }
.agenda-item-this_week .agenda-item-link { border-left: 3px solid var(--frist-amber, #f59e0b); }
.agenda-item-later .agenda-item-urgency { background: #ecfccb; color: #365314; }
.agenda-item-later .agenda-item-icon { background: #ecfccb; color: #365314; }
.agenda-item-later .agenda-item-link { border-left: 3px solid var(--frist-green, #22c55e); }
/* ---------------------------------------------------------------------------
* Team directory (/team) — t-paliad-029
* Browsable list of all Paliad colleagues, grouped by office or department.
* --------------------------------------------------------------------------- */
.team-controls {
display: flex;
flex-wrap: wrap;
gap: 1rem;
align-items: center;
margin-bottom: 1rem;
}
.team-controls .glossar-search-wrap {
flex: 1 1 280px;
min-width: 240px;
}
.team-toggle {
display: inline-flex;
gap: 0.5rem;
}
.team-filter-row {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-bottom: 1.5rem;
}
.team-group {
margin-bottom: 2rem;
}
.team-group-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 1rem;
padding-bottom: 0.5rem;
margin-bottom: 1rem;
border-bottom: 1px solid var(--color-border, #e5e5ed);
}
.team-group-header h2 {
margin: 0;
font-size: 1.25rem;
color: var(--color-text, #1a1a2e);
}
.team-group-sub {
font-size: 0.85rem;
color: var(--color-text-muted, #64647a);
margin-top: 0.15rem;
}
.team-dept-lead {
margin-top: 0.35rem;
font-size: 0.85rem;
color: var(--color-text-muted, #64647a);
}
.team-dept-lead strong {
color: var(--color-text, #1a1a2e);
}
.team-dept-lead a {
color: var(--color-accent, #65a30d);
text-decoration: none;
}
.team-dept-lead a:hover {
text-decoration: underline;
}
.team-group-count {
flex-shrink: 0;
background: var(--color-bg-muted, #f4f4f7);
color: var(--color-text-muted, #64647a);
border-radius: 999px;
padding: 0.15rem 0.7rem;
font-size: 0.85rem;
font-weight: 600;
align-self: center;
}
.team-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 0.85rem;
}
.team-card {
display: flex;
gap: 0.85rem;
align-items: flex-start;
padding: 0.9rem 1rem;
background: #fff;
border: 1px solid var(--color-border, #e5e5ed);
border-radius: 12px;
transition: border-color 0.15s, box-shadow 0.15s;
}
.team-card:hover {
border-color: var(--color-accent, #65a30d);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.team-avatar {
flex-shrink: 0;
width: 40px;
height: 40px;
border-radius: 50%;
background: var(--color-accent-light, #84cc16);
color: #1a2e05;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 0.85rem;
letter-spacing: 0.02em;
}
.team-card-body {
min-width: 0;
flex: 1;
}
.team-card-name {
font-weight: 600;
color: var(--color-text, #1a1a2e);
line-height: 1.2;
overflow-wrap: anywhere;
}
.team-card-role {
font-size: 0.85rem;
color: var(--color-text-muted, #64647a);
margin-top: 0.15rem;
overflow-wrap: anywhere;
}
.team-card-meta {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
margin-top: 0.5rem;
font-size: 0.78rem;
align-items: center;
}
.team-office-badge {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.15rem 0.5rem;
background: #ecfccb;
color: #365314;
border-radius: 999px;
font-weight: 500;
}
.team-office-badge svg {
flex-shrink: 0;
}
.team-office-extra {
color: var(--color-text-muted, #64647a);
}
.team-dept-tag {
display: inline-block;
padding: 0.15rem 0.5rem;
background: var(--color-bg-muted, #f4f4f7);
color: var(--color-text-muted, #64647a);
border-radius: 999px;
}
.team-card-email {
display: inline-flex;
align-items: center;
gap: 0.35rem;
margin-top: 0.6rem;
font-size: 0.82rem;
color: var(--color-accent, #65a30d);
text-decoration: none;
overflow-wrap: anywhere;
word-break: break-all;
}
.team-card-email:hover {
text-decoration: underline;
}
.team-card-email svg {
flex-shrink: 0;
}
@media (max-width: 600px) {
.team-grid {
grid-template-columns: 1fr;
}
.team-controls {
flex-direction: column;
align-items: stretch;
}
.team-toggle {
justify-content: stretch;
}
.team-toggle .filter-pill {
flex: 1 1 0;
text-align: center;
}
}
/* --- BottomNav (mobile, <768px) --- */
.bottom-nav {
display: none;
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 30;
background: var(--color-surface);
border-top: 1px solid var(--color-border);
box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.04);
padding-bottom: env(safe-area-inset-bottom);
transition: transform 200ms ease-out;
}
.bottom-nav-slot {
flex: 1 1 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.15rem;
height: var(--bottom-nav-height);
color: var(--color-text-muted);
text-decoration: none;
background: none;
border: none;
font-family: var(--font-sans);
font-size: 0.65rem;
font-weight: 500;
cursor: pointer;
padding: 0.25rem 0.1rem 0.35rem;
position: relative;
-webkit-tap-highlight-color: transparent;
}
.bottom-nav-slot.active {
color: var(--color-accent);
}
.bottom-nav-slot.active::before {
content: "";
position: absolute;
top: 0;
left: 25%;
right: 25%;
height: 3px;
background: var(--color-accent);
border-radius: 0 0 2px 2px;
}
.bottom-nav-icon {
display: flex;
align-items: center;
justify-content: center;
}
.bottom-nav-icon svg {
width: 22px;
height: 22px;
}
.bottom-nav-label {
line-height: 1;
letter-spacing: 0.01em;
}
.bottom-nav-badge {
position: absolute;
top: 4px;
right: calc(50% - 18px);
min-width: 16px;
height: 16px;
padding: 0 4px;
border-radius: 8px;
background: var(--color-accent);
color: #fff;
font-size: 0.65rem;
font-weight: 700;
line-height: 16px;
text-align: center;
box-shadow: 0 0 0 2px var(--color-surface);
}
.bottom-nav-badge-overdue {
background: #dc2626;
animation: bn-pulse 1800ms ease-in-out infinite;
}
@keyframes bn-pulse {
0%, 100% { box-shadow: 0 0 0 2px var(--color-surface); }
50% { box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 5px rgba(220, 38, 38, 0.25); }
}
/* Center [+] slot — visually elevated lime circle */
.bottom-nav-add {
color: var(--color-text-muted);
}
.bottom-nav-add-circle {
display: flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
border-radius: 50%;
background: var(--color-accent);
color: #fff;
margin-top: -10px;
box-shadow: var(--shadow-md);
transition: background 150ms ease, transform 100ms ease;
}
.bottom-nav-add:active .bottom-nav-add-circle {
background: var(--color-accent-light);
transform: scale(0.95);
}
.bottom-nav-add-circle svg {
width: 22px;
height: 22px;
}
/* Hide BottomNav when keyboard is open (visualViewport watcher) */
body.keyboard-open .bottom-nav {
transform: translateY(120%);
}
/* --- Quick-Add slide-up sheet --- */
dialog.quick-add-sheet {
border: none;
padding: 0;
margin: 0;
background: transparent;
color: var(--color-text);
max-width: none;
max-height: none;
width: 100%;
height: 100%;
}
dialog.quick-add-sheet[open] {
position: fixed;
inset: 0;
width: 100%;
height: 100%;
background: transparent;
display: flex;
align-items: flex-end;
justify-content: center;
overflow: hidden;
}
dialog.quick-add-sheet::backdrop {
background: rgba(0, 0, 0, 0.5);
}
.quick-add-card {
width: 100%;
max-width: 480px;
background: var(--color-surface);
border-radius: 16px 16px 0 0;
box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
padding: 0.5rem 1rem calc(1rem + env(safe-area-inset-bottom));
display: flex;
flex-direction: column;
gap: 0.25rem;
transform: translateY(100%);
transition: transform 220ms ease-out;
}
.quick-add-sheet.is-open .quick-add-card {
transform: translateY(0);
}
.quick-add-handle {
width: 36px;
height: 4px;
border-radius: 2px;
background: var(--color-border);
margin: 0.5rem auto 0.75rem;
}
.quick-add-title {
font-size: 0.85rem;
font-weight: 600;
color: var(--color-text-muted);
text-transform: uppercase;
letter-spacing: 0.06em;
margin: 0 0.25rem 0.25rem;
}
.quick-add-row {
display: flex;
align-items: center;
gap: 0.85rem;
padding: 0.85rem 0.5rem;
border-radius: var(--radius);
color: var(--color-text);
text-decoration: none;
cursor: pointer;
transition: background 100ms ease;
}
.quick-add-row:hover,
.quick-add-row:active {
background: rgba(0, 0, 0, 0.04);
}
.quick-add-icon {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50%;
background: rgba(101, 163, 13, 0.1);
color: var(--color-accent);
flex-shrink: 0;
}
.quick-add-icon svg {
width: 20px;
height: 20px;
}
.quick-add-row-label {
display: flex;
flex-direction: column;
gap: 0.15rem;
min-width: 0;
}
.quick-add-row-title {
font-weight: 600;
font-size: 0.95rem;
}
.quick-add-row-sub {
font-size: 0.78rem;
color: var(--color-text-muted);
}
.quick-add-cancel {
margin-top: 0.5rem;
padding: 0.85rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background: var(--color-surface);
font-family: var(--font-sans);
font-size: 0.95rem;
font-weight: 600;
color: var(--color-text);
cursor: pointer;
}
.quick-add-cancel:hover {
background: rgba(0, 0, 0, 0.03);
}
/* --- Phone breakpoint (<768px): show BottomNav, hide legacy hamburger --- */
@media (max-width: 767px) {
.bottom-nav {
display: flex;
}
.sidebar-hamburger {
display: none !important;
}
body.has-sidebar main {
padding-bottom: calc(var(--bottom-nav-height) + 1rem + env(safe-area-inset-bottom));
}
}