:root{--primary:#2563eb;--bg:#f4f7fb;--card:#fff;--text:#172033;--muted:#68758a;--border:#e5eaf2;--radius:18px;--shadow:0 18px 50px rgba(20,35,60,.08)}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text)}a{color:inherit;text-decoration:none}.shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.sidebar{background:#0f172a;color:#fff;padding:24px;position:sticky;top:0;height:100vh}.brand{font-size:24px;font-weight:800;margin-bottom:30px}.brand span{color:#60a5fa}.sidebar nav{display:grid;gap:8px}.sidebar a{padding:12px 14px;border-radius:12px;color:#cbd5e1}.sidebar a:hover{background:rgba(255,255,255,.08);color:#fff}.main{min-width:0}.topbar{height:72px;background:rgba(255,255,255,.82);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:2}.content{padding:28px}.grid{display:grid;grid-template-columns:repeat(12,1fr);gap:18px}.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}.span4{grid-column:span 4}.span6{grid-column:span 6}.span8{grid-column:span 8}.span12{grid-column:span 12}.btn{display:inline-flex;gap:8px;align-items:center;border:0;border-radius:12px;padding:11px 15px;background:var(--primary);color:#fff;font-weight:700;cursor:pointer}.btn.secondary{background:#e8eef9;color:#172033}.btn.danger{background:#ef4444}.input,select,textarea{width:100%;border:1px solid var(--border);border-radius:12px;padding:12px;background:#fff;margin:6px 0 14px;font:inherit}label{font-weight:700;font-size:14px}.table{width:100%;border-collapse:separate;border-spacing:0 10px}.table td,.table th{text-align:left;padding:14px;background:#fff;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.table td:first-child,.table th:first-child{border-left:1px solid var(--border);border-radius:12px 0 0 12px}.table td:last-child,.table th:last-child{border-right:1px solid var(--border);border-radius:0 12px 12px 0}.alert{padding:14px;border-radius:14px;margin-bottom:16px}.alert.success{background:#dcfce7}.alert.error{background:#fee2e2}.builder{display:grid;grid-template-columns:280px 1fr 300px;gap:18px}.module-list,.dropzone{min-height:420px}.module{padding:14px;margin:10px 0;border:1px solid var(--border);border-radius:14px;background:#fff;cursor:grab;display:flex;justify-content:space-between;gap:10px}.dropzone{border:2px dashed #cbd5e1;border-radius:18px;padding:14px;background:#f8fafc}.pill{font-size:12px;border-radius:999px;background:#eef2ff;color:#3730a3;padding:4px 8px}.login{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#eff6ff,#f8fafc)}.login-card{max-width:420px;width:100%}.tenant-wrap{min-height:100vh}.tenant-header{background:#fff;border-bottom:1px solid var(--border);padding:18px 24px;display:flex;align-items:center;justify-content:space-between}.tenant-main{display:grid;grid-template-columns:250px 1fr}.tenant-nav{padding:22px;background:#fff;border-right:1px solid var(--border);min-height:calc(100vh - 72px)}.tenant-nav a{display:block;padding:12px;border-radius:12px;color:#334155}.tenant-nav a:hover{background:#f1f5f9}.module-card{border-left:5px solid var(--primary)}@media(max-width:900px){.shell{grid-template-columns:1fr}.sidebar{position:relative;height:auto}.sidebar nav{grid-template-columns:repeat(3,1fr)}.builder,.tenant-main{grid-template-columns:1fr}.span4,.span6,.span8{grid-column:span 12}.content{padding:16px}.topbar{padding:0 16px}.tenant-nav{min-height:0;border-right:0;border-bottom:1px solid var(--border)}}@media(max-width:560px){.sidebar nav{grid-template-columns:1fr}.table{font-size:14px}.table td,.table th{padding:10px}.btn{width:100%;justify-content:center}}
.content-list{display:grid;gap:10px;margin-top:12px}.content-list article{border:1px solid var(--border);border-radius:14px;padding:12px;background:#f8fafc}.content-list p{margin:.35rem 0 0;color:var(--muted)}.mobile-tabs{display:none;position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--border);padding:8px;gap:6px;z-index:10}.mobile-tabs a{flex:1;text-align:center;font-size:12px;padding:10px 4px;border-radius:12px;background:#f8fafc;color:#334155}.hero{background:linear-gradient(135deg,rgba(37,99,235,.13),#fff)}@media(max-width:700px){.mobile-tabs{display:flex}.tenant-wrap{padding-bottom:68px}.tenant-nav{display:none}.tenant-header{position:sticky;top:0;z-index:5}.card{padding:16px}}
.invoice-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.brand.big{font-size:28px}.totals{display:flex;justify-content:flex-end;margin-top:18px}.totals table{min-width:320px;border-collapse:collapse}.totals td{padding:8px 12px;border-bottom:1px solid #e5e7eb}.totals td:last-child{text-align:right}.totals .sum td{font-weight:800;font-size:1.05rem}.muted{color:#64748b;font-size:.9rem}.no-print{margin-bottom:12px}@media print{.sidebar,.topbar,.no-print{display:none!important}.shell{display:block}.main{margin:0}.content{padding:0}.card{box-shadow:none;border:0}.invoice{padding:0}body{background:#fff}}
.alert.error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca;padding:12px;border-radius:14px;margin:12px 0}.card small{display:block;color:#64748b;margin:6px 0 14px}.input{box-sizing:border-box}
.tenant-brand{margin:0;color:#0f172a}.tenant-subtitle{margin:.35rem 0 0;color:#64748b}.tenant-header-actions{display:flex;gap:12px;align-items:center}.tenant-nav a.is-active,.mobile-tabs a.is-active{background:rgba(37,99,235,.12);color:#1d4ed8;font-weight:700}.intranet-grid{align-items:start}.module-hero{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.hero-side{display:flex;align-items:center}.hero-chip{display:inline-flex;align-items:center;padding:10px 12px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:13px;font-weight:700}.eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:800;color:#64748b;margin:0 0 10px}.quick-links{display:grid;gap:10px}.quick-link{display:block;padding:12px 14px;border-radius:14px;background:#f8fafc;border:1px solid var(--border);font-weight:700}.quick-link:hover{border-color:#bfdbfe;background:#eff6ff}.stack-list{display:grid;gap:12px}.stack-list article{padding:12px 14px;border:1px solid var(--border);border-radius:14px;background:#f8fafc}.stack-list p{margin:.4rem 0 0;color:#64748b}.home-welcome+.home-welcome{margin-top:18px;padding-top:18px;border-top:1px solid var(--border)}.module-entry{display:flex;flex-direction:column;gap:14px}.module-entry-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.module-entry-head h3{margin:0 0 6px}.meta-line{margin:0;color:#64748b;font-size:13px}.rich-copy{line-height:1.65;color:#334155}.empty-module{text-align:left}.schedule-entry+.schedule-entry{margin-top:18px}.schedule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}.label{display:block;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#64748b;margin-bottom:6px}.compact-table td,.compact-table th{background:#fff}.compact-table th{width:32%}@media(max-width:900px){.tenant-header-actions,.module-hero,.module-entry-head{flex-direction:column;align-items:flex-start}.schedule-grid{grid-template-columns:1fr}}
.schedule-shell{padding:0;overflow:hidden;background:linear-gradient(180deg,#fff 0,#f7fbff 100%)}.schedule-topline{height:4px;background:var(--schedule-accent,#e51b4d)}.schedule-heading{padding:28px 28px 8px}.schedule-heading h1{margin:0;color:var(--schedule-header-bg,#0d4677);font-size:58px;line-height:1}.schedule-range{margin:10px 0 0;color:var(--schedule-header-bg,#0d4677);font-weight:800;font-size:18px}.schedule-actions{display:flex;flex-wrap:wrap;gap:10px;padding:14px 28px 22px}.schedule-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--schedule-header-bg,#0d4677);background:var(--schedule-header-bg,#0d4677);color:var(--schedule-header-text,#fff);font-weight:800;padding:12px 18px;border-radius:0;cursor:pointer}.schedule-btn-light{background:#fff;color:var(--schedule-header-bg,#0d4677);border-color:var(--schedule-border,#9fb5ca)}.schedule-editor{padding:0 28px 26px;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.9fr);gap:18px;align-items:start}.schedule-settings-panel{margin:0}.schedule-settings-toggle{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border:1px solid var(--schedule-border,#d6e0ea);border-radius:18px;background:#f8fbff;color:var(--schedule-header-bg,#0d4677);font-weight:800;cursor:pointer}.schedule-settings-toggle::-webkit-details-marker{display:none}.schedule-settings-toggle::after{content:"Ausblenden";font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#64748b}.schedule-settings-panel:not([open]) .schedule-settings-toggle::after{content:"Einblenden"}.schedule-settings-panel[open] .schedule-settings-toggle{border-radius:18px 18px 0 0;border-bottom-color:transparent}.schedule-settings-panel[open] .schedule-settings-form{border-top-left-radius:0;border-top-right-radius:0}.schedule-editor-form{background:#f8fbff;border:1px solid var(--schedule-border,#d6e0ea);padding:20px;border-radius:20px}.schedule-editor-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:16px}.schedule-editor-form h2{margin:0;color:var(--schedule-header-bg,#0d4677)}.schedule-editor-form p{margin:8px 0 0;color:#64748b;line-height:1.5}.schedule-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.schedule-color-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:16px}.schedule-field{display:flex;flex-direction:column;gap:8px;margin:0}.schedule-field .input,.schedule-field select,.schedule-field textarea{margin:0}.schedule-color-input{width:100%;height:52px;border:1px solid var(--schedule-border,#d6e0ea);border-radius:14px;padding:6px;background:#fff;cursor:pointer;margin:0}.schedule-color-input::-webkit-color-swatch-wrapper{padding:0}.schedule-color-input::-webkit-color-swatch{border:0;border-radius:10px}.schedule-row-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 18px}.schedule-row-setting{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:14px;padding:16px;border:1px solid var(--schedule-border,#d6e0ea);border-radius:18px;background:#fff}.schedule-row-setting-title{grid-column:1/-1;font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#64748b}.schedule-board-wrap{padding:18px 22px 22px}.schedule-board{width:100%;border-collapse:collapse;table-layout:fixed;background:#fff;border:1px solid var(--schedule-border,#d2deea);box-shadow:0 0 0 1px var(--schedule-border,#d2deea) inset}.schedule-board th,.schedule-board td{border:1px solid var(--schedule-border,#cfe0ec);padding:12px 10px;vertical-align:top}.schedule-board thead th{background:var(--schedule-header-bg,#0d4677);color:var(--schedule-header-text,#fff);text-align:center;font-size:18px}.schedule-corner{width:146px;background:var(--schedule-header-bg,#0d4677)!important}.schedule-day-name,.schedule-day-date{display:block;font-weight:800}.schedule-day-date{font-size:16px}.schedule-board tbody th{background:var(--schedule-row-label-bg,#dbe8f2);color:var(--schedule-row-label-text,#0d4677);text-align:left;font-size:20px;font-weight:800;vertical-align:middle;padding:20px 16px}.schedule-board td{height:96px;background:var(--schedule-row-fill,#f8fafc)}.schedule-row td{background:var(--schedule-row-fill,#f8fafc)}.schedule-empty{color:#7c8b9b;font-size:24px;line-height:1}.schedule-shift{position:relative;background:rgba(255,255,255,.92);border:1px solid var(--schedule-border,#cfe0ec);border-left:4px solid var(--schedule-header-bg,#0d4677);box-shadow:0 1px 0 rgba(0,0,0,.05);padding:10px 12px;display:flex;flex-direction:column;gap:4px;max-width:220px}.schedule-shift strong{font-size:18px;color:#0b2742}.schedule-shift span{font-size:15px;color:#0b2742}.schedule-shift small{color:#64748b;line-height:1.4}.schedule-delete{position:absolute;top:6px;right:8px;font-size:22px;font-weight:800;color:var(--schedule-accent,#d11a4c)}.schedule-delete:hover{color:#991b1b}.schedule-shell .hero-chip{background:#edf4fb;color:var(--schedule-header-bg,#0d4677)}@media(max-width:1240px){.schedule-editor{grid-template-columns:1fr}.schedule-row-settings{grid-template-columns:1fr 1fr}}@media(max-width:1100px){.schedule-editor-grid,.schedule-color-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-heading h1{font-size:42px}.schedule-board tbody th{font-size:16px}}@media(max-width:760px){.schedule-actions{padding:16px}.schedule-heading{padding:20px 16px 8px}.schedule-board-wrap{padding:14px;overflow:auto}.schedule-editor{padding:0 16px 16px}.schedule-editor-grid,.schedule-color-grid,.schedule-row-settings,.schedule-row-setting{grid-template-columns:1fr}.schedule-btn{width:auto}.schedule-board{min-width:980px}}
.schedule-remove-option{grid-column:1/-1;display:flex;align-items:center;gap:10px;font-size:13px;color:#8b1e3f;margin-top:2px}.schedule-remove-option input{width:18px;height:18px;margin:0}.schedule-row-add{margin:0 0 18px;padding:16px;border:1px dashed var(--schedule-border,#d6e0ea);border-radius:18px;background:#fff}.schedule-row-add-grid{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:14px;margin-top:12px}@media(max-width:760px){.schedule-row-add-grid{grid-template-columns:1fr}}
