#mad-platform,.mad-login{--mad-ink:#242328;--mad-green:#dc1b2f;--mad-mint:#e7f7f9;--mad-coral:#ed0b74;--mad-bg:#ffffff;--mad-line:#ece7eb;--mad-muted:#68616a;font-family:Inter,'Segoe UI',Arial,sans-serif;color:var(--mad-ink);font-size:15px;line-height:1.6;text-align:left;max-width:1600px;margin:20px auto}#mad-platform *,.mad-login *{box-sizing:border-box}#mad-platform button,#mad-platform input,#mad-platform textarea,#mad-platform select,.mad-login input{font:inherit}#mad-platform button,#mad-platform a,.mad-login a{touch-action:manipulation}#mad-platform button{cursor:pointer}#mad-platform button:disabled{opacity:.5;cursor:wait}#mad-platform a{color:inherit}#mad-platform :focus-visible,.mad-login :focus-visible{outline:3px solid #c1085d;outline-offset:3px}#mad-platform h1,#mad-platform h2,#mad-platform h3,.mad-login h2{color:var(--mad-ink);font-family:inherit;font-weight:650;letter-spacing:-.045em;line-height:1.16;margin:0 0 14px}#mad-platform h1{font-size:clamp(27px,2.5vw,40px);max-width:650px}#mad-platform h2{font-size:25px}#mad-platform h3{font-size:17px;letter-spacing:-.02em;margin-top:22px}#mad-platform p{margin:0 0 16px}#mad-platform small{font-size:12px;display:block;line-height:1.8}#mad-platform .mad-muted,.mad-muted{color:#68616a;font-size:13px}.mad-shell{display:grid;grid-template-columns:245px 1fr;background:var(--mad-bg);border:1px solid var(--mad-line);border-radius:20px;overflow:hidden;min-height:900px}.mad-sidebar{background:#fff;border-right:1px solid var(--mad-line);padding:36px 20px;display:flex;flex-direction:column}.mad-brand{text-decoration:none;display:flex;flex-direction:column;gap:10px;margin:0 12px 44px;font-size:10px;letter-spacing:.06em;line-height:1.6}.mad-mark{font-size:49px;letter-spacing:-.12em;font-weight:850;line-height:1}.mad-mark>span:first-child{color:#dc1b2f}.mad-mark .mad-dot{font-size:15px;letter-spacing:0;color:#dc1b2f;margin-left:6px}.mad-side-label{font-size:9px;letter-spacing:.14em;color:var(--mad-muted);margin:0 14px 14px}.mad-nav{display:flex;align-items:center;gap:12px;width:100%;background:none;border:0!important;color:#68616a;border-radius:10px;padding:12px 14px;text-align:left;margin-bottom:5px;font-size:13px!important;font-weight:550}.mad-nav span{font-size:20px;width:24px;text-align:center;line-height:1}.mad-nav.active{color:#dc1b2f;background:#fff0f2}.mad-nav:hover{background:#fff6f7}.mad-side-bottom{margin-top:auto;padding:36px 12px 0;display:grid;grid-template-columns:36px 1fr;gap:0 10px;align-items:center}.mad-avatar{height:42px;width:42px;border-radius:50%;background:#e7f7f9;display:grid;place-items:center;font-weight:650;font-size:18px;color:#275c65}.mad-side-bottom .mad-avatar{grid-row:span 2;width:34px;height:34px;font-size:15px}.mad-side-bottom strong{font-size:12px}.mad-side-bottom small{font-size:10px!important;color:var(--mad-muted)}.mad-side-bottom a{grid-column:2;font-size:11px;text-decoration:none;margin-top:12px}.mad-main{padding:0 42px 26px;min-width:0}.mad-top{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:78px;border-bottom:1px solid var(--mad-line);font-size:12px;color:var(--mad-muted);margin-bottom:32px}.mad-private{font-size:10px;padding:5px 10px;background:#e7f7f9;border-radius:30px;color:#275c65;white-space:nowrap}.mad-kicker{font-size:10px;font-weight:700;letter-spacing:.12em;color:#68616a;display:block;margin-bottom:12px}.mad-heading{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:28px}.mad-heading>div:first-child{flex:1;min-width:240px}.mad-heading p{color:var(--mad-muted);font-size:13px;max-width:650px;margin-bottom:0!important}.mad-btn{border:1px solid #dc1b2f;border-radius:9px;background:#dc1b2f;color:#fff;padding:11px 16px;line-height:1.3;font-weight:600!important;font-size:12px!important;display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;min-height:42px;letter-spacing:0}.mad-btn.dark{background:#242328;border-color:#242328}.mad-btn.coral{background:#c1085d;border-color:#c1085d;color:#ffffff}.mad-btn.subtle{background:transparent;border-color:#e6dce1;color:#b31325}.mad-btn.small{font-size:11px!important;padding:8px 10px;min-height:34px}.mad-btn:hover{filter:brightness(.96)}.mad-hero{background:#fff1f3;border-radius:16px;padding:34px 38px;display:grid;grid-template-columns:1.3fr 1fr;overflow:hidden;gap:24px;margin-bottom:24px;min-height:290px;position:relative}.mad-hero h2{font-size:clamp(30px,3vw,46px)!important;line-height:1.04!important;max-width:490px}.mad-hero p{font-size:13px;max-width:425px;color:#68616a}.mad-hero-art{position:relative;display:flex;align-items:center;justify-content:center;min-width:200px}.mad-art-circle{background:#6cced6;border-radius:50%;width:185px;height:185px;position:absolute;left:0;bottom:6px}.mad-art-square{background:#8dd024;width:160px;height:175px;transform:rotate(12deg);position:absolute;right:-25px;top:4px;border-radius:50% 50% 12px 12px}.mad-hero-art>span{z-index:1;position:relative;font-size:39px;font-weight:750;letter-spacing:-.06em;line-height:.98;transform:rotate(-8deg);margin:20px 0 0 32px}.mad-hero-art i{font-family:Georgia,serif;font-weight:400;font-size:36px}.mad-hero-art b{position:absolute;font-size:72px;top:-5px;left:14px;color:#ed0b74;line-height:1}.mad-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:26px}.mad-stat{padding:23px 25px;background:#fff;border:1px solid var(--mad-line);border-radius:13px;display:flex;flex-direction:column}.mad-stat.mint{background:#e7f7f9;border-color:#d3edf0}.mad-stat.peach{background:#fff0f7;border-color:#f6dce8}.mad-stat>span{font-size:12px;font-weight:600}.mad-stat strong{font-size:39px;line-height:1.5;letter-spacing:-.05em;font-weight:650}.mad-stat small{color:var(--mad-muted)}.mad-stats.compact .mad-stat{padding:16px 22px}.mad-stats.compact .mad-stat strong{font-size:30px}.mad-grid-two,.mad-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:24px}.mad-card{background:white;border:1px solid var(--mad-line);padding:26px;border-radius:13px;min-width:0;margin-bottom:20px}.mad-grid-two>.mad-card,.mad-cards>.mad-card{margin-bottom:0}.mad-card p{font-size:13px}.mad-card .mad-kicker{font-size:9px}.mad-card h2{font-size:24px!important}.mad-card-top,.mad-post-meta{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.mad-tag{display:inline-flex;padding:4px 9px;background:#fff0f2;border-radius:5px;color:#b31325;font-size:9px;font-weight:650;letter-spacing:.07em}.mad-group-meta{padding:12px 0;border-top:1px solid var(--mad-line);font-size:12px}.mad-group-meta strong{font-size:25px}.mad-toolbar{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:16px;margin-bottom:24px}.mad-field{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#4c444d;min-width:0}.mad-field>span{font-weight:600}#mad-platform input:not([type=checkbox]),#mad-platform select,#mad-platform textarea{background:#fff;border:1px solid #ded5dc;color:#242328;border-radius:8px;min-height:44px;padding:10px 12px;width:100%;font-size:13px;line-height:1.4;box-shadow:none}#mad-platform textarea{resize:vertical}.mad-table-wrap{overflow:auto}.mad-card.mad-table-wrap{padding:6px 20px}.mad-table{width:100%;border-collapse:collapse;font-size:13px;border:0!important;margin:0!important;line-height:1.5;min-width:640px}.mad-table th{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#746c76;font-weight:600;white-space:nowrap}.mad-table th,.mad-table td{padding:17px 10px!important;border:0!important;border-bottom:1px solid #eee8ed!important;background:transparent!important;vertical-align:middle}.mad-table tr:last-child td{border-bottom:0!important}.mad-table td small{color:#746c76}.mad-row-actions{display:flex;gap:6px;flex-wrap:wrap}.mad-badge{display:inline-flex;padding:5px 9px;border-radius:20px;font-size:10px;font-weight:600;background:#f3f1f4;color:#68616a;white-space:nowrap}.state-present{background:#edf8dd;color:#385807}.state-collected{background:#e7f7f9;color:#275c65}.state-absent{background:#fff0f2;color:#b31325}.state-excused{background:#fff0f7;color:#9a1755}.mad-note{font-size:12px;color:#68616a;border-left:3px solid #6cced6;background:#effafb;padding:14px 18px;margin:16px 0;border-radius:0 8px 8px 0}.mad-footer{border-top:1px solid var(--mad-line);margin-top:38px;padding-top:20px;font-size:9px;letter-spacing:.08em;display:flex;justify-content:space-between;gap:20px;color:#746c76}.mad-footer span{letter-spacing:0;font-size:10px;max-width:350px}.mad-empty{text-align:center;padding:28px 15px;color:var(--mad-muted)}.mad-empty>span{font-size:36px;color:#6cced6}.mad-empty h3{font-size:19px!important}.mad-empty p{font-size:13px!important}.mad-pickup{display:flex;align-items:center;gap:8px;padding:14px 0;border-bottom:1px solid var(--mad-line);font-size:12px}.mad-pickup>div:first-child{flex:1}.mad-pickup small{color:var(--mad-muted);font-size:11px!important}.mad-pickup:last-child{margin-bottom:16px}.mad-prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.mad-post-meta time{font-size:11px;color:var(--mad-muted)}.mad-posts{max-width:900px}.mad-idea-intro{background:#fff0f7}.mad-quick-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}.mad-count{background:#e7f7f9;padding:4px 10px;border-radius:20px;font-size:14px}.mad-dialog{background:#fff;color:#242328;border:1px solid #e6dce1;border-radius:17px;padding:0;width:min(650px,calc(100% - 28px));max-height:92vh;box-shadow:0 20px 90px #24232833}.mad-dialog::backdrop{background:#24232880;backdrop-filter:blur(3px)}.mad-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 28px;border-bottom:1px solid #ece7eb;position:sticky;top:0;background:#fff;z-index:2}.mad-dialog-head h2{font-size:23px!important;margin:0!important}.mad-dialog-head>button{border:0;background:#f5f2f5;color:#242328;font-size:25px!important;border-radius:50%;width:34px;height:34px;line-height:1}.mad-form{padding:24px 28px;display:grid;gap:16px}.mad-dialog-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #ece7eb;padding-top:20px;margin-top:8px}.mad-form-error{color:#b31325;font-size:13px}.mad-form-error:empty{display:none}.mad-checkbox{display:flex;align-items:flex-start;gap:9px;font-size:12px}.mad-checkbox input{margin-top:5px;flex-shrink:0;accent-color:#dc1b2f}.mad-signature{width:100%;height:auto;aspect-ratio:900/260;touch-action:none;border:1px dashed #6cced6;border-radius:10px;background:linear-gradient(transparent 78%,#d3edf0 78%,#d3edf0 78.5%,transparent 78.5%);display:block}.mad-link{border:0;background:none;color:#b31325;text-decoration:underline;font-size:12px!important;justify-self:start}.mad-handover-person{background:#fff1f3;padding:18px;border-radius:10px}.mad-handover-person h3{margin-top:0!important;font-size:24px!important}.mad-sign-preview{width:100%;max-width:450px;border:1px solid #ece7eb;border-radius:9px;margin-top:10px}.mad-timeline article{border-left:2px solid #6cced6;padding:0 0 24px 20px}.mad-timeline article h3{margin:6px 0!important}.mad-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:1000000;max-width:90vw;background:#275c65;color:white;padding:15px 25px;border-radius:12px;box-shadow:0 5px 30px #24232830;font-size:13px}.mad-toast.is-error{background:#b31325}.mad-login{max-width:460px;padding:40px;background:#ffffff;border:1px solid #ece7eb;border-radius:20px;margin:60px auto}.mad-login h2{font-size:34px}.mad-login p{font-size:14px}.mad-login label{display:block;font-size:13px;margin-bottom:5px}.mad-login input[type=text],.mad-login input[type=password]{width:100%;padding:12px;border:1px solid #ded5dc;border-radius:8px;background:white}.mad-login input[type=submit]{border:0;border-radius:9px;background:#dc1b2f;color:white;width:100%;padding:13px;cursor:pointer}.mad-login a{color:#dc1b2f;font-size:13px}.mad-login .mad-muted{margin-top:25px}.mad-print{display:none}
.mad-compass-hero{background:#fff1f3;display:grid;grid-template-columns:1fr 190px;padding:30px;border-radius:15px;margin-bottom:24px;gap:20px}.mad-compass-rose{width:155px;height:155px;border:1px solid #6cced6;border-radius:50%;position:relative;display:grid;place-items:center;align-self:center;justify-self:center;font-size:70px;color:#dc1b2f}.mad-compass-rose:after{content:'';position:absolute;inset:14px;border:1px dashed #ed0b74;border-radius:50%}.mad-observation{border-top:1px solid #ece7eb;padding-top:20px;margin-top:20px}.mad-observation h3{font-size:20px!important}.mad-chip-row{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.mad-chip{padding:5px 10px;border-radius:20px;background:#e7f7f9;font-size:11px}.mad-observation dl{display:grid;grid-template-columns:110px 1fr;gap:9px;font-size:13px}.mad-observation dt{font-weight:600}.mad-observation dd{margin:0;white-space:pre-wrap}.mad-compass-filter{max-width:400px;margin:20px 0}
@media(min-width:1450px){.mad-main{padding-left:52px;padding-right:52px}.mad-hero{padding:42px}.mad-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1050px){.mad-shell{grid-template-columns:200px 1fr}.mad-sidebar{padding:26px 12px}.mad-main{padding:0 24px 24px}.mad-nav{font-size:12px!important;padding:11px 9px}.mad-brand{margin-left:9px}.mad-hero{padding:28px;grid-template-columns:1.5fr 1fr}.mad-hero-art>span{font-size:29px}.mad-hero-art i{font-size:28px}.mad-art-circle{width:140px;height:140px}.mad-art-square{width:110px;height:140px}.mad-hero-art{min-width:130px}.mad-stat{padding:18px}.mad-toolbar{grid-template-columns:1fr 1fr}.mad-toolbar .mad-field:last-child{grid-column:span 2}.mad-cards,.mad-grid-two{grid-template-columns:1fr}.mad-footer{flex-direction:column;gap:6px}}
@media(max-width:700px){#mad-platform{margin:0;font-size:14px}.mad-shell{display:block;border-radius:0;border:0}.mad-sidebar{border:0;border-bottom:1px solid #ece7eb;padding:18px 16px}.mad-brand{margin:0 0 15px;flex-direction:row;align-items:center;gap:18px}.mad-mark{font-size:36px}.mad-brand>span:last-child{font-size:8px}.mad-side-label,.mad-side-bottom{display:none}.mad-sidebar nav{display:flex;overflow-x:auto;gap:4px;padding-bottom:4px}.mad-nav{white-space:nowrap;width:auto;min-width:max-content;padding:9px 10px;margin:0}.mad-nav span{font-size:15px;width:16px}.mad-main{padding:0 18px 22px}.mad-top{min-height:57px;margin-bottom:25px;font-size:10px}.mad-private{font-size:9px}.mad-heading{gap:10px}.mad-heading h1{font-size:29px!important}.mad-heading>div:first-child{flex-basis:100%}.mad-hero{padding:26px;display:block;min-height:0}.mad-hero h2{font-size:35px!important}.mad-hero p{max-width:90%;font-size:12px}.mad-hero-art{display:none}.mad-stats{gap:8px}.mad-stat,.mad-stats.compact .mad-stat{padding:13px 10px;border-radius:9px}.mad-stat strong{font-size:29px}.mad-stat>span{font-size:10px}.mad-stat small{font-size:9px!important}.mad-toolbar{gap:10px}.mad-toolbar .mad-field{font-size:10px}.mad-toolbar select{font-size:12px!important}.mad-card{padding:20px}.mad-card.mad-table-wrap{padding:0 10px}.mad-dialog-head{padding:18px}.mad-dialog-head h2{font-size:21px!important}.mad-form{padding:18px}.mad-compass-hero{grid-template-columns:1fr;padding:24px}.mad-compass-rose{display:none}.mad-observation dl{grid-template-columns:1fr;gap:4px}.mad-observation dd{margin-bottom:12px}.mad-login{margin:20px auto;padding:26px}.mad-top:after{content:''}.mad-main .mad-top{flex-wrap:wrap}.mad-footer{font-size:8px}.mad-pickup{flex-wrap:wrap}}
@media print{body>*:not(.mad-print){display:none!important}.mad-print{display:block!important;font:11px Arial,sans-serif;color:#000}.mad-print h1{font-size:19px}.mad-print table{width:100%;border-collapse:collapse}.mad-print th,.mad-print td{border:1px solid #bbb;padding:8px;text-align:left;vertical-align:top}.mad-print img{width:150px;height:auto;display:block}.mad-print tr{break-inside:avoid}.mad-print thead{display:table-header-group}@page{size:A4 landscape;margin:14mm}}

.mad-mobile-account{display:none;font-size:10px;text-decoration:none}@media(max-width:700px){.mad-mobile-account{display:inline-flex}.mad-top{gap:10px}}

/* MAD: kolory z przesłanego logo, ekranowa konwersja CMYK do sRGB. */
.mad-brand .mad-logo{display:block;width:178px;max-width:100%;height:auto;object-fit:contain}.mad-brand>span.mad-brand-caption{font-size:10px;letter-spacing:.14em;font-weight:700;color:#dc1b2f}.mad-login-logo{display:block;width:190px;max-width:75%;height:auto;margin:0 auto 28px}.mad-nav.active{color:#b31325}.mad-hero-art>span{color:#242328}.mad-compass-hero{background:#effafb}.mad-compass-rose{background:#fff}.mad-stat.mint strong{color:#275c65}.mad-stat.peach strong{color:#9a1755}.mad-tag{background:#fff0f2;color:#b31325}.mad-hero-art b{color:#ed0b74}.mad-login .mad-kicker{text-align:center}.mad-btn.dark{background:#dc1b2f;border-color:#dc1b2f}.mad-btn.subtle{background:#fff}.mad-hero .mad-kicker{color:#b31325}@media(max-width:700px){.mad-brand{gap:20px;align-items:center;margin-bottom:16px}.mad-brand .mad-logo{width:90px;max-width:90px}.mad-brand>span.mad-brand-caption{font-size:10px;max-width:120px}.mad-login-logo{width:160px}}

/* Program MAD + instytucja prowadząca — dwa odrębne znaki. */
.mad-agency-logo{display:block;width:240px;max-width:100%;height:auto;object-fit:contain}.mad-sidebar-organizer{margin-top:auto;padding-top:34px}.mad-sidebar-organizer .mad-kicker{font-size:8px;letter-spacing:.12em;margin-bottom:13px}.mad-sidebar-organizer .mad-agency-logo{width:190px;max-width:100%}.mad-sidebar .mad-side-bottom{margin-top:28px;padding-top:0}.mad-footer{align-items:center;padding-top:24px;padding-bottom:8px}.mad-footer-organizer{padding:8px 0 12px;flex-shrink:0}.mad-footer-organizer .mad-kicker{font-size:8px;margin-bottom:14px}.mad-footer-organizer .mad-agency-logo{width:260px}.mad-login-organizer{border-top:1px solid #ece7eb;padding-top:24px;margin-top:30px}.mad-login-organizer .mad-agency-logo{width:280px;margin:auto}.mad-login-organizer .mad-kicker{font-size:9px;margin-bottom:16px}@media(max-width:1050px) and (min-width:701px){.mad-sidebar-organizer{display:none}.mad-sidebar .mad-side-bottom{margin-top:auto}}@media(max-width:700px){.mad-sidebar-organizer{display:none}.mad-footer{align-items:flex-start;gap:16px}.mad-footer-organizer .mad-agency-logo{width:260px;max-width:100%}.mad-footer-organizer{width:100%}.mad-login-organizer .mad-agency-logo{min-width:180px}}@media print{.mad-print-brands{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.mad-print-brands .mad-print-program{width:90px}.mad-print-brands .mad-print-organizer{width:270px}.mad-print-brands>div{font-size:9px;line-height:2.5}}
.mad-dialog-wide{width:min(820px,calc(100% - 28px))}.mad-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.mad-form fieldset{border:0;padding:0;margin:0;min-width:0}.mad-profile-details{margin:16px 0;padding:14px;background:#f7f5f7;border-radius:10px;font-size:12px}.mad-profile-details summary{font-weight:600;cursor:pointer}.mad-profile-details dl{margin-top:16px}.mad-profile-details dt{font-weight:650}.mad-profile-details dd{margin:0 0 12px;overflow-wrap:anywhere}.mad-access-dialog{width:min(780px,calc(100% - 20px));max-height:96vh}.mad-access-dialog>.mad-dialog-actions{padding:20px 30px}.mad-access-sheet{padding:30px 40px;text-align:center}.mad-access-brands{display:flex;align-items:center;justify-content:space-between;gap:36px;margin-bottom:30px}.mad-access-brands>img{width:110px;height:auto}.mad-access-brands>div{max-width:260px;text-align:left}.mad-access-brands>div img{width:260px;max-width:100%;height:auto;margin-top:10px}.mad-access-brands small{font-size:8px;color:#68616a;letter-spacing:.1em}.mad-access-qr{width:300px;max-width:100%;margin:20px auto;background:#fff;padding:8px;border:1px solid #ece7eb;border-radius:12px}.mad-access-qr svg{display:block;width:100%;height:auto}.mad-access-expiry{padding:12px;border-radius:10px;background:#effafb;font-size:13px}.mad-credentials{background:#fff1f3;border:1px solid #f6dce8;border-radius:14px;padding:24px;margin:24px 0;display:grid;gap:8px}.mad-credentials>span{font-size:10px;letter-spacing:.12em;color:#68616a}.mad-credentials>strong{font:650 25px/1.6 ui-monospace,monospace;overflow-wrap:anywhere;margin-bottom:10px}.mad-access-link{text-align:left;overflow-wrap:anywhere}.mad-access-link input{font-size:11px!important}#mad-smtp-form{padding:0}.mad-print.mad-access-print{color:#242328;font-size:13px}.mad-access-print .mad-access-sheet{width:170mm;max-width:100%;margin:auto}.mad-access-print .mad-access-brands>img{width:100px}.mad-access-print .mad-access-brands>div img{width:260px}.mad-access-print .mad-access-qr{width:75mm}.mad-access-print h2{font-size:28px}.mad-access-print .mad-muted{font-size:11px}.mad-access-print input{border:0;background:transparent;width:100%;font-size:9px}.mad-access-print .mad-access-link{font-size:11px}.mad-access-print .mad-access-sheet{break-inside:avoid}@media(max-width:700px){.mad-form-grid{grid-template-columns:1fr}.mad-access-sheet{padding:20px}.mad-access-brands{gap:16px;flex-wrap:wrap}.mad-access-brands>img{width:90px}.mad-access-brands>div{max-width:210px}.mad-access-brands>div img{width:210px}.mad-credentials>strong{font-size:20px}}@media print{body>.mad-access-print{display:block!important}.mad-access-print .mad-access-link input{width:100%;word-break:break-all}}
/* Czytelna typografia i motywy z języka wizualnego MAD. */
#mad-platform,.mad-login{font-family:'Trebuchet MS',Arial,sans-serif;letter-spacing:0}#mad-platform h1,#mad-platform h2,#mad-platform h3,.mad-login h2{font-family:'Trebuchet MS',Arial,sans-serif;letter-spacing:-.015em;font-weight:700}.mad-platform-page:has(.mad-login),.mad-platform-page:has(.mad-public-wrap){background:#fff9fb url('login-pattern.svg') repeat;background-size:1000px 760px}.mad-login{box-shadow:0 8px 35px #713d4c0a;background:#fff}.mad-public-wrap{width:min(820px,calc(100% - 28px));margin:35px auto;padding:35px;background:#fff;border:1px solid #ece7eb;border-radius:18px}.mad-public-wrap .mad-form{padding:15px 0}.mad-public-wrap h1{font-size:32px!important}.mad-public-wrap h3{margin-top:25px}.mad-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.mad-document-row{padding:16px 0;border-top:1px solid #ece7eb;font-size:12px}.mad-document-row small{color:#68616a}.mad-membership-tag{color:#275c65!important;font-size:10px!important}.mad-unread{margin-left:auto;min-width:21px;height:21px;border-radius:50%;display:inline-grid;place-items:center;background:#dc1b2f;color:#fff;font-size:11px}.mad-message-urgent{border-left:4px solid #dc1b2f}.mad-nav-more{margin-top:14px;border-top:1px solid #ece7eb;padding-top:12px}.mad-nav-more summary{cursor:pointer;font-size:11px;color:#68616a;padding:10px}.mad-gmail-steps{font-size:13px;line-height:1.8}.mad-gmail-steps li{margin:8px 0}.mad-dialog h3{font-size:18px!important}.mad-profile-details dl{font-size:12px}@media(max-width:700px){.mad-public-wrap{padding:22px;margin:18px auto}.mad-public-wrap h1{font-size:27px!important}.mad-nav-more{border:0;padding:0;margin:0}.mad-nav-more summary{padding:9px;white-space:nowrap}.mad-nav-more[open]{min-width:190px}.mad-platform-page:has(.mad-login){background-size:700px 532px}}
.mad-top-refresh{border:0;background:none;color:#68616a;font-size:10px!important;padding:5px;white-space:nowrap}.mad-access-link-text{display:none}@media print{@page mad-access{size:A4 portrait;margin:16mm}.mad-access-print{page:mad-access}.mad-access-print .mad-access-link input{display:none}.mad-access-print .mad-access-link-text{display:block;overflow-wrap:anywhere;font:9px/1.5 Arial,sans-serif}}
.mad-document-box{padding:18px;margin:14px 0;border:1px solid #e8e2e7;border-radius:12px;background:#fffdfd}.mad-document-box details{margin:12px 0}.mad-document-box summary{cursor:pointer;color:#a31326}.mad-document-box .mad-prewrap{max-height:350px;overflow:auto;line-height:1.7}.mad-platform-page [hidden],#mad-platform [hidden]{display:none!important}.mad-quick-actions{flex-wrap:wrap}
.mad-sign-dialog-full{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important}.mad-sign-full{position:fixed;inset:0;z-index:999999;background:#fff;display:flex;flex-direction:column;padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));gap:14px;box-sizing:border-box;font:15px/1.5 'Trebuchet MS',Arial,sans-serif;color:#242328}.mad-sign-full header{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;flex-shrink:0}.mad-sign-full header small,.mad-sign-full header strong{display:block}.mad-sign-full header strong{font-size:clamp(20px,4vw,32px)}.mad-sign-full header small{font-size:11px;letter-spacing:.08em;color:#68616a}.mad-sign-full p{margin:0;flex-shrink:0}.mad-sign-full canvas.mad-signature{width:100%!important;height:100%!important;min-height:80px!important;max-height:none!important;flex:1;touch-action:none;box-sizing:border-box}.mad-sign-full>button{align-self:flex-start;flex-shrink:0}.mad-expand-sign{margin:8px 0}.mad-pickup-inputs{padding:16px;border:1px solid #ece7eb;border-radius:10px;margin:12px 0}.mad-mail-recipients{max-height:380px;overflow:auto;border:1px solid #ece7eb;padding:12px}.mad-report table{border-collapse:collapse;width:100%}.mad-report td,.mad-report th{border:1px solid #ddd;padding:8px;text-align:left;vertical-align:top}.mad-report img.signature{max-width:220px;max-height:90px}.mad-report h2{margin-top:25px}.mad-stat-table{overflow-x:auto}@media print{.mad-report article,.mad-report tr{break-inside:avoid}.mad-report img{max-width:100%}.mad-report h1,.mad-report h2{break-after:avoid}.mad-report .report-brands{display:flex;justify-content:space-between;align-items:center}.mad-report .report-brands img{max-width:240px;max-height:100px}}
.mad-report-preview{padding:20px;background:#fff;border:1px solid #e6e1e5;overflow-x:auto}.mad-report-preview .report-brands{display:flex;justify-content:space-between;gap:20px;align-items:center}.mad-report-preview .report-brands img{max-width:42%;max-height:100px}.mad-report-preview{font-size:12px}.mad-report-preview h1{font-size:25px!important}.mad-report-preview h2{font-size:20px!important}.mad-report-preview h3{font-size:16px!important}.mad-report table{font-size:11px}.mad-report article{border-top:1px solid #ddd;padding:12px 0}.mad-stat-table progress{accent-color:#dc1b2f;max-width:160px}.mad-mail-recipients .mad-checkbox{padding:12px 0;border-bottom:1px solid #ece7eb}
.mad-archive-videos{display:grid;gap:18px;margin:18px 0}.mad-archive-video{border:1px solid #eee4ea;padding:18px;border-radius:12px;background:#fff9fb}.mad-archive-video iframe,.mad-archive-video video{width:100%;aspect-ratio:16/9;border:0;display:block;border-radius:8px}.mad-archive-video p{font-size:12px}
.mad-sign-full-frame{flex:1;min-height:80px;min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.mad-sign-full-frame canvas.mad-signature{min-height:0!important}
@media print{.mad-participant-print{page:auto!important}.mad-participant-print .report-brands{margin-bottom:20px}.mad-participant-print .report-brands img:first-child{width:105px}.mad-participant-print .report-brands img:last-child{width:240px}.mad-participant-print h2{font-size:16px}.mad-participant-print h3{font-size:13px}.mad-participant-print p{line-height:1.5}.mad-participant-print table{font-size:10px;overflow-wrap:anywhere}.mad-participant-print table .signature{width:130px}.mad-participant-print .mad-report>h2{break-after:avoid}.mad-participant-print td,.mad-participant-print th{padding:6px}}
.mad-sign-full header>div{min-width:0;flex:1}.mad-sign-full header strong{overflow-wrap:anywhere}
@media print{.mad-participant-print *{page:auto!important}}
/* Podpis na tablecie: otoczenie nie reaguje na dotyk ani przytrzymanie. */
.mad-sign-full,.mad-sign-full *{user-select:none!important;-webkit-user-select:none!important;-webkit-touch-callout:none!important}.mad-sign-full{touch-action:none;pointer-events:none}.mad-sign-full button,.mad-sign-full canvas{pointer-events:auto}.mad-sign-full button{touch-action:manipulation}.mad-sign-full header small{display:block;letter-spacing:.08em;color:#68616a}.mad-sign-full header strong{display:block}.mad-sign-full p{margin:0;color:#6c6570;font-size:14px}
.mad-logout,.mad-mobile-account{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 16px!important;border:1px solid #d5cbd0!important;border-radius:10px;background:#fff;color:#8f1727!important;font-weight:700;text-decoration:none!important;transition:background .15s,border-color .15s}.mad-logout:hover,.mad-mobile-account:hover{background:#fff0f1;border-color:#b31325!important}.mad-logout span{font-size:20px}.mad-side-bottom .mad-logout{margin-top:12px;grid-column:1/-1}.mad-btn{min-height:42px;border-radius:9px}.mad-card{box-shadow:0 2px 9px #29212a05}.mad-form-grid input:focus,.mad-form-grid select:focus,.mad-mail-compose:focus{outline:3px solid #41b8b433;outline-offset:2px}.mad-mail-editor-head h3{margin-bottom:4px}.mad-mail-editor-head p{margin-top:0;color:#706772}.mad-mail-tools{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.mad-mail-tools button,.mad-mail-tools select{border:1px solid #d9d0d6;background:#fff;border-radius:7px;padding:9px 12px;min-height:42px;font:inherit;color:#342b35;cursor:pointer}.mad-mail-tools button:hover{background:#f1f7f6;border-color:#238a88}.mad-mail-tools button:focus-visible{outline:3px solid #41b8b466}.mad-mail-compose{min-height:280px;max-height:65vh;overflow:auto;border:1px solid #cfc4cc;border-radius:9px;padding:22px;line-height:1.7;background:#fff}.mad-mail-compose img{max-width:100%;height:auto}.mad-mail-hint{font-size:13px;color:#716572;line-height:1.6}.mad-mail-preview{width:100%;height:380px;border:1px solid #ddd4d9;border-radius:9px;background:white}.mad-mail-editor-status{color:#17726f;font-size:14px}.mad-mobile-account{display:none!important}@media(max-width:900px){.mad-mobile-account{display:inline-flex!important;font-size:12px;padding:8px 10px!important}.mad-mail-compose{padding:14px}.mad-mail-tools button{flex-grow:1}.mad-sign-full{padding:14px;gap:9px}.mad-sign-full header{gap:10px}.mad-sign-full header strong{font-size:20px}}
.mad-mail-tools select{width:auto!important;max-width:100%;flex:0 1 auto}.mad-mail-tools .mad-mail-template{min-width:230px;flex:1}.mad-mail-tools .mad-mail-emoji{min-width:132px}.mad-logout svg,.mad-mobile-account svg{flex:none}.mad-mail-tools:first-of-type{padding-bottom:8px;border-bottom:1px solid #eee6eb}
.mad-import-intro{max-width:850px;line-height:1.7;margin-bottom:24px}.mad-import-mapping{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 22px;margin:22px 0}.mad-import-mapping select{min-width:0;text-overflow:ellipsis}.mad-import-binding{background:#f7f9f8;border-left:4px solid #278e8a;padding:18px;margin:18px 0;border-radius:0 9px 9px 0}.mad-import-binding h4{margin-top:0}.mad-import-table{min-width:920px}.mad-import-table td{vertical-align:top;min-width:150px;max-width:270px}.mad-import-table td p{font-size:13px;margin:0 0 7px}.mad-import-table select{font-size:13px;max-width:230px;margin-bottom:8px}.mad-import-table tr[hidden]{display:none!important}#mad-import-progress{font-weight:700;color:#17716e}#mad-import-preview .mad-card{overflow:hidden}#mad-import-preview .mad-table-wrap{max-height:680px;overflow:auto;margin:18px 0}#mad-import-preview th{position:sticky;top:0;background:#fff;z-index:1}@media(max-width:750px){.mad-import-mapping{grid-template-columns:1fr}.mad-import-binding{padding:12px}}
.mad-mailing-list{display:grid;gap:10px;margin-top:22px}.mad-mailing-campaign{border:1px solid #dfd7dd;border-radius:9px;background:#fff;overflow:hidden}.mad-mailing-campaign>summary{display:flex;align-items:center;gap:12px;padding:14px 18px;cursor:pointer;list-style:none;min-height:50px}.mad-mailing-campaign>summary::-webkit-details-marker{display:none}.mad-mailing-campaign>summary:focus-visible{outline:3px solid #3bb3af;outline-offset:-3px}.mad-mailing-campaign>summary>strong{flex:1;min-width:160px;font-size:15px}.mad-mailing-counts{font-size:12px;color:#6c616a}.mad-mailing-toggle{font-size:12px;color:#971c30;text-decoration:underline;white-space:nowrap}.mad-mailing-campaign .when-open,.mad-mailing-campaign[open] .when-closed{display:none}.mad-mailing-campaign[open] .when-open{display:inline}.mad-mailing-campaign.is-sent>summary{background:#f5faf8}.mad-mailing-campaign.is-sent>summary .mad-tag{background:#e0f1e9;color:#176546}.mad-mailing-details{padding:22px;border-top:1px solid #e8e0e5}.mad-mailing-recipient{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.mad-mailing-recipient small{display:block;overflow-wrap:anywhere}.mad-mailing-recipient-status{font-weight:700;font-size:13px;color:#8c4b14}.mad-mailing-recipient.is-sent .mad-mailing-recipient-status{color:#176546}.mad-mailing-recipient p{font-size:12px;color:#70646c}@media(max-width:750px){.mad-mailing-campaign>summary{flex-wrap:wrap;gap:8px;padding:12px}.mad-mailing-campaign>summary>strong{flex-basis:60%}.mad-mailing-toggle{margin-left:auto}.mad-mailing-details{padding:14px}.mad-mailing-recipient{grid-template-columns:1fr;gap:7px}}
.mad-card.mad-card-compact{padding:0;overflow:hidden}.mad-compact>summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:15px 18px;min-height:54px}.mad-compact>summary::-webkit-details-marker{display:none}.mad-compact>summary h2,.mad-compact>summary h3{font-size:16px;margin:0;flex:1;min-width:0;overflow-wrap:anywhere}.mad-compact>summary>.mad-tag{font-size:10px;margin:0}.mad-compact-toggle{color:#932035;font-size:12px;white-space:nowrap;text-decoration:underline}.mad-compact .when-open,.mad-compact[open]>summary .when-closed{display:none}.mad-compact[open]>summary .when-open{display:inline}.mad-compact[open]>summary{border-bottom:1px solid #ece5e9;background:#fcfafb}.mad-compact-body{padding:20px}.mad-compact>summary:focus-visible{outline:3px solid #37aba7;outline-offset:-3px}@media(max-width:750px){.mad-compact>summary{flex-wrap:wrap;padding:13px}.mad-compact>summary h2,.mad-compact>summary h3{flex-basis:65%}.mad-compact-toggle{margin-left:auto}.mad-compact-body{padding:14px}}

.state-attended{background:#edf8dd;color:#385807}

.mad-application-sections{margin-top:20px}.mad-application-sections .mad-btn{white-space:normal}

.mad-demo-banner{padding:18px 22px;background:#fff6e6;border:1px solid #ebd7b5;border-radius:10px;margin:10px 0 24px;font-size:13px}.mad-demo-banner p{margin:8px 0 12px}.mad-demo-entry{border-top:1px solid #ece7eb;padding-top:15px;margin:20px 0}.mad-demo-entry .mad-btn{margin-bottom:8px}.mad-demo-entry small{display:block;font-size:11px;color:#68616a}

.mad-price-explanation{padding:12px 0;margin:10px 0;border-top:1px solid #e7dde3}.mad-price-explanation summary{font-weight:650;cursor:pointer;color:#9a1755}.mad-price-explanation p{font-size:13px}

/* Family overview and actionable operational tasks — 1.7.0 */
.mad-family-welcome{background:#f0f8f5;border:1px solid #cbe4dc;border-radius:22px;padding:clamp(22px,4vw,40px);margin-bottom:20px;position:relative;overflow:hidden}
.mad-family-welcome:after{content:"";position:absolute;width:100px;height:100px;border:22px solid #dbe7a9;border-radius:50%;right:-42px;top:-32px;pointer-events:none}
.mad-family-welcome h2{font-size:clamp(24px,3vw,36px);line-height:1.2;margin:12px 0;color:#242328}
.mad-family-welcome .mad-meeting-date{font-size:20px;font-weight:700}
.mad-task-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #eceae6}
.mad-task-row:last-child{border-bottom:0}.mad-task-row p{margin:5px 0 0;color:#65616a;font-size:14px}.mad-task-row .mad-btn{flex-shrink:0}
.mad-steps{list-style:none;padding:0;margin:18px 0;counter-reset:mad-step}.mad-steps li{counter-increment:mad-step;position:relative;padding:0 0 18px 34px;color:#65616a;min-height:30px}
.mad-steps li:before{content:counter(mad-step);position:absolute;left:0;top:0;border:1px solid #ccc;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;font-size:12px;background:#fff;color:#65616a}
.mad-steps li.is-done:before{background:#d4ece4;border-color:#83b5a6;color:#234c40}.mad-steps li.is-current:before{background:#e8efc6;border-color:#a6b852;color:#3e471c}.mad-steps small{display:block;margin-top:4px}
.mad-notice-unread{border-left:4px solid #b31325!important}.mad-membership-help,.mad-signup-contact{padding:18px;border:1px solid #e5e2de;border-radius:12px;margin:16px 0}.mad-membership-help summary,.mad-signup-contact summary{cursor:pointer;font-weight:600}.mad-signup-contact[open] summary{margin-bottom:18px}
.mad-copy-intake{margin:20px 0}.mad-action-list .mad-card-top h2{margin:0}.mad-application-status .mad-steps{font-size:14px}
@media(max-width:640px){.mad-task-row{align-items:flex-start;flex-direction:column;gap:10px}.mad-task-row .mad-btn{width:100%;white-space:normal}.mad-family-welcome .mad-row-actions{display:grid}.mad-family-welcome .mad-btn{white-space:normal}}
.mad-family-welcome>*{position:relative;z-index:1}.mad-family-welcome:after{z-index:0}.mad-side-bottom>[data-action="demo-password"]{grid-column:1/-1;margin-top:12px;width:100%}
@media(max-width:640px){.mad-family-welcome:after{width:70px;height:70px;right:-40px;top:-36px;opacity:.65}}

/* Phone layout: an explicit menu and comfortable forms, not a scaled desktop. */
.mad-mobile-menu{display:none}.mad-demo-banner summary{font-weight:650;cursor:pointer;min-height:28px;list-style-position:inside}.mad-demo-banner[open] summary{margin-bottom:12px}
#mad-platform .mad-demo-banner:not([open]){padding:14px 18px;margin-bottom:22px}
@media(max-width:700px){
 #mad-platform{font-size:15px;line-height:1.55}
 .mad-sidebar{display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:14px 18px;gap:12px}
 .mad-sidebar .mad-brand{margin:0;gap:12px}.mad-brand .mad-logo{width:68px;max-width:68px}.mad-brand>span.mad-brand-caption{font-size:9px;max-width:100px}
 .mad-mobile-menu{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 14px;border:1px solid #ddd6da;border-radius:9px;background:#fff;color:#242328;font-weight:600;font-size:14px!important}
 .mad-mobile-menu[aria-expanded="true"]{border-color:#b31325;background:#fff4f5;color:#9c1528}
 .mad-sidebar nav{display:none;width:100%;flex-basis:100%;white-space:normal;overflow-x:hidden;padding:4px 0}
 .mad-sidebar.is-menu-open nav{display:grid;grid-template-columns:1fr;gap:3px;max-height:65vh;max-height:65dvh;overflow-y:auto;border-top:1px solid #ece7eb;padding-top:12px;overscroll-behavior:contain}
 .mad-sidebar .mad-nav{white-space:normal;min-width:0;width:100%;min-height:46px;font-size:14px!important;padding:11px 12px;gap:12px;line-height:1.4;text-align:left}
 .mad-sidebar .mad-nav span{flex-shrink:0}.mad-nav-more[open]{min-width:0}.mad-nav-more summary{min-height:44px;padding:11px 12px}
 .mad-main .mad-top{min-height:56px;margin-bottom:18px;gap:8px;flex-wrap:nowrap}.mad-top>span:first-child{display:none}.mad-top:after{display:none}.mad-top .mad-private{font-size:9px;padding:4px 7px}.mad-top-refresh{min-height:44px;padding:8px;font-size:12px!important}.mad-mobile-account{min-height:44px;padding:8px 10px!important;font-size:11px!important;gap:6px}
 #mad-platform h1{font-size:28px!important;line-height:1.15}#mad-platform h2{font-size:23px;line-height:1.2}#mad-platform h3{font-size:18px}
 .mad-heading>div:first-child{min-width:0}.mad-heading{margin-bottom:20px}.mad-heading p{font-size:14px}.mad-heading>.mad-btn{width:100%}.mad-kicker{font-size:10px;letter-spacing:.08em}
 .mad-card{padding:20px 18px;border-radius:14px}.mad-family-welcome{padding:24px 20px;border-radius:16px;background:#f2f8f6}.mad-family-welcome:after{display:none}.mad-family-welcome .mad-meeting-date{font-size:19px}
 #mad-platform .mad-btn{min-height:46px;padding:12px 14px;font-size:13px!important;white-space:normal;line-height:1.4}.mad-quick-actions{gap:8px;flex-wrap:wrap}.mad-quick-actions>.mad-btn{flex:1 1 auto}.mad-task-row p{font-size:14px;line-height:1.5}
 .mad-steps li{padding-bottom:18px;line-height:1.5}.mad-steps small{font-size:12px!important}.mad-membership-help{font-size:14px;padding:16px}.mad-membership-help summary{line-height:1.5}
 .mad-dialog,.mad-dialog.mad-dialog-wide{width:100%;max-width:none;max-height:100%;max-height:100dvh;margin:auto 0 0;border-radius:16px 16px 0 0;border:0;overflow-x:hidden;overscroll-behavior:contain}
 .mad-dialog-head{padding:18px 18px 14px;gap:12px}.mad-dialog-head h2{font-size:21px!important;margin:0}.mad-dialog-head>button{min-width:44px;min-height:44px;flex-shrink:0}
 .mad-form{padding:20px 18px max(22px,env(safe-area-inset-bottom));overflow-wrap:anywhere}.mad-form-grid{grid-template-columns:1fr;gap:14px}
 .mad-form .mad-field{font-size:14px;gap:7px}.mad-form input:not([type=checkbox]):not([type=radio]),.mad-form select,.mad-form textarea,#mad-public input:not([type=checkbox]),#mad-public select,#mad-public textarea,.mad-login input{font-size:16px!important;min-height:48px;max-width:100%;width:100%}
 .mad-checkbox{align-items:flex-start;gap:11px;line-height:1.5;padding:10px 0;min-height:44px;font-size:14px}.mad-checkbox input[type=checkbox]{width:21px;min-width:21px;height:21px;margin-top:2px;flex-shrink:0}
 .mad-form fieldset{min-width:0;max-width:100%}.mad-form .mad-document-box{padding:16px 14px}.mad-dialog-actions{padding:16px 0 0;display:flex;flex-wrap:wrap;gap:10px}.mad-dialog-actions>.mad-btn{flex:1;min-width:100px}
 .mad-form details>summary{padding:10px 0;line-height:1.5;min-height:44px}.mad-signup-contact{padding:14px}.mad-signup-contact summary{padding:4px 0!important}
 #mad-platform .mad-toolbar select{font-size:16px!important;min-height:46px}.mad-toolbar{grid-template-columns:1fr}.mad-toolbar .mad-field:last-child{grid-column:auto}.mad-toolbar .mad-field{font-size:13px}
 .mad-compact summary{flex-wrap:wrap;gap:8px}.mad-compact-toggle{white-space:normal;text-decoration:none}.mad-compact summary h2{overflow-wrap:anywhere}.mad-row-actions{flex-wrap:wrap}
 .mad-stat>span{font-size:12px}.mad-stat small{font-size:11px!important}.mad-stat strong{font-size:28px}.mad-stat{padding:14px 10px}
 .mad-public-wrap{margin:0;max-width:100%;border-radius:0;padding:24px 18px}.mad-toast{max-width:calc(100vw - 24px);left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));font-size:14px}
}
@media(max-width:360px){.mad-top .mad-private{display:none}.mad-top-refresh{margin-right:auto}.mad-brand>span.mad-brand-caption{max-width:85px;font-size:8px}.mad-mobile-menu{padding:10px 12px}.mad-main{padding-left:14px;padding-right:14px}}
@media(prefers-reduced-motion:reduce){#mad-platform *,#mad-public *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
