:root{--ink:#14221a;--forest:#176b4b;--forest-dark:#0d4934;--mint:#dcebe1;--cream:#f5f0e4;--paper:#fffdf7;--amber:#dda52d;--coral:#c75943;--line:#14221a29}*{box-sizing:border-box}html{background:var(--cream);color:var(--ink)}body{background:radial-gradient(circle at 12% 8%,#dda52d2e,#0000 24rem),linear-gradient(135deg,#f8f4e9 0%,#eef4ec 100%);min-height:100vh;margin:0;font-family:Avenir Next,Gill Sans,sans-serif}button,input{font:inherit}a{color:inherit}.brand{letter-spacing:.18em;font-size:.78rem;font-weight:800;text-decoration:none}.eyebrow{color:var(--forest);letter-spacing:.14em;text-transform:uppercase;margin:0 0 .8rem;font-size:.72rem;font-weight:800}.auth-shell{grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);min-height:100vh;display:grid}.auth-story{color:#fff;background:var(--forest-dark);flex-direction:column;justify-content:center;padding:clamp(3rem,8vw,8rem);display:flex;position:relative;overflow:hidden}.auth-story:before{content:"";border:1px solid #ffffff2e;border-radius:50%;width:28rem;height:28rem;position:absolute;top:-9rem;right:-8rem;box-shadow:0 0 0 5rem #ffffff09,0 0 0 10rem #ffffff06}.auth-story .eyebrow{color:#efc760}.auth-story h1{letter-spacing:-.055em;max-width:720px;margin:0;font-family:Iowan Old Style,Palatino Linotype,serif;font-size:clamp(3.6rem,7vw,7rem);font-weight:500;line-height:.9;position:relative}.auth-story p:not(.eyebrow){color:#ffffffb8;max-width:540px;margin:2rem 0 0;font-size:1.05rem;line-height:1.7;position:relative}.material-strip{gap:.55rem;margin-top:3rem;display:flex;position:relative}.material-strip span{background:#efc760;border-radius:4rem;width:3.2rem;height:.45rem}.material-strip span:nth-child(2){background:#8fc5aa}.material-strip span:nth-child(3){background:#e37e65}.material-strip span:nth-child(4){background:#f7f0dd}.auth-card{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffdf7c7;flex-direction:column;justify-content:center;padding:clamp(2rem,7vw,6rem);display:flex}.auth-card>.brand{position:absolute;top:2rem}.auth-card h2{letter-spacing:-.04em;margin:0 0 2rem;font-family:Iowan Old Style,Palatino Linotype,serif;font-size:clamp(2.4rem,4vw,3.6rem);font-weight:500}.form-stack{gap:1.1rem;display:grid}.form-stack label{color:#425047;letter-spacing:.06em;text-transform:uppercase;gap:.45rem;font-size:.76rem;font-weight:800;display:grid}.form-stack input{border:1px solid var(--line);width:100%;color:var(--ink);text-transform:none;letter-spacing:normal;background:#ffffffb8;border-radius:.8rem;outline:none;padding:.95rem 1rem;transition:border .2s,box-shadow .2s}.form-stack input:focus{border-color:var(--forest);box-shadow:0 0 0 4px #176b4b1a}.password-field{display:block;position:relative}.password-field input{padding-right:4.5rem}.password-toggle{color:var(--forest);cursor:pointer;background:0 0;border:0;border-radius:.45rem;padding:.35rem .45rem;font-size:.72rem;font-weight:800;position:absolute;top:50%;right:.7rem;transform:translateY(-50%)}.password-toggle:hover,.password-toggle:focus-visible{background:var(--mint);outline:none}.form-assist{color:var(--forest);justify-self:end;margin-top:-.65rem;font-size:.84rem;font-weight:800;text-decoration:none}.primary-button{background:var(--forest);color:#fff;cursor:pointer;border:0;border-radius:.8rem;padding:1rem 1.25rem;font-weight:800;transition:transform .2s,background .2s;box-shadow:0 10px 24px #0d49342e}.primary-button:hover:not(:disabled){background:var(--forest-dark);transform:translateY(-2px)}.primary-button:disabled{cursor:not-allowed;opacity:.55}.form-error{color:#a3372a;margin:0;font-size:.9rem;line-height:1.4}.form-success{background:var(--mint);color:var(--forest-dark);border-radius:.75rem;margin:0;padding:.9rem 1rem;font-size:.9rem;line-height:1.5}.development-link{border:1px dashed var(--forest);color:var(--forest);text-align:center;border-radius:.75rem;padding:.85rem 1rem;font-size:.86rem;font-weight:800;text-decoration:none}.button-link{text-align:center;text-decoration:none;display:block}.auth-switch{color:#647169;margin-top:1.5rem;font-size:.92rem}.auth-switch a{color:var(--forest);font-weight:800}.app-shell{min-height:100vh;padding:0 clamp(1.2rem,5vw,5rem) 5rem}.topbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:84px;display:flex}.topbar>div{align-items:center;gap:.8rem;display:flex}.brand-mark{background:var(--forest);color:#fff;border-radius:50% 50% 50% 15%;place-items:center;width:2.1rem;height:2.1rem;font-family:Georgia,serif;font-weight:700;display:grid}.account-chip{color:#526057;font-size:.9rem}.account-chip button{border:0;border-left:1px solid var(--line);color:var(--forest);cursor:pointer;background:0 0;padding-left:.8rem;font-weight:800}.hero-grid{grid-template-columns:minmax(0,1fr) minmax(420px,.8fr);align-items:center;gap:clamp(3rem,8vw,8rem);min-height:calc(100vh - 84px);padding:4rem 0;display:grid}.hero-copy h1{letter-spacing:-.065em;margin:0;font-family:Iowan Old Style,Palatino Linotype,serif;font-size:clamp(4rem,8vw,8rem);font-weight:500;line-height:.83}.hero-copy h1 em{color:var(--forest);font-weight:500}.hero-note{color:#536158;max-width:570px;margin:2rem 0;font-size:1.05rem;line-height:1.65}.category-list{flex-wrap:wrap;gap:.55rem;display:flex}.category-list span{border:1px solid var(--line);background:#ffffff80;border-radius:3rem;padding:.55rem .8rem;font-size:.77rem;font-weight:700}.upload-panel{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffff94;border:1px solid #ffffffb3;border-radius:2rem;padding:1rem;box-shadow:0 30px 80px #14221a1f}.drop-zone{cursor:pointer;text-align:center;background:linear-gradient(145deg,#dcebe1b3,#fffdf799);border:1.5px dashed #176b4b66;border-radius:1.35rem;flex-direction:column;justify-content:center;align-items:center;gap:.65rem;min-height:430px;display:flex;overflow:hidden}.drop-zone input{opacity:0;width:1px;height:1px;position:absolute}.drop-zone small{color:#67756c}.drop-zone img{object-fit:cover;width:100%;height:430px}.upload-icon{background:var(--forest);color:#fff;border-radius:50%;place-items:center;width:4.4rem;height:4.4rem;font-size:2.2rem;font-weight:300;display:grid}.camera-guidance{color:var(--forest-dark);background:#ffffffb8;border-radius:2rem;margin-top:.6rem;padding:.55rem .8rem;font-size:.72rem;font-weight:800}.classify-button{width:100%;margin-top:1rem}.upload-panel .form-error{padding:.8rem .4rem 0}.result-card{background:var(--paper);border-radius:1.6rem;max-width:1100px;margin:0 auto;padding:clamp(1.5rem,4vw,3.5rem);box-shadow:0 25px 70px #14221a1f}.result-card.accepted{border-top:.5rem solid var(--forest)}.result-card.uncertain{border-top:.5rem solid var(--amber)}.result-toolbar{justify-content:flex-start;margin-bottom:1.5rem;display:flex}.secondary-button{border:1px solid var(--line);color:var(--forest);cursor:pointer;background:0 0;border-radius:.7rem;padding:.7rem 1rem;font-weight:800;transition:background .2s,border-color .2s}.secondary-button:hover{border-color:var(--forest);background:var(--mint)}.result-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:end;gap:2rem;padding-bottom:1.8rem;display:flex}.result-heading h2{letter-spacing:-.055em;margin:0;font-family:Iowan Old Style,Palatino Linotype,serif;font-size:clamp(3rem,7vw,5.5rem);font-weight:500}.confidence{text-align:right;display:grid}.confidence strong{color:var(--forest);font-family:Georgia,serif;font-size:2.8rem}.confidence span{color:#66736b;text-transform:uppercase;letter-spacing:.08em;font-size:.75rem}.uncertain-note{color:#6d5214;background:#fbefce;border-radius:.8rem;padding:1rem}.guidance{margin:2rem 0}.guidance span{color:var(--forest);text-transform:uppercase;letter-spacing:.1em;font-size:.72rem;font-weight:800}.guidance p{margin:.45rem 0 0;font-size:1.15rem;line-height:1.55}.probabilities{gap:.85rem;display:grid}.probabilities>div{grid-template-columns:9rem 1fr 3rem;align-items:center;gap:1rem;font-size:.86rem;display:grid}.probabilities>div>div{background:var(--mint);border-radius:2rem;height:.45rem;overflow:hidden}.probabilities i{border-radius:inherit;background:var(--forest);height:100%;display:block}.probabilities b{text-align:right}.feedback-card{border:1px solid var(--line);background:linear-gradient(135deg,#dcebe18c,#fffdf7d9);border-radius:1rem;margin-top:2rem;padding:1.25rem}.feedback-title{margin:0;font-family:Iowan Old Style,Palatino Linotype,serif;font-size:1.35rem;font-weight:600}.feedback-note{color:#657269;margin:.4rem 0 1rem;font-size:.82rem;line-height:1.5}.feedback-card select{border:1px solid var(--line);width:100%;color:var(--ink);font:inherit;background:#fff;border-radius:.75rem;margin:1rem 0;padding:.85rem 1rem}.feedback-actions{flex-wrap:wrap;justify-content:flex-end;gap:.7rem;margin-top:1rem;display:flex}.feedback-success{color:var(--forest-dark);margin:0;font-weight:700;line-height:1.5}.model-note{color:#78847c;margin:2rem 0 0;font-size:.75rem;line-height:1.5}.result-actions{border-top:1px solid var(--line);justify-content:flex-end;margin-top:2rem;padding-top:1.5rem;display:flex}@media (max-width:900px){.auth-shell{grid-template-columns:1fr}.auth-story{min-height:42vh;padding:3rem 1.5rem}.auth-story h1{font-size:4rem}.auth-card{min-height:58vh;padding:5rem 1.5rem 2rem}.hero-grid{grid-template-columns:1fr;gap:2.5rem;min-height:0}.hero-copy h1{font-size:clamp(4rem,16vw,6rem)}.upload-panel{width:100%;max-width:620px}.drop-zone,.drop-zone img{height:350px;min-height:350px}}@media (max-width:560px){.topbar{min-height:72px}.account-chip span{display:none}.hero-grid{padding-top:3rem}.hero-copy h1{font-size:3.9rem}.drop-zone,.drop-zone img{height:285px;min-height:285px}.result-heading{align-items:start}.confidence strong{font-size:2rem}.probabilities>div{grid-template-columns:7rem 1fr 2.5rem;gap:.6rem}}
