:root{--eco-green:#103e30;--eco-lime:#dfffaf;--eco-bg:#f7f5ec;--eco-paper:#fff;--eco-text:#203b33;--eco-muted:#687c74;--eco-line:#dbe6df;--eco-soft:#f4f7f4}
*{box-sizing:border-box}body{margin:0;background:var(--eco-bg);color:var(--eco-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body.heritage-dark{--eco-bg:#10271f;--eco-paper:#19372b;--eco-text:#edf6ed;--eco-muted:#b2c7bb;--eco-line:#365347;--eco-soft:#214334;background:var(--eco-bg);color:var(--eco-text)}[hidden]{display:none!important}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid #79ac46;outline-offset:4px}.app-shell{max-width:none!important;width:auto!important;margin:0 0 0 280px!important;padding:0 36px 35px!important;min-height:100dvh;background:var(--eco-bg);border:0;border-radius:0;box-shadow:none}.eco-sidebar{position:fixed;left:0;top:0;bottom:0;width:280px;background:var(--eco-green);color:#d4e3da;padding:34px 22px 22px;display:flex;flex-direction:column;z-index:30}.eco-logo{display:flex;align-items:center;gap:13px;color:white;text-decoration:none;font-weight:850;font-size:23px;letter-spacing:-.8px}.eco-logo-mark{display:grid;place-items:center;background:#b9ef74;color:var(--eco-green);border:6px solid #cff59c;border-radius:18px;font-size:30px;width:54px;height:54px}.eco-logo small{display:block;font-size:12px;letter-spacing:4px;color:#b9ef74;margin-top:3px}.eco-area{font-size:12px;letter-spacing:3px;color:#8bb29e;margin:34px 10px 16px}.eco-menu{display:grid;gap:9px}.eco-menu button{display:flex;align-items:center;gap:16px;min-height:52px;padding:12px 16px;border:0;background:transparent;border-radius:15px;color:#d4e3da;font-size:15px;text-align:left;font-weight:600;cursor:pointer}.eco-menu button span{font-size:24px;width:25px;text-align:center}.eco-menu button.active{background:#31574a;box-shadow:inset 4px 0 #b9ef74;color:white}.eco-sidebar-note{margin:30px 16px;font-size:14px;line-height:1.9;color:#9abca8}.eco-sidebar-user{margin-top:auto;border-top:1px solid #345c4d;padding-top:18px;display:flex;align-items:center;gap:12px}.eco-sidebar-user strong,.eco-sidebar-user small{display:block}.eco-sidebar-user strong{color:#fff;font-size:14px}.eco-sidebar-user small{font-size:12px;color:#a2bdaf;margin-top:5px}.eco-topbar{height:96px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 -36px 30px;padding:18px 36px;background:var(--eco-paper);border-bottom:1px solid var(--eco-line)}.eco-eyebrow{font-weight:800;font-size:11px;letter-spacing:2.6px;color:#26765a;margin:0 0 8px}.eco-topbar h1{font-size:21px;line-height:1.3;margin:0;letter-spacing:-.6px}.eco-toolbar{display:flex;gap:12px;align-items:center}#eco-network{font-size:12px;color:var(--eco-muted)}.eco-initials{border:0;display:inline-grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:16px;background:var(--eco-lime);color:#103e30;font-size:17px;font-weight:850}.heritage-icon-button{border:1px solid var(--eco-line);background:var(--eco-paper);color:var(--eco-text);border-radius:15px;min-width:44px;height:44px;font-size:23px}.heritage-dashboard{max-width:1450px;margin:auto;display:grid;gap:24px;padding:0}.eco-hero{background:var(--eco-green);color:white;border-radius:28px;padding:38px;display:flex;justify-content:space-between;align-items:center;gap:20px}.eco-hero .eco-eyebrow,.eco-profile-hero .eco-eyebrow{color:#b9ef74}.eco-hero h2{color:white;font-size:clamp(26px,3vw,40px);line-height:1.18;margin:10px 0 14px;max-width:750px;letter-spacing:-1.3px}.eco-hero p{color:#c3d9cc;line-height:1.65;margin-top:0}.eco-hero-copy{font-size:14px}.eco-hero-leaf{font-size:115px;color:#b9ef74;padding:0 30px}.eco-lime{background:var(--eco-lime)!important;color:#103e30!important;border:0!important;margin-top:10px}.eco-lime span{margin-left:20px}.eco-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.eco-stat-grid article{background:var(--eco-paper);border:1px solid var(--eco-line);border-radius:22px;padding:23px;display:flex;flex-direction:column;gap:10px}.eco-stat-grid article>span{font-size:11px;letter-spacing:1.5px;font-weight:800;color:var(--eco-muted)}.eco-stat-grid strong{font-size:25px;line-height:1.3;color:var(--eco-text);overflow-wrap:anywhere}.eco-stat-grid small{color:var(--eco-muted);font-size:12px}.heritage-mission-card,.heritage-info-card,.student-flow-card{background:var(--eco-paper)!important;border:1px solid var(--eco-line)!important;border-radius:24px!important;box-shadow:none!important;color:var(--eco-text)!important;padding:28px!important;margin:0!important}.heritage-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.heritage-section-label{color:#26765a;font-size:11px;font-weight:800;letter-spacing:2px}.heritage-section-heading h2,.heritage-info-card h2{font-size:21px;color:var(--eco-text);margin:7px 0 12px}.eco-points-chip{background:var(--eco-lime);color:#103e30;padding:10px 14px;border-radius:12px;font-weight:800;font-size:13px;white-space:nowrap}.eco-mission-body{display:flex;gap:20px;align-items:center;margin:18px 0 26px}.eco-mission-symbol{background:var(--eco-soft);color:#257151;font-size:39px;min-width:76px;height:76px;border-radius:20px;display:grid;place-items:center}#student-mission-title{font-size:21px;line-height:1.4}#student-mission-summary{color:var(--eco-muted);font-size:15px;line-height:1.6;margin:7px 0}#student-mission-evidence{font-size:12px;color:var(--eco-muted)}.eco-actions,.preview-actions{display:flex;flex-wrap:wrap;gap:10px}.primary-button,.secondary-button{width:auto;min-height:46px;border-radius:13px;padding:12px 20px;font-family:inherit;font-size:14px;font-weight:750;cursor:pointer}.primary-button{background:#1c644a;color:white;border:1px solid #1c644a}.secondary-button{background:var(--eco-paper);color:var(--eco-text);border:1px solid var(--eco-line)}button:disabled{opacity:.5;cursor:not-allowed}.heritage-two-column{display:grid;grid-template-columns:1.15fr 1fr;gap:22px}.heritage-info-card p,.eco-steps{color:var(--eco-muted);font-size:14px;line-height:1.9}.eco-steps{padding-left:21px;margin-bottom:0}.eco-steps li{margin:8px 0}.eco-soft-note{background:var(--eco-soft);padding:18px;border-radius:16px;font-size:14px;line-height:1.75;margin-top:16px}.eco-profile-page{max-width:1450px;margin:auto}.eco-profile-hero{display:flex;align-items:center;gap:24px;padding:32px;background:var(--eco-green);color:white;border-radius:26px;margin-bottom:24px}.eco-profile-hero h2{font-size:28px;color:white;margin:6px 0}.eco-profile-hero p{color:#b6cfc0}.eco-avatar-large{height:90px;width:90px;font-size:30px;border-radius:25px}.eco-account-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.eco-account-grid>div{background:var(--eco-soft);padding:18px;border-radius:16px}.eco-account-grid span,.eco-account-grid strong{display:block;overflow-wrap:anywhere}.eco-account-grid span,.eco-muted{color:var(--eco-muted);font-size:13px}.eco-account-grid strong{font-size:15px;margin-top:6px}.developer-only{display:none!important}.kvks-brand-strip{margin:28px auto 12px!important}.kvks-brand-strip img{max-height:55px;width:auto}.heritage-footer{font-size:12px;color:var(--eco-muted);text-align:center;padding:12px}.heritage-bottom-nav{display:none!important}.student-flow-card{max-width:1100px;margin:0 auto!important}.student-flow-card h2{color:var(--eco-text);font-size:27px}.student-flow-card p{line-height:1.75}.student-flow-card video,.student-flow-card canvas,.student-flow-card img{max-width:100%;border-radius:18px}.notice,.photo-metadata{border-radius:14px;overflow-wrap:anywhere}.eco-status-empty:empty{display:none}.efw-browser-page,.efw-browser-detail{color:var(--eco-text)}#mission-browser-root{background:var(--eco-bg)}.efw-browser-card{border-radius:22px!important}.eco-session-refresh{margin-top:10px}
@media(min-width:901px){#mission-browser-root{left:280px;width:calc(100% - 280px)}}
@media(max-width:1100px){.app-shell{margin-left:235px!important;padding-left:24px!important;padding-right:24px!important}.eco-sidebar{width:235px;padding-left:15px;padding-right:15px}.eco-logo{font-size:20px}.eco-topbar{margin-left:-24px;margin-right:-24px;padding-left:24px;padding-right:24px}.eco-hero-leaf{display:none}.eco-stat-grid article{padding:18px}.heritage-two-column{grid-template-columns:1fr}}
@media(min-width:901px) and (max-width:1100px){#mission-browser-root{left:235px;width:calc(100% - 235px)}}
@media(max-width:900px){.eco-sidebar{display:none}.app-shell{margin:0!important;padding:0 18px calc(95px + env(safe-area-inset-bottom))!important}.eco-topbar{height:82px;margin:0 -18px 20px;padding:14px 18px}.eco-topbar h1{font-size:19px}.eco-eyebrow{font-size:10px;letter-spacing:1.8px}.eco-toolbar{gap:8px}#eco-network{font-size:11px}.heritage-bottom-nav{display:flex!important;position:fixed;bottom:0;left:0;right:0;width:100%;max-width:none;transform:none;gap:0;justify-content:space-around;border-radius:0;background:var(--eco-paper);border-top:1px solid var(--eco-line);padding:8px 6px calc(8px + env(safe-area-inset-bottom));z-index:50}.heritage-bottom-nav button{flex:1;background:transparent;border:0;color:var(--eco-muted);font-size:11px;display:flex;flex-direction:column;align-items:center;gap:3px;min-height:48px;border-radius:12px}.heritage-bottom-nav button span{font-size:23px}.heritage-bottom-nav button.active{background:var(--eco-soft);color:var(--eco-text);font-weight:800}.eco-hero{padding:26px 24px;border-radius:24px}.eco-hero h2{font-size:29px}.eco-stat-grid{gap:10px;grid-template-columns:1fr 1fr}.eco-stat-grid article:last-child{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between}.eco-stat-grid article:last-child small{max-width:115px}.eco-stat-grid article{padding:16px;border-radius:18px}.eco-stat-grid strong{font-size:20px}.heritage-mission-card,.heritage-info-card,.student-flow-card{padding:22px!important}.eco-actions>button{flex:1}.eco-mission-symbol{display:none}.eco-points-chip{font-size:11px;padding:8px}.eco-profile-hero{padding:24px;gap:16px}.eco-profile-hero h2{font-size:23px}.eco-avatar-large{width:66px;height:66px;font-size:24px}.eco-account-grid{grid-template-columns:1fr}.eco-stat-grid small{font-size:11px}.eco-hero-copy{font-size:13px}.eco-stat-grid article>span{font-size:10px}#mission-browser-root{padding-bottom:85px}.heritage-section-heading h2{font-size:19px}.eco-toolbar .eco-initials{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* 1.2: breathing room around the live camera and touch controls. */
.eco-logo-image{display:block;width:56px;height:56px;object-fit:contain;flex-shrink:0;border-radius:16px}
.eco-admin-link{color:#cde5d5;font-size:12px;margin:24px 16px 0;text-decoration:underline;text-underline-offset:4px}
#open-camera{margin:12px 0 0!important}
#camera-area{margin-top:24px!important}
.camera-preview-stage{margin-bottom:24px!important}
#camera-area .camera-actions{margin-top:24px!important;gap:16px!important}
#photo-preview-area{margin-top:28px!important}
#camera-section .preview-actions{margin-top:24px!important;gap:16px!important}
#camera-section .camera-actions button{min-height:52px}
@media(max-width:900px){#camera-area{margin-top:24px!important}.camera-preview-stage{margin-bottom:24px!important}#camera-section{padding-bottom:30px!important}#camera-section .camera-actions{gap:14px!important}}
