*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:#f5f2ea;color:#18323a}a{color:inherit}.hero{background:linear-gradient(135deg,#0f4c5c,#173f5f);color:white;padding:28px max(20px,calc((100vw - 1100px)/2));display:flex;justify-content:space-between;gap:20px;align-items:end}.hero h1{margin:4px 0 8px;font-size:clamp(28px,5vw,52px);line-height:1}.hero p{margin:0;opacity:.9}.eyebrow,.kicker{font-size:12px;letter-spacing:.14em;font-weight:800;text-transform:uppercase}.tabs{position:sticky;top:0;z-index:20;display:flex;gap:8px;overflow:auto;padding:10px max(14px,calc((100vw - 1100px)/2));background:#fff;border-bottom:1px solid #ddd}.tab{border:0;background:#edf1f2;padding:10px 14px;border-radius:999px;font-weight:700;white-space:nowrap}.tab.active{background:#0f4c5c;color:#fff}main{max-width:1100px;margin:auto;padding:18px}.panel{display:none}.panel.active{display:block}.card{background:#fff;border-radius:18px;padding:18px;margin-bottom:16px;box-shadow:0 6px 22px rgba(0,0,0,.06)}.card.accent{background:#e8f1ef;border:1px solid #c8dcd7}.big{font-size:20px}.grid.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.timeline div{display:grid;grid-template-columns:70px 1fr;gap:12px;padding:9px 0;border-bottom:1px dashed #ddd}.timeline b{color:#0f4c5c}.checklist{list-style:none;padding:0}.checklist li{padding:8px 0 8px 28px;position:relative}.checklist li:before{content:"○";position:absolute;left:0}.checklist .done:before{content:"✓";color:#1a7f54;font-weight:900}.lesson{border-left:6px solid #d9902f}.route{display:flex;align-items:center;gap:6px;overflow:auto;padding:20px 4px}.stop{min-width:108px;text-align:center}.stop span{display:grid;place-items:center;width:34px;height:34px;margin:auto;border-radius:50%;background:#d9dee0;font-weight:900}.stop.done span{background:#2a9d8f;color:white}.stop.current span{background:#e9c46a}.stop b,.stop small{display:block;margin-top:5px}.line{height:4px;background:#c9d0d2;min-width:38px;flex:1}.actions{margin-top:14px}.button,.ghost{border:0;border-radius:12px;padding:12px 16px;font-weight:800;cursor:pointer}.button{display:inline-block;background:#0f4c5c;color:#fff;text-decoration:none}.ghost{background:rgba(255,255,255,.14);color:white;border:1px solid rgba(255,255,255,.35)}.day-card{display:grid;grid-template-columns:48px 1fr;gap:14px;background:white;border-radius:16px;padding:16px;margin-bottom:12px}.day-number{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#dde3e5;font-weight:900}.day-card.done .day-number{background:#2a9d8f;color:#fff}.day-card.current .day-number{background:#e9c46a}.lesson-text{color:#6a5531}label{display:block;font-weight:700;margin:10px 0}input,select{width:100%;padding:11px;border:1px solid #cfd8dc;border-radius:10px;margin-top:5px;background:white}.row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.total-card{display:flex;flex-direction:column;justify-content:center}.total-card strong{font-size:44px;color:#0f4c5c}.expense-list>div{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #eee}.challenge{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #eee}.challenge button{border:0;border-radius:10px;padding:8px 10px}.score{font-size:24px;margin-top:16px}.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}.gallery figure{margin:0;background:#f4f5f5;border-radius:12px;overflow:hidden}.gallery img{width:100%;height:160px;object-fit:cover;display:block}.gallery figcaption{padding:8px;font-size:13px}.status{padding:8px 0;font-weight:700}code{background:#eef1f2;padding:2px 5px;border-radius:5px}footer{max-width:1100px;margin:auto;padding:10px 18px 40px;color:#62777c}@media(max-width:720px){.grid.two{grid-template-columns:1fr}.hero{align-items:start;flex-direction:column}.route{align-items:flex-start}.line{margin-top:15px}.row{grid-template-columns:1fr}.big{font-size:18px}}
.photo-pickers{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
.file-button{display:flex;align-items:center;justify-content:center;min-height:52px;padding:12px;border:1px solid #aac1c7;border-radius:12px;background:#eef5f5;color:#0f4c5c;font-weight:800;cursor:pointer;margin:0;text-align:center}
.file-button input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
.selected-photo{font-size:14px;color:#52686e;margin:6px 0 12px;word-break:break-word}
.gallery figure{position:relative}
.delete-photo{width:calc(100% - 16px);margin:0 8px 8px;border:0;border-radius:9px;background:#fff0f0;color:#a32929;padding:8px;font-weight:800;cursor:pointer}
.photo-meta{display:block;color:#6b7d82;margin-top:3px}
@media(max-width:520px){.photo-pickers{grid-template-columns:1fr}}

.photo-pickers.single{grid-template-columns:1fr}.photo-help{font-size:13px;color:#60757a;margin:-2px 0 10px}

[hidden]{display:none!important}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(135deg,#0f4c5c,#173f5f)}.auth-card{width:min(520px,100%)}.profile-buttons{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.profile-button{border:1px solid #c8d8dc;background:#eef5f5;color:#0f4c5c;border-radius:14px;padding:18px;font-size:17px;font-weight:800;cursor:pointer}.link-button{border:0;background:transparent;color:#0f4c5c;text-decoration:underline;padding:10px}.hero-actions{display:flex;gap:8px}.expense-row,.share-row,.admin-profile,.legacy-row{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #eee}.share-row{grid-template-columns:1fr auto}.share-row input{font-size:12px}.share-check{display:block;margin-top:8px;font-weight:700}.share-check input{width:auto;margin-right:5px}.legacy-row{grid-template-columns:70px 1fr auto}.legacy-row img{width:70px;height:55px;object-fit:cover;border-radius:8px}.admin-profile{grid-template-columns:120px 1fr 180px auto}.shared-gallery img{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.photo-help{font-size:13px;color:#60757a}.gallery figure img{background:#e8ecee}@media(max-width:720px){.admin-profile{grid-template-columns:1fr}.profile-buttons{grid-template-columns:1fr}.expense-row{grid-template-columns:1fr auto}.hero-actions{width:100%}}
