@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Prata&display=swap');

:root{--ink:#25322e;--muted:#74807b;--cream:#f5f5ef;--paper:#fff;--line:#e6e8e1;--purple:#7864aa;--purple-dark:#65528f;--purple-soft:#eee9f8;--mint:#d8eddf;--mint-deep:#3f795b;--peach:#f6d3b9;--orange:#e8915f;--blue:#dcecf1;--shadow:0 18px 50px rgba(57,69,60,.1);--radius:22px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;overflow-x:hidden;background:var(--cream);color:var(--ink);font-family:Manrope,Arial,sans-serif}button,input,select,textarea{font:inherit}button{color:inherit}.app-shell{min-height:100vh}.topbar{height:84px;padding:0 max(28px,calc((100vw - 1320px)/2));display:flex;align-items:center;gap:42px;background:rgba(250,250,246,.94);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50;backdrop-filter:blur(14px)}.brand{border:0;background:none;display:flex;align-items:center;gap:11px;text-align:left;cursor:pointer;padding:0}.brand-mark{width:44px;height:44px;border-radius:14px;background:var(--purple);display:grid;place-items:center}.brand-mark svg{width:30px;fill:none;stroke:#fff;stroke-width:2;stroke-linejoin:round}.brand b{display:block;font-family:Prata,Georgia,serif;font-size:19px;line-height:1.15}.brand small{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.desktop-nav{display:flex;align-items:center;gap:4px;margin:auto}.nav-link{border:0;background:transparent;border-radius:12px;padding:11px 15px;font-size:13px;font-weight:700;color:#6b746f;cursor:pointer;transition:.2s}.nav-link:hover,.nav-link.active{background:#ebe9e1;color:var(--ink)}.header-actions{display:flex;align-items:center;gap:13px}.icon-button{border:0;background:#fff;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;cursor:pointer;position:relative}.icon-button svg{width:19px;fill:none;stroke:var(--ink);stroke-width:1.8}.notification-button i{width:7px;height:7px;border:2px solid #fff;border-radius:50%;background:var(--orange);position:absolute;right:8px;top:7px}.profile-chip{border:0;background:transparent;display:flex;align-items:center;gap:9px;cursor:pointer;text-align:left}.profile-chip>span:first-child{background:var(--peach);display:grid;place-items:center;width:40px;height:40px;border-radius:50%;font-weight:800;font-size:12px}.profile-name b,.profile-name small{display:block}.profile-name b{font-size:12px}.profile-name small{font-size:10px;color:var(--muted)}.profile-chip svg{width:16px;fill:none;stroke:var(--ink);stroke-width:1.5}.page{display:none;width:min(1320px,calc(100% - 56px));margin:0 auto;padding:42px 0 74px}.page.active{display:block;animation:pageIn .35s ease}.hero{min-height:390px;border-radius:30px;background:#e5ebdf;display:grid;grid-template-columns:1.08fr .92fr;overflow:hidden;position:relative}.hero-copy{min-width:0;padding:58px 40px 50px 64px;z-index:2}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:10px;font-weight:800;color:var(--purple);display:inline-flex;align-items:center;gap:8px}.eyebrow i{width:7px;height:7px;border-radius:50%;background:var(--purple)}.eyebrow.muted{color:#8c948f}.eyebrow.peach{color:#aa6645}.hero h1,.page-title h1,.guide-hero h1,.community-head h1{font-family:Prata,Georgia,serif;font-weight:400;font-size:47px;line-height:1.13;letter-spacing:-.025em;margin:15px 0 17px}.hero-copy>p{font-size:15px;line-height:1.75;color:#68736e;max-width:520px}.hero-actions{display:flex;gap:11px;margin-top:28px}.button{border:0;padding:14px 20px;border-radius:13px;font-weight:800;font-size:12px;cursor:pointer;transition:transform .2s,box-shadow .2s,background .2s}.button:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(60,60,50,.14)}.button.primary{background:var(--purple);color:#fff}.button.primary:hover{background:var(--purple-dark)}.button.soft{background:#fff}.button.dark{background:var(--ink);color:#fff}.button.small{padding:10px 16px}.button.wide{width:100%;font-size:13px;padding:16px}.hero-visual{position:relative;min-height:390px}.hero-house{position:absolute;right:2%;bottom:0;width:96%;height:92%;overflow:visible}.hero-house *{stroke-linecap:round;stroke-linejoin:round}.ground{fill:none;stroke:#bcc9b9;stroke-width:2}.building-back{fill:#f7f2e7;stroke:#5f6a63;stroke-width:2}.building{fill:#f4d0b7;stroke:#5f6a63;stroke-width:2}.roof{fill:none;stroke:#5f6a63;stroke-width:3}.awning{fill:#b5a3d2;stroke:#5f6a63;stroke-width:2}.windows path{fill:#d7eced;stroke:#5f6a63;stroke-width:2}.door{fill:#947daf;stroke:#5f6a63;stroke-width:2}.door-line{fill:none;stroke:#d8cae6;stroke-width:2}.tree-trunk{stroke:#725c46;stroke-width:7}.tree{fill:#94bc9e;stroke:#5f6a63;stroke-width:2}.bush{fill:#a8c7a7;stroke:#5f6a63;stroke-width:2}.laundry-sign circle:first-child{fill:#fff8ec;stroke:#5f6a63;stroke-width:2}.laundry-sign circle:nth-child(2){fill:#cae0de;stroke:#5f6a63;stroke-width:2}.laundry-sign path{stroke:#5f6a63}.person{fill:#f0b997;stroke:#5f6a63;stroke-width:2.5}.sun{position:absolute;right:7%;top:10%;width:45px;height:45px;border-radius:50%;background:#f3c77e}.cloud{position:absolute;background:rgba(255,255,255,.72);width:80px;height:21px;border-radius:30px}.cloud:before,.cloud:after{content:"";position:absolute;background:inherit;border-radius:50%;bottom:0}.cloud:before{width:32px;height:32px;left:13px}.cloud:after{width:24px;height:24px;left:40px}.cloud-one{top:18%;left:8%}.cloud-two{top:8%;left:38%;transform:scale(.7)}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:46px 0 18px}.section-heading h2,.panel h2{font-family:Prata,Georgia,serif;font-weight:400;font-size:27px;margin:7px 0 0}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.quick-card{border:0;border-radius:19px;padding:20px;display:flex;align-items:center;gap:14px;text-align:left;cursor:pointer;transition:.25s}.quick-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.quick-card.laundry{background:#eae2f3}.quick-card.map{background:#dcece1}.quick-card.guide{background:#f5e2d3}.quick-card.community{background:#dcebed}.quick-icon{width:48px;height:48px;border-radius:14px;background:rgba(255,255,255,.73);display:grid;place-items:center;flex:0 0 auto}.quick-icon svg{width:26px;fill:none;stroke:var(--ink);stroke-width:1.7;stroke-linejoin:round}.quick-card span b,.quick-card span small{display:block}.quick-card span b{font-size:13px;margin-bottom:4px}.quick-card span small{font-size:10px;color:#69756f}.quick-card>i{font-style:normal;margin-left:auto;font-size:18px}.dashboard-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:16px;margin-top:35px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:27px}.panel-head{display:flex;align-items:flex-start;justify-content:space-between}.text-button{border:0;background:transparent;font-weight:800;color:var(--purple);font-size:11px;cursor:pointer;padding:6px}.booking-empty{border:1px dashed #d9dcd4;border-radius:16px;text-align:center;padding:30px 20px;margin-top:20px;color:var(--muted)}.booking-empty b{display:block;color:var(--ink);margin-bottom:5px}.next-booking-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding-top:23px}.booking-date{width:58px;height:62px;border-radius:15px;background:var(--purple-soft);display:grid;place-content:center;text-align:center}.booking-date b{font-size:20px}.booking-date small{font-size:9px;color:var(--purple);font-weight:800}.booking-info b,.booking-info small{display:block}.booking-info b{font-size:13px}.booking-info small{font-size:11px;color:var(--muted);margin-top:5px}.booking-time{font-family:Prata,serif;font-size:23px}.event-panel{padding:0;background:#f5dfcf;overflow:hidden;display:grid;grid-template-columns:36% 64%;min-height:165px}.event-illustration{display:grid;place-items:center;position:relative;background:#e9c1a5}.event-illustration span{font-size:60px;transform:rotate(-8deg);z-index:1}.event-illustration i{position:absolute;width:100px;height:100px;border-radius:50%;background:rgba(255,255,255,.35)}.event-copy{padding:24px 25px}.event-copy h3{font-family:Prata,serif;font-size:20px;font-weight:400;margin:8px 0}.event-copy p{font-size:10px;color:#79695f}.event-copy>div{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.mini-avatars{display:flex}.mini-avatars i{font-style:normal;width:26px;height:26px;border:2px solid #f5dfcf;border-radius:50%;display:grid;place-items:center;background:#fff;font-size:8px;font-weight:800;margin-left:-6px}.mini-avatars i:first-child{margin-left:0;background:#cce5d2}.mini-avatars i:nth-child(2){background:#d7d2ed}.mini-avatars i:last-child{background:#fff}.page-title,.community-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:35px;padding:8px 4px}.page-title h1,.community-head h1{font-size:43px;margin-bottom:10px}.page-title p,.community-head p{color:var(--muted);font-size:14px;max-width:670px;margin:0;line-height:1.65}.page-title.compact{margin-bottom:25px}.status-strip{background:#fff;border:1px solid var(--line);border-radius:17px;padding:17px 22px;display:flex;align-items:center;gap:30px;margin-bottom:18px}.status-strip span{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px}.status-strip span b{color:var(--ink)}.status-strip small{margin-left:auto;color:#9ba39f;font-size:9px}.dot{width:8px;height:8px;border-radius:50%}.dot.green{background:#65a579}.dot.yellow{background:#e6b060}.dot.gray{background:#aaa}.machine-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.machine-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:21px;position:relative;overflow:hidden}.machine-card .machine-top{display:flex;justify-content:space-between}.machine-card h3{font-family:Prata,serif;font-size:19px;font-weight:400;margin:0}.machine-card .state{border-radius:20px;padding:6px 9px;background:#e4f2e7;color:#43815a;font-size:9px;font-weight:800}.machine-card.busy .state{background:#f7ead1;color:#9b702c}.machine-card.offline .state{background:#eee;color:#777}.washer{width:105px;height:113px;margin:22px auto 16px;border:3px solid #45514c;border-radius:15px;background:#f6f5ef;position:relative;box-shadow:inset 0 -7px #e5e5de}.washer:before{content:"";position:absolute;left:10px;right:10px;top:17px;border-top:2px solid #45514c}.washer:after{content:"";position:absolute;width:56px;height:56px;border:3px solid #45514c;border-radius:50%;left:21px;top:38px;background:radial-gradient(circle,#d8ecec 0 45%,#adc9ca 47% 52%,#e7eeee 54%)}.washer span{position:absolute;width:5px;height:5px;border-radius:50%;background:#63a57b;right:10px;top:8px}.machine-card.busy .washer:after{background:conic-gradient(from 20deg,#b3d3d5,#e3eeee,#9dbfc2,#e3eeee)}.machine-card.offline{opacity:.65}.machine-card p{font-size:10px;color:var(--muted);margin:0;text-align:center}.machine-card .machine-action{width:100%;border:0;background:var(--purple-soft);color:var(--purple);font-size:10px;font-weight:800;border-radius:10px;padding:10px;margin-top:15px;cursor:pointer}.machine-card.busy .machine-action,.machine-card.offline .machine-action{background:#f0f0ec;color:#888}.laundry-bottom{display:grid;grid-template-columns:1.55fr .75fr;gap:16px;margin-top:22px}.booking-list{margin-top:18px}.booking-row{display:flex;align-items:center;gap:15px;padding:14px;border-radius:14px;background:#f8f8f4;margin-top:9px}.booking-row .booking-date{width:46px;height:49px}.booking-row .booking-date b{font-size:16px}.booking-row .booking-info{flex:1}.booking-row button{border:0;background:transparent;color:#a65e51;font-size:10px;font-weight:800;cursor:pointer}.rules-card{background:#e3ecdd}.round-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff;font-size:21px}.rules-card h3{font-family:Prata,serif;font-weight:400}.rules-card ul{padding-left:17px;font-size:10px;line-height:1.8;color:#657069}.rules-card li{padding-left:4px;margin-bottom:5px}.map-layout{display:grid;grid-template-columns:340px 1fr;min-height:590px;border-radius:24px;overflow:hidden;border:1px solid var(--line);background:#fff}.map-sidebar{border:0;border-radius:0;padding:22px;z-index:3}.search-box{height:45px;border-radius:12px;background:#f4f5f1;display:flex;align-items:center;gap:10px;padding:0 13px}.search-box svg{width:18px;fill:none;stroke:#78817d;stroke-width:1.8}.search-box input{border:0;outline:0;background:transparent;width:100%;font-size:11px}.filter-chips{display:flex;gap:6px;overflow:auto;margin:14px 0 25px}.filter-chips button,.interest-row button{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:20px;padding:8px 11px;font-size:9px;font-weight:800;cursor:pointer}.filter-chips button.active,.interest-row button.active{background:var(--purple);border-color:var(--purple);color:#fff}.map-sidebar h3{font-size:12px;margin:0 0 10px}.place-item{width:100%;border:0;border-top:1px solid #eceee8;background:transparent;padding:13px 5px;display:grid;grid-template-columns:38px 1fr auto;align-items:center;text-align:left;gap:10px;cursor:pointer}.place-item:hover{background:#fafaf7}.place-symbol{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:var(--purple-soft);font-weight:800}.place-item[data-category=shop] .place-symbol{background:#e6f0de}.place-item[data-category=health] .place-symbol{background:#f7dfdc}.place-item div b,.place-item div small{display:block}.place-item div b{font-size:10px}.place-item div small{font-size:8px;color:var(--muted);margin-top:3px}.place-item>span:last-child{font-size:14px}.campus-map{position:relative;overflow:hidden;background-color:#e8eee2;background-image:radial-gradient(#ccd7c8 1px,transparent 1px);background-size:18px 18px}.campus-map:before,.campus-map:after{content:"";position:absolute;border:2px solid #bfceb9;background:#d7e4d0;border-radius:45%}.campus-map:before{width:250px;height:180px;left:22%;top:6%;transform:rotate(-12deg)}.campus-map:after{width:230px;height:150px;right:-6%;bottom:-2%;transform:rotate(20deg)}.map-road{position:absolute;background:#fbfaf3;border:1px solid #deded5;z-index:1}.road-a{width:110%;height:72px;left:-5%;top:46%;transform:rotate(-8deg)}.road-b{width:70px;height:120%;left:65%;top:-10%;transform:rotate(10deg)}.road-c{width:60px;height:85%;left:25%;top:20%;transform:rotate(-18deg)}.route-line{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}.route-line path{fill:none;stroke:var(--purple);stroke-width:5;stroke-dasharray:8 10;stroke-linecap:round;animation:dash 15s linear infinite}.map-label{position:absolute;z-index:2;color:#9ca49e;font-size:8px;text-transform:uppercase;letter-spacing:.12em}.street-one{left:40%;top:49%;transform:rotate(-8deg)}.street-two{left:68%;top:45%;transform:rotate(80deg)}.map-building{position:absolute;z-index:3;background:#cdbfe0;border:2px solid #72628c;width:105px;height:72px;left:8%;bottom:11%;transform:skewY(-5deg);border-radius:8px;display:grid;place-content:center;text-align:center;font-size:9px;font-weight:800;box-shadow:7px 7px 0 #a99bbf}.map-building small{font-size:8px;margin-top:3px}.map-pin{position:absolute;z-index:5;left:var(--x);top:var(--y);transform:translate(-50%,-50%);border:0;background:transparent;cursor:pointer;display:flex;flex-direction:column;align-items:center}.map-pin span{width:39px;height:39px;border:3px solid #fff;border-radius:50% 50% 50% 10%;transform:rotate(-45deg);background:var(--purple);color:#fff;box-shadow:0 6px 14px rgba(54,64,56,.2);display:grid;place-items:center;font-size:10px;font-weight:800}.map-pin span>*{transform:rotate(45deg)}.map-pin b{background:#fff;padding:5px 8px;border-radius:7px;margin-top:6px;font-size:8px;box-shadow:0 3px 10px rgba(0,0,0,.1);white-space:nowrap}.map-pin.shop span{background:#6c9a70}.map-pin.health span{background:#c67469;font-size:18px}.map-pin.active span{animation:pinPulse 2s infinite}.map-person{position:absolute;z-index:6;left:17%;bottom:18%;width:28px;height:28px;border:6px solid rgba(120,100,170,.2);border-radius:50%}.map-person span{display:block;width:100%;height:100%;border-radius:50%;background:var(--purple);border:3px solid white}.route-card{position:absolute;z-index:8;bottom:18px;left:50%;transform:translateX(-50%);width:300px;background:#fff;padding:13px 35px 13px 13px;border-radius:16px;box-shadow:var(--shadow);display:flex;gap:12px;align-items:center}.route-icon{width:40px;height:40px;border-radius:12px;background:var(--purple-soft);display:grid;place-items:center;color:var(--purple);font-size:20px}.route-card small,.route-card b{display:block}.route-card small{font-size:8px;color:var(--muted)}.route-card b{font-size:11px;margin:2px 0}.route-card p{margin:0;font-size:8px;color:var(--muted)}.route-card p strong{color:var(--purple)}.close-mini{position:absolute;right:10px;top:8px;border:0;background:none;color:#999;cursor:pointer}.guide-hero{background:#e7e0f1;border-radius:28px;min-height:270px;display:flex;align-items:center;justify-content:space-between;padding:38px 70px;margin-bottom:35px;overflow:hidden}.guide-hero h1{font-size:40px;margin:11px 0}.guide-hero p{color:#6f6879;font-size:13px;max-width:500px}.guide-art{font-size:105px;position:relative;margin-right:90px;filter:drop-shadow(0 13px 10px rgba(80,60,100,.12))}.guide-art span,.guide-art i{position:absolute;width:46px;height:46px;border-radius:50%;font-style:normal;display:grid;place-items:center;font-family:Prata,serif;font-size:25px}.guide-art span{background:#f2c6a7;right:-40px;top:-10px}.guide-art i{background:#a8c8ad;color:#fff;left:-35px;bottom:0;font-size:19px}.guide-layout{display:grid;grid-template-columns:1.5fr .55fr;gap:18px}.guide-layout .section-heading{margin-top:0}.progress-label{font-size:10px;font-weight:800;color:var(--purple);background:var(--purple-soft);padding:7px 11px;border-radius:20px}.checklist{padding:9px 25px}.checklist label{display:flex;align-items:center;gap:13px;padding:17px 4px;border-bottom:1px solid var(--line);cursor:pointer}.checklist label:last-child{border:0}.checklist input{display:none}.checklist label>span{width:23px;height:23px;border-radius:7px;border:2px solid #cfd4ce;display:grid;place-items:center;flex:0 0 auto}.checklist input:checked+span{background:var(--purple);border-color:var(--purple)}.checklist input:checked+span:after{content:"✓";color:white;font-size:12px;font-weight:800}.checklist input:checked~div b{text-decoration:line-through;color:#8b938f}.checklist div b,.checklist div small{display:block}.checklist div b{font-size:11px}.checklist div small{font-size:9px;color:var(--muted);margin-top:4px}.help-card{background:#dceade;align-self:end;text-align:center;padding:33px 28px}.help-card>span{width:50px;height:50px;border-radius:50%;background:#fff;display:grid;place-items:center;margin:0 auto;font-size:0}.help-card>span:after{content:"?";font-family:Prata,serif;font-size:24px;color:var(--mint-deep)}.help-card h3{font-family:Prata,serif;font-size:22px;font-weight:400;margin:14px 0 7px}.help-card p{font-size:10px;line-height:1.6;color:#647268}.help-card .button{display:block;margin:18px auto 11px}.help-card small{font-size:8px;color:#7f8b83}.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.faq-item{background:#fff;border:1px solid var(--line);border-radius:17px;overflow:hidden}.faq-item>button{border:0;background:none;width:100%;display:flex;align-items:center;gap:13px;text-align:left;padding:16px;cursor:pointer}.faq-icon{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;font-size:20px}.faq-icon.violet{background:var(--purple-soft)}.faq-icon.green{background:#e4f0e4}.faq-icon.orange{background:#f7e5d6}.faq-icon.blue{background:#e2eef2}.faq-item button span:nth-child(2){flex:1}.faq-item b,.faq-item small{display:block}.faq-item b{font-size:11px}.faq-item small{font-size:8px;color:var(--muted);margin-top:4px}.faq-item button i{font-style:normal;font-size:18px}.faq-item>div{max-height:0;overflow:hidden;transition:.3s}.faq-item>div p{font-size:10px;line-height:1.7;color:var(--muted);padding:0 18px 18px;margin:0}.faq-item.open>div{max-height:150px}.faq-item.open button i{transform:rotate(45deg)}.community-layout{display:grid;grid-template-columns:1fr 330px;gap:20px}.interest-row{display:flex;gap:7px;margin-bottom:16px;overflow:auto}.feed-post{background:#fff;border:1px solid var(--line);border-radius:20px;padding:21px;margin-bottom:13px}.post-head{display:flex;align-items:center;gap:10px}.avatar{width:41px;height:41px;border-radius:50%;display:grid;place-items:center;background:#e6d9f0;font-size:10px;font-weight:800}.post-head div b,.post-head div small{display:block}.post-head div b{font-size:11px}.post-head div small{font-size:8px;color:var(--muted);margin-top:3px}.post-category{margin-left:auto;border-radius:20px;padding:6px 9px;background:#f3eee7;font-size:8px;font-weight:800}.feed-post>p{font-size:12px;line-height:1.65;margin:17px 0}.post-actions{display:flex;gap:18px;border-top:1px solid var(--line);padding-top:13px}.post-actions button{border:0;background:transparent;color:var(--muted);font-size:9px;font-weight:800;cursor:pointer}.post-actions button.liked{color:#b65e6b}.community-aside{display:flex;flex-direction:column;gap:14px}.community-aside .panel{padding:21px}.community-aside h3{font-family:Prata,serif;font-weight:400;margin:0 0 14px}.aside-event{display:flex;gap:12px;align-items:center;margin:12px 0}.aside-event time{width:43px;height:48px;border-radius:11px;background:var(--purple-soft);display:grid;place-content:center;text-align:center}.aside-event time.mint{background:#dcece1}.aside-event time b{font-size:14px}.aside-event time small{font-size:7px}.aside-event div b,.aside-event div small{display:block}.aside-event div b{font-size:10px}.aside-event div small{font-size:8px;color:var(--muted);margin-top:4px}.contacts-panel{display:flex;gap:12px;background:#f3dfd1}.contacts-panel>span{width:38px;height:38px;background:#fff;border-radius:50%;display:grid;place-items:center}.contacts-panel p{font-size:9px;color:#74675e;line-height:1.5}.mobile-nav{display:none}.modal-backdrop{position:fixed;inset:0;background:rgba(30,38,34,.5);z-index:100;display:none;place-items:center;padding:20px;backdrop-filter:blur(5px)}.modal-backdrop.open{display:grid;animation:fadeIn .2s}.modal{display:none;background:#fff;border-radius:25px;width:min(610px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:35px;position:relative;box-shadow:0 30px 80px rgba(25,30,27,.25);animation:modalIn .3s}.modal.active{display:block}.modal-close{position:absolute;right:20px;top:17px;border:0;background:#f2f3ef;width:32px;height:32px;border-radius:50%;cursor:pointer;font-size:20px}.modal h2{font-family:Prata,serif;font-size:29px;font-weight:400;margin:10px 0 6px}.modal-lead{font-size:11px;color:var(--muted);margin-bottom:24px}.modal fieldset{border:0;padding:0;margin:0 0 20px}.modal legend{font-size:10px;font-weight:800;margin-bottom:10px}.machine-options,.date-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.modal-option{position:relative}.modal-option input{position:absolute;opacity:0}.modal-option span{display:block;border:1px solid var(--line);border-radius:12px;padding:12px;text-align:center;font-size:10px;cursor:pointer}.modal-option input:checked+span{border:2px solid var(--purple);background:var(--purple-soft);color:var(--purple);font-weight:800}.modal-option input:disabled+span{background:#f4f4f1;color:#aaa;text-decoration:line-through;cursor:not-allowed}.time-options{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.time-options .modal-option span{padding:10px 4px}.booking-summary{background:#f4f4ef;border-radius:13px;padding:13px 15px;display:flex;align-items:center;justify-content:space-between;margin:23px 0 12px}.booking-summary span{font-size:9px;color:var(--muted)}.booking-summary b{font-size:10px}.small-modal{width:min(450px,100%)}.info-modal-icon{width:50px;height:50px;border-radius:50%;background:var(--purple-soft);display:grid;place-items:center;font-size:25px;color:var(--purple)}#info-content{font-size:11px;line-height:1.7;color:var(--muted);margin:12px 0 22px}#info-content ul{padding-left:17px}.modal form>label{font-size:10px;font-weight:800;display:block;margin:18px 0}.modal select,.modal textarea{display:block;width:100%;border:1px solid var(--line);border-radius:12px;margin-top:7px;background:#f8f8f5;padding:12px;outline:0}.modal textarea{min-height:110px;resize:vertical;font-size:11px;line-height:1.5}.profile-menu{position:fixed;right:max(28px,calc((100vw - 1320px)/2));top:72px;width:230px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:16px;z-index:70;box-shadow:var(--shadow);display:none}.profile-menu.open{display:block;animation:modalIn .2s}.profile-menu b,.profile-menu small{display:block}.profile-menu b{font-size:12px}.profile-menu small{font-size:9px;color:var(--muted);margin-top:4px}.profile-menu hr{border:0;border-top:1px solid var(--line);margin:12px 0}.profile-menu button{border:0;background:none;display:block;width:100%;padding:8px;text-align:left;font-size:10px;cursor:pointer;border-radius:7px}.profile-menu button:hover{background:#f4f4ef}.toast{position:fixed;right:25px;bottom:25px;z-index:200;background:var(--ink);color:#fff;border-radius:15px;padding:14px 20px 14px 14px;display:flex;align-items:center;gap:11px;box-shadow:var(--shadow);transform:translateY(120px);opacity:0;transition:.35s}.toast.show{transform:none;opacity:1}.toast>span{width:30px;height:30px;border-radius:50%;background:#659176;display:grid;place-items:center}.toast b,.toast small{display:block}.toast b{font-size:10px}.toast small{font-size:8px;color:#ccd3cf;margin-top:3px}.reveal{animation:reveal .5s both}.reveal:nth-child(2){animation-delay:.06s}.reveal:nth-child(3){animation-delay:.12s}
@keyframes pageIn{from{opacity:0;transform:translateY(5px)}}@keyframes reveal{from{opacity:0;transform:translateY(13px)}to{opacity:1;transform:none}}@keyframes fadeIn{from{opacity:0}}@keyframes modalIn{from{opacity:0;transform:translateY(12px) scale(.98)}}@keyframes dash{to{stroke-dashoffset:-200}}@keyframes pinPulse{50%{box-shadow:0 0 0 10px rgba(120,100,170,.14),0 6px 14px rgba(54,64,56,.2)}}
@media(max-width:980px){.topbar{gap:16px}.desktop-nav{display:none}.profile-name,.profile-chip>svg{display:none}.page{width:min(calc(100% - 30px),800px);padding-top:25px}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:43px}.hero-visual{min-height:330px}.quick-grid{grid-template-columns:1fr 1fr}.dashboard-grid,.laundry-bottom,.guide-layout,.community-layout{grid-template-columns:1fr}.machine-grid{grid-template-columns:1fr 1fr}.map-layout{grid-template-columns:280px 1fr}.community-aside{display:grid;grid-template-columns:1fr 1fr}.mobile-nav{display:flex;position:fixed;z-index:49;left:50%;bottom:12px;transform:translateX(-50%);width:min(520px,calc(100% - 24px));background:rgba(38,49,45,.96);border-radius:18px;padding:7px;justify-content:space-around;box-shadow:0 10px 30px rgba(0,0,0,.22)}.mobile-nav button{border:0;background:none;color:#aeb8b3;font-size:7px;font-weight:800;display:flex;flex-direction:column;align-items:center;gap:3px;padding:4px 9px;cursor:pointer}.mobile-nav button span{font-size:17px}.mobile-nav button.active{color:#fff}.guide-art{margin-right:10px}.community-aside{margin-bottom:30px}}
@media(max-width:700px){.topbar{height:66px;padding:0 16px}.brand-mark{width:38px;height:38px}.brand b{font-size:16px}.brand small{display:none}.header-actions{margin-left:auto}.hero-copy{padding:35px 26px}.hero h1,.page-title h1,.guide-hero h1,.community-head h1{font-size:34px}.hero-visual{min-height:270px}.hero-actions{flex-direction:column;align-items:stretch}.quick-grid{grid-template-columns:1fr}.dashboard-grid{margin-top:18px}.event-panel{grid-template-columns:33% 67%}.page-title,.community-head{align-items:flex-start;flex-direction:column;gap:20px}.page-title>.button,.community-head>.button{width:100%}.status-strip{gap:12px;flex-wrap:wrap}.status-strip small{width:100%;margin:0}.machine-grid{grid-template-columns:1fr}.laundry-bottom{grid-template-columns:1fr}.map-layout{display:flex;flex-direction:column}.map-sidebar{max-height:280px}.campus-map{min-height:470px}.guide-hero{padding:35px 28px}.guide-art{font-size:55px}.guide-art span,.guide-art i{width:30px;height:30px;font-size:14px}.faq-grid{grid-template-columns:1fr}.community-aside{grid-template-columns:1fr}.machine-options,.date-options{grid-template-columns:1fr 1fr}.time-options{grid-template-columns:repeat(3,1fr)}.modal{padding:30px 22px}.profile-chip{display:none}.hero-house{right:-5%;width:110%}.toast{left:15px;right:15px;bottom:90px}.route-card{width:260px}.next-booking-card{grid-template-columns:auto 1fr}.booking-time{grid-column:2}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Расписание прачечной и быстрый профиль жильца. */
.availability-panel{margin-top:22px;padding:28px}.availability-head{gap:24px}.availability-head p{margin:7px 0 0;color:var(--muted);font-size:10px}.schedule-date-label{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:9px;font-weight:800;flex:0 0 180px}.schedule-date-label select{border:1px solid var(--line);border-radius:11px;background:#f8f8f5;padding:10px 12px;color:var(--ink);outline:0}.schedule-legend{display:flex;gap:18px;align-items:center;margin:20px 0 14px;font-size:9px;color:var(--muted);font-weight:700}.schedule-legend span{display:flex;align-items:center;gap:6px}.schedule-legend i{width:10px;height:10px;border-radius:3px;background:#edf5ef;border:1px solid #cfe2d4}.schedule-legend i.occupied{background:#e7ddf2;border-color:#c8b9dd}.schedule-legend i.mine{background:var(--purple);border-color:var(--purple)}.schedule-legend i.offline{background:#e8e9e6;border-color:#d5d7d2}.schedule-scroll{overflow-x:auto;padding:3px 0 8px}.availability-table{min-width:800px}.schedule-hours,.schedule-row{display:grid;grid-template-columns:95px 1fr;gap:12px;align-items:center}.schedule-hours{height:27px;color:#949d98;font-size:8px}.schedule-hours>div{height:100%;position:relative}.schedule-hours i{position:absolute;transform:translateX(-50%);font-style:normal;white-space:nowrap}.schedule-hours i:first-child{transform:none}.schedule-hours i:last-child{transform:translateX(-100%)}.schedule-row{padding:6px 0;border-top:1px solid #eff0eb}.schedule-row>b{font-size:10px}.schedule-track{height:48px;border-radius:10px;position:relative;cursor:crosshair;overflow:hidden;background-color:#edf5ef;background-image:repeating-linear-gradient(to right,transparent 0,transparent calc(6.25% - 1px),rgba(85,113,94,.11) calc(6.25% - 1px),rgba(85,113,94,.11) 6.25%)}.schedule-track.is-offline{cursor:not-allowed;background:#e8e9e6}.schedule-block{position:absolute;left:calc(var(--start) * 1%);width:max(calc(var(--length) * 1%),4px);top:4px;bottom:4px;border-radius:7px;padding:5px 7px;background:#e7ddf2;border:1px solid #c8b9dd;color:#665284;overflow:hidden;z-index:2;cursor:default}.schedule-block.mine{background:var(--purple);border-color:var(--purple);color:#fff}.schedule-block.unavailable{background:#dfe1dd;border-color:#d0d3ce;color:#7b817d;width:100%;left:0;display:grid;place-items:center}.schedule-block b,.schedule-block small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.schedule-block b{font-size:8px}.schedule-block small{font-size:7px;margin-top:2px}.schedule-note{margin:5px 0 0;color:#8e9691;font-size:8px}.rules-card{padding:27px}.rules-card .eyebrow{margin-top:17px}.rules-steps{list-style:none;counter-reset:rules;padding:0!important;margin:17px 0}.rules-steps li{counter-increment:rules;display:grid;grid-template-columns:28px 1fr;column-gap:9px;margin:0 0 13px!important;padding:0!important}.rules-steps li:before{content:counter(rules);grid-row:1/3;width:26px;height:26px;border-radius:9px;background:#fff;display:grid;place-items:center;color:var(--mint-deep);font-weight:800}.rules-steps b,.rules-steps span{display:block}.rules-steps b{font-size:10px}.rules-steps span{font-size:8px;line-height:1.55;color:#68736c;margin-top:2px}.booking-actions{display:flex;align-items:center;gap:6px}.booking-row .booking-actions button{padding:7px 8px;border-radius:8px}.booking-row .booking-actions .start-booking{background:var(--purple);color:#fff}.booking-state{display:inline-block;margin-top:6px;font-size:8px;font-style:normal;color:#8b6b31}.booking-state.started{color:#43815a}.time-range-fields{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:end}.time-range-fields>span{padding-bottom:13px;color:var(--muted)}.time-range-fields label{font-size:9px;color:var(--muted);font-weight:700}.time-range-fields input,.modal input[type=text]{display:block;width:100%;margin-top:6px;border:1px solid var(--line);border-radius:12px;background:#f8f8f5;padding:12px;outline:0;color:var(--ink)}.time-range-fields input:focus,.modal input[type=text]:focus,.schedule-date-label select:focus{border-color:var(--purple);box-shadow:0 0 0 3px var(--purple-soft)}.field-hint{display:block;margin-top:8px;color:#929a95;font-size:8px}.booking-availability{background:#f8f8f4;border:1px solid var(--line);border-radius:14px;padding:13px;margin-top:5px}.booking-availability>div:first-child{display:flex;justify-content:space-between;gap:12px}.booking-availability b{font-size:9px}.booking-availability>div:first-child small{font-size:8px;color:var(--muted)}.booking-day-schedule{display:flex;gap:7px;overflow-x:auto;margin-top:10px;padding-bottom:2px}.booking-day-schedule>span{flex:0 0 auto;border-radius:9px;background:#eee8f6;color:#675783;padding:8px 10px}.booking-day-schedule>span.mine{background:var(--purple);color:#fff}.booking-day-schedule b,.booking-day-schedule small{display:block}.booking-day-schedule b{font-size:9px}.booking-day-schedule small{font-size:7px;margin-top:2px}.booking-day-schedule em{font-size:9px;color:#548064;font-style:normal}.booking-message{min-height:31px;margin-top:10px;padding:9px 11px;border-radius:10px;font-size:9px;font-weight:700}.booking-message.success{background:#e8f3ea;color:#3f7953}.booking-message.error{background:#fae9e5;color:#a35447}.button:disabled{opacity:.5;cursor:not-allowed;transform:none!important;box-shadow:none!important}.privacy-note{background:var(--purple-soft);border-radius:12px;padding:11px 12px;color:#665785;font-size:9px;line-height:1.5}.modal form>label input[type=text]{margin-top:7px}.profile-modal-close[style*="none"]{display:none!important}

@media(max-width:700px){.availability-panel{padding:21px 16px}.availability-head{align-items:stretch;flex-direction:column}.schedule-date-label{flex-basis:auto}.schedule-legend{gap:10px;flex-wrap:wrap}.laundry-bottom{display:flex;flex-direction:column}.time-range-fields{grid-template-columns:1fr 16px 1fr}.booking-row{align-items:flex-start;flex-wrap:wrap}.booking-actions{width:100%;justify-content:flex-end}.profile-chip{display:flex}.profile-chip .profile-name,.profile-chip>svg{display:none}.booking-availability>div:first-child{display:block}.booking-availability>div:first-child small{display:block;margin-top:3px}}

/* Расширенная прачечная: пять стиральных машин и отдельная сушилка. */
.dot.purple{background:var(--purple)}
.machine-grid{grid-template-columns:repeat(3,1fr)}
.machine-card.equipment-dryer{background:#fdfbf5}
.machine-card.equipment-dryer .washer{background:#eee8f6}
.machine-card.equipment-dryer .washer:after{background:radial-gradient(circle,#f7ede2 0 29%,#c9b7dd 31% 42%,#8e79aa 44% 48%,#ece5f4 50%)}
.machine-card.equipment-dryer .washer:before{box-shadow:0 5px 0 -3px #45514c}
.machine-card.equipment-dryer .washer span{background:var(--purple)}
.machine-card{display:flex;flex-direction:column;align-items:stretch;justify-self:stretch;width:100%;min-width:0;min-height:305px}
.machine-card .machine-top{align-items:flex-start;gap:12px;width:100%;min-height:48px}
.machine-card .machine-top h3{line-height:1.25;overflow-wrap:anywhere}
.machine-card .machine-top .state{flex:0 0 auto}
.machine-card .washer{align-self:center;flex:0 0 auto}
.machine-card p{margin-bottom:15px}
.machine-card .machine-action{margin-top:auto}
.status-strip{flex-wrap:wrap;row-gap:12px}
@media(max-width:980px){.machine-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.machine-grid{grid-template-columns:1fr}}

/* Живые показания умной розетки на карточке первой стиральной машины. */
.live-device{margin:0 0 12px;padding:9px 10px;border-radius:11px;background:#f2f3ef;border:1px solid #e4e7df;font-size:9px;line-height:1.35;color:#67716b}
.live-device-state,.live-device-values{display:block}
.live-device-state{font-weight:800;color:#7b847e}
.live-device-values{margin-top:3px;color:#8b938e}
.live-device.is-working{background:#e4f1e5;border-color:#c8e0cc}
.live-device.is-working .live-device-state{color:#3f8155}
.live-device.is-off{background:#f1f1ee}

/* Состояние первой машинки напрямую от показаний умной розетки. */
.machine-card.device-off .state{background:#eeeeeb;color:#6f7772}
.machine-card.device-off .washer span{background:#a7ada9}
.machine-card.busy .machine-top .state{white-space:nowrap}

/* Полные подписи коротких броней и сообщения о неполадках. */
.machine-controls{margin-top:auto;display:flex;flex-direction:column;gap:8px}
.machine-card .machine-controls .machine-action{margin-top:0}
.report-problem{border:0;background:transparent;color:#8a655a;font-size:9px;font-weight:800;padding:5px;cursor:pointer;text-decoration:underline;text-decoration-color:#d9bdb4;text-underline-offset:3px}
.report-problem:hover{color:#a44f42}
.schedule-row{align-items:start}
.schedule-cell{min-width:0}
.schedule-bookings-detail{display:flex;gap:6px;align-items:center;min-height:25px;margin-top:6px;overflow-x:auto;padding-bottom:2px}
.schedule-detail{display:flex;align-items:center;gap:6px;flex:0 0 auto;border:1px solid #d8cee5;background:#f3eef8;color:#65547e;border-radius:8px;padding:5px 8px;white-space:nowrap}
.schedule-detail.mine{background:var(--purple);border-color:var(--purple);color:#fff}
.schedule-detail b{font-size:8px}
.schedule-detail small{font-size:8px}
.schedule-free-label{font-style:normal;font-size:8px;color:#5c8468}
.schedule-block.compact{min-width:5px;padding:0}
.schedule-block.compact b,.schedule-block.compact small{display:none}
.problem-help{font-size:9px;line-height:1.55;color:var(--muted);background:#f7f2ec;border-radius:11px;padding:10px 12px}

/* Подпись находится внутри самой брони, включая интервалы по 5 минут. */
.schedule-row{align-items:center;padding:8px 0}
.schedule-track{height:54px}
.schedule-block.occupied{min-width:max-content;overflow:visible;display:flex;flex-direction:column;justify-content:center;padding:5px 9px}
.schedule-block.occupied small{overflow:visible;text-overflow:clip}
.schedule-block.compact{min-width:max-content;padding:5px 9px}
.schedule-block.compact b,.schedule-block.compact small{display:block}
.schedule-block.align-right{left:auto;right:calc(var(--end-gap) * 1%)}
.schedule-free-inside{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#5c8468;font-size:8px;font-weight:700;pointer-events:none}
.booking-availability[hidden]{display:none!important}

/* Более заметные свободные интервалы и крупный блок правил. */
.schedule-track{background-color:#d8eddf;background-image:repeating-linear-gradient(to right,transparent 0,transparent calc(6.25% - 1px),rgba(53,112,75,.16) calc(6.25% - 1px),rgba(53,112,75,.16) 6.25%)}
.schedule-legend i.free{background:#d8eddf;border-color:#a9d1b6}
.schedule-free-inside{color:#367351;font-size:9px}
.machine-card.free .state{background:#d5eedc;color:#34764d}
.laundry-bottom{grid-template-columns:1fr}
.rules-card{padding:34px 36px;background:#dcebd8}
.rules-card h3{font-size:28px;margin:10px 0 4px}
.rules-card .eyebrow{font-size:11px}
.rules-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0!important}
.rules-steps li{grid-template-columns:36px 1fr;column-gap:12px;margin:0!important;padding:18px!important;background:rgba(255,255,255,.55);border:1px solid rgba(85,120,93,.12);border-radius:15px}
.rules-steps li:before{width:34px;height:34px;border-radius:11px;font-size:13px}
.rules-steps b{font-size:13px;line-height:1.35}
.rules-steps span{font-size:11px;line-height:1.65;margin-top:5px}
.rules-card>.text-button{font-size:11px;padding:8px 0}

@media(max-width:700px){.rules-card{padding:27px 22px}.rules-card h3{font-size:24px}.rules-steps{grid-template-columns:1fr}.rules-steps b{font-size:12px}.rules-steps span{font-size:10px}}

/* Настоящие маршруты от общежития «Лесное» в Яндекс Картах. */
.map-layout{grid-template-columns:370px minmax(0,1fr);min-height:700px;overflow:hidden}
.map-sidebar{display:flex;flex-direction:column;min-width:0;max-height:700px;padding:20px}
.map-origin{display:flex;align-items:center;gap:12px;padding:14px;margin-bottom:13px;border-radius:15px;background:#e4efe4;border:1px solid #cfdfcf}
.map-origin>span{width:39px;height:39px;flex:0 0 auto;border-radius:12px;background:#fff;display:grid;place-items:center;color:#4c7d59;font-size:20px}
.map-origin div{min-width:0}.map-origin small,.map-origin b,.map-origin p{display:block;margin:0}.map-origin small{font-size:8px;color:#6f8174}.map-origin b{font-size:11px;margin-top:2px}.map-origin p{font-size:8px;color:#738078;margin-top:3px}
.map-sidebar .filter-chips{flex:0 0 auto;margin:12px 0 17px;padding-bottom:3px;scrollbar-width:thin}
.place-list-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}.place-list-head h3{margin:0}.place-list-head small{font-size:8px;color:var(--muted)}
.place-list{min-height:0;overflow-y:auto;padding-right:4px;scrollbar-width:thin;scrollbar-color:#d9d7df transparent}
.place-item{grid-template-columns:40px minmax(0,1fr) auto;padding:12px 7px;border-radius:11px;border-top:1px solid #eceee8;transition:background .18s,box-shadow .18s}
.place-item:hover{background:#f7f6fa}.place-item.active{background:#f0ebf6;box-shadow:inset 3px 0 var(--purple)}
.place-item div{min-width:0}.place-item div b{font-size:10px;line-height:1.35}.place-item div small,.place-item div em{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.place-item div small{font-size:8px;color:#6d7772;margin-top:3px}.place-item div em{font-style:normal;font-size:8px;color:#989f9b;margin-top:3px}
.place-symbol{width:37px;height:37px;font-size:10px}.place-arrow{font-size:16px;color:#9a94a1}
.place-item[data-category=dorm] .place-symbol{background:#ddebf0;color:#50727e}.place-item[data-category=pickup] .place-symbol{background:#e7e2f2;color:#665485}.place-item[data-category=service] .place-symbol{background:#f3eadb;color:#8c6d3f}
.map-freshness{flex:0 0 auto;margin:11px 2px 0;color:#939a96;font-size:7px;line-height:1.45}
.map-emergency{flex:0 0 auto;margin:10px 0 0;padding:8px 10px;border-radius:10px;background:#faece8;color:#986052;font-size:8px;line-height:1.45}.map-emergency b{color:#87483b}
.place-search-empty{margin:10px 0;padding:22px 14px}.place-search-empty span{display:block;font-size:8px;line-height:1.55}.place-search-empty .text-button{margin-top:8px}
.yandex-map-shell{position:relative;min-width:0;min-height:700px;background:#e8eee2;overflow:hidden}
.yandex-map-frame{position:absolute;inset:0;width:100%;height:100%;border:0;background:#e8eee2;transition:opacity .2s}.yandex-map-frame.is-loading{opacity:.72}
.map-loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:none;align-items:center;gap:9px;padding:10px 14px;border-radius:12px;background:rgba(255,255,255,.94);box-shadow:var(--shadow);font-size:9px;pointer-events:none}
.yandex-map-frame.is-loading+.map-loading{display:flex}.map-loading span{width:15px;height:15px;border:2px solid #dcd5e6;border-top-color:var(--purple);border-radius:50%;animation:mapSpin .8s linear infinite}
.map-route-panel{position:absolute;z-index:5;left:18px;right:18px;bottom:18px;padding:15px 16px;border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 14px 38px rgba(43,49,45,.18);backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:space-between;gap:18px}
.map-route-panel.hidden{display:none}.route-place{display:flex;align-items:center;gap:12px;min-width:0}.route-place>div{min-width:0}.route-place small,.route-place b,.route-place p,.route-place address{display:block;margin:0}.route-place small{font-size:8px;color:var(--muted)}.route-place b{font-size:12px;margin:3px 0}.route-place p{font-size:8px;color:#66716b}.route-place address{font-style:normal;font-size:8px;color:#969d99;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.map-route-actions{display:flex;align-items:center;gap:9px;flex:0 0 auto}.map-mode-toggle{display:flex;padding:3px;border-radius:11px;background:#f0f1ed}.map-mode-toggle button{border:0;background:transparent;border-radius:8px;padding:9px 10px;font-size:8px;font-weight:800;cursor:pointer}.map-mode-toggle button.active{background:#fff;color:var(--purple);box-shadow:0 2px 8px rgba(60,60,50,.08)}
.map-open-route{display:inline-block;text-decoration:none;white-space:nowrap;padding:11px 14px}
@keyframes mapSpin{to{transform:rotate(360deg)}}

@media(max-width:980px){.map-layout{grid-template-columns:320px minmax(0,1fr)}.map-route-panel{align-items:stretch;flex-direction:column}.map-route-actions{justify-content:space-between}}
@media(max-width:700px){.map-layout{display:flex;min-height:0;overflow:visible}.map-sidebar{max-height:none;padding:17px}.place-list{max-height:360px}.yandex-map-shell{min-height:650px}.map-route-panel{left:10px;right:10px;bottom:86px;padding:13px}.map-route-actions{flex-direction:column;align-items:stretch}.map-mode-toggle{display:grid;grid-template-columns:1fr 1fr}.map-open-route{text-align:center}.route-place address{white-space:normal}.map-freshness{margin-bottom:3px}}

/* Подробный гайд по общежитию «Лесное». */
.guide-hero-detailed{margin-bottom:22px;background:linear-gradient(135deg,#e7e0f1 0%,#eee7f4 55%,#e0eadf 100%)}
.guide-checklist-shell{padding:0;overflow:hidden;margin-bottom:16px}
.guide-checklist-shell>summary,.guide-topic>summary{list-style:none;cursor:pointer;user-select:none}
.guide-checklist-shell>summary::-webkit-details-marker,.guide-topic>summary::-webkit-details-marker{display:none}
.guide-checklist-shell>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px}
.guide-checklist-shell>summary h2{font-family:Prata,Georgia,serif;font-weight:400;font-size:27px;margin:6px 0 4px}
.guide-checklist-shell>summary p{margin:0;color:var(--muted);font-size:10px}
.guide-summary-side{display:flex;align-items:center;gap:12px;flex:0 0 auto}.guide-summary-side>i{font-style:normal;font-size:20px;transition:transform .2s}.guide-checklist-shell[open] .guide-summary-side>i{transform:rotate(180deg)}
.guide-checklist{display:grid;grid-template-columns:1fr 1fr;column-gap:26px;padding:0 28px 18px;border-top:1px solid var(--line)}
.guide-checklist label{min-width:0;padding:16px 3px}.guide-checklist label:nth-last-child(-n+2){border-bottom:0}
.guide-checklist div b{font-size:12px}.guide-checklist div small{font-size:9px;line-height:1.45}
.guide-contact-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin:16px 0 38px}
.guide-contact-card{min-width:0;display:flex;align-items:center;gap:11px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:16px;text-decoration:none;color:var(--ink);transition:.2s}
.guide-contact-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.guide-contact-card>span{width:38px;height:38px;flex:0 0 auto;border-radius:11px;display:grid;place-items:center;background:var(--purple-soft);font-weight:800;color:var(--purple)}
.guide-contact-card.emergency>span{background:#f9dfdb;color:#a34e42}.guide-contact-card div{min-width:0}.guide-contact-card small,.guide-contact-card b,.guide-contact-card p{display:block;margin:0}.guide-contact-card small{font-size:8px;color:var(--muted)}.guide-contact-card b{font-size:10px;margin:3px 0}.guide-contact-card p{font-size:8px;color:#87908b}
.guide-directory-head{align-items:flex-start}.guide-directory-head p{margin:7px 0 0;color:var(--muted);font-size:10px;line-height:1.55}
.guide-topic-list{display:flex;flex-direction:column;gap:10px}
.guide-topic{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}
.guide-topic>summary{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:14px;padding:17px 20px;transition:background .2s}
.guide-topic>summary:hover{background:#fafaf7}.guide-topic>summary>span:nth-child(2){min-width:0}.guide-topic>summary b,.guide-topic>summary small{display:block}.guide-topic>summary b{font-size:13px}.guide-topic>summary small{font-size:9px;color:var(--muted);margin-top:4px;line-height:1.4}.guide-topic>summary>i{font-style:normal;font-size:21px;color:#8c948f;transition:transform .2s}.guide-topic[open]>summary>i{transform:rotate(45deg);color:var(--purple)}
.guide-topic-icon{width:44px;height:44px;border-radius:13px;display:grid!important;place-items:center;font-size:18px;font-weight:800}.guide-topic-icon.violet{background:var(--purple-soft);color:var(--purple)}.guide-topic-icon.blue{background:#e2eaf4;color:#526d8d}.guide-topic-icon.green{background:#e1efe4;color:#4d815d}.guide-topic-icon.red{background:#f8dfdb;color:#a44e42}.guide-topic-icon.orange{background:#f7e6d7;color:#a36d44}.guide-topic-icon.cyan{background:#deedef;color:#4d7980}.guide-topic-icon.pink{background:#f4e1e9;color:#9d5873}.guide-topic-icon.navy{background:#e1e5ed;color:#58657d}
.guide-topic-content{border-top:1px solid var(--line);padding:25px 28px 28px;color:#5f6964;font-size:11px;line-height:1.7}
.guide-topic-content h3{font-family:Manrope,Arial,sans-serif;color:var(--ink);font-size:12px;margin:0 0 9px}.guide-topic-content h4{color:var(--ink);font-size:10px;margin:17px 0 7px}.guide-topic-content p{margin:0 0 10px}.guide-topic-content ul,.guide-topic-content ol{margin:7px 0 0;padding-left:19px}.guide-topic-content li{padding-left:3px;margin:5px 0}.guide-topic-content a{color:var(--purple-dark)}
.guide-callout{background:#edf4ea;border:1px solid #d8e7d4;border-radius:14px;padding:16px 18px;margin-bottom:18px}.guide-callout.warning{background:#fbf0df;border-color:#f0dfc4}.guide-callout>b{display:block;color:var(--ink);font-size:12px;margin-bottom:4px}.guide-callout p{margin:0}.guide-contact-line{display:flex;gap:14px;flex-wrap:wrap;margin-top:8px}.guide-contact-line a{font-weight:800;text-decoration:none}
.guide-columns,.guide-age-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:15px 0}.guide-columns>section,.guide-age-grid>section{min-width:0;background:#f8f8f5;border:1px solid #eceee8;border-radius:14px;padding:17px 18px}
.guide-step-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.guide-step-grid section{position:relative;padding:17px;background:#f8f8f5;border:1px solid #eceee8;border-radius:14px}.guide-step-grid section>span{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:var(--purple);color:#fff;font-weight:800;margin-bottom:11px}.guide-step-grid p{font-size:10px;margin:0}
.age-label{display:inline-block;background:#deede2;color:#4b7958;border-radius:20px;padding:5px 9px;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin-bottom:11px}.age-label.adult{background:#e7e1f1;color:#655080}
.guide-note{background:#f0edf5;border-left:3px solid var(--purple);border-radius:4px 12px 12px 4px;padding:13px 15px;margin:16px 0}.guide-source-row{display:flex;gap:8px;flex-wrap:wrap}.guide-source{display:inline-block;margin-top:7px;padding:7px 10px;border-radius:9px;background:#f2f1ed;text-decoration:none;font-size:9px;font-weight:800}.guide-source:hover{background:var(--purple-soft)}
.guide-route-button{border:0;background:transparent;color:var(--purple)!important;font-size:10px;font-weight:800;padding:8px 0;cursor:pointer;text-decoration:none}.guide-route-button:hover{text-decoration:underline}
.emergency-number-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:17px}.emergency-number-grid a{display:flex;flex-direction:column;align-items:center;padding:14px;border-radius:13px;background:#fae6e2;text-decoration:none}.emergency-number-grid b{font-size:20px;color:#8f443b}.emergency-number-grid span{font-size:8px;color:#95655e}
.guide-footer-note{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:15px;padding:20px 22px;margin-top:20px;border-radius:17px;background:#e1ece0}.guide-footer-note>span{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#4e7657;font-family:Prata,serif;font-size:20px}.guide-footer-note p{font-size:10px;line-height:1.55;color:#637069;margin:0}.guide-footer-note p b{display:block;color:var(--ink);font-size:11px}

@media(max-width:980px){.guide-contact-grid{grid-template-columns:1fr 1fr}.guide-step-grid{grid-template-columns:1fr}.guide-art{margin-right:20px}}
@media(max-width:700px){.guide-hero-detailed{align-items:flex-start;min-height:0;padding:30px 23px}.guide-hero-detailed .guide-art{display:none}.guide-hero-detailed h1{font-size:31px}.guide-hero-detailed p{line-height:1.6}.guide-checklist-shell>summary{padding:20px}.guide-checklist-shell>summary h2{font-size:23px}.guide-summary-side{align-items:flex-end;flex-direction:column;gap:3px}.guide-checklist{grid-template-columns:1fr;padding:0 18px 10px}.guide-checklist label:nth-last-child(2){border-bottom:1px solid var(--line)}.guide-contact-grid{grid-template-columns:1fr;margin-bottom:30px}.guide-topic>summary{grid-template-columns:40px minmax(0,1fr) auto;gap:10px;padding:15px 14px}.guide-topic-icon{width:39px;height:39px}.guide-topic>summary b{font-size:11px}.guide-topic>summary small{font-size:8px}.guide-topic-content{padding:20px 16px 22px;font-size:10px}.guide-columns,.guide-age-grid{grid-template-columns:1fr}.emergency-number-grid{grid-template-columns:1fr 1fr}.guide-footer-note{grid-template-columns:38px 1fr;padding:17px}.guide-footer-note .button{grid-column:1/-1;width:100%}.guide-source-row{flex-direction:column;align-items:flex-start}}

/* Центр персональных уведомлений. */
.notification-button i[hidden]{display:none}
.notifications-modal{width:min(760px,100%)}
.notification-permission{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;margin:4px 0 17px;padding:10px 12px;border-radius:12px;background:#f2f0f6;color:#6f6878;font-size:9px;line-height:1.45}
.notification-permission:empty{display:none}.notification-permission .enabled{color:#477659;font-weight:800}.notification-permission .button{flex:0 0 auto;padding:9px 13px}
.notification-sections{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.notification-section{min-width:0;border:1px solid var(--line);border-radius:16px;padding:16px;background:#fbfbf8}
.notification-section-head{display:flex;align-items:center;gap:11px;padding-bottom:13px;border-bottom:1px solid var(--line)}
.notification-section-icon{width:38px;height:38px;flex:0 0 auto;border-radius:11px;display:grid;place-items:center;font-size:17px;font-weight:800}.notification-section-icon.laundry{background:var(--purple-soft);color:var(--purple)}.notification-section-icon.events{background:#f5e0d2;color:#9b6345}
.notification-section-head h3,.notification-section-head p{margin:0}.notification-section-head h3{font-family:Prata,Georgia,serif;font-size:16px;font-weight:400}.notification-section-head p{font-size:8px;line-height:1.4;color:var(--muted);margin-top:3px}
.notification-list{display:flex;flex-direction:column;gap:7px;margin-top:10px;max-height:330px;overflow:auto;scrollbar-width:thin}
.notification-item{display:grid;grid-template-columns:8px minmax(0,1fr);gap:9px;padding:11px;border-radius:11px;background:#fff;border:1px solid #eceee8}.notification-item>span{width:7px;height:7px;margin-top:4px;border-radius:50%;background:var(--purple)}.notification-item b,.notification-item p,.notification-item small{display:block;margin:0}.notification-item b{font-size:10px;line-height:1.35}.notification-item p{font-size:8px;line-height:1.45;color:#68736d;margin-top:4px}.notification-item small{font-size:7px;color:#9aa19d;margin-top:5px}
.notification-empty{display:flex;align-items:center;gap:10px;min-height:82px;padding:13px;color:var(--muted)}.notification-empty>span{width:32px;height:32px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;background:#e5eee4;color:#4e785b;font-weight:800}.notification-empty b,.notification-empty p{display:block;margin:0}.notification-empty b{font-size:10px;color:var(--ink)}.notification-empty p{font-size:8px;line-height:1.45;margin-top:3px}
.event-copy .button.joined{background:#547861;color:#fff}

@media(max-width:700px){.notifications-modal{padding:28px 18px}.notification-permission{align-items:stretch;flex-direction:column}.notification-permission .button{width:100%}.notification-sections{grid-template-columns:1fr}.notification-list{max-height:230px}}

/* Живое сообщество: события и комментарии. */
.community-events-panel{margin-bottom:20px;padding:25px;background:linear-gradient(135deg,#f3e6dc 0%,#f7eee7 58%,#e6eee2 100%)}
.community-layout>div,.community-layout .feed{min-width:0}
.community-events-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:17px}.community-events-head h2{margin:5px 0 4px}.community-events-head p{margin:0;color:#756d67;font-size:10px}.community-events-note{max-width:190px;padding:8px 11px;border-radius:20px;background:rgba(255,255,255,.7);font-size:8px;line-height:1.4;color:#776d67;text-align:center}
.community-event-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.community-event-card{position:relative;min-width:0;border:1px solid rgba(110,95,82,.12);border-radius:16px;background:rgba(255,255,255,.84);padding:16px;text-align:left;cursor:pointer;transition:.2s;overflow:hidden}.community-event-card:hover{transform:translateY(-3px);box-shadow:0 12px 25px rgba(75,61,52,.12)}.community-event-card.joined{box-shadow:inset 0 0 0 2px var(--purple)}
.community-event-symbol{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#efe8f7;font-size:21px;margin-bottom:15px}.community-event-card.sport .community-event-symbol{background:#e2efe3}.community-event-card.study .community-event-symbol{background:#e2ecef}
.community-event-date{position:absolute;right:15px;top:14px;text-align:right}.community-event-date b,.community-event-date small{display:block}.community-event-date b{font-family:Prata,Georgia,serif;font-size:18px;font-weight:400}.community-event-date small{font-size:7px;color:#8e857e;margin-top:1px}
.community-event-card h3{font-family:Prata,Georgia,serif;font-size:17px;font-weight:400;margin:0 0 5px}.community-event-card p{height:29px;margin:0;color:#7c746f;font-size:8px;line-height:1.45}.community-event-status{display:inline-block;margin-top:12px;padding:5px 8px;border-radius:12px;background:#f0eee9;color:#736c68;font-size:7px;font-weight:800}.community-event-card.joined .community-event-status{background:var(--purple-soft);color:var(--purple)}.community-event-card>i{position:absolute;right:15px;bottom:19px;font-style:normal;font-size:8px;font-weight:800;color:var(--purple)}
.community-rules-card{background:#e5eee1}.community-rules-icon{width:43px;height:43px;border-radius:13px;background:#fff;display:grid;place-items:center;font-size:20px;color:#55775c}.community-rules-card h3{font-size:21px;margin:13px 0 9px}.community-rules-card ul{padding-left:17px;margin:0;color:#607067;font-size:9px;line-height:1.8}.community-rules-card p{margin:11px 0 0;padding-top:11px;border-top:1px solid rgba(75,105,83,.12);color:#78857d;font-size:8px;line-height:1.55}
.post-actions{justify-content:flex-start}.post-actions button{padding:4px 0}.post-actions button[data-comment]{color:#66547e}.post-actions button[data-comment]:hover{text-decoration:underline}
.comments-modal{width:min(650px,100%)}.commented-post{margin:15px 0;padding:15px;border-radius:14px;background:#f6f4f0}.commented-post .post-head{margin-bottom:11px}.commented-post>p{margin:0;font-size:11px;line-height:1.55;color:#515b56}
.comments-list{display:flex;flex-direction:column;gap:9px;max-height:280px;overflow:auto;padding-right:4px;margin:12px 0;scrollbar-width:thin}.comment-item{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;padding:12px;border-bottom:1px solid var(--line)}.comment-item>.avatar{width:36px;height:36px}.comment-item header{display:flex;align-items:center;justify-content:space-between;gap:10px}.comment-item header b{font-size:10px}.comment-item header small{font-size:7px;color:#929a96}.comment-item p{font-size:10px;line-height:1.55;color:#59635e;margin:6px 0 0}.comments-empty{display:flex;align-items:center;gap:11px;padding:22px;border:1px dashed #d9dcd4;border-radius:13px}.comments-empty>span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#eee9f4;color:var(--purple)}.comments-empty b,.comments-empty p{display:block;margin:0}.comments-empty b{font-size:10px}.comments-empty p{font-size:8px;color:var(--muted);margin-top:3px}
.comments-modal form{padding-top:5px;border-top:1px solid var(--line)}.comments-modal form>label{margin:13px 0 8px}.comments-modal textarea{min-height:76px}.comment-form-footer{display:flex;align-items:center;justify-content:space-between;gap:14px}.comment-form-footer small{font-size:8px;color:var(--muted)}
.event-detail-modal{width:min(620px,100%)}.event-modal-cover{height:125px;margin:-35px -35px 24px;border-radius:25px 25px 17px 17px;background:linear-gradient(135deg,#e9dff2,#f2ddd0);display:grid;place-items:center}.event-modal-cover.sport{background:linear-gradient(135deg,#dcecdf,#e5eee1)}.event-modal-cover.study{background:linear-gradient(135deg,#dcebed,#e8e4f1)}.event-modal-cover>span{font-size:58px;filter:drop-shadow(0 8px 10px rgba(45,50,47,.12))}.event-modal-facts{display:grid;grid-template-columns:1.1fr 1fr .7fr;gap:8px;margin:19px 0}.event-modal-facts>div{padding:12px;border-radius:12px;background:#f6f6f2}.event-modal-facts small,.event-modal-facts b{display:block}.event-modal-facts small{font-size:7px;color:var(--muted);margin-bottom:4px}.event-modal-facts b{font-size:9px;line-height:1.4}.event-modal-actions{margin-top:17px}.event-modal-actions small{display:block;text-align:center;color:var(--muted);font-size:8px;line-height:1.45;margin-top:8px}.event-modal-actions .button.cancel{background:#f2e6e2;color:#9b5046}

@media(max-width:980px){.community-event-grid{grid-template-columns:1fr 1fr}.community-event-card:last-child{grid-column:1/-1}.community-layout{grid-template-columns:1fr}.community-aside{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.community-events-panel{padding:19px 15px}.community-events-head{align-items:flex-start;flex-direction:column;gap:10px}.community-events-note{max-width:none;text-align:left}.community-event-grid{grid-template-columns:1fr}.community-event-card:last-child{grid-column:auto}.community-aside{grid-template-columns:1fr}.comments-modal,.event-detail-modal{padding:28px 18px}.comment-form-footer{align-items:stretch;flex-direction:column}.comment-form-footer .button{width:100%}.event-modal-cover{height:105px;margin:-28px -18px 22px}.event-modal-facts{grid-template-columns:1fr}.comments-list{max-height:240px}}

/* Главная: единая сводка планов и событий. */
.home-plans-panel{margin-top:35px;padding:27px}.home-plans-head{align-items:flex-end}.home-plans-head p{margin:6px 0 0;color:var(--muted);font-size:9px}
.home-plan-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:19px}.home-plan-card{position:relative;min-width:0;border:1px solid var(--line);border-radius:15px;background:#f8f8f5;padding:14px 14px 14px 56px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;text-align:left;cursor:pointer;transition:.2s}.home-plan-card:hover{transform:translateY(-2px);background:#fff;box-shadow:0 9px 20px rgba(50,55,51,.08)}.home-plan-card.event{background:#faf3ed}.home-plan-card.event:hover{background:#fff}
.home-plan-icon{position:absolute;left:13px;top:14px;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--purple-soft);color:var(--purple);font-size:16px}.home-plan-card.event .home-plan-icon{background:#f4dfd2}.home-plan-card>div{min-width:0}.home-plan-card small,.home-plan-card b,.home-plan-card p{display:block;margin:0}.home-plan-card small{font-size:7px;color:var(--purple);font-weight:800;text-transform:uppercase;letter-spacing:.05em}.home-plan-card b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}.home-plan-card p{font-size:8px;color:#818985;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}.home-plan-card time{font-size:8px;color:#666f6a;white-space:nowrap}.home-plan-card>i{position:absolute;right:13px;bottom:12px;font-style:normal;color:var(--purple);font-size:11px}
.home-plans-empty{grid-column:1/-1;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px;border:1px dashed #d7dbd4;border-radius:14px}.home-plans-empty>span{width:38px;height:38px;border-radius:11px;background:#ede8f3;display:grid;place-items:center;color:var(--purple)}.home-plans-empty b,.home-plans-empty p{display:block;margin:0}.home-plans-empty b{font-size:10px}.home-plans-empty p{font-size:8px;color:var(--muted);margin-top:3px}
.home-events-panel{margin-top:16px;padding:27px;background:linear-gradient(135deg,#f3e4d9 0%,#f6ece4 52%,#e2ece0 100%)}.home-events-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:17px}.home-events-head h2{margin:6px 0 4px}.home-events-head p{margin:0;color:#766f69;font-size:9px}.home-event-grid .community-event-card{background:rgba(255,255,255,.88)}

@media(max-width:980px){.home-plan-list{grid-template-columns:1fr 1fr}.home-events-panel .community-event-grid{grid-template-columns:1fr 1fr}.home-events-panel .community-event-card:last-child{grid-column:1/-1}}
@media(max-width:700px){.home-plans-panel,.home-events-panel{padding:21px 16px}.home-plans-panel{margin-top:20px}.home-plans-head,.home-events-head{align-items:flex-start;flex-direction:column;gap:10px}.home-plan-list{grid-template-columns:1fr}.home-plans-empty{grid-template-columns:38px 1fr}.home-plans-empty .text-button{grid-column:1/-1;text-align:left}.home-events-panel .community-event-grid{grid-template-columns:1fr}.home-events-panel .community-event-card:last-child{grid-column:auto}.home-plan-card{padding-right:13px}.home-plan-card>i{display:none}}

/* Светлая мобильная навигация в палитре сервиса. */
@media(max-width:980px){
  .page{padding-bottom:118px}
  .mobile-nav{bottom:max(10px,env(safe-area-inset-bottom));width:min(500px,calc(100% - 24px));min-height:72px;padding:7px;background:rgba(255,255,252,.94);border:1px solid rgba(120,100,170,.16);border-radius:23px;justify-content:stretch;gap:3px;box-shadow:0 16px 42px rgba(50,61,55,.18),0 3px 12px rgba(120,100,170,.08);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
  .mobile-nav button{position:relative;flex:1;min-width:0;min-height:56px;padding:5px 2px;border-radius:17px;color:#7b8580;font-size:0;line-height:1;gap:3px;transition:background .2s,color .2s,transform .2s}
  .mobile-nav button span{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;font-size:0;transition:background .2s,transform .2s,box-shadow .2s}
  .mobile-nav button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .mobile-nav button b{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:8px;font-weight:800;line-height:1.15;white-space:nowrap}
  .mobile-nav button:hover{background:#f7f5f9;color:var(--purple-dark)}
  .mobile-nav button:active{transform:scale(.96)}
  .mobile-nav button.active{background:var(--purple-soft);color:var(--purple-dark)}
  .mobile-nav button.active span{background:var(--purple);color:#fff;box-shadow:0 5px 13px rgba(120,100,170,.25);transform:translateY(-1px)}
  .mobile-nav button:focus-visible{outline:2px solid var(--purple);outline-offset:2px}
  .toast{bottom:calc(98px + env(safe-area-inset-bottom))}
}
@media(max-width:380px){.mobile-nav{width:calc(100% - 16px);padding:6px;gap:1px}.mobile-nav button{min-height:54px}.mobile-nav button span{width:28px;height:28px}.mobile-nav button b{font-size:7px}}

/* Автор проекта и конкурсный контекст. */
.site-footer{width:min(1320px,calc(100% - 56px));margin:0 auto 32px;padding:27px 30px;border:1px solid rgba(120,100,170,.12);border-radius:25px;background:linear-gradient(135deg,#eee9f8 0%,#f7e9df 53%,#dcece1 100%);color:var(--ink);display:grid;grid-template-columns:1.15fr 1fr auto;align-items:center;gap:34px;box-shadow:0 16px 40px rgba(55,65,59,.09)}
.footer-author{display:flex;align-items:center;gap:16px;min-width:0}.footer-mark{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;flex:0 0 auto;background:var(--purple);color:#fff;font-family:Prata,Georgia,serif;font-size:16px;box-shadow:0 8px 18px rgba(120,100,170,.2)}.footer-author small{display:block;margin-bottom:5px;color:var(--purple);font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.13em}.footer-author h2{margin:0;font-family:Prata,Georgia,serif;font-size:20px;font-weight:400}.footer-author p{margin:6px 0 0;color:#69756f;font-size:9px}
.footer-purpose{padding-left:28px;border-left:1px solid rgba(37,50,46,.12)}.footer-purpose>p{max-width:470px;margin:0;color:#53615b;font-size:10px;line-height:1.65}.footer-purpose>div{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.footer-purpose span,.footer-purpose strong{padding:6px 9px;border-radius:20px;font-size:8px}.footer-purpose span{background:rgba(255,255,255,.62);color:#3f795b}.footer-purpose strong{background:rgba(255,255,255,.62);color:var(--purple-dark)}
.footer-story-link{min-width:205px;border:1px solid rgba(120,100,170,.13);border-radius:15px;background:rgba(255,255,255,.86);color:var(--ink);padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:15px;text-decoration:none;font-size:10px;font-weight:800;box-shadow:0 8px 20px rgba(70,66,75,.07);transition:transform .2s,box-shadow .2s,background .2s}.footer-story-link i{width:27px;height:27px;border-radius:9px;background:var(--purple-soft);color:var(--purple);display:grid;place-items:center;font-size:15px;font-style:normal}.footer-story-link:hover{transform:translateY(-2px);background:#fff;box-shadow:0 11px 24px rgba(70,66,75,.12)}.footer-story-link:focus-visible{outline:2px solid var(--purple);outline-offset:3px}
@media(max-width:980px){.page{padding-bottom:45px}.site-footer{width:min(calc(100% - 30px),800px);margin-bottom:calc(102px + env(safe-area-inset-bottom));grid-template-columns:1fr 1fr}.footer-story-link{grid-column:1/-1}.footer-purpose{padding-left:22px}}
@media(max-width:700px){.site-footer{padding:24px 20px;grid-template-columns:1fr;gap:21px;border-radius:22px}.footer-author{align-items:flex-start}.footer-mark{width:46px;height:46px;border-radius:14px}.footer-author h2{font-size:18px;line-height:1.35}.footer-author p{line-height:1.55}.footer-purpose{padding:19px 0 0;border-left:0;border-top:1px solid rgba(37,50,46,.12)}.footer-purpose>p{font-size:9px}.footer-story-link{grid-column:auto;width:100%;min-width:0}}
