/*25 November2026 approved shared Thailand/Valiso workspace and guide.
  Existing900px presentation breakpoint; native workflow forms keep their owner. */
.th-mh__workspace[data-refinement]{max-width:1440px;padding:64px 104px 72px}
[data-refinement] .th-mh__head--workspace{display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:48px;align-items:center}
.th-mh__head-copy{display:flex;flex-direction:column;gap:12px;min-width:0}
[data-refinement] .th-mh__head--workspace .th-mh__title{max-width:none;font-size:40px;line-height:1.15;letter-spacing:-.96px}
.th-mh__eyebrow{font-size:13px;line-height:20px;font-weight:400;color:#47586a}
[data-refinement] .th-mh__lead{font-size:18px;line-height:1.45}
[data-refinement] .th-mh__notice{margin-top:32px!important;padding:0;border:0;border-radius:0;background:none;font-size:12px;line-height:18px;min-height:0;overflow-wrap:break-word}
[data-refinement] .th-mh__workspace-grid{grid-template-columns:196px minmax(0,1fr);gap:32px;margin-top:32px}
[data-refinement] .th-mh__sidebar-link.ayra-ui-button{min-width:0;min-height:44px;padding:12px 16px}
[data-refinement] .th-mh__toolbar{margin-bottom:22px}
[data-refinement] .th-mh__row{min-height:0;padding:20px 0}
[data-refinement] .th-mh__row-identity{display:flex;flex:1;flex-direction:column;gap:4px}
[data-refinement] .th-mh__row-title{font-size:12px;font-weight:600;line-height:18px;color:#47586a}
[data-refinement] .th-mh__row-description{font-size:15px;line-height:22px;color:#0b1c2d;margin-top:0!important}
.th-mh__row-status{flex:none;width:104px}
[data-refinement] .th-mh__row-action.ayra-ui-button{min-width:100px}
[data-refinement] .th-mh__notice--bottom{margin-top:32px!important}

.th-referral-art{box-sizing:border-box;min-width:0;width:100%;font-weight:400;font-style:normal;color:#0b1c2d}
.th-referral-art *{box-sizing:border-box}
.th-referral-art p{margin:0;overflow-wrap:break-word}
.th-referral-art img{display:block;flex:none;max-width:100%;object-fit:contain}
.th-referral-art__referral-route{display:flex;flex-direction:column;gap:16px}
.th-referral-art__organizations{display:flex;align-items:center;gap:8px}
.th-referral-art__organization{display:flex;flex:1;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:8px 0;text-align:center}
.th-referral-art__organization-name{font-size:13px;line-height:1.4}
.th-referral-art__organization-action{font-size:11px;line-height:1.4;color:#47586a}
.th-referral-art__permissions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.th-referral-art__permission{padding:8px;background:#f6f8fb;border-radius:6px;font-size:12px;line-height:1.4;color:#47586a}
.th-referral-art__selected-package{display:flex;align-items:center;gap:16px;padding:16px;border-radius:16px;background:#f6f8fb}
.th-referral-art__source{display:flex;flex:none;flex-direction:column;align-items:center;gap:8px;width:112px}
.th-referral-art__source-label{font-size:11px;line-height:1.4;color:#47586a;text-align:center}
.th-referral-art__selection,.th-referral-art__receipt{display:flex;flex:1;flex-direction:column;gap:8px;min-width:0;padding:16px;border:1px solid #e3e9f0;border-radius:12px;background:#fff}
.th-referral-art__package-heading{font-size:15px;line-height:1.4;font-weight:500}
.th-referral-art__package-details{font-size:13px;line-height:1.4;white-space:pre-line;color:#47586a}
.th-referral-art__matched-receipts{display:flex;flex-direction:column;gap:16px;padding:16px;border-radius:16px;background:#f6f8fb}
.th-referral-art__matched{display:flex;align-items:center;gap:16px}
.th-referral-art__receipt-title{font-size:13px;line-height:1.4}
.th-referral-art__rule{height:1px;background:#e3e9f0;width:100%}
.th-referral-art__receipt-version{font-size:12px;line-height:1.4;white-space:pre-line;color:#47586a}
.th-referral-art__markers{display:flex;gap:4px}
.th-referral-art__markers>div{height:4px;border-radius:2px}
.th-referral-art__marker--blue{width:12px;background:#3b82f6}
.th-referral-art__marker--violet{width:20px;background:#7c5cfc}
.th-referral-art__marker--teal{width:8px;background:#14b8c4}
.th-referral-art__evidence-boundary{font-size:12px;line-height:1.4;color:#47586a}

.th-mh-guide--refined.ayra-ui-page{width:min(960px,calc(calc(100 * var(--public-layout-vw)) - 48px));height:calc(calc(100dvh / var(--public-layout-scale, 1)) - 96px);max-height:804px}
.th-mh-guide--refined .th-mh__guide-body{display:grid;grid-template-columns:minmax(0,344fr) minmax(0,544fr);gap:24px;padding:24px 24px 32px;align-items:start}
.th-mh-guide--refined .th-mh__guide-overview{padding:12px;gap:12px}
.th-mh-guide--refined .th-mh__guide-lead{letter-spacing:-.96px}
.th-mh-guide--refined .th-mh__guide-nav .ayra-ui-button{font-size:13px;line-height:18px;padding:4px 8px;min-height:44px}
.th-mh-guide--refined .th-mh__guide-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
.th-mh-guide--refined .th-mh__guide-step{padding:12px 0;gap:8px}
.th-mh-guide--refined .th-mh__guide-step:last-child{border-bottom:1px solid #d7dad3}
.th-mh-guide--refined .th-mh__guide-step .th-mh__guide-card-title{font-size:15px;line-height:22px}
.th-mh-guide--refined .th-mh__guide-step .th-mh__guide-text{font-size:14px;line-height:20px}
.th-mh-guide--refined .th-mh__guide-step .th-mh__guide-caption{display:none}
/* Lower panels have equal widths, independent of the introduction/steps split. */
.th-mh__guide-lower{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;min-width:0}
.th-mh-guide--refined .th-mh__guide-surface{transform-origin:50% 50%}

@media (max-width:641px){
@media(max-width:900px){
 .th-mh__workspace[data-refinement]{padding:36px 16px 40px}
 [data-refinement] .th-mh__head--workspace{display:flex;gap:24px}
 [data-refinement] .th-mh__head--workspace .th-mh__title{font-size:30px;line-height:1.15;letter-spacing:-.34px}
 [data-refinement] .th-mh__lead{font-size:16px;line-height:1.45}
 [data-refinement] .th-mh__notice{margin-top:32px!important;display:block}
 [data-refinement] .th-mh__workspace-grid{gap:24px;margin-top:32px}
 [data-refinement] .th-mh__sidebar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 [data-refinement] .th-mh__sidebar-link.ayra-ui-button{width:100%;min-width:0;min-height:44px;padding:0 8px;line-height:19.6px;justify-content:center;text-align:center}
 [data-refinement] .th-mh__toolbar{align-items:stretch;margin-bottom:22px}
 [data-refinement] .th-mh__toolbar>.ayra-ui-button{width:100%;min-height:44px}
 [data-refinement] .th-mh__row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:15px;border:1px solid #0b1c2d;border-radius:16px;margin-bottom:12px;min-height:0;align-items:center}
 [data-refinement] .th-mh__row-status{width:auto;min-width:0}
 [data-refinement] .th-mh__row-action.ayra-ui-button{grid-column:1/-1;width:100%;min-width:0;min-height:44px;padding:10px 16px;justify-content:center;background:#f6f8fb;border-radius:12px}
 [data-refinement] .th-mh__notice--bottom{margin-top:24px!important}
 .th-mh-guide--refined.ayra-ui-page{height:calc(calc(100dvh / var(--public-layout-scale, 1)) - 24px);max-height:none;max-width:640px}
 .th-mh-guide--refined .th-mh__guide-body{display:flex;flex-direction:column;gap:24px;padding:16px}
 .th-mh-guide--refined .th-mh__guide-body>section,.th-mh__guide-lower{width:100%}
 .th-mh__guide-lower{display:flex;flex-direction:column}
 .th-mh-guide--refined .th-mh__guide-welcome{gap:10px}
 .th-mh-guide--refined .th-mh__guide-lead{letter-spacing:-.34px}
 .th-mh-guide--refined .th-mh__guide-nav{grid-template-columns:repeat(3,minmax(0,1fr))}
 .th-mh-guide--refined .th-mh__guide-nav .ayra-ui-button{padding:4px 6px}
 .th-mh-guide--refined .th-mh__guide-steps{display:flex;flex-direction:column;gap:0}
 .th-mh-guide--refined .th-mh__guide-step{padding:16px 0;gap:12px}
 .th-mh-guide--refined .th-mh__guide-step .th-mh__guide-card-title{font-size:16px;line-height:22.4px}
 .th-mh-guide--refined .th-mh__guide-step .th-mh__guide-text{font-size:16px;line-height:22.4px}
 .th-mh-guide--refined .th-mh__guide-step .th-mh__guide-caption{display:block}
 .th-mh-guide--refined .th-mh__guide-step:last-child{border-bottom:0}
 .th-mh-guide--refined .th-referral-art__selected-package{flex-direction:column;align-items:stretch}
 .th-mh-guide--refined .th-referral-art__source{align-self:center}
 .th-mh-guide--refined .th-referral-art__matched{gap:8px}
 .th-mh-guide--refined .th-referral-art__receipt{padding:12px}
}
}
@media (min-width:642px){
@media(max-width:0px){
 .th-mh__workspace[data-refinement]{padding:36px 16px 40px}
 [data-refinement] .th-mh__head--workspace{display:flex;gap:24px}
 [data-refinement] .th-mh__head--workspace .th-mh__title{font-size:30px;line-height:1.15;letter-spacing:-.34px}
 [data-refinement] .th-mh__lead{font-size:16px;line-height:1.45}
 [data-refinement] .th-mh__notice{margin-top:32px!important;display:block}
 [data-refinement] .th-mh__workspace-grid{gap:24px;margin-top:32px}
 [data-refinement] .th-mh__sidebar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 [data-refinement] .th-mh__sidebar-link.ayra-ui-button{width:100%;min-width:0;min-height:44px;padding:0 8px;line-height:19.6px;justify-content:center;text-align:center}
 [data-refinement] .th-mh__toolbar{align-items:stretch;margin-bottom:22px}
 [data-refinement] .th-mh__toolbar>.ayra-ui-button{width:100%;min-height:44px}
 [data-refinement] .th-mh__row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:15px;border:1px solid #0b1c2d;border-radius:16px;margin-bottom:12px;min-height:0;align-items:center}
 [data-refinement] .th-mh__row-status{width:auto;min-width:0}
 [data-refinement] .th-mh__row-action.ayra-ui-button{grid-column:1/-1;width:100%;min-width:0;min-height:44px;padding:10px 16px;justify-content:center;background:#f6f8fb;border-radius:12px}
 [data-refinement] .th-mh__notice--bottom{margin-top:24px!important}
 .th-mh-guide--refined.ayra-ui-page{height:calc(calc(100dvh / var(--public-layout-scale, 1)) - 24px);max-height:none;max-width:640px}
 .th-mh-guide--refined .th-mh__guide-body{display:flex;flex-direction:column;gap:24px;padding:16px}
 .th-mh-guide--refined .th-mh__guide-body>section,.th-mh__guide-lower{width:100%}
 .th-mh__guide-lower{display:flex;flex-direction:column}
 .th-mh-guide--refined .th-mh__guide-welcome{gap:10px}
 .th-mh-guide--refined .th-mh__guide-lead{letter-spacing:-.34px}
 .th-mh-guide--refined .th-mh__guide-nav{grid-template-columns:repeat(3,minmax(0,1fr))}
 .th-mh-guide--refined .th-mh__guide-nav .ayra-ui-button{padding:4px 6px}
 .th-mh-guide--refined .th-mh__guide-steps{display:flex;flex-direction:column;gap:0}
 .th-mh-guide--refined .th-mh__guide-step{padding:16px 0;gap:12px}
 .th-mh-guide--refined .th-mh__guide-step .th-mh__guide-card-title{font-size:16px;line-height:22.4px}
 .th-mh-guide--refined .th-mh__guide-step .th-mh__guide-text{font-size:16px;line-height:22.4px}
 .th-mh-guide--refined .th-mh__guide-step .th-mh__guide-caption{display:block}
 .th-mh-guide--refined .th-mh__guide-step:last-child{border-bottom:0}
 .th-mh-guide--refined .th-referral-art__selected-package{flex-direction:column;align-items:stretch}
 .th-mh-guide--refined .th-referral-art__source{align-self:center}
 .th-mh-guide--refined .th-referral-art__matched{gap:8px}
 .th-mh-guide--refined .th-referral-art__receipt{padding:12px}
}
}
