:root{font:14px/1.35 "Segoe UI",Inter,system-ui,sans-serif;color:#19352e;background:#f2f5f2;--line:#d6dfd8;--green:#006646;--muted:#51675d;--mint:#e7f2eb}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}header,.top,.sub,.dialoghead,.line,.checks,nav{display:flex;align-items:center;gap:8px}header{padding:7px 2vw;background:#153e32;color:white;min-height:44px}header>b{font-size:18px;letter-spacing:-.6px}.logo{background:#d2edc5;color:#204734;border-radius:4px;padding:2px 6px;font-size:15px;margin-right:4px}.demo{margin-left:auto;font-size:12px}main{padding:12px 1.5vw;max-width:1800px;margin:auto}.top{flex-wrap:wrap;margin-bottom:10px}.top h1{margin-right:auto}.top b{background:#e5eee7;padding:1px 5px;border-radius:4px}h1,h2,h3,p{margin:0}h1{font-size:23px;letter-spacing:-1px}h2{font-size:16px;letter-spacing:-.3px}h3,legend{font-size:14px;font-weight:650}button,input,select,textarea{font:inherit}button,select,input,textarea{border:1px solid #bdcdc2;border-radius:5px;background:white;color:inherit;padding:5px 8px}button{cursor:pointer;font-size:13px;font-weight:600}button:hover{background:#eaf3ed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.divider:focus-visible{outline:2px solid #007956;outline-offset:1px}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#004e36}header button{background:transparent;color:white;border-color:#78998c}header button:hover{background:#285040}.workspace{display:grid;grid-template-columns:var(--left,1fr) 8px var(--middle,1fr) 8px var(--right,1fr);background:white;border:1px solid var(--line);border-radius:8px;overflow:hidden;height:calc(100dvh - 120px);min-height:380px}.pane{min-width:0;overflow:auto;padding:12px}.pane>h2{padding-bottom:8px;margin-bottom:10px;border-bottom:1px solid var(--line)}.divider{cursor:col-resize;touch-action:none;background:linear-gradient(to right,#f7f9f7 43%,#c0d0c4 43%,#c0d0c4 60%,#f7f9f7 60%)}.divider:hover,.divider:focus{background:#b3d2c0}.pane label,dialog label{font-size:12px;color:var(--muted);display:grid;gap:3px;margin:6px 0}.p0 select,.p0 input[type=search],input:not([type=checkbox],[type=radio]),select,textarea{width:100%;min-width:0}select,input,textarea{font-size:14px}input[type=checkbox],input[type=radio]{accent-color:var(--green);margin:0}.checks{flex-wrap:wrap;gap:5px 12px}.checks label,.check{display:inline-flex!important;align-items:center;gap:5px!important;color:#233c32!important;font-size:14px!important}.sub{justify-content:space-between;font-size:12px;color:var(--muted);margin:10px 0 3px}.person{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:5px 7px}.person.active{background:var(--mint);box-shadow:inset 3px 0 var(--green)}small,.muted{color:var(--muted);font-size:12px}.person small{display:block;font-weight:400}.name{font-size:21px;letter-spacing:-.6px;margin:6px 0}.badge{display:inline-block;font-size:12px;color:#24563c;background:var(--mint);padding:2px 6px;border-radius:4px}dl{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:12px 0}dt{color:var(--muted)}dd{margin:0;overflow-wrap:anywhere}.block{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}.line{flex-wrap:wrap}.history{list-style:none;padding:0}.history li{overflow-wrap:anywhere;white-space:pre-line;border-left:2px solid #ceded1;margin:7px 0;padding-left:9px}.history small{display:block}fieldset{border:0;border-bottom:1px solid var(--line);padding:0 0 9px;margin:0 0 9px}fieldset legend{padding:0;margin:0 0 3px}.twocol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}textarea{height:45px;resize:vertical}.job{padding:5px 0}.notice,#message,#error{font-size:13px;margin:5px 0;color:#3c5a48}#error{color:#8c3829}.dialoghead{justify-content:space-between}dialog{border:1px solid #c5d5c9;border-radius:8px;width:min(760px,94vw);max-height:85dvh;color:#19352e}dialog::backdrop{background:#122c224f}.editrow{display:grid;grid-template-columns:2fr .65fr .8fr 1.4fr 1.4fr auto;gap:4px;padding:3px 0}.tablebox{max-height:38vh;overflow:auto}.drop{padding:14px;border:1px dashed #7ba58b;background:#f3f8f3}.drop.over{background:#daeddf}.empty{color:var(--muted);padding:8px 0}#mobile{display:none}.pane details summary{cursor:pointer;font-weight:600}.pane button{max-width:100%}@media(max-width:850px){.workspace{display:block;height:auto;min-height:420px}.divider,.workspace .pane{display:none}.workspace[data-pane="0"] .p0,.workspace[data-pane="1"] .p1,.workspace[data-pane="2"] .p2{display:block}.top h1{width:100%}#mobile{display:flex;margin:8px 0}#mobile [aria-pressed=true]{background:var(--mint)}.editrow{grid-template-columns:1fr 1fr}.top button{font-size:12px}header{flex-wrap:wrap}.demo{max-width:50%}}

[data-tone="neutral"]{--tone-ink:#44515b;--tone-bg:#edf1f4;--tone-dot:#71808b}
[data-tone="complete"]{--tone-ink:#135737;--tone-bg:#dcf4e3;--tone-dot:#25824c}
[data-tone="pending"]{--tone-ink:#654900;--tone-bg:#fff2b5;--tone-dot:#af8200}
[data-tone="late"]{--tone-ink:#7b350e;--tone-bg:#ffe2c6;--tone-dot:#c35c14}
[data-tone="urgent"]{--tone-ink:#8b2230;--tone-bg:#ffe1e3;--tone-dot:#ba3140}
.status,.top b[data-tone]{display:inline-block;color:var(--tone-ink);background:var(--tone-bg);border-radius:4px;padding:1px 5px;font-size:12px;font-weight:600}
.status::before{content:"";display:inline-block;width:6px;height:6px;vertical-align:2px;margin-right:5px;border-radius:50%;background:var(--tone-dot)}
.person.active{background:#edf1f4;box-shadow:inset 3px 0 #536a79}
.job{padding:3px 0}

body:has(#workspace){height:100dvh;display:flex;flex-direction:column}
body:has(#workspace)>header{flex:none}
main:has(>#workspace){display:flex;flex-direction:column;width:100%;min-height:0;flex:1;margin:0 auto}
#workspace{height:auto;min-height:320px;flex:1;grid-template-rows:minmax(0,1fr)}
.p0{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.p0>:not(#people){flex:none}
#people{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable}
.top button[aria-pressed="true"]{background:var(--mint);border-color:var(--green)}
@media(max-width:850px){
  #workspace .pane{height:100%}
  #workspace[data-pane="0"] .p0{display:flex}
}

.anmeldung{max-width:380px;margin:12vh auto;padding:24px;background:white;border:1px solid var(--line);border-radius:8px}.anmeldung label{display:grid;gap:4px;margin:14px 0}.anmeldung button{margin:4px 0}
