.tool-shell .inv__grid{display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}.tool-shell .inv__gstin{text-transform:uppercase;letter-spacing:.03em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.tool-shell .inv__gstin.is-bad{border-color:#f59e0b}.tool-shell .inv__gstin.is-good{border-color:#34d399}.tool-shell .inv__gsthint{margin:.4rem 0 0;font-size:.8rem;font-weight:600}.tool-shell .inv__gsthint.is-good{color:#047857}.tool-shell .inv__gsthint.is-bad{color:#b45309}.tool-shell .inv__gsthint.is-warn{color:#6b7280}@media (max-width: 560px){.tool-shell .inv__grid{grid-template-columns:1fr}}.tool-shell .inv__area{resize:vertical;min-height:3.2rem;font-family:inherit;line-height:1.5}.tool-shell .inv__opt{font-weight:400;color:var(--color-text-muted);font-size:.8rem}.tool-shell .inv__items{display:flex;flex-direction:column;gap:.5rem}.tool-shell .inv__itemhead,.tool-shell .inv__itemrow{display:grid;grid-template-columns:1fr 4.5rem 6.5rem 2rem;gap:.5rem;align-items:center}.tool-shell .inv__itemhead{font-size:.75rem;font-weight:600;color:var(--color-text-muted);padding:0 .1rem}.tool-shell .inv__itemhead span:nth-child(2),.tool-shell .inv__itemhead span:nth-child(3){text-align:right}.tool-shell .inv__itemrow .i-qty,.tool-shell .inv__itemrow .i-price{text-align:right}.tool-shell .inv__itemrow .input{padding:.45rem .55rem;font-size:.9rem}.tool-shell .inv__del{border:1px solid var(--color-border-input);background:var(--color-surface);color:var(--color-text-muted);border-radius:var(--radius-input);width:2rem;height:2rem;cursor:pointer;font-size:1.1rem;line-height:1;display:inline-flex;align-items:center;justify-content:center;transition:.15s}.tool-shell .inv__del:hover{background:#fef2f2;border-color:#fecaca;color:#dc2626}@media (max-width: 560px){.tool-shell .inv__itemhead{display:none}.tool-shell .inv__itemrow{grid-template-columns:1fr 3.5rem 5rem 2rem}}.tool-shell .inv__logorow{display:flex;gap:.5rem;flex-wrap:wrap}.tool-shell .inv__logobtn{cursor:pointer}.tool-shell .inv__previewhead{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:.5rem;margin:2.25rem 0 1rem}.tool-shell .inv__hint{font-size:.85rem}.tool-shell .inv__stage{background:var(--color-surface-placeholder);border:1px solid var(--color-border);border-radius:var(--radius-card);padding:1.5rem;overflow-x:auto}.tool-shell .doc{background:#fff;color:#111827;max-width:48rem;margin:0 auto;border:1px solid #d1d5db;border-radius:8px;padding:2.5rem;box-shadow:0 1px 3px #00000014;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:.95rem}.tool-shell .doc__head{display:flex;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;margin-bottom:2rem}.tool-shell .doc__brand{display:flex;gap:1rem;align-items:flex-start}.tool-shell .doc__logo{max-height:68px;max-width:180px;object-fit:contain}.tool-shell .doc__bizname{font-weight:700;font-size:1.05rem;color:#111827}.tool-shell .doc__line{color:#4b5563;font-size:.88rem;line-height:1.5}.tool-shell .doc__muted{color:#9ca3af}.tool-shell .doc__titlewrap{text-align:right;margin-left:auto}.tool-shell .doc__title{margin:0 0 .5rem;font-size:1.9rem;font-weight:800;letter-spacing:.06em;color:#2563eb}.tool-shell .doc__meta{display:inline-grid;gap:.2rem;font-size:.85rem}.tool-shell .doc__meta>div{display:grid;grid-template-columns:auto auto;gap:.6rem;justify-content:end}.tool-shell .doc__meta span{color:#6b7280}.tool-shell .doc__billto{margin-bottom:1.5rem}.tool-shell .doc__billlabel{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#6b7280;margin-bottom:.3rem;font-weight:700}.tool-shell .doc__table{width:100%;border-collapse:collapse;margin-bottom:1.25rem}.tool-shell .doc__table th{text-align:left;font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;color:#fff;background:#2563eb;padding:.6rem .75rem}.tool-shell .doc__table td{padding:.6rem .75rem;border-bottom:1px solid #e5e7eb;vertical-align:top}.tool-shell .doc__num{text-align:right;white-space:nowrap}.tool-shell .doc__table th.doc__num{text-align:right}.tool-shell .doc__totals{margin-left:auto;width:min(20rem,100%)}.tool-shell .doc__totrow{display:flex;justify-content:space-between;gap:1rem;padding:.4rem 0;font-size:.92rem}.tool-shell .doc__totrow span:last-child{font-variant-numeric:tabular-nums}.tool-shell .doc__grand{border-top:2px solid #111827;margin-top:.3rem;padding-top:.6rem;font-size:1.15rem;font-weight:800;color:#111827}.tool-shell .doc__notes{margin-top:2rem;border-top:1px solid #e5e7eb;padding-top:1rem;font-size:.88rem;color:#4b5563;line-height:1.6}.tool-shell .doc__noteshd{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#6b7280;margin-bottom:.3rem;font-weight:700}.tool-shell .inv__about{margin-top:1.75rem}.tool-shell .inv__about h2{font-size:1.25rem;font-weight:700;color:var(--color-text-heading);margin:0 0 .6rem}.tool-shell .inv__about p{margin:0 0 .8rem;font-size:.95rem;color:var(--color-text-secondary)}.tool-shell .inv__tips{margin:0;padding-left:1.1rem}.tool-shell .inv__tips li{font-size:.92rem;color:var(--color-text-secondary);margin:.3rem 0}@media print{body *{visibility:hidden!important}#printArea,#printArea *{visibility:visible!important}#printArea{position:absolute;left:0;top:0;width:100%}.tool-shell .inv__stage{background:none!important;border:0!important;padding:0!important}.tool-shell .doc{border:0!important;box-shadow:none!important;border-radius:0!important;max-width:none;margin:0!important;padding:0!important}.tool-shell .doc__table th,.tool-shell .doc__title{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
