:root{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;color:#13263d;background:#e9eef4}*{box-sizing:border-box}html,body{margin:0;width:100%;overflow-x:hidden}button,input,textarea,select{font:inherit}.app{width:100%;max-width:560px;min-height:100dvh;margin:auto;background:#f6f8fb;padding-bottom:95px;overflow-x:clip}header{min-height:78px;background:white;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:15px 18px;border-bottom:1px solid #e5eaf0}.brand{display:flex;align-items:center;gap:10px;min-width:0}.brand strong{display:block;font-size:15px;letter-spacing:1px;color:#102b4e}.brand small{display:block;font-size:9px;color:#6e7c8c;letter-spacing:.7px}.logo{flex-shrink:0;background:#102b4e;color:#d9ae54;width:43px;height:43px;border-radius:12px;display:grid;place-items:center;font-size:30px}.install{background:#d9ae54;color:#102b4e;border:0;border-radius:8px;padding:9px;font-weight:700}main{padding:16px;min-width:0}#content,#content>*{min-width:0;max-width:100%}.hero{border-radius:19px;padding:26px 23px;background:linear-gradient(135deg,#102b4e,#1c5274);color:white;min-height:200px}.hero span{font-size:10px;color:#f3cc79;font-weight:800;letter-spacing:1.4px}.hero h1{font-size:clamp(23px,6vw,29px);line-height:1.15;margin:15px 0}.hero p{font-size:13px;color:#d8e5f1;line-height:1.5}.quick{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin:16px 0 24px}.quick button,.tile,.item,.panel{background:white;border:1px solid #e5eaf0;border-radius:14px;box-shadow:0 3px 14px #19344d09;min-width:0}.quick button{text-align:left;padding:18px 12px;cursor:pointer}.quick b{display:block;font-size:25px;color:#bd8a28;margin-bottom:10px}.quick strong{display:block;font-size:14px}.quick small{display:block;color:#7d8a97;font-size:11px;margin-top:5px}h2{font-size:19px;color:#102b4e;margin:21px 0 13px}.item{padding:15px;margin:10px 0;overflow:hidden;overflow-wrap:anywhere}.item small{font-size:11px;color:#9a712d;font-weight:700}.item h3{font-size:15px;margin:7px 0}.item p{font-size:13px;color:#657488;line-height:1.5;margin:5px 0}.item img,.cover,#content img{display:block;width:100%;max-width:100%;height:auto;max-height:235px;object-fit:cover;border-radius:10px;margin:0 0 12px}.panel{padding:18px;margin:12px 0;overflow-wrap:anywhere}.panel p{color:#637386;font-size:13px;line-height:1.5}label{font-size:13px;font-weight:650;display:block;margin:16px 0 7px}input,select,textarea{width:100%;padding:12px;border:1px solid #d7dfe7;border-radius:9px;font-size:14px;background:white}textarea{min-height:125px;resize:vertical}.primary{width:100%;border:0;border-radius:10px;padding:14px;background:#102b4e;color:white;font-weight:750;font-size:14px;margin-top:14px;cursor:pointer}.hint{padding:12px;background:#fff7e6;border-radius:9px;font-size:12px;color:#785919;line-height:1.5}.tiles{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.tile{padding:18px;text-align:left;font-weight:700;color:#102b4e;cursor:pointer;min-height:105px}.tile span{display:block;font-size:24px;color:#b48c41;margin-bottom:10px}nav{position:fixed;z-index:10;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:560px;display:flex;background:#fff;border-top:1px solid #e1e7ee;padding:9px 5px max(10px,env(safe-area-inset-bottom));justify-content:space-around}nav button{border:0;background:transparent;color:#8290a0;font-size:10px;min-width:0;flex:1;cursor:pointer}nav button span{display:block;font-size:23px;margin-bottom:4px}nav button.active{color:#102b4e;font-weight:800}a{color:#184d7a}.hidden{display:none}.action{display:block;background:#102b4e;color:white;text-align:center;text-decoration:none;padding:14px;border-radius:10px;margin:14px 0;font-weight:700}.item a{display:inline-block;margin-top:8px}[hidden]{display:none!important}@media(max-width:350px){main{padding:12px}.quick{gap:8px}.quick button{padding:14px 9px}.brand strong{font-size:13px}.brand small{font-size:8px}}
/* Formularz zgłoszeń */
#reportForm label,#statusForm label{display:block;font-weight:650;margin:14px 0 6px}
#reportForm input:not([type=hidden]),#reportForm select,#reportForm textarea,#statusForm input{display:block;width:100%;max-width:100%;box-sizing:border-box;padding:12px;border:1px solid #cbd5e1;border-radius:9px;font:inherit;background:white;color:#102a4d}
#reportForm textarea{min-height:130px;resize:vertical}
#reportForm button,#statusForm button{margin-top:14px}
#reportResult,#statusResult{margin-top:14px;overflow-wrap:anywhere}
.trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}

