:root{color:#111827;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;scroll-behavior:smooth;background:radial-gradient(circle at top,#305eff29,#0000 26%),linear-gradient(#f8fafc 0%,#eef2ff 42%,#f8fafc 100%);font-family:Inter,system-ui,sans-serif;font-weight:400;line-height:1.5}*,:before,:after{box-sizing:border-box}html,body,#root{min-height:100vh}body{color:#111827;margin:0}button,input,textarea,select{font:inherit}a{color:inherit}.invoice-page{width:100%;max-width:1440px;margin:0 auto;padding:0 20px 64px}.public-header{z-index:40;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);padding:16px 0 10px;position:sticky;top:0}.public-header__inner{background:#ffffffd1;border:1px solid #e2e8f0e6;border-radius:18px;justify-content:space-between;align-items:center;gap:20px;max-width:1240px;margin:0 auto;padding:12px 18px;display:flex;box-shadow:0 12px 40px #0f172a14}.brand-lockup{align-items:center;display:inline-flex}.brand-lockup__logo,.public-footer__logo{width:auto;height:34px}.public-nav{align-items:center;gap:8px;display:flex}.public-nav a,.public-footer__links a{color:#64748b;font-size:14px;font-weight:600;text-decoration:none}.public-nav a{border-radius:12px;padding:10px 14px}.public-nav a:hover,.public-footer__links a:hover{color:#0f172a}.public-nav a:hover{background:#eef2ff}.public-header__cta,.hero-button{justify-content:center;align-items:center;font-weight:700;text-decoration:none;display:inline-flex}.public-header__cta{color:#fff;background:linear-gradient(135deg,#1d4ed8 0%,#312eed 100%);border-radius:12px;padding:11px 18px;box-shadow:0 10px 24px #312eed3d}.invoice-page__hero{grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);align-items:center;gap:36px;max-width:1240px;margin:28px auto;padding:24px 0 8px;display:grid}.invoice-page__hero-copy{min-width:0}.hero-badge{color:#1d4ed8;letter-spacing:.04em;text-transform:uppercase;background:#dbeafe;border:1px solid #bfdbfe;border-radius:999px;align-items:center;margin-bottom:18px;padding:7px 12px;font-size:12px;font-weight:700;display:inline-flex}.invoice-page__hero h1{color:#0f172a;margin:0 0 14px;font-family:Playfair Display,Georgia,serif;font-size:clamp(2.5rem,5vw,4.5rem);font-weight:800;line-height:1.05}.invoice-page__copy{color:#475569;max-width:640px;margin:0;font-size:1.05rem;line-height:1.75}.hero-actions{flex-wrap:wrap;gap:12px;margin-top:22px;display:flex}.hero-button{border-radius:14px;min-width:176px;padding:14px 20px}.hero-button--primary{color:#fff;background:linear-gradient(135deg,#1d4ed8 0%,#312eed 100%);box-shadow:0 14px 30px #312eed3d}.hero-button--secondary{color:#0f172a;background:#fff;border:1px solid #dbe4f0}.hero-points{flex-wrap:wrap;gap:10px;margin-top:18px;display:flex}.hero-points span{color:#334155;background:#ffffffe0;border:1px solid #e2e8f0;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:600}.hero-visual{background:linear-gradient(#ffffffeb 0%,#f8fafcf5 100%);border:1px solid #e2e8f0;border-radius:28px;justify-content:center;padding:24px;display:flex;box-shadow:0 18px 50px #0f172a14}.hero-visual img{width:100%;max-width:520px;height:auto}.feature-strip,.generator-section,.faq-section,.public-footer__inner{max-width:1240px;margin-left:auto;margin-right:auto}.feature-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:28px;display:grid}.feature-card,.faq-card{background:#ffffffe0;border:1px solid #e2e8f0;border-radius:20px;padding:22px;box-shadow:0 10px 30px #0f172a0d}.feature-card h2,.generator-section__intro h2,.faq-section__intro h2{color:#0f172a;margin:0 0 10px;font-size:1.35rem;font-weight:800}.feature-card p,.generator-section__intro p,.faq-section__intro p,.faq-card p,.public-footer__brand p{color:#64748b;margin:0;line-height:1.7}.generator-section{margin-bottom:28px}.generator-section__intro,.faq-section__intro{margin-bottom:18px}.faq-section{margin-top:34px}.faq-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.faq-card h3{color:#0f172a;margin:0 0 10px;font-size:1rem;font-weight:700}.public-footer{margin-top:36px;padding:28px 0 8px}.public-footer__inner{border-top:1px solid #dbe4f0;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 0;display:flex}.public-footer__brand{max-width:520px}.public-footer__brand .public-footer__logo{margin-bottom:14px}.public-footer__links{flex-wrap:wrap;align-items:center;gap:20px;display:flex}.invoice-shell{border:3px solid var(--invoice-primary,#919083);background:#fff;border-radius:14px;max-width:1100px;margin:0 auto;padding:24px}.dev-toolbar{border-bottom:1px solid #e5e7eb;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding-bottom:12px;display:flex}.dev-toolbar__meta{flex-direction:column;gap:4px;display:flex}.dev-toolbar__label{color:#6b7280;letter-spacing:.06em;text-transform:uppercase;font-size:12px;font-weight:700}.dev-toolbar__copy{color:#6b7280;margin:0;font-size:12px}.dev-toolbar__chips{flex-wrap:wrap;gap:8px;display:flex}.dev-chip{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:700}.dev-chip--active{color:#fff;background:#1d4ed8;border-color:#1d4ed8}.invoice-shell__title{color:#305eff;margin-bottom:20px;font-family:Playfair Display,Georgia,serif;font-size:clamp(3rem,6vw,4.5rem);font-weight:800;line-height:1.05}.invoice-shell__row{grid-template-columns:1fr;gap:16px;display:grid}.invoice-shell__row>*{min-width:0}.invoice-shell__row--spaced{margin-top:12px}.section-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:16px}.section-card+.section-card,.invoice-shell>.section-card,.invoice-shell>.invoice-shell__row,.invoice-shell>.invoice-shell__actions{margin-top:16px}.section-card__header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.section-card__title{color:#111827;align-items:center;gap:8px;margin:0;font-size:1rem;font-weight:700;display:flex}.section-card__title:before{content:"";background:#305eff;border-radius:2px;width:4px;height:18px}.section-card__description{color:#6b7280;max-width:760px;margin:10px 0 0;font-size:13px;line-height:1.65}.form-field{flex-direction:column;gap:6px;display:flex}.form-field+.form-field{margin-top:12px}.form-field__label{color:#6b7280;letter-spacing:.5px;text-transform:uppercase;font-size:12px;font-weight:600}.form-field__required{color:#dc2626}.input,.textarea,.select{color:#111827;background:#fff;border:1.5px solid #e5e7eb;border-radius:12px;width:100%;padding:11px 14px;font-family:Inter,sans-serif;font-size:14px;transition:border-color .2s,box-shadow .2s}.input:focus,.textarea:focus,.select:focus{border-color:var(--invoice-primary,#919083);outline:none;box-shadow:0 0 0 4px #91908326}.textarea{resize:vertical;min-height:80px}.select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;padding-right:38px}input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none}input[type=number]{-moz-appearance:textfield}.upload-tile{color:#6b7280;cursor:pointer;text-align:center;background:#fafafa;border:2px dashed #e5e7eb;border-radius:12px;justify-content:center;align-items:center;min-height:90px;padding:16px;display:flex;position:relative}.upload-tile--signature{min-height:82px}.upload-tile:hover{border-color:var(--invoice-primary,#919083);background:#f5f4f2}.upload-tile__input{opacity:0;cursor:pointer;position:absolute;inset:0}.upload-tile__preview{border-radius:8px;max-width:200px;max-height:76px}.mini-link-button{color:#dc2626;cursor:pointer;background:0 0;border:none;margin:8px 0 2px;padding:0;font-size:12px;font-weight:600}.helper-copy{color:#6b7280;margin:10px 0 0;font-size:12px}.helper-copy--top{margin:-4px 0 16px}.status-banner{color:#1d4ed8;background:#eff6ff;border:1px solid #dbeafe;border-radius:12px;margin:0 0 16px;padding:11px 14px;font-size:13px;font-weight:600}.status-banner--success{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.status-banner--error{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.status-banner--info{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.tax-pill{border:1px solid #d1d5db;border-radius:999px;align-items:center;margin-top:10px;padding:7px 14px;font-size:13px;font-weight:700;display:inline-flex}.tax-pill--igst{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.tax-pill--local{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.line-items-table{overflow-x:auto}.line-items-table__header,.line-item-row{grid-template-columns:minmax(320px,2.2fr) .7fr .45fr .7fr .5fr .5fr .5fr .9fr 32px;align-items:start;gap:8px;min-width:980px;display:grid}.line-items-table__header--igst,.line-item-row--igst{grid-template-columns:minmax(320px,2.4fr) .7fr .45fr .8fr .55fr .55fr .95fr 32px}.line-items-table__header{color:#fff;background:var(--invoice-header,#919083);letter-spacing:.5px;text-transform:uppercase;border-radius:8px 8px 0 0;padding:12px 10px;font-size:12px;font-weight:700}.line-items-table__header span:first-child{text-align:left}.line-items-table__header span:not(:first-child){text-align:center}.line-items-table__body{flex-direction:column;gap:12px;margin-top:10px;display:flex}.line-item-row{background:linear-gradient(#fbfcfe 0%,#f8fafc 100%);border:1px solid #e5e7eb;border-radius:14px;padding:12px;box-shadow:0 1px 2px #0f172a0a}.line-item-row:nth-child(2n){background:linear-gradient(#fff 0%,#fbfdff 100%)}.line-item-row .input{padding:10px 12px}.line-item-row .input:nth-child(2){color:#475569;font-weight:700}.line-item-row .input:nth-child(3),.line-item-row .input:nth-child(4),.line-item-row .input:nth-child(5),.line-item-row .input:nth-child(6),.line-item-row .input:nth-child(7){text-align:center;font-weight:700}.line-item-row__amount{text-align:right;white-space:nowrap;align-self:center;padding:10px 12px 0 0;font-weight:700}.line-item-row__remove{color:#dc2626;cursor:pointer;background:#fff5f5;border:1px solid #fecaca;border-radius:999px;place-self:center;width:30px;height:30px;font-size:18px;line-height:1}.line-item-row__remove:disabled{opacity:.4;cursor:not-allowed}.line-item-row__taxes{color:#475569;background:#f8fafc;border-top:1px dashed #dbe3ef;border-radius:10px;flex-wrap:wrap;grid-column:5/span 3;justify-content:center;gap:12px;margin-top:8px;padding:10px 12px;font-size:12px;display:flex}.line-item-row__taxes--igst{grid-column:5/span 2}.line-item-row__taxes span{background:#fff;border:1px solid #e2e8f0;border-radius:999px;align-items:center;padding:4px 8px;font-weight:600;display:inline-flex}.line-items-footer{justify-content:space-between;align-items:flex-end;gap:20px;margin-top:18px;display:flex}.soft-button{color:#374151;cursor:pointer;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:8px;padding:10px 18px;font-size:13px;font-weight:600}.soft-button:hover{background:#e5e7eb}.totals-panel{min-width:360px;margin-left:auto}.totals-panel__row{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.totals-panel__row span{color:#6b7280;font-size:13px}.totals-panel__row strong{font-size:13px;font-weight:600}.totals-panel__row--discount strong{color:#009e5c}.totals-panel__divider{border-top:2px solid var(--invoice-primary,#919083);margin:10px 0}.totals-panel__row--grand span,.totals-panel__row--grand strong{color:#111827;font-size:16px;font-weight:800}.totals-panel__row--grand{color:#fff;background:linear-gradient(90deg, var(--invoice-primary,#919083) 0%, var(--invoice-header,#919083) 100%);border-radius:10px;padding:12px 14px}.totals-panel__row--grand span,.totals-panel__row--grand strong{color:#fff}.discount-grid__inputs{grid-template-columns:108px 1fr;gap:8px;display:grid}.color-field{align-items:center;gap:12px;display:flex}.color-field .input[type=color]{cursor:pointer;border-radius:8px;width:48px;min-width:48px;height:40px;padding:2px}.invoice-shell__actions{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.action-button{cursor:pointer;border:none;border-radius:10px;min-width:200px;padding:13px 22px;font-family:Inter,sans-serif;font-size:14px;font-weight:600;transition:transform .2s,box-shadow .2s,background-color .2s}.action-button:disabled{opacity:.65;cursor:not-allowed}.action-button:hover{transform:translateY(-1px)}.action-button:disabled:hover{transform:none}.action-button--primary{color:#fff;background:#305eff}.action-button--primary:hover{background:#1a4ee0;box-shadow:0 4px 14px #305eff66}.action-button--outline{color:#111827;background:#fff;border:1.5px solid #e5e7eb}.action-button--outline:hover{background:#f3f4f6}@media (width>=768px){.invoice-shell__row{grid-template-columns:1fr 1fr}}@media (width<=900px){.invoice-page__hero,.feature-strip,.faq-grid{grid-template-columns:1fr}.public-header__inner,.public-footer__inner{flex-direction:column;align-items:stretch}.public-nav{flex-wrap:wrap}.line-items-footer{flex-direction:column;align-items:stretch}.totals-panel{width:100%;min-width:0}}@media (width<=640px){.invoice-page{padding:0 12px 40px}.public-header{padding-top:10px}.public-header__inner{padding:12px}.invoice-shell{padding:14px}.invoice-shell__actions{flex-direction:column}.action-button{width:100%;min-width:0}}
