/* Extracted from assets/css/vatax.css on 2026-06-25. Do not edit vatax.css for page-only styles; edit this file. */

.vat-checker-section{padding-top:70px}


.vat-checker-card{background:#fff;border:1px solid #cfe1e5;border-radius:32px;padding:34px;box-shadow:0 26px 70px rgba(0,47,50,.1)}


.checker-topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;margin-bottom:26px}


.checker-topbar h2{font-size:clamp(30px,4vw,48px);line-height:1.05;margin:4px 0 10px;font-weight:1000;color:#071617}


.checker-topbar p{color:#647b80;line-height:1.8;margin:0}


.checker-status-card{min-width:210px;border-radius:24px;background:linear-gradient(145deg,#003f41,#00696b);color:#fff;padding:20px;box-shadow:0 18px 42px rgba(0,90,92,.18)}


.checker-status-card span{display:block;color:#d8eff0;font-size:13px;font-weight:800;margin-bottom:7px}


.checker-status-card strong{font-size:28px}


.checker-meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0 24px}


.checker-actions-row{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin:18px 0}


.checker-actions-row.top-actions{justify-content:space-between}


.checker-section{margin-top:28px;border:1px solid #d6e6e9;border-radius:28px;overflow:hidden;background:#fff}


.checker-section-title{background:#003f36;color:#fff;padding:15px 20px}


.checker-section-title h3{margin:0;font-size:19px;font-weight:1000}


.checker-table-wrap,.checker-summary-table-wrap{overflow:auto}


.checker-table{width:100%;border-collapse:collapse;min-width:1280px}


.checker-table th,.checker-table td{border-bottom:1px solid #e3ecef;padding:12px 12px;vertical-align:middle;text-align:center}


.dir-ltr .checker-table th,.dir-ltr .checker-table td{text-align:center}


.checker-table th{background:#dcecf7;color:#071617;font-size:13px;font-weight:1000}


.checker-table input{width:120px;max-width:100%;border:1px solid #c6d9dd;border-radius:12px;padding:10px 12px;background:#fffdf1;font-weight:800}

html body.public-body.page-vat-return-checker-body:not(.admin-body) form.vat-checker-card .checker-table input[data-vat-amount]:disabled{
  background:#e3e7e8!important;
  border-color:#c3cdd0!important;
  color:#687579!important;
  -webkit-text-fill-color:#687579!important;
  box-shadow:none!important;
  cursor:not-allowed!important;
  opacity:1!important;
}


.checker-table input:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 3px rgba(0,90,92,.1)}


.checker-desc{text-align:initial!important;min-width:250px;font-weight:800;color:#18393d}


.checker-box-no{font-weight:1000;color:#071617}


.checker-notes{text-align:initial!important;min-width:240px;color:#28484c}


.checker-total-row td{background:#fafafa;font-weight:1000}


.risk-flag{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 10px;font-weight:1000;font-size:12px}


.risk-flag.ok,.risk-flag.low{background:#dff4dc;color:#075f27}


.risk-flag.check,.risk-flag.medium{background:#fff1c2;color:#8a5200}


.risk-flag.high{background:#ffe0e0;color:#991b1b}


.checker-summary-section{border-color:#cfe3e5}


.checker-summary-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.65fr);gap:18px;padding:20px}


.summary-table{min-width:760px}


.risk-panel{border:1px solid #d6e6e9;border-radius:24px;padding:20px;background:#f8fcfc}


.risk-panel h4{margin:0 0 14px;font-size:22px;font-weight:1000}


.risk-metric,.risk-final{display:grid;grid-template-columns:1fr auto 42px;gap:12px;align-items:center;border-bottom:1px solid #dfeaec;padding:11px 0}


.risk-metric span,.risk-final span{font-weight:850;color:#315459}


.risk-metric strong,.risk-final strong{font-weight:1000;color:#071617}


.risk-metric b,.risk-final b{display:grid;place-items:center;width:36px;height:32px;border-radius:12px;background:#e6f3f4;color:var(--teal)}


.risk-final{border-bottom:0;margin-top:8px;background:#fff;border-radius:18px;padding:14px}


.risk-final strong.low{color:#166534}


.risk-final strong.medium{color:#92400e}

.risk-final strong.check{color:#92400e}


.risk-final strong.high{color:#991b1b}


.checker-recommendation{margin:0 20px 20px;border-radius:22px;background:#fdebbb;border:1px solid #f5d182;padding:20px;font-weight:900;line-height:1.7;color:#071617}


.checker-result-alert{max-width:1180px;margin:0 auto 20px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;border-radius:20px;padding:16px 18px}

.checker-result-alert-copy{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;line-height:1.8}

.checker-result-alert-copy span{display:inline-flex;align-items:center;gap:5px}


.final-actions{border-top:1px solid #e2edf0;padding-top:20px}


.dir-rtl .checker-actions-row .icon{transform:scaleX(-1)}


@media (max-width:1050px){
.checker-topbar{display:grid}
.checker-status-card{width:100%}
.checker-meta-grid,.checker-summary-grid{grid-template-columns:1fr}
.vat-checker-card{padding:24px 16px;border-radius:24px}
.checker-table{min-width:1040px}
}


@media (max-width:620px){
.checker-actions-row{justify-content:stretch}
.checker-actions-row .btn{width:100%;justify-content:center}
.checker-topbar h2{font-size:32px}
.checker-section-title h3{font-size:16px}
}


/* VAT Return Checker period/rate controls */
.checker-meta-grid-enhanced{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}


.checker-meta-grid .is-hidden{display:none!important}


.checker-meta-grid select{width:100%;border:1px solid #bdd3d8;border-radius:16px;padding:14px 16px;background:#fff;color:#071617;font-weight:800}


.checker-meta-grid input[readonly]{background:#f8fcfc}


.vat-checker-card [data-return-period-value]{font-weight:1000;color:var(--teal)}


.vat-checker-card [data-vat-rate-mode]{font-weight:1000}


.checker-print-header{display:none}


.checker-section,.checker-table tr{break-inside:avoid;page-break-inside:avoid}


.checker-table th{line-height:1.35}


.checker-table td{line-height:1.45}


@media (max-width:1180px){
.checker-meta-grid-enhanced{grid-template-columns:repeat(2,minmax(0,1fr))}
}


@media (max-width:620px){
.checker-meta-grid-enhanced{grid-template-columns:1fr}
}


@media print{
.site-header,.main-nav,.hero,.checker-actions-row,.alert,.sidebar,.dashboard-sidebar,.footer{display:none!important}
.vat-checker-card{box-shadow:none!important;border:0!important;border-radius:0!important;padding:0!important}
.checker-topbar{display:block!important;margin-bottom:10px!important}
.checker-topbar h2{font-size:20px!important;text-align:center!important}
.checker-topbar p{font-size:12px!important;text-align:center!important}
.checker-status-card{background:#fff!important;color:#000!important;border:1px solid #111!important;box-shadow:none!important;margin:8px 0!important;padding:8px!important}
.checker-meta-grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:6px!important;margin:8px 0!important}
.checker-meta-grid .form-field{break-inside:avoid;border:1px solid #111;padding:5px}
.checker-meta-grid label{font-size:10px!important}
.checker-meta-grid input,.checker-meta-grid select{border:0!important;padding:2px!important;font-size:11px!important;background:#fff!important}
.checker-section{border:0!important;margin:8mm 0 0!important;break-inside:avoid;page-break-inside:avoid}
.checker-section:not(:last-of-type){break-after:page;page-break-after:always}
.checker-section-title{background:#003f36!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact;padding:6px 8px!important}
.checker-section-title h3{font-size:14px!important}
.checker-table{min-width:0!important;width:100%!important;font-size:9px!important}
.checker-table th,.checker-table td{padding:4px!important;border:1px solid #111!important}
.checker-table th{background:#dcecf7!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.checker-table input{border:0!important;background:#fffdf1!important;padding:1px!important;width:100%!important;font-size:9px!important}
.risk-panel,.checker-recommendation{box-shadow:none!important;break-inside:avoid}
.checker-summary-grid{display:block!important;padding:0!important}
.risk-panel{margin-top:8px!important}
.checker-recommendation{margin:8px 0!important;border:1px solid #111!important}
.risk-flag.ok,.risk-flag.low{background:#dff4dc!important}
.risk-flag.check,.risk-flag.medium{background:#fff1c2!important}
.risk-flag.high{background:#ffe0e0!important}
.risk-flag,.checker-total-row td{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


.checker-status-gauge-card{min-width:260px;padding:18px 18px 16px}


.checker-status-gauge-card .vatax-risk-gauge .gauge-arc{width:170px;height:90px}


.checker-status-gauge-card .vatax-risk-gauge strong{color:#fff}


.checker-status-gauge-card .vatax-risk-gauge small{color:#d8eff0}


.risk-panel-gauge{margin:0 auto 18px;padding:14px;border:1px solid #d9e7ea;border-radius:22px;background:#fff}


.checker-opinion-action{display:flex;justify-content:flex-end;margin:0 20px 22px}


.dir-rtl .checker-opinion-action{justify-content:flex-start}


@media (max-width:620px){
.checker-status-gauge-card{min-width:0;width:100%}
.checker-opinion-action{justify-content:stretch}
.checker-opinion-action .btn{width:100%;justify-content:center}
}


.askvatax-result-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;padding:10px 14px;background:linear-gradient(135deg,var(--teal,#005a5c),#07393b);color:#fff!important;text-decoration:none;font-weight:1000;box-shadow:0 14px 30px rgba(0,90,92,.18);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}


.askvatax-result-cta:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(0,90,92,.26)}


.checker-result-alert .askvatax-result-cta{margin-inline-start:12px;margin-block-start:8px}


.result-actions .askvatax-result-cta{background:linear-gradient(135deg,#07393b,#005a5c)}


@media (max-width:640px){
.checker-result-alert .askvatax-result-cta{width:100%;margin-inline-start:0}
}


.checker-row-help{width:22px;height:22px;font-size:12px}


@media (max-width:640px){
.checker-desc{min-width:190px}
}


.askvatax-result-cta{background:linear-gradient(135deg,var(--teal),#0b4a52)!important}


.tax-case-vat-table-compact .checker-desc{min-width:240px}


.vtx-structured-case-desc .checker-section{margin-top:0}


.vtx-structured-case-desc .tax-case-vat-rendered>.checker-section+section{margin-top:0}


.vtx-structured-case-desc .checker-meta-grid{margin:0}


.emp-note.vtx-structured-case-desc .checker-section{margin-top:0}


@media (max-width:620px){
.tax-case-vat-return-entry .checker-section-title h3{font-size:15px}
}

/* VAT Return Checker result actions + reCAPTCHA order - scoped page-only override */
html body.public-body.page-vat-return-checker-body:not(.admin-body) form.vat-checker-card .checker-actions-row.top-actions{
  display:none!important;
}

html body.public-body.page-vat-return-checker-body:not(.admin-body) form.vat-checker-card > .vtx-recaptcha-field{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:fit-content!important;
  max-width:100%!important;
  margin:26px auto 14px!important;
  padding:12px 16px!important;
  border:1px solid rgba(8,56,70,.14)!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,#fff,#f8fcfd)!important;
  box-shadow:0 14px 34px rgba(8,56,70,.07)!important;
  direction:ltr!important;
  grid-column:1/-1!important;
}

html body.public-body.page-vat-return-checker-body:not(.admin-body) form.vat-checker-card > .vtx-recaptcha-field .g-recaptcha{
  margin:0 auto!important;
}

html body.public-body.page-vat-return-checker-body:not(.admin-body) form.vat-checker-card .vtx-vat-checker-final-actions{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-flow:column!important;
  align-items:stretch!important;
  justify-items:stretch!important;
  gap:14px!important;
  width:100%!important;
  padding-top:18px!important;
  margin:0 0 14px!important;
  border-top:1px solid rgba(8,56,70,.12)!important;
  clear:both!important;
}

html body.public-body.page-vat-return-checker-body:not(.admin-body) form.vat-checker-card .vtx-vat-checker-final-actions > :where(button,a,.btn,.askvatax-result-cta){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  justify-self:stretch!important;
  align-self:stretch!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:56px!important;
  margin:0!important;
  padding:13px 18px!important;
  white-space:normal!important;
  text-align:center!important;
  line-height:1.35!important;
  box-sizing:border-box!important;
}

html body.public-body.page-vat-return-checker-body:not(.admin-body) form.vat-checker-card .vtx-vat-checker-ask-btn{grid-column:1!important;}
html body.public-body.page-vat-return-checker-body:not(.admin-body) form.vat-checker-card .vtx-vat-checker-save-btn{grid-column:2!important;}
html body.public-body.page-vat-return-checker-body:not(.admin-body) form.vat-checker-card .vtx-vat-checker-opinion-btn{grid-column:3!important;}

@media (max-width:860px){
  html body.public-body.page-vat-return-checker-body:not(.admin-body) form.vat-checker-card .vtx-vat-checker-final-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  html body.public-body.page-vat-return-checker-body:not(.admin-body) form.vat-checker-card .vtx-vat-checker-final-actions :where(.btn,.askvatax-result-cta){
    grid-column:1!important;
    width:100%!important;
    max-width:none!important;
    justify-self:stretch!important;
  }
  html body.public-body.page-vat-return-checker-body:not(.admin-body) form.vat-checker-card .vtx-vat-checker-save-btn{
    order:2;
  }
}

/* VAT Return Checker + AskVATAX overlap fix.
   Reserve enough scroll space at the bottom so the floating chatbot does not
   cover the final risk text, especially the Medium result label and actions. */
html body.public-body.page-vat-return-checker-body:not(.admin-body) .vat-checker-section{
  padding-bottom:clamp(140px,15vh,210px)!important;
}
html body.public-body.page-vat-return-checker-body:not(.admin-body) .checker-summary-section,
html body.public-body.page-vat-return-checker-body:not(.admin-body) .vtx-vat-checker-final-actions{
  scroll-margin-bottom:170px!important;
}
html body.public-body.page-vat-return-checker-body:not(.admin-body) form.vat-checker-card .vtx-vat-checker-final-actions{
  margin-bottom:14px!important;
}
html body.public-body.page-vat-return-checker-body:not(.admin-body) .risk-final strong[data-risk-level-final-text],
html body.public-body.page-vat-return-checker-body:not(.admin-body) [data-risk-level],
html body.public-body.page-vat-return-checker-body:not(.admin-body) [data-risk-level-final]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:32px!important;
  padding:4px 10px!important;
  border-radius:999px!important;
  white-space:nowrap!important;
}
html body.public-body.page-vat-return-checker-body:not(.admin-body) .risk-final strong[data-risk-level-final-text].medium,
html body.public-body.page-vat-return-checker-body:not(.admin-body) [data-risk-level].medium,
html body.public-body.page-vat-return-checker-body:not(.admin-body) [data-risk-level-final].medium{
  color:#7c4700!important;
  background:#fff5da!important;
  border:1px solid rgba(245,155,24,.32)!important;
}
html body.public-body.page-vat-return-checker-body:not(.admin-body) .risk-final strong[data-risk-level-final-text].low,
html body.public-body.page-vat-return-checker-body:not(.admin-body) [data-risk-level].low,
html body.public-body.page-vat-return-checker-body:not(.admin-body) [data-risk-level-final].low{
  color:#166534!important;
  background:#eefdf4!important;
  border:1px solid rgba(34,197,94,.25)!important;
}
html body.public-body.page-vat-return-checker-body:not(.admin-body) .risk-final strong[data-risk-level-final-text].high,
html body.public-body.page-vat-return-checker-body:not(.admin-body) [data-risk-level].high,
html body.public-body.page-vat-return-checker-body:not(.admin-body) [data-risk-level-final].high{
  color:#991b1b!important;
  background:#fff1f1!important;
  border:1px solid rgba(220,38,38,.26)!important;
}
@media (max-width:760px){
  html body.public-body.page-vat-return-checker-body:not(.admin-body) .vat-checker-section{
    padding-bottom:170px!important;
  }
  html body.public-body.page-vat-return-checker-body:not(.admin-body) .checker-summary-section,
  html body.public-body.page-vat-return-checker-body:not(.admin-body) .vtx-vat-checker-final-actions{
    scroll-margin-bottom:190px!important;
  }
}
@media print{
  html body.public-body.page-vat-return-checker-body:not(.admin-body) .vat-checker-section{padding-bottom:0!important;}
}


/* ===== VAT difference thresholds from client Excel model (2026-07) ===== */
.checker-risk-rules{margin:0 20px 22px;padding:18px;border:1px solid #f1cf72;border-radius:22px;background:#fff8d9;box-shadow:0 12px 28px rgba(96,72,0,.07)}
.checker-risk-rules-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.checker-risk-rules-head>span{display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:#f3c957;color:#063b32;flex:0 0 auto}
.checker-risk-rules-head strong{display:block;color:#063b32;font-size:17px;font-weight:1000}
.checker-risk-rules-head small{display:block;color:#5c573d;font-weight:800;line-height:1.6;margin-top:3px}
.checker-risk-rules-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.checker-risk-rules-grid article{display:grid;gap:6px;align-content:start;border:1px solid rgba(127,100,16,.17);border-radius:16px;background:rgba(255,255,255,.72);padding:13px 14px}
.checker-risk-rules-grid b{color:#18393d;font-weight:1000}
.checker-risk-rules-grid span{color:#534f3c;font-weight:800;line-height:1.65}
.checker-risk-rules-grid .rule-ok{display:inline-flex;justify-self:start;padding:4px 10px;border-radius:999px;background:#dff4dc;color:#075f27;font-weight:1000}
.risk-final strong.ok{color:#075f27}
html body.public-body.page-vat-return-checker-body:not(.admin-body) .risk-final strong[data-risk-level-final-text].ok,
html body.public-body.page-vat-return-checker-body:not(.admin-body) [data-risk-level].ok,
html body.public-body.page-vat-return-checker-body:not(.admin-body) [data-risk-level-final].ok{color:#075f27!important;background:#e8f8e5!important;border:1px solid rgba(22,101,52,.22)!important}
@media (max-width:900px){.checker-risk-rules-grid{grid-template-columns:1fr}.checker-risk-rules{margin-inline:14px}}
