:root{--orange:#f8612b;--gray:#b9b9b9;--ink:#282823;--muted:#71716a;--paper:#f8f7f3;--line:#e9e7e0;--white:#fff;--soft:#fff0e9;--green:#37725e;--green-bg:#eaf4ee;--radius:22px;--shadow:0 8px 28px #29282105;font-family:'Red Hat Display',sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.52}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #232323;outline-offset:3px}button{border:0}h1,h2,h3,h4,.heading{font-family:Zain,sans-serif;line-height:1.02;margin:0;font-weight:700}h1{font-size:42px;letter-spacing:-.8px}h2{font-size:30px}h3{font-size:25px}p{line-height:1.65;margin:0}.muted{color:var(--muted)}.small{font-size:12px;line-height:1.6}.eyebrow{font-size:11px;letter-spacing:1.5px;text-transform:uppercase;font-weight:800;color:var(--muted)}svg{width:21px;height:21px;flex:none;stroke-width:1.7}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink)}.brand img{width:35px;height:44px;object-fit:contain}.brand strong{font-family:Zain,sans-serif;font-size:28px;line-height:1;display:block;color:var(--orange)}.brand span{font-size:10px;color:var(--muted);font-weight:600}.topbar{height:79px;background:#ffffffea;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 20px;position:sticky;top:0;z-index:10;backdrop-filter:blur(15px)}.top-actions{display:flex;align-items:center;gap:10px}.avatar{width:38px;height:38px;border-radius:50%;background:var(--soft);color:#a94720;font-size:12px;font-weight:800;display:grid;place-items:center}.role-pill{font-size:10px;border:1px solid var(--line);border-radius:99px;padding:5px 9px;background:var(--white);font-weight:700}.desktop-user{display:none}.main{padding:27px 20px 115px;max-width:1260px;margin:auto}.page-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}.page-title p{font-size:13px;margin-top:6px;color:var(--muted)}.page-title .eyebrow{margin-bottom:10px}.btn{min-height:45px;border-radius:12px;padding:12px 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:700;background:var(--orange);color:white;transition:transform .15s,background .15s}.btn:hover{background:#e95622}.btn:active{transform:scale(.98)}.btn.secondary{background:white;color:var(--ink);border:1px solid var(--line)}.btn.secondary:hover{background:var(--paper)}.btn.soft{background:var(--soft);color:#a5451c}.btn.dark{background:var(--ink)}.btn.ghost{background:transparent;color:var(--muted);padding:8px 0}.btn.danger{background:#fff0ec;color:#b13620}.btn.full{width:100%}.icon-btn{width:42px;height:42px;display:grid;place-items:center;background:transparent;border-radius:12px;color:var(--muted)}.icon-btn:hover{background:var(--paper)}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:20;background:#fffffff7;border-top:1px solid var(--line);padding:9px 8px calc(9px + env(safe-area-inset-bottom));display:flex;justify-content:space-around;backdrop-filter:blur(18px)}.nav-item{flex:1;display:flex;gap:5px;align-items:center;flex-direction:column;padding:6px 0;background:none;color:var(--muted);font-size:10px;font-weight:700;border-radius:13px;min-height:48px}.nav-item.active{color:var(--orange);background:var(--soft)}.sidebar{display:none}.section{margin-top:28px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.section-head h2{font-size:29px}.text-btn{border:0;background:none;color:#b5451d;font-size:12px;font-weight:700;display:flex;align-items:center;gap:5px;padding:9px 0}.hero{border-radius:var(--radius);background:var(--orange);color:#fff;overflow:hidden;padding:28px 25px;position:relative;isolation:isolate;min-height:240px}.hero::after{content:'';position:absolute;width:250px;height:250px;right:-85px;top:26px;border:45px solid #ffffff13;border-radius:50%;z-index:-1}.hero .eyebrow{color:#ffffffc4}.hero h2{font-size:43px;max-width:280px;margin:15px 0 8px;line-height:.97}.hero p{font-size:12px;max-width:260px;color:#fffdf3;line-height:1.7}.hero .btn{margin-top:20px;background:#fff;color:#ad3f16;min-height:43px}.hero-foot{margin-top:22px;display:flex;align-items:center;gap:8px;font-size:10px;color:#fff}.progress-panel{background:white;padding:24px;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:12px}.ring{width:59px;height:59px;border-radius:50%;background:conic-gradient(var(--orange) calc(var(--progress)*1%),var(--line) 0);display:grid;place-items:center}.ring span{width:47px;height:47px;background:white;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:14px}.progress-rows{display:grid;gap:3px}.progress-row{display:flex;align-items:center;gap:13px;min-height:67px;border-bottom:1px solid var(--line)}.progress-row:last-child{border:0}.category-icon{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:var(--soft);color:#b24d23;flex:none}.category-icon.liturgie{background:#f0eef8;color:#716087}.category-icon.pfarrleben{background:#eaf3ed;color:#50775e}.progress-row .body{flex:1;min-width:0}.progress-row strong{font-size:13px;display:block}.progress-row .small{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:205px}.status-check{width:23px;height:23px;border-radius:50%;background:var(--green-bg);color:var(--green);display:grid;place-items:center}.status-check svg{width:14px;height:14px}.status-open{width:20px;height:20px;border:1.5px dashed #d2ccc2;border-radius:50%}.home-top{display:grid;gap:16px}.project-grid{display:grid;gap:16px}.project-card{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:transform .2s}.project-card:hover{transform:translateY(-3px)}.project-art{height:140px;position:relative;overflow:hidden;display:flex;align-items:flex-end;padding:18px 21px;background:#f4dccf}.project-art.liturgie{background:#eae4f0}.project-art.pfarrleben{background:#e2eadb}.art-svg{position:absolute;inset:0;width:100%;height:100%}.art-svg svg{width:100%;height:100%;stroke:none}.art-word{font-family:Zain,sans-serif;font-size:56px;font-weight:700;letter-spacing:-1px;opacity:.14;position:absolute;left:19px;top:17px}.pill{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:800;border-radius:99px;padding:6px 10px;background:white;color:var(--ink);position:relative}.pill.caritas{background:#fff0e9;color:#a74a24}.pill.liturgie{background:#f0edf7;color:#6e587e}.pill.pfarrleben{background:#edf4e9;color:#507044}.pill.success{background:var(--green-bg);color:var(--green)}.pill.neutral{background:var(--paper);color:var(--muted)}.pill.alert{background:#fff0ea;color:#ad431d}.project-art .pill{background:#fffdf4df}.art-mark{position:absolute;right:18px;bottom:17px;width:44px;height:44px;background:#ffffff80;border-radius:50%;display:grid;place-items:center;color:#8a5a42}.project-content{padding:22px}.project-content h3{margin:12px 0 6px;font-size:28px}.project-description{font-size:12px;color:var(--muted);line-height:1.65;margin-bottom:18px}.meta{display:flex;align-items:flex-start;gap:9px;font-size:11px;color:var(--muted);margin-top:9px;line-height:1.6}.meta svg{width:16px;height:16px;margin-top:1px}.card-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:16px;margin-top:18px}.places strong{font-size:13px;color:var(--ink)}.places .small{font-size:10px}.card-footer .btn{min-height:37px;padding:9px 13px;font-size:11px;border-radius:10px}.capacity{height:4px;background:var(--line);border-radius:9px;margin-top:9px;overflow:hidden}.capacity span{display:block;height:100%;background:var(--orange);border-radius:9px}.toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:22px}.search{flex:1;min-width:160px;position:relative}.search svg{position:absolute;top:14px;left:13px;width:18px;height:18px;color:var(--muted)}.search input{width:100%;height:46px;padding:10px 12px 10px 41px;border-radius:12px;border:1px solid var(--line);background:white}.chips{display:flex;gap:7px;overflow:auto;padding:2px 0 5px;margin-bottom:19px}.chip{white-space:nowrap;border-radius:99px;padding:10px 15px;min-height:40px;font-size:11px;font-weight:700;color:var(--muted);background:white;border:1px solid var(--line)}.chip.active{background:var(--ink);color:white;border-color:var(--ink)}.info-strip{display:flex;gap:10px;align-items:flex-start;background:var(--soft);padding:14px 16px;border-radius:14px;font-size:11px;color:#9b4a29;line-height:1.7}.info-strip svg{width:17px;height:17px;margin-top:2px;flex:none}.notice{background:white;border:1px solid var(--line);border-radius:18px;padding:20px;display:flex;gap:13px;align-items:center}.notice .body{flex:1}.notice strong{font-size:13px}.notice p{font-size:11px;color:var(--muted);margin-top:5px}.list{display:grid;gap:10px}.person{background:white;border:1px solid var(--line);border-radius:16px;padding:16px;display:flex;gap:12px;align-items:center}.person .body{flex:1;min-width:0}.person strong{font-size:12px}.person .small{font-size:10px;color:var(--muted)}.mini-status{display:flex;gap:5px;margin-top:9px}.mini-dot{font-size:9px;width:23px;height:23px;border-radius:7px;background:var(--paper);color:var(--muted);display:grid;place-items:center;font-weight:800}.mini-dot.done{background:var(--green-bg);color:var(--green)}.stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px;margin-bottom:23px}.stat{padding:19px;background:white;border:1px solid var(--line);border-radius:18px}.stat-value{font-family:Zain,sans-serif;font-weight:700;font-size:36px;line-height:1.2}.stat-label{font-size:11px;color:var(--muted)}.stat-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.stat-top svg{width:18px;height:18px;color:var(--orange)}.empty{padding:34px 22px;text-align:center;background:white;border:1px dashed #d7d2c9;border-radius:18px}.empty svg{color:var(--gray);width:29px;height:29px;margin-bottom:12px}.empty h3{font-size:26px;margin-bottom:8px}.empty p{font-size:12px;color:var(--muted)}.board{display:grid;gap:16px;align-items:start}.column{background:#eeece6;border:1px solid #e4e0d8;border-radius:18px;padding:14px;min-width:0;min-height:180px}.column.drag-over{outline:2px solid var(--orange);background:var(--soft)}.column-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:4px 0 17px}.column-head h3{font-size:24px}.column-head .count{font-size:10px;background:white;border-radius:8px;padding:5px 8px}.column-sub{font-size:10px;color:var(--muted);margin-bottom:14px;margin-top:-11px}.column .person{margin-top:9px;padding:13px;display:block;cursor:grab}.column .person-head{display:flex;gap:10px;align-items:center;margin-bottom:12px}.column .person .avatar{width:31px;height:31px;font-size:10px}.column select{width:100%;min-height:36px;font-size:10px;padding:5px 8px;border-radius:9px;border:1px solid var(--line);background:var(--paper);color:var(--muted)}.group-card{background:white;padding:22px;border:1px solid var(--line);border-radius:18px;margin-bottom:17px}.group-card h2{margin-top:7px;margin-bottom:13px}.group-card .meta{font-size:12px}.session-row{background:white;border:1px solid var(--line);border-radius:16px;padding:18px;display:flex;gap:13px;align-items:center;text-align:left;width:100%;color:var(--ink)}.date-box{border-radius:12px;background:var(--paper);width:48px;height:51px;flex:none;text-align:center;padding-top:5px}.date-box strong{font-family:Zain,sans-serif;font-size:25px;display:block;line-height:1}.date-box span{font-size:9px;color:var(--muted)}.session-row .body{flex:1}.session-row strong{font-size:12px}.session-row p{font-size:10px;color:var(--muted);margin-top:5px}.footnote{font-size:10px;color:var(--muted);text-align:center;margin-top:30px;line-height:1.7}.login-page{min-height:100dvh;display:grid;align-items:center;padding:24px 20px;background:var(--paper)}.login-layout{max-width:1080px;width:100%;margin:auto;display:grid;gap:20px}.login-art{display:none}.login-card{width:100%;max-width:430px;margin:auto;background:white;border:1px solid var(--line);padding:29px 25px;border-radius:25px}.login-card .brand{margin-bottom:32px}.login-card h1{font-size:43px;margin-bottom:9px}.login-card .intro{font-size:12px;color:var(--muted);margin-bottom:26px}.field{display:grid;gap:7px;margin-top:17px}.field label{font-size:11px;font-weight:700}.field input,.field select,.field textarea{width:100%;min-height:46px;border:1px solid #dfdcd5;background:var(--white);border-radius:11px;padding:12px;font-size:13px;color:var(--ink)}.field textarea{min-height:106px;resize:vertical;line-height:1.6}.field .hint{font-size:10px;color:var(--muted);line-height:1.6}.field input[type=checkbox]{width:19px;min-height:19px;accent-color:var(--orange)}.form-grid{display:grid;gap:0 16px}.error{font-size:12px;background:#fff0ea;color:#a3381b;padding:11px;border-radius:10px;margin-top:14px}.error:empty{display:none}.login-card .btn.full{margin-top:21px}.password-field{position:relative}.password-field input{padding-right:48px}.password-field button{position:absolute;right:4px;top:3px}.profile-card{padding:25px;background:white;border-radius:22px;border:1px solid var(--line)}.profile-head{display:flex;align-items:center;gap:16px;margin-bottom:24px}.profile-head .avatar{width:55px;height:55px;font-size:16px}.profile-card .label-row{display:flex;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px;gap:20px}.label-row span{color:var(--muted)}.profile-card .btn{margin-top:20px}.timeline{display:grid;gap:13px}.plan-item{background:white;border:1px solid var(--line);border-radius:18px;padding:20px;display:flex;gap:16px}.plan-item .body{flex:1}.plan-item h3{margin:9px 0 10px;font-size:25px}.plan-item .meta{font-size:11px}.plan-item .text-btn{margin-top:6px}.badge-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.detail-art{height:165px;border-radius:15px;margin:18px 0}.detail-header{margin-top:20px}.detail-header h2{font-size:35px;margin:11px 0}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:23px 0}.detail-grid .label{font-size:9px;letter-spacing:.8px;text-transform:uppercase;color:var(--muted);font-weight:700;margin-bottom:7px}.detail-grid .value{font-size:12px;line-height:1.7;font-weight:600}.leader-line{display:flex;align-items:center;gap:12px;background:var(--paper);padding:14px;border-radius:13px;margin-top:20px}.leader-line strong{font-size:12px}.leader-line .small{font-size:10px;color:var(--muted)}dialog{border:0;border-radius:24px;padding:0;width:calc(100% - 24px);max-width:650px;max-height:calc(100dvh - 40px);box-shadow:0 25px 100px #0003;color:var(--ink);background:white}dialog::backdrop{background:#25252177;backdrop-filter:blur(4px)}.modal-inner{padding:24px;position:relative}.modal-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:9px}.modal-top h2{font-size:32px}.modal-top .icon-btn{flex:none}.modal-actions{display:flex;gap:10px;justify-content:flex-end;padding-top:22px;margin-top:8px;border-top:1px solid var(--line)}.modal-actions .btn{flex:1}.attendance-list{margin-top:20px;display:grid;gap:10px}.attendance-person{border:1px solid var(--line);border-radius:14px;padding:13px}.attendance-person .person-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.attendance-person strong{font-size:12px}.attendance-options{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.attendance-option{position:relative;display:flex;align-items:center;justify-content:center;font-size:9px;padding:10px 2px;border:1px solid var(--line);border-radius:9px;color:var(--muted);min-height:37px;cursor:pointer;background:white}.attendance-option input{position:absolute;opacity:0;width:1px;height:1px}.attendance-option:has(input:checked){border-color:var(--green);background:var(--green-bg);color:var(--green);font-weight:800}.attendance-option.absent:has(input:checked){background:#fbeeea;border-color:#c7826a;color:#a44328}.attendance-option.excused:has(input:checked){background:#f9f2df;border-color:#c8ac5d;color:#846825}.attendance-option.open:has(input:checked){background:var(--paper);border-color:#8e8b82;color:var(--ink)}.attendance-option:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}.all-present{font-size:11px;color:var(--green);background:var(--green-bg);padding:10px 12px;border-radius:10px}.import-result{padding:14px;background:var(--green-bg);border-radius:12px;font-size:12px;line-height:1.8;margin-top:15px}.upload-area{border:1.5px dashed #d9d2c7;border-radius:14px;padding:20px;background:var(--paper);text-align:center;margin-top:18px}.upload-area input{font-size:11px;max-width:100%;margin-top:12px}.toggle-label{display:flex;align-items:center;gap:9px;font-size:12px;margin-top:20px}#toast{position:fixed;bottom:100px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;transition:.2s;z-index:100;background:var(--ink);color:white;padding:14px 19px;font-size:12px;border-radius:13px;box-shadow:0 8px 30px #0002;width:max-content;max-width:calc(100vw - 30px)}#toast.visible{opacity:1;transform:translate(-50%,0)}.project-count{font-size:11px;color:var(--muted);margin:-5px 0 15px}.profile-switch{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}.filter-select{min-height:46px;border:1px solid var(--line);background:white;border-radius:12px;padding:10px 13px;font-size:12px;color:var(--ink)}.status-summary{display:flex;gap:15px;font-size:10px;color:var(--muted);flex-wrap:wrap;margin-top:10px}.status-summary span{display:flex;gap:6px;align-items:center}.status-summary i{width:7px;height:7px;border-radius:50%;background:var(--green)}.status-summary i.no{background:#c7826a}.status-summary i.excused{background:#c8ac5d}.status-summary i.open{background:var(--gray)}.divider{height:1px;background:var(--line);margin:22px 0}.mobile-add{padding:11px;min-width:45px}.mobile-add .button-label{display:none}.category-progress{display:flex;gap:7px;flex-wrap:wrap}.category-progress .pill{font-size:9px}.warm-note{background:#f0eee6;padding:18px;border-radius:15px;margin-top:16px;font-size:11px;line-height:1.8;color:var(--muted)}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:600px){.main{padding:35px 32px 115px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-top{grid-template-columns:1fr 1fr}.hero{min-height:296px}.hero h2{font-size:48px}.form-grid{grid-template-columns:1fr 1fr}.stat-grid{grid-template-columns:repeat(4,1fr)}.board{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-inner{padding:30px}.modal-actions .btn{flex:initial}.mobile-add .button-label{display:inline}.mobile-add{padding:12px 17px}}
@media(min-width:1024px){.sidebar{display:flex;flex-direction:column;position:fixed;width:224px;left:0;top:0;bottom:0;background:white;border-right:1px solid var(--line);padding:29px 19px;z-index:30}.sidebar .brand{margin:0 11px 42px}.sidebar-nav{display:grid;gap:7px}.sidebar .nav-item{flex-direction:row;gap:14px;font-size:12px;justify-content:flex-start;padding:14px 17px;min-height:49px}.sidebar .nav-item svg{width:20px;height:20px}.sidebar-bottom{margin-top:auto;padding:17px 12px 0;border-top:1px solid var(--line)}.sidebar-bottom p{font-size:10px;color:var(--muted);line-height:1.8;margin-top:9px}.shell{padding-left:224px}.topbar{padding:0 39px;height:76px}.topbar>.brand{display:none}.desktop-user{display:block;font-size:11px;line-height:1.6}.desktop-user strong{display:block;font-size:12px}.topbar-title{font-size:11px;color:var(--muted)}.main{padding:37px 39px 50px}.bottom-nav{display:none}.page-title{margin-bottom:27px}h1{font-size:48px}.home-top{grid-template-columns:1.45fr 1fr;gap:22px}.hero{min-height:301px;padding:32px}.hero h2{font-size:53px;max-width:370px}.hero p{max-width:340px}.hero::after{width:320px;height:320px;right:-105px;top:2px;border-width:60px}.project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.project-content{padding:20px}.project-content h3{font-size:26px}.section{margin-top:32px}.board{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.column{padding:11px}.column-head h3{font-size:23px}.login-layout{grid-template-columns:1.1fr 1fr;gap:60px}.login-art{display:block;position:relative;padding:50px;color:var(--ink)}.login-art .eyebrow{color:#ad4c25}.login-art h2{font-size:77px;line-height:.9;margin:20px 0}.login-art p{max-width:350px;font-size:14px;color:var(--muted)}.login-art .logo-large{width:150px;margin-bottom:28px}.login-art .login-categories{display:flex;gap:9px;margin-top:27px}.login-card{padding:36px}.login-page{background:radial-gradient(ellipse at 20% 35%,#fff0e3,transparent 60%),var(--paper)}#toast{bottom:30px}.leader-columns{display:grid;grid-template-columns:1fr 1fr;gap:25px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Readable small copy and controls on CI orange. */
.btn:not(.secondary):not(.soft):not(.dark):not(.ghost):not(.danger){color:#302117}.hero p,.hero .eyebrow,.hero-foot{color:#48200e}
/* Focused overviews, group attendance and compact text-only projects. */
.dashboard-section{margin-top:6px}.dashboard-columns{display:grid;gap:28px}.scope-tabs{display:flex;background:#ece9e2;padding:4px;border-radius:13px;gap:4px;margin-bottom:21px}.scope-tabs button{flex:1;min-height:42px;padding:10px 15px;border-radius:10px;background:transparent;color:var(--muted);font-size:12px;font-weight:700}.scope-tabs button.active{background:white;color:var(--ink);box-shadow:0 2px 5px #00000008}.project-inline-link{border:0;background:none;color:var(--muted);font-size:11px;padding:5px 0;text-align:left;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.progress-panel .progress-row{min-height:80px}.progress-panel .progress-row .pill{font-size:9px;padding:6px 8px;gap:3px;flex:none}.progress-panel .progress-row .pill svg{width:12px;height:12px}.progress-row .body{display:grid}.attendance-card{background:white;border:1px solid var(--line);border-radius:22px;padding:24px}.attendance-card-body{display:flex;align-items:center;gap:18px;margin:20px 0 9px}.attendance-big{font-family:Zain,sans-serif;font-size:54px;line-height:1;color:var(--green)}.attendance-big span{font-size:34px;color:var(--muted)}.attendance-detail-summary{display:flex;align-items:center;gap:14px;padding:18px 0}.attendance-detail-summary strong{font-family:Zain,sans-serif;color:var(--green);font-size:45px}.attendance-detail-summary span{font-size:12px;color:var(--muted)}.member-progress{display:flex;align-items:center;gap:11px;flex-wrap:wrap}.mini-dot.chosen{background:var(--soft);color:#9d461e}.attendance-inline{display:flex;align-items:center;gap:5px;background:none;color:var(--muted);padding:7px 0;font-size:10px;font-weight:700}.attendance-inline svg{width:15px;height:15px}.board-attendance{margin:0 0 8px;padding:3px 0}.group-charts{padding:23px 20px;background:white;border-radius:20px;border:1px solid var(--line)}.donut-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.donut-item{display:flex;align-items:center;flex-direction:column;gap:8px;min-width:0}.donut{width:76px;height:76px;display:grid;place-items:center;border-radius:50%;flex:none}.donut>span{width:59px;height:59px;border-radius:50%;background:white;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:20px;gap:2px}.donut small{font-size:11px;color:var(--muted);font-weight:600}.donut-item>strong{font-size:11px}.donut-item>span{font-size:9px;color:var(--muted)}.chart-legend{display:flex;justify-content:center;gap:13px;margin-top:17px;font-size:9px;color:var(--muted)}.chart-legend span{display:flex;align-items:center;gap:5px}.chart-legend i{height:7px;width:7px;border-radius:50%;display:block}.chart-legend i.registered{background:var(--orange)}.chart-legend i.completed{background:var(--green)}.group-attendance{margin-top:19px;border-top:1px solid var(--line);padding-top:15px}.group-attendance>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px}.group-attendance strong{font-weight:700}.group-attendance p{font-size:9px;color:var(--muted);margin-top:7px}.group-charts.compact{padding:12px 9px;border-radius:12px;margin-bottom:13px;border:0}.compact .donut{width:49px;height:49px}.compact .donut>span{width:37px;height:37px;font-size:14px}.compact .donut small{font-size:8px}.compact .donut-item{gap:6px}.compact .donut-item>strong{font-size:9px}.compact .donut-item>span{font-size:8px}.compact .donut-grid{gap:4px}.compact .chart-legend{font-size:8px;gap:10px;margin-top:12px}.compact .group-attendance{margin-top:12px;padding-top:11px}.compact .group-attendance p{font-size:8px}.compact-assign{display:block;margin-top:11px;width:100%;font-size:11px;min-height:40px}.number-stepper{display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:14px;padding:6px;background:var(--paper);border:1px solid var(--line)}.number-stepper>button{width:44px;min-height:44px;border-radius:11px;flex:none;background:white;color:var(--ink);font-size:24px;border:1px solid var(--line)}.number-stepper>div{display:flex;flex-direction:column;align-items:center;min-width:0;flex:1}.field .number-stepper input{appearance:textfield;-moz-appearance:textfield;border:0;background:transparent;border-radius:0;text-align:center;padding:0;min-height:36px;font-size:23px;font-weight:800;width:100%}.number-stepper input::-webkit-inner-spin-button,.number-stepper input::-webkit-outer-spin-button{appearance:none;margin:0}.number-stepper span{font-size:9px;color:var(--muted);margin-top:-1px;margin-bottom:4px}.password-reset-box{padding:18px;background:var(--paper);border-radius:15px;margin-top:22px}.password-reset-box h3{font-size:24px}.password-reset-box p{font-size:11px;color:var(--muted);margin-top:7px}.password-reset-box .btn{margin-top:14px;font-size:11px}.field input.one-time-password{font-family:monospace;font-size:20px;letter-spacing:1px;background:var(--paper)}.detail-header{margin-top:10px}.dashboard-section .section-head{align-items:flex-start}.dashboard-section .section-head .btn{font-size:10px;padding:9px 11px;min-height:37px;white-space:nowrap}.dashboard-section .notice p{font-size:11px}.notice .pill{flex:none;font-size:9px;max-width:96px;text-align:center}.group-page .section-head h2{font-size:28px}
@media(min-width:600px){.group-charts:not(.compact){padding:28px 32px}.group-charts:not(.compact) .donut{width:90px;height:90px}.group-charts:not(.compact) .donut>span{width:69px;height:69px;font-size:25px}.group-charts:not(.compact) .donut-item>strong{font-size:13px}.group-charts:not(.compact) .donut-item>span{font-size:10px}}
@media(min-width:1024px){.dashboard-columns{grid-template-columns:1fr 1.2fr;gap:25px}.group-charts:not(.compact){max-width:850px}.progress-panel{max-width:850px}.attendance-card{max-width:850px}.group-charts .group-attendance{max-width:650px;margin-left:auto;margin-right:auto}.board{grid-template-columns:repeat(2,minmax(0,1fr))}.compact .donut{width:62px;height:62px}.compact .donut>span{width:48px;height:48px;font-size:18px}.compact .donut-item>strong{font-size:10px}.column .person{padding:16px}.column{padding:16px}}
@media(min-width:1440px){.board{grid-template-columns:repeat(4,minmax(0,1fr))}.column{padding:11px}.compact .donut{width:49px;height:49px}.compact .donut>span{width:37px;height:37px;font-size:14px}.compact .donut-item>strong{font-size:9px}}
/* Compact navigation, account dropdown and opt-in desktop group allocation. */
.account-dropdown{position:relative}.account-dropdown summary{list-style:none;cursor:pointer;user-select:none}.account-dropdown summary::-webkit-details-marker{display:none}.account-dropdown summary:focus-visible{outline:3px solid var(--ink);outline-offset:3px}.account-menu{position:absolute;right:0;top:calc(100% + 9px);min-width:170px;padding:6px;background:white;border:1px solid var(--line);box-shadow:0 12px 28px #28282314;border-radius:13px;z-index:40}.account-menu button{display:flex;align-items:center;gap:11px;width:100%;padding:13px 14px;min-height:44px;border-radius:9px;background:white;color:var(--ink);font-size:12px;text-align:left}.account-menu button:hover{background:var(--paper)}.account-menu svg{width:18px;height:18px}.change-password-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.change-password-header .brand{margin-bottom:30px}.occupancy-donut{width:88px;height:88px;display:grid;place-items:center;border-radius:50%;margin-top:10px}.occupancy-donut>span{width:66px;height:66px;background:white;border-radius:50%;display:grid;place-items:center;font-size:18px;font-weight:800}.project-names{margin-top:24px}.project-names h3{font-size:25px}.project-names ul{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:9px}.project-names li{display:flex;align-items:center;gap:10px;font-size:12px;padding:9px 0;border-bottom:1px solid var(--line)}.project-names li:last-child{border:0}.project-names .avatar{width:29px;height:29px;font-size:9px}.own-project-filter{display:flex;align-items:center;gap:9px;cursor:pointer;font-size:12px;font-weight:700;margin:0 0 23px;padding:5px 0}.own-project-filter input{accent-color:var(--orange);width:18px;height:18px;margin:0}.desktop-only{display:none!important}.mobile-only{display:inline-flex}.mobile-assignment-note{margin-top:18px;font-size:10px}.assignment-notice{margin-bottom:18px}.column .person{cursor:default}.column .person.draggable{cursor:grab}.column .person.draggable:active{cursor:grabbing}.column .person-head{margin-bottom:0}.column .board-attendance{margin-top:12px;margin-bottom:0}.column .person .mini-status{margin-top:8px}.unassigned-column .person{padding:13px}.drag-handle{color:var(--muted);font-size:20px;font-weight:700}.board.editing .column{border-color:#cec7b8}.board.editing .column:has(.quiet-empty){border-style:dashed}.quiet-empty{font-size:11px;color:var(--muted);padding:14px 2px;line-height:1.7}.column:has(.quiet-empty):not(:has(.person)){min-height:115px}.year-reset-section{margin-top:35px;padding-top:24px;border-top:1px solid var(--line)}.year-reset-section>details{max-width:650px}.year-reset-section summary{font-size:12px;font-weight:700;color:var(--muted);cursor:pointer;padding:7px 0}.year-reset-section p{font-size:11px;color:var(--muted);margin-top:13px;line-height:1.8}.year-reset-section .btn{margin-top:15px}.account-delete-action{margin-top:22px;border-top:1px solid var(--line);padding-top:13px}.destructive-link{color:#a9361d}.unassigned-column .column-head{margin-bottom:12px}.group-charts .group-attendance>div:first-child span{font-weight:800;color:var(--green);font-size:14px}.group-charts .group-attendance p{font-size:9px}.compact .group-attendance>div:first-child span{font-size:12px}
@media(min-width:600px){.project-names ul{grid-template-columns:1fr 1fr;gap:9px 20px}.project-names li:last-child{border-bottom:1px solid var(--line)}}
@media(min-width:1024px){.desktop-only{display:inline-flex!important}.mobile-only{display:none!important}.mobile-assignment-note{display:none}.board.editing .person:hover{border-color:#c4a992;box-shadow:0 3px 12px #00000008}}

/* Attendance distribution and global group edit mode */
.attendance-rates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.attendance-rate{display:flex;flex-direction:column;gap:5px;padding:14px 10px;border-radius:13px;background:#f4f6f3;min-width:0}.attendance-rate strong{font-family:Zain,sans-serif;font-size:28px;line-height:1.15;color:var(--green)}.attendance-rate span{font-size:12px;font-weight:700}.attendance-rate small{font-size:10px;color:var(--muted)}.attendance-rate.absent{background:#fff1eb}.attendance-rate.absent strong{color:var(--orange)}.attendance-rate.excused{background:#f1f1f1}.attendance-rate.excused strong{color:#666}.group-attendance h3{font-size:16px}.group-attendance .attendance-rates{margin:12px 0;display:grid}.group-attendance .attendance-rate{display:flex}.group-attendance .attendance-rate strong{font-size:26px}.group-attendance .attendance-rate span{font-size:11px}.group-attendance p{line-height:1.6}.compact .attendance-rates{gap:5px}.compact .attendance-rate{padding:10px 6px}.compact .attendance-rate strong{font-size:21px}.compact .attendance-rate span{font-size:9px}.group-actions{display:flex;gap:9px;flex-wrap:wrap}.member-progress{flex-wrap:wrap}.attendance-inline{white-space:normal;text-align:left}.status-summary{flex-wrap:wrap}.status-summary span{white-space:normal}
@media(max-width:600px){.group-actions{width:100%;margin-top:12px}.group-actions .btn{flex:1;justify-content:center;font-size:12px}.group-actions .button-label{display:inline}.group-actions .mobile-add{width:auto;border-radius:10px}.attendance-rate{padding:12px 8px}.attendance-rate strong{font-size:25px}.group-attendance .attendance-rate strong{font-size:24px}}

.page-title:has(.group-actions){flex-wrap:wrap}.attendance-rates .attendance-rate span{color:var(--ink)}

/* Matching checkbox filter, shared leadership and final project reports. */
.own-project-filter{position:relative;display:inline-flex;gap:9px;align-items:center;border:1px solid var(--line);background:white;border-radius:99px;padding:10px 15px;min-height:42px;font-size:11px;color:var(--muted);margin:0 0 20px;font-weight:700}.own-project-filter.selected{background:var(--soft);border-color:#f1b399;color:#a53b16}.own-project-filter input{position:absolute;opacity:0;width:1px;height:1px}.own-project-filter:has(input:focus-visible){outline:3px solid var(--ink);outline-offset:3px}.filter-check{display:grid;place-items:center;width:17px;height:17px;border:1px solid #aaa79f;border-radius:5px;background:white}.filter-check svg{width:13px;height:13px;opacity:0;stroke-width:2.5}.own-project-filter.selected .filter-check{border-color:var(--orange);background:var(--orange);color:#302117}.own-project-filter.selected .filter-check svg{opacity:1}.leader-team{margin:0 0 22px;padding:15px 0}.team-label{font-size:10px;font-weight:700;color:var(--muted);display:block;margin-bottom:10px}.team-people{display:flex;gap:10px 16px;flex-wrap:wrap}.team-person{display:inline-flex;gap:7px;align-items:center;font-size:11px;font-weight:700}.team-person .avatar{width:29px;height:29px;font-size:9px;flex:none}.compact-team{padding:0;margin:0 0 15px}.compact-team .team-label{margin-bottom:8px;font-size:9px}.compact-team .team-people{gap:8px}.compact-team .team-person{font-size:10px}.compact-team .avatar{width:23px;height:23px;font-size:8px}.leader-picker{border:0;padding:0;margin:22px 0}.leader-picker legend{font-size:12px;font-weight:700;padding:0;margin-bottom:7px}.leader-picker>div{display:grid;gap:8px;margin-top:12px}.leader-choice{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:white;cursor:pointer}.leader-choice:has(input:checked){border-color:#f1b399;background:var(--soft)}.leader-choice input{width:18px;height:18px;margin:0;accent-color:var(--orange);flex:none}.leader-choice .avatar{width:30px;height:30px;font-size:10px}.leader-choice strong{font-size:12px}.leader-choice small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.leader-choice.unavailable{opacity:.6;cursor:default}.completion-note{font-size:12px;line-height:1.7;color:var(--muted);margin:15px 0;padding:14px;background:var(--paper);border-radius:12px}.project-content>.pill{margin-top:12px}.attendance-person:has(input[required]) .attendance-options{grid-template-columns:repeat(3,minmax(0,1fr))}

/* Focused watch lists, mobile allocation and a single desktop board row. */
.team-self{display:inline-flex;align-items:center;font-size:11px;font-weight:700;color:var(--muted)}.watch-toggle{display:inline-flex;padding:4px;gap:4px;background:#ece9e2;border-radius:12px;margin-bottom:13px}.watch-toggle button{padding:10px 18px;border-radius:9px;min-height:40px;font-size:12px;font-weight:700;background:transparent;color:var(--muted)}.watch-toggle button.active{background:white;color:var(--ink);box-shadow:0 2px 5px #00000008}.watch-description{margin-bottom:14px}.member-absence{width:100%;line-height:1.6}.mobile-group-assignment{margin-top:12px}.mobile-group-assignment label{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.mobile-group-assignment select{width:100%;min-height:44px;padding:10px;border:1px solid var(--line);border-radius:9px;background:white;font-size:12px}.password-requirements{list-style:none;padding:0;margin:18px 0 22px;display:grid;gap:11px}.password-requirements li{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.password-requirements li.met{color:var(--green)}.password-requirements svg{width:16px;height:16px;stroke-width:2}.group-drag-ghost{position:fixed;z-index:100;pointer-events:none;padding:16px 22px;background:white;border:2px solid var(--orange);border-radius:13px;box-shadow:0 12px 30px #0002;font-size:13px;font-weight:700}.drag-source{opacity:.35}.board .column.drag-over{outline:2px solid var(--orange);outline-offset:-2px;background:var(--soft)}
@media(max-width:1023px){.board{grid-template-columns:minmax(0,1fr);overflow:visible}}
@media(min-width:1024px){.topbar{justify-content:flex-end}.sidebar .brand span{display:none}.board{display:grid;grid-auto-flow:column;grid-auto-columns:310px;grid-template-columns:none;overflow-x:auto;overflow-y:hidden;gap:16px;padding:3px 3px 20px;align-items:start;scrollbar-width:auto}.board .column{max-height:calc(100dvh - 180px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;min-height:180px}.board .column-head{position:sticky;top:-14px;z-index:2;background:#eeece6;padding:8px 0}.board .person.draggable{touch-action:none;user-select:none}.board.editing .person{cursor:grab}}

@media(min-width:1024px){.change-password-header .brand span{display:none}}

/* Shared section widths, scannable absences and a page-height board. */
@media(min-width:1024px){.main .progress-panel,.main .attendance-card,.main .group-charts:not(.compact){max-width:none;width:100%}.main .group-charts:not(.compact) .group-attendance{max-width:none}.board{display:flex;align-items:flex-start;width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;gap:16px;grid-template-columns:none;padding:3px 3px 20px}.board .column{flex:0 0 310px;width:310px;max-height:none;height:auto;overflow:visible;overscroll-behavior:auto;scrollbar-gutter:auto}.board .column-head{position:static}.main:has(.board){min-width:0;max-width:min(1260px,calc(100vw - 224px))}}
.board-navigation{display:flex;justify-content:flex-end;align-items:center;width:100%;gap:8px;margin:0 0 12px}.board-navigation>span{font-size:11px;color:var(--muted);margin-right:6px}.board-navigation .icon-btn{background:white;border:1px solid var(--line)}.board-prev svg{transform:rotate(180deg)}.remove-member{flex:none;color:#a53c23}.remove-member:hover{background:#ffe7dd}.remove-member svg{width:17px;height:17px}.absence-badges{display:flex;flex-wrap:wrap;gap:6px;width:100%;margin-top:2px}.absence-badges>span{display:inline-flex;align-items:center;gap:5px;font-size:10px;border-radius:8px;padding:6px 8px;background:#f1f0ed;color:#65625d;line-height:1.3}.absence-badges strong{font-size:13px;font-weight:800}.absence-badges .absence-total{background:#fff0e8;color:#9f441d}.absence-badges .has-absence{background:#ffe2db;color:#a1311d}.fixed-role{padding:13px;background:var(--paper);border:1px solid var(--line);border-radius:12px;font-size:13px}
@media(max-width:1023px){.group-toolbar{display:flex;flex-wrap:nowrap;gap:9px}.group-toolbar .search{flex:1;min-width:0}.group-import{width:46px;min-width:46px;height:46px;padding:0;flex:none}.group-import>span{display:none}.board{display:grid;grid-template-columns:minmax(0,1fr)}.board .column{width:auto;max-height:none;overflow:visible}.absence-badges{gap:5px}.absence-badges>span{padding:5px 7px}}

/* Readable desktop group columns without changing the mobile layout. */
.board-status-link{font-size:10px;margin-bottom:9px}
@media(min-width:1024px){
 .board .column{flex-basis:360px;width:360px;padding:18px}
 .board .column-head h3{font-size:30px}
 .board .column-head .count{font-size:12px;padding:6px 10px}
 .board .person{padding:16px}
 .board .person strong{font-size:14px;line-height:1.5}
 .board .person .avatar{width:36px;height:36px;font-size:12px}
 .board .board-attendance{font-size:12px}
 .board .mini-dot{width:28px;height:28px;font-size:12px}
 .board .compact-team .team-label{font-size:12px}
 .board .compact-team .team-person{font-size:12px}
 .board .compact-team .avatar{width:28px;height:28px;font-size:10px}
 .board .group-charts.compact{padding:16px 12px}
 .board .compact .donut{width:62px;height:62px}
 .board .compact .donut>span{width:48px;height:48px;font-size:19px}
 .board .compact .donut small{font-size:11px}
 .board .compact .donut-item>strong{font-size:12px}
 .board .compact .donut-item>span{font-size:11px}
 .board .compact .chart-legend{font-size:11px;gap:8px;flex-wrap:wrap}
 .board .compact .group-attendance>div:first-child{font-size:12px}
 .board .compact .group-attendance p{font-size:11px;line-height:1.5}
 .board .compact .attendance-rate strong{font-size:26px}
 .board .compact .attendance-rate span{font-size:11px}
 .board .board-status-link{font-size:12px}
 .board .quiet-empty{font-size:13px}
}

.project-contact .team-person{flex-wrap:wrap}
.project-contact-person{align-items:flex-start}
.project-contact-body{display:grid;gap:7px;min-width:0}
.leader-phone{display:inline-flex;align-items:center;gap:7px;width:max-content;max-width:100%;min-height:43px;padding:10px 14px;border-radius:10px;background:var(--soft);color:#bd431c;text-decoration:none;font-weight:700;line-height:1.25}
.leader-phone:hover{background:#ffe2d6}
.phone-inline{display:inline-flex;align-items:center;gap:4px;max-width:100%;line-height:1.4}
.phone-inline svg[aria-hidden]{display:block;width:12px;height:12px;flex:none;vertical-align:middle}
.leader-phone svg{width:12px;height:12px;vertical-align:middle}
.phone-copy{position:relative;z-index:2;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.phone-copy:hover{text-decoration:underline}
.leader-member-row,.group-detail-member{position:relative}
.person-row-link{position:absolute;inset:0;z-index:1;border-radius:inherit}

/* Screenshot-aligned admin surfaces */
:root{--screen-bg:#f7f6f2;--panel:#eeece6;--panel-line:#d9d3c7;--chip-bg:#f5f3ef}
body{background:var(--screen-bg)}
.shell{min-height:100dvh}
.topbar{height:70px;background:#fff;border-bottom:1px solid #dedbd2;box-shadow:none}
.desktop-user strong{font-size:12px;font-weight:800;color:#24241f}
.top-actions .avatar{width:38px;height:38px;background:#fff0ea;color:#c04b22}
.brand strong{font-family:'Red Hat Display',sans-serif;font-size:30px;font-weight:800;letter-spacing:0}
.brand span{display:none}
.brand img{width:38px;height:46px}
.main{max-width:1220px}
.footnote{display:none}
.sidebar{background:#fff}
.sidebar .brand{margin-bottom:42px}
.sidebar-nav{display:grid;gap:8px}
.sidebar .nav-item{min-height:50px;display:flex;flex-direction:row;justify-content:flex-start;gap:15px;padding:0 19px;border-radius:13px;font-size:13px;color:#686862;text-decoration:none}
.sidebar .nav-item svg{width:20px;height:20px}
.sidebar .nav-item.active{background:#fff0ea;color:var(--orange)}
.bottom-nav .nav-item{text-decoration:none}
.admin-page{padding-top:5px}
.admin-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:28px}
.admin-hero h1{font-family:'Red Hat Display',sans-serif;font-size:48px;line-height:1.08;font-weight:800;letter-spacing:-.5px}
.admin-hero p{font-size:14px;color:var(--muted);margin-top:13px}
.admin-actions{display:flex;gap:10px;align-items:center}
.btn{border-radius:12px;font-size:13px;min-height:48px;padding:13px 19px;text-decoration:none}
.btn svg{width:18px;height:18px}
.btn.dark{background:#282823;color:#fff}
.btn.secondary{background:#fff}
.icon-btn svg{width:20px;height:20px}
.admin-toolbar{display:flex;gap:13px;align-items:center;margin-bottom:22px}
.admin-search{flex:1;margin:0}
.admin-search svg{position:absolute;left:13px;top:14px;color:#777;width:19px;height:19px}
.admin-search input{height:48px;border-radius:13px;font-size:16px;background:#fff;padding-left:42px}
.admin-chips{margin:0 0 18px;padding:0;gap:8px;overflow:visible}
.admin-chips .chip{min-height:40px;padding:11px 17px;text-decoration:none;background:#fff;color:#686862;border-color:#dedbd2}
.admin-chips .chip.active{background:#282823;color:#fff;border-color:#282823}
.admin-chips .own-project-toggle{display:flex;margin:0;flex:none}
.own-project-switch{display:inline-flex;align-items:center;gap:10px;min-height:40px;padding:0 2px 0 8px;background:transparent;color:var(--ink);font-size:12px;font-weight:700;white-space:nowrap}
.switch-track{position:relative;display:block;width:52px;height:30px;flex:none;border:1px solid #c8c8c8;border-radius:999px;background:#dedede;box-shadow:inset 0 2px 5px #0000001c;transition:background .2s,border-color .2s}
.switch-thumb{position:absolute;top:2px;left:2px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #00000040;transition:transform .2s}
.own-project-switch[aria-checked="true"] .switch-track{background:var(--orange);border-color:var(--orange)}
.own-project-switch[aria-checked="true"] .switch-thumb{transform:translateX(22px)}
.own-project-switch:hover .switch-track{box-shadow:inset 0 2px 5px #0000001c,0 0 0 3px #0000000a}
.project-count{font-size:11px;color:#8a8880;margin:0 0 18px}
.board-navigation{margin:2px 0 12px}
.board-navigation .icon-btn{width:42px;height:42px;border-radius:12px;background:#fff}
.board-navigation>span{font-size:11px}
.admin-board{display:flex;gap:16px;overflow-x:auto;overflow-y:hidden;padding:18px 2px 24px;scrollbar-width:none}
.admin-board::-webkit-scrollbar{display:none}
.admin-column{background:var(--panel);border:1px solid var(--panel-line);border-radius:17px;flex:0 0 362px;width:362px;padding:20px}
.admin-column .column-head{margin:0 0 24px}
.admin-column .column-head h3{font-family:'Red Hat Display',sans-serif;font-size:30px;line-height:1.12;letter-spacing:-.2px}
.admin-column .count{background:#fff;border-radius:9px;min-width:28px;height:28px;display:grid;place-items:center;padding:0;font-size:12px;color:#6c6a64}
.admin-column .column-head .icon-btn{margin-left:-4px;width:32px;height:32px;color:#777}
.compact-team{margin-bottom:16px}
.compact-team .team-label{font-size:11px;margin-bottom:12px;color:#777}
.compact-team .team-people{gap:11px 16px}
.compact-team .team-person{font-size:12px}
.avatar.tiny,.compact-team .avatar.tiny{width:28px;height:28px;font-size:9px}
.admin-group-stats{background:#fff;border:0;border-radius:12px;padding:18px 12px;margin-bottom:18px}
.admin-group-stats .donut-grid{gap:9px}
.admin-group-stats .donut{width:64px;height:64px}
.admin-group-stats .donut>span{width:48px;height:48px;font-size:17px}
.admin-group-stats .donut small{font-size:10px}
.admin-group-stats .donut-item>strong{font-size:12px}
.admin-group-stats .donut-item>span{font-size:10px}
.admin-group-stats .chart-legend{font-size:10px;margin-top:14px}
.admin-group-stats .group-attendance{margin-top:16px;padding-top:13px}
.admin-group-stats .group-attendance h3{font-family:'Red Hat Display',sans-serif;font-size:16px}
.admin-group-stats .attendance-rates{gap:7px}
.admin-group-stats .attendance-rate{padding:10px 7px;border-radius:10px}
.admin-group-stats .attendance-rate strong{font-family:'Red Hat Display',sans-serif;font-size:26px;font-weight:800}
.admin-group-stats .attendance-rate span{font-size:10px}
.admin-group-stats .group-attendance p{font-size:11px;line-height:1.5;margin-top:8px}
.board-status-link{font-size:12px;margin:8px 0 18px;text-decoration:none;color:#b84720}
.board-status-link svg{width:15px;height:15px}
.member-stack{display:grid;gap:10px}
.member-card{border:0;border-radius:14px;padding:17px 18px;background:#fff;box-shadow:0 1px 0 #00000005;display:block}
.member-card[hidden],.member-no-results[hidden]{display:none!important}
.member-no-results{color:var(--muted);font-size:12px;padding:10px 0;margin:0}
.member-card .drag-handle{color:#777;display:grid;place-items:center}
.member-card .drag-handle svg{width:20px;height:20px}
.member-card .remove-member{color:#a43a20;display:grid;place-items:center;margin-left:auto;cursor:pointer}
.member-card .remove-member svg{width:16px;height:16px}
.mobile-group-assignment{display:none}
.assignment-notice{border-radius:13px;margin:7px 0 6px}
.admin-project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.admin-project-card{border-radius:20px;box-shadow:none}
.admin-project-card:hover{transform:none}
.admin-project-card .project-content{padding:24px 20px 20px}
.admin-project-card h3{font-family:'Red Hat Display',sans-serif;font-size:26px;line-height:1.08;margin:23px 0 10px;font-weight:800}
.admin-project-card .project-description{font-size:13px;min-height:43px;margin-bottom:22px}
.admin-project-card .meta{font-size:12px}
.admin-project-card .card-footer{margin-top:22px;padding-top:18px}
.admin-project-card .card-footer .btn{border-radius:11px;min-width:102px}
.admin-project-card .capacity{height:4px;margin-top:11px}
.detail-shell{min-height:calc(100dvh - 150px);display:grid;place-items:start center;padding-top:25px}
.project-detail-card{position:relative;max-width:650px;width:100%;border-radius:24px;padding:32px 30px 30px;box-shadow:0 30px 90px #0000001a}
.project-detail-card .modal-close{position:absolute;right:24px;top:24px;border:3px solid var(--ink);border-radius:18px;width:56px;height:56px;color:var(--ink)}
.project-detail-card h1{font-family:'Red Hat Display',sans-serif;font-size:32px;margin-bottom:26px}
.project-detail-card h2{font-family:'Red Hat Display',sans-serif;font-size:34px;line-height:1.1;margin:16px 0 14px;font-weight:800}
.project-detail-card>p{font-size:13px;color:var(--muted)}
.project-detail-card .detail-grid{margin:24px 0 29px}
.project-detail-card .label{font-size:10px}
.project-detail-card .value{font-size:13px}
.project-detail-card .leader-team{border-bottom:1px solid var(--line);padding-bottom:25px}
.project-detail-card .modal-actions{display:grid;border:0;padding:0;margin:26px 0 0}
.project-detail-card .modal-actions .btn{width:100%;margin-top:0}
@media(min-width:1024px){
 .sidebar{width:224px;padding:30px 18px}
 .shell{margin-left:0!important}
 .topbar .brand{display:none}
 .main{padding:36px 26px 80px}
}
@media(max-width:1023px){
 .admin-hero{flex-direction:column}
 .admin-hero h1{font-size:40px}
 .admin-toolbar{flex-direction:column;align-items:stretch}
 .admin-project-grid{grid-template-columns:1fr}
 .admin-board{display:grid;overflow:visible}
 .admin-column{width:auto;flex:auto}
 .mobile-group-assignment{display:block}
 .member-card .drag-handle,.member-card .remove-member{display:none}
}

/* Shared command links and the editable group board. */
a.btn,a.icon-btn,a.text-btn,a.chip,a.nav-item,
a.btn:hover,a.icon-btn:hover,a.text-btn:hover,a.chip:hover,a.nav-item:hover{text-decoration:none}
.groups-admin-page .admin-hero{align-items:center;flex-wrap:wrap;margin-bottom:24px}
.groups-admin-page .admin-hero>div:first-child{flex:1 1 340px;min-width:0}
.groups-admin-page .admin-actions{margin-left:auto;flex:none}
.groups-admin-page .admin-actions .btn{min-width:0;font-size:12px;padding-inline:14px;white-space:nowrap}
.groups-admin-page.is-editing .group-save-action{order:3}
.group-mobile-menu,.group-mobile-save{display:none}
.groups-admin-page .admin-hero h1{letter-spacing:0}
.groups-admin-page .admin-toolbar{margin-bottom:22px}
.groups-admin-page .board-navigation{margin-bottom:10px}
.groups-admin-page .board-toolbar{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px 20px;margin:2px 0 10px}
.groups-admin-page .board-toolbar .assignment-notice{flex:1 1 400px;min-width:0;margin:0}
.groups-admin-page .board-toolbar .board-navigation{flex:0 0 auto;width:auto;margin:0}
.groups-admin-page .board-toolbar .member-status-legend{order:-1;flex:1;margin:0;padding:0;gap:8px 16px}
.groups-admin-page.is-editing .board-toolbar .member-status-legend{order:3;flex-basis:100%;margin-top:2px}
.groups-admin-page .admin-board{padding-top:12px}
.groups-admin-page .admin-board.editing{align-items:stretch}
.groups-admin-page .admin-column[hidden]{display:none!important}
.groups-admin-page.is-editing .admin-column .column-head{gap:6px}
.groups-admin-page.is-editing .admin-column .column-head h3{font-size:28px;flex:1;min-width:0}
.groups-admin-page.is-editing .admin-column .column-head .count,
.groups-admin-page.is-editing .admin-column .column-head .icon-btn{flex:none}
.groups-admin-page .member-stack:empty{min-height:32px}
.groups-admin-page .unassigned-column .remove-member{visibility:hidden}
.member-card .remove-member{background:none;border:0;padding:6px;border-radius:8px}
.group-drag-ghost{position:fixed;z-index:100;pointer-events:none;margin:0;opacity:1;transform:translate(-50%,-50%);padding:13px 22px;background:#fff;border:2px solid var(--orange);border-radius:12px;box-shadow:0 18px 40px #28282333;font-size:13px;font-weight:700;white-space:nowrap}
.group-drag-ghost input,.group-drag-ghost .mobile-group-assignment{display:none}
.drag-source{opacity:.45;background:#f7f5f1}
.admin-board .admin-column.drag-over{outline:2px solid var(--orange);outline-offset:-2px;background:#fff0e9}
.admin-board .admin-column.drag-over .column-head h3{background:#e7e3dc}
a,a:hover,a:focus,a:active,a:visited{text-decoration:none}

/* Shared brand typography and palette. */
@font-face{font-family:'Red Hat Display';src:url("../fonts/red-hat-display-latin.7e28f9c03ec4.woff2") format('woff2');font-style:normal;font-weight:400 800;font-display:swap}
@font-face{font-family:Zain;src:url("../fonts/zain-bold-latin.a9ea35cbbbf7.woff2") format('woff2');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:Zain;src:url("../fonts/zain-extrabold-latin.9c83c4708783.woff2") format('woff2');font-style:normal;font-weight:800;font-display:swap}
:root{--font-body:'Red Hat Display',sans-serif;--font-display:Zain,sans-serif;--orange:#f8612b;--gray:#b9b9b9;--white:#fff;--paper:#f7f7f7;--screen-bg:#f7f7f7;--panel:#eee;--panel-line:#d9d9d9;--line:#e5e5e5;font-family:var(--font-body)}
body,button,input,select,textarea{font-family:var(--font-body)}
body{font-size:15px}
h1,h2,h3,h4,.heading,.stat-value,.date-box strong,.art-word,.attendance-rate strong,
.admin-hero h1,.admin-column .column-head h3,.admin-group-stats .group-attendance h3,
.admin-group-stats .attendance-rate strong,.admin-project-card h3,
.project-detail-card h1,.project-detail-card h2{font-family:var(--font-display);font-weight:700;letter-spacing:0}
.brand{gap:9px}
.brand strong{font-family:var(--font-body);font-weight:800;font-size:23px;line-height:1.05;letter-spacing:0;white-space:nowrap}
.brand span,.sidebar .brand span{display:block;color:var(--gray);font-size:11px;font-weight:700;line-height:1.15;margin-top:3px}
.brand img{width:38px;height:46px}
.sidebar .brand strong{font-size:20px}
.sidebar .brand img{width:36px;height:43px}
.login-card .brand img{width:58px;height:70px}
.login-card .brand strong{font-size:29px}
.login-card .brand span{font-size:14px}
.page-title p,.admin-hero p,.project-description,.login-card .intro{font-size:15px}
.admin-group-stats .group-attendance h3{font-size:20px}
.admin-board .column-head{background:transparent;padding:0;margin:0 0 12px}
.admin-board .compact-team{margin-bottom:12px}
.admin-board .compact-team .team-label{margin-bottom:6px}
:root{--type-title:39px;--type-subtitle:21px;--type-body:15px}
h1,.admin-hero h1,.login-card h1,.project-detail-card h1{font-size:var(--type-title);font-weight:800;line-height:1.1}
h2,.section-head h2,.group-attendance h3,.admin-group-stats .group-attendance h3{font-size:var(--type-subtitle);line-height:1.15}
h3{font-size:var(--type-subtitle);line-height:1.15}
.admin-column .column-head h3{font-size:26px;line-height:1.1}
.groups-admin-page.is-editing .admin-column .column-head h3{font-size:26px}
.admin-project-card h3{font-size:var(--type-subtitle);line-height:1.15}
.project-detail-card h2{font-size:34px}
.year-reset-section{border-top:0;padding-top:0}
.year-reset-section>details{max-width:780px}
.year-reset-section summary{font-size:13px;padding:0;list-style:revert}
.year-reset-section summary::-webkit-details-marker{display:inline}
.year-reset-section p{font-size:12px;line-height:1.6;margin-top:20px}
.year-reset-section .btn{margin-top:17px}
.reset-dialog{width:min(650px,calc(100vw - 32px));max-width:none}
.reset-dialog .modal-inner{padding:30px}
.reset-dialog .modal-top{margin-bottom:18px}
.reset-dialog .modal-top h2{font-size:33px}
.reset-dialog .modal-top .icon-btn{width:30px;height:30px}
.reset-dialog .modal-top .icon-btn svg{width:19px;height:19px}
.reset-dialog p{color:var(--muted);font-size:13px;line-height:1.6;margin-top:8px}
.reset-dialog .field{margin-top:17px}
.reset-dialog .modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}
.group-delete-dialog .modal-top{margin-bottom:12px}
.group-delete-dialog .group-delete-summary{font-size:15px;color:var(--ink);margin:0 0 20px}
.group-delete-dialog section{margin:18px 0}
.group-delete-dialog section h3{font-family:var(--font-body);font-size:14px;line-height:1.4;font-weight:700}
.group-delete-dialog section p{color:var(--ink);margin-top:6px;font-size:13px}
.group-delete-dialog .group-delete-losses{padding:16px 18px;border-radius:12px;background:#fff0ec;color:#a12d21}
.group-delete-dialog .group-delete-losses ul{margin:8px 0 0;padding-left:18px;font-size:13px;line-height:1.6}
.group-delete-dialog .group-delete-losses li+li{margin-top:4px}
.group-delete-dialog .group-delete-kept{padding-top:16px;border-top:1px solid var(--line)}
.group-delete-dialog .group-delete-warning{font-size:12px;font-weight:700;color:#a12d21;margin:20px 0 0}
.group-delete-dialog .modal-actions{margin-top:20px}
.group-delete-dialog .group-delete-submit{background:#b13620;color:#fff}
.group-delete-dialog .group-delete-submit:hover{background:#942a18}
@media(max-width:599px){.reset-dialog .modal-inner{padding:24px}.reset-dialog .modal-actions{flex-direction:column-reverse}.reset-dialog .modal-actions .btn{width:100%}}
.group-form-dialog{width:min(650px,calc(100vw - 30px));max-width:none;max-height:calc(100dvh - 30px);overflow-y:auto}
.group-form-dialog .modal-inner{padding:30px}
.group-form-dialog .modal-top{align-items:flex-start;margin-bottom:18px}
.group-form-dialog .modal-top h2{font-size:33px;line-height:1.1}
.group-form-dialog .group-form-close{width:54px;height:54px;border:0;border-radius:16px}
.group-form-dialog .group-form-close svg{width:20px;height:20px}
.group-form-dialog .field{margin-top:18px}
.group-form-dialog .field label,.group-form-dialog .leader-picker legend{font-size:11px;font-weight:700}
.group-form-dialog .leader-picker{margin:24px 0 21px}
.group-form-dialog .leader-picker p{font-size:12px;color:var(--muted)}
.group-form-dialog .group-leader-list{display:grid;gap:8px;margin-top:13px}
.group-form-dialog .leader-choice{min-height:64px;padding:10px 12px;border-radius:12px}
.group-form-dialog .leader-choice .avatar{flex:none}
.group-form-dialog .leader-choice-text{min-width:0}
.group-form-dialog .leader-choice strong{font-size:12px}
.group-form-dialog .leader-choice.unavailable{opacity:.55}
.group-form-dialog .leader-choice.unavailable:has(input:checked){opacity:1}
.group-form-dialog .modal-actions{margin-top:24px}
.group-form-dialog .field-error{color:#a3381b;font-size:11px}
.group-form-dialog .group-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.group-form-dialog .group-form-delete{margin-right:auto;padding-inline:8px;background:transparent;color:#a12d21}
.group-form-dialog .group-form-delete:hover{background:#fff0ec}
.group-form-dialog .group-form-delete[hidden]{display:none}
@media(max-width:599px){.group-form-dialog .modal-inner{padding:22px}.group-form-dialog .modal-top h2{font-size:29px}.group-form-dialog .group-form-close{width:46px;height:46px}.group-form-dialog .modal-actions{flex-direction:column-reverse}.group-form-dialog .modal-actions .btn{width:100%}}
@media(max-width:599px){
 .group-form-dialog .group-form-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
 .group-form-dialog .group-form-actions [data-group-form-submit]{grid-column:1 / -1;grid-row:1}
 .group-form-dialog .group-form-actions [data-close-dialog]{grid-column:2;grid-row:2}
 .group-form-dialog .group-form-delete{grid-column:1;grid-row:2;margin:0}
 .group-form-dialog .group-form-actions:has(.group-form-delete[hidden]) [data-close-dialog]{grid-column:1 / -1}
}

@media(max-width:1023px){
 .groups-admin-page .admin-board{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;align-items:flex-start;padding:12px 0 20px}
 .groups-admin-page .admin-board .admin-column{flex:0 0 100%;width:100%;max-width:100%;scroll-snap-align:start;scroll-snap-stop:always}
}

.group-import-dialog{width:min(650px,calc(100vw - 30px));max-width:none}
.group-import-dialog .modal-inner{padding:30px}
.group-import-dialog .modal-top{align-items:flex-start;margin-bottom:10px}
.group-import-dialog .modal-top h2{font-size:33px}
.import-preview-summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px 20px;margin:18px 0;font-size:13px;color:var(--muted)}
.import-preview-summary>span{display:inline-flex;align-items:baseline;gap:4px;white-space:nowrap}
.import-preview-summary strong{color:var(--ink);font-size:18px;margin-right:3px}
.import-preview-alert{padding:12px 14px;margin:14px 0;border-radius:12px;background:#fff0ec;color:#a12d21;font-size:13px;line-height:1.5}
.import-preview-table-wrap{overflow:auto;max-height:42dvh;border:1px solid var(--line);border-radius:12px;margin:16px 0}
.import-preview-table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}
.import-preview-table thead th{position:sticky;top:0;background:var(--paper);font-size:11px;color:var(--muted);z-index:1}
.import-preview-table th,.import-preview-table td{padding:12px;vertical-align:top;border-bottom:1px solid var(--line);min-width:110px;overflow-wrap:anywhere}
.import-preview-table tbody th{font-weight:400;min-width:170px}
.import-preview-table tr:last-child>*{border-bottom:0}
.import-preview-table small{display:block;margin-top:5px;font-size:10px;color:var(--muted)}
.import-preview-table .has-error{background:#fff5f1}
.import-preview-table .has-change td:last-child{font-weight:700;color:#a5451c}
.import-preview-error{display:block;color:#a12d21;font-size:12px;margin-top:5px}
.import-preview-summary>.import-preview-error{display:inline-flex;margin-top:0;font-size:inherit}
.group-import-dialog .import-preview-actions{flex-wrap:wrap}
.import-skip-errors{display:flex;align-items:flex-start;gap:10px;margin:18px 0;padding:14px;background:var(--paper);border:1px solid var(--line);border-radius:12px;cursor:pointer}
.import-skip-errors input[type=checkbox]{appearance:auto;display:block;position:static;opacity:1;flex:none;width:18px;height:18px;margin:1px 0 0;accent-color:var(--orange)}
.import-skip-errors strong{display:block;font-size:13px}
.import-skip-errors small{display:block;font-size:11px;color:var(--muted);line-height:1.5;margin-top:5px}
.group-import-dialog .group-import-close{width:42px;height:42px;border:0;border-radius:10px}
.group-import-dialog .import-intro{font-size:12px;color:var(--muted);line-height:1.6}
.group-import-dialog .upload-area{display:grid;justify-items:center;gap:8px;margin:20px 0 18px;border-radius:12px}
.group-import-dialog .upload-area svg{width:21px;height:21px}
.group-import-dialog .upload-area label{font-size:12px}
.group-import-dialog .upload-area input{margin:2px 0 0}
.group-import-dialog .group-import-close{border:0;outline:none;box-shadow:none;flex:none}
.group-import-dialog .group-import-close:focus-visible{outline:none;background:var(--soft);color:#a5451c;box-shadow:none}
.group-import-dialog #group-import-title:focus{outline:none}
.group-import-upload{position:relative;display:flex;align-items:center;gap:14px;padding:20px;margin:20px 0;border:1px dashed #cbc9c2;border-radius:14px;background:var(--paper);cursor:pointer;text-align:left;transition:background .15s,border-color .15s}
.group-import-upload:hover,.group-import-upload:focus-within{background:var(--soft);border-color:var(--orange)}
.group-import-upload>svg{width:25px;height:25px;color:#a5451c}
.group-import-upload-copy{display:block;flex:1;min-width:0}
.group-import-upload-copy strong{display:block;font-size:13px;overflow-wrap:anywhere}
.group-import-upload-copy small{display:block;font-size:11px;color:var(--muted);margin-top:5px}
.group-import-upload-button{flex:none;padding:10px 13px;background:white;border:1px solid var(--line);border-radius:10px;font-size:12px;font-weight:700}
.group-import-upload input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}
.group-import-divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:var(--muted);font-size:11px}
.group-import-divider::before,.group-import-divider::after{content:"";height:1px;background:var(--line);flex:1}
@media(max-width:450px){.group-import-upload{flex-wrap:wrap;padding:16px}.group-import-upload-button{margin-left:39px}}
.group-import-dialog .field textarea{min-height:160px}
.group-import-dialog .import-hint{font-size:10px;color:var(--muted);margin-top:8px}
@media(max-width:599px){.group-import-dialog .modal-inner{padding:22px}.group-import-dialog .modal-top h2{font-size:29px}.group-import-dialog .group-import-close{width:46px;height:46px}.group-import-dialog .modal-actions{flex-direction:column-reverse}.group-import-dialog .modal-actions .btn{width:100%}}
.groups-admin-page .admin-column .member-card{margin-top:0;padding:16px 14px;border-radius:12px;min-width:0}
.member-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:22px}
.member-card-head strong{font-size:14px;font-weight:700;line-height:1.25;min-width:0;overflow-wrap:anywhere}
.member-card-tools{display:flex;align-items:center;gap:4px;flex:none}
.member-card .member-card-tools .remove-member{margin-left:0}
.member-card-progress{display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:center;gap:8px;margin-top:11px}
.member-status-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;min-width:0}
.member-status{height:34px;min-width:0;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;font-size:12px;font-weight:700;line-height:1}
.member-status svg{width:15px;height:15px;stroke-width:1.8}
.member-status.completed{background:#eaf4ee;color:#237257}
.member-status.registered{background:#fff0e9;color:#b94d25}
.member-status.open{background:#f0f0ef;color:#777873}
.member-status.not-completed{background:#fbeceb;color:#b34437}
.member-attendance{font-size:17px;font-weight:700;line-height:1;text-align:right;white-space:nowrap}
.member-status-legend{display:flex;flex-wrap:wrap;gap:10px 20px;align-items:center;padding:17px 2px 0;color:var(--muted);font-size:11px}
.member-status-legend>span{display:inline-flex;align-items:center;gap:5px}
.member-status-legend svg{width:15px;height:15px;stroke-width:1.8}
.member-status-legend .completed{color:#237257}
.member-status-legend .registered{color:#b94d25}
.member-status-legend .open{color:#777873}
.member-status-legend .not-completed{color:#b34437}
.groups-admin-page .member-status-legend{padding:2px 2px 0;margin-bottom:4px}
.projects-admin-page .admin-project-card[hidden],.projects-admin-page .project-search-empty[hidden]{display:none!important}
.projects-admin-page .project-search-empty{grid-column:1/-1}
.project-preview-dialog{width:min(650px,calc(100vw - 30px));max-width:none;max-height:calc(100dvh - 30px);overflow-y:auto;border-radius:24px}
.project-preview-dialog .project-detail-card{width:100%;max-width:none;border:0;border-radius:0;box-shadow:none}
.project-preview-loading{padding:36px 30px;color:var(--muted);font-size:13px}
.project-detail-card h1{font-size:32px}
.project-detail-card .modal-close{width:38px;height:38px;right:24px;top:24px;border:0;border-radius:10px;color:var(--muted)}
.project-detail-card .modal-close svg{width:20px;height:20px}
.project-detail-card .badge-row{margin-bottom:12px}
.project-detail-meta{display:grid;gap:4px;margin:22px 0 2px}
.project-detail-meta .meta{margin:0;font-size:12px;line-height:1.5;align-items:center}
.project-detail-meta .meta svg{width:16px;height:16px;margin:0}
#toast{top:auto;right:auto;margin:0;border:0;background:#232323;color:#fff}
.project-detail-card .detail-grid{gap:20px 28px;padding:22px 0;margin:24px 0 32px}
.project-detail-card .leader-team{border-bottom:0;padding-bottom:0}
.project-detail-card .modal-actions{grid-template-columns:minmax(0,1fr);justify-content:stretch;gap:10px;margin-top:30px}
@media(max-width:599px){.project-preview-dialog .project-detail-card{padding:25px 22px}.project-detail-card .modal-close{right:17px;top:17px}.project-detail-card h1{padding-right:45px}.project-detail-card h2{font-size:30px}.project-detail-card .detail-grid{gap:17px 15px}}
.project-modal-page{max-width:650px;margin:24px auto 80px}
.project-modal-panel{background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;color:var(--ink)}
.project-preview-dialog .project-modal-page{margin:0;max-width:none}
.project-preview-dialog .project-modal-panel{border:0;border-radius:0}
.project-modal-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px}
.project-modal-heading h1{font-size:34px;line-height:1.1}
.project-modal-close{flex:none;color:var(--muted);width:42px;height:42px}
.project-modal-close svg{width:20px;height:20px}
.project-participants-panel>.pill{margin:2px 0 12px}
.project-participants-panel h2{font-family:Zain,sans-serif;font-size:32px;line-height:1.08;font-weight:800;margin:0 0 3px}
.project-participants-meta{font-size:12px;color:var(--muted)}
.project-participants-list{display:grid;gap:10px;margin-top:22px}
.project-participant{display:flex;align-items:center;gap:12px;min-height:80px;border:1px solid var(--line);border-radius:16px;padding:14px 20px}
.project-participant strong{font-size:13px}
.project-participant-info{display:grid;gap:3px;min-width:0}
.project-participant-info span{font-size:11px;color:var(--muted)}
.project-participant-status{margin-left:auto;flex:none;white-space:nowrap}
.project-participants-empty{border:1px solid var(--line);border-radius:16px;padding:20px;font-size:12px;color:var(--muted)}
.project-completion-link{margin-top:18px}
.project-completion-panel>.pill{margin:1px 0 13px}
.project-completion-panel h2{font-family:'Red Hat Display',sans-serif;font-size:29px;line-height:1.15;font-weight:800;margin:0 0 3px}
.project-completion-note{background:var(--paper);border-radius:12px;padding:15px;margin:18px 0 22px;font-size:12px;color:var(--muted)}
.project-completion-section{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.project-completion-section h3{font-size:26px}
.completion-all.btn{min-height:37px;padding:9px 12px;background:var(--green-bg);color:var(--green);font-size:11px;font-weight:600}
.completion-all.btn:hover{background:#dcece3}
.project-completion-list{display:grid;gap:10px}
.project-completion-person{min-width:0;margin:0;padding:13px;border:1px solid var(--line);border-radius:14px}
.project-completion-person legend{float:left;width:100%;display:flex;align-items:center;gap:10px;padding:0;margin:0 0 11px;font-size:12px}
.project-completion-person legend .avatar{width:31px;height:31px;font-size:9px}
.project-completion-options{clear:both;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.project-completion-options label{position:relative;min-width:0;cursor:pointer}
.project-completion-options input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.project-completion-options span{display:grid;place-items:center;min-height:38px;padding:6px 4px;border:1px solid var(--line);border-radius:9px;color:var(--muted);font-size:11px;font-weight:600;text-align:center}
.project-completion-options input:checked+span{background:var(--green-bg);border-color:#a8d6be;color:var(--green)}
.project-completion-options label:has(input[value="absent"]:checked) span{background:#fff0e9;border-color:#f7bca7;color:#b6421d}
.project-completion-options label:has(input[value="excused"]:checked) span{background:#f0f0f0;border-color:#c8c8c8;color:#555}
.project-completion-options input:focus-visible+span{outline:3px solid var(--ink);outline-offset:2px}
.project-completion-error{color:#a3381b;font-size:12px;margin:0 0 14px}
.project-completion-panel .project-edit-actions{margin-top:10px}
@media(max-width:599px){.project-completion-panel h2{font-size:25px}.project-completion-options span{font-size:10px}.project-completion-section h3{font-size:24px}}
.project-edit-panel .field{margin:0 0 17px}
.project-edit-panel .field label,.project-leader-picker legend{display:block;margin-bottom:7px;font-size:11px;font-weight:700}
.project-edit-panel .field>input,.project-edit-panel .field>.flatpickr-wrapper>input,.project-edit-panel .field>select,.project-edit-panel .field>textarea{display:block;width:100%;min-height:46px;padding:11px 12px;border:1px solid #dedbd3;border-radius:11px;background:#fff;color:var(--ink);font-size:13px}
.project-edit-panel .field textarea{min-height:105px;resize:vertical;line-height:1.5}
.project-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.project-edit-panel .field .number-stepper{display:flex;align-items:center;justify-content:space-between;position:relative;height:58px;padding:5px;background:var(--paper);border:1px solid var(--line);border-radius:13px}
.project-edit-panel .number-stepper button{width:44px;height:44px;flex:none;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);font-size:21px}
.project-edit-panel .number-stepper input{height:46px;min-width:0;width:100%;padding:4px;border:0;background:transparent;text-align:center;font-size:22px;font-weight:800;appearance:textfield}
.project-edit-panel .number-stepper input::-webkit-inner-spin-button,.project-edit-panel .number-stepper input::-webkit-outer-spin-button{appearance:none;margin:0}
.project-edit-panel .number-stepper:has(.stepper-unit) input{padding-bottom:13px}
.stepper-unit{position:absolute;left:50%;bottom:6px;transform:translateX(-50%);font-size:9px;color:var(--muted);pointer-events:none}
.project-leader-picker{border:0;padding:0;margin:6px 0 0;min-width:0}
.project-leader-picker p{font-size:12px;color:var(--muted)}
.project-leader-list{display:grid;gap:8px;margin-top:13px}
.project-leader-choice{display:flex;align-items:center;gap:12px;min-height:57px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;font-size:12px;font-weight:700;cursor:pointer}
.project-leader-choice.selected{background:var(--soft);border-color:#ffab8d}
.project-leader-choice input{width:18px;height:18px;accent-color:var(--orange);margin:0;flex:none}
.project-leader-choice .avatar{width:30px;height:30px;flex:none;font-size:9px}
.project-leader-choice input:disabled{cursor:not-allowed}
.project-edit-note{background:#f0eee6;border-radius:12px;padding:17px;margin-top:22px;font-size:11px;color:var(--muted)}
.project-edit-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);margin-top:10px;padding-top:22px}
.project-edit-actions .btn{font-size:12px}
.project-edit-actions svg{width:17px;height:17px}
.project-edit-panel .errorlist,.project-edit-panel .form-errors{color:#a3381b;font-size:11px;margin:7px 0;padding-left:18px}
@media(max-width:599px){.project-modal-page{margin:8px auto 70px}.project-modal-panel{padding:23px 19px}.project-modal-heading h1{font-size:30px}.project-participants-panel h2{font-size:25px}.project-edit-grid{grid-template-columns:1fr}.project-edit-actions{flex-direction:column-reverse}.project-edit-actions .btn{width:100%}}
@media(max-width:1023px){.projects-admin-page .admin-chips{max-width:100%;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;scrollbar-width:none}.projects-admin-page .admin-chips::-webkit-scrollbar{display:none}.projects-admin-page .admin-chips .chip{flex:none}}
.admin-modal-page{max-width:650px;margin:26px auto 80px}
.admin-modal-panel{background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;color:var(--ink)}
.admin-group-detail-dialog{width:min(650px,calc(100vw - 30px));max-width:none;max-height:calc(100dvh - 30px);overflow-y:auto;border-radius:24px}
.admin-group-detail-dialog .admin-modal-panel{border:0;border-radius:0}
.admin-modal-loading{padding:32px;color:var(--muted);font-size:13px}
.admin-modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.admin-modal-heading h1{font-size:32px;line-height:1.05;min-width:0;overflow-wrap:anywhere}
.admin-modal-heading p{color:var(--muted);font-size:12px;margin-top:8px}
.admin-modal-close{flex:none;width:34px;height:34px;border-radius:8px;color:var(--muted)}
.admin-modal-close svg{width:19px;height:19px}
.group-detail-stats .admin-group-stats{border:1px solid var(--line);border-radius:18px;padding:28px 24px;margin:0}
.group-detail-stats .admin-group-stats .donut-grid{gap:14px}
.group-detail-stats .admin-group-stats .donut{width:90px;height:90px}
.group-detail-stats .admin-group-stats .donut>span{width:68px;height:68px;font-size:22px}
.group-detail-stats .admin-group-stats .donut small{font-size:11px}
.group-detail-stats .admin-group-stats .donut-item>strong{font-size:13px}
.group-detail-stats .admin-group-stats .group-attendance{margin-top:19px;padding-top:15px}
.group-detail-stats .admin-group-stats .attendance-rate{padding:12px 10px}
.group-detail-stats .admin-group-stats .attendance-rate strong{font-size:27px}
.group-detail-note{display:flex;gap:10px;align-items:flex-start;background:#fff0e9;color:#a24624;border-radius:13px;padding:16px;margin:17px 0 20px;font-size:11px;line-height:1.6}
.group-detail-note svg{width:17px;height:17px;flex:none;margin-top:2px}
.group-detail-members,.member-project-list,.member-history-list{display:grid;gap:10px}
.group-detail-member{display:flex;align-items:center;gap:13px;min-width:0;border:1px solid var(--line);border-radius:15px;padding:16px;color:var(--ink);text-decoration:none}
.group-detail-member:hover{background:#faf9f7}
.group-detail-member>.avatar{flex:none}
.group-detail-member-body{display:grid;gap:5px;min-width:0;flex:1}
.group-detail-member-body>strong{font-size:13px}
.group-detail-member-body>small{font-size:10px;color:var(--muted)}
.group-detail-member-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin-top:4px}
.group-detail-member-meta .member-status-row{display:flex;gap:4px}
.group-detail-member-meta .member-status{width:24px;height:24px;font-size:10px}
.group-detail-member-meta>span:last-child{display:inline-flex;align-items:center;gap:4px}
.group-detail-member-meta svg{width:14px;height:14px}
.group-detail-absence{display:flex;gap:6px;flex-wrap:wrap;margin-top:5px}
.group-detail-absence span{font-size:10px;color:#a34825;background:#fff0e9;padding:7px 8px;border-radius:8px}
.group-detail-absence span:nth-child(2){color:#777;background:#f4f3f1}
.group-detail-absence span:nth-child(3){color:#9b3324;background:#fbe8e4}
.group-detail-member-arrow{flex:none;color:var(--orange)}
.group-detail-member-arrow svg{width:17px;height:17px}
.admin-modal-empty{font-size:12px;color:var(--muted);padding:20px 0}
.member-detail-person{display:flex;align-items:center;gap:16px;margin:26px 0 26px}
.member-detail-person .avatar{width:55px;height:55px;font-size:16px;flex:none}
.member-detail-person h2{font-size:30px;line-height:1.1}
.member-detail-person p{font-size:12px;color:var(--muted);margin-top:5px}
.member-project-row{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:17px;padding:18px 16px;min-height:94px}
.member-project-icon{flex:none;width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#fff0e9;color:#c4512b}
.member-project-icon.liturgie{background:#f1eef7;color:#776488}
.member-project-icon.pfarrleben{background:#eaf3ed;color:#50775e}
.member-project-icon svg{width:21px;height:21px}
.member-project-text{display:grid;gap:4px;min-width:0;flex:1}
.member-project-text strong{font-size:13px}
.member-project-text span,.member-project-text small{font-size:11px;color:var(--muted);line-height:1.4}
.member-project-state{flex:none;border-radius:99px;padding:8px 11px;font-size:10px;font-weight:700;background:#f5f4f2;color:#777}
.member-project-state.completed{background:#eaf4ee;color:var(--green)}
.member-project-state.registered{background:#fff0e9;color:#b94d25}
.member-project-state.not-completed{background:#fbe8e4;color:#a73827}
.member-project-state svg{width:13px;height:13px;vertical-align:middle;margin-right:3px}
.member-attendance-link{display:inline-flex;align-items:center;gap:7px;color:#b6461f;font-size:12px;font-weight:700;margin-top:26px}
.member-attendance-link svg{width:17px;height:17px}
.member-detail-rates{gap:10px;margin:20px 0}
.member-detail-rates .attendance-rate{min-height:100px}
.member-detail-rates .attendance-rate strong{font-size:30px}
.member-history-row{display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:17px;padding:18px 20px;min-height:91px}
.member-history-row .date-box{flex:none;width:48px;height:48px;border-radius:11px;background:#f7f7f5;color:var(--ink)}
.member-history-row>div{display:grid;gap:5px;min-width:0;flex:1}
.member-history-row>div strong{font-size:12px}
.member-history-row>div small{font-size:11px;color:var(--muted)}
.member-history-state{flex:none;font-size:10px;font-weight:700;border-radius:99px;padding:8px 10px;background:#eaf4ee;color:var(--green)}
.member-history-state.absent{background:#fff0e9;color:#b94d25}
.member-history-state.excused{background:#f4f3f1;color:#777}
@media(max-width:599px){.admin-modal-panel{padding:23px 19px}.admin-group-detail-dialog .admin-modal-panel{padding:23px 19px}.admin-modal-heading h1{font-size:29px}.group-detail-stats .admin-group-stats{padding:19px 9px}.group-detail-stats .admin-group-stats .donut{width:65px;height:65px}.group-detail-stats .admin-group-stats .donut>span{width:49px;height:49px;font-size:17px}.group-detail-stats .admin-group-stats .donut small{font-size:9px}.group-detail-member{padding:13px 10px;gap:8px}.group-detail-member>.avatar{width:31px;height:31px;font-size:10px}.member-project-row{padding:13px 10px;gap:8px}.member-project-icon{width:34px;height:34px}.member-project-state{max-width:90px;text-align:center;padding:7px}.member-detail-rates{gap:5px}.member-detail-rates .attendance-rate{padding:10px 6px}.member-detail-rates .attendance-rate strong{font-size:24px}.member-history-row{padding:13px 10px;gap:8px}.member-history-state{padding:7px 8px}}
@media(max-width:599px){.groups-admin-page .admin-column .member-card{padding:15px 13px}.member-status-row{gap:6px}.member-status{gap:5px}}
@media(max-width:1023px){
 .groups-admin-page .admin-hero{align-items:stretch;gap:18px}
 .groups-admin-page .admin-hero>div:first-child{flex:auto}
 .groups-admin-page .admin-actions{flex-wrap:wrap}
 .groups-admin-page .admin-actions .btn{flex:1}
 .groups-admin-page .admin-toolbar{flex-direction:row;align-items:stretch}
 .groups-admin-page .admin-toolbar .btn{font-size:0;padding:0;width:48px;min-width:48px}
 .groups-admin-page .admin-toolbar .btn svg{width:20px;height:20px}
 .groups-admin-page .admin-search{min-width:0}
 .groups-admin-page .admin-search input{min-width:0}
}
@media(max-width:599px){
 .groups-admin-page .admin-hero{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:start;gap:14px 12px;margin-bottom:20px}
 .groups-admin-page .admin-hero h1{font-size:clamp(26px,8vw,32px)}
 .groups-admin-page .admin-actions{display:none}
 .group-mobile-menu{display:block;position:relative;grid-column:2;grid-row:1}
 .group-mobile-menu>summary{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:white;color:var(--ink);cursor:pointer;list-style:none}
 .group-mobile-menu>summary::-webkit-details-marker{display:none}
 .group-mobile-menu>summary svg{width:22px;height:22px}
 .group-mobile-menu[open]>summary{background:var(--soft)}
 .group-mobile-menu-panel{position:absolute;right:0;top:52px;z-index:8;width:252px;padding:6px;border:1px solid var(--line);border-radius:13px;background:white;box-shadow:0 8px 28px #29282120}
 .group-mobile-menu-panel>button,.group-mobile-menu-panel>a{display:flex;align-items:center;gap:10px;width:100%;min-height:46px;padding:12px 10px;border-radius:8px;background:transparent;color:var(--ink);font-size:12px;text-align:left}
 .group-mobile-menu-panel>button:hover,.group-mobile-menu-panel>a:hover{background:var(--paper)}
 .group-mobile-menu-panel svg{width:18px;height:18px;color:var(--muted)}
 .group-mobile-save{display:inline-flex;grid-column:1 / -1;min-height:46px}
 .groups-admin-page .admin-toolbar{margin-bottom:16px}
 .groups-admin-page .board-toolbar{gap:12px}
 .groups-admin-page .board-toolbar .member-status-legend{flex-basis:100%;order:3}
 .groups-admin-page .board-toolbar .board-navigation{margin-left:auto}
 .groups-admin-page .board-toolbar .assignment-notice{flex-basis:100%}
}
@media(max-width:599px){.projects-admin-page .admin-chips{flex-wrap:wrap;overflow:visible}.projects-admin-page .admin-chips .own-project-toggle{flex:0 0 100%;margin-top:4px}.projects-admin-page .own-project-switch{width:100%;justify-content:flex-start;padding:4px 2px}}
*{scrollbar-width:thin;scrollbar-color:var(--gray) #f1f1f1}
*::-webkit-scrollbar{width:8px;height:8px}
*::-webkit-scrollbar-track{background:#f1f1f1;border-radius:999px}
*::-webkit-scrollbar-thumb{background:var(--gray);border:1px solid #f1f1f1;border-radius:999px}
*::-webkit-scrollbar-thumb:hover{background:#969696}
@media(max-width:599px){.projects-admin-page .admin-hero{flex-direction:row;align-items:center;justify-content:space-between;gap:8px}.projects-admin-page .admin-hero h1{white-space:nowrap}.projects-admin-page .admin-hero>.btn{flex:none;min-height:44px;padding:10px 12px;font-size:12px;gap:6px;white-space:nowrap}}
@media(max-width:359px){.projects-admin-page .admin-hero>.btn{font-size:11px;padding:9px 8px}.projects-admin-page .admin-hero>.btn svg{width:17px;height:17px}}

/* Firmling dashboard */
.firmling-dashboard{max-width:1200px}
.firmling-greeting{margin:0 0 30px}
.firmling-greeting h1{font-size:var(--type-title);font-weight:800;line-height:1.1}
.firmling-greeting h1 span{color:var(--orange)}
.firmling-panel{background:#fff;border:1px solid var(--line);border-radius:21px;padding:25px 24px;box-shadow:0 8px 28px #29282105}
.firmling-panel h2,.firmling-registrations h2{font-size:31px;line-height:1.08}
.firmling-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:19px}
.firmling-link{display:inline-flex;align-items:center;gap:8px;color:#bd4922;text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap}
.firmling-link:hover{text-decoration:underline}
.firmling-link svg{width:18px;height:18px}
.firmling-category-row{display:flex;align-items:center;gap:13px;min-height:82px;border-bottom:1px solid var(--line)}
.firmling-category-row:last-child{border-bottom:0}
.firmling-category-row .category-icon{width:40px;height:40px;border-radius:13px}
.firmling-category-row .category-icon svg{width:21px;height:21px}
.firmling-category-copy{display:grid;gap:3px;flex:1;min-width:0}
.firmling-category-copy strong{font-size:13px}
.firmling-category-copy span{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.firmling-status{display:inline-flex;align-items:center;gap:5px;flex:none;border-radius:99px;padding:6px 9px;font-size:10px;font-weight:700;white-space:nowrap}
.firmling-status svg{width:13px;height:13px}
.firmling-status.done{background:#eaf4ee;color:var(--green)}
.firmling-status.registered{background:#fff0e9;color:#b94d25}
.firmling-status.missed{background:#fbe8e4;color:#a73827}
.firmling-category-add{color:#bf481f;display:grid;place-items:center;width:32px;height:32px;flex:none}
.firmling-category-add svg{width:19px;height:19px}
.firmling-attendance{margin-top:32px}
.firmling-attendance>p,.firmling-history-page>p{font-size:12px;color:var(--muted);margin-top:3px}
.firmling-attendance .attendance-rates,.firmling-history-page .attendance-rates{margin:20px 0 27px}
.firmling-attendance .attendance-rate,.firmling-history-page .attendance-rate{padding:12px 10px;min-height:99px}
.firmling-attendance .attendance-rate strong,.firmling-history-page .attendance-rate strong{font-size:30px}
.firmling-attendance .attendance-rate span,.firmling-history-page .attendance-rate span{font-size:12px}
.firmling-registrations{margin-top:33px}
.firmling-registration-list{display:grid;gap:14px;margin-top:17px}
.firmling-registration{display:flex;align-items:flex-start;gap:16px;min-height:208px;padding:20px;background:#fff;border:1px solid var(--line);border-radius:18px}
.firmling-registration .date-box{width:49px;height:53px;background:#f7f7f5;border-radius:12px}
.firmling-registration .date-box strong{font-size:27px}
.firmling-registration-body{flex:1;min-width:0}
.firmling-registration-badges{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:5px}
.firmling-registration-badges .pill{padding:6px 10px}
.firmling-registration h3{font-size:25px;line-height:1.1;margin-bottom:8px;overflow-wrap:anywhere}
.firmling-registration-meta{display:flex;align-items:flex-start;gap:9px;margin-top:7px;font-size:11px;color:var(--muted);line-height:1.45}
.firmling-registration-meta svg{width:16px;height:16px;flex:none}
.firmling-registration .firmling-link{margin-top:16px}
.firmling-past-registrations{margin-top:33px}
.firmling-past-registrations>h3{font-size:25px;line-height:1.1}
.firmling-no-upcoming{font-size:13px;color:var(--muted);padding:6px 0}
.firmling-empty{padding:26px;background:#fff;border:1px solid var(--line);border-radius:18px}
.firmling-empty p{font-size:13px;color:var(--muted);margin-bottom:11px}
.firmling-history-page>h1{margin-top:16px}
.firmling-history-page .member-history-list{display:grid;gap:10px}
.firmling-history-page .member-history-state.open{background:#f4f3f1;color:#777}
@media(max-width:599px){.firmling-greeting{margin-bottom:22px}.firmling-panel{padding:20px 18px}.firmling-panel h2,.firmling-registrations h2{font-size:27px}.firmling-category-row{min-height:78px;gap:10px}.firmling-category-copy strong{font-size:12px}.firmling-category-copy span{font-size:10px}.firmling-status{font-size:9px;padding:6px 8px}.firmling-attendance{margin-top:18px}.firmling-attendance .attendance-rates,.firmling-history-page .attendance-rates{gap:6px}.firmling-attendance .attendance-rate,.firmling-history-page .attendance-rate{padding:11px 7px;min-height:91px}.firmling-attendance .attendance-rate strong,.firmling-history-page .attendance-rate strong{font-size:25px}.firmling-attendance .attendance-rate span,.firmling-history-page .attendance-rate span{font-size:10px}.firmling-registrations{margin-top:28px}.firmling-registration{gap:11px;padding:16px;min-height:0}.firmling-registration h3{font-size:22px}.firmling-registration-badges{gap:4px}.firmling-registration-badges .pill{font-size:9px;padding:5px 7px}.firmling-registration .firmling-status{font-size:9px}.firmling-registration-meta{font-size:10px}.firmling-history-page .member-history-row{padding:13px 10px}}

.firmling-attendance-dialog{width:min(650px,calc(100vw - 30px));max-width:none;max-height:calc(100dvh - 30px);overflow-y:auto}
.firmling-attendance-panel{padding:30px;background:#fff}
.firmling-attendance-panel .admin-modal-heading{margin-bottom:0}
.firmling-attendance-panel .admin-modal-heading h1{font-size:32px}
.firmling-attendance-panel .member-detail-rates{margin:20px 0}
.firmling-attendance-panel .member-history-list{display:grid;gap:10px}
.firmling-attendance-panel .member-history-row{min-height:92px}
.firmling-attendance-page .firmling-attendance-panel{border:1px solid var(--line);border-radius:24px}
@media(max-width:599px){.firmling-attendance-panel{padding:23px 19px}.firmling-attendance-panel .admin-modal-heading h1{font-size:29px}.firmling-attendance-panel .member-detail-rates{gap:6px}.firmling-attendance-panel .member-detail-rates .attendance-rate{padding:10px 7px}.firmling-attendance-panel .member-detail-rates .attendance-rate strong{font-size:24px}.firmling-attendance-panel .member-history-row{padding:13px 10px;gap:8px}.firmling-attendance-panel .member-history-state{padding:7px 8px}}

.firmling-category-copy a{color:var(--muted);font-size:11px;text-decoration:none;overflow-wrap:anywhere;width:fit-content}
.firmling-category-copy a:hover{color:#bd4922;text-decoration:underline}
.firmling-project-detail .project-detail-meta{display:none}
.firmling-project-detail .badge-row{margin-top:28px}
.firmling-project-detail h2{margin:13px 0 14px}
.firmling-project-detail>p{line-height:1.6}
.firmling-project-facts{display:grid;grid-template-columns:1fr 1fr;gap:22px 28px;padding:23px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:24px 0 35px}
.firmling-project-facts .label{font-size:9px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
.firmling-project-facts .value{font-size:12px;font-weight:600;line-height:1.65;overflow-wrap:anywhere}
.firmling-capacity-ring{width:89px;height:89px;border-radius:50%;background:conic-gradient(var(--orange) var(--progress),var(--line) 0);display:grid;place-items:center}
.firmling-capacity-ring span{width:68px;height:68px;background:#fff;border-radius:50%;display:grid;place-items:center;font-size:18px;font-weight:800}
.firmling-project-detail .leader-team{margin-bottom:28px}
.firmling-project-participants h3{font-size:24px;margin-bottom:17px}
.firmling-project-people{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:12px;margin:12px 0 0;background:var(--paper);border-radius:12px}
.firmling-project-people>li{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%;min-height:40px;padding:5px 12px 5px 5px;border:1px solid var(--line);border-radius:99px;background:white;font-size:13px;line-height:1.35}
.firmling-project-person-name{min-width:0;overflow-wrap:anywhere}
.firmling-project-people .avatar{flex:none;width:28px;height:28px;font-size:10px}
.firmling-project-detail .modal-actions{margin-top:23px}
.firmling-project-note{display:flex;align-items:center;gap:10px;background:#fff0e9;border-radius:14px;color:#b94d25;padding:16px 17px;font-size:11px;line-height:1.4}
.firmling-project-note svg{width:17px;height:17px}
@media(max-width:599px){.firmling-category-copy a{font-size:10px}.firmling-project-detail .badge-row{margin-top:20px}.firmling-project-facts{gap:18px 12px;margin:20px 0 26px}.firmling-project-facts .value{font-size:11px}.firmling-project-people{gap:6px;padding:10px}.firmling-project-people>li{font-size:12px}}

.firmling-project-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-height:26px}
.firmling-project-card-top .pill{flex:none}
.firmling-project-card-top .pill.member-missed{background:#fbe8e4;color:#a73827}
.staff-project-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-height:26px}
.staff-project-card-top .pill:first-child{flex:none}
.staff-project-card-top .pill:last-child{min-width:0;max-width:65%;justify-content:center;text-align:center;margin-left:auto}
.admin-project-card.leader-owned-project{border:2px solid var(--orange)}
.project-ownership{display:flex;align-items:center;gap:6px;margin-top:13px;color:#a84320;font-size:11px;font-weight:800}
.project-ownership svg{width:15px;height:15px}
.leader-owned-project h3{margin-top:9px}

/* Gruppenleitung: overview, follow-up and member rows. */
.leader-group-page{width:100%;min-width:0}
.leader-group-header{margin:0 0 34px}
.leader-group-header h1{font-size:var(--type-title);font-weight:800;line-height:1.1}
.leader-group-header .leader-team{margin:40px 0 0;padding:0}
.leader-group-header .team-label{font-size:10px;font-weight:600;margin-bottom:10px}
.leader-group-header .team-people{align-items:center;gap:12px 18px}
.leader-group-header .team-person{font-size:11px}
.leader-self{color:var(--muted);font-size:11px;font-weight:700}
.leader-group-page>.group-charts{width:100%;max-width:none;border-radius:20px;padding:28px 32px 30px}
.leader-group-page .donut-grid{gap:16px}
.leader-group-page .donut-item{gap:9px}
.leader-group-page .donut-item>strong{font-size:13px}
.leader-group-page .donut-item>span{font-size:10px}
.leader-group-page .chart-legend{margin-top:17px}
.leader-group-page .group-attendance{max-width:none;margin-top:20px;padding-top:15px}
.leader-group-page .group-attendance h3{font-size:17px}
.leader-group-page .group-attendance .attendance-rates{margin:12px 0 8px}
.leader-group-page .group-attendance .attendance-rate{min-height:77px;padding:11px 10px;border-radius:12px}
.leader-group-page .group-attendance .attendance-rate strong{font-size:29px}
.leader-group-page .group-attendance p{font-size:9px}
.leader-section{margin-top:30px}
.leader-section h2{font-size:29px}
.leader-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.leader-section-head p{font-size:11px;color:var(--muted);margin-top:6px}
.leader-section-head .btn{flex:none;min-height:45px;padding:10px 18px}
.leader-section-head .btn svg{width:18px;height:18px}
.leader-list{display:grid;gap:10px}
.leader-session-row,.leader-support-row,.leader-member-row{display:flex;align-items:center;gap:13px;width:100%;min-width:0;background:#fff;border:1px solid var(--line);border-radius:17px;color:var(--ink);text-decoration:none;transition:border-color .15s,background .15s}
.leader-session-row:hover,.leader-support-row:hover,.leader-member-row:hover{border-color:#d8d3ca;background:#fffefa}
.leader-session-row{min-height:104px;padding:18px}
.leader-session-row .date-box{width:48px;height:51px;border-radius:12px}
.leader-row-body{display:grid;gap:5px;min-width:0;flex:1}
.leader-row-body>strong{font-size:12px;line-height:1.35}
.leader-row-body>small{font-size:10px;line-height:1.45;color:var(--muted)}
.leader-row-arrow{display:grid;place-items:center;flex:none;color:var(--ink)}
.leader-row-arrow svg{width:19px;height:19px}
.leader-session-stats{display:flex;align-items:center;gap:9px 16px;flex-wrap:wrap;margin-top:2px;font-size:10px;color:var(--muted)}
.leader-session-stats>span{display:inline-flex;align-items:center;gap:4px}
.leader-session-stats>span:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--green);flex:none}
.leader-session-stats>.absent:before{background:#c7826a}
.leader-session-stats>.excused:before{background:#c8ac5d}
.leader-support h2,.leader-members h2{margin-bottom:17px}
.leader-support-tabs{display:inline-flex;align-items:center;gap:3px;background:#eceae5;padding:4px;border-radius:12px}
.leader-support-tabs button{min-height:40px;padding:9px 17px;border-radius:9px;background:transparent;color:var(--muted);font-size:11px;font-weight:700}
.leader-support-tabs button[aria-selected="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 5px #28282310}
.leader-support-help{font-size:11px;color:var(--muted);margin:13px 0 15px}
.leader-support-row{min-height:107px;padding:18px 20px}
.leader-support-row>.avatar{flex:none}
.leader-support-row .leader-row-arrow{color:var(--muted)}
.leader-support-row .leader-row-body{gap:6px}
.leader-members{margin-top:30px}
.leader-legend{margin-bottom:18px;padding:15px 17px;border-radius:14px}
.leader-legend span{font-size:11px}
.leader-member-row{min-height:126px;padding:18px 16px}
.leader-member-row>.avatar{flex:none;width:38px;height:38px}
.leader-member-row .leader-row-arrow{color:#bb4b21}
.leader-member-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px;margin-top:4px;color:var(--muted);font-size:10px}
.leader-member-meta .member-status-row{display:flex;gap:4px}
.leader-member-meta .member-status{width:24px;height:24px;font-size:10px}
.leader-member-attendance{display:inline-flex;align-items:center;gap:4px}
.leader-member-attendance svg{width:14px;height:14px}
.leader-absence{display:flex;gap:6px;flex-wrap:wrap;margin-top:5px}
.leader-absence span{font-size:10px;color:#a34825;background:#fff0e9;padding:7px 8px;border-radius:8px}
.leader-absence span:nth-child(2){color:#777;background:#f4f3f1}
.leader-absence span:nth-child(3){color:#9b3324;background:#fbe8e4}
.topbar .brand span{display:none}
@media(min-width:1024px){.sidebar .brand span{display:none}}
@media(max-width:599px){
  .leader-group-header .leader-team{margin-top:24px}
  .leader-group-page>.group-charts{padding:22px 14px}
  .leader-group-page .donut-grid{gap:5px}
  .leader-group-page .donut{width:66px;height:66px}
  .leader-group-page .donut>span{width:50px;height:50px;font-size:18px}
  .leader-group-page .donut-item>strong{font-size:10px}
  .leader-group-page .donut-item>span{font-size:9px}
  .leader-group-page .group-attendance .attendance-rate{padding:10px 7px}
  .leader-group-page .group-attendance .attendance-rate strong{font-size:24px}
  .leader-section h2{font-size:26px}
  .leader-section-head .btn{padding:9px 11px;font-size:11px;gap:5px}
  .leader-section-head .btn svg{width:16px;height:16px}
  .leader-session-row,.leader-support-row,.leader-member-row{padding:14px 12px;gap:10px}
  .leader-session-stats{gap:5px 10px;font-size:9px}
  .leader-member-row>.avatar{width:32px;height:32px;font-size:10px}
  .leader-member-meta{font-size:9px;gap:6px}
  .leader-absence span{font-size:9px;padding:6px}
}

/* Date and time inputs share the same calendar on full pages and in project dialogs. */
.flatpickr-wrapper{width:100%}
.flatpickr-calendar{font-family:'Red Hat Display',sans-serif;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 18px 48px #28282326;width:316px;max-width:calc(100vw - 36px);font-size:12px}
.flatpickr-calendar:before,.flatpickr-calendar:after{display:none}
.flatpickr-calendar.open-above{top:auto!important;bottom:calc(100% + 4px)}
.flatpickr-months{padding:8px 8px 3px;border-bottom:1px solid var(--line)}
.flatpickr-months .flatpickr-month{height:38px;color:var(--ink)}
.flatpickr-current-month{font-size:14px;font-weight:700;padding:3px 0}
.flatpickr-current-month .flatpickr-monthDropdown-months,.flatpickr-current-month input.cur-year{font-weight:700;color:var(--ink)}
.flatpickr-months .flatpickr-prev-month,.flatpickr-months .flatpickr-next-month{top:8px;padding:9px;color:var(--ink)}
.flatpickr-months .flatpickr-prev-month:hover svg,.flatpickr-months .flatpickr-next-month:hover svg{fill:var(--orange)}
.flatpickr-weekdays{margin-top:8px}
span.flatpickr-weekday{font-size:11px;font-weight:700;color:var(--muted)}
.flatpickr-days,.dayContainer{width:316px;min-width:316px;max-width:316px}
.dayContainer{padding:4px 8px 10px}
.flatpickr-day{height:40px;line-height:40px;max-width:calc(100% / 7);border-radius:8px;color:var(--ink)}
.flatpickr-day:hover,.flatpickr-day:focus{background:var(--soft);border-color:var(--soft)}
.flatpickr-day.today{border-color:#f1ad90}
.flatpickr-day.today:hover{background:var(--soft);color:var(--ink)}
.flatpickr-day.selected,.flatpickr-day.selected:hover,.flatpickr-day.selected:focus{background:var(--orange);border-color:var(--orange);color:#fff}
.flatpickr-time{border-top:1px solid var(--line);height:46px}
.flatpickr-time input{font-family:inherit;font-size:15px;font-weight:700;color:var(--ink)}
.flatpickr-time .flatpickr-am-pm{display:none}
.flatpickr-input[readonly]{cursor:pointer}
@media(max-width:359px){.flatpickr-calendar,.flatpickr-days,.dayContainer{width:280px;min-width:280px;max-width:280px}}
.session-entry-form .session-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:24px}
.session-entry-form .field{min-width:0}
.session-entry-form .field label{display:block;margin-bottom:7px;font-size:11px;font-weight:700}
.session-entry-form .field>input,.session-entry-form .field>.flatpickr-wrapper>input{display:block;width:100%;min-height:46px;padding:11px 12px;border:1px solid #dedbd3;border-radius:11px;background:#fff;color:var(--ink);font-size:13px}
.session-entry-form .errorlist{color:#a3381b;font-size:11px;margin:7px 0;padding-left:18px}
@media(max-width:599px){.session-entry-form .session-fields{grid-template-columns:1fr;gap:14px}}
.session-modal-panel .project-modal-heading{margin-bottom:20px}
.session-modal-panel .project-modal-heading h1{font-family:'Red Hat Display',sans-serif;font-size:30px;line-height:1.15;font-weight:800}
.session-modal-subtitle{margin-top:10px;color:var(--muted);font-size:12px}
.session-modal-panel .project-modal-close{width:54px;height:54px;border:2px solid var(--ink);border-radius:16px;color:var(--ink)}
.session-modal-panel .session-fields{margin-bottom:22px}
.session-date-field{position:relative}
.session-date-field>.flatpickr-wrapper>input{padding-right:43px}
.session-calendar-button{position:absolute;right:8px;bottom:5px;display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:transparent;color:var(--ink)}
.session-calendar-button:hover{background:var(--paper)}
.session-calendar-button svg{width:16px;height:16px}
.session-attendance-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.session-attendance-heading h2{font-family:'Red Hat Display',sans-serif;font-size:23px;line-height:1.2;font-weight:800}
.session-attendance-heading .completion-all{min-height:35px;padding:8px 12px;white-space:nowrap}
.session-modal-panel .attendance-list{margin-top:0;gap:10px}
.session-modal-panel .attendance-person{min-height:106px;padding:13px;border-radius:14px}
.session-modal-panel .person-head{margin-bottom:11px;font-size:12px}
.session-modal-panel .person-head .avatar{width:30px;height:30px;font-size:9px}
.session-modal-panel .attendance-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.session-modal-panel .attendance-option{min-width:0;min-height:38px;font-size:9px}
.session-modal-panel .project-edit-actions{margin-top:20px}
@media(max-width:599px){.session-modal-panel .project-modal-heading h1{font-size:26px}.session-modal-panel .project-modal-close{width:44px;height:44px;border-radius:13px}.session-attendance-heading h2{font-size:20px}.session-modal-panel .attendance-option{font-size:8px}}

:root{--focus-border:#a65331;--focus-halo:#f8612b20}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,
.account-dropdown summary:focus-visible,.own-project-filter:has(input:focus-visible),
.attendance-option:has(input:focus-visible),.project-completion-options input:focus-visible+span{
  outline:2px solid var(--focus-border);outline-offset:2px;
}
input:not([type=checkbox]):not([type=radio]):focus,select:focus,textarea:focus{
  border-color:var(--focus-border);outline:none;box-shadow:0 0 6px 1px var(--focus-halo);
}
.password-criteria{margin:20px 0 24px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.password-criteria h2{margin:0 0 12px;font-size:15px;font-weight:700}
.password-criteria .password-requirements{margin:0;gap:12px}
.password-criteria .password-requirements li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:0 10px;align-items:center;font-size:14px;color:#575a54;line-height:1.5}
.password-rule-icon{display:grid;place-items:center;width:22px;height:22px;border:1px solid #878b83;border-radius:50%;align-self:start;margin-top:1px}
.password-rule-icon svg{visibility:hidden}
.password-criteria .password-requirements li.met{color:#286244}
.password-requirements li.met .password-rule-icon{background:#eaf5ee;border-color:#286244}
.password-requirements li.met .password-rule-icon svg{visibility:visible}
.password-rule-status{grid-column:2;font-size:12px}
.password-criteria-status{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#change-password-form input{font-size:16px}
#change-password-form label{font-size:14px}
#change-password-form .password-field .icon-btn{width:44px;min-height:44px}
@media(forced-colors:active){
  input:not([type=checkbox]):not([type=radio]):focus,select:focus,textarea:focus{
    outline:2px solid Highlight;outline-offset:2px;box-shadow:none;
  }
}

/* Independent notifications, also above modal dialogs via the popover layer. */
#toast{display:flex;flex-direction:column;gap:10px;position:fixed;inset:auto auto calc(100px + env(safe-area-inset-bottom)) 50%;transform:translateX(-50%);width:380px;max-width:calc(100vw - 30px);max-height:calc(100dvh - 140px);overflow:auto;margin:0;padding:3px;border:0;border-radius:0;background:transparent;box-shadow:none;opacity:1;pointer-events:none}
#toast:empty{display:none}
#toast[popover]:not(:popover-open){display:none}
.toast-item{display:flex;align-items:center;gap:8px;padding:6px 8px 6px 12px;border-radius:10px;background:var(--ink);color:white;box-shadow:0 3px 10px #0001;border:0;font-size:13px;line-height:1.5;pointer-events:auto;animation:toast-enter .2s ease-out}
.toast-message{flex:1;min-width:0;overflow-wrap:anywhere;white-space:pre-line}
.toast-close{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:8px;background:transparent;color:white;font-size:24px;line-height:1}
.toast-close:hover{background:#ffffff20}
.toast-close:focus-visible{outline:2px solid white;outline-offset:1px}
@keyframes toast-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1024px){#toast{bottom:30px;max-height:calc(100dvh - 60px)}}
@media(prefers-reduced-motion:reduce){.toast-item{animation:none}}

.member-project-person-heading{margin-top:0;align-items:flex-start}
.member-project-person-heading>.avatar{align-self:center}
.member-project-person-heading>div{flex:1;min-width:0;overflow-wrap:anywhere}
.member-project-person-heading>.admin-modal-close{margin-left:auto}

/* Use desktop width for parallel overviews; keep the mobile reading order. */
.firmling-dashboard-top{min-width:0}
.firmling-recent-attendance{display:none}
.firmling-past-registrations>summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;width:fit-content}
.firmling-past-registrations>summary::-webkit-details-marker{display:none}
.firmling-past-registrations>summary h3{font-size:25px;line-height:1.1}
.firmling-past-count{font-size:11px;color:var(--muted);background:#eeece6;border-radius:99px;padding:4px 8px}
.firmling-past-registrations>summary svg{width:17px;height:17px;color:var(--muted)}
.firmling-past-registrations[open]>summary svg{transform:rotate(90deg)}
@media(min-width:1200px){
  .firmling-dashboard{max-width:1050px;margin-inline:auto}
  .firmling-dashboard-top{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:28px 24px;align-items:stretch}
  .firmling-dashboard-top>.firmling-panel{min-width:0}
  .firmling-dashboard-top>.firmling-projects{grid-column:1;grid-row:1}
  .firmling-dashboard-top>.firmling-registrations{grid-column:1;grid-row:2;margin-top:0;min-width:0}
  .firmling-dashboard-top>.firmling-attendance{grid-column:2;grid-row:1/3;margin-top:0;display:flex;flex-direction:column}
  .firmling-dashboard-top>.firmling-attendance>.firmling-link{margin-top:auto;padding-top:22px}
  .firmling-recent-attendance{display:block;margin-top:4px}
  .firmling-recent-attendance h3{font-size:23px;line-height:1.1}
  .firmling-recent-list{list-style:none;padding:0;margin:12px 0 0}
  .firmling-recent-list li{display:flex;align-items:center;gap:10px;padding:16px 0;border-bottom:1px solid var(--line)}
  .firmling-recent-list li:last-child{border-bottom:0}
  .firmling-recent-copy{display:grid;gap:6px;flex:1;min-width:0}
  .firmling-recent-copy strong{font-size:13px;line-height:1.4;overflow-wrap:anywhere}
  .firmling-recent-copy small,.firmling-recent-empty{font-size:11px;color:var(--muted);line-height:1.5}
  .firmling-recent-list .member-history-state{padding:6px 8px;font-size:10px}
  .firmling-dashboard .firmling-registration-list{grid-template-columns:minmax(0,1fr);gap:18px}
  .firmling-dashboard .firmling-registration{min-width:0;min-height:0}
  .firmling-registration-list>.firmling-empty,.firmling-registration-list>.firmling-no-upcoming{grid-column:1/-1}
  .firmling-past-registrations{padding-top:22px;border-top:1px solid var(--line)}
  .firmling-dashboard .firmling-past-registrations>.firmling-registration-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}

.project-availability-toggle .own-project-switch{white-space:normal;text-align:left}
.project-availability-toggle .switch-track{flex:none}
.firmling-status.pending{background:#f4f3f1;color:var(--muted)}
.firmling-registration-actions{display:flex;gap:0 16px;flex-wrap:wrap}

/* Compact participant-facing project details with an independent action footer. */
.firmling-project-detail .badge-row{margin:0 44px 10px 0}
.firmling-project-detail h2{margin:0 0 10px;font-size:30px;line-height:1.1;overflow-wrap:anywhere}
.firmling-project-body>p{font-size:13px;line-height:1.6}
.firmling-project-detail .firmling-project-facts{gap:16px 20px;padding:18px 0;margin:18px 0}
.firmling-project-detail .firmling-project-facts .label{margin-bottom:6px}
.firmling-project-detail .firmling-project-facts .value{font-size:12px;line-height:1.5;font-weight:400}
.firmling-project-capacity{max-width:160px;height:4px;margin-top:8px}
.firmling-project-detail .project-contact-widget{margin:0 0 14px;padding:0}
.firmling-project-detail .project-contact-widget .team-label{margin-bottom:6px}
.firmling-project-detail .project-contact-widget .project-contact-person-body{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px}
.firmling-project-disclosure{border-top:1px solid var(--line);padding:12px 0}
.firmling-project-disclosure>summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;font-size:13px;font-weight:700;min-height:24px}
.firmling-project-disclosure>summary::-webkit-details-marker{display:none}
.firmling-project-disclosure>summary>span{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:99px;background:#eeece6;font-size:11px;font-weight:600;color:var(--muted)}
.firmling-project-disclosure>summary svg{width:16px;height:16px;margin-left:auto;color:var(--muted)}
.firmling-project-disclosure[open]>summary svg{transform:rotate(90deg)}
.firmling-project-detail .firmling-project-disclosure .leader-team{margin:12px 0 0;padding:0}
.firmling-project-people{margin-top:12px}
.firmling-project-detail .modal-actions{margin-top:18px;padding-top:16px}
.firmling-project-detail .modal-actions form,.firmling-project-detail .modal-actions .btn{width:100%;margin:0}
.firmling-project-detail .modal-actions .firmling-project-note{width:100%;font-size:12px;padding:12px 14px}
.project-preview-dialog:has(.firmling-project-detail){overflow:hidden}
.project-preview-dialog .firmling-project-detail{display:flex;flex-direction:column;max-height:calc(100dvh - 30px);padding:0;position:relative}
.project-preview-dialog .firmling-project-detail .firmling-project-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:24px}
.project-preview-dialog .firmling-project-detail .modal-actions{flex:none;margin:0;padding:14px 24px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:white}
.project-preview-dialog .firmling-project-detail .modal-close{top:16px;right:16px;z-index:1;background:white}
@media(max-width:599px){
  .project-preview-dialog .firmling-project-detail .firmling-project-body{padding:20px 18px}
  .project-preview-dialog .firmling-project-detail .modal-actions{padding:12px 18px calc(12px + env(safe-area-inset-bottom))}
  .firmling-project-detail h2{font-size:27px;padding-right:20px}
  .firmling-project-detail .firmling-project-facts{gap:14px 12px}
}

.member-status.excused,.member-project-state.excused,.firmling-status.excused{background:#f4f3f1;color:#64645e}
.member-status-legend .excused{color:#64645e}

.member-detail-section-title{font-size:24px;line-height:1.1;margin:0 0 14px}
.member-combined-attendance{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}
.member-combined-attendance-help{font-size:12px;color:var(--muted);margin:-6px 0 14px}
.member-combined-attendance .member-history-row{min-height:0;padding:12px;gap:10px}
.member-combined-attendance .member-history-state{font-size:11px;padding:6px 8px}

body:has(.admin-group-detail-dialog[open] .member-detail-scroll){overflow:hidden}
.admin-group-detail-dialog:has(.member-detail-scroll){height:calc(100dvh - 30px);max-height:calc(100dvh - 30px);overflow:hidden}
.admin-group-detail-dialog:has(.member-detail-scroll) [data-admin-modal-host]{height:100%;min-height:0}
.admin-group-detail-dialog .member-project-panel:has(.member-detail-scroll){display:flex;flex-direction:column;height:100%;min-height:0;padding:0}
.admin-group-detail-dialog .member-project-person-heading{flex:none;margin:0;padding:24px 30px;border-bottom:1px solid var(--line)}
.admin-group-detail-dialog .member-detail-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding:24px 30px}
.admin-group-detail-dialog .member-detail-scroll .member-project-list,
.admin-group-detail-dialog .member-detail-scroll .member-history-list{grid-auto-rows:max-content;align-content:start}
@media(max-width:767px){
  .admin-group-detail-dialog:has(.member-detail-scroll){height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}
  .admin-group-detail-dialog .member-project-person-heading{padding:16px;gap:10px}
  .admin-group-detail-dialog .member-project-person-heading .avatar{width:40px;height:40px;font-size:13px}
  .admin-group-detail-dialog .member-project-person-heading h2{font-size:26px}
  .admin-group-detail-dialog .member-detail-scroll{padding:16px}
}

.validation-error{font-size:12px;line-height:1.5;color:#a12d21;margin:6px 0 0}
.field-invalid input:not([type=hidden]):not([type=radio]):not([type=checkbox]),
.field-invalid select,.field-invalid textarea,
.field-invalid .number-stepper{border-color:#b34436!important;box-shadow:0 0 0 1px #b34436;background-color:#fff8f6!important}
fieldset.field-invalid{border:1px solid #b34436!important;border-radius:12px;padding:12px;background:#fff8f6}
.field-invalid input:focus-visible,.field-invalid select:focus-visible,.field-invalid textarea:focus-visible{outline-color:#a12d21}

.field-invalid .number-stepper input{box-shadow:none;background:transparent!important}

/* Reserve feedback space without stretching either field in the session form. */
.session-entry-form .session-fields{align-items:start}
.session-entry-form .session-fields>.field{position:relative;align-content:start;padding-bottom:28px}
.session-entry-form .session-fields .validation-error{position:absolute;inset:auto 0 0;margin:0}
.session-entry-form .session-calendar-button{bottom:33px}

.project-leader-choice[hidden]{display:none!important}

.admin-group-stats .group-attendance .attendance-rate{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center}
