:root{font-family:Segoe UI,system-ui,sans-serif;color:#23463c;background:#f5f4ee;font-synthesis:none;--green: #25866B;--green-dark: #1B6552;--blue: #487EAA;--beige: #F5F4EE;--white: #FFFFFF;--text: #23463C;--muted: #62766F;--border: #DFE7E1;--shadow: 0 6px 24px rgba(35, 70, 60, .07)}*{box-sizing:border-box}body{margin:0;min-width:280px;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer;border:none;border-radius:12px;padding:12px 16px;color:var(--green-dark);background:#e8f0eb;transition:background .2s,transform .2s}button:hover:not(:disabled){background:#dce9e1}button:active:not(:disabled){transform:scale(.98)}button:disabled{opacity:.45;cursor:not-allowed}:focus-visible{outline:3px solid var(--blue);outline-offset:3px}h1{font-size:clamp(24px,5vw,32px);line-height:1.25;margin:12px 0}h2{font-size:19px;margin:12px 0}p{line-height:1.6;color:var(--muted)}small{color:var(--muted);line-height:1.5}input,select,textarea{width:100%;padding:13px;border:1px solid var(--border);border-radius:12px;background:var(--white);color:var(--text);min-height:46px}input[type=checkbox]{width:20px;min-height:20px;accent-color:var(--green)}label{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:14px;font-weight:600}form{display:flex;flex-direction:column;gap:18px}.primary-button{background:var(--green);color:var(--white);font-weight:600;display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:46px}.primary-button:hover:not(:disabled){background:var(--green-dark)}.auth-page,.loading{min-height:100dvh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:24px;background:linear-gradient(145deg,#e6efe8,#f5f4ee,#e3edf4)}.auth-card{width:100%;max-width:420px;background:var(--white);border-radius:28px;padding:32px;box-shadow:var(--shadow)}.auth-card h1,.auth-card h2,.auth-card>p{text-align:center}.auth-logo{width:88px;height:88px;margin:0 auto 20px;display:grid;place-items:center;color:var(--green);background:#e5f0e9;border-radius:50%}.auth-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:20px}.auth-links button{background:transparent;font-size:13px}.auth-error{background:#fcece9;color:#963e35;padding:12px;border-radius:12px;overflow-wrap:anywhere}.auth-message{background:#e4f2e8;color:var(--green-dark);padding:12px;border-radius:12px}.app-shell{min-height:100dvh;max-width:1000px;margin:auto}.app-header{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;background:var(--white);border-bottom:1px solid var(--border);padding:14px 22px}.brand{display:flex;align-items:center;gap:10px;color:var(--green);font-size:21px}.app-content{padding:24px 24px 120px}.companion-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:32px 20px;margin:24px 0;border-radius:28px;background:linear-gradient(145deg,#e1eee5,#fff,#e6eef4);box-shadow:var(--shadow)}.companion-card>svg{color:var(--green);margin:16px}.companion-card h2{font-size:24px}progress{width:100%;max-width:340px;height:14px;margin:12px 0;border:none;border-radius:20px;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}progress::-webkit-progress-bar{background:#dce6df;border-radius:20px}progress::-webkit-progress-value{background:var(--green);border-radius:20px}progress::-moz-progress-bar{background:var(--green);border-radius:20px}.stats-grid,.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.stat-card,.category-card{background:var(--white);border-radius:20px;padding:20px;box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:flex-start;gap:10px;text-align:left}.stat-card svg{color:var(--green)}.stat-card strong{font-size:25px}.stat-card span{font-size:13px;color:var(--muted)}.category-card{border:1px solid var(--border);border-left:4px solid var(--green);min-height:135px}.category-card strong{overflow-wrap:anywhere}.section-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:26px 0 16px}.section-heading button{font-size:13px}.mission-form{padding:24px;background:var(--white);border-radius:20px;box-shadow:var(--shadow);margin-bottom:24px}.mission-group{margin:24px 0}.mission-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px;margin:10px 0;background:var(--white);border-radius:16px;box-shadow:var(--shadow)}.mission-row>div{min-width:0}.mission-row strong{overflow-wrap:anywhere}.mission-row small{display:block;margin-top:6px}.check-button{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;padding:0;border-radius:50%;background:#e2f0e7;color:var(--green)}.feature-card,.rescue-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:20px;padding:36px 24px;background:var(--white);border-radius:28px;box-shadow:var(--shadow)}.feature-card>svg{color:var(--green)}.rescue-card{background:linear-gradient(145deg,#e4edf5,#f9fbfc)}.rescue-card>svg{color:var(--blue)}.rescue-card h2{font-size:24px;line-height:1.5;font-weight:500}.rescue-card .primary-button{width:100%;max-width:320px;background:var(--blue)}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:1000px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:var(--white);border-top:1px solid var(--border);padding:8px 6px;padding-bottom:calc(8px + env(safe-area-inset-bottom,0px));z-index:20}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:transparent;color:var(--muted);padding:10px 2px;font-size:11px;min-width:0}.bottom-nav button.active{color:var(--green);background:#e8f1eb;font-weight:600}.bottom-nav button:last-child{color:var(--blue)}@media(min-width:768px){.app-content{padding:36px 48px 120px}.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:400px){.app-content{padding:16px 16px 120px}.auth-card{padding:24px}.category-card,.stat-card{padding:14px}.bottom-nav button{font-size:10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
