/* Match the original form-first workspace: no banner or margin above the editor. */
:root{--ink:#162744;--muted:#42536b;--green:#143f8f;--lime:#e8efff;--paper:#f5f7fc;--line:#c9d5e7;--primary:#143f8f;--primary-hover:#102f6c;--primary-light:#eff4ff}
body{color:#162744;background:#f5f7fc}h1,h2,h3{color:#163d7a}p{color:#42536b}.eyebrow{color:#42536b}.topbar{height:84px;border-bottom:1px solid #c9d5e7}.nav-wrap{max-width:1920px;padding:0 28px;gap:24px}.logo-link img{width:250px;height:auto}.nav-wrap nav{gap:26px;font-size:14px;color:#143f8f}.nav-wrap nav a:not(.nav-cta):hover{color:#102f6c}.header-country{display:flex;gap:10px;align-items:center;flex-shrink:0}.header-country label{font-size:12px;font-weight:650;color:#42536b}.header-country select{font:600 14px 'Segoe UI',Arial,sans-serif;color:#163d7a;background:#fff;border:1px solid #afc2e0;border-radius:6px;height:40px;padding:0 28px 0 10px;width:202px;max-width:100%}
.generator-page .main-wrapper{max-width:1920px;width:100%;padding:0 28px;margin:0 auto}.generator-page .builder-section{margin:0;padding:0}.generator-page .app-grid{display:grid;grid-template-columns:minmax(300px,28%) minmax(0,1fr);gap:26px;align-items:start}.generator-page .control-panel{grid-template-columns:1fr;gap:16px}.generator-page .card{border:1px solid #c9d5e7;border-radius:12px}.generator-page .card-header{padding:17px 20px 13px;gap:12px}.generator-page .card-header h2{font-size:21px;font-weight:700;letter-spacing:-.4px;margin:0;color:#163d7a}.generator-page .card-header p{display:none}.generator-page .card-body{padding:0 20px 17px}.generator-page .control-panel>.card:first-child .card-body{display:block}.generator-page .form-group{margin-bottom:12px}.generator-page .form-input,.generator-page .form-select{min-height:44px;font-size:15px}.generator-page .step-number{color:#143f8f;background:#eaf0ff;border-color:#c4d3f0}.generator-page .logo-upload-wrapper{margin:8px 0 10px;padding:8px 10px;border-color:#a8bad2}.generator-page .logo-preview-box{height:36px;width:36px;min-width:36px}.generator-page .logo-help-text{font-size:11px}.generator-page .business-extras{margin-top:0}.generator-page .business-extras summary{padding-top:11px;padding-bottom:11px;font-size:13px;color:#143f8f}.generator-page .regional-controls{margin-top:5px;padding-top:10px;border-color:#d1dbea}.regional-controls summary{font-size:13px;color:#143f8f;min-height:23px}.generator-page .business-save-note{font-size:12px;margin-top:7px;margin-bottom:0;line-height:1.5}.generator-page .prompt-textarea{min-height:170px;line-height:1.8;font-size:15px}.generator-page .heading-control{margin-bottom:12px}.generator-page .field-help{color:#42536b}.generator-page .preview-panel{background:#eaf0f8;border:1px solid #c9d5e7}.generator-page .toolbar-status{color:#163d7a}.generator-page .preview-scroll-help{color:#42536b}.generator-page .btn-primary,.generator-page .preset-chip.active{background:#143f8f;border-color:#143f8f}.generator-page .form-input:focus,.generator-page .form-select:focus{border-color:#638cca;box-shadow:0 0 0 3px #dce7fa}.generator-page .privacy-note{color:#42536b;margin:0 4px}.generator-page .privacy-note p{font-size:12px;line-height:1.5}.generator-page .invoice-sheet{border-top-color:#143f8f}.generator-page .inv-main-heading,.generator-page .inv-business-title,.generator-page .grand-total-row td{color:#143f8f}.generator-page .inv-items-table thead{background:#edf2fb;color:#284772}.region-invoice-meta{color:#42536b}.generator-page .inv-footer{justify-content:center;gap:20px;color:#42536b}.inv-footer a{color:#143f8f}.country-notes{border-color:#c9d5e7;margin:36px 0;padding:28px}.country-notes h1{font-size:30px;line-height:1.25;letter-spacing:-.6px;margin:0 0 18px}.country-notes h2{font-size:25px;color:#163d7a}.country-notes p,.country-notes li{font-size:14px;color:#42536b}.country-notes h3{color:#163d7a}.country-notes .three-grid{margin-bottom:0}.faq-items summary{font-size:14px;color:#163d7a}.faq-items summary:after{color:#143f8f}.faq-items p{font-size:14px}
.footer{border-color:#c9d5e7;background:white;padding:35px 28px 0}.generator-page .footer{margin-top:30px}.footer .upcoming-section{max-width:1200px;width:100%;background:#f1f5fc;border-color:#c9d5e7;margin-bottom:40px;padding:28px}.upcoming-section h2{color:#163d7a;font-size:26px}.upcoming-section .tiny-pill,.footer .tiny-pill{color:#42536b;border-color:#c9d5e7}.interest-form select{border-color:#a8bad2;color:#163d7a}.upcoming-names{border-color:#ccd8eb}.upcoming-names>span{color:#42536b}.upcoming-names small{color:#526179}.footer-grid>div:not(.footer-brand)>a,.footer-grid>div>a:not(:first-child),.footer-brand p{color:#42536b}.footer-grid h3{color:#163d7a}.footer-bottom-line{font-size:12px;color:#42536b;border-color:#d1dbea;align-items:center}.powered-by{color:#143f8f;white-space:nowrap}.powered-by a:hover{text-decoration:underline}.button{background:#143f8f}.button:hover{background:#102f6c}.content-page a:not(.button){color:#143f8f}.content-page pre,.content-page code,.callout{background:#eff4ff}.callout{border-color:#638cca}.comparison-table th{background:#edf2fb}.blog-card small{color:#42536b}
@media(max-width:1100px){.nav-wrap{gap:16px}.nav-wrap nav{gap:18px}.nav-wrap nav a:last-child{display:none}.logo-link img{width:220px}.header-country select{width:190px}.generator-page .app-grid{grid-template-columns:310px minmax(0,1fr);gap:18px}.generator-page .main-wrapper{padding:0 20px}.nav-wrap{padding:0 20px}}
@media(max-width:900px){.nav-wrap nav{display:none}.header-country{margin-left:auto}.generator-page .app-grid{grid-template-columns:1fr}.generator-page .control-panel{grid-template-columns:1fr 1fr}.generator-page .privacy-note{grid-column:1/-1}.generator-page .card-header h2{font-size:19px}}
@media(max-width:600px){.topbar{height:70px}.nav-wrap{padding:0 12px;gap:12px}.logo-link img{width:155px}.header-country{min-width:0;display:block}.header-country label{font-size:10px;display:block;line-height:1.2;margin:0 0 3px}.header-country select{width:164px;height:35px;font-size:12px;padding:0 20px 0 8px}.generator-page .main-wrapper{padding:0 12px}.generator-page .app-grid{gap:16px}.generator-page .control-panel{grid-template-columns:1fr;gap:12px}.generator-page .card-header{padding:13px 15px 11px}.generator-page .card-header h2{font-size:19px}.generator-page .card-body{padding:0 15px 13px}.generator-page .form-input,.generator-page .form-select{font-size:16px;min-height:42px}.generator-page .form-group{margin-bottom:10px}.generator-page .logo-upload-wrapper{margin:8px 0;padding:7px 9px}.generator-page .business-save-note{font-size:11px}.generator-page .business-extras summary,.regional-controls summary{font-size:12px}.generator-page .heading-control{margin-bottom:10px}.generator-page .prompt-textarea{min-height:160px;font-size:16px}.generator-page .preview-panel{padding:0 10px 13px}.generator-page .inv-footer{gap:5px 18px;flex-wrap:wrap}.country-notes{padding:22px;margin:28px 0}.country-notes h1{font-size:25px}.country-notes h2{font-size:23px}.footer{padding:27px 18px 0}.footer .upcoming-section{padding:23px 18px}.footer-bottom-line{font-size:11px;align-items:flex-start;gap:10px}.upcoming-section h2{font-size:24px}}
@media(max-width:360px){.logo-link img{width:139px}.header-country select{width:138px;font-size:11px}.nav-wrap{gap:8px}}
.topbar{height:60px}.logo-link{flex-direction:row;align-items:center;gap:0}.logo-link img{width:205px;height:auto}.header-country label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.header-country{display:flex;align-items:center}.header-country select{height:36px}.nav-wrap nav{font-size:13px}
@media(max-width:600px){.topbar{height:52px}.logo-link img{width:148px}.header-country select{height:34px;width:162px}.nav-wrap{padding:0 12px;gap:10px}}
@media(max-width:360px){.logo-link img{width:137px}.header-country select{width:138px}.nav-wrap{gap:8px}}
@media print{.footer,.topbar,.country-notes{display:none!important}.invoice-sheet .inv-footer{display:flex;justify-content:center;gap:24px}.generator-page .main-wrapper{padding:0!important}}

/* Country guidance stays below the editor and reads comfortably on phones. */
.country-guide section{margin-top:30px}.country-guide h2{margin-top:28px;font-size:25px;line-height:1.3}.country-guide h3{margin-top:20px}.country-guide li{margin:12px 0;line-height:1.7}.country-guide pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#eef3fd;border:1px solid #d1dcef;border-radius:8px;padding:18px;line-height:1.7}.country-guide .guide-source{font-size:13px;margin-top:26px}.country-guide p,.country-guide li{max-width:90ch}

.inv-main-heading{overflow-wrap:anywhere;white-space:normal}.inv-logo-wrap{max-width:100%}

.inv-main-heading[contenteditable]{cursor:text}.inv-main-heading[contenteditable]:focus{outline:2px solid #638cca;outline-offset:4px}.heading-control{margin-top:12px}

/* Readable supporting content; header and invoice editor retain their font sizes. */
.heading-edit-hint{display:block;font-size:10px;font-weight:400;line-height:1.4;margin-top:2px}
.country-notes p,.country-notes li,.country-notes .faq-items p{font-size:17px;line-height:1.8}.country-notes .faq-items summary{font-size:18px}.country-notes h2{font-size:28px}.country-notes h3{font-size:21px}.country-notes .guide-source{font-size:15px}.country-notes pre{font-size:16px}
.footer p,.footer a,.footer label,.footer select,.footer .button,.footer .upcoming-names>span{font-size:16px;line-height:1.6}.footer h3{font-size:19px}.footer .tiny-pill,.footer .market-source,.footer small{font-size:13px}.footer .eyebrow{font-size:12px}.footer-bottom-line,.footer-bottom-line a{font-size:14px}.footer .interest-form select{max-width:100%;width:100%;min-width:0}.country-interest-directory{grid-column:1/-1;min-width:0}.country-interest-directory .upcoming-names{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px 16px;margin-top:20px}.interest-country{overflow-wrap:anywhere}.interest-country small{display:block;color:#42536b}.other-countries{margin-top:24px}.other-countries summary{font-size:16px;cursor:pointer}.footer .market-source a{font-size:inherit}
@media(max-width:900px){.country-interest-directory .upcoming-names{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.country-interest-directory .upcoming-names{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.footer .upcoming-section{padding:20px 14px}.country-notes p,.country-notes li{font-size:16px}.footer .upcoming-names>span{font-size:15px}}

.country-directory-available{margin-bottom:30px;padding:24px 0}.available-country-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}.available-country-links a{padding:14px;border:1px solid #ccd8eb;border-radius:8px}.available-country-links small{display:block}.footer #countrySearch{display:block;width:100%;max-width:500px;margin:8px 0;padding:12px;font:inherit;font-size:16px;border:1px solid #afc2e0;border-radius:6px;color:#163d7a;background:white}.footer #countrySearchStatus{font-size:14px}.footer button.interest-country{font:inherit;font-size:16px;line-height:1.6;text-align:left;padding:12px;background:#fff;color:#143f8f;border:1px solid #c9d5e7;border-radius:8px;cursor:pointer}.footer button.interest-country[hidden]{display:none}.footer button.interest-country:hover{border-color:#143f8f;background:#f5f8ff}.footer button.interest-country:disabled{opacity:.6;cursor:wait}
@media(max-width:600px){.available-country-links{grid-template-columns:1fr}.footer button.interest-country{font-size:15px;padding:10px}}

.footer .available-country-links{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.footer .available-country-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:20px 16px;background:white;border:1px solid #c6d5eb;border-radius:12px;text-decoration:none;box-shadow:0 3px 10px #143f8f08;min-width:0}.available-country-card img{object-fit:contain}.available-country-name{font-size:18px;font-weight:700;color:#163d7a;line-height:1.3}.available-country-meta{font-size:14px;color:#42536b}.available-country-action{font-size:14px;font-weight:600;margin-top:auto;padding-top:10px;color:#143f8f}.footer .available-country-card:hover{border-color:#143f8f;background:#f4f8ff}.footer button.interest-country.interest-counted{opacity:1;background:#edf5f1;border-color:#a9ceba;cursor:default}.history-row-actions{flex-wrap:wrap}
@media(max-width:1100px){.footer .available-country-links{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.footer .available-country-links{grid-template-columns:repeat(2,minmax(0,1fr))}.footer .available-country-card{padding:16px 12px}.available-country-name{font-size:16px}}
