.excise-wrap .excise-card,.excise-shortcode-wrap .excise-card{background:#fff;border:1px solid #dcdcde;border-radius:6px;padding:14px;margin:12px 0}.excise-search-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-bottom:12px}.excise-search-grid label{font-weight:600}.excise-search-grid input,.excise-search-grid select{width:100%;max-width:100%;margin-top:4px}.excise-search-actions{display:flex;gap:10px;flex-wrap:nowrap;align-items:center;margin:10px 0 14px;overflow-x:auto;white-space:nowrap}.excise-search-actions .button{display:inline-flex!important;align-items:center;justify-content:center;white-space:nowrap;min-height:40px;padding:8px 18px;line-height:1.2}.excise-results-wrap{overflow:auto}.excise-results-table{width:100%;border-collapse:collapse;font-size:13px;background:#fff}.excise-results-table th,.excise-results-table td{border:1px solid #ccc;padding:6px;vertical-align:top}.excise-results-table th{background:#f5f5f5}.excise-results-table .num{text-align:right;white-space:nowrap}.excise-results-table .serial{text-align:center;white-space:nowrap}.strong{font-weight:700}.excise-total-row td{background:#f2f2f2;font-weight:700}.excise-summary-total,.excise-upload-info{border:1px solid #d0d0d0;padding:8px;margin:8px 0;background:#fafafa}.excise-progress-bar{height:16px;background:#eee;border:1px solid #ccc;border-radius:8px;overflow:hidden}.excise-progress-bar span{display:block;height:100%;background:#1151d3;transition:width .2s}.excise-progress-text{margin:6px 0 0}.excise-upload-card .form-table input[type=text],.excise-upload-card .form-table input[type=date],.excise-upload-card .form-table input[type=time],.excise-upload-card .form-table select{max-width:360px}@media print{.excise-search-form,.excise-search-actions,.button,.wp-post-page-print,.post-print-button,[class*=print-button]{display:none!important}.excise-results-wrap{overflow:visible}.excise-results-table{font-size:9pt;table-layout:fixed}.excise-results-table th,.excise-results-table td{padding:3px;word-break:normal;overflow-wrap:anywhere}body{background:#fff!important}@page{size:A4 landscape;margin:7mm}}
.excise-filter-note{border:1px solid #f0d36a;background:#fff8d8;padding:8px;margin:8px 0;color:#4a3b00}

@media print{.excise-results-table{table-layout:fixed;font-size:9pt}.excise-results-table th,.excise-results-table td{overflow-wrap:normal;word-break:normal}.excise-results-table th:nth-child(2),.excise-results-table td:nth-child(2){width:8%;white-space:nowrap}.excise-results-table th:nth-child(12),.excise-results-table td:nth-child(12){width:11%;white-space:nowrap}.excise-results-table th:nth-child(5),.excise-results-table td:nth-child(5){overflow-wrap:anywhere}}

.excise-search-actions .button{background:#1151d3!important;border-color:#1151d3!important;color:#fff!important;text-decoration:none!important}.excise-search-actions .button:hover,.excise-search-actions .button:focus{background:#0d47bd!important;border-color:#0d47bd!important;color:#fff!important}

.excise-fixed-field{background:#f7f7f7!important;border:1px solid #8c8f94!important;color:#1d2327!important;font-weight:600;cursor:not-allowed}

.excise-backend-only-note {
  border: 1px solid #d0d7de;
  background: #f6f8fa;
  padding: 12px 14px;
  margin-top: 12px;
  font-size: 15px;
}
@media(max-width:700px){.excise-search-actions{overflow-x:auto;-webkit-overflow-scrolling:touch}.excise-search-actions .button{flex:0 0 auto}.excise-results-wrap{max-height:none}}

.excise-search-actions .excise-whatsapp-share{background:#25D366!important;border-color:#25D366!important;color:#fff!important;display:inline-flex!important;align-items:center;gap:8px;}
.excise-search-actions .excise-whatsapp-share:hover,.excise-search-actions .excise-whatsapp-share:focus{background:#1ebe5d!important;border-color:#1ebe5d!important;color:#fff!important;}
.excise-wa-icon{width:18px;height:18px;display:inline-block;flex:0 0 18px;background-repeat:no-repeat;background-position:center;background-size:18px 18px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff' d='M16.02 3.2A12.73 12.73 0 0 0 5.25 22.75L3.8 28.8l6.2-1.63A12.72 12.72 0 1 0 16.02 3.2zm0 2.27a10.46 10.46 0 0 1 8.91 15.94 10.46 10.46 0 0 1-13.98 3.57l-.44-.26-3.68.97.97-3.56-.29-.46A10.46 10.46 0 0 1 16.02 5.47zm-5.1 5.84c-.24 0-.62.09-.94.44-.32.36-1.24 1.21-1.24 2.95s1.27 3.43 1.45 3.67c.18.24 2.45 3.92 6.04 5.34 2.99 1.18 3.6.94 4.25.88.65-.06 2.1-.86 2.4-1.68.3-.83.3-1.54.21-1.68-.09-.15-.33-.24-.7-.42-.36-.18-2.1-1.04-2.43-1.16-.32-.12-.56-.18-.8.18-.24.36-.92 1.16-1.13 1.4-.21.24-.42.27-.77.09-.36-.18-1.51-.56-2.88-1.78-1.06-.95-1.78-2.12-1.99-2.48-.21-.36-.02-.55.16-.73.16-.16.36-.42.53-.63.18-.21.24-.36.36-.6.12-.24.06-.45-.03-.63-.09-.18-.8-1.93-1.1-2.65-.29-.69-.59-.6-.8-.61-.21-.01-.45-.01-.69-.01z'/%3E%3C/svg%3E");}

/* v1.65.0: consistent field styling and reliable submit; desktop buttons in one row; mobile buttons stacked for easy tap */
.excise-search-actions{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:12px!important;
  overflow-x:auto!important;
  white-space:nowrap!important;
}
.excise-search-actions .button{
  flex:0 0 auto!important;
  min-width:auto!important;
}
@media (max-width: 700px){
  .excise-search-actions{
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    overflow-x:visible!important;
    white-space:normal!important;
    gap:10px!important;
  }
  .excise-search-actions .button{
    width:100%!important;
    max-width:100%!important;
    flex:0 0 auto!important;
    justify-content:center!important;
    text-align:center!important;
    min-height:44px!important;
    margin:0!important;
  }
}

/* v1.62.0: on mobile show WhatsApp sharing, not the print/PDF button */
@media (max-width: 700px){
  .excise-search-actions .excise-print-report-btn{
    display:none!important;
  }
}


/* v1.65.0: make Financial Year dropdown visually identical to other filter boxes */
.excise-search-grid input[type="text"],
.excise-search-grid select{
  min-height:42px!important;
  padding:8px 10px!important;
  border:1px solid #8c8f94!important;
  border-radius:4px!important;
  background:#fff!important;
  color:#1d2327!important;
  box-sizing:border-box!important;
  font-size:14px!important;
}
.excise-search-grid select{appearance:auto!important;-webkit-appearance:menulist!important;}

/* v1.68.0: Search uses AJAX first with fallback; Print Report and WhatsApp share use the same generated PDF endpoint. */

/* v1.68.0: visible AJAX search feedback and consistent public form fields. */
.excise-backend-only-note{border-radius:4px;}

/* v1.69.0: Print button opens direct print page; mobile share uses native PDF file share when browser supports it. */

/* v1.70.0: Desktop keeps PDF/Print + Excel; mobile shares Excel for WhatsApp. */
.excise-mobile-only{display:none!important;}
.excise-desktop-only{display:inline-flex!important;}
@media (max-width: 700px){
  .excise-desktop-only{display:none!important;}
  .excise-mobile-only{display:inline-flex!important;}
  .excise-search-actions .excise-whatsapp-excel-share{background:#25D366!important;border-color:#25D366!important;color:#fff!important;}
}
@media (min-width: 701px){
  .excise-search-actions{overflow-x:visible!important;}
}
.excise-search-actions .excise-whatsapp-excel-share{background:#25D366!important;border-color:#25D366!important;color:#fff!important;display:inline-flex!important;align-items:center!important;gap:8px!important;}
.excise-search-actions .excise-whatsapp-excel-share:hover,.excise-search-actions .excise-whatsapp-excel-share:focus{background:#1ebe5d!important;border-color:#1ebe5d!important;color:#fff!important;}
