@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root { --ink: #17231f; --muted: #68756f; --paper: #f6f5ef; --card: #fffef9; --line: #d8ded7; --mint: #c8edc5; --green: #1c654d; --coral: #e66f55; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; color: var(--ink); background: radial-gradient(circle at 85% 0%, #dff2d5 0, transparent 30%), linear-gradient(135deg, #f7f5ee 0%, #eef2ea 100%); font-family: 'DM Sans', sans-serif; }
.shell { width: min(960px, calc(100% - 40px)); margin: 0 auto; padding: 62px 0 34px; }
.masthead { display: grid; grid-template-columns: 58px 1fr; gap: 22px; align-items: start; max-width: 780px; margin-bottom: 42px; }
.brand-mark { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; color: #f6fff1; background: var(--green); font: 700 17px 'Space Grotesk', sans-serif; letter-spacing: 0; box-shadow: 7px 7px 0 #a8d7a4; }
.eyebrow, .card-kicker { margin: 0 0 8px; color: var(--coral); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1 { max-width: 700px; margin: 0; font: 700 clamp(2.2rem, 5vw, 4.4rem)/.98 'Space Grotesk', sans-serif; letter-spacing: 0; }
.intro { max-width: 650px; margin: 20px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.client-list { display: grid; gap: 18px; }
.client-card { padding: 24px; background: color-mix(in srgb, var(--card) 92%, transparent); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 35px rgba(31, 55, 43, .07); animation: rise .35s ease-out both; }
.card-heading { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 22px; }
.card-kicker { color: var(--green); margin-bottom: 13px; }
.client-name-label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 600; }
.optional { color: #9ca69f; font-size: 11px; font-weight: 400; }
.client-name { width: min(100%, 360px); min-height: 44px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: white; font: 500 15px 'DM Sans', sans-serif; outline: none; }
.client-name:focus { border-color: var(--green); box-shadow: 0 0 0 3px #c8edc588; }
.remove-client { width: 40px; height: 40px; border: 0; color: var(--muted); background: transparent; font-size: 26px; cursor: pointer; border-radius: 8px; }
.remove-client:hover { color: var(--coral); background: #fff0eb; }
.upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.drop-zone { min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 20px; border: 1.5px dashed #aebcb0; border-radius: 10px; background: #fbfcf8; text-align: center; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.drop-zone:hover, .drop-zone:focus-within { border-color: var(--green); background: #f1faee; transform: translateY(-2px); }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: var(--mint); font-size: 23px; font-weight: 600; }
.drop-title { font: 600 17px 'Space Grotesk', sans-serif; }
.drop-help, .file-name { color: var(--muted); font-size: 13px; }
.file-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-name.ready { color: var(--green); font-weight: 700; }
.actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.button { min-height: 48px; padding: 0 18px; border: 0; border-radius: 7px; font: 700 14px 'DM Sans', sans-serif; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--green); box-shadow: 0 7px 0 #124936; }
.button-primary:hover { background: #24785c; }
.button-secondary { color: var(--green); background: transparent; border: 1px solid #9eb8a2; }
.plus { margin-right: 5px; font-size: 18px; font-weight: 400; }
.feedback { min-height: 22px; margin: 18px 0 0; color: var(--coral); font-size: 14px; font-weight: 600; }
.report-result { margin-top: 36px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: 0 16px 35px rgba(31, 55, 43, .07); }
.result-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.result-heading h2 { margin: 0; font: 700 28px/1.1 'Space Grotesk', sans-serif; }
#report-preview { display: block; width: 100%; height: 720px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.footer-note { display: flex; align-items: center; gap: 8px; margin-top: 46px; color: var(--muted); font-size: 13px; }
.batch-card { display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: center; gap: 24px; margin-top: 22px; padding: 22px 24px; border: 1px solid #c9d8c9; border-radius: 14px; background: #edf6e9; }
.batch-copy h2 { margin: 0; font: 700 24px/1.1 'Space Grotesk', sans-serif; }
.batch-copy p:not(.eyebrow) { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.batch-drop-zone { min-height: 118px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px; border: 1.5px dashed #91b292; border-radius: 9px; background: #f9fdf6; text-align: center; cursor: pointer; }
.batch-drop-zone:hover, .batch-drop-zone:focus-within { border-color: var(--green); background: #fff; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #71b870; box-shadow: 0 0 0 4px #c8edc5; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 680px) { .shell { width: min(100% - 24px, 560px); padding-top: 32px; } .masthead { grid-template-columns: 46px 1fr; gap: 14px; margin-bottom: 30px; } .brand-mark { width: 46px; height: 46px; border-radius: 12px; } .intro { font-size: 15px; } .upload-grid { grid-template-columns: 1fr; } .actions { align-items: stretch; flex-direction: column-reverse; } .button { width: 100%; } .batch-card { grid-template-columns: 1fr; gap: 14px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
