/* Workspace structure; original document tables keep their own styles. */
:root{--bg:#f3f5f1;--line:#dfe6dd;--muted:#718078}
.topbar{max-width:none;padding:17px max(24px,calc((100vw - 1284px)/2));gap:22px;min-height:82px;background:#fafbf8}
.topbar nav{gap:4px}.topbar nav a{font-size:13px;padding:10px 13px}.topbar nav b{display:none}.brand small{letter-spacing:.3px}.saved{font-size:11px}
.hero{padding:36px 0 28px;gap:25px}.hero h1{font-size:36px;letter-spacing:-.8px;line-height:1.3}.hero h1 br{display:none}.hero p{font-size:13px;margin-top:10px}.hero .eyebrow{margin-bottom:9px}
.workspace-stats{display:flex;gap:28px;flex-shrink:0;padding:16px 0}.workspace-stats span{color:var(--muted);font-size:11px;display:flex;flex-direction:column;gap:3px}.workspace-stats strong{font-size:27px;font-weight:600;color:var(--green);line-height:1.2}
.create-layout{grid-template-columns:minmax(0,1fr) 235px;gap:24px}.plan-form{padding:28px}.panel-heading{margin-bottom:20px}.form-section{border-top:1px solid var(--line);padding-top:6px;margin-bottom:24px}.form-section .subheading{margin-top:14px}.subheading h3{font-size:14px}.mode-switch{margin-bottom:18px}.mode-switch label{padding:14px}.plan-form>.form-grid{margin-top:12px}.plan-form input,.plan-form select{font-size:13px}
#self-account{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#526258}.identity-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px;min-height:24px}.identity-previews>.hint{grid-column:1/-1;margin:0}.identity-preview{display:flex;flex-direction:column;align-items:start;gap:8px;padding:12px;background:#f6f8f3;border:1px solid var(--line);border-radius:9px;min-width:0}.identity-preview strong{font-size:12px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}.identity-preview small{font-size:10px;overflow-wrap:anywhere}.identity-preview button{margin-top:auto}.identity-preview .role-pill{font-size:10px;padding:2px 7px}
.intro-aside{position:sticky;top:22px;align-self:start;padding:25px 6px}.intro-aside>.eyebrow{margin-bottom:22px}.intro-step{margin-bottom:23px;gap:12px}.intro-step p{font-size:12px}.intro-aside>.secondary{width:100%;font-size:12px}.aside-note{font-size:11px}.form-footer{margin-top:20px}.form-footer>span{max-width:55%;line-height:1.7}.form-footer .primary{min-height:44px}
.section-heading{padding:30px 0 22px}.section-heading h1{font-size:28px}.library-sidebar>input{position:sticky;top:0;background:white;z-index:2}.library-item{padding:11px 10px;border-left:3px solid transparent}.library-item.active{border-left-color:var(--green)}.step-item.active{box-shadow:inset 3px 0 var(--green)}.document-heading{align-items:start}.document-heading h3{font-size:17px}.document-heading .secondary{padding:8px 12px}.step-navigation{background:white}.profile-intro{margin:16px 0}.profile-intro .copy-block{line-height:1.9}
.profiles-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:22px;align-items:start}.profiles-sidebar{padding:20px;position:sticky;top:18px}.profiles-sidebar h2{font-size:16px;margin-bottom:17px}.profiles-sidebar form{display:grid;gap:9px}.profiles-sidebar label{font-size:12px;color:var(--muted)}.profiles-sidebar input{font-size:12px}.profiles-sidebar .primary{width:100%}.saved-account-heading{border-top:1px solid var(--line);padding-top:22px;margin-top:22px;display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.saved-account-heading h3{font-size:12px}.saved-account-heading span{font-size:10px;color:var(--muted)}
.profile-account-item{display:block;width:100%;text-align:left;background:white;border-bottom:1px solid #edf0e9;border-radius:0;padding:13px 3px}.profile-account-item:hover{background:var(--light)}.profile-account-item strong{display:block;font-size:12px;overflow-wrap:anywhere}.profile-account-item small{display:block;font-size:10px;margin-top:4px}.list-pagination{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:14px}.list-pagination button{padding:6px 10px;background:#eef3e9;color:var(--green)}.list-pagination button:disabled{cursor:default}.list-pagination small{font-size:10px}.profiles-main{min-width:0}.profile-header{padding:24px 26px 12px;display:flex;align-items:center;justify-content:space-between;gap:18px}.profile-header h2{font-size:23px;overflow-wrap:anywhere}.profile-header p{font-size:12px;color:var(--muted);margin-top:5px}.profile-header .eyebrow{margin-bottom:6px}.profile-scope{font-size:12px;color:var(--muted);padding:0 26px 20px}.profile-tabs{display:flex;gap:4px;overflow:auto;padding:0 22px;border-bottom:1px solid var(--line)}.profile-tabs button{padding:12px 16px;border-radius:0;background:white;color:var(--muted);border-bottom:3px solid transparent;font-size:12px;white-space:nowrap}.profile-tabs button.active{color:var(--green);font-weight:600;border-bottom-color:var(--green);background:#f5f8f1}.profile-language{margin:16px 26px 0}.profile-group{padding:22px 26px;border-bottom:1px solid var(--line)}.profile-group h3{font-size:13px;margin-bottom:17px}.profile-group textarea{font-size:13px;line-height:1.8;min-height:156px}.profile-group input{font-size:13px}.profile-savebar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 24px;position:sticky;bottom:0;background:#fffffff5;border-top:1px solid var(--line);border-radius:0 0 14px 14px;box-shadow:0 -5px 18px #203b3006}.profile-savebar>div{display:flex;gap:9px}.profile-savebar>span{font-size:11px}.status-saved{color:var(--green)}.status-unsaved{color:#986e25}.empty-features{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.empty-features span{font-size:11px;background:#eff4e9;color:var(--green);padding:6px 10px;border-radius:5px}.identity-persist{margin:18px 0;font-size:12px;align-items:flex-start}.identity-persist input{margin-top:4px}.party-section textarea{min-height:150px;font-size:13px}.profile-tabs button:focus-visible{outline-offset:-4px}
@media(max-width:1100px){.topbar{padding:16px 24px;gap:12px}.brand{font-size:17px}.topbar nav a{padding:9px 10px;font-size:12px}.saved{font-size:10px}.create-layout{grid-template-columns:minmax(0,1fr) 190px}.workspace-stats{gap:20px}.hero h1{font-size:31px}.profiles-layout{grid-template-columns:220px minmax(0,1fr)}.profile-header{padding:20px 20px 12px}.profile-group{padding:20px}.profile-savebar{padding:15px}.identity-previews{gap:7px}}
@media(max-width:780px){.topbar{padding:15px 20px;flex-wrap:wrap;gap:13px}.topbar nav{justify-content:space-between;gap:2px}.topbar nav a{font-size:11px;padding:9px 7px}.hero{display:block;padding:27px 0 20px}.hero h1{font-size:28px}.hero h1 br{display:block}.hero p{font-size:12px}.workspace-stats{gap:34px;margin-top:14px;padding:5px 0}.workspace-stats strong{font-size:23px}.create-layout{grid-template-columns:minmax(0,1fr)}.plan-form{padding:19px}.identity-previews{grid-template-columns:1fr}.identity-preview{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 10px;padding:11px}.identity-preview strong{grid-column:2;grid-row:1}.identity-preview small{grid-column:2}.identity-preview button{grid-column:2;justify-self:start;padding:2px 0}.form-section .subheading{gap:9px}.form-footer>span{max-width:100%}.profiles-layout{grid-template-columns:minmax(0,1fr)}.profiles-sidebar{position:static;padding:18px}.profiles-sidebar form{grid-template-columns:minmax(0,1fr) auto;align-items:end}.profiles-sidebar label{grid-column:1/-1}.profiles-sidebar form .primary{padding:10px 12px}.profiles-sidebar #profile-list{max-height:190px;overflow:auto}.profile-header{padding:19px;align-items:start;flex-direction:column;gap:12px}.profile-header .secondary{padding:7px 12px}.profile-scope{padding:0 19px 17px}.profile-tabs{padding:0 12px}.profile-tabs button{padding:11px 12px}.profile-language{margin:13px 19px 0}.profile-group{padding:18px}.profile-group .form-grid{grid-template-columns:1fr}.profile-savebar{align-items:stretch;flex-direction:column;gap:9px;padding:13px 16px}.profile-savebar>div{flex-wrap:wrap}.profile-savebar button{flex:1}.empty-state{padding:45px 16px}.document-heading{flex-wrap:wrap}.document-heading .secondary{font-size:11px}.heading-actions{gap:7px}.heading-actions>*{font-size:11px;padding:9px 10px}.profile-intro .copy-block{font-size:12px}}

/* Clear, required transaction basics. */
.currency-required{display:flex;align-items:center;gap:18px;padding:16px 18px;background:#fff8e8;border:1px solid #e9cb81;border-radius:9px;margin:16px 0 12px}.currency-required label{display:grid;gap:9px;min-width:255px;font-size:12px;color:#59471e}.currency-required strong{font-size:10px;background:#8b5d14;color:white;border-radius:3px;padding:2px 5px;justify-self:start;grid-column:2;grid-row:1}.currency-required select{grid-column:1/-1;background:white}.currency-required p{font-size:11px;color:#806732;line-height:1.8}.currency-required.selected{background:#f0f6ed;border-color:#cbdac5}.contract-field{grid-column:1/-1}.operation-content{min-width:0}.profiles-sidebar>.hint{font-size:12px;line-height:1.9;margin-top:20px}#profile-fields{padding:18px;min-width:0}.identity-previews{grid-template-columns:repeat(3,minmax(0,1fr))}.identity-preview:nth-child(n+4){background:#f1f4f8}
@media(max-width:780px){.currency-required{display:block;padding:14px}.currency-required label{min-width:0}.currency-required p{margin:10px 0 0}.identity-previews{grid-template-columns:1fr}#profile-fields{padding:12px}}

/* Three products at a time; switching keeps the current transaction intact. */
#plan-results{scroll-margin-top:24px;min-width:0}
#plan-results .results-heading{padding:32px 0 18px}
#plan-results .results-heading .eyebrow{margin-bottom:7px}
.choice-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:16px}
.choice-counter{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;min-width:0}
.choice-counter strong{font-size:14px;font-weight:600}.choice-counter span{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.choice-toolbar .choice-next{min-width:115px;min-height:42px;color:var(--green);border-color:#b7cdbf;background:#f2f7ef}
.choice-toolbar .choice-next:hover{background:#e6efdf}
.choice-grid{align-items:stretch}
.choice-card{min-width:0;gap:18px;transition:border-color .15s,box-shadow .15s}
.choice-card:hover,.choice-card:focus-within{border-color:#a8c1ad;box-shadow:0 5px 20px #213b3308}
.choice-card-heading{min-height:99px;overflow-wrap:anywhere}
.choice-card-heading h3{margin:11px 0 5px;line-height:1.5;font-size:19px}
.choice-card-heading p{line-height:1.6}
.choice-card .product-no{display:flex;align-items:center;flex-wrap:wrap;gap:8px;letter-spacing:.3px;color:#637b69;font-variant-numeric:tabular-nums}
.choice-best{color:var(--green);background:#eaf3e5;border-radius:4px;padding:2px 6px;font-size:10px;letter-spacing:0}
.choice-card dl{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:baseline;gap:9px 10px}
.choice-card dt{color:var(--muted)}.choice-card dd{text-align:right;overflow-wrap:anywhere}
.choice-card .profit-box{margin-top:auto;overflow-wrap:anywhere}
.choice-card .profit-box strong{font-variant-numeric:tabular-nums;font-size:clamp(20px,2.1vw,28px);letter-spacing:-.5px}
.choice-card>.primary{width:100%;min-height:44px;margin-top:0}
.choice-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px;font-size:11px;color:var(--muted)}
.choice-footer .choice-next{padding:10px 5px;min-height:42px;white-space:nowrap;font-size:12px;flex-shrink:0}
.choice-reference{border-top:1px solid var(--line);padding:12px 0;color:var(--muted);font-size:11px}
.choice-reference summary{cursor:pointer;width:fit-content}.choice-reference p{margin-top:9px;max-width:900px;line-height:1.9}
#plan-submit.is-loading:before{content:'';width:14px;height:14px;border:2px solid #ffffff60;border-top-color:#fff;border-radius:50%;animation:choice-spin .8s linear infinite;flex-shrink:0}
@keyframes choice-spin{to{transform:rotate(360deg)}}
@media(max-width:1100px){.choice-card{padding:18px;gap:15px}.choice-card-heading h3{font-size:17px}.choice-card dl{font-size:11px}.choice-card .profit-box{padding:13px}}
@media(max-width:780px){#plan-results{scroll-margin-top:16px}.choice-toolbar{padding:13px 14px;gap:10px}.choice-counter{display:grid;gap:3px}.choice-counter strong{font-size:13px}.choice-counter span{font-size:11px}.choice-toolbar .choice-next{min-width:96px;padding:9px 13px}.choice-grid{gap:14px}.choice-card{padding:21px;gap:16px}.choice-card-heading{min-height:0}.choice-card-heading h3{font-size:19px}.choice-card dl{font-size:12px;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr)}.choice-card .profit-box{padding:16px}.choice-card .profit-box strong{font-size:27px}.choice-footer{align-items:flex-start}.choice-footer>span{padding-top:9px;line-height:1.8}.choice-reference{font-size:11px}}
@media(prefers-reduced-motion:reduce){#plan-submit.is-loading:before{animation:none}}
.destination-section{border-top:1px solid var(--line);margin-top:24px;padding-top:4px}
.destination-section select{font-size:12px}.destination-section .hint{margin:12px 0 4px}
.destination-section .inset{margin:12px 0 0}.destination-section .subheading span{font-size:11px;color:var(--muted)}
#importer-fx-hint{font-size:11px;margin-top:6px;overflow-wrap:anywhere;color:#607548}
.market-reference-hint{padding:12px 14px;background:#fff8e8;border:1px solid #e9d6ab;border-radius:8px;color:#806732}
.choice-card .choice-market-source{font-size:10px;line-height:1.8;min-height:36px;color:#718078}
.results-heading .choice-route{color:var(--green);font-size:12px;overflow-wrap:anywhere}
@media(max-width:780px){.destination-section>.form-grid{grid-template-columns:1fr}.destination-section .subheading{gap:4px}.choice-card .choice-market-source{min-height:0}}
.shipping-settings{margin-top:16px;border:1px solid var(--line);padding:14px;border-radius:10px;background:#f7faf7}
.shipping-settings>summary{cursor:pointer;font-weight:600;line-height:1.8}.shipping-settings>summary span{font-size:11px;color:var(--muted);font-weight:400;margin-left:10px}
.shipping-settings .form-grid{margin-top:15px}.shipping-settings .needs-input{color:#946327}
.choice-card .choice-shipping{padding:10px;background:#f1f6f1;font-size:11px;border-radius:6px;line-height:1.8}
.shipping-overview{color:#53745f;font-size:12px;line-height:1.8;margin:0 0 12px;padding:12px 16px;background:#f0f6f1;border-radius:9px;overflow-wrap:anywhere}
.receipt-field-state{font-size:10px;color:#7c744b;font-weight:400}
.sync-notices{border:1px solid #e4c68d;background:#fffaf0;padding:18px;border-radius:10px;margin-bottom:16px}
.sync-notices h3{font-size:15px;margin:0 0 6px}.sync-notices p{font-size:12px;line-height:1.8;color:#80724f}
.sync-notices details{border-top:1px solid #ead9b9;padding-top:12px;margin-top:12px}.sync-notices summary{cursor:pointer;font-size:13px}
.sync-notices ul{padding-left:18px;font-size:12px;line-height:1.8}.sync-notices li{margin:8px 0;overflow-wrap:anywhere}.sync-notices li span{display:block;white-space:pre-wrap}
.sync-notices button{margin:5px 10px 2px 0;font-size:11px}
@media(max-width:780px){.shipping-settings .form-grid{grid-template-columns:1fr}.shipping-settings>summary span{display:block;margin-left:0}.shipping-overview{font-size:11px}.sync-notices{padding:14px}}
.destination-match{align-self:stretch;display:flex;align-items:center;white-space:pre-line;padding:14px 16px;background:#edf5ed;border:1px solid #d9e8d7;border-radius:9px;color:#486d50;line-height:1.8;font-size:12px;overflow-wrap:anywhere}
#destination-advanced{margin-top:15px;font-size:12px}#destination-advanced>summary{cursor:pointer;color:#55755b;font-weight:600}#destination-advanced>.form-grid{margin-top:12px}
.fixed-unit{display:block;font-size:11px;line-height:1.7;color:#50765a;font-weight:400;margin-top:5px}
.container-receipt-inputs{display:grid;grid-template-columns:minmax(90px,1fr) minmax(85px,1fr) 16px;gap:8px;align-items:center;min-width:0}.container-receipt-inputs input,.container-receipt-inputs select{min-width:0;width:100%}

/* Country is the single setup control for geography, currency and transport. */
#profile-preview-panel{margin-top:14px;border-top:1px solid var(--line);padding-top:14px}
#profile-preview-panel>summary{cursor:pointer;color:#52705c;font-size:12px;line-height:1.8}
#profile-preview-panel .identity-previews{margin-top:14px}
.destination-section{padding-top:8px}
.country-field{max-width:100%;font-size:13px}
.country-field>label{display:block;margin-bottom:9px;color:#455a4c;font-weight:600}
.country-combobox{position:relative;z-index:5}
.country-input-wrap{display:flex;align-items:center;position:relative}
.country-input-wrap>input{width:100%;min-width:0;padding-right:48px;height:46px;font-size:13px;background:#fff;border:1px solid #bacdbd;border-radius:8px}
.country-input-wrap>input:focus{border-color:#2f795e;outline:3px solid #e2efe3;outline-offset:1px}
#country-toggle{position:absolute;right:4px;top:4px;width:38px;height:38px;background:transparent;color:#3e6650;font-size:22px;padding:0;border-radius:6px}
#country-toggle:hover{background:#edf4ed}
.country-menu{position:absolute;top:calc(100% + 7px);left:0;right:0;max-height:286px;overflow:auto;background:#fff;border:1px solid #cfddce;border-radius:10px;box-shadow:0 12px 32px #183a2220;padding:5px;overscroll-behavior:contain;scrollbar-gutter:stable}
.country-option{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border-radius:6px;cursor:pointer;min-height:54px}
.country-option>span:first-child{display:grid;gap:4px;min-width:0}
.country-option strong{font-size:13px;font-weight:600}.country-option small{font-size:11px;color:#708178;overflow-wrap:anywhere}
.country-option:hover,.country-option.active{background:#eff5ec}
.country-option[aria-selected=true]{background:#e4f0e5}
.country-currency{font-size:11px;color:#4d7158;padding:4px 7px;border-radius:4px;background:#f0f5ed}
.country-empty{font-size:12px;padding:16px;color:#748076}
#country-hint{font-size:11px;margin:8px 0 12px;color:#7b887e}
.auto-summary{padding:16px 18px;border:1px dashed #d2ddd0;border-radius:10px;display:flex;gap:10px;align-items:center;background:#f6f8f3;color:#687d6d;font-size:12px;line-height:1.8}
.auto-summary.ready{display:block;border-style:solid;background:#f1f7ee;border-color:#dce7d6;color:#48694e}
.auto-summary-heading{display:flex;align-items:center;gap:8px;font-size:12px}
.auto-check{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex-shrink:0;background:#e4eedf;border-radius:50%;color:#397352;font-size:12px}
.auto-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0 11px}
.auto-summary-grid>div{display:grid;gap:4px;min-width:0}.auto-summary-grid small{font-size:10px;color:#7a8b78}.auto-summary-grid strong{font-size:12px;overflow-wrap:anywhere;font-weight:600}
.auto-summary>p{font-size:11px;color:#788874;margin:0}
.currency-context{margin:14px 0 12px;color:#55725d;font-size:12px;line-height:1.9}
.form-footer{border-top:1px solid var(--line);padding-top:20px}.form-footer .primary{min-width:170px}
@media(max-width:780px){.auto-summary{padding:14px}.auto-summary-grid{grid-template-columns:1fr;gap:10px}.auto-summary-grid>div{grid-template-columns:105px minmax(0,1fr);align-items:baseline}.country-input-wrap>input{font-size:12px}.destination-section .subheading{align-items:flex-start}.form-footer .primary{width:100%}.country-menu{max-height:242px}}

/* Compact create-page introduction after removing decorative copy. */
#page-create>.hero{display:flex;flex-wrap:wrap;gap:10px 24px;padding:20px 0;align-items:center}
#page-create>.hero .eyebrow{margin:0}
#page-create>.hero .workspace-stats{padding:0;margin:0}
#page-create>.hero .workspace-stats span{flex-direction:row;align-items:baseline;gap:6px}
#page-create>.hero .workspace-stats strong{font-size:18px}
.auto-summary-grid:last-child{margin-bottom:0}

.registration-section{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}

.history-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:18px}.history-card{padding:22px;min-width:0;overflow-wrap:anywhere}.history-card h2{font-size:18px}.history-actions,.history-toolbar{display:flex;gap:12px;margin-top:16px}.history-toolbar{margin:0 0 20px}.history-toolbar input{max-width:500px}.history-delete{color:#a44435}.topbar nav{flex-wrap:wrap}.receipt-source{margin:12px 0}.receipt-source input,.receipt-source select{border:2px solid #b78631;background:#fffbee;min-height:30px;font-size:12px}.receipt-source [data-receipt-label]{display:block;color:#8a652b;font-size:10px}.receipt-source .paper{margin:0}.receipt-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:16px}.receipt-status{color:#9e4030}.receipt-required{color:#8a652b;font-size:12px;margin:12px 0}

.receipt-list th:nth-child(1){width:90px}.receipt-list th:nth-child(2){width:210px}.receipt-list th:nth-child(3){width:240px}.receipt-list input{width:100%}.receipt-editable{min-width:100px}.receipt-editable input{width:100%;min-width:90px}.runtime-box{min-width:0;max-width:100%}
