/* Tool pages use the homepage styles; these rules only cover the tool inside the grey box. */
.converter-entry .converter-upload.tool-upload{height:auto!important;min-height:0!important;padding:22px!important;display:block;text-align:left}
#tool textarea{width:100%;box-sizing:border-box;font:13px/1.5 ui-monospace,Consolas,monospace;border:1px solid #cbd5e1;border-radius:6px;padding:12px;resize:vertical;background:#fff;min-height:140px}
#tool textarea:focus{outline:2px solid #4c64d9;outline-offset:0}
.tool-row{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;justify-content:space-between;margin:0 0 10px;font-size:14px;color:#475569}
.tool-row label{display:flex;flex-wrap:wrap;align-items:center;gap:8px;max-width:100%}
.tool-row input[type=file]{max-width:100%;font-size:13px}
.tool-row input[type=file]::file-selector-button{border:0;background:#4c64d9;color:#fff;border-radius:5px;padding:8px 14px;font:inherit;font-weight:600;cursor:pointer;margin-right:8px}
.tool-link{background:none;border:0;padding:0;color:#4c64d9;font:inherit;font-weight:600;text-decoration:underline;cursor:pointer}
.tool-settings{margin:10px 0 0}
.tool-settings summary{cursor:pointer;font-size:13.5px;font-weight:600;color:#475569}
.tool-map,.tool-opts{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0;font-size:13px;color:#334155}
.tool-map label,.tool-opts label{display:flex;flex-wrap:wrap;align-items:center;gap:6px;background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:5px 8px;max-width:100%}
.tool-map select,.tool-opts select{font:inherit;border:1px solid #cbd5e1;border-radius:5px;padding:3px 4px;background:#fff;max-width:170px}
.tool-out{margin-top:14px}.tool-out:empty{display:none}
.tool-note{font-size:15px;font-weight:600;color:#0f172a;margin:0 0 10px}
.tool-btn{background:#4c64d9;color:#fff;border:0;border-radius:5px;padding:10px 18px;font:inherit;font-weight:600;cursor:pointer;margin:0 0 12px}
.tool-btn:hover{background:#3f55c2}
.tool-scroll{overflow-x:auto;border:1px solid #e2e8f0;border-radius:6px;background:#fff}
.tool-table{border-collapse:collapse;width:100%;font-size:13px}
.tool-table th,.tool-table td{padding:8px 12px;border-bottom:1px solid #f1f5f9;text-align:left;white-space:nowrap}
.tool-table th{background:#f8fafc;font-weight:600;color:#475569}
.tool-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:22px}
.tool-cta .tool-cta-btn{flex:none;background:#4c64d9;color:#fff;text-decoration:none;font-weight:600;border-radius:5px;padding:10px 16px}
.tool-cta .tool-cta-btn:hover{background:#3f55c2}
.tool-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:6px}
.tool-item{display:block;padding:14px 16px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#1e293b;text-decoration:none;text-align:left}
.tool-item:hover{border-color:#4c64d9;background:#f5f7ff}
.tool-item strong{display:block;font-size:15px;margin-bottom:4px}.tool-item span{font-size:13.5px;line-height:1.45;color:#64748b}
@media(max-width:640px){.tool-list{grid-template-columns:1fr}.tool-row{flex-direction:column;align-items:flex-start}.tool-cta{flex-direction:column;align-items:flex-start}}

/* Empty state looks like the homepage box: centered big button. */
.converter-entry .converter-upload.tool-upload{min-height:256px!important;display:flex;flex-direction:column;justify-content:center}
#tool{width:100%}
.tool-start{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
#tool.has-data .tool-start{flex-direction:row;justify-content:space-between;gap:12px;margin-bottom:12px}
.tool-start .secondary{font-size:24px;min-height:60px;padding:10px 36px;border-radius:4px;background:#4c64d9;color:#fff;border:0;cursor:pointer;font-weight:500}
.tool-start .secondary:hover{background:#3f55c2}
#tool.has-data .tool-start .secondary{font-size:15px;min-height:40px;padding:8px 16px}
.tool-alt{margin:0;font-size:14px;color:#64748b}
.tool-link{background:none;border:0;padding:0;color:#4c64d9;font:inherit;font-weight:500;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
#tool textarea{min-height:120px}
.converter-upload.tool-upload.dragging{background:#e7eaff;outline:2px solid #4c64d9}
.entry-help.tool-cta .tool-cta-btn,.entry-help.tool-cta .tool-cta-btn:visited{color:#fff!important;text-decoration:none!important}
@media(max-width:640px){.tool-start .secondary{font-size:20px;padding:10px 24px}#tool.has-data .tool-start{flex-direction:column;align-items:flex-start}}
.recon-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.recon-field{display:flex;flex-direction:column;gap:4px;font-size:14px;font-weight:600;color:#0f172a}.recon-field input{font:inherit;font-weight:500;border:1px solid #cbd5e1;border-radius:5px;padding:9px 10px;background:#fff}.recon-field small{font-weight:400;font-size:12px;color:#64748b}
.recon-table{max-width:420px;margin:14px 0 6px;background:#fff;border:1px solid #e2e8f0;border-radius:6px}.recon-table td{text-align:right;font-weight:600}
a.secondary.tool-go{display:inline-flex;align-items:center;text-decoration:none;font-size:24px;min-height:60px;padding:10px 36px;border-radius:4px;background:#4c64d9;color:#fff;font-weight:500}a.secondary.tool-go:hover{background:#3f55c2}
@media(max-width:640px){.recon-grid{grid-template-columns:1fr}a.secondary.tool-go{font-size:20px;padding:10px 24px}}
.landing-body{max-width:760px;margin:26px 0 0;text-align:left;font-size:16px;line-height:1.65;color:#334155}.landing-body h2{font-size:21px;margin:22px 0 8px;color:#0f172a}.landing-body ol,.landing-body ul{padding-left:22px;margin:0 0 10px}.landing-body li{margin:6px 0}.landing-body .tool-disclaimer{font-size:13px;color:#64748b;margin-top:18px}

/* FAQ under tools and bank pages: same look as the homepage FAQ lines. */
.tool-faq{border-top:1px solid #e2e8f0;margin:6px 0 10px}
.tool-faq details{border-bottom:1px solid #e2e8f0}
.tool-faq summary{padding:14px 0;min-height:44px;cursor:pointer;font-weight:600;color:#0f172a;list-style:none}
.tool-faq summary::-webkit-details-marker{display:none}
.tool-faq summary::after{content:'+';float:right;color:#4c64d9;font-weight:500}
.tool-faq details[open] summary::after{content:'−'}
.tool-faq details p{margin:0 0 14px}

/* Guides on the homepage layout. */
.guide-body pre{white-space:pre-wrap;overflow-x:auto;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:12px;font-size:13px}
.guide-body table{width:100%;border-collapse:collapse;display:block;overflow-x:auto;font-size:14px}
.guide-body th,.guide-body td{border:1px solid #e2e8f0;padding:6px 8px;text-align:left}
.guide-body a,.landing-body a{color:#4c64d9}
.tool-entry .entry-subtitle{max-width:760px}

/* /pricing/ page */
.price-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0 14px;text-align:left}
.price-tile{position:relative;border:1px solid #e2e8f0;border-radius:10px;padding:20px;background:#fff;display:flex;flex-direction:column;gap:6px}
.price-tile.popular{border:2px solid #4c64d9;box-shadow:0 6px 20px rgba(76,100,217,.15)}
.price-tile .popular-badge{position:absolute;top:-11px;left:50%;transform:translateX(-50%);background:#4c64d9;color:#fff;font-size:11px;font-weight:700;padding:3px 10px;border-radius:999px;white-space:nowrap}
.price-tile h2{font-size:18px;margin:0}
.price-big{font-size:32px;font-weight:700;margin:4px 0 0;color:#0f172a}.price-big span{font-size:14px;font-weight:500;color:#64748b}
.price-small{margin:0;font-size:13px;color:#64748b}.price-pages{margin:4px 0 10px;font-size:14px;color:#334155}
.price-tile .tool-cta-btn{margin-top:auto;text-align:center;background:#4c64d9;color:#fff!important;text-decoration:none!important;padding:11px 14px;border-radius:6px;font-weight:600}
.pack-line{border:2px solid #4c64d9;background:#eef1fd;border-radius:10px;padding:14px 18px;text-align:left;font-size:15px}
.pack-line a{color:#4c64d9;font-weight:600}
.check-list{list-style:none;padding-left:0!important}.check-list li{position:relative;padding-left:24px}.check-list li::before{content:'✓';position:absolute;left:0;color:#4c64d9;font-weight:700}
.table-scroll{overflow-x:auto}.price-table{width:100%;border-collapse:collapse;font-size:14px}.price-table th,.price-table td{border-bottom:1px solid #e2e8f0;padding:9px 8px;text-align:left;vertical-align:top}.price-table thead th{color:#64748b;font-weight:600}
@media(max-width:760px){.price-tiles{grid-template-columns:1fr;gap:22px}}
.tool-group{font-size:20px;margin:26px 0 10px;text-align:left}
/* Reconciliation: two sides, country terms, itemised lists */
.recon-region{display:flex;align-items:center;gap:8px;justify-content:flex-end;font-size:14px;margin-bottom:10px}
#tool .recon-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;text-align:left}
.recon-col{display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:14px}
.recon-col h3{margin:0;font-size:15px;color:#4c64d9;text-transform:uppercase;letter-spacing:.05em}
.recon-field{display:flex;flex-direction:column;gap:4px}.rf-label{font-weight:600;font-size:14px}
.recon-field small{color:#64748b;font-size:12px}
.recon-items{display:flex;flex-direction:column;gap:6px}
.recon-item{display:grid;grid-template-columns:1fr 110px auto;gap:6px;align-items:center}
.recon-item input{min-width:0}
.ri-add{align-self:flex-start;font-size:13px}.ri-del{font-size:12px;color:#94a3b8}
@media(max-width:700px){#tool .recon-grid{grid-template-columns:1fr}.recon-region{justify-content:flex-start}}
/* Bank Statement Wrapped */
.wrapped{margin-top:12px;text-align:left}
.wrapped-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}
.wrapped-fact{background:linear-gradient(160deg,#4c64d9,#2b3a9e);color:#fff;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:3px}
.wf-k{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#c7d2fe;font-weight:700}
.wrapped-fact strong{font-size:20px;line-height:1.2;word-break:break-word}.wrapped-fact small{color:#e0e7ff;font-size:12px}
.wrapped-top{margin-top:14px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:14px}
.wrapped-top h3{margin:0 0 8px;font-size:16px}.wrapped-top ol{margin:0;padding-left:20px;display:grid;gap:6px}
.wrapped-top li{display:flex;justify-content:space-between;gap:10px}.wrapped-top li b{color:#4c64d9}
.wrapped-share{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:14px}
.wrapped-share label{font-size:14px;display:flex;gap:6px;align-items:center}
/* Income summary: print only the report */
.income-report{margin-top:14px;text-align:left}.income-report h3{font-size:16px;margin:0 0 8px}
@media print{body.print-income *{visibility:hidden}body.print-income .tool-out,body.print-income .tool-out *{visibility:visible}body.print-income .tool-out{position:absolute;left:0;top:0;width:100%}body.print-income .tool-btn{display:none}}
.wrapped-pdf a{font-weight:600;color:#4c64d9}

/* Security and Integrations pages */
.trust-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;margin:20px 0;text-align:left}
.trust-card{border:1px solid #e2e8f0;border-radius:12px;padding:16px;background:#fff}
.trust-card h2{font-size:16px;margin:0 0 6px;color:#0f172a}.trust-card p{margin:0;color:#475569;font-size:14px;line-height:1.5}
.trust-card .trust-links{margin-top:8px}.trust-card .trust-links a{color:#4c64d9;font-weight:600}

/* Hub pages (free tools, guides, banks): SiteGPT-style card grid */
.tool-entry:has(>.tool-list){max-width:1120px}
.tool-entry:has(>.tool-list)>h1{font-size:clamp(32px,4.4vw,48px);letter-spacing:-1.4px;line-height:1.1;text-align:center;margin:28px auto 10px}
.tool-entry:has(>.tool-list)>.entry-subtitle{text-align:center;max-width:620px;margin:0 auto 28px;font-size:16px}
.tool-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:10px}
.tool-item{display:flex;flex-direction:column;gap:6px;padding:20px;border-radius:16px;transition:transform .15s,box-shadow .15s,border-color .15s}
.tool-item::before{content:"";display:block;width:40px;height:40px;margin-bottom:6px;border-radius:11px;background:#eef1ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%234c64d9' d='M224 48H32a8 8 0 0 0-8 8v136a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V56a8 8 0 0 0-8-8M40 112h40v32H40Zm56 0h120v32H96Zm120-48v32H40V64ZM40 160h40v32H40Zm176 32H96v-32h120z'/%3E%3C/svg%3E") center/20px no-repeat}
.tool-item::after{content:"Open \2192";margin-top:auto;padding-top:8px;font-size:14px;font-weight:600;color:#4c64d9}
.tool-item:hover{background:#fff;transform:translateY(-2px);box-shadow:0 18px 40px -24px #4c64d9}
.tool-item strong{font-size:16px;margin:0}
.tool-group{font-size:22px;letter-spacing:-.4px;margin:40px 0 14px}
@media(max-width:900px){.tool-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.tool-list{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.tool-item{transition:none}}

/* Tool pages: centred hero like SiteGPT tool pages, "Try our other free tools" cards, bank chips */
.tool-entry:not(:has(.pd-hero))>#entry-title{text-align:center;font-size:clamp(30px,4vw,44px);letter-spacing:-1.2px;line-height:1.12;margin-top:24px}
.tool-entry:not(:has(.pd-hero))>#entry-title+.entry-subtitle{text-align:center;max-width:640px;margin-left:auto;margin-right:auto}
.more-tools{margin-top:56px;padding-top:40px;border-top:1px solid #e2e8f0;text-align:center}
.more-tools .pd-tag{margin:0 0 6px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#4c64d9}
.more-tools h2{font-size:clamp(24px,3vw,32px);letter-spacing:-.6px;margin:0 0 20px}
.more-tools .tool-list{grid-template-columns:repeat(3,minmax(0,1fr))}
.more-tools-all{display:inline-block;margin-top:20px;font-weight:600;color:#4c64d9;text-decoration:none}
.seo-links.bank-links{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.seo-links.bank-links h2{flex-basis:100%;text-align:center}
.seo-links.bank-links a{padding:7px 14px;border-radius:999px;border:1px solid #e2e8f0;background:#fff;font-size:13px;color:#334155;text-decoration:none}
.seo-links.bank-links a:hover{border-color:#4c64d9;color:#4c64d9}
@media(max-width:900px){.more-tools .tool-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.more-tools .tool-list{grid-template-columns:1fr}}

/* Per-tool Phosphor icons (Iconify ph) in the tile */
.tool-item[style*="--i"]::before{background:#eef1ff var(--i) center/24px no-repeat}

/* VAT total row */
.tool-table tr.vat-total td{font-weight:700;border-top:2px solid #cbd5e1}
