:root{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#292d35;background:#f7f6f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}.hidden{display:none!important}.app{min-height:100vh}.topbar{height:80px;background:#fff;border-bottom:1px solid #eae8e4;padding:0 clamp(20px,4vw,64px);display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:13px}.brand-icon{height:45px;width:45px;background:#f4eaec;color:#8c3045;border-radius:14px;display:grid;place-items:center;font-size:27px}.brand div{display:flex;flex-direction:column;gap:3px}.brand small{font-size:10px;letter-spacing:.14em;color:#7f8389;font-weight:800}.brand strong{font-size:19px;letter-spacing:-.045em}.pill{display:inline-flex;border:1px solid #ede2e4;background:#faf2f4;color:#91374a;font-size:11px;border-radius:30px;padding:8px 12px;font-weight:800}.layout{display:grid;grid-template-columns:260px 1fr;max-width:1500px;margin:auto;min-height:calc(100vh - 80px)}.sidebar{padding:35px 18px;border-right:1px solid #eae8e4;background:#fcfbfa;display:flex;flex-direction:column;gap:8px}.section-label,.eyebrow{font-size:11px;font-weight:850;letter-spacing:.13em;color:#9a9195}.section-label{padding-left:16px;margin-bottom:12px}.navitem{width:100%;border:0;background:transparent;border-radius:13px;padding:15px 15px;text-align:left;display:flex;gap:14px;align-items:center;font-size:14px;font-weight:700;color:#687079}.navitem.selected{background:#f3e9eb;color:#8a2d42}.navitem:hover{background:#f3f1ef}.sidebar-note{margin-top:auto;padding:16px;font-size:12px;line-height:1.8;color:#84838a;border-top:1px solid #eae8e4}.sidebar-note span{color:#ac9da3}.content{width:100%;max-width:1160px;margin:0 auto;padding:38px clamp(18px,4vw,50px) 22px}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.heading h1{font-size:clamp(27px,4vw,38px);letter-spacing:-.055em;margin:7px 0 7px}.heading p{margin:0;font-size:14px;color:#797e85;line-height:1.6}.heading-icon{height:62px;width:62px;border:1px solid #eee1e3;border-radius:20px;background:#fff;display:grid;place-items:center;color:#922f47;font-size:27px}.control-panel,.panel{background:#fff;border:1px solid #ebe8e4;border-radius:20px;padding:24px;box-shadow:0 8px 35px #24242f07}.month-row{display:flex;gap:17px;align-items:center;flex-wrap:wrap}.month-row label,.panel label,dialog label{display:block;font-weight:750;font-size:14px}.month-row input,input,select{border:1px solid #e3e0dd;border-radius:11px;padding:12px 14px;background:#fff;color:#34343a;min-height:46px}input:focus,select:focus,button:focus-visible{outline:3px solid #e6bec6;outline-offset:2px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.btn{border:0;border-radius:11px;padding:13px 17px;min-height:48px;font-weight:800;font-size:13px}.btn-primary{background:#882c41;color:#fff;box-shadow:0 5px 16px #882c4126}.btn-primary:hover{background:#76243a}.btn-outline{background:#fbfaf9;border:1px solid #e9e4e1;color:#50535a}.btn-outline:hover{background:#f3eef0}.helper{font-size:12px;color:#8c8d92;margin-top:14px;line-height:1.6}.summary{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:19px 0 28px}.summary>div{background:#fff;border:1px solid #ebe8e4;border-radius:15px;padding:20px;display:flex;flex-direction:column;gap:9px}.summary small{font-size:10px;letter-spacing:.08em;color:#898f94;font-weight:800}.summary strong{font-size:28px;letter-spacing:-.05em}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.section-heading h2,.panel h2{font-size:19px;letter-spacing:-.035em;margin:0}.section-heading span{font-size:12px;color:#8b8e92}.meetings{display:grid;gap:14px}.meeting{background:#fff;border:1px solid #eae7e3;border-radius:17px;overflow:hidden;box-shadow:0 7px 27px #24242f06}.meeting-head{display:flex;align-items:center;justify-content:space-between;padding:18px 21px;border-bottom:1px solid #f0ede9;gap:12px}.meeting-head b{display:block;font-size:16px}.meeting-head span{display:block;font-size:12px;color:#93939a;margin-top:5px}.state{font-size:11px;padding:7px 10px;border-radius:100px;background:#f3f2f0;color:#747982;font-weight:800}.state.published{background:#edf5ee;color:#497652}.group-title{font-size:10px;font-weight:850;letter-spacing:.11em;padding:10px 19px;color:#fff;background:#64717b}.group-title.ministry{background:#bb8a36}.group-title.living{background:#922e46}.group-title.misc{background:#f3f1ef;color:#656971}.slot{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 19px;border-top:1px solid #f3f1ef}.slot-time{font-size:12px;font-weight:800;color:#8b8c91}.slot-title{font-weight:760;font-size:13px;line-height:1.45}.slot-person{font-size:12px;color:#807e84;margin-top:3px}.slot.unfilled .slot-person{color:#a54b5a}.slot button{border:1px solid #e5e0df;background:#fff;border-radius:9px;padding:9px 11px;font-size:12px;color:#7e3546;font-weight:800}.placeholder{padding:37px;border:1px dashed #d8d5d1;color:#898e94;border-radius:15px;text-align:center;background:#fff;font-size:14px}.notice{padding:15px 18px;border-radius:11px;background:#f0f4f7;color:#41596c;border:1px solid #d9e4ec;margin-bottom:20px;font-size:13px}.notice.error{background:#fdf0f1;color:#973747;border-color:#eec6cc}.person-layout{display:grid;grid-template-columns:1fr 1fr;gap:19px}.panel h2{margin-bottom:22px}.panel input{width:100%;margin-top:9px}.subheading{font-size:12px;color:#777d84;font-weight:800;margin-top:22px;margin-bottom:13px}.roles{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:22px}.role-item{display:flex;align-items:center;gap:8px;background:#faf9f7;border:1px solid #eeebe8;padding:11px;border-radius:10px;font-size:12px;font-weight:700}.role-item input{width:auto;margin:0;min-height:0;accent-color:#8a2e43}.full{width:100%}.person-row{padding:15px 0;border-bottom:1px solid #f0eeec}.person-row b{font-size:14px}.person-row small{font-size:12px;color:#888a90;display:block;margin-top:6px;line-height:1.6}.small-note{color:#777c83;font-size:12px;line-height:1.55}footer{padding:30px 0 18px;color:#a1a0a4;font-size:11px;line-height:1.5}dialog{border:1px solid #e4dedc;border-radius:18px;padding:25px;width:min(94vw,470px);box-shadow:0 30px 90px #18181c38}dialog::backdrop{background:#15151b80}dialog h2{font-size:22px;letter-spacing:-.04em;margin:0 0 22px}dialog label{margin-top:16px;margin-bottom:8px}dialog input,dialog select{width:100%}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}@media(max-width:850px){.layout{grid-template-columns:1fr}.sidebar{padding:10px 14px;flex-direction:row;border-right:0;border-bottom:1px solid #eae8e4;gap:7px}.section-label,.sidebar-note{display:none}.navitem{justify-content:center;padding:13px 10px;flex:1;font-size:13px}.content{padding:25px 15px}.person-layout{grid-template-columns:1fr}}@media(max-width:550px){.topbar{height:72px;padding:0 15px}.brand strong{font-size:16px}.brand-icon{width:38px;height:38px;font-size:22px}.brand small{font-size:9px}.heading-icon{display:none}.actions .btn{width:100%}.summary{gap:7px}.summary>div{padding:15px 11px}.summary small{font-size:9px}.summary strong{font-size:24px}.control-panel,.panel{padding:18px}.month-row{align-items:flex-start;flex-direction:column}.month-row input{width:100%}.slot{grid-template-columns:43px minmax(0,1fr) auto;padding:12px 10px;gap:7px}.slot button{padding:8px 7px}.roles{grid-template-columns:1fr}.sidebar .navitem{font-size:12px}.meeting-head{padding:15px}.group-title{padding:10px 13px}}

.import-panel,.export-panel{margin:18px 0}.import-panel h2,.export-panel h2{margin-bottom:10px}.import-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.import-controls label{font-size:13px}.import-panel select,.import-panel input[type=file],.import-panel textarea{display:block;width:100%;margin-top:7px}.import-panel textarea{border:1px solid #e3e0dd;border-radius:12px;padding:14px;resize:vertical;font:inherit;line-height:1.5}#importPreview{padding:12px;background:#f9f7f5;border-radius:10px;margin-top:14px;white-space:pre-wrap}@media(max-width:650px){.import-controls{grid-template-columns:1fr}}
