:root{--accent:#a11514;--ink:#101923;--muted:#66727d;--line:#dce5e8;--surface:#fff;--bg:#f1f5f6}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px}.bar{height:42px;background:#153638;color:#fff;padding:0 20px;display:flex;align-items:center;justify-content:space-between;font-size:14px}.bar nav{display:flex;gap:6px}.bar a{color:#fff}.wrap{width:min(660px,calc(100% - 32px));margin:34px auto 60px}.team-wrap{width:min(1040px,calc(100% - 32px))}.card{background:var(--surface);border:1px solid var(--line);border-radius:16px;margin:0 0 16px;overflow:hidden}.card summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;padding:20px 26px;min-height:64px}.card summary::-webkit-details-marker{display:none}.card summary h2{font-size:19px;margin:0}.card[open] summary{border-bottom:1px solid var(--line)}.panel{padding:22px 26px}.panel>p:first-child{margin-top:0}.field{display:grid;gap:7px}.field span,.rgb label{font-weight:700;font-size:14px}.field small,.meta{color:var(--muted);line-height:1.5}.field input,.field textarea,.field select,.rgb input{width:100%;min-height:44px;border:1px solid #cbd6da;border-radius:10px;padding:10px 12px;font:inherit;background:#fff}.field textarea{min-height:90px;resize:vertical}button{border:0;border-radius:10px;background:var(--accent);color:#fff;font:700 15px inherit;padding:12px 18px;cursor:pointer}.danger{background:#fff;color:#a11514;border:1px solid #d9a7a6}.color-line{display:grid;grid-template-columns:72px 1fr 150px;gap:14px;align-items:end}.color-line input[type=color]{width:72px;height:48px;padding:3px;border:1px solid #cbd6da;border-radius:10px}.preview{height:44px;border-radius:10px;background:var(--accent);color:#fff;display:grid;place-items:center;font-weight:800}.rgb{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0}.rgb label{display:grid;gap:6px}.invite-grid{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;margin:18px 0}.license{font-weight:800}.employee,.invite,.audit{border-top:1px solid var(--line);padding:14px 0}.employee:first-child,.invite:first-child,.audit:first-child{border-top:0}.employee{display:flex;justify-content:space-between;gap:16px;align-items:center}.employee .meta{font-size:14px}.actions{display:flex;gap:9px;flex-wrap:wrap}.intro{margin-bottom:18px}.intro h1{margin:0 0 5px}.member summary{align-items:flex-start}.member-title{display:flex;flex-direction:column;gap:4px}.member-title small{color:var(--muted);font-weight:500}.profile-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.profile-grid .wide{grid-column:1/-1}.permissions{display:flex;gap:16px;flex-wrap:wrap;margin:16px 0}.permissions label{display:flex;gap:7px;align-items:center}.msg{padding:12px 14px;border-radius:10px;background:#eaf6ef;color:#176c36;margin-bottom:14px}.msg.error{background:#fdecec;color:#972226}.current-logo{max-width:260px;max-height:90px;object-fit:contain;margin:5px 0 16px}.empty{color:var(--muted)}@media(max-width:720px){.bar{height:auto;padding:12px 16px;align-items:flex-start;gap:8px}.bar nav{flex-wrap:wrap;justify-content:flex-end}.color-line,.invite-grid,.profile-grid{grid-template-columns:1fr}.profile-grid .wide{grid-column:auto}.employee{align-items:flex-start;flex-direction:column}.wrap{margin-top:22px}.panel,.card summary{padding-left:18px;padding-right:18px}}

/* Darstellungsfarbe analog KWL Assist */
#themeCard .panel{padding:36px 48px 46px}
#themeCard .panel>p:first-child{font-size:20px;margin:0 0 30px;line-height:1.45}
.theme-layout{display:grid;grid-template-columns:460px minmax(0,1fr);gap:44px;align-items:start}
.wheel-column{display:grid;gap:32px;justify-items:start}
.color-wheel-wrap{position:relative;width:460px;height:460px;touch-action:none}
#colorWheel{display:block;width:460px;height:460px;border-radius:50%;cursor:crosshair}
#wheelMarker{position:absolute;width:29px;height:29px;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 2px #17222b;transform:translate(-50%,-50%);pointer-events:none}
.theme-save{min-height:74px;padding:0 30px;border-radius:16px;background:#10938d;font-size:18px;font-weight:900}
.theme-save:hover{background:#087c77}
.color-controls{padding-top:46px}
.color-help{color:#5f6b70;font-size:19px;margin:0 0 22px;line-height:1.45}
.brightness-label{display:block;font-size:18px;font-weight:800;margin-bottom:16px}
.brightness-label strong{font:inherit}
.brightness{width:100%;height:8px;accent-color:#10938d;margin:0 0 34px}
.hex-row{display:grid;grid-template-columns:98px minmax(180px,216px);gap:18px;align-items:end;margin-bottom:24px}
.color-swatch{width:98px;height:76px;padding:10px;border:1px solid #bfd0d4;border-radius:16px;background:var(--accent);background-clip:content-box}
.hex-field span{font-size:18px}.hex-field input{height:70px;font-weight:800;font-size:18px;border-radius:16px}
#themeCard .rgb{margin:0;gap:14px}
#themeCard .rgb label{font-size:18px}
#themeCard .rgb input{height:62px;border-radius:14px;font-size:18px;font-weight:800}
@media(min-width:900px){.wrap{width:min(1188px,calc(100% - 48px))}}
@media(max-width:980px){.theme-layout{grid-template-columns:minmax(280px,460px);justify-content:center}.color-controls{padding-top:0}.wheel-column{justify-items:center}.theme-save{width:100%}}
@media(max-width:560px){#themeCard .panel{padding:24px 18px 30px}#themeCard .panel>p:first-child{font-size:17px}.theme-layout{gap:28px}.color-wheel-wrap,#colorWheel{width:min(100%,360px);height:auto;aspect-ratio:1}.theme-save{min-height:58px}.color-controls{width:100%}.hex-row{grid-template-columns:82px 1fr}.color-swatch{width:82px}.color-help{font-size:17px}}