*{box-sizing:border-box}body{font-family:system-ui,Arial,sans-serif;margin:0;background:#f6f7fb;color:#111827;line-height:1.5}.container{max-width:1100px;margin:0 auto;padding:16px}.card{background:#fff;border-radius:12px;padding:16px;box-shadow:0 4px 18px #0000000f}.row{display:flex;gap:12px;flex-wrap:wrap}.col{flex:1}.input{width:100%;padding:10px;border:1px solid #ddd;border-radius:8px}.btn{padding:10px 14px;border:0;border-radius:10px;cursor:pointer;font-weight:500;transition:background .2s}.btn.primary{background:#4f46e5;color:#fff}.btn.primary:hover{background:#4338ca}.btn.ghost{background:#eef;color:#333}.btn.ghost:hover{background:#e0e7ff}.table{width:100%;border-collapse:collapse;font-size:14px}.table th{background:#f9fafb;text-align:left;font-weight:600}.table th,.table td{border-bottom:1px solid #eee;padding:8px 12px}.badge{background:#eef2ff;color:#3730a3;padding:2px 8px;border-radius:999px;font-size:12px}.header{background:#111827;color:#fff;padding:12px 16px}.header a{color:#fff;margin-right:12px;text-decoration:none}.logo{height:56px;object-fit:contain}.preview{background:#fff;padding:24px;border-radius:12px;border:1px solid #e5e7eb}.preview-header h2{margin:0;font-size:20px}.preview h3{margin:0 0 6px;font-size:16px}.small{font-size:12px;color:#666}.d-flex-between{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}.d-flex-gap{display:flex;gap:16px;flex-wrap:wrap}.flex-1{flex:1}.text-right{text-align:right}.d-flex-end{display:flex;justify-content:flex-end}.table-responsive{width:100%;overflow-x:auto;margin-top:12px}.d-flex-end table{border:none}.d-flex-end td{font-size:14px;padding:6px 12px}.d-flex-end tr:last-child td{font-weight:600;font-size:15px;border-top:2px solid #ddd}@media (max-width: 768px){.row{flex-direction:column}.col,.col-12,.col-md-6{width:100%;max-width:100%}.table-responsive{overflow-x:auto}.d-flex-between,.d-flex-gap{flex-direction:column;align-items:stretch;gap:8px}.text-right{text-align:left;margin-top:8px}.logo{max-width:120px;height:auto;margin-top:8px}.btn{width:100%;text-align:center}.table th,.table td{font-size:12px;padding:6px}}@media print{body{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;margin:0;padding:0}.invoice-container{width:100%!important;max-width:100%!important;font-size:12px;padding:10px;box-sizing:border-box}table{width:100%!important;table-layout:auto;word-wrap:break-word}td,th{padding:6px;font-size:11px}}
