.vatcheck-page { color-scheme:light; }
.vc-shell { width:min(1320px,calc(100% - 32px)); }
.landing-actions { display:flex; gap:18px; align-items:center; flex-wrap:wrap; }
.vc-intro { padding:24px 4px 30px; }
.vc-eyebrow { font-size:12px; letter-spacing:.13em; font-weight:800; color:#4f46e5; }
.vc-intro h1 { font:850 clamp(30px,4vw,46px)/1.16 var(--landing-font); text-transform:none; margin:12px 0 16px; color:#172033; }
.vc-intro h1 span { font-weight:450; color:#59677e; margin-left:12px; }
.vc-intro p { max-width:820px; font-size:17px; line-height:1.65; color:#526079; margin:0; }
.vc-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:20px; }
.vc-chips span { border:1px solid #d8e1f3; background:#f7faff; color:#53617b; font-size:12px; padding:7px 11px; border-radius:6px; }
.vc-input-panel,.vc-results,.vc-sources { margin-bottom:22px; }
.vc-panel-title { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.vc-panel-title>span { font-size:12px; color:#526079; }
.vatcheck-page label { font-size:13px; font-weight:700; color:#27344e; display:block; }
.vatcheck-page textarea,.vatcheck-page select,.vatcheck-page input { box-sizing:border-box; background:#fff; color:#172033; border:1px solid #bbc9e0; border-radius:6px; padding:10px 12px; font:14px/1.5 var(--landing-font); text-transform:none; outline-offset:2px; }
.vatcheck-page textarea { display:block; width:100%; min-height:250px; resize:vertical; margin-top:10px; font-family:ui-monospace,Consolas,monospace; }
.vatcheck-page textarea:focus,.vatcheck-page input:focus,.vatcheck-page select:focus { outline:2px solid #4f46e5; }
.vatcheck-page textarea::placeholder { color:#8995a8; }
.vc-help { font-size:12px; line-height:1.65; color:#66728a; margin:6px 0; }
.vc-input-stats { display:flex; gap:8px; flex-wrap:wrap; padding:14px 0; color:#526079; font-size:13px; }
.vc-counter { border-radius:5px; background:#edf2ff; padding:6px 10px; }
.vc-counter strong { color:#253251; margin-right:4px; }
.vc-counter.issue { background:#fff3da; color:#8a5a0b; }
.vc-actions,.vc-job-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-top:16px; }
.vatcheck-page button { border-radius:6px; padding:10px 15px; font:700 13px/1.4 var(--landing-font); cursor:pointer; text-transform:none; letter-spacing:normal; min-height:40px; box-shadow:none; }
.vatcheck-page button:focus-visible, .vatcheck-page summary:focus-visible { outline:3px solid #8b8afa; outline-offset:3px; }
.vatcheck-page button.vc-primary { color:#fff; background:#4f46e5; border:1px solid #4f46e5; }
.vatcheck-page button.vc-primary:hover { background:#4338ca; }
.vatcheck-page button.vc-secondary { color:#35425a; background:#fff; border:1px solid #c5d0e3; }
.vatcheck-page button.vc-secondary:hover { background:#eef3ff; }
.vatcheck-page button.vc-text-button { background:transparent; color:#68748b; border:1px solid transparent; }
.vatcheck-page button:disabled { opacity:.5; cursor:not-allowed; }
.vc-preview { border-top:1px solid #e2e8f3; padding-top:12px; }
.vatcheck-page summary { cursor:pointer; color:#4f46e5; font-size:13px; font-weight:700; padding:5px 0; }
.vc-preview-list { max-height:310px; overflow:auto; font-size:12px; margin-top:10px; }
.vc-preview-item { display:grid; grid-template-columns:1fr 1fr 1.5fr; gap:12px; padding:8px; border-bottom:1px solid #e7ecf5; overflow-wrap:anywhere; }
.vc-notice,.vc-error { border-radius:8px; padding:14px 16px; font-size:13px; line-height:1.7; margin-bottom:18px; }
.vc-notice { background:#fff6df; border:1px solid #efd6a2; color:#785417; }
.vc-error { background:#fff0f0; border:1px solid #e8b5b5; color:#9d2020; }
.vc-history { margin:0 0 20px; display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.vc-history select { max-width:100%; }
.vc-progress { display:flex; align-items:center; gap:16px; font-size:13px; color:#526079; }
.vc-progress progress { height:10px; flex:1; max-width:600px; border:none; border-radius:8px; background:#e7edf7; accent-color:#4f46e5; overflow:hidden; }
.vc-progress progress::-webkit-progress-bar { background:#e7edf7; }
.vc-progress progress::-webkit-progress-value { background:#4f46e5; }
.vc-progress progress::-moz-progress-bar { background:#4f46e5; }
.vc-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:22px 0 14px; }
.vc-summary>div { padding:14px 16px; border-radius:6px; border:1px solid #e0e5ee; background:#f6f8fc; }
.vc-summary strong { font-size:25px; display:block; margin-bottom:4px; }
.vc-summary span { font-size:12px; }
.vc-summary .danger { background:#fff2f2; border-color:#f0cccc; color:#a92424; }
.vc-summary .risk { background:#fff8e9; border-color:#efddb9; color:#8c5b08; }
.vc-explanation { background:#f5f7fc; border-left:3px solid #a0abc1; padding:12px; font-size:12px; line-height:1.75; color:#566178; }
.vc-toolbar { display:flex; align-items:end; gap:12px; flex-wrap:wrap; margin:20px 0 8px; }
.vc-toolbar label>input,.vc-toolbar label>select { display:block; margin-top:6px; width:100%; }
.vc-search-label { flex:1; min-width:180px; }
.vc-export { margin-left:auto; }
.vc-export>div { display:flex; gap:6px; margin-top:6px; }
.vc-table-wrap { overflow-x:auto; margin-top:16px; }
.vc-table { border-collapse:collapse; width:100%; font-size:12px; line-height:1.6; }
.vc-table th { text-align:left; background:#f0f4fc; padding:12px 10px; font-size:11px; color:#56627b; font-weight:750; border-bottom:1px solid #ccd7ea; }
.vc-table td { padding:14px 10px; vertical-align:top; border-bottom:1px solid #e3e9f3; }
.vc-table tr:hover>td { background:#fafcff; }
.vc-table td:nth-child(1) { min-width:125px; }
.vc-table td:nth-child(2) { min-width:120px; max-width:210px; overflow-wrap:anywhere; }
.vc-table td:nth-child(5) { min-width:210px; max-width:370px; }
.vc-tax { display:block; font-weight:750; font-size:13px; }
.vc-muted { display:block; color:#728098; font-size:11px; margin-top:4px; }
.vc-badge { display:inline-block; padding:4px 7px; border-radius:5px; font-size:11px; font-weight:700; margin:0 0 4px; color:#58647b; background:#eef1f6; }
.vc-badge.valid { background:#e5f6ee; color:#176b4a; }
.vc-badge.danger { background:#fde9e9; color:#ad2929; }
.vc-badge.risk { background:#fff0cf; color:#875707; }
.vc-reason { margin:0 0 8px; }
.vc-details-row>td { padding:0; }
.vc-detail { padding:18px; background:#f7faff; }
.vc-detail h3 { font:750 14px/1.5 var(--landing-font); text-transform:none; color:#27344e; margin:14px 0 6px; }
.vc-detail p,.vc-detail li { font-size:12px; line-height:1.7; color:#59667b; }
.vc-detail ul { margin:8px 0 12px; padding-left:20px; }
.vc-field { display:grid; grid-template-columns:minmax(150px,1fr) 2fr; padding:5px 0; border-bottom:1px solid #e5ebf5; font-size:12px; gap:12px; overflow-wrap:anywhere; }
.vc-field>span:first-child { color:#728098; }
.vc-source-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px; margin:4px 0 16px; }
.vc-source { border:1px solid #e1e7f2; border-radius:6px; padding:12px; font-size:13px; }
.vc-source p { margin:5px 0 0; color:#69758b; font-size:12px; line-height:1.65; }
.vc-pagination { display:flex; justify-content:center; align-items:center; gap:14px; font-size:12px; padding:18px 0 0; color:#69758b; }
.vc-empty { text-align:center; color:#69758b; padding:30px!important; }
.vc-footer { color:#738099; padding:4px 4px 24px; font-size:12px; line-height:1.8; }
.vatcheck-page [hidden] { display:none!important; }
@media(max-width:800px) {
  .vc-intro h1 span { display:block; margin:7px 0 0; font-size:.65em; }
  .vc-toolbar>* { flex:1 1 160px; }
  .vc-export { margin-left:0; }
  .vc-table thead { display:none; }
  .vc-table,.vc-table tbody,.vc-table tr,.vc-table td { display:block; width:auto; }
  .vc-table tr { margin:12px 0; border:1px solid #dce4f2; border-radius:8px; overflow:hidden; }
  .vc-table td { display:grid; grid-template-columns:120px minmax(0,1fr); padding:9px 12px; min-width:0!important; max-width:none!important; border-bottom:1px solid #edf0f7; }
  .vc-table td::before { content:attr(data-label); color:#748098; font-size:11px; }
  .vc-table .vc-details-row { margin-top:-12px; }
  .vc-table .vc-details-row>td { display:block; padding:0; }
  .vc-table .vc-details-row>td::before { display:none; }
  .vc-summary { gap:6px; }
  .vc-summary>div { padding:12px 8px; }
  .vc-detail { padding:12px; }
  .vc-preview-item { grid-template-columns:1fr; gap:4px; }
  .vc-field { grid-template-columns:1fr; gap:2px; }
}
@media(max-width:450px) {
  .vc-shell { width:calc(100% - 20px); }
  .landing-brand img { width:130px; }
  .landing-actions { gap:9px; font-size:12px; }
  .vc-progress { align-items:start; flex-direction:column; gap:8px; }
  .vc-progress progress { flex:none; width:100%; }
}
