:root {
    --green-950: #073f32;
    --green-800: #0b6b50;
    --green-700: #0d8060;
    --green-100: #dff4eb;
    --ink: #14231e;
    --muted: #68756f;
    --line: #e4e9e6;
    --surface: #ffffff;
    --background: #f3f6f4;
    --shadow: 0 14px 40px rgba(27, 54, 44, .09);
    font-family: Inter, "Noto Sans Devanagari", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { background: #dfe7e3; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.app-shell {
    width: min(100%, 1180px);
    min-height: 100vh;
    margin: 0 auto;
    background: var(--background);
    padding-bottom: 92px;
}

.topbar {
    min-height: 76px;
    padding: 14px clamp(18px, 4vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
}

.brand {
    display: flex;
    gap: 11px;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--green-800);
    color: white;
    font-size: 22px;
    font-weight: 800;
    box-shadow: inset 0 -4px 10px rgba(0,0,0,.12);
}

.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; letter-spacing: -.25px; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 12px; }

.language-button {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px 7px 8px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    color: var(--green-950);
    cursor: pointer;
    text-decoration: none;
}

.language-button span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--green-100);
    font-weight: 700;
}

main {
    width: min(100% - 32px, 1080px);
    margin: 0 auto;
}

.welcome-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 30px 2px 22px;
}

.eyebrow {
    margin: 0 0 7px;
    color: var(--green-700);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

h1 { margin: 0; font-size: clamp(25px, 5vw, 38px); letter-spacing: -.04em; }
.hindi-copy { margin: 6px 0 0; color: var(--muted); font-weight: 600; }

.date-chip {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 12px 7px 7px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
}

.calendar-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #edf4f0;
    color: var(--green-800);
    font-weight: 800;
}

.date-chip b, .date-chip small { display: block; text-align: left; }
.date-chip b { font-size: 13px; }
.date-chip small { margin-top: 2px; color: var(--muted); font-size: 11px; }

.day-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding: 14px 14px 14px 18px;
    border: 1px solid #cde8dd;
    border-radius: 18px;
    background: linear-gradient(105deg, #edfaf4, #f8fcfa);
}

.status-copy { display: flex; align-items: center; gap: 11px; }
.status-copy strong, .status-copy small { display: block; }
.status-copy strong { font-size: 14px; }
.status-copy small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #f0a12b; box-shadow: 0 0 0 6px #f9ead2; }

.progress-ring {
    --size: 48px;
    width: var(--size);
    height: var(--size);
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--green-700) calc(var(--progress) * 1%), #dcebe4 0);
    position: relative;
}

.progress-ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #f7fcfa; }
.progress-ring span { position: relative; z-index: 1; font-size: 10px; font-weight: 800; }

.primary-actions { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 14px; }

.action-card {
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border: 0;
    border-radius: 21px;
    text-align: left;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease;
}

