:root{--ink:#1c2e40;--muted:#667d93;--accent:#193654;--dark:#0f2842;--gold:#c3a46c;--line:#e0e5ea;--paper:#f3f6f9;--cream:#e3eaf0;--white:#fff;--red:#a9544b;--shadow:0 12px 40px #11294211}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c3a46c;outline-offset:3px}svg.icon{width:19px;height:19px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2.serif,.serif{font-family:Georgia,'Times New Roman',serif;font-weight:400}h1{font-size:37px;letter-spacing:-1.2px;line-height:1.2}h2{font-size:18px;font-weight:600;letter-spacing:-.3px}h3{font-size:15px;font-weight:600}small,.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:1.8px;color:#667d93}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:18px}.hidden{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:var(--dark);color:#e7eef5;padding:34px 22px 20px;display:flex;flex-direction:column;z-index:30;bottom:auto;height:100vh;height:100dvh;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}.sidebar>.brand,.sidebar>nav,.sidebar>.sidebar-bottom{flex-shrink:0}.brand{display:flex;align-items:center;gap:13px;margin-bottom:41px}.brand svg{width:42px;height:42px;flex-shrink:0}.brand-name{font-family:Georgia,serif;font-size:21px;letter-spacing:.3px}.brand-note{font-size:10px;letter-spacing:2.4px;color:#627d98;margin-top:6px;text-transform:uppercase}.brand img{width:42px;height:42px;object-fit:contain}.nav-label{color:#617d99;font-size:9px;letter-spacing:1.8px;font-weight:600;padding:0 13px;margin:26px 0 9px}.nav-item{width:100%;display:flex;align-items:center;gap:13px;padding:12px 14px;margin:4px 0;background:transparent;color:#b3c2d2;border-radius:8px;text-align:left;font-size:13px;transition:.15s}.nav-item:hover{background:#ffffff0a;color:#fff}.nav-item.active{background:#29435e;color:#fff;box-shadow:inset 2px 0 #dcc399}.nav-item .icon{width:18px;height:18px}.nav-count{margin-left:auto;font-size:10px;background:#ffffff15;border-radius:4px;padding:2px 6px;color:#dbe4ed}.sidebar-bottom{margin-top:auto;padding-top:32px}.sidebar-note{padding:15px 13px;border:1px solid #ffffff17;border-radius:8px;font-size:11px;color:#a6b9cb;line-height:1.6}.sidebar-note b{color:#d9e3ed;font-size:12px;display:block;margin-bottom:4px;font-weight:500}.sidebar-user{display:flex;align-items:center;gap:10px;margin-top:23px;padding:5px 7px}.sidebar-user small{font-size:10px;color:#5f7d9b}.sidebar-user strong{display:block;font-size:12px;font-weight:500;margin-bottom:5px}.avatar{border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#e1e8ee;color:#3d5369;flex-shrink:0;width:37px;height:37px;font-size:11px;font-weight:600;object-fit:cover;border:2px solid #fff}.avatar.dark{background:#3f546a;color:#f4efde;border-color:#3f546a}.avatar.lg{width:60px;height:60px;font-size:19px}.avatar.xl{width:80px;height:80px;font-size:23px}.avatar-stack{display:flex;padding-left:5px}.avatar-stack .avatar{margin-left:-6px;width:29px;height:29px;font-size:9px}.main{margin-left:238px;min-height:100vh}.topbar{height:78px;border-bottom:1px solid var(--line);padding:0 42px;display:flex;align-items:center;justify-content:space-between;background:#f7fafc;gap:20px}.breadcrumb{font-size:12px;color:#667d93;display:flex;align-items:center;gap:12px}.breadcrumb b{font-weight:500;color:#3d5063}.top-actions{display:flex;align-items:center;gap:18px}.search-btn{background:transparent;color:#667d93;display:flex;align-items:center;gap:10px;font-size:12px}.key{border:1px solid #d6dee6;border-radius:4px;font-size:9px;padding:2px 5px;color:#667d93}.icon-btn{padding:8px;display:inline-flex;align-items:center;justify-content:center;background:transparent;color:#647a91;border-radius:6px}.icon-btn:hover{background:#e5ecf2;color:var(--accent)}.demo-badge{background:#e5ecf2;color:#516a83;border:1px solid #d1dde9;border-radius:5px;padding:5px 8px;font-size:10px;white-space:nowrap}.content{padding:34px 42px 38px;max-width:1600px;margin:0 auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-head p{font-size:13px;color:var(--muted);line-height:1.6;margin-top:10px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border:1px solid #d8e0e8;border-radius:7px;background:white;color:#2f445a;font-size:12px;font-weight:600;white-space:nowrap;min-height:39px;transition:.18s}.btn:hover{background:#eef2f7;transform:translateY(-1px)}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.primary:hover{background:#102840}.btn.gold{background:#d1b984;border-color:#d1b984;color:#1f3042}.btn.subtle{background:transparent;border-color:transparent;color:#586c81}.btn.danger{color:#a14c40;background:#fff9f7;border-color:#eed9d2}.btn.sm{padding:7px 11px;min-height:32px;font-size:11px}.text-link{color:#4e657d;font-size:12px;display:inline-flex;gap:7px;align-items:center;cursor:pointer;background:transparent;padding:0}.text-link .icon{width:15px;height:15px}.hero{position:relative;overflow:hidden;border-radius:12px;background:#dce6f0;min-height:213px;padding:30px 34px;display:flex;justify-content:space-between;margin-bottom:25px;border:1px solid #d2deea}.hero-copy{position:relative;z-index:1;max-width:70%}.hero h1{font-size:36px;line-height:1.22;max-width:480px;margin:11px 0 12px;color:#20374e}.hero p{font-size:12px;line-height:1.7;color:#60768b}.hero .btn{margin-top:20px}.hero-art{width:290px;height:225px;position:absolute;right:12px;bottom:-11px;color:#627d98;opacity:.65}.hero-art svg{width:100%;height:100%}.hero-tag{position:absolute;right:26px;top:22px;z-index:1;font-size:9px;letter-spacing:1.8px;color:#657d95;text-transform:uppercase}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:29px}.stat{padding:19px 20px;border:1px solid var(--line);border-radius:9px;background:#fff;display:flex;gap:14px;align-items:center}.stat-icon{height:40px;width:40px;display:flex;align-items:center;justify-content:center;background:#eaf0f6;border-radius:9px;color:#54708d;flex-shrink:0}.stat-number{font-size:25px;font-family:Georgia,serif;font-weight:400;color:#20364c}.stat-label{font-size:11px;color:#667d93;margin-top:5px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr);gap:23px}.card{border:1px solid var(--line);background:white;border-radius:10px;overflow:hidden}.card-head{padding:21px 23px;display:flex;justify-content:space-between;align-items:center;gap:15px}.card-body{padding:0 23px 23px}.event-row{padding:19px 23px;border-top:1px solid #e8edf2;display:flex;gap:17px;align-items:center;cursor:pointer;transition:.15s}.event-row:hover{background:#f7fafd}.date-tile{width:49px;height:55px;flex-shrink:0;background:#e9eff5;border:1px solid #d9e3ed;border-radius:7px;text-align:center;display:flex;flex-direction:column;justify-content:center;gap:1px}.date-tile b{font-size:22px;font-weight:400;font-family:Georgia,serif;line-height:1.2}.date-tile span{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#647d96}.event-info{flex:1;min-width:0}.event-info h3{font-size:13px;margin-bottom:6px}.event-info p{font-size:11px;color:#667d93;display:flex;gap:6px;align-items:center}.event-info p .icon{width:12px;height:12px}.event-status{text-align:right;display:grid;justify-items:end;gap:9px}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:4px;padding:4px 7px;font-size:10px;font-weight:500;white-space:nowrap}.pill .icon{width:12px;height:12px}.pill.green{background:#e4ecf4;color:#466484}.pill.amber{background:#f6efdf;color:#967b3c}.pill.gray{background:#eef0f3;color:#667d93}.pill.blue{background:#e7ecf2;color:#617e89}.pill.red{background:#faeae6;color:#a75a4b}.pill.dark{background:#294058;color:#c6d6e7}.project-feature{padding:20px 24px 23px;background:#f6fafd}.project-feature h3{font-family:Georgia,serif;font-size:23px;font-weight:400;margin:11px 0 7px}.project-feature p{font-size:12px;color:#667d93;line-height:1.6}.project-feature .budget{display:flex;justify-content:space-between;margin-top:25px;font-size:11px}.progress{height:6px;background:#dce6f0;border-radius:4px;overflow:hidden;margin-top:10px}.progress>span{height:100%;display:block;background:#5c7d9e;border-radius:4px;transition:width .4s}.progress.warn>span{background:#bb8d59}.project-feature .foot{font-size:10px;color:#667d93;display:flex;justify-content:space-between;margin-top:9px}.project-feature .btn{margin-top:19px;width:100%;font-weight:500}.list-mini{padding:15px 23px;border-top:1px solid #e8edf2;display:flex;align-items:center;gap:12px}.file-icon{height:38px;width:33px;background:#f5f0e5;display:flex;align-items:center;justify-content:center;border-radius:6px;color:#b19668;flex-shrink:0}.file-icon .icon{height:19px}.list-mini b{font-size:12px;font-weight:500;display:block;margin-bottom:5px}.list-mini small{font-size:10px}.list-mini .icon-btn{margin-left:auto}.timeline{padding:0 23px 12px}.timeline-item{display:flex;gap:12px;position:relative;padding:0 0 20px;font-size:12px;line-height:1.5}.timeline-item:not(:last-child):before{content:'';position:absolute;left:6px;top:14px;bottom:0;width:1px;background:#dce6ef}.timeline-dot{height:13px;width:13px;background:#e3ebf3;border:3px solid #e3ebf3;border-radius:50%;flex-shrink:0;margin-top:2px;z-index:1;box-shadow:inset 0 0 0 2px #5b7d9f}.timeline-item small{display:block;font-size:10px;margin-top:5px;color:#657d94}.bottom-line{margin-top:26px;border-top:1px solid var(--line);padding-top:18px;display:flex;justify-content:space-between;font-size:10px;color:#657d95}.toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:22px}.tabs{display:flex;gap:4px;background:#dce6f166;padding:4px;border-radius:7px;width:fit-content;flex-wrap:wrap}.tab{border-radius:5px;background:transparent;padding:8px 13px;color:#667d93;font-size:12px}.tab.active{background:#fff;color:#29435d;box-shadow:0 1px 5px #1e304310}.search-input{border:1px solid var(--line);background:white;border-radius:7px;padding:10px 12px;min-width:210px;color:var(--ink);font-size:12px}.search-input::placeholder{color:#667d93}.member-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.member-card{padding:23px;cursor:pointer;transition:.15s}.member-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}.member-card h3{margin:14px 0 6px}.member-card p{font-size:11px;color:#667d93}.member-card .member-footer{display:flex;justify-content:space-between;align-items:center;padding-top:18px;margin-top:17px;border-top:1px solid #e7edf3}.empty{text-align:center;padding:55px 25px;color:#657d95;line-height:1.7}.empty .icon{width:32px;height:32px;margin-bottom:12px;opacity:.6}.empty h3{color:#41586f;margin-bottom:6px}.empty .btn{margin-top:17px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th{font-size:9px;text-transform:uppercase;letter-spacing:1.2px;font-weight:600;color:#667d94;background:#f7fafd;padding:14px 20px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:17px 20px;border-bottom:1px solid #e7ecf2;vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcfe}td strong{display:block;font-size:12px;font-weight:500}td small{display:block;font-size:10px;margin-top:5px}.num{text-align:right;white-space:nowrap}.clickable{cursor:pointer}.split{display:grid;grid-template-columns:220px 1fr;gap:22px}.folder-nav{padding:12px;align-self:start}.folder-btn{background:transparent;display:flex;gap:10px;width:100%;align-items:center;text-align:left;padding:12px;border-radius:6px;font-size:12px;color:#627d98}.folder-btn.active{background:#e3ecf4;color:#2f4d6b}.folder-btn .icon{width:16px;height:16px}.folder-count{margin-left:auto;font-size:10px}.hint{padding:14px 17px;border:1px solid #d9e2ec;background:#e9f0f7;border-radius:7px;line-height:1.6;font-size:12px;color:#5c758e;display:flex;gap:10px;align-items:flex-start}.hint .icon{width:17px;height:17px;flex-shrink:0;margin-top:2px}.hint.amber{background:#faf4e7;border-color:#eee4ca;color:#977d4d}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.project-card{cursor:pointer;transition:.15s}.project-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}.project-card-banner{padding:25px;background:#dce7f2;position:relative;height:115px;overflow:hidden;display:flex;justify-content:space-between;align-items:flex-start}.project-card-banner.blue{background:#e7eef0}.project-card-banner.amber{background:#f2eddf}.project-card-banner:after{content:'';position:absolute;width:120px;height:140px;border:1px solid #58759325;right:20px;top:25px;border-radius:90px 90px 0 0;box-shadow:20px 0 0 -1px #ffffff20,-20px 0 0 -1px #ffffff20}.project-card-banner .icon{width:32px;height:32px;stroke-width:1;color:#5d7d9d}.project-card-body{padding:23px}.project-card-body h3{font-family:Georgia,serif;font-weight:400;font-size:23px;margin-bottom:9px}.project-card-body>p{font-size:12px;color:#667d93;line-height:1.7;min-height:40px}.project-card-body .budget{display:flex;justify-content:space-between;font-size:11px;margin-top:23px}.project-card-body .foot{display:flex;justify-content:space-between;font-size:10px;color:#667d94;margin-top:11px}.detail-hero{padding:26px 30px;background:#dfe9f3;border:1px solid #d5e0ea;border-radius:10px;margin-bottom:25px}.detail-hero h1{margin-top:12px}.detail-hero p{margin:10px 0 17px;color:#5f7892;line-height:1.7}.detail-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:22px}.tasks{padding:0 22px 15px}.task{display:flex;align-items:flex-start;gap:11px;padding:15px 0;border-top:1px solid #e4ebf2}.task button{width:19px;height:19px;flex-shrink:0;border:1px solid #c8d5e2;border-radius:4px;background:white;color:#547597;display:flex;align-items:center;justify-content:center}.task button.done{background:#dbe7f3;border-color:#c3d5e8}.task button .icon{width:14px;height:14px}.task p{font-size:12px;line-height:1.5}.task small{font-size:10px;display:block;margin-top:5px}.task.complete p{text-decoration:line-through;color:#647d96}.back{margin-bottom:20px;display:inline-flex;gap:7px;align-items:center;background:transparent;padding:0;color:#657d95;font-size:11px}.receipt-line{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid #e2eaf2;font-size:12px}.modal-overlay{position:fixed;inset:0;background:#0c1f3280;backdrop-filter:blur(4px);z-index:80;display:flex;align-items:center;justify-content:center;padding:25px;animation:fadein .18s}.modal{background:#f8fbfe;border:1px solid #fff;border-radius:13px;box-shadow:0 30px 100px #0c1d2f50;width:580px;max-width:100%;max-height:90dvh;overflow:auto}.modal.wide{width:850px}.modal-header{padding:24px 27px 19px;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between;position:sticky;top:0;background:#f8fbfe;z-index:2}.modal-header h2{font-family:Georgia,serif;font-size:26px;font-weight:400}.modal-header p{font-size:12px;color:#667d94;margin-top:8px;line-height:1.6}.modal-body{padding:23px 27px}.modal-footer{padding:18px 27px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);background:#f0f5fa}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid .full{grid-column:1/-1}label.field{display:grid;gap:7px;font-size:11px;color:#526e8a;font-weight:500}input,select,textarea{border:1px solid #d4dee8;border-radius:6px;background:#fff;color:#2a3e53;padding:10px 12px;width:100%;min-width:0;outline:none}input[type=checkbox]{width:16px;height:16px;accent-color:#2f4c6a;flex-shrink:0;padding:0;margin:0}input[type=file]{font-size:11px;padding:12px;background:#eef3f9}input:focus,select:focus,textarea:focus{border-color:#587da2;box-shadow:0 0 0 3px #587da212}textarea{min-height:90px;resize:vertical;line-height:1.6}.check{display:flex;gap:9px;align-items:center;font-size:12px;padding:8px 0;line-height:1.5}.check-list{display:grid;grid-template-columns:1fr 1fr;gap:3px 20px}.form-section{font-size:10px;font-weight:600;letter-spacing:1.3px;text-transform:uppercase;color:#627d98;padding-bottom:10px;margin:23px 0 13px;border-bottom:1px solid var(--line)}.form-section:first-child{margin-top:0}.upload-zone{padding:26px;border:1px dashed #9db6d0;background:#ebf2fa;border-radius:8px;text-align:center;cursor:pointer;color:#5d7d9d}.upload-zone p{font-size:12px;margin:9px 0 4px}.upload-zone small{font-size:10px}.response-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:20px 0}.response-option{border:1px solid #d5e0eb;background:#fff;padding:14px 5px;border-radius:7px;font-size:12px;color:#617d99;display:flex;gap:7px;justify-content:center;align-items:center}.response-option.selected{background:#dde9f5;border-color:#4f7dab;color:#2a4f75}.email-preview{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden}.email-brand{padding:24px;background:#16304b;text-align:center;color:#d8c99f;font-family:Georgia,serif;font-size:20px}.email-content{padding:25px;line-height:1.9;color:#4b637c;font-size:13px}.email-buttons{display:flex;gap:8px;margin:20px 0}.email-buttons span{padding:8px 15px;border-radius:5px;background:#e2ebf4;font-size:12px}.filter-select{width:auto;font-size:11px;padding:8px 12px}.mail-layout{display:grid;grid-template-columns:215px 1fr;gap:20px}.mail-box{border-bottom:1px solid var(--line);padding:15px}.mail-row{display:grid;grid-template-columns:37px 1fr auto;align-items:center;gap:13px;padding:19px 23px;border-top:1px solid var(--line);cursor:pointer}.mail-row h3{font-size:13px;margin-bottom:6px}.mail-row p{font-size:11px;color:#647d96}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-card{padding:25px}.settings-card h2{margin-bottom:9px}.settings-card>p{color:#647d96;font-size:12px;line-height:1.7;margin-bottom:18px}.install-steps{display:flex;gap:12px;margin:25px 0}.install-step{height:5px;flex:1;border-radius:8px;background:#d8e2ed}.install-step.active{background:#4f769d}.login-screen{min-height:100vh;display:grid;place-items:center;background:#dbe6f0;padding:24px}.login-card{width:430px;max-width:100%;background:#fff;border-radius:13px;padding:35px;box-shadow:var(--shadow)}.login-card h1{font-size:30px;margin:18px 0 12px}.login-card p{color:#627d98;font-size:12px;line-height:1.7;margin-bottom:25px}.login-card .field{margin:15px 0}.login-card .btn{width:100%;margin-top:18px}.loading{padding:25vh 10vw;text-align:center;font-family:Georgia,serif;font-size:24px;color:#5c758e}.mobile-toggle{display:none}.toast{position:fixed;bottom:25px;left:calc(50% + 119px);transform:translateX(-50%);padding:14px 21px;border-radius:8px;background:#1c3752;color:white;font-size:12px;z-index:150;box-shadow:var(--shadow);animation:fadein .18s;max-width:90vw}.toast.error{background:#9c4f43}.preview-person{padding:20px;border:1px solid var(--line);border-radius:8px;display:flex;gap:15px;align-items:center;margin-bottom:20px}.long-copy{font-size:13px;color:#59738d;line-height:1.9;white-space:pre-wrap}.menu-scrim{display:none}.search-results{display:grid;gap:7px;max-height:400px;overflow:auto;margin-top:15px}.search-result{padding:14px;border:1px solid var(--line);border-radius:6px;cursor:pointer;display:flex;align-items:center;gap:12px;background:white;font-size:12px;text-align:left}.search-result small{display:block;margin-top:4px}.fade-in{animation:fadein .22s}@keyframes fadein{from{opacity:.2;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1450px){.content{padding-top:40px}.hero{min-height:235px}.hero-art{width:330px;height:250px}.hero h1{font-size:40px}.hero-copy{max-width:65%}}
@media(max-width:1190px){.sidebar{width:215px;padding-left:16px;padding-right:16px}.main{margin-left:215px}.content{padding:28px}.topbar{padding:0 28px}.member-grid,.project-grid{grid-template-columns:repeat(2,1fr)}.stat{padding:15px 13px;gap:9px}.stat-icon{width:32px;height:34px}.stat-number{font-size:22px}.dashboard-grid{grid-template-columns:1.35fr 1fr;gap:18px}.event-row{padding:17px}.hero-art{right:-25px;opacity:.4}.hero-copy{max-width:80%}.search-btn .search-label,.key{display:none}}
@media(max-width:950px){.dashboard-grid,.detail-grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.settings-grid{grid-template-columns:1fr}.hero h1{font-size:32px}.hero-copy{max-width:90%}.split{grid-template-columns:1fr}.folder-nav{display:flex;overflow:auto}.folder-btn{white-space:nowrap;width:auto;gap:6px}.folder-count{margin-left:4px}.toast{left:50%}.mail-layout{grid-template-columns:1fr}.mail-layout .folder-nav{display:block}.top-actions{gap:8px}.breadcrumb{font-size:11px}}
@media(max-width:700px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:250px}.sidebar.open{transform:translateX(0)}.menu-scrim.show{display:block;position:fixed;inset:0;background:#13294070;z-index:25}.main{margin-left:0}.topbar{height:64px;padding:0 18px}.mobile-toggle{display:inline-flex}.breadcrumb .parent,.breadcrumb .slash{display:none}.content{padding:24px 18px}.page-head{gap:12px;align-items:flex-start}.page-head h1{font-size:29px}.page-head .btn{font-size:0;padding:10px}.page-head .btn .icon{width:18px;height:18px}.page-head p{font-size:12px}.hero{padding:24px;min-height:235px}.hero-copy{max-width:100%}.hero h1{font-size:31px}.hero p{max-width:78%}.hero-art{width:180px;right:-42px;height:180px;opacity:.25}.hero-tag{display:none}.stats{gap:10px}.stat{padding:15px 12px}.stat-label{font-size:10px}.stat-number{font-size:22px}.dashboard-grid{gap:18px}.card-head{padding:20px 18px}.card-body{padding:0 18px 20px}.member-grid,.project-grid{grid-template-columns:1fr}.toolbar{align-items:stretch;flex-direction:column;gap:12px}.toolbar input{width:100%}.tabs{max-width:100%;overflow:auto;flex-wrap:nowrap}.tab{white-space:nowrap;padding:8px 11px}.event-row{gap:11px}.event-info h3{font-size:12px}.event-info p{font-size:10px}.event-status .avatar-stack{display:none}.event-status .pill{font-size:9px}.modal-overlay{padding:12px}.modal{max-height:94dvh;border-radius:10px}.modal-body{padding:20px}.modal-header{padding:20px}.modal-header h2{font-size:24px}.modal-footer{padding:17px 20px;flex-wrap:wrap}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.check-list{grid-template-columns:1fr}.topbar .demo-badge{font-size:9px;padding:5px}.top-actions>.icon-btn{display:none}.bottom-line{font-size:9px;gap:10px}.detail-hero{padding:22px}.detail-hero h1{font-size:29px}.detail-hero .row{flex-wrap:wrap}.response-options{gap:6px}.response-option{font-size:11px}.num{white-space:nowrap}td,th{padding:13px 15px}.settings-card{padding:21px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.brand img{width:46px;height:46px;border-radius:50%;background:#fff;border:2px solid #d0b270;object-fit:contain}.sidebar-note b{line-height:1.6}.card .btn.sm{margin-top:8px}.stat-number{font-variant-numeric:tabular-nums}.num{font-variant-numeric:tabular-nums}

/* Lodge blue: a light-blue shell, clear navy text and restrained gold accents. */
:root{--ink:#243e59;--muted:#687d91;--accent:#2b659b;--dark:#dcecf8;--line:#dce6ef;--paper:#f5f8fc;--cream:#e9f2f9;--gold:#c3a46c;--shadow:0 12px 40px #244c7112}
.sidebar{background:linear-gradient(165deg,#e6f2fb 0%,#d5e8f7 62%,#cde2f3 100%);color:#294b6a;border-right:1px solid #cbddeb}
.brand-name{color:#244c70}.brand-note{color:#607f9b}.nav-label{color:#637e95}
.nav-item{color:#456682}.nav-item:hover{background:#ffffff65;color:#204e77}
.nav-item.active{background:#a9d0ee;color:#193f62;box-shadow:inset 3px 0 #3876ac}
.nav-count{background:#ffffff70;color:#41647f}
.sidebar-note{border-color:#adcce250;color:#5b7891;background:#ffffff30}
.sidebar-note b{color:#355977}.sidebar-user strong{color:#2d4f6d}.sidebar-user small{color:#648199}
.sidebar-user .icon-btn{color:#547694!important}.avatar.dark{background:#93bfdf;color:#1e4565;border-color:#bdd9ed}
.topbar{background:#fcfdff}.demo-badge{background:#edf4fa;border-color:#dae7f2;color:#587694}
.hero{background:linear-gradient(115deg,#e7f2fc 0%,#dcecf9 100%);border-color:#d0e2f0}
.hero h1{color:#284f72}.hero p{color:#607d97}.hero-art{color:#608bb2}.hero-tag{color:#6483a0}
.stat-icon{background:#eaf3fb;color:#5482ac}.stat-number{color:#2a5073}
.btn.primary{background:#2b659b;border-color:#2b659b}.btn.primary:hover{background:#22547f}
.btn.gold{background:#d1b984;border-color:#d1b984;color:#35475c}.text-link{color:#346994}
.progress{background:#e4edf5}.progress>span{background:#7faed3}
.project-feature{background:#f5f9fd}.project-card-banner{background:#deedf9}.project-card-banner.blue{background:#e7effa}.project-card-banner.amber{background:#f2eddf}
.detail-hero{background:#e6f1fb;border-color:#d5e4f1}
.folder-btn.active{background:#e3f0fb;color:#31618a}.response-option.selected{background:#e3f0fb;border-color:#8ab6d9;color:#285c88}
.email-brand{background:#285b85;color:#f0dfba}.login-screen{background:linear-gradient(145deg,#ebf4fc,#d7eafb)}
/* Outcome colors remain distinct from the light-blue navigation. */
.pill.green{background:#eaf2e6;color:#52754a}.pill.amber{background:#f6efdf;color:#8d7134}.pill.red{background:#faeae6;color:#a75a4b}

/* Allgemeine Ausgaben und Beitragsverteilung */
.allocation-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;margin-bottom:28px;background:linear-gradient(110deg,#e6f1fb,#f8fbfe);border-color:#cdddEC}.allocation-card h3{font-size:20px;margin:8px 0}.allocation-card p{color:var(--muted);font-size:14px;line-height:1.6;max-width:580px}.allocation-card .stack{flex-shrink:0;gap:10px}.allocation-intro{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:18px}.allocation-intro span{padding:7px 12px;border-radius:8px;background:#e9f2f9;color:var(--accent);font-size:12px;font-weight:600}.allocation-value{width:115px;min-height:42px;padding:9px 10px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:white;font:inherit}.allocation-table th,.allocation-table td{padding:13px 12px}#membership-allocation-form td .field{font-size:0;min-width:165px}#membership-allocation-form td .field input,#membership-allocation-form td .field select{font-size:13px}#membership-allocation-form td{vertical-align:top}details summary{cursor:pointer}details p{white-space:normal;max-width:270px;line-height:1.7;margin-top:8px}@media(max-width:950px){.allocation-card{align-items:stretch;flex-direction:column}.allocation-card .stack{align-items:flex-start}}@media(max-width:700px){.allocation-card{padding:18px}.allocation-card .btn{white-space:normal;text-align:left}.allocation-table{min-width:540px}}

.book-tabs{margin:0 0 25px;border-bottom:1px solid var(--line);overflow-x:auto;flex-wrap:nowrap}.book-tabs .tab{white-space:nowrap}.book-reference{display:flex;gap:28px;align-items:center;justify-content:space-between;padding:25px;margin-bottom:25px;background:linear-gradient(115deg,#e9f3fc,#fff)}.book-reference h3{font-size:20px;margin:9px 0}.book-reference p{font-size:14px;color:var(--muted);line-height:1.7;max-width:630px}.book-reference>a{flex-shrink:0}.book-line{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.book-line input{width:100%;min-width:0}.book-line .field{min-width:0}.toolbar>.field{min-width:130px}.toolbar.wrap{flex-wrap:wrap}.book-tabs+.page-head .row{justify-content:flex-end}@media(max-width:950px){.book-reference{flex-direction:column;align-items:flex-start}}@media(max-width:600px){.book-line{grid-template-columns:1fr 1fr}.book-line>.field:first-child{grid-column:1/-1}.book-reference{padding:18px}.book-tabs+.page-head .row{justify-content:flex-start}}

.simple-book-banner{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;border-radius:12px;background:#e7f1fb;color:var(--accent);margin-bottom:22px}.simple-book-banner span{font-size:13px}.simple-book-banner strong{font-size:22px}.simple-book-preview{margin-top:22px;border:1px solid #cdddEC;background:#f4f8fc;border-radius:12px;padding:16px}.simple-book-preview>div{display:grid;grid-template-columns:90px 1fr auto;align-items:center;gap:10px;padding:9px 0}.simple-book-preview span{font-size:12px;color:var(--muted)}.simple-book-preview strong{font-size:14px}.simple-book-preview b{font-size:15px}.tax-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:24px;margin-top:24px}.tax-checklist{padding-left:18px;font-size:14px;line-height:1.65}.tax-checklist li{padding:0 0 12px}.tax-grid .receipt-line span:last-child{text-align:right;max-width:65%}.tax-grid a{color:var(--accent)}@media(max-width:950px){.tax-grid{grid-template-columns:1fr}}@media(max-width:600px){.simple-book-preview>div{grid-template-columns:1fr auto}.simple-book-preview>div>span{grid-column:1/-1}}

.dues-rates{display:flex;align-items:center;gap:28px;justify-content:space-between;padding:24px;margin-bottom:24px;background:linear-gradient(115deg,#e9f3fc,#fff)}.dues-rates h3{margin:8px 0;font-size:20px}.dues-rates p{line-height:1.7}.dues-rate-list{display:flex;flex-wrap:wrap;gap:16px}.dues-rate-list>div{display:flex;flex-direction:column;padding:12px 16px;background:#fff;border:1px solid var(--line);border-radius:12px;min-width:145px}.dues-rate-list span,.dues-rate-list small{font-size:12px;color:var(--muted)}.dues-rate-list strong{font-size:21px;margin:6px 0;color:var(--accent)}@media(max-width:1100px){.dues-rates{flex-direction:column;align-items:stretch}.dues-rate-list>div{flex:1}}@media(max-width:600px){.dues-rates{padding:18px}.dues-rate-list{gap:10px}}

.budget-summary{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px;margin:0 0 24px;background:linear-gradient(115deg,#e9f3fc,#fff)}.budget-summary h3{font-size:20px;line-height:1.5;margin:8px 0}.budget-summary p{color:var(--muted);font-size:14px;line-height:1.7;max-width:660px}.budget-summary .stack{flex-shrink:0}.budget-notes{white-space:pre-wrap;margin-top:12px}.budget-hint{margin-bottom:24px}.budget-table{margin-bottom:24px}.budget-table th,.budget-table td{vertical-align:top}.budget-table td small{max-width:350px;white-space:normal;line-height:1.6}.budget-table tfoot{background:#f3f7fb}.budget-table .num{white-space:nowrap}.budget-over{color:#b23c32;font-weight:700}.budget-footnote{line-height:1.8;max-width:950px}@media(max-width:900px){.budget-summary{flex-direction:column;align-items:flex-start}}@media(max-width:600px){.budget-summary{padding:18px}.budget-table table{min-width:750px}}

.occasions-section{margin:28px 0}.occasions-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.occasions-toolbar h2{margin-top:7px;font-size:22px}.occasions-toolbar .field{font-size:12px;min-width:170px}.occasions-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.occasions-grid .card-head h2{display:flex;align-items:center;gap:10px}.occasions-grid .card-head .icon{color:var(--accent)}.occasion-row{display:flex;align-items:center;gap:13px;padding:16px 22px;width:100%;text-align:left;background:white;color:var(--ink);border:0;border-top:1px solid var(--line);font:inherit;cursor:pointer}.occasion-row:hover{background:#f2f7fc}.occasion-person{flex:1;min-width:0}.occasion-person strong,.occasion-person small,.occasion-date b,.occasion-date small{display:block}.occasion-person strong{font-size:14px}.occasion-person small,.occasion-date small{font-size:12px;color:var(--muted);margin-top:5px}.occasion-date{text-align:right;flex-shrink:0}.occasion-date b{font-size:13px}.occasion-date.is-today b{color:#22724f}.occasion-date.is-today small{color:#22724f}.occasion-empty{padding:25px;text-align:center;color:var(--muted);font-size:14px;line-height:1.7}.occasion-empty>.icon{width:28px;height:28px;color:#84a8c8;margin-bottom:8px}.occasion-empty small{display:block;margin-top:8px}.occasion-more{padding:14px 22px;border-top:1px solid var(--line)}.profile-heading{display:flex;align-items:center;gap:20px;margin-bottom:24px}.profile-heading h3{font-size:24px;margin:7px 0}.profile-heading p{font-size:13px;color:var(--muted)}.profile-tabs{margin-bottom:24px;overflow-x:auto;flex-wrap:nowrap}.profile-tabs .tab{white-space:nowrap}.profile-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.profile-info-grid h3{font-size:16px;margin-bottom:14px}.profile-info-grid .receipt-line{align-items:flex-start;gap:15px}.profile-info-grid .receipt-line>span:last-child{max-width:60%;text-align:right;overflow-wrap:anywhere}.profile-info-grid .receipt-line>span:first-child{color:var(--muted);font-size:13px}.profile-notes{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:14px}.profile-edit-block{margin:20px 0}.profile-edit-block p,.profile-details p{line-height:1.7;max-width:none;margin:14px 0 0}.profile-checks{display:flex;flex-direction:column;gap:13px;justify-content:center}.profile-details{border:1px solid var(--line);border-radius:11px;margin:14px 0;padding:0 18px}.profile-details summary{padding:17px 0;font-weight:600;color:var(--accent)}.profile-details[open]{padding-bottom:18px}.profile-details .form-grid{margin-top:5px}@media(max-width:1000px){.occasions-grid{grid-template-columns:1fr}.profile-info-grid{grid-template-columns:1fr}}@media(max-width:600px){.occasions-toolbar{flex-direction:column;align-items:flex-start}.occasions-toolbar>.row{width:100%}.occasions-toolbar .field{flex:1}.occasion-row{padding:15px;gap:10px}.occasion-date small{max-width:115px;line-height:1.5}.profile-heading h3{font-size:21px}.profile-info-grid .receipt-line{font-size:13px}.profile-details{padding-left:12px;padding-right:12px}}

/* Personal letter templates and drafts */
.letter-intro{display:flex;gap:16px;align-items:center;padding:22px 26px;background:#e9f3fb;border:1px solid #cfe2f1;border-radius:12px;margin-bottom:24px}.letter-intro p{margin:6px 0 0;color:#5a7086;font-size:13px}.letter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:20px}.letter-card{padding:24px;display:flex;flex-direction:column;min-height:220px}.letter-card h2{margin:20px 0 8px;font-size:20px}.letter-card>p{font-size:13px;line-height:1.6;color:#63798d;overflow-wrap:anywhere}.letter-card-actions{margin-top:auto;padding-top:24px;display:flex;gap:8px;flex-wrap:wrap}.letter-grow{flex:1;min-width:0;overflow-wrap:anywhere}.letter-tokens{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;padding:12px 0}.letter-tokens span{display:flex;flex-direction:column;gap:5px}.letter-tokens code{color:#275d89;font-size:13px}.letter-tokens small{color:#667c8d;font-size:12px}#tpl-template-form textarea,#tpl-letter-form textarea{line-height:1.65;min-height:90px}#letter-charge-select .field{margin:0}@media(max-width:600px){.letter-intro{padding:16px;align-items:flex-start}.letter-card{padding:20px}.letter-intro p{line-height:1.8}}

.letter-intro-logo{height:70px;width:70px;object-fit:contain;flex-shrink:0}.letter-preview-details{margin-top:24px;border:1px solid #cfe0ec;border-radius:10px;overflow:hidden}.letter-preview-details>summary{padding:14px 18px;color:#315f80;cursor:pointer;font-weight:600;font-size:13px;background:#edf5fb}.letter-preview-scroll{overflow:auto;padding:20px 12px;background:#edf2f6}.letter-preview-scroll .letter-sheet{min-width:640px}.letter-preview-scroll .lh-title{letter-spacing:0}.letter-preview-scroll .lh-head{display:table}.letter-preview-scroll .lh-address-row{display:table}@media(max-width:600px){.letter-intro-logo{height:54px;width:54px}.letter-preview-scroll{padding:12px 8px}}

/* Adressbuch und Korrespondenz */
.corr-recipient-group{padding:12px 0;border-bottom:1px solid var(--border,#e5eaf0)}
.corr-recipient-group .check{align-items:flex-start}.corr-recipient-group small{display:block}
.corr-recipient-group .row{margin-bottom:8px}.corr-attachments{border:1px solid #dbe5ef;border-radius:12px;padding:16px;margin-top:18px;min-width:0}
.corr-attachments legend{padding:0 6px;font-weight:600}.corr-message{font:inherit;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f9fc;padding:22px;border-radius:12px}
#address-results td{vertical-align:top}#address-results td:last-child{white-space:nowrap}

[data-contact-for][hidden]{display:none!important}.corr-recipient-group{max-height:260px;overflow:auto}

/* Suchendenprofil */
.seeker-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:4px 0 22px}
.seeker-summary>div{background:#f1f7fc;border:1px solid #dce9f3;border-radius:12px;padding:16px}
.seeker-summary small{display:block;color:#66798b;margin-bottom:7px}.seeker-summary strong{font-size:20px;color:#244c70}
.seeker-facts{display:grid;gap:12px;margin-bottom:18px}.seeker-facts>div{display:grid;grid-template-columns:190px 1fr;gap:16px}
.seeker-facts span{color:#687786}.seeker-facts b{font-weight:500;overflow-wrap:anywhere}
[data-seeker-application][hidden]{display:none!important}
@media(max-width:650px){.seeker-summary{grid-template-columns:1fr}.seeker-summary>div{display:flex;justify-content:space-between;gap:12px}.seeker-summary strong{font-size:17px}.seeker-facts>div{grid-template-columns:1fr;gap:3px}}

.lodge-office-line{padding-top:12px;margin-top:10px;border-top:1px solid #e4ebf2}.lodge-office-line b{font-weight:500}.lodge-office-line .btn{margin-top:6px}.import-preview{max-height:440px;overflow:auto}.import-preview thead th{position:sticky;top:0;background:#f4f8fc;z-index:1}.import-preview td{vertical-align:top;max-width:320px;overflow-wrap:anywhere}.import-preview input[type=checkbox]{width:18px;height:18px}

.minutes-intro{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px;margin-bottom:24px;background:linear-gradient(110deg,#e6f1fb,#fff)}.minutes-intro p{color:var(--muted);margin-top:8px;line-height:1.6}.minutes-attendance{border:1px solid var(--line);border-radius:10px;margin:16px 0 24px;max-height:360px;overflow:auto}.minutes-attendance>div{display:grid;grid-template-columns:minmax(120px,1fr) minmax(160px,1fr);align-items:center;gap:16px;padding:11px 15px;border-bottom:1px solid var(--line)}.minutes-attendance>div:last-child{border:0}.minutes-attendance .field{font-size:11px;margin:0}.minutes-status-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:22px 0}.minutes-status-grid>div{padding:16px;border:1px solid #d5e5f1;background:#f5f9fc;border-radius:10px}.minutes-status-grid p{font-size:13px;line-height:1.7;margin-top:8px;color:var(--muted)}.minutes-text{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.8;margin:12px 0 24px;padding:16px;background:#f7f9fb;border-radius:10px}#minutes-edit-form>.field,#minutes-send-form>.field{margin-top:20px}@media(max-width:650px){.minutes-intro{flex-direction:column;align-items:flex-start}.minutes-status-grid{grid-template-columns:1fr}.minutes-attendance>div{grid-template-columns:1fr;gap:8px}}

/* Member numbers and personal possessions */
.member-number{font-size:12px;color:var(--muted);margin:5px 0 8px}.possession-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;background:#f0f7fc;border:1px solid #d9e9f5;border-radius:12px;margin-bottom:20px}.possession-banner p{font-size:13px;line-height:1.6;margin-top:5px}.possession-list{margin-bottom:20px}.possession-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid #e7edf3}.possession-row>div:first-child{min-width:0}.possession-row small{display:block;margin-top:5px;color:var(--muted);font-size:12px}.possession-row p{font-size:13px;margin-top:9px;overflow-wrap:anywhere}.possession-row-actions{display:flex;gap:12px;align-items:center;flex-shrink:0}@media(max-width:650px){.possession-banner,.possession-row{align-items:flex-start;flex-direction:column}.possession-row-actions{width:100%;justify-content:space-between}.possession-banner{gap:12px}}

/* Account access and permanent brother records */
.access-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.access-links .btn{font-size:12px;flex:1}.login-card .eyebrow{display:block;margin:18px 0 8px}.access-mail{background:#f1f7fc;border-top:5px solid #b9d9ee;padding:26px;border-radius:8px}.access-mail pre{white-space:pre-wrap;font:inherit;line-height:1.8;margin:22px 0 0}.member-archive{background:#edf5fb;border:1px solid #d5e6f2;border-radius:12px;padding:16px 20px;margin:0 0 24px}.member-archive summary{cursor:pointer;font-weight:600;color:#274a69}.member-archive .row{margin-top:16px}.memorial-avatar{display:inline-flex;position:relative;flex-shrink:0;vertical-align:middle}.memorial-avatar .avatar{filter:grayscale(1);background:#e4e6e8;color:#6c7177}.memorial-cross{position:absolute;right:-3px;bottom:-3px;border-radius:50%;width:22px;height:22px;display:grid;place-items:center;background:#fff;color:#5f6670;font-size:23px;font-family:Georgia,serif;border:1px solid #ccd2d6;line-height:1}.brother-drop{padding:28px;border:2px dashed #91b8d6;border-radius:12px;background:#f3f8fc;display:flex;align-items:center;text-align:center;flex-direction:column;gap:14px;cursor:pointer;margin:14px 0}.brother-drop input{max-width:100%}.brother-drop span{color:#64788b;font-size:13px}.brother-drop.drag-over{background:#dceefb;border-color:#3d779e}.login-card form{display:grid;gap:16px}.access-links .btn{white-space:normal}
/* Amtszeiten und Regelverwaltung */
.office-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#edf6fd;border:1px solid #d5e8f6;border-radius:14px;padding:22px;margin:6px 0 20px}.office-banner h3{margin:8px 0}.office-banner p{margin:8px 0 0;font-size:13px;color:#486681}.office-history{margin:24px 0 8px}.office-term{position:relative;display:flex;align-items:center;gap:16px;padding:22px 0;border-bottom:1px solid #e4ebf1}.office-term h3{margin:0;font-size:15px}.office-term p{margin:9px 0 0}.office-term-dot{flex:0 0 11px;width:11px;height:11px;border-radius:50%;background:#c5cfda}.office-term-dot.active{background:#368fc0;box-shadow:0 0 0 5px #e4f2fb}.office-checks{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}.office-checks .check{align-items:flex-start;line-height:1.5}.office-rule-council{padding:18px;background:#edf6fd;border-radius:10px}.office-council{margin:22px 0;padding:20px;border:1px solid #dce7f0;border-radius:12px}.office-council h3{margin:0 0 12px}.office-council p{line-height:1.7;margin:10px 0}@media(max-width:620px){.office-banner{align-items:flex-start;flex-direction:column}.office-checks{grid-template-columns:1fr}.office-term{flex-wrap:wrap}}

/* Calendar and operational records */
.calendar-panel{margin-bottom:28px}.calendar-list{padding:0 24px}.calendar-entry{display:grid;grid-template-columns:minmax(150px,220px) 1fr;gap:20px;padding:18px 12px;border-bottom:1px solid #e0eaf1;border-left:4px solid #a9cfe8}.calendar-entry small{display:block;color:#647e91;margin-top:6px}.calendar-entry h3{margin:0 0 8px}.cal-Ferien{border-left-color:#96bca1}.cal-Feiertag{border-left-color:#d6b56b}.cal-Johannis{border-left-color:#6e9dce}.calendar-note{padding:0 24px 14px}.calendar-panel select{padding:9px;border:1px solid #d2e0e9;border-radius:8px;background:white;color:#24445b}.legal-reference{padding:20px;background:#eef6fb;border-radius:12px;margin:16px 0}.legal-reference summary{cursor:pointer;font-weight:600}.honorary-avatar{position:relative;display:inline-flex}.honorary-star{position:absolute;right:-5px;bottom:-5px;background:#fff8d8;border-radius:50%;color:#a77c16;padding:1px 4px;font-size:18px}.tabs{overflow-x:auto;max-width:100%;flex-wrap:wrap}@media(max-width:600px){.calendar-entry{grid-template-columns:1fr;gap:8px}.calendar-list{padding:0 12px}.calendar-panel .toolbar{padding:12px}.calendar-panel .toolbar label{display:flex;gap:8px;align-items:center}}
.event-export-list{max-height:320px;overflow-y:auto;border:1px solid var(--line,#dbe7ef);border-radius:12px;margin:16px 0}.event-export-choice{display:flex;align-items:flex-start;gap:12px;padding:13px 16px;border-bottom:1px solid #e4edf3;cursor:pointer}.event-export-choice:last-child{border-bottom:0}.event-export-choice input{width:18px;height:18px;flex:0 0 18px;margin-top:3px}.event-export-choice small{display:block;color:#536d7d;margin-top:4px}
.resolution-summary{display:block;max-width:560px;white-space:normal;line-height:1.5;margin-top:5px}.minutes-text{overflow-wrap:anywhere}
.minute-resolutions{border:1px solid #b9d3e5;background:#f5faff;padding:18px;border-radius:14px;margin:20px 0}.minute-resolutions>summary{cursor:pointer;font-size:18px;font-weight:600;color:#254e6c}.minute-resolutions>summary span{font-size:12px;font-weight:400;margin-left:10px}.resolution-editor{padding:14px;background:white;border:1px solid #dce7ef;border-radius:10px;margin-top:14px}.resolution-editor>summary{cursor:pointer;font-weight:600;margin-bottom:10px}.resolution-editor .field{margin-top:12px}

.ritual-lists{display:grid;gap:14px}.ritual-list{padding:20px;margin-bottom:16px}.ritual-list>summary{cursor:pointer;display:list-item;list-style:disclosure-closed;font-size:16px}.ritual-list[open]>summary{list-style:disclosure-open}.ritual-list>summary span{float:right;color:var(--muted);font-size:13px}.ritual-line{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;padding:14px 0;border-bottom:1px solid #dfebf3}.ritual-line>div:first-child{min-width:0;flex:1}.ritual-line strong,.ritual-line span,.ritual-line small{display:block;overflow-wrap:anywhere}.ritual-line span{font-size:14px;margin:5px 0}.ritual-line small,.ritual-source{font-size:12px;color:#60788b}.ritual-source summary{cursor:pointer}.ritual-source p{margin:6px 0}.ritual-line .row{flex-shrink:0}@media(max-width:600px){.ritual-line{flex-direction:column}.ritual-list{padding:14px}.ritual-list>summary span{float:none;display:block;margin-top:5px}.toolbar form{max-width:100%;flex-wrap:wrap}}
/* Veranstaltungsvorbereitung: getrennte Bereiche und mobile Mehrfachauswahl. */
.preparation-progress{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.preparation-progress span{background:#edf5fc;border:1px solid #d7e8f6;border-radius:20px;padding:7px 12px;font-size:12px}.preparation-section{border-top:1px solid var(--line);padding:18px 0}.preparation-section>summary{cursor:pointer;font-weight:600;padding:7px 0}.preparation-section>summary span{font-weight:400;color:var(--muted);margin-left:12px;font-size:12px}.preparation-section>p,.preparation-section .hint{margin:12px 0}.organization-category h4{color:#426984;margin:18px 0 0;padding:10px 12px;background:#edf5fc;border-radius:6px}.preparation-people{border:1px solid var(--line);border-radius:8px;margin:20px 0 10px;padding:10px 16px;max-height:300px;overflow:auto;overscroll-behavior:contain}.preparation-people legend{font-size:12px;color:var(--muted)}.preparation-people .check{min-height:44px}.preparation-section .ritual-line{overflow-wrap:anywhere}.preparation-section h3{margin:0}#prep-task-form>.field{margin:15px 0}@media(max-width:600px){.preparation-progress{gap:7px}.preparation-section .row{flex-wrap:wrap}.preparation-section>summary span{display:block;margin:5px 0 0}.preparation-people{max-height:240px}}

/* Membership notifications */
.notice-address{display:grid;grid-template-columns:1fr 1fr;gap:20px;background:#eff7fc;border:1px solid #d8e8f3;border-radius:14px;padding:18px}.notice-address>div{display:flex;flex-direction:column;gap:7px;min-width:0;overflow-wrap:anywhere}.notice-address small{font-size:10px;letter-spacing:1px;color:#536f82}.notice-address span{font-size:13px;color:#536f82}.notice-subject{font-weight:600;background:#f3f8fc;border-left:3px solid #8dbbdd;padding:14px 16px;margin:18px 0;overflow-wrap:anywhere}.notice-attachment{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;border:1px solid #d8e8f3;border-radius:12px;padding:16px}.notice-attachment small{display:block;color:#627b8e;overflow-wrap:anywhere;font-size:12px;margin-top:6px}@media(max-width:620px){.notice-address{grid-template-columns:1fr}.notice-attachment .row{width:100%}.notice-attachment .btn{flex:1}}

/* Group finance tasks; the compact picker keeps all areas within narrow viewports. */
.finance-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:12px}
.finance-nav-group{min-width:0;background:#edf5fb;border:1px solid #d7e6f1;border-radius:10px;padding:13px}
.finance-nav-group h2{font-size:10px;text-transform:uppercase;letter-spacing:1.4px;color:#637f95;margin:2px 8px 10px;font-weight:700}
.finance-nav-item{display:block;text-align:left;width:100%;padding:10px 11px;border-radius:6px;background:transparent;color:#49667e;font-size:12px;line-height:1.4}
.finance-nav-item:hover{background:#deedf7}.finance-nav-item.active{background:#fff;color:#1d507a;box-shadow:0 2px 8px #274b6b12;font-weight:700;border-left:3px solid #4c8dbf;padding-left:8px}
.finance-tools{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-bottom:25px}
.finance-nav-compact,label.finance-nav-compact.field{display:none}
@media(max-width:900px){.finance-nav{display:none}.finance-nav-compact{display:block}.finance-nav-compact select{width:100%;min-width:0}.finance-tools{justify-content:space-between;margin-top:12px}label.finance-nav-compact.field{display:grid;margin-bottom:0}}

/* Project giving: pledges and received money stay explicitly separate. */
.project-donations{margin-top:20px;padding:15px;border:1px solid #dbeaf5;border-radius:8px;background:#f2f8fd;overflow-wrap:anywhere}.project-donations .row{gap:6px}.project-donations-percent{font-size:11px;font-weight:600;color:#347dad}.project-donations-purpose{font-size:12px;line-height:1.5;color:#476781;margin-top:9px}.project-donations-total{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;margin-top:12px}.project-donations-total strong{font-size:22px;color:#245375}.project-donations-total span{font-size:11px;color:var(--muted)}.project-donations .donation-progress{height:9px;margin:10px 0 13px}.project-donations dl{margin:0;display:grid;gap:8px;font-size:11px}.project-donations dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}.project-donations dt{color:var(--muted)}.project-donations dd{margin:0;font-weight:600;white-space:nowrap}.project-donations-received{padding-top:8px;border-top:1px solid #dae8f2}.project-donations-received dt,.project-donations-received dd{color:#32694d}.project-donations>.pill{margin-top:12px}.project-card-body .budget{flex-wrap:wrap;gap:6px}.project-card-body .budget>b{margin-left:auto}
.donation-card{padding:26px;margin-bottom:26px;background:linear-gradient(120deg,#f3faff,#fff)}
.donation-card h2{margin:8px 0 12px}.donation-card p{line-height:1.6;color:var(--muted);margin:12px 0}.donation-total{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-top:24px}.donation-total strong{font-size:32px;color:#245375}.donation-total span{color:var(--muted)}.donation-total b{margin-left:auto;color:#347dad}.donation-progress{display:block;width:100%;height:16px;border:0;border-radius:20px;overflow:hidden;margin:15px 0 12px;background:#e0edf6;accent-color:#4b91bf}.donation-progress::-webkit-progress-bar{background:#e0edf6;border-radius:20px}.donation-progress::-webkit-progress-value{background:#4b91bf;border-radius:20px}.donation-progress::-moz-progress-bar{background:#4b91bf;border-radius:20px}.donation-actions{margin:22px 0}.donation-reference{overflow-wrap:anywhere}.donation-card h3{margin-top:24px}.donation-card td{vertical-align:middle}
@media(max-width:600px){.donation-card{padding:19px}.donation-total strong{font-size:27px}.donation-total span{font-size:13px}.donation-actions>.btn{width:100%;justify-content:center}}

.mail-editor{border:1px solid #ccdce9;border-radius:9px;background:#fff;overflow:hidden;min-width:0;margin-top:12px}.mail-editor [hidden]{display:none!important}.mail-editor-heading{padding:11px 13px;background:#edf5fb;display:flex;align-items:center;justify-content:space-between;gap:12px}.mail-editor-heading strong{font-size:12px}.mail-editor-heading label{display:flex;align-items:center;gap:8px;font-size:11px}.mail-editor-heading select{width:auto;padding:6px 10px}.mail-editor-toolbar{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:9px;background:#f5f8fb;border-top:1px solid #dce6ee;border-bottom:1px solid #dce6ee}.mail-editor-toolbar button,.mail-editor-link button{background:#fff;border:1px solid #d4e0e9;border-radius:5px;min-height:32px;padding:6px 9px;font-size:11px;color:#365772}.mail-editor-toolbar button:hover{background:#dcecf9}.mail-editor-toolbar select{width:auto;padding:6px;font-size:11px;min-height:32px}.mail-color{display:flex;align-items:center;gap:4px;font-size:11px}.mail-color input{width:33px;height:32px;padding:2px}.mail-editor-surface{min-height:190px;max-height:440px;overflow:auto;padding:18px;font-family:Arial,sans-serif;font-size:14px;line-height:1.6;outline:none;color:#24445b;overflow-wrap:anywhere}.mail-editor-surface:focus{box-shadow:inset 0 0 0 2px #70a9d1}.mail-editor-surface p,.corr-html p{margin:0 0 10px}.mail-editor-surface img,.corr-html img{max-width:100%;height:auto}.mail-editor-surface a,.corr-html a{text-decoration:underline;color:#1f6ca7}.mail-editor-surface blockquote,.corr-html blockquote{border-left:3px solid #c5dbe9;margin:10px 0;padding:8px 16px;color:#647f93}.mail-editor textarea{min-height:190px;border-radius:0;border:0;padding:16px}.mail-editor-feedback{padding:8px 12px;margin:0;color:#667d93;border-top:1px solid #e7edf3}.mail-editor-link{display:flex;align-items:end;gap:8px;padding:12px;background:#e7f2fa}.mail-editor-link label{flex:1;font-size:12px}.corr-message.corr-html{white-space:normal;font-family:Arial,sans-serif;background:white;padding:20px;border:1px solid #dce7ee;overflow-wrap:anywhere}.corr-html ul,.corr-html ol{padding-left:24px}
@media(max-width:600px){.mail-editor-heading{align-items:flex-start;flex-direction:column}.mail-editor-toolbar{gap:4px}.mail-editor-toolbar button{min-height:40px}.mail-editor-surface{padding:12px;max-height:340px}.mail-editor-link{flex-direction:column;align-items:stretch}}

.home-donations{margin-bottom:26px}.home-donations h2{margin-top:7px}.home-donations-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px;margin-top:16px}.home-donation-card{padding:22px;max-width:100%}.home-donation-card>h3{font-family:Georgia,serif;font-size:23px;font-weight:400;overflow-wrap:anywhere}.home-donation-card .project-donations{margin-top:15px}.home-donation-card>.btn{margin-top:16px;width:100%}

.letter-new-fee{margin:16px 0 0;padding:16px;border:1px solid #d5e5f1;border-radius:8px;background:#f2f8fd;min-width:0}.letter-new-fee legend{font-size:12px;font-weight:600;color:#426784;padding:0 6px}.letter-new-fee .hint{margin-top:12px}.letter-new-fee[hidden]{display:none}

.project-donation-options{border-top:1px solid var(--line);padding-top:6px}.project-donation-options>.form-section{border:0;margin:12px 0 2px;padding-bottom:4px}.project-donation-options fieldset{min-width:0;margin:12px 0 0;padding:16px;border:1px solid #d5e5f1;border-radius:8px;background:#f2f8fd}.project-donation-options fieldset[hidden]{display:none}.project-donation-options p{font-size:11px;line-height:1.6;margin-top:10px}

/* The contact type controls both visibility and browser validation. */
.contact-fields{border:0;padding:0;margin:18px 0 0;min-width:0}.contact-fields[hidden]{display:none!important}.contact-fields.full{margin-top:0}.application-toggle{padding:15px;background:#e9f3fb;border:1px solid #c6dfef;border-radius:9px}.application-toggle input{flex-shrink:0}.seeker-fields .small{max-width:none;line-height:1.6}#seeker-application-details{padding:16px;background:#f7fbfe;border:1px solid #dce9f3;border-radius:10px}.contact-fields .form-section:first-child{margin-top:0}

.member-preview-banner{position:sticky;top:0;z-index:15;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;margin-bottom:24px;border:2px solid #3976a5;border-radius:12px;background:#e4f2ff;color:#163f61;box-shadow:0 4px 16px #163f6115}.member-preview-banner p{margin:5px 0 0;font-size:13px;line-height:1.5}[aria-disabled="true"][data-action]{opacity:.5;cursor:not-allowed}@media(max-width:650px){.member-preview-banner{position:relative;align-items:stretch;flex-direction:column}.member-preview-banner .btn{width:100%}}

.photo-editor{max-width:480px;margin:auto}.photo-editor .field{margin:12px 0}.photo-stage{width:min(100%,300px);aspect-ratio:1;margin:20px auto;background:#dce9f2;border-radius:50%;overflow:hidden;outline:3px solid #87b6d9;box-shadow:0 0 0 8px #edf5fa}.photo-stage canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.photo-stage canvas:active{cursor:grabbing}.photo-editor input[type=range]{width:100%;padding:0;accent-color:#3976a5;min-height:32px}

.member-finance-disclosure>summary{cursor:pointer;font-size:20px;font-weight:600;line-height:1.5;color:#24465f}.member-finance-disclosure>summary .pill{margin-left:10px;font-size:12px;vertical-align:middle}.member-finance-disclosure[open]>summary{margin-bottom:12px}.member-finance-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.member-finance-pagination>span{text-align:center}.member-finance-pagination button:disabled{opacity:.4;cursor:default}@media(max-width:480px){.member-finance-disclosure>summary .pill{display:inline-block;margin:6px 0}.member-finance-pagination{flex-wrap:wrap}.member-finance-pagination>span{flex:1;min-width:110px}}

.calendar-controls{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:flex-start;gap:16px;padding:0 28px 24px}.calendar-controls label{display:flex;flex-direction:column;gap:8px;min-width:150px;color:#526d83;font-size:13px;font-weight:600}.calendar-controls label:nth-child(2){min-width:190px}.calendar-controls label:last-of-type{min-width:210px}.calendar-controls select{width:100%;min-height:44px}.toolbar .tabs{flex-wrap:wrap}@media(max-width:600px){.calendar-controls{padding:0 20px 20px;gap:12px}.calendar-controls label,.calendar-controls label:nth-child(2),.calendar-controls label:last-of-type{min-width:0;flex:1 1 130px}}
