:root{--bg:#f3f6f4;--card:#fff;--text:#0f1b15;--muted:#6e7a73;--green:#158b4b;--green2:#0f6f3b;--line:#e3e9e5;--soft:#eef7f1;--danger:#dc4b4b;--shadow:0 10px 30px rgba(21,44,30,.08);--appw:520px}
*{box-sizing:border-box;min-width:0}html{width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%;touch-action:manipulation}body{margin:0;width:100%;min-height:100dvh;overflow-x:hidden;background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif;color:var(--text)}button,input,select,textarea{font:inherit}.app{width:100%;max-width:var(--appw);margin:0 auto;min-height:100dvh;background:var(--bg);padding-top:env(safe-area-inset-top);padding-bottom:calc(86px + env(safe-area-inset-bottom));overflow-x:clip}.minw0{min-width:0}.ellipsis{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tiny{font-size:12px}.mt10{margin-top:10px}.mb12{margin-bottom:12px}
.hero{min-height:325px;margin:14px 14px 0;border-radius:28px;overflow:hidden;position:relative;background:linear-gradient(180deg,rgba(5,23,14,.10),rgba(4,18,11,.68)),url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1200&q=80') center/cover;box-shadow:var(--shadow)}.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.58))}.hero-inner{position:relative;z-index:1;padding:24px;color:white;height:100%;display:flex;flex-direction:column;justify-content:space-between;min-height:325px}.hero h1{font-size:34px;line-height:1.02;margin:10px 0 8px}.hero .quote{font-size:13px;max-width:220px}.hero .btn{border:1px solid rgba(255,255,255,.4)}
.btn{border:0;border-radius:16px;padding:14px 16px;font-weight:700;font-size:16px;cursor:pointer;min-height:48px}.btn:disabled{opacity:.55}.btn-primary{background:var(--green);color:white;box-shadow:0 6px 16px rgba(21,139,75,.25)}.btn-secondary{background:#eef2ef;color:var(--text)}.btn-outline{background:white;border:1px solid var(--green);color:var(--green)}.btn.full{width:100%}.mini-btn{border:0;background:var(--soft);color:var(--green2);padding:9px 11px;border-radius:12px;font-weight:700;font-size:12px}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px}.tile{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:16px;box-shadow:var(--shadow);overflow:hidden}.tile .icon{font-size:24px;margin-bottom:8px}.tile strong{display:block;font-size:14px}.tile small{display:block;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.section,.form{padding:12px 14px}.card{width:100%;background:var(--card);border:1px solid var(--line);border-radius:20px;padding:15px;box-shadow:var(--shadow);margin-bottom:12px;overflow:hidden}.row{display:flex;align-items:center;gap:10px}.row.space{justify-content:space-between}.muted{color:var(--muted)}.chip{display:inline-flex;align-items:center;gap:6px;background:var(--soft);color:var(--green2);border-radius:999px;padding:7px 10px;font-size:13px;font-weight:600;max-width:100%}.chips{display:flex;gap:8px;flex-wrap:wrap}
.topbar{position:sticky;top:0;z-index:20;background:rgba(243,246,244,.93);backdrop-filter:blur(16px);padding:12px 14px 10px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid rgba(227,233,229,.7)}.topbar h1{font-size:22px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-title{flex:1;min-width:0}.iconbtn{flex:0 0 auto;width:40px;height:40px;border:0;border-radius:13px;background:white;box-shadow:var(--shadow);font-size:18px}.iconbtn.small{width:34px;height:34px;font-size:15px}.iconbtn.danger{color:var(--danger)}
.nav{position:fixed;left:50%;transform:translateX(-50%);bottom:0;z-index:30;width:100%;max-width:var(--appw);background:rgba(255,255,255,.96);backdrop-filter:blur(18px);border-top:1px solid var(--line);padding:8px 8px calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.nav button{min-width:0;border:0;background:transparent;font-size:11px;color:#657168;padding:6px 1px}.nav button.active{color:var(--green);font-weight:700}.nav .ico{display:block;font-size:20px;margin-bottom:3px}
.label{font-size:13px;font-weight:700;margin:14px 0 7px}.input,.select,.textarea{display:block;width:100%;max-width:100%;border:1px solid var(--line);background:white;border-radius:15px;padding:14px;font-size:16px;color:var(--text);outline:none}.input:focus,.select:focus,.textarea:focus{border-color:#8ac6a3;box-shadow:0 0 0 3px rgba(21,139,75,.08)}.textarea{min-height:86px;resize:vertical}.seg{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#e9eeeb;padding:4px;border-radius:14px;gap:4px}.seg button{min-width:0;border:0;border-radius:10px;padding:9px 4px;background:transparent;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seg button.active{background:white;color:var(--green);font-weight:700;box-shadow:0 2px 8px rgba(0,0,0,.06)}.form-grid.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.statbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}.stat{min-width:0;background:white;border:1px solid var(--line);border-radius:15px;padding:11px 6px;text-align:center;overflow:hidden}.stat b{font-size:17px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat small{display:block;color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.timeline{padding:0 14px}.event{display:grid;grid-template-columns:48px 34px minmax(0,1fr);gap:8px;align-items:start;padding:10px 0;border-bottom:1px solid var(--line)}.event .time{font-size:12px;color:var(--muted);padding-top:4px}.event .bubble{width:30px;height:30px;border-radius:10px;background:var(--soft);display:flex;align-items:center;justify-content:center}.event strong{font-size:14px}.event small{display:block;color:var(--muted);margin-top:3px;overflow-wrap:anywhere}.event.catch .bubble{background:#e6f7ec}.event.warn .bubble{background:#fff0f0}.fabbar{position:sticky;bottom:76px;padding:12px 14px;background:linear-gradient(180deg,rgba(243,246,244,0),rgba(243,246,244,.96) 34%);display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:10px}
.real-map{width:100%;background:#dfe9e2;overflow:hidden}.small-map{height:230px;border-radius:16px}.main-map{height:calc(100dvh - 152px);min-height:430px}.map-card{padding:10px}.map-actions{display:flex;gap:8px;padding-top:10px}.map-actions .btn{width:100%;min-height:44px;font-size:14px}.location-summary{padding:11px 4px 2px}.location-summary b,.location-summary div{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map-page{position:relative}.map-bottom{position:absolute;left:14px;right:14px;bottom:12px;z-index:8}.map-bottom .card{margin:0;max-height:220px;overflow:auto}.map-trip-row{display:grid;grid-template-columns:26px minmax(0,1fr);gap:8px;padding:9px 0;border-top:1px solid var(--line)}.map-trip-row small{display:block;color:var(--muted);margin-top:2px}.map-error{height:100%;display:flex;align-items:center;justify-content:center;padding:20px;text-align:center;color:var(--muted)}
.gear-card h3{margin:8px 0 3px;font-size:17px}.gear-card p{margin:8px 0;color:var(--muted);font-size:13px;overflow-wrap:anywhere}.gear-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.gear-actions{display:flex;gap:6px}.list-row{padding:10px 0;border-bottom:1px solid var(--line)}
.hidden{display:none!important}.sheet-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.32);z-index:60;display:flex;align-items:flex-end;justify-content:center}.sheet{width:100%;max-width:var(--appw);background:white;border-radius:26px 26px 0 0;padding:18px 16px calc(18px + env(safe-area-inset-bottom));max-height:90dvh;overflow-y:auto;overflow-x:hidden}.sheet h2{margin:0 0 8px}.handle{width:46px;height:5px;background:#dce2de;border-radius:99px;margin:0 auto 14px}.species{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.species button{min-width:0;border:1px solid var(--line);background:white;border-radius:14px;padding:12px 5px;font-size:12px;overflow:hidden;text-overflow:ellipsis}.species button.active{border-color:var(--green);background:var(--soft)}
.reportHero{height:220px;border-radius:0 0 28px 28px;background:linear-gradient(180deg,rgba(4,20,11,.10),rgba(4,20,11,.66)),url('https://images.unsplash.com/photo-1510137600163-2729bc6959a6?auto=format&fit=crop&w=1200&q=80') center/cover;color:white;padding:24px 20px 20px;display:flex;flex-direction:column;justify-content:flex-end;position:relative}.reportHero h1{margin:0;font-size:28px}.reportHero p{margin:7px 0 0;color:#e7eee9}.report-back{position:absolute;top:14px;left:14px}
.assistant-page{padding:12px 14px 100px}.context-card{background:var(--soft);border:1px solid #d7ebdf;border-radius:16px;padding:12px;margin-bottom:10px}.assistant-thread{display:flex;flex-direction:column;gap:8px}.assistant-msg{max-width:88%;padding:12px 14px;border-radius:18px;background:white;border:1px solid var(--line);line-height:1.4;overflow-wrap:anywhere}.assistant-msg.me{align-self:flex-end;background:var(--green);color:white;border-color:var(--green)}.assistant-compose{position:sticky;bottom:75px;background:linear-gradient(180deg,rgba(243,246,244,0),var(--bg) 20%);padding-top:24px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.assistant-compose .textarea{min-height:52px;max-height:120px}.assistant-compose .btn{min-height:52px}.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(96px + env(safe-area-inset-bottom));z-index:100;width:calc(100% - 32px);max-width:480px;background:#16251c;color:white;padding:12px 16px;border-radius:14px;text-align:center;box-shadow:0 10px 30px rgba(0,0,0,.22);font-size:14px}
@media(max-width:370px){.hero h1{font-size:30px}.section,.form,.timeline{padding-left:10px;padding-right:10px}.grid{padding:10px}.seg button{font-size:11px}.stat b{font-size:15px}.form-grid.two{grid-template-columns:1fr}}
@media(min-width:700px){body{padding:24px}.app{border-radius:30px;overflow:hidden;box-shadow:0 25px 70px rgba(0,0,0,.12);min-height:900px}.nav{bottom:24px;border-radius:0 0 30px 30px}.map-page{overflow:hidden}.main-map{height:780px}}

/* MosFish v0.3 fixes */
html,body{width:100%;max-width:100vw;min-width:0;overflow-x:hidden;overscroll-behavior-x:none;touch-action:pan-x pan-y;-webkit-text-size-adjust:100%}
body{position:relative}
.app{width:100%;max-width:var(--appw);min-width:0;overflow-x:hidden}
.app>*{max-width:100%}
.normal{font-weight:400}
.map-loading{height:100%;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:14px}
.gear-picks{display:grid;gap:8px;width:100%}.gear-pick{display:grid;grid-template-columns:auto minmax(0,1fr) 26px;gap:10px;align-items:center;width:100%;background:#fff;border:1px solid var(--line);border-radius:15px;padding:12px;cursor:pointer;overflow:hidden}.gear-pick input{width:20px;height:20px;accent-color:var(--green);margin:0}.gear-pick span{min-width:0}.gear-pick b,.gear-pick small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gear-pick small{color:var(--muted);font-size:11px;margin-top:3px}.gear-pick i{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#edf3ef;color:#a5b1aa;font-style:normal;font-size:12px}.gear-pick:has(input:checked){border-color:#86c99f;background:var(--soft)}.gear-pick:has(input:checked) i{background:var(--green);color:#fff}
.active-rods{display:grid;gap:8px;margin-top:10px}.active-rod{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:10px 0;border-top:1px solid var(--line)}.active-rod small{display:block;color:var(--muted);font-size:11px;margin-top:3px;overflow-wrap:anywhere}
.card-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:10px}.card-actions .btn{min-height:44px;padding:11px 13px;font-size:14px}.btn-danger{background:#fff1f1;color:#b42318;border:1px solid #ffd4d1}
.fabbar.three{grid-template-columns:minmax(0,1.15fr) minmax(0,.9fr) minmax(0,.9fr)}.fabbar.three .btn{padding-left:8px;padding-right:8px;font-size:13px}
.real-map{position:relative;isolation:isolate;max-width:100%;touch-action:pan-x pan-y}.real-map>ymaps{max-width:none!important}.leaflet-container{font-family:inherit}.leaflet-control-attribution{font-size:9px!important}
@media(max-width:390px){.fabbar.three{gap:6px;padding-left:10px;padding-right:10px}.fabbar.three .btn{font-size:12px}.card-actions{grid-template-columns:1fr}.card-actions .btn{width:100%}}
/* v0.4 */
.map-loading{height:100%;display:flex;align-items:center;justify-content:center;padding:20px;text-align:center;color:var(--muted)}
.event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.event-grid button{min-width:0;border:1px solid var(--line);background:white;border-radius:14px;padding:11px 8px;font-size:12px;line-height:1.2}
.event-grid button.active{border-color:var(--green);background:var(--soft);color:var(--green);font-weight:700}
.unit-input{position:relative;width:100%}.unit-input .input{padding-right:42px}.unit-input span{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:var(--muted);font-weight:700;pointer-events:none}
.assistant-prompts{display:flex;gap:7px;overflow-x:auto;padding:0 0 10px;scrollbar-width:none}.assistant-prompts::-webkit-scrollbar{display:none}.assistant-prompts button{flex:0 0 auto;border:1px solid var(--line);background:white;border-radius:999px;padding:9px 11px;font-size:12px;color:var(--text)}

/* v0.5 — карта точек */
.map-page{position:relative;padding-bottom:18px;overflow-x:hidden}
.main-map{height:58dvh;min-height:360px;max-height:610px;border-radius:0 0 22px 22px}
.map-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:8px;padding:10px 14px 6px}
.map-toolbar .btn{min-height:44px;padding:11px 8px;font-size:13px}
.spots-section{padding:8px 14px 18px}
.spots-heading{padding:2px 2px 9px}
.spot-row{display:grid;grid-template-columns:36px minmax(0,1fr) 34px;gap:9px;align-items:center;background:white;border:1px solid var(--line);border-radius:17px;padding:11px 10px;margin-bottom:8px;box-shadow:0 5px 18px rgba(21,44,30,.05)}
.spot-pin{width:34px;height:34px;border-radius:12px;background:var(--soft);display:flex;align-items:center;justify-content:center;font-size:17px}
.spot-row b,.spot-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spot-row small{color:var(--muted);font-size:11px;margin-top:2px}
.spot-meta{font-size:10px;color:var(--muted);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.empty-spots{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;background:white;border:1px dashed #cfdad3;border-radius:18px;padding:24px 15px;color:var(--muted)}
.empty-spots>div{font-size:26px}.empty-spots b{color:var(--text)}.empty-spots span{font-size:12px;max-width:280px}
.map-add-banner{position:absolute;z-index:10;top:10px;left:14px;right:14px;background:rgba(15,27,21,.92);backdrop-filter:blur(10px);color:white;border-radius:16px;padding:10px 11px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;align-items:center;box-shadow:0 8px 25px rgba(0,0,0,.18)}
.map-add-banner b{font-size:13px}.map-add-banner span{grid-column:1;font-size:11px;color:#dfe8e2}.map-add-banner button{grid-column:2;grid-row:1/3;border:0;background:rgba(255,255,255,.14);color:white;border-radius:10px;padding:8px 10px;font-weight:700}
.location-preview{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:center;background:var(--soft);border-radius:15px;padding:11px;margin:10px 0 4px}.location-preview span{font-size:20px}.location-preview b,.location-preview small{display:block}.location-preview small{color:var(--muted);font-size:11px;margin-top:2px}
@media(min-width:700px){.main-map{height:560px;max-height:560px;border-radius:0 0 22px 22px}.map-page{overflow:visible}}
body.sheet-open{overflow:hidden}
.sheet{position:relative}
.sheet-close{position:absolute;right:14px;top:12px;width:34px;height:34px;border:0;border-radius:50%;background:#f1f4f2;font-size:24px;line-height:34px;color:#34423b;z-index:2}


/* v0.6 — отчёты, гео и редактирование */
.stat-click{appearance:none;-webkit-appearance:none;border:0;background:transparent;color:inherit;font:inherit;padding:0;cursor:pointer;width:100%}.stat-click:active{opacity:.65}.report-kv{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr);gap:8px 12px;align-items:start}.report-kv span{color:var(--muted);font-size:12px}.report-kv b{font-size:13px;text-align:right;overflow-wrap:anywhere}.report-kv.compact{margin-top:9px}.report-subtitle{font-weight:700;font-size:13px;margin:16px 0 8px;padding-top:12px;border-top:1px solid var(--line)}.report-gear,.report-catch{padding:12px 0;border-top:1px solid var(--line)}.report-gear:first-of-type,.report-catch:first-of-type{margin-top:8px}.report-events{margin-top:8px}.report-event{display:grid;grid-template-columns:44px 28px minmax(0,1fr);gap:6px;align-items:start;padding:9px 0;border-top:1px solid var(--line)}.report-event-time{font-size:11px;color:var(--muted);padding-top:2px}.report-event-icon{font-size:16px}.report-event b,.report-event small{display:block}.report-event small{font-size:11px;color:var(--muted);margin-top:2px;overflow-wrap:anywhere}
@media(max-width:370px){.report-kv{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:7px 8px}.report-kv b{font-size:12px}}

/* v0.6.1 — редактирование событий */
.event-body{min-width:0}.event-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.event-actions .mini-btn{padding:7px 10px;min-height:32px}.danger-text{background:#fff0f0!important;color:var(--danger)!important}

/* v0.7.0 */
.active-status{white-space:nowrap}
.active-session-actions{display:grid;gap:9px;margin-top:12px}
.reportHero{position:relative}
.report-close{position:absolute;right:14px;top:14px;z-index:2;background:rgba(255,255,255,.92)}

/* v0.8.0 — multi-type fishing + личный кабинет */
.profile-fab{position:absolute;z-index:3;right:16px;top:16px;width:42px;height:42px;border:1px solid rgba(255,255,255,.42);border-radius:50%;background:rgba(255,255,255,.18);backdrop-filter:blur(12px);color:#fff;font-weight:800;font-size:16px;box-shadow:0 8px 20px rgba(0,0,0,.16)}
.seg.multi{display:flex;flex-wrap:wrap;gap:6px;background:transparent;padding:0}.seg.multi button{flex:1 1 calc(33.333% - 6px);min-width:92px;border:1px solid var(--line);background:#fff;padding:11px 8px;border-radius:13px;font-size:13px}.seg.multi button.active{background:var(--soft);border-color:#78c294;color:var(--green2);box-shadow:0 0 0 1px rgba(21,139,75,.08) inset}.type-hint{margin-top:7px}.profile-types{margin-top:12px}
.profile-page{padding-bottom:24px}.profile-card{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:13px}.profile-card h2{margin:0 0 3px;font-size:21px}.profile-avatar{width:58px;height:58px;border-radius:19px;background:linear-gradient(145deg,var(--green),var(--green2));color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:800;box-shadow:0 8px 22px rgba(21,139,75,.22)}.profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.auth-shell{padding-bottom:0}.auth-page{min-height:100dvh;padding:calc(34px + env(safe-area-inset-top)) 16px 28px;display:flex;flex-direction:column;justify-content:center;background:radial-gradient(circle at 50% 0,#e5f5eb 0,rgba(229,245,235,0) 42%),var(--bg)}.auth-brand{text-align:center;margin-bottom:18px}.auth-logo{width:72px;height:72px;margin:0 auto 12px;border-radius:24px;background:var(--green);display:flex;align-items:center;justify-content:center;font-size:34px;box-shadow:0 14px 34px rgba(21,139,75,.25)}.auth-brand h1{margin:0;font-size:34px}.auth-brand p{margin:6px 0 0;color:var(--muted)}.auth-card{max-width:420px;margin:0 auto;width:100%;padding:18px}.auth-error{margin-top:12px;background:#fff0f0;border:1px solid #ffd4d1;color:#a72525;border-radius:12px;padding:10px 12px;font-size:13px}.hidden{display:none!important}.input:disabled{background:#f1f4f2;color:#7a847e}
@media(max-width:370px){.seg.multi button{min-width:78px;font-size:12px}.profile-actions{grid-template-columns:1fr}}

/* v0.8.1 — visual refresh built safely on v0.8 data model */
:root{--bg:#f5f6f0;--card:#fffefa;--text:#10251d;--muted:#6d786f;--green:#174f3d;--green2:#2d6a50;--line:#e3e7df;--soft:#edf2e8;--shadow:0 10px 30px rgba(24,54,42,.08)}
.mf-icon{width:1em;height:1em;display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.nav .mf-icon{width:21px;height:21px;margin:auto}.nav button{border-radius:14px;transition:.18s ease}.nav button.active{background:#e8efe7;color:var(--green)}.nav .ico{height:22px;display:flex;align-items:center;justify-content:center}
.tile{background:linear-gradient(145deg,#fffefa,#f5f7f0);border-color:#e5e9e1;box-shadow:0 7px 22px rgba(25,57,44,.06)}.tile .icon{margin-bottom:10px}.icon-soft{width:42px;height:42px;border-radius:14px;background:#e6eee4;color:var(--green);display:flex;align-items:center;justify-content:center}.icon-soft .mf-icon{width:23px;height:23px}.tile:active .icon-soft{background:var(--green);color:#fff}
.hero{min-height:340px;background:linear-gradient(180deg,rgba(8,30,22,.05),rgba(8,29,21,.68)),url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1200&q=82') center/cover}.hero-inner{min-height:340px}.hero .btn-primary{background:#f9fbf7;color:var(--green);border-color:rgba(255,255,255,.7);font-weight:800}.profile-fab{background:rgba(244,248,242,.92);color:var(--green);border-color:rgba(255,255,255,.8)}
.btn-ai{border:0;background:linear-gradient(135deg,#174f3d,#2d6a50);color:#fff;border-radius:16px;min-height:52px;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:800;box-shadow:0 8px 22px rgba(23,79,61,.18)}.action-icon{width:30px;height:30px;border-radius:10px;background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center}.action-icon .mf-icon{width:18px;height:18px}
.auth-page{justify-content:flex-end;padding:0 16px calc(26px + env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(8,31,23,.02) 25%,rgba(8,31,23,.58) 70%,rgba(8,31,23,.83)),url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1000&q=82') center/cover;min-height:100dvh}.auth-scenery{position:absolute;inset:calc(42px + env(safe-area-inset-top)) 20px auto;text-align:center;color:#f9fbf6;text-shadow:0 2px 18px rgba(0,0,0,.24)}.auth-mark{width:76px;height:76px;border-radius:26px;background:rgba(249,251,246,.9);color:var(--green);display:flex;align-items:center;justify-content:center;margin:0 auto 9px;box-shadow:0 12px 32px rgba(0,0,0,.16)}.auth-mark .mf-icon{width:48px;height:48px}.auth-word{font-size:42px;line-height:1;font-weight:900;letter-spacing:-2.5px}.auth-word span{color:#b9cbb4}.auth-tagline{font-size:14px;font-weight:700;margin-top:8px}.auth-card{position:relative;z-index:2;background:rgba(255,254,250,.95);backdrop-filter:blur(18px);border-color:rgba(255,255,255,.5);box-shadow:0 18px 45px rgba(0,0,0,.22);margin:0 auto 10px}.auth-foot{position:relative;z-index:2;color:#eef4ed;text-align:center;font-size:12px;font-style:italic;margin:3px 0 0}.auth-brand{display:none}
.card{border-color:#e5e9e1}.btn-primary{background:var(--green)}.chip{background:#e8efe7;color:var(--green)}


/* ===== MosFish v0.8.2 design update — visual-only, data schema unchanged ===== */
.home-head{height:62px;display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:10px;padding:10px 16px 0}
.home-avatar,.home-settings{width:38px;height:38px;border:1px solid #dde5dd;border-radius:14px;background:#fffefb;color:#174f40;display:flex;align-items:center;justify-content:center;box-shadow:0 5px 15px rgba(20,55,43,.07)}
.home-avatar .mf-icon,.home-settings .mf-icon{width:21px;height:21px}
.home-brand{display:flex;align-items:center;justify-content:center;gap:7px;font-weight:900;font-size:23px;letter-spacing:-1.2px;color:#123d32}.home-brand img{width:31px;height:31px;border-radius:9px;object-fit:cover}.home-brand>span>span{color:#789176}
.home-greeting{text-align:center;padding:7px 16px 10px}.home-greeting h1{margin:0;font-size:22px;letter-spacing:-.3px}.home-greeting p{margin:4px 0 0;color:var(--muted);font-size:13px}
.hero.hero-v082{min-height:268px;height:268px;margin:0 14px;border-radius:26px;background-image:linear-gradient(180deg,rgba(11,40,32,.02),rgba(11,40,32,.20)),url('assets/home-hero.jpg');background-size:cover;background-position:center;box-shadow:0 12px 28px rgba(20,50,39,.12);overflow:visible}.hero.hero-v082::after{display:none}
.hero-action{position:absolute;z-index:2;left:16px;right:16px;bottom:-25px;min-height:76px;background:rgba(255,254,251,.97);backdrop-filter:blur(12px);border:1px solid rgba(222,229,220,.92);border-radius:20px;box-shadow:0 12px 30px rgba(15,47,38,.13);display:flex;align-items:center;gap:13px;padding:12px 15px;cursor:pointer}.hero-action b,.hero-action small{display:block}.hero-action b{font-size:15px}.hero-action small{color:var(--muted);font-size:12px;margin-top:3px}.hero-plus{width:46px;height:46px;border-radius:50%;background:#174f40;color:#fff;display:flex;align-items:center;justify-content:center;flex:0 0 auto}.hero-plus .mf-icon{width:24px;height:24px}
.home-grid{padding-top:46px;gap:9px}.home-grid .tile{min-height:108px;background:#f9faf6;border-color:#e4e9e1;box-shadow:none;padding:15px}.home-grid .tile .icon{margin-bottom:7px}.home-grid .tile strong{font-size:14px}.home-grid .tile small{font-size:11px;margin-top:3px}.home-grid .icon-key{background:#174f40;color:#fff;box-shadow:0 7px 18px rgba(23,79,64,.18)}.last-trip-card{box-shadow:none}.home-quote{margin:2px 0 6px;padding:16px 18px;border-radius:18px;background:linear-gradient(135deg,#f0f2e9,#fafaf5);font-style:italic;font-size:13px;color:#385048}
.nav button.active{background:#e7eee7;color:#174f40}.nav button.active .ico{transform:translateY(-1px)}
.active-session-section>.chips{margin-bottom:12px}.active-session-section>.card{margin-top:0}
.auth-page.auth-v082{min-height:100dvh;height:100dvh;padding:calc(18px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f4f5ef;position:relative;overflow:hidden}.auth-visual{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,38,29,.06),rgba(10,38,29,.40)),url('assets/login-lake.jpg') center/cover no-repeat}.auth-scenery{position:absolute;z-index:1;top:calc(28px + env(safe-area-inset-top));left:16px;right:16px;text-align:center;color:#fff;text-shadow:0 2px 16px rgba(0,0,0,.22)}.auth-scenery img{width:78px;height:78px;border-radius:22px;object-fit:cover;box-shadow:0 10px 24px rgba(0,0,0,.18)}.auth-word{font-size:31px;line-height:1;font-weight:900;letter-spacing:-1.8px;margin-top:6px}.auth-word span{color:#c0cfbc}.auth-tagline{font-size:12px;font-weight:700;margin-top:4px}.auth-card.auth-card-v082{position:relative;z-index:2;width:100%;max-width:420px;margin:0;background:rgba(255,254,250,.96);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.55);border-radius:24px;padding:19px;box-shadow:0 18px 42px rgba(0,0,0,.20)}.auth-title{text-align:center;font-size:20px;font-weight:850;margin-bottom:10px}.auth-card-v082 .label{margin-top:10px}.auth-foot{position:absolute;z-index:2;bottom:calc(12px + env(safe-area-inset-bottom));left:16px;right:16px;text-align:center;color:#eef4ed;font-size:12px;font-style:italic;text-shadow:0 1px 12px rgba(0,0,0,.22)}
.reportHero.reportHero-v082{height:322px;border-radius:0 0 27px 27px;background-image:linear-gradient(180deg,rgba(4,26,20,.04),rgba(4,26,20,.10)),url('assets/finish-cat.jpg');background-size:cover;background-position:center 38%;box-shadow:0 14px 30px rgba(15,48,38,.12)}.reportHero.reportHero-v082 h1,.reportHero.reportHero-v082 p{display:none}.report-finish-card{position:relative;z-index:4;margin:-31px 14px 0;background:#fffefb;border:1px solid #e0e6df;border-radius:24px;padding:20px 18px 17px;text-align:center;box-shadow:0 12px 28px rgba(15,48,38,.12)}.report-finish-card h1{margin:0;font-size:25px;letter-spacing:-.6px}.report-finish-card p{margin:6px 0 0;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-height:680px){.auth-scenery{top:calc(12px + env(safe-area-inset-top))}.auth-scenery img{width:58px;height:58px}.auth-word{font-size:25px}.auth-tagline{display:none}.auth-card.auth-card-v082{transform:translateY(25px)}}
@media(max-width:370px){.hero.hero-v082{height:245px;min-height:245px}.home-brand{font-size:21px}.reportHero.reportHero-v082{height:292px}}