/* Wersja 6: zdjęcia bez przycinania na różnych ekranach */
.item img,.cover,#content img{display:block;width:100%;max-width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;background:#f1f4f7;border-radius:10px;margin:0 0 12px;}
.board-member .board-photo{display:flex;align-items:center;justify-content:center;width:100%;min-height:120px;max-height:360px;overflow:hidden;background:#f1f4f7;border-radius:10px;margin-bottom:12px;}
.board-member .board-photo img,#content .board-member .board-photo img{width:auto;max-width:100%;height:auto;max-height:360px;object-fit:contain;object-position:center;margin:0;border-radius:0;}
@media(max-width:400px){.board-member .board-photo{max-height:300px}.board-member .board-photo img,#content .board-member .board-photo img{max-height:300px}}

/* Wersja 7: responsywny wygląd i centrum powiadomień */
:root{--sm-navy:#102b4e;--sm-gold:#d9ae54}
.app{box-shadow:0 8px 45px #122d4820}
header{position:sticky;top:0;z-index:9;box-shadow:0 3px 15px #102b4e0c}
.header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.notice-bell{position:relative;display:grid;place-items:center;width:42px;height:42px;border:1px solid #e2e8f0;border-radius:12px;background:#f6f8fb;color:var(--sm-navy);font-size:26px;cursor:pointer}
.notice-bell::first-letter{color:var(--sm-gold)}
.notice-badge{position:absolute;right:-5px;top:-5px;background:#b93e38;color:white;font-size:10px;font-weight:800;min-width:19px;height:19px;padding:3px;border-radius:12px;line-height:13px}
.hero{background:linear-gradient(130deg,#102b4e,#24617a);box-shadow:0 12px 26px #102b4e24;position:relative;overflow:hidden}
.hero::after{content:'✦';position:absolute;right:-15px;top:0;font-size:130px;opacity:.07;pointer-events:none}
.quick button,.tile,.item,.panel{box-shadow:0 5px 22px #102b4e0b;border-color:#e7edf3}
.quick button:active,.tile:active{transform:scale(.99)}
.item h3{line-height:1.4}.item p{line-height:1.6}
nav{box-shadow:0 -5px 24px #102b4e12}
nav button{min-height:48px}
.notice-lead{font-size:13px;color:#64748b;line-height:1.6}
.notice-read{display:block;margin:0 0 12px auto;border:0;background:transparent;color:#174d79;font-weight:700;padding:8px;cursor:pointer}
.notice-item{display:flex;align-items:flex-start;gap:10px;text-align:left;width:100%;background:#fff;border:1px solid #e6edf4;border-radius:14px;padding:16px 13px;margin:10px 0;cursor:pointer;color:#122d48}
.notice-item.unread{border-left:4px solid #d9ae54;background:#fffdf8}
.notice-item>span:nth-child(2){flex:1;min-width:0}
.notice-item small,.notice-item strong,.notice-item em{display:block}
.notice-item small{font-size:10px;color:#9a712d;font-weight:800;margin-bottom:5px}
.notice-item strong{font-size:14px;line-height:1.45}
.notice-item em{font-style:normal;font-size:12px;color:#637386;line-height:1.5;margin-top:6px}
.notice-dot{flex:0 0 8px;width:8px;height:8px;border-radius:50%;margin-top:6px;background:transparent}
.notice-item.unread .notice-dot{background:#d9ae54}
button:focus-visible,a:focus-visible{outline:3px solid #d9ae54;outline-offset:3px}
@media(max-width:400px){header{padding:12px}.brand strong{font-size:13px}.brand small{font-size:8px}.notice-bell{width:38px;height:38px}.install{font-size:11px;padding:8px}.hero{padding:23px 18px}}
@media(min-width:561px){body{padding:0 14px}}