.action-card:active, .section-card:active { transform: scale(.985); }
.action-manual { background: linear-gradient(135deg, var(--green-950), var(--green-700)); color: #fff; }
.action-camera { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.action-print { background: #fff; color: var(--ink); border: 1px solid var(--line); text-decoration: none; }
.print-glyph { width: 52px; height: 52px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 16px; background: #edf0f2; color: #52606b; font-size: 24px; }
.action-icon, .camera-glyph { width: 52px; height: 52px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 16px; }
.action-icon { background: rgba(255,255,255,.14); font-size: 32px; font-weight: 300; }
.camera-glyph { background: #e9f5ef; position: relative; }
.camera-glyph::before { content: ""; width: 25px; height: 18px; border: 2px solid var(--green-800); border-radius: 5px; }
.camera-glyph::after { content: ""; position: absolute; width: 7px; height: 7px; border: 2px solid var(--green-800); border-radius: 50%; box-shadow: 0 -10px 0 -2px var(--green-800); }
.action-text { flex: 1; }
.action-text strong, .action-text small { display: block; }
.action-text strong { font-size: clamp(16px, 3.7vw, 20px); }
.action-text small { margin-top: 7px; color: inherit; opacity: .72; font-size: 13px; font-weight: 600; }
.action-arrow { font-size: 34px; font-weight: 300; opacity: .65; }
.beta-pill { padding: 5px 8px; border-radius: 99px; background: #f0f4f2; color: var(--green-800); font-size: 10px; font-weight: 800; text-transform: uppercase; }

.content-section { margin-top: 30px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 0 2px 14px; }
.section-heading h2 { margin: 0; font-size: 19px; letter-spacing: -.025em; }
.section-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; font-weight: 500; }
.section-heading > span { color: var(--green-700); font-size: 12px; font-weight: 700; }

.section-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.section-card {
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(24, 54, 43, .035);
}

.section-icon { width: 45px; height: 45px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; font-size: 12px; font-weight: 800; letter-spacing: -.02em; }
.section-icon.blue { background: #e7effc; color: #285ea8; }
.section-icon.amber { background: #fff2d7; color: #9c6912; }
.section-icon.orange { background: #ffebdf; color: #b45220; }
.section-icon.violet { background: #eee9fd; color: #6543af; }
.section-icon.green { background: #e2f4ea; color: #247a50; }
.section-icon.slate { background: #edf0f2; color: #52606b; }
.section-label { min-width: 0; flex: 1; }
.section-label strong, .section-label small, .section-label em { display: block; }
.section-label strong { font-size: 14px; }
.section-label small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.section-label em { margin-top: 8px; overflow: hidden; color: var(--muted); font-size: 10px; font-style: normal; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.completion { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #9ba6a1; background: #f1f3f2; font-size: 16px; }
.completion.complete { color: #fff; background: var(--green-700); font-size: 12px; }

.summary-card { margin-top: 28px; padding: 22px; border-radius: 22px; background: var(--green-950); color: #fff; box-shadow: var(--shadow); overflow: hidden; position: relative; }
.summary-card::after { content: ""; position: absolute; width: 210px; height: 210px; border-radius: 50%; background: rgba(255,255,255,.035); right: -70px; top: -80px; }
.summary-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; position: relative; z-index: 1; }
.summary-kicker, .summary-head strong { display: block; }
.summary-kicker { font-size: 13px; font-weight: 700; }
.summary-head strong { margin-top: 4px; color: rgba(255,255,255,.65); font-size: 11px; }
.summary-head button { border: 0; background: none; color: #93dec1; font-size: 11px; font-weight: 700; cursor: pointer; }
.production-total { display: flex; align-items: baseline; gap: 8px; margin: 20px 0 18px; }
.production-total span { font-size: clamp(37px, 9vw, 52px); font-weight: 800; letter-spacing: -.055em; }
.production-total small { color: #91b2a6; font-size: 11px; font-weight: 800; }
.machine-row { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 22px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); }
.machine-row div:not(.machine-divider) { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: baseline; }
.machine-row span { color: #91b2a6; font-size: 11px; font-weight: 800; }
.machine-row strong { justify-self: end; font-size: 16px; }
.machine-row small { grid-column: 2; justify-self: end; color: rgba(255,255,255,.58); font-size: 10px; }
.machine-divider { background: rgba(255,255,255,.15); }
.notice { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 13px; background: rgba(241, 164, 61, .14); color: #ffd9a6; }
.notice > span { width: 25px; height: 25px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #f0b96c; border-radius: 50%; font-size: 12px; font-weight: 800; }
.notice p { margin: 0; }
.notice strong, .notice small { display: block; }
.notice strong { font-size: 12px; }
.notice small { margin-top: 3px; color: rgba(255,255,255,.62); font-size: 10px; }

.text-button { border: 0; background: none; color: var(--green-700); font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; }
.recent-list { display: grid; gap: 9px; }
.report-row { display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.report-link { color: inherit; text-decoration: none; }
.report-date { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 13px; background: #eef4f1; color: var(--green-950); font-size: 11px; font-weight: 800; }
.report-row strong, .report-row small { display: block; }
.report-row strong { font-size: 14px; }
.report-row small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.approved { color: var(--green-700); font-size: 10px; font-weight: 700; }

.bottom-nav {
    position: fixed;
    z-index: 15;
    left: 50%;
    bottom: 0;
    width: min(100%, 1180px);
    min-height: 70px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 7px 12px max(7px, env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96);
    border-top: 1px solid var(--line);
    transform: translateX(-50%);
    backdrop-filter: blur(18px);
}

.bottom-nav button { min-width: 0; display: grid; place-items: center; gap: 2px; border: 0; background: none; color: #89928e; cursor: pointer; }
.bottom-nav span { font-size: 21px; line-height: 1; }
.bottom-nav small { font-size: 10px; font-weight: 700; }
.bottom-nav .active { color: var(--green-800); }

@media (max-width: 420px) {
    .bottom-nav { padding-inline: 4px; }
    .bottom-nav span { font-size: 19px; }
    .bottom-nav small { font-size: 9px; }
}

.sheet-backdrop { position: fixed; z-index: 40; inset: 0; display: flex; align-items: flex-end; justify-content: center; background: rgba(5, 25, 18, .48); backdrop-filter: blur(3px); }
.sheet-backdrop[hidden] { display: none; }
.entry-sheet { width: min(100%, 620px); max-height: 88vh; overflow: auto; padding: 10px 18px max(26px, env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: #fff; box-shadow: 0 -25px 70px rgba(0,0,0,.18); animation: slide-up .22s ease-out; }
.sheet-handle { width: 42px; height: 4px; margin: 2px auto 18px; border-radius: 9px; background: #d4d9d7; }
.sheet-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.sheet-title-row h2 { margin: 0; font-size: 21px; }
.sheet-title-row p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.close-button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f1f4f2; color: var(--ink); font-size: 24px; cursor: pointer; }
.entry-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.entry-options button { display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.entry-options button > span:nth-child(2) { flex: 1; }
.entry-options strong, .entry-options small { display: block; }
.entry-options strong { font-size: 13px; }
.entry-options small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.entry-options b { color: #9ca6a2; font-size: 21px; }

.toast { position: fixed; z-index: 60; left: 50%; bottom: 88px; max-width: calc(100% - 36px); padding: 11px 16px; border-radius: 12px; background: #132b23; color: #fff; font-size: 12px; font-weight: 600; opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: .2s ease; box-shadow: 0 12px 34px rgba(0,0,0,.2); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes slide-up { from { transform: translateY(30px); opacity: .5; } }

@media (max-width: 720px) {
    .app-shell { width: 100%; }
    .topbar { min-height: 68px; padding: 11px 16px; }
    .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
    main { width: calc(100% - 28px); }
    .welcome-row { padding-top: 24px; }
    .primary-actions { grid-template-columns: 1fr; }
    .action-card { min-height: 96px; }
    .section-grid { grid-template-columns: 1fr 1fr; }
    .section-card { min-height: 104px; padding: 13px; }
    .section-icon { width: 40px; height: 40px; }
    .completion { display: none; }
}

@media (max-width: 390px) {
    .language-button b { display: none; }
    .welcome-row { align-items: flex-start; }
    .date-chip { padding-right: 7px; }
    .date-chip > span:last-child { display: none; }
    .section-card { display: block; }
    .section-label { margin-top: 10px; }
    .entry-options { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.waste-admin-links{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.waste-admin-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding:20px 24px;border:1px solid #d9e3de;border-radius:18px;background:linear-gradient(110deg,#fffaf0,#fff);color:#14251f;text-decoration:none;box-shadow:0 10px 30px rgba(18,62,49,.06)}.waste-admin-card.billing{background:linear-gradient(110deg,#f0fbf6,#fff)}.waste-admin-card>span:nth-child(2) strong,.waste-admin-card>span:nth-child(2) small,.waste-admin-card>span:nth-child(2) em{display:block}.waste-admin-card>span:nth-child(2) strong{font-size:17px}.waste-admin-card>span:nth-child(2) small{margin-top:4px;color:#6b7a74;font-size:10px}.waste-admin-card>span:nth-child(2) em{margin-top:8px;color:#9a6713;font-size:10px;font-style:normal;font-weight:800}.waste-admin-card.billing>span:nth-child(2) em{color:#087354}.waste-admin-card>b{font-size:26px;color:#a2772d}.waste-admin-card.billing>b{color:#087354}@media(max-width:720px){.waste-admin-links{grid-template-columns:1fr}}@media(max-width:540px){.waste-admin-card{padding:16px;gap:11px}.waste-admin-card>span:nth-child(2) strong{font-size:14px}}
