/* Fixed login viewport: no document scroll, including validation messages. */
body.signed-out{height:100dvh;overflow:hidden}
.signed-out .login-shell,.signed-out main,.login-layout{height:100%;min-height:0}
.login-layout{height:100dvh;overflow:hidden}
.login-story{min-height:0;padding:clamp(24px,5vh,48px) 55px}
.story-copy{padding:30px 0}
.login-form-panel{min-height:0;padding:24px 40px}
.login-form-wrap{max-width:350px}
.login-form{margin-top:22px}
.login-form label{margin-top:15px}
.login-form input:not([type=hidden]){padding:12px}
.login-form .full{margin-top:22px}
.demo-info{margin-top:18px;padding:12px 16px}
.login-bottom{margin-top:15px}
.login-shell>main>.flash{position:fixed;top:12px;left:50%;transform:translateX(-50%);width:min(600px,90vw);border-radius:10px;box-shadow:0 5px 30px #0002;z-index:40}

.submit-success-popup{position:fixed;z-index:100;top:24px;right:28px;display:flex;align-items:center;gap:14px;width:min(390px,calc(100vw - 32px));padding:16px 18px;border:1px solid #bfe4d3;border-radius:14px;background:#fff;color:#173f35;box-shadow:0 18px 55px #123d3330;animation:submit-success-in .42s cubic-bezier(.2,.9,.3,1.15) both}.submit-success-popup.is-closing{animation:submit-success-out .25s ease forwards}.submit-success-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#dff6e9;color:#168267;animation:submit-success-check .5s .15s cubic-bezier(.2,.9,.3,1.2) both}.submit-success-icon .icon{width:23px;height:23px;stroke-width:2.2}.submit-success-popup>span:last-child{display:flex;min-width:0;flex-direction:column}.submit-success-popup strong{font-size:16px;line-height:1.3}.submit-success-popup small{margin-top:3px;color:#638078;font-size:13px;line-height:1.45}@keyframes submit-success-in{from{opacity:0;transform:translateY(-18px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes submit-success-out{to{opacity:0;transform:translateY(-12px) scale(.97)}}@keyframes submit-success-check{from{opacity:0;transform:scale(.45) rotate(-18deg)}to{opacity:1;transform:scale(1) rotate(0)}}
@media(max-width:700px){.submit-success-popup{top:14px;right:16px;left:16px;width:auto}}
@media(prefers-reduced-motion:reduce){.submit-success-popup,.submit-success-popup.is-closing,.submit-success-icon{animation:none}}

.finance-rejection-notice{margin:20px 0;padding:18px 20px;border:1px solid #efc9b3;border-left:4px solid #b86534;border-radius:10px;background:#fff7f1;color:#754124}
.finance-rejection-notice .section-kicker{margin-bottom:5px;color:#9c5b32}
.finance-rejection-notice>strong{display:block;font-size:16px}
.finance-rejection-notice p{margin:8px 0;white-space:pre-wrap;color:#754124}
.finance-rejection-notice small{color:#9a735b}
.finance-reject-box{margin-top:18px;padding-top:17px;border-top:1px solid #e6ece9}
/* Request workflow and conversation. */
.detail-main,.workflow-aside{display:grid;gap:22px;min-width:0}
.attachment-card+.attachment-card{margin-top:9px}
.file-selection{padding:0;list-style:none;margin:10px 0}
.file-selection li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;background:#f2f7f4;border-radius:7px;margin-top:6px;font-size:14px}
.file-selection li span{overflow-wrap:anywhere;min-width:0}
.file-selection button{border:0;background:transparent;color:#926146;font-size:12px}
.status-pill{display:inline-flex;padding:6px 11px;font-size:12px;background:#eaf4ee;color:#428267}
.status-pill[data-status="Pending"]{background:#fff2d6;color:#906e28}
.status-pill[data-status="Revised"]{background:#ede9fb;color:#7953a8}
.status-pill[data-status="In Progress"]{background:#e6effc;color:#426ba4}
.status-pill[data-status="Done"]{background:#ddf2e7;color:#277957}
.conversation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:17px}
.conversation-heading h2{margin:0}
.conversation-heading>span{font-size:12px}
.message{border-bottom:1px solid var(--line);padding:24px 0}
.message-header{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.message-header strong{font-size:14px;overflow-wrap:anywhere}
.message-header small{display:block;font-size:12px;color:#8b999c;margin-top:3px}
.delivery-label{font-size:12px;color:#679580;margin-left:auto}
.message-delivery{display:inline-flex;align-items:center;flex:0 0 auto;gap:7px;max-width:100%;margin:0 0 0 auto;padding:6px 8px;border:1px solid #dce7e3;border-radius:8px;background:#f8faf9;color:#536861}
.message-delivery-dot{flex:0 0 7px;width:7px;height:7px;border-radius:50%;background:#879992}
.message-delivery>div{min-width:0}.message-delivery strong{display:block;font-size:12px;line-height:1.35}.message-delivery small{display:block;margin-top:2px;color:inherit;font-size:11px;line-height:1.4;opacity:.82}
.message-delivery form{flex:0 0 auto;margin-left:5px}.resend-email-button{min-height:29px;padding:4px 9px;border-radius:6px;font-size:11px}
.message-delivery--success{border-color:#cfe8dc;background:#edf8f2;color:#276d51}.message-delivery--success .message-delivery-dot{background:#2d9168}
.message-delivery--pending{border-color:#d5e2f2;background:#f0f5fb;color:#3f6389}.message-delivery--pending .message-delivery-dot{background:#5684b2;box-shadow:0 0 0 3px #dce9f6}
.message-delivery--failed{border-color:#efcfc7;background:#fff3f0;color:#963f2d}.message-delivery--failed .message-delivery-dot{background:#c85c44}.message-delivery--failed small{display:none}.message-delivery--failed .resend-email-button{border-color:#d99b8d;background:#fff;color:#963f2d}
.message-delivery--received{border-color:#d1e8e2;background:#f0f8f5;color:#276f61}.message-delivery--received .message-delivery-dot{background:#34927f}
.delivery-error{color:#ac693b}
.message-to{font-size:12px;color:#8c999f;overflow-wrap:anywhere;margin:13px 0}
.message-content{margin-top:13px;min-width:0;border:1px solid #dce9e4;border-radius:10px;background:#fbfdfc;overflow:hidden}
.message-content-summary{display:flex;align-items:center;gap:12px;min-width:0;padding:12px 14px;list-style:none;cursor:pointer}
.message-content-summary::-webkit-details-marker{display:none}
.message-content-summary::marker{content:""}
.message-content-summary:hover{background:#f3faf6}
.message-content-summary:focus-visible{outline:2px solid #278b78;outline-offset:-3px}
.message-preview{flex:1;min-width:0;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#526870;font-size:13px;line-height:1.5}
.message-attachment-count{display:inline-flex;align-items:center;gap:4px;flex:none;color:#67837a;font-size:11px;white-space:nowrap}
.message-attachment-count .icon{width:14px;height:14px}
.message-toggle{display:inline-flex;align-items:center;gap:7px;flex:none;color:#167868;font-size:12px;font-weight:700;white-space:nowrap}
.message-toggle-chevron{font-size:18px;line-height:1;transition:transform .15s ease}
.message-content[open] .message-toggle-chevron{transform:rotate(180deg)}
.message-toggle-collapse,.message-content[open] .message-toggle-expand{display:none}
.message-content[open] .message-toggle-collapse{display:inline}
.message-content[open]>.message-content-summary{border-bottom:1px solid #e3ece8;background:#f5faf7}
.message-content-body{padding:1px 14px 15px;min-width:0}
.message-content-body .message-to{margin:12px 0}
@media(max-width:600px){.message-content-summary{flex-wrap:wrap;gap:7px 12px}.message-preview{flex-basis:100%}.message-attachment-count{margin-right:auto}}
.message-body{font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;color:#526870}
.conversation-text{white-space:pre-wrap}.conversation-table-wrap{max-width:100%;overflow-x:auto;margin:12px 0 16px}.conversation-table{width:100%;min-width:420px;border-collapse:collapse;background:#fff;font-size:14px;line-height:1.5}.conversation-table th,.conversation-table td{padding:9px 11px;border:1px solid #d8e7e1;text-align:left;vertical-align:top}.conversation-table th{background:#edf6f2;color:#163d36;font-weight:650}.conversation-table tbody tr:nth-child(even){background:#fbfdfc}
.message-file{display:flex;align-items:center;gap:8px;background:#f1f6f3;padding:9px 12px;margin-top:10px;border-radius:7px;font-size:12px;overflow-wrap:anywhere}
.message-file .icon{width:15px;height:15px}
.message-file>span{margin-left:auto;white-space:nowrap;color:#7c9285}
.full-email{margin-top:15px;font-size:12px;color:#82988c}
summary{cursor:pointer}
.full-email .message-body{padding-top:15px;font-size:12px}
.reply-form{padding-top:25px}
.reply-form label{margin-top:16px}
input[type=file]{font-size:14px;max-width:100%}
input[type=file]::file-selector-button{border:1px solid #d6e3db;border-radius:6px;background:#f1f7f3;color:#46735c;padding:8px 12px;margin-right:10px;cursor:pointer}
.reject-box{margin-top:14px}
.reject-box>summary{border:1px solid #ecd9d1;border-radius:8px;padding:11px 15px;text-align:center;color:#a45f46;font-size:15px;list-style:none}
.reject-box label{margin:16px 0 8px;font-size:14px}
select{display:block;width:100%;min-width:0;border:1px solid #dde5e7;border-radius:7px;padding:10px;background:#fff;font:inherit;font-size:14px;color:var(--ink)}
.danger{background:#aa6049;color:#fff}
.activity{padding:18px 0;border-bottom:1px solid var(--line)}
.activity:last-child{border-bottom:0;padding-bottom:0}
.activity strong{display:block;font-size:12px;margin-top:10px;overflow-wrap:anywhere;font-weight:500}
.activity p{font-size:12px;margin:7px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.activity small{font-size:12px;color:#95a19e}
.thread-note,.sync-note{font-size:12px;color:#879b91}
.thread-note{padding:0 8px}
.sync-note{margin-top:-10px;margin-bottom:20px}
@media(max-height:760px) and (min-width:701px){.login-form-panel{padding:20px 35px}.login-form-wrap h2{font-size:29px}.login-form-wrap>.muted{margin-bottom:8px}.login-form{margin-top:12px}.login-form label{margin-top:10px}.login-form input:not([type=hidden]){padding:10px}.login-form .full{margin-top:16px;min-height:40px}.secure-note{margin-top:12px}.demo-info{margin-top:12px;padding:8px 14px}.demo-info p{margin-bottom:5px}.demo-choice{padding:5px 0}.login-bottom{display:none}.story-copy h1{font-size:45px}}
@media(max-width:700px){.login-layout{display:flex;flex-direction:column}.login-story{padding:20px 25px;flex-shrink:0}.story-copy{display:none}.login-form-panel{flex:1;padding:20px 25px;min-height:0}.login-form-wrap{margin:auto 0}.login-form{margin-top:16px}.login-form label{margin-top:12px}.login-form .full{margin-top:17px}.demo-info{padding:10px 14px;margin-top:15px}.demo-choice{padding:6px 0}.login-bottom{display:none}.secure-note{margin-top:12px}.conversation-heading{align-items:flex-start;flex-direction:column}.form-actions{flex-wrap:wrap}.message-header .delivery-label{margin-left:0}.workflow-aside{grid-row:1}.form-layout:has(.workflow-aside){display:flex;flex-direction:column}.workflow-aside,.detail-main{width:100%}.workflow-aside{display:flex;flex-direction:column}.workflow-aside .summary-panel:has(.activity){display:none}.message-header>div{min-width:0;max-width:100%}}
@media(max-height:590px){.login-story{padding:14px 25px}.story-flow,.story-footer{display:none}.login-form-wrap>.section-kicker,.login-form-wrap>.muted,.secure-note,.demo-info>p,.demo-info>small,.login-bottom{display:none}.login-form-wrap h2{font-size:25px;margin-bottom:8px}.login-form-panel{padding:10px 25px}.login-form{margin-top:8px}.login-form label{margin:8px 0 5px}.login-form input:not([type=hidden]){padding:9px}.login-form .full{min-height:35px;margin-top:12px;padding-block:7px}.demo-info{padding:6px 12px;margin-top:9px}.demo-choice{padding:4px 0}.demo-info>strong{font-size:12px}}
@media(max-height:430px){.login-story,.login-form-wrap>h2{display:none}.login-form-panel{height:100%;padding:8px 25px}.login-form-wrap{max-width:420px}.demo-info>strong{display:none}.demo-info{display:flex;gap:12px;justify-content:center;margin-top:7px;padding:3px 10px}.demo-choice{border:0;font-size:12px;gap:4px}.login-form label{margin-top:5px}.login-form input:not([type=hidden]){padding:7px}.login-form .full{margin-top:8px}}
/* Shared horizontal navigation. */
.app-shell{margin-left:0}
.workspace-header{display:flex;align-items:center;gap:32px;min-height:84px;padding:16px 40px;background:var(--sidebar);color:#d8e3e6;border-bottom:1px solid #30454d}
.workspace-header .brand{font-size:24px;flex-shrink:0}
.workspace-header .brand-mark{width:38px;height:38px;font-size:40px}
.workspace-nav{display:flex;align-items:center;gap:5px;margin-left:15px}
.workspace-nav .nav-link{margin:0;padding:11px 15px;white-space:nowrap;font-size:15px}
.workspace-nav .nav-link .icon{width:19px;height:19px}
.workspace-account{display:flex;align-items:center;gap:12px;margin-left:auto;min-width:0}
.workspace-account .demo-badge{background:#344943;color:#d0e6d8;font-size:12px;white-space:nowrap}
.account-name strong{display:block;font-size:14px;font-weight:550;max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-name small{display:block;font-size:12px;color:#91aaa9;margin-top:2px}
.workspace-account form{margin:0}
.support-note{display:flex;align-items:center;gap:16px;margin-top:26px;padding:18px 22px;border:1px solid #dae8e0;border-radius:12px;background:#eaf2ed}
.support-note h2{font-size:19px;letter-spacing:-.25px;margin:0 0 3px}
.support-note p{font-size:14px;color:#71867b;margin:0}
.support-note .banner-link{margin-left:auto;white-space:nowrap;font-size:14px}
.support-note .service-icon{width:35px;height:35px;background:#dcebe1}
@media(max-width:1150px){.workspace-header{gap:18px;padding-inline:28px}.workspace-nav{margin-left:0}.workspace-nav .nav-link{padding:10px 12px}.account-name{display:none}.workspace-account .demo-badge{display:none}}
@media(max-width:700px){.workspace-header{flex-wrap:wrap;gap:14px;padding:16px 20px 0;min-height:0}.workspace-header .brand{font-size:23px}.workspace-header .brand-mark{width:34px;height:34px;font-size:37px}.workspace-account{gap:10px}.workspace-nav{order:3;width:100%;gap:4px;justify-content:flex-start;flex-wrap:wrap}.workspace-nav .nav-link{font-size:12px;padding:11px 10px;border-radius:7px 7px 0 0;gap:7px}.workspace-nav .nav-link .icon{width:16px;height:16px}.support-note{padding:16px;gap:12px;flex-wrap:wrap;margin-top:22px}.support-note>div{flex:1;min-width:180px}.support-note h2{font-size:16px}.support-note p{font-size:12px}.support-note .banner-link{margin-left:47px;font-size:12px}}
/* Give the larger type room without expanding the compact support card. */
.card-top{flex-wrap:wrap;row-gap:10px}
.service-card p{line-height:1.6}
.card-bottom{min-height:45px}
.form-layout{grid-template-columns:minmax(0,1fr) 320px}
.login-form-wrap{max-width:410px}
.workspace-header{gap:24px;flex-wrap:wrap}
.workspace-header .brand-mark{width:44px;height:44px}
.workspace-nav{margin-left:0}
.workspace-nav .nav-link{padding-inline:12px}
.support-note{flex-wrap:wrap}
.support-note .banner-link{white-space:normal}
.account-name strong{max-width:150px}
@media(max-width:1150px){.workspace-header{gap:16px}.workspace-account{gap:9px}}
@media(max-width:950px){.form-layout{grid-template-columns:1fr}.workspace-header .brand{font-size:24px}.workspace-nav .nav-link{font-size:14px}}
@media(max-width:700px){.workspace-header .brand-mark{width:39px;height:39px}.workspace-nav{gap:2px}.workspace-nav .nav-link{font-size:13px;padding-inline:8px}.page-heading>.button{font-size:0}.support-note>div{min-width:0;flex-basis:calc(100% - 55px)}.login-form-wrap{max-width:420px}}
@media(max-height:760px){.login-form-panel{padding-block:14px}.login-form-wrap>.section-kicker,.secure-note,.login-bottom,.demo-info>p,.demo-info>small{display:none}.login-form-wrap>.muted{margin-bottom:8px}.login-form{margin-top:10px}.login-form label{margin:10px 0 6px}.login-form input:not([type=hidden]){padding:9px 12px}.login-form .full{margin-top:14px;min-height:40px}.demo-info{padding:8px 12px;margin-top:12px}.demo-choice{padding:5px 0}}
@media(max-height:590px){.login-form-wrap>.muted{display:none}.login-form-wrap h2{font-size:25px}.login-story{padding-block:12px}.login-form-panel{padding-block:8px}.login-form label{margin:7px 0 4px}.login-form input:not([type=hidden]){padding:7px 12px}.demo-info{margin-top:8px;padding:5px 10px}.demo-info>strong{display:none}}
@media(max-height:430px){.login-story,.login-form-wrap>h2{display:none}.demo-choice{font-size:12px}.login-form .full{margin-top:8px}.login-form input:not([type=hidden]){padding:5px 12px}.login-form label{margin:4px 0 3px}}
.status-pill[data-status="Rejected"]{background:#fbe8e3;color:#a34f37}.revision-panel{border-color:#e9d4b1}.revision-panel>p{font-size:15px}.revision-panel label{margin-top:18px}
.completion-panel{max-width:640px;margin:30px auto;padding:36px}.completion-panel h2{font-size:20px;overflow-wrap:anywhere}.completion-choices{display:flex;gap:14px;margin-top:26px}.completion-choices form{flex:1}.completion-choices .button{width:100%;font-size:18px;min-height:52px}.completion-summary{margin-bottom:22px}.cc-process-value{font-size:14px;white-space:nowrap}@media(max-width:700px){.completion-panel{margin:15px 0;padding:24px}}
.service-card{display:flex;flex-direction:column}.service-card h3{overflow-wrap:anywhere;line-height:1.45}.service-card .card-bottom{margin-top:auto}.service-card .card-top{flex-shrink:0}
/* Category cards with directly accessible subcategories. */
.category-caption{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:4px 0 20px;font-size:13px;color:#73877e}
.category-caption>span:last-child{display:flex;align-items:center;gap:8px}
.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.category-card{padding:24px;background:#fff;border:1px solid #dfe8e3;border-radius:16px;min-width:0;transition:background-color .18s,border-color .18s,box-shadow .18s}
.category-card:hover,.category-card:focus-within{background:#e5f3ec;border-color:#79b49d;box-shadow:0 6px 20px #1c604511}
.category-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}
.category-count{font-size:12px;color:#708b7c;background:#f0f5f2;padding:4px 9px;border-radius:6px}
.category-card h3{font-size:21px;line-height:1.4;margin:0 0 17px;letter-spacing:-.4px;overflow-wrap:anywhere}
.subcategory-list{list-style:none;padding:0;margin:0;display:grid;gap:6px}
.subcategory-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:11px 13px;border:1px solid #e3eae6;border-radius:8px;background:#f8faf9;color:#3e5a4e;font-size:15px;line-height:1.5;transition:background-color .18s,color .18s,border-color .18s}
.subcategory-list a>span{overflow-wrap:anywhere}
.subcategory-list .icon{width:17px;height:17px;color:#82a18f}
.subcategory-list a:hover,.subcategory-list a:focus-visible{background:#16776b;color:#fff;border-color:#16776b}
.subcategory-list a:hover .icon,.subcategory-list a:focus-visible .icon{color:#fff}
@media(min-width:1600px){.category-card{padding:28px}}
@media(max-width:1100px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.category-grid{grid-template-columns:1fr;gap:16px}.category-card{padding:20px}.category-card h3{font-size:20px}.subcategory-list a{font-size:15px}.category-caption{font-size:12px;flex-wrap:wrap}}
.request-search-form{padding:0 26px 24px}.request-search-controls{display:flex;gap:10px;align-items:center}.request-search-controls .search-box{flex:1;width:auto;min-width:0}.request-search-controls .search-box input{font-size:15px;padding:12px 0}.search-result-count{font-size:14px;color:#46735c;margin:12px 0 0}.hub-request-search{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 24px;margin-bottom:30px}.hub-request-search label,.request-search-form>label{font-size:15px}@media(max-width:700px){.request-search-controls{flex-wrap:wrap}.request-search-controls .search-box{flex-basis:100%}.request-search-form{padding-inline:20px}.hub-request-search{padding:18px}}
.category-link{display:flex;flex-direction:column;min-height:230px}.category-link>p{font-size:14px;color:#789084;margin-bottom:20px}.category-link .card-bottom{margin-top:auto;color:#317b64;font-size:13px;border-color:#d7e5dd}.category-link:focus-visible{background:#e5f3ec;border-color:#79b49d}.subcategory-grid .service-card{min-height:225px;transition:background-color .18s,border-color .18s,box-shadow .18s}.subcategory-grid .service-card:hover,.subcategory-grid .service-card:focus-visible{background:#e5f3ec;border-color:#79b49d}.subcategory-grid .service-card h3{font-size:19px}.subcategory-grid .card-bottom{font-size:13px}
.services-section .section-heading>.search-box{width:min(440px,100%)}.instant-search-status{font-size:14px;color:#6a8375;margin:0 26px 12px}.instant-search-status:empty{display:none}[data-request-results]>.search-result-count{padding:0 26px 16px;margin:0}[data-request-results][aria-busy="true"]{opacity:.6}.services-section .section-heading>.search-box input{font-size:15px}@media(max-width:700px){.services-section .section-heading>.search-box{width:100%}}

/* Keep request identity and metadata together in one readable card. */
.request-card-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.request-card-header h2{margin:0}
.request-card-header .status-pill{flex-shrink:0;font-size:14px}
.request-identity{padding-top:22px}
.request-reference{margin:0 0 9px;color:#55766e;font-size:14px;font-weight:600;overflow-wrap:anywhere}
.request-reference span{margin:0 7px;color:#a0afa9}
.request-overview .detail-title{margin:0;font-size:clamp(24px,2.2vw,30px);line-height:1.3;letter-spacing:-.5px;max-width:none}
.request-submitted{margin:10px 0 0;color:#687d83;font-size:14px}
.request-overview .people-grid{background:#f5f8f7;border:1px solid #e5eeea;border-radius:12px;padding:18px 20px;margin:22px 0;gap:18px 24px}
.request-overview .meta-label{font-size:13px;letter-spacing:0;color:#62776f;margin-bottom:6px}
.request-overview .people-grid strong{font-size:15px;line-height:1.6}
.request-cc{grid-column:1/-1}
.request-overview .description{min-height:0;font-size:16px;line-height:1.75;color:#4f6570;margin:0 0 24px}
.email-preview-heading{margin-bottom:16px;font-size:18px;line-height:1.35}.trip-email-preview{color:#365852;font-size:16px;line-height:1.6;margin-bottom:24px}.trip-email-preview p{margin:0 0 16px}.trip-email-preview h4{margin:24px 0 10px;font-size:17px;color:#163d36}.trip-email-preview table{width:100%;border-collapse:collapse;font-family:inherit;font-size:inherit;line-height:inherit}.trip-email-preview th,.trip-email-preview td{padding:10px 12px;border:1px solid #d8e7e1;text-align:left;vertical-align:top;font-family:inherit;font-size:inherit;line-height:inherit}.trip-email-preview th{background:#edf6f2;font-weight:650}.trip-email-preview tbody tr:nth-child(even) td{background:#fbfdfc}.trip-email-preview table:first-of-type th:first-child,.trip-email-preview table:first-of-type td:first-child{width:40%}.trip-email-preview table:first-of-type th:nth-child(2),.trip-email-preview table:first-of-type td:nth-child(2){width:60%}@media(max-width:600px){.email-preview-heading{font-size:17px}.trip-email-preview{font-size:15px}.trip-email-preview th,.trip-email-preview td{padding:8px}}
.request-attachments{border-top:1px solid var(--line);padding-top:20px}
.request-overview .request-attachments h3{display:flex;align-items:center;gap:9px;font-size:16px;margin:0 0 14px}
.request-overview .attachment-card strong{font-size:15px;line-height:1.5}
.request-overview .attachment-card div>span{font-size:13px;color:#687d73}
@media(max-width:700px){.request-overview .people-grid{padding:16px;grid-template-columns:1fr}.request-card-header{gap:10px}.request-card-header h2{font-size:20px}.request-reference{font-size:13px}.request-overview .attachment-card{padding:12px}}

.completion-email-panel{max-width:850px;margin:0 auto}.completion-email-panel h1{font-size:28px;margin-bottom:8px}.completion-email-panel label{margin-top:20px}.completion-email-panel textarea{line-height:1.7}

/* Sender roles are indicated by labels as well as color. */
.conversation .message{margin-top:18px;padding:20px;border:1px solid var(--line);border-left:4px solid #a2adaf;border-radius:12px;background:#fafbfb}
.conversation .message--admin{border-left-color:#238071;background:#f3f9f6}
.conversation .message--requestor{border-left-color:#537ebc;background:#f5f8fd}
.message-sender{min-width:0;flex:1}
.message-sender-line{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
.sender-role{display:inline-flex;padding:3px 9px;border-radius:6px;font-size:12px;line-height:1.5;font-weight:600;background:#e9edef;color:#4f6269}
.message--admin .sender-role,.message--admin .avatar{background:#dcefe6;color:#21614d}
.message--requestor .sender-role,.message--requestor .avatar{background:#e1eafa;color:#355b92}
@media(max-width:700px){.conversation .message{padding:16px 12px}.message-sender-line strong{font-size:14px}.message-sender{flex-basis:calc(100% - 55px)}}

/* Compact workspace layout after removing repeated explanatory copy. */
.request-form-layout{grid-template-columns:minmax(0,1fr);max-width:960px;margin-inline:auto}
.request-page-portal .request-form-layout{max-width:1120px;margin-top:28px}.request-page-portal .request-page-hero{margin-bottom:0}.request-page-portal .form-panel{padding:36px;border-color:#dbe5ee;border-radius:18px;box-shadow:0 6px 20px #123c4908}.request-page-portal>.trip-panel{max-width:1120px;margin-top:28px}.request-page-portal .memo-form-panel{max-width:none}.request-page-portal .panel-heading{padding-bottom:20px;margin-bottom:26px}.request-page-portal .step-number{background:#e3f5ef;color:#007d71}.request-page-portal .form-actions{margin-top:32px;padding-top:24px}@media(max-width:700px){.request-page-portal .form-panel{padding:22px 18px}.request-page-portal .request-form-layout,.request-page-portal>.trip-panel{margin-top:20px}}
.request-stats{grid-template-columns:repeat(2,minmax(0,1fr));max-width:720px}
.category-link h3{margin-bottom:22px}
.subcategory-grid .service-card h3{margin-bottom:22px}
.login-story .story-copy{padding-block:48px}
.login-story .story-copy h1{font-size:clamp(34px,4vw,58px);line-height:1.15}
.request-form-layout .panel-heading h2{margin-bottom:0}
.memo-review-link{margin-top:10px}.memo-preview-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}.memo-preview-heading h1{margin:5px 0}.memo-preview-actions{display:flex;gap:10px;align-items:center}.memo-generated-note{display:flex;align-items:center;gap:12px;max-width:820px;margin:0 auto 18px;padding:14px 18px;border:1px solid #b9ddca;border-radius:12px;background:#edf8f2;color:#286349}.memo-generated-note .icon{width:22px}.memo-generated-note strong,.memo-generated-note span{display:block}.memo-generated-note span{font-size:13px;margin-top:3px}.memo-paper{width:min(820px,100%);min-height:1060px;margin:0 auto;padding:64px 70px;background:#fff;border:1px solid #dfe5e2;box-shadow:0 12px 40px #193b2e12;color:#111;font-family:Arial,sans-serif}.memo-brand{font-size:22px;font-weight:750;color:#16776b;letter-spacing:-.5px}.memo-brand span{font-weight:400;color:#172b35}.memo-paper h2{text-align:center;font-size:17px;margin:32px 0 22px}.memo-metadata{display:grid;grid-template-columns:95px 1fr;gap:7px 0;font-size:15px;margin:0}.memo-metadata dt{font-weight:700}.memo-metadata dd{margin:0;overflow-wrap:anywhere}.memo-copy{white-space:pre-wrap;font-size:15px;line-height:1.75;margin-top:48px;min-height:270px}.memo-signatures{display:grid;grid-template-columns:1fr 1fr;gap:80px;margin-top:55px;text-align:center}.memo-signatures div{display:flex;flex-direction:column;min-height:130px;justify-content:space-between}.memo-signatures strong{border-top:1px solid #222;padding-top:7px}@media(max-width:700px){.memo-preview-heading{align-items:flex-start;flex-direction:column}.memo-preview-actions{width:100%;flex-wrap:wrap}.memo-paper{padding:35px 25px;min-height:850px}.memo-metadata{grid-template-columns:75px 1fr;font-size:13px}.memo-copy{font-size:14px;margin-top:35px}.memo-signatures{gap:25px}.memo-preview-actions .button{width:100%}}
.memo-paper .memo-brand{display:flex;align-items:center;width:max-content;color:#687eaf;font-weight:400;letter-spacing:normal}.memo-paper .memo-brand b{font-size:38px;font-style:italic;letter-spacing:-5px}.memo-paper .memo-brand i{height:34px;width:1px;background:#9aa7bf;margin:0 12px}.memo-paper .memo-brand span{font-size:9px;line-height:1.25;font-weight:700;letter-spacing:.8px;color:#687eaf}.memo-paper .memo-copy{white-space:normal}.memo-paper .memo-copy p{white-space:pre-wrap;margin:0 0 24px;text-align:justify;text-justify:inter-word}
.memo-document-header{display:grid;grid-template-columns:96px minmax(0,1fr) 96px;align-items:center;margin:0 0 40px}.memo-document-header img{display:block;width:100px;height:auto;object-fit:contain;object-position:left center}.memo-paper .memo-document-header h2{margin:0;text-align:center}.memo-document-header>span{display:block}@media(max-width:560px){.memo-document-header{grid-template-columns:72px minmax(0,1fr) 72px;gap:4px}.memo-document-header img{width:64px;max-height:46px}.memo-paper .memo-document-header h2{font-size:18px}}
.memo-blank-fields{display:grid;grid-template-columns:145px 1fr;gap:4px;margin:0 0 24px 45px}.memo-blank-fields dt{font-weight:400}.memo-blank-fields dd{margin:0}.memo-blank-fields.travel{grid-template-columns:185px 1fr}.memo-blank{display:inline-block;width:90px;border-bottom:1px solid #555;vertical-align:baseline}.memo-blank.wide{width:130px}.memo-added-detail{padding:12px 14px;background:#f8faf9;border-left:3px solid #9aa7bf}
.memo-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px;margin-top:22px}.memo-fields label{margin-top:0!important}.memo-description{grid-column:1/-1}@media(max-width:700px){.memo-fields{grid-template-columns:1fr}.memo-description{grid-column:auto}}
.settings-tabs{display:flex;gap:8px;margin-bottom:24px;border-bottom:1px solid #dfe5e2}.settings-tabs a{padding:11px 15px;margin-bottom:-1px;color:var(--muted);font-weight:650;border-bottom:2px solid transparent}.settings-tabs a.active{color:var(--primary);border-color:var(--primary)}.master-create{margin-bottom:20px}.master-inline-form{max-width:760px}.master-grid-form{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;gap:16px;align-items:end}.master-grid-form label{margin-top:0}.master-list .list-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.master-list .search-box{max-width:360px}.master-grid-form select,.master-list select{width:100%;border:1px solid #dce4e2;border-radius:7px;padding:10px;background:#fff}.master-row-form input{min-width:240px;width:100%;border:1px solid #dce4e2;border-radius:7px;padding:10px}.master-row-form input[readonly],.master-list select:disabled{border-color:transparent;background:transparent;color:var(--ink);opacity:1}.master-actions{display:flex;gap:8px}.button.danger{color:#a13232;border-color:#e5bcbc;background:#fff}.button.danger:hover{background:#fff2f2}@media(max-width:700px){.settings-tabs{overflow-x:auto}.settings-tabs a{white-space:nowrap}.master-grid-form{grid-template-columns:1fr}.master-list .list-heading{align-items:stretch;flex-direction:column}.master-list .search-box{max-width:none}.master-actions{flex-direction:column}.master-row-form input{min-width:180px}}
.item-create-form{grid-template-columns:repeat(2,minmax(200px,1fr))}.item-create-form .button{justify-self:start}.master-list td>input{min-width:150px;width:100%;border:1px solid #dce4e2;border-radius:7px;padding:10px}.master-list td>input[readonly]{border-color:transparent;background:transparent}@media(max-width:700px){.item-create-form{grid-template-columns:1fr}}
.master-batch-upload-form{display:grid;grid-template-columns:1fr;gap:22px}.master-batch-upload-form label{margin-top:0}.master-batch-upload-form select{width:100%;border:1px solid #dce4e2;border-radius:7px;padding:10px;background:#fff}.master-batch-upload-form input[type=file]{width:100%;min-width:0;border:1px solid #dce4e2;border-radius:7px;background:#fff;font:inherit}.master-batch-upload-form .button{justify-self:start}
.marketplace-fields{grid-column:1/-1}.invoice-editor{margin-top:22px;padding:18px;border:1px solid #dfe8e4;border-radius:12px;background:#f8fbfa}.invoice-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.invoice-editor-heading h3{margin:0;font-size: 18px;line-height: 0.8;}.invoice-editor-heading small{display:block;margin-top:4px;color:var(--muted)}.invoice-row{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;margin-top:15px;padding:20px;border:1px solid #dfe8e4;border-radius:10px;background:#fff}.invoice-row-number{position:absolute;left:-10px;top:-10px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#e5f3ec;color:#176f64;font-weight:700;font-size:14px;border:1px solid #176f64}.invoice-row label{margin:0!important;font-size:13px}.invoice-row input,.invoice-row select{width:100%;margin-top:6px}.invoice-row input:not([type=hidden]){min-height:43px;padding:10px 13px;font-family:inherit;font-size:14px;font-weight:400;line-height:1.55;color:var(--ink)}.invoice-row input::placeholder{font-family:inherit;font-size:14px;font-weight:400;color:#99a4ac;opacity:1}.invoice-remove{position:absolute;right:15px;top:1px;border:0;background:transparent;color:#a13232;font-size:26px;cursor:pointer}.invoice-remove:disabled{opacity:.3;cursor:not-allowed}.invoice-summary{display:flex;align-items:flex-end;justify-content:flex-end;gap:25px;padding-top:18px}.invoice-total{display:flex;flex-direction:column;gap:4px;text-align:right;font-size:16px}.invoice-total strong{font-size:20px}.invoice-total span{color:var(--muted);font-size:13px}.approval-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.approval-fields small{display:block;margin-top:5px;color:var(--muted)}@media(max-width:850px){.invoice-row,.approval-fields{grid-template-columns:1fr}.invoice-row{padding-left:58px}.invoice-row-number{left:14px}.invoice-summary{align-items:flex-end}.invoice-total{text-align:right}}
.marketplace-invoice-row{grid-template-columns:repeat(6,minmax(0,1fr))}.marketplace-invoice-row>.invoice-main-field{grid-column:span 3}.marketplace-invoice-row>.invoice-third-field{grid-column:span 2}.marketplace-invoice-row .money-input-wrap{display:block}.marketplace-invoice-row .money-input-wrap input{margin-top:0!important;padding-left:45px!important}.marketplace-invoice-total{width:100%;max-width:450px}.marketplace-invoice-total .purchase-total-row{grid-template-columns:minmax(190px,1fr) auto;gap:24px}.marketplace-invoice-total .purchase-total-grand{margin-top:4px;padding-top:12px}.marketplace-totals{display:grid;grid-template-columns:auto minmax(120px,auto);gap:5px 16px;justify-content:end;text-align:right}.marketplace-totals>*{margin:0}.marketplace-totals .marketplace-total-label{font-weight:700}@media(max-width:850px){.marketplace-invoice-row{grid-template-columns:1fr}.marketplace-invoice-row>.invoice-main-field,.marketplace-invoice-row>.invoice-third-field{grid-column:auto}.marketplace-invoice-total{max-width:380px}}
.search-select{position:relative;width:100%;margin-top:6px}.search-select-native{position:absolute!important;width:1px!important;height:1px!important;bottom:0;left:0;opacity:0;pointer-events:none}.search-select-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:43px;padding:10px 13px;border:1px solid #dde5e7;border-radius:7px;background:#fff;color:var(--ink);text-align:left;font-family:inherit;font-size:14px;font-weight:400;line-height:1.55}.search-select-trigger.has-value{color:var(--ink)}.search-select-trigger:focus-visible{outline:3px solid #52bbaa}.search-select-trigger:disabled{background:#f1f4f3;cursor:not-allowed}.search-select-arrow{display:block;width:8px;height:8px;margin:0 3px 4px 14px;border-right:2px solid #7f8d93;border-bottom:2px solid #7f8d93;transform:rotate(45deg);transition:transform .16s ease,margin .16s ease;flex-shrink:0}.search-select.open .search-select-arrow{margin-top:5px;margin-bottom:0;transform:rotate(225deg)}.search-select-panel{position:absolute;z-index:50;top:calc(100% + 7px);left:0;right:0;padding:10px;border:1px solid #dde5e7;border-radius:10px;background:#fff;box-shadow:0 14px 34px #17372e24;font-size:14px;font-weight:400}.search-select-search{margin:0 0 9px!important;font-family:inherit!important;font-size:14px!important;font-weight:400!important;color:var(--ink)!important}.search-select-list{max-height:280px;overflow-y:auto;border-radius:8px}.search-select-option{display:block;width:100%;padding:10px 12px;border:0;border-radius:7px;background:#fff;color:var(--ink);font-family:inherit;font-size:14px;font-weight:400;line-height:1.55;text-align:left}.search-select-option:hover,.search-select-option[aria-selected="true"]{background:#e8f1ed}.search-select-option.placeholder{color:var(--ink)}.search-select-empty{padding:12px;color:var(--muted);font-size:13px;text-align:center}
.memo-form-panel .search-select-option:not(.placeholder){display:flex;align-items:center;gap:10px}.memo-form-panel .search-select-option:not(.placeholder)::before{content:"";display:grid;place-items:center;width:17px;height:17px;box-sizing:border-box;border:1.5px solid #94a3a8;border-radius:4px;background:#fff;color:#fff;font-size:12px;font-weight:700;line-height:1;flex:0 0 17px}.memo-form-panel .search-select-option[aria-selected="true"]::before{content:"\2713";border-color:#087f70;background:#087f70}
.memo-form-panel #memo_option+.search-select .search-select-option:not(.placeholder){display:block}.memo-form-panel #memo_option+.search-select .search-select-option:not(.placeholder)::before{display:none;content:none}
.memo-empty-state{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px 24px;align-items:center;margin-top:28px;padding:30px;border:1px solid #d5e6e0;border-radius:16px;background:linear-gradient(135deg,#f5fbf8 0%,#fbfdfc 100%)}.memo-empty-illustration{position:relative;display:flex;flex-direction:column;gap:8px;width:78px;height:92px;margin:auto;padding:25px 15px 12px;border:2px solid #75ad9f;border-radius:10px;background:#fff;box-shadow:0 10px 24px #21473d14}.memo-empty-illustration::before{content:"";position:absolute;top:-9px;left:20px;width:34px;height:17px;border-radius:6px;background:#168274}.memo-empty-illustration span,.memo-empty-illustration i{display:block;height:5px;border-radius:99px;background:#d5e9e3}.memo-empty-illustration span{width:72%;background:#8fc5b8}.memo-empty-illustration i:nth-child(3){width:84%}.memo-empty-illustration i:nth-child(4){width:60%}.memo-empty-copy h3{margin:0 0 7px;color:#173f38;font-size:20px}.memo-empty-copy p{max-width:620px;margin:0;color:#667d76;line-height:1.55}.memo-empty-steps{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0 0;padding:18px 0 0;border-top:1px solid #dce9e5;list-style:none}.memo-empty-steps li{display:flex;align-items:center;gap:11px;min-width:0}.memo-empty-steps li>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e0f2ec;color:#13786b;font-weight:800;flex:0 0 30px}.memo-empty-steps strong,.memo-empty-steps small{display:block}.memo-empty-steps strong{color:#294841;font-size:14px}.memo-empty-steps small{margin-top:2px;color:#7a8c87;font-size:12px}@media(max-width:700px){.memo-empty-state{grid-template-columns:1fr;padding:24px 20px;text-align:center}.memo-empty-copy p{margin:auto}.memo-empty-steps{grid-template-columns:1fr;text-align:left}.memo-empty-steps li{padding:5px 0}}
.search-select-footer{display:flex;justify-content:flex-end;margin-top:10px;padding-top:10px;border-top:1px solid #e2ebe7;background:#fff}.search-select-confirm{min-width:84px;padding:9px 18px;border:0;border-radius:7px;background:#16776b;color:#fff;font-family:inherit;font-size:14px;font-weight:650}.search-select-confirm:hover{background:#10665b}.search-select-confirm:focus-visible{outline:3px solid #52bbaa;outline-offset:2px}
.memo-invoice-blocks{display:grid;gap:18px;margin:18px 0}.memo-invoice-block{break-inside:avoid;border:1px solid #ccd8d3;border-radius:7px;overflow:hidden}.memo-invoice-block h3{margin:0;padding:9px 12px;background:#dfece7;font-size:13px}.memo-invoice-block dl{display:grid;grid-template-columns:155px 1fr;margin:0;font-size:12px}.memo-invoice-block dt,.memo-invoice-block dd{margin:0;padding:7px 10px;border-top:1px solid #dce5e1}.memo-invoice-block dt{background:#f0f5f3;font-weight:700}.memo-invoice-block dd{overflow-wrap:anywhere}.marketplace-signatures{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:24px}@media(max-width:700px){.memo-invoice-block dl{grid-template-columns:115px 1fr}}
.memo-request-review{margin-top:22px;padding:20px;border:1px solid #d9dfe2;border-radius:8px;background:#fff;color:var(--ink);font-family:Arial,sans-serif;font-size:14px;font-weight:400;line-height:1.5}.memo-request-review>p{margin-bottom:14px;font-size:14px;font-weight:400}.memo-request-meta{display:grid;grid-template-columns:140px 1fr;gap:6px 14px;margin:0 0 22px;font-size:14px;font-weight:400}.memo-request-meta dt{font-weight:400}.memo-request-meta dd{margin:0;font-weight:400;overflow-wrap:anywhere}.memo-request-table-title{margin:0 0 9px!important}.memo-request-table-scroll{overflow-x:auto;border:1px solid #cfd6da;border-radius:0;background:#fff}.memo-request-table{min-width:1000px;background:#fff}.memo-request-table th{white-space:nowrap;background:#dfece7;color:var(--ink);font-weight:700;text-align:center;vertical-align:middle}.memo-request-table td,.memo-request-table th{padding:8px 10px;border:1px solid #cfd6da;font-family:Arial,sans-serif;font-size:14px;line-height:1.4}.memo-request-table td{font-weight:400}.memo-request-total{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-top:12px;font-size:14px;font-weight:400}.memo-request-total span{color:var(--ink);font-size:14px;font-weight:400}.memo-request-regards{margin:24px 0 0!important}.confirm-memo-review{margin-top:0;margin-bottom:24px;padding:0;border:0}@media(max-width:700px){.memo-request-review{padding:14px}.memo-request-meta{grid-template-columns:105px 1fr}.confirm-memo-review{padding:0}}

.purchase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.purchase-grid label{margin:0}.purchase-grid input,.purchase-grid select{width:100%;margin-top:6px}.purchase-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:32px;margin-top:18px;padding-top:18px;border-top:1px solid #dce5e1}.purchase-vat-choice{min-width:0}.purchase-vat-label{display:block;font-size:16px;font-weight:650}.purchase-vat-choice>small{display:block;max-width:680px;margin-top:5px;color:var(--muted);font-size:14px;line-height:1.5}.purchase-vat-options{display:flex;align-items:center;gap:24px;margin-top:12px}.purchase-vat-options label{display:flex;align-items:center;gap:8px;margin:0;font-size:16px;cursor:pointer}.purchase-vat-options input{width:18px;height:18px;margin:0;accent-color:var(--primary)}.purchase-total{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:300px;text-align:right}.purchase-total-row{display:grid;grid-template-columns:minmax(120px,1fr) auto;align-items:baseline;gap:24px;font-size:16px}.purchase-total-row[hidden]{display:none}.purchase-total span,.purchase-total small{color:var(--muted)}.purchase-total strong{font-size:16px}.purchase-total-grand{margin-top:2px;padding-top:8px;border-top:1px solid #dce5e1}.purchase-total-grand strong{font-size:16px}@media(max-width:850px){.purchase-grid{grid-template-columns:1fr}.purchase-summary{grid-template-columns:1fr}.purchase-total{min-width:0;width:100%;max-width:380px}}@media(max-width:600px){.purchase-vat-options{align-items:flex-start;flex-direction:column;gap:10px}}

.purchase-review-table{min-width:0;width:100%}.purchase-review-table td:first-child{width:34%;white-space:nowrap}.memo-horizontal-table{width:max-content;min-width:100%}.memo-horizontal-table th{white-space:normal;min-width:130px;vertical-align:top}.memo-horizontal-table td{min-width:130px;vertical-align:top;overflow-wrap:anywhere}.extend-excel>.memo-signatures{display:none}.extend-excel-signatures{display:grid!important;grid-template-columns:repeat(3,1fr);margin-top:42px}.detail-main>*,.request-overview,.conversation{min-width:0;max-width:100%}.detail-memo-review{width:100%;min-width:0;margin:24px 0;padding:0;border:0;overflow:hidden}.request-memo-details{width:100%;min-width:0;overflow:hidden}.request-memo-details .memo-request-table-scroll,.message-memo-table .memo-request-table-scroll{display:block;width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain}.message-memo-table{width:100%;min-width:0;margin-top:16px;max-width:100%;overflow:hidden}.message-memo-table .memo-request-meta{margin-bottom:16px}.workflow-aside{min-width:0}

.purchase-entry-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.purchase-entry-grid>label{grid-column:span 2}.purchase-entry-grid>.purchase-quantity,.purchase-entry-grid>.purchase-unit-price{grid-column:span 1}@media(max-width:850px){.purchase-entry-grid{grid-template-columns:1fr}.purchase-entry-grid>label,.purchase-entry-grid>.purchase-quantity,.purchase-entry-grid>.purchase-unit-price{grid-column:auto}}

.purchase-header-grid{margin-top:4px}.purchase-header-grid .purchase-subject{grid-column:1/-1;margin: 0;}.purchase-item-editor{margin-top:22px;padding:18px;border:1px solid #cfe2dc;border-radius:12px;background:#f2f8f6}.purchase-item-row{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 18px;margin-top:15px;padding:20px;border:1px solid #cfe2dc;border-radius:10px;background:#fff}.purchase-item-row label{margin:0!important}.purchase-item-row input{width:100%;margin-top:6px}.purchase-item-description,.purchase-item-price,.purchase-item-half{grid-column:span 2}.purchase-item-quarter{grid-column:span 1}.purchase-master-grid{margin-top:22px}@media(max-width:700px){.purchase-item-row{grid-template-columns:1fr;padding-left:58px}.purchase-item-description,.purchase-item-price,.purchase-item-half,.purchase-item-quarter{grid-column:auto}}
.vat-item-editor{margin-top:0}.vat-item-row .vat-half-field{grid-column:span 2}.vat-detail-columns{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px}.vat-item-row .money-input-wrap{display:block}.vat-item-row .money-input-wrap input{margin-top:0!important;padding-left:45px!important}.vat-correction-notes{margin-top:18px}.vat-correction-notes .memo-description{grid-column:auto}.vat-correction-notes textarea{min-height:150px}@media(max-width:700px){.vat-item-row .vat-half-field{grid-column:auto}.vat-detail-columns{grid-template-columns:1fr}.vat-correction-notes{grid-template-columns:1fr}.vat-correction-notes textarea{min-height:110px}}
.vat-detail-columns.vat-cancel-amounts{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:700px){.vat-detail-columns.vat-cancel-amounts{grid-template-columns:1fr}}

.form-layout>*{min-width:0}.detail-panel{min-width:0;max-width:100%;overflow:hidden}.detail-panel .trip-email-preview{display:block;width:100%;min-width:0;max-width:100%;overflow:hidden;contain:inline-size}.detail-panel .trip-email-preview .email-table-scroll,.detail-panel .trip-email-preview .email-table-scroll--wide{position:relative;display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow-x:scroll!important;overflow-y:hidden;overscroll-behavior-inline:contain;scrollbar-gutter:stable;padding-bottom:4px;scrollbar-color:#748b85 #e5ece9;scrollbar-width:auto}.detail-panel .trip-email-preview .email-table-scroll::-webkit-scrollbar{height:13px}.detail-panel .trip-email-preview .email-table-scroll::-webkit-scrollbar-track{border-radius:8px;background:#e5ece9}.detail-panel .trip-email-preview .email-table-scroll::-webkit-scrollbar-thumb{border:2px solid #e5ece9;border-radius:8px;background:#748b85}.detail-panel .trip-email-preview .email-table-scroll::-webkit-scrollbar-thumb:hover{background:#526b64}.detail-panel .trip-email-preview .email-table-scroll--wide .email-table{display:table;width:1000px!important;min-width:1000px!important;max-width:none}.detail-panel .trip-email-preview .email-table-scroll--wide .email-table th{width:auto!important}

.memo-approval-panel{width:100%;margin:0 auto 18px;padding:28px}.memo-approval-panel .panel-heading{margin-bottom:22px}.memo-approval-panel .form-actions{margin-right:-28px;margin-bottom:-28px;margin-left:-28px;padding:22px 28px}.memo-paper{max-width:100%;overflow:hidden}.memo-paper .memo-request-table-scroll{display:block;width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scrollbar-gutter:stable}
.signature-group-grid{display:grid;grid-template-columns:1fr;gap:14px}.signature-group-card{padding:17px;border:1px solid #dce8e2;border-radius:9px;background:#f8fbfa}.signature-group-toggle{display:flex;align-items:center;justify-content:flex-start;gap:9px;margin:0 0 14px!important;font-weight:700}.signature-group-toggle input{width:18px;height:18px;min-height:0;margin:0;padding:0;accent-color:#16776b}.signature-name-list{display:grid;gap:9px}.signature-name-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 34px;gap:9px;align-items:center}.signature-group-card[data-signature-group="applicant"] .signature-name-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.signature-name-row input{width:100%;min-width:0}.signature-remove{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #e2caca;border-radius:6px;background:#fff;color:#a13b3b;font-size:21px;line-height:1;cursor:pointer}.signature-add{width:auto;margin-top:10px;justify-content:center}.memo-copy .memo-signatures{display:none!important}.signature-preview-wrap{display:flex;justify-content:center;width:100%;margin-top:42px;overflow-x:auto}.signature-preview-table{width:120mm;border-collapse:collapse;table-layout:fixed;text-align:center;font-family:Arial,sans-serif;font-size:8pt;line-height:9.5pt}.signature-preview-table th,.signature-preview-table td{box-sizing:border-box;padding:4pt 5pt;border:1px solid #505050;vertical-align:middle}.signature-preview-table th{height:7mm;background:#fff;font-weight:700}.signature-preview-space-row td{height:18mm}.signature-preview-name-row td{height:11mm}.signature-preview-table strong,.signature-preview-table small{display:block;font-size:8pt;line-height:9.5pt;white-space:pre-line}.signature-preview-table strong{border:0;padding:0}.signature-preview-table small{margin:0;color:var(--ink);font-weight:400}@media(max-width:760px){.signature-name-row{grid-template-columns:minmax(0,1fr) 34px}.signature-name-row input:nth-child(2){grid-column:1}.signature-group-card[data-signature-group="applicant"] .signature-name-row{grid-template-columns:1fr}.memo-approval-panel{padding:20px}.memo-approval-panel .form-actions{margin-right:-20px;margin-bottom:-20px;margin-left:-20px;padding:18px 20px}.signature-preview-table{width:120mm;min-width:120mm}}

.conversation,.conversation .message,.conversation .message-body{min-width:0;max-width:100%}.conversation .message{overflow:hidden}.conversation .message-body{display:block;width:100%;overflow:hidden}.conversation .message-body .email-table-scroll,.conversation .message-body .email-table-scroll--wide{position:relative;display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;margin:12px 0;overflow-x:auto!important;overflow-y:hidden;overscroll-behavior-inline:contain;scrollbar-gutter:stable;white-space:normal;scrollbar-color:#748b85 #e5ece9}.conversation .message-body .email-table{width:1000px!important;min-width:1000px!important;max-width:none}.conversation .message-body .email-table th{width:auto!important}.conversation .message-body .email-table-scroll::-webkit-scrollbar{height:12px}.conversation .message-body .email-table-scroll::-webkit-scrollbar-track{border-radius:8px;background:#e5ece9}.conversation .message-body .email-table-scroll::-webkit-scrollbar-thumb{border:2px solid #e5ece9;border-radius:8px;background:#748b85}

.request-email-details{width:100%;min-width:0;max-width:100%;overflow:hidden!important}.request-email-details .email-table-scroll,.request-email-details .email-table-scroll--wide,.conversation .message-body .email-table-scroll,.conversation .message-body .email-table-scroll--wide{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;margin:12px 0;overflow-x:scroll!important;overflow-y:hidden!important;overscroll-behavior-inline:contain;scrollbar-gutter:stable;padding-bottom:4px;white-space:normal;scrollbar-color:#748b85 #e5ece9;scrollbar-width:auto}.request-email-details .email-table,.conversation .message-body .email-table{display:table;width:1000px!important;min-width:1000px!important;max-width:none}.request-email-details .email-table th,.conversation .message-body .email-table th{width:auto!important}.request-email-details .email-table-scroll::-webkit-scrollbar,.conversation .message-body .email-table-scroll::-webkit-scrollbar{height:13px}.request-email-details .email-table-scroll::-webkit-scrollbar-track,.conversation .message-body .email-table-scroll::-webkit-scrollbar-track{border-radius:8px;background:#e5ece9}.request-email-details .email-table-scroll::-webkit-scrollbar-thumb,.conversation .message-body .email-table-scroll::-webkit-scrollbar-thumb{border:2px solid #e5ece9;border-radius:8px;background:#748b85}.request-email-details .email-table-scroll::-webkit-scrollbar-thumb:hover,.conversation .message-body .email-table-scroll::-webkit-scrollbar-thumb:hover{background:#526b64}

@media(max-width:700px){.memo-approval-panel{padding:20px}.memo-approval-panel .form-actions{margin-right:-20px;margin-bottom:-20px;margin-left:-20px;padding:18px 20px}}

.own-signatures>.memo-signatures{display:none}

/* Service portal: spacious search, dominant category symbols, concise labels. */
.hub-hero{background:radial-gradient(ellipse at 85% 0%,#286f65 0%,transparent 55%),linear-gradient(125deg,#122d35,#163d40);border-radius:24px;padding:28px 40px 38px;color:#fff;margin-bottom:34px}
.hub-hero-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.hub-eyebrow{font-size:13px;letter-spacing:2px;color:#b6ded2;font-weight:650}
.hub-hero h1{font-size:clamp(30px,3vw,42px);color:#fff;margin:0 0 10px;letter-spacing:-1px}.hub-hero>p{color:#d0e1df;margin:0 0 24px;font-size:16px}
.hub-requests{display:flex;align-items:center;gap:10px;color:#fff;font-size:14px;padding:9px 13px;border:1px solid #67978e;border-radius:10px}.hub-requests:hover{background:#ffffff14}.hub-requests>span{background:#b7edd7;color:#174e41;border-radius:5px;padding:0 7px}
.hub-hero .hub-search{width:100%;max-width:680px;padding:7px 18px;border:0;border-radius:12px;background:#fff;color:#46665e}.hub-hero .hub-search input{font-size:17px;padding:12px 0}
.hub-service-count{font-size:14px;color:#6a7e82}.hub-services .section-heading{margin-bottom:20px}
.portal-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.portal-card{--card-tone:#207865;--card-soft:#e5f4ee;display:flex;flex-direction:column;min-height:260px;padding:26px 24px 0;border:1px solid #dfe8e7;border-radius:18px;box-shadow:0 4px 15px #133c3305;transition:transform .18s,box-shadow .18s,background .18s}
.portal-card:nth-child(3n+2){--card-tone:#4669ad;--card-soft:#edf1fc}.portal-card:nth-child(3n){--card-tone:#8a609e;--card-soft:#f3edf8}
.portal-card .category-card-heading{align-items:flex-start;margin-bottom:22px}.portal-card .service-icon{width:94px;height:94px;border-radius:24px;background:var(--card-soft);color:var(--card-tone)}.portal-card .service-icon .icon{width:54px;height:54px;stroke-width:1.45}
.portal-card .category-count{font-size:12px;padding:5px 8px;color:#637776;background:#f3f6f5;border:0}.portal-card h3{font-size:20px;line-height:1.35;margin:0 0 22px;min-height:54px;letter-spacing:-.3px}.portal-card .card-bottom{margin-top:auto;padding:15px 0;color:var(--card-tone);font-size:14px;border-top:1px solid #e8eeec}
.portal-card:hover,.portal-card:focus-visible{transform:translateY(-4px);background:var(--card-soft);border-color:var(--card-tone);box-shadow:0 12px 25px #153e3310}.portal-card:hover .service-icon,.portal-card:focus-visible .service-icon{background:var(--card-tone);color:white}
.subcategory-grid .service-card .service-icon{width:76px;height:76px;border-radius:20px}.subcategory-grid .service-card .service-icon .icon{width:42px;height:42px}.subcategory-grid .service-card h3{font-size:19px}
/* Admin inbox prioritizes the table and new tasks. */
.admin-stats{display:flex;gap:16px;max-width:none;margin-bottom:18px}.admin-stats .stat{padding:12px 18px;gap:12px;box-shadow:none}.admin-stats .stat>div{display:flex;align-items:center;gap:14px}.admin-stats .stat strong{font-size:25px}.admin-stats .stat-icon{width:32px;height:32px}.request-search-controls select{max-width:175px;height:46px}.priority-new{background:#f0f9f5}.priority-new td:first-child{border-left:3px solid #269e78}.priority-new .request-title{font-weight:750}.priority-new .status-pill{background:#d4efe1;color:#175d44;font-weight:700}
.notification-menu{position:relative}.notification-trigger{position:relative;display:flex;align-items:center;justify-content:center;list-style:none;width:42px;height:42px;border:1px solid #dce8e3;border-radius:11px;color:#2c6659;background:#f5faf7;cursor:pointer}.notification-trigger::-webkit-details-marker{display:none}.notification-count{position:absolute;top:-6px;right:-6px;background:#157b60;color:#fff;border:2px solid white;border-radius:20px;min-width:22px;padding:1px 4px;font-size:11px;text-align:center}.notification-panel{position:absolute;right:0;top:53px;width:380px;max-width:calc(100vw - 32px);background:white;border:1px solid #dfe8e3;border-radius:16px;box-shadow:0 16px 50px #133e3529;z-index:100;overflow:hidden}.notification-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px;border-bottom:1px solid var(--line)}.notification-heading h2{font-size:18px;margin:0}.notification-read{background:none;border:0;color:#267762;font:inherit;font-size:12px;padding:4px;cursor:pointer}[data-notification-list]{max-height:390px;overflow-y:auto}.notification-item{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #edf1ee;background:#fff;padding:15px 18px;font:inherit;cursor:pointer}.notification-item.unread{background:#f0f9f5;border-left:3px solid #269e78}.notification-item:hover{background:#e7f3ed}.notification-item strong,.notification-item span,.notification-item small{display:block;overflow-wrap:anywhere}.notification-item strong{font-size:15px;color:#183e36;margin:4px 0}.notification-item span,.notification-item small{font-size:12px;color:#667d77}.notification-item .notification-label{color:#21765c;font-weight:650}.notification-footer{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;font-size:14px;color:#246e5a}.notification-empty{padding:24px 18px;margin:0;color:#72847e;font-size:14px}
.workspace-nav .nav-link:has(.nav-inbox-count){position:relative}.workspace-nav .nav-link:has(.nav-inbox-count:not(.hidden)){padding-right:39px}.nav-inbox-count{position:absolute;top:7px;right:9px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border:1px solid #d2f5e7;border-radius:999px;background:#aee8d2;color:#124f40;font-size:10px;font-weight:800;line-height:1;text-align:center;box-shadow:0 1px 3px #071d1926}.conversation-new td:first-child{border-left:3px solid #54a6d1}.conversation-new-label{display:inline-block;flex:0 0 auto;width:8px;height:8px;margin-left:1px;border:2px solid #fff;border-radius:50%;background:#2f8fca;box-shadow:0 0 0 2px #d9edf8}.conversation-new .request-title{font-weight:750}@media(max-width:700px){.workspace-nav .nav-link:has(.nav-inbox-count:not(.hidden)){padding-right:29px}.nav-inbox-count{top:4px;right:5px;min-width:17px;height:17px;padding:0 4px;font-size:9px}}
@media(max-width:1200px){.portal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-hero{padding:24px}.portal-card{padding:20px 18px 0}.notification-panel{position:fixed;top:85px;right:16px}}
@media(max-width:500px){.portal-grid{gap:12px}.portal-card{min-height:230px;padding:16px 14px 0}.portal-card .service-icon{width:72px;height:72px;border-radius:20px}.portal-card .service-icon .icon{width:44px;height:44px}.portal-card .category-card-heading{flex-wrap:wrap;gap:10px}.portal-card h3{font-size:17px}.hub-hero-top{align-items:flex-start}.hub-requests{font-size:12px;padding:7px}.hub-eyebrow{font-size:11px}.hub-hero h1{font-size:30px}.hub-service-count{font-size:12px}.admin-stats{gap:10px}.admin-stats .stat{padding:10px}.admin-stats .stat-icon{display:none}.admin-stats .stat>div{gap:10px}.request-search-controls{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.portal-card{transition:none}.portal-card:hover,.portal-card:focus-visible{transform:none}}

/* Inbox keeps task rows near the top and uses the service portal palette. */
.inbox-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 28px;margin-bottom:20px;background:radial-gradient(ellipse at 90% 0%,#286f65,transparent 65%),#16363c;border-radius:18px;color:white}
.inbox-heading{display:flex;align-items:center;gap:18px}.inbox-heading h1{font-size:32px;letter-spacing:-.7px;color:white;margin:0}.inbox-mark{width:54px;height:54px;display:grid;place-items:center;background:#ffffff12;color:#b7edd7;border:1px solid #558579;border-radius:15px}.inbox-mark .icon{width:29px;height:29px}
.inbox-sync{display:flex;flex-direction:column;align-items:flex-end;gap:7px}.inbox-sync .button{min-height:42px;padding:9px 16px;font-size:15px;background:#fff;color:#204b41;border-color:#d8e8e2}.inbox-sync small{font-size:12px;color:#c2d8d2;line-height:1.4}.inbox-sync .inbox-sync-error{color:#ffdbb1}
.inbox-panel{border:1px solid #d9e5e0;border-radius:18px;box-shadow:0 6px 24px #143d3307;overflow:hidden}.inbox-panel .list-heading{padding:20px 24px 14px;display:flex;justify-content:space-between;gap:16px;align-items:center}.inbox-panel .list-heading h2{font-size:22px;margin:0}.inbox-tabs{display:flex;gap:6px;background:#f2f6f4;border-radius:10px;padding:4px}.inbox-tabs a{display:flex;align-items:center;gap:10px;padding:8px 13px;font-size:14px;color:#587267;border-radius:7px}.inbox-tabs a.selected{background:#fff;box-shadow:0 1px 5px #173e3312;color:#17674f;font-weight:650}.inbox-tabs span{font-size:12px;background:#dfeee6;color:#235d46;min-width:22px;text-align:center;border-radius:5px;padding:1px 5px}
.inbox-panel .request-search-form{padding:0 24px 18px;margin:0}.inbox-panel .request-search-controls{gap:10px}.inbox-panel .request-search-controls select{height:44px;max-width:160px;font-size:14px}.inbox-panel .search-box{min-height:44px;background:#f8faf9}.inbox-panel .search-box input{font-size:15px;padding:9px 0}.inbox-panel [data-clear-search]{font-size:14px;padding:9px 15px;min-height:44px}.inbox-panel .instant-search-status:empty{display:none}
.inbox-panel table{width:100%}.inbox-panel th{font-size:12px;letter-spacing:.7px;color:#48645b;background:#edf4f0;padding:14px 22px;white-space:nowrap}.inbox-panel td{padding:22px;border-bottom:1px solid #e7eeea;vertical-align:middle}.inbox-panel td.task-title-cell{width:34%;min-width:250px}.inbox-panel .request-title{font-size:17px;font-weight:650;line-height:1.5;color:#193e34}.inbox-panel td small{font-size:13px;color:#657e74;margin-top:7px}.inbox-panel .email-cell{font-size:14px;color:#425e53}.inbox-panel .date-cell{font-size:13px;color:#5d746a}.inbox-panel .cc-process-value{font-size:13px;color:#526d61}.inbox-panel .status-pill{font-size:13px;white-space:nowrap;padding:7px 12px}.inbox-panel tbody tr:hover{background:#f3f8f5}.inbox-panel .priority-new{background:#edf8f2}.inbox-panel .priority-new .request-title{font-weight:750}.inbox-panel .priority-new td:first-child{border-left:4px solid #258c66}.task-open{display:inline-flex;align-items:center;gap:8px;border:1px solid #cbded3;border-radius:8px;padding:8px 11px;font-size:13px;font-weight:600;color:#24634b;background:#fff;white-space:nowrap}.task-open .icon{width:16px;height:16px}.task-open:hover{background:#deeee5;border-color:#83b099}
@media(max-width:700px){.inbox-header{padding:18px;align-items:flex-start;gap:16px}.inbox-heading h1{font-size:25px}.inbox-mark{display:none}.inbox-sync small{font-size:11px;max-width:160px;text-align:right}.inbox-panel .list-heading{padding:18px 16px 14px;flex-wrap:wrap}.inbox-panel .request-search-form{padding:0 16px 16px}.inbox-panel .request-search-controls{flex-wrap:wrap}.inbox-panel .request-search-controls .search-box{width:100%;flex-basis:100%;order:-1}.inbox-panel td{padding:18px 16px}.inbox-panel th{padding:12px 16px}}

/* Centered sign-in with a restrained teal backdrop and integrated feedback. */
.centered-login{height:100dvh;display:grid;place-items:center;padding:24px;overflow:auto;position:relative;isolation:isolate;background:radial-gradient(ellipse at 15% 10%,#2b665e 0%,transparent 48%),radial-gradient(ellipse at 90% 90%,#234a54 0%,transparent 52%),#112f34}
.centered-login::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background-image:linear-gradient(#b5ded508 1px,transparent 1px),linear-gradient(90deg,#b5ded508 1px,transparent 1px);background-size:64px 64px;mask-image:linear-gradient(to bottom,#000,transparent)}
.centered-login::after{content:"";position:fixed;width:65vw;height:65vw;border:1px solid #9cd4c415;border-radius:50%;top:48%;left:-34%;box-shadow:0 0 0 70px #9cd4c406;pointer-events:none;z-index:-1}
.login-card{position:relative;width:100%;max-width:440px;padding:32px 36px;background:#fff;border:1px solid #ffffffb3;border-radius:24px;box-shadow:0 30px 80px #041b2440,0 2px 8px #041b2415;overflow:hidden}
.login-card::before{content:"";position:absolute;top:0;left:25%;right:25%;height:3px;border-radius:0 0 8px 8px;background:linear-gradient(90deg,#90d5bb,#237c69,#90d5bb)}
.login-brand{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:15px;color:#143c34;font-size:28px;font-weight:750;letter-spacing:-.7px;text-decoration:none;margin:0}
.login-brand img{display:block;width:64px;height:64px;border-radius:18px;box-shadow:0 7px 18px #1c675a20;outline:6px solid #f1f7f4}.login-brand .brand-light{font-weight:400}
.login-divider{height:1px;background:linear-gradient(90deg,transparent,#dce8e2,transparent);margin:25px 0 22px}
.login-card h1{margin:0 0 7px;font-size:27px;text-align:center;letter-spacing:-.7px;font-weight:700;color:#183c35}.login-caption{margin:0;color:#708179;font-size:14px;text-align:center}
.login-card .login-form{margin-top:24px}.login-card .login-form label{font-size:14px;font-weight:600;color:#324f45;margin:17px 0 9px}.login-card .login-input{position:relative}.login-card .login-input>.icon{position:absolute;left:15px;top:50%;transform:translateY(-50%);width:19px;height:19px;color:#7d958a;pointer-events:none}
.login-card .login-form input:not([type=hidden]){font-size:15px;padding:14px 14px 14px 44px;border-radius:11px;border:1px solid #dae5df;background:#f8faf9;transition:border-color .15s,box-shadow .15s,background .15s}.login-card .login-form input:focus{outline:none;border-color:#30856e;background:#fff;box-shadow:0 0 0 3px #30856e16}.login-card .login-form #password{padding-right:66px}.login-card #toggle-password{font-size:12px;font-weight:600;color:#477460;right:12px;padding:6px}
.login-card .login-form .full{margin-top:24px;min-height:49px;font-size:16px;border:1px solid #12634f;border-radius:11px;background:#18725e;box-shadow:0 5px 12px #237d6420;justify-content:center;transform:none;transition:background-color .15s,box-shadow .15s}.login-card .login-form .full:hover{transform:none;background:#145c4c;box-shadow:0 7px 16px #237d642b}.login-card .login-form .full:focus-visible{outline:3px solid #8dcbb6;outline-offset:3px}
.login-card .login-alert{position:static;transform:none;width:auto;margin:20px 0 0;padding:11px 13px;gap:9px;border-radius:10px;font-size:13px;line-height:1.5;box-shadow:none}.login-alert>.icon{width:18px;height:18px;flex-shrink:0}.login-card .demo-info{margin-top:18px;font-size:13px}.login-card .demo-info>p{display:none}
@media(max-width:500px){.centered-login{padding:18px}.login-card{padding:28px 24px;border-radius:20px}.login-brand{font-size:26px}.login-brand img{width:56px;height:56px}}
@media(max-height:760px){.centered-login{padding:14px}.login-card{padding:22px 30px}.login-brand img{width:48px;height:48px;border-radius:14px}.login-brand{font-size:25px}.login-divider{margin:18px 0}.login-card h1{font-size:25px}.login-card .login-form{margin-top:18px}.login-card .login-form label{margin-top:12px}.login-card .login-form input:not([type=hidden]){padding-block:11px}.login-card .login-form .full{margin-top:20px;min-height:44px}.login-card .demo-info{margin-top:12px;padding:8px 12px}.login-card .login-alert{margin-top:14px}}
@media(prefers-reduced-motion:reduce){.login-card input,.login-card .button{transition:none}}

.admin-account-form{max-width:760px}.admin-account-form .request-search-controls input{flex:1;min-width:0}.admin-account-list{margin-top:20px}
.master-search-form{display:flex;align-items:center;gap:8px}.pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;border-top:1px solid var(--line)}.pagination-pages{display:flex;align-items:center;gap:5px}.pagination-page{min-width:38px;height:38px;padding:7px;border:1px solid #dfe6e7;border-radius:7px;text-align:center;font-size:14px}.pagination-page:hover{background:#edf3f1}.pagination-page.active{background:var(--primary);border-color:var(--primary);color:#fff}.pagination-gap{padding:0 5px;color:var(--muted)}.pagination .disabled{pointer-events:none;opacity:.45}@media(max-width:700px){.master-search-form{width:100%}.master-search-form .search-box{flex:1}.pagination{padding:16px;flex-wrap:wrap;justify-content:center}.pagination-pages{order:-1;width:100%;justify-content:center}}

/* Compact Service Hub banner. */
.hub-hero{padding:20px 26px;border-radius:18px;margin-bottom:24px}
.hub-hero-top{margin-bottom:16px;align-items:center;gap:16px}
.hub-hero h1{font-size:28px;line-height:1.25;margin:0;letter-spacing:-.6px}
.hub-hero .hub-search{max-width:600px;padding:2px 15px;border-radius:10px}
.hub-hero .hub-search input{font-size:15px;padding:10px 0}
.hub-requests{padding:7px 11px;white-space:nowrap}
@media(max-width:700px){.hub-hero{padding:18px}.hub-hero h1{font-size:23px}.hub-hero-top{flex-wrap:wrap;gap:12px}.hub-hero .hub-search{max-width:none}}

.remove-admin{color:#a04736;border-color:#e6c9c2;font-size:13px}.remove-admin:hover{background:#fff3ef}

/* New is unread; Open awaits an admin decision; Done is complete. */
.status-pill[data-status="New"],.priority-new .status-pill[data-status="New"]{background:#fff0c2;color:#785000;font-weight:700}
.status-pill[data-status="Open"]{background:#e9eef3;color:#45576a}
.status-pill[data-status="Done"]{background:#d4f0df;color:#19633d;font-weight:700}
.inbox-panel .priority-new{background:#fffbef}
.inbox-panel .priority-new td:first-child{border-left-color:#d69a19}
.inbox-panel .priority-new:hover{background:#fff5d9}

/* AXIS HUB connection symbol and wordmark, based on the supplied logo. */
.workspace-header .brand{gap:12px;letter-spacing:-.5px;font-weight:750}
.brand-symbol{display:block;width:48px;height:54px;object-fit:contain;flex-shrink:0}
.workspace-header .brand-light{font-weight:350}
.login-brand{gap:18px;font-size:32px;letter-spacing:-.5px}
.login-brand img{width:66px;height:74px;object-fit:contain;border-radius:0;box-shadow:none;outline:none}
.login-brand .brand-light{font-weight:350}
@media(max-width:700px){.brand-symbol{width:40px;height:45px}}
@media(max-width:500px),(max-height:760px){.login-brand{font-size:28px;gap:14px}.login-brand img{width:52px;height:58px;border-radius:0}}

.login-or{display:flex;align-items:center;gap:14px;color:#71827b;font-size:13px;margin:18px 0}
.login-or:before,.login-or:after{content:"";flex:1;height:1px;background:#e1e9e4}
.google-signin{width:100%;min-height:48px;white-space:normal;text-align:center;background:#fff;color:#24453b;border:1px solid #cbd9d2;border-radius:11px;font-size:15px;transform:none}
.google-signin:hover{background:#f2f7f4;transform:none;border-color:#9ab5a6}
.google-signin:disabled{cursor:not-allowed;opacity:.65}
@media(max-height:760px){.login-or{margin:12px 0}.google-signin{min-height:42px;font-size:14px}}

/* Keep the Google option independent of generic full-width action spacing. */
.login-card .google-login-form{margin:0}
.login-card .google-signin{display:flex;align-items:center;justify-content:center;gap:10px;margin:0;padding:12px 16px;min-height:49px;line-height:1.4;font-weight:600}
.login-card .google-signin .icon{width:20px;height:20px;flex-shrink:0}
.login-card .google-signin span{flex:0 1 auto}
@media(max-width:380px){.login-card .google-signin{font-size:13px;padding-inline:10px;gap:8px}}

.login-card #google-continue{margin:20px 0 14px}

/* Both wordmark lines share the same width and scale together. */
.login-brand-expanded{gap:10px;width:226px;max-width:100%;margin-inline:auto;justify-content:center;align-items:center}
.login-brand-expanded img{width:48px;height:56px;flex-shrink:0}
.login-brand-copy{display:block;width:180px;max-width:calc(100% - 58px);height:auto;flex:0 1 210px;overflow:visible;font-family:Arial,sans-serif;letter-spacing:0}
.login-brand-name{font-size:64px;font-weight:750;fill:currentColor}
.login-brand-expansion{font-size:13.5px;font-style:italic;font-weight:700;fill:#258572}
@media(max-width:440px){.login-brand-expanded{gap:8px}.login-brand-expanded img{width:42px;height:49px}.login-brand-copy{max-width:calc(100% - 50px)}}

/* Full AXIS HUB wordmark used on the header and sign-in experience. */
.workspace-header{min-height:84px;gap:18px;flex-wrap:nowrap;padding-left:28px}.workspace-brand{gap:10px!important;min-width:0}.workspace-header .brand-symbol{width:38px;height:43px}.brand-wordmark{color:#fff;font-family:Arial,Helvetica,sans-serif;font-size:25px;font-weight:300;letter-spacing:-.7px;white-space:nowrap}.brand-wordmark b{font-weight:750}.brand-divider{width:1px;height:36px;background:#6d8a85;margin:0 5px}.brand-expansion{font-family:Arial,Helvetica,sans-serif;font-size:15px;font-weight:750;letter-spacing:.9px;white-space:nowrap;background:linear-gradient(180deg,#8de4cf 0%,#8de4cf 46%,#8de4cf 100%);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent}.workspace-nav{margin-left:auto!important}.workspace-account{margin-left:0}.login-brand-expanded{display:block;width:min(355px,100%);height:auto}.login-brand-expanded img{display:block;width:100%;height:auto;max-height:114px;object-fit:contain}.login-brand .login-full-logo{width:300px;height:96px;max-width:100%;object-fit:contain}@media(max-width:1150px){.brand-expansion,.brand-divider{display:none}.workspace-header{gap:12px}}@media(max-width:700px){.workspace-header{min-height:0;flex-wrap:wrap;padding-left:20px}.workspace-brand{flex:1}.workspace-header .brand-symbol{width:34px;height:39px}.brand-wordmark{font-size:22px}.workspace-nav{order:3;margin-left:0!important}}@media(max-width:440px){.brand-wordmark{font-size:20px}.login-brand-expanded{width:min(295px,100%)}}
.profile-menu{position:relative}.profile-trigger{display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer}.profile-trigger::-webkit-details-marker{display:none}.profile-trigger .avatar{transition:transform .18s ease,box-shadow .18s ease}.profile-menu[open] .profile-trigger .avatar{transform:scale(1.06);box-shadow:0 0 0 3px #8de4cf}.profile-panel{position:absolute;right:0;top:calc(100% + 12px);width:270px;padding:16px;background:#fff;border:1px solid #dfe8e3;border-radius:14px;box-shadow:0 16px 42px #133e3529;z-index:100}.profile-details{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid #e8efeb}.profile-details>.avatar{width:42px;height:42px;flex:0 0 42px;font-size:14px}.profile-details strong,.profile-details small,.profile-details em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-details strong{color:#173e36;font-size:14px}.profile-details small{margin-top:3px;color:#718780;font-size:12px}.profile-details em{margin-top:5px;color:#24765e;font-size:12px;font-style:normal;font-weight:650}.profile-panel .demo-badge{display:inline-flex;margin-top:12px}.profile-panel form{margin-top:12px}.profile-logout{display:flex;align-items:center;gap:9px;width:100%;padding:10px 12px;border:1px solid #dce8e3;border-radius:9px;background:#f7faf8;color:#245f51;font:inherit;font-size:14px;font-weight:650;cursor:pointer}.profile-logout:hover{background:#e8f4ee}.profile-logout .icon{width:18px;height:18px}@media(max-width:700px){.profile-panel{right:0;width:min(270px,calc(100vw - 32px))}}

/* Business Trip wizard */
.trip-choice-grid{max-width:780px;grid-template-columns:repeat(2,minmax(0,1fr))}
.trip-panel{max-width:880px;margin-inline:auto}
.trip-progress{display:flex;gap:16px;list-style:none;padding:0 0 20px;margin:0 0 24px;border-bottom:1px solid #e1e9e7;color:#768985;font-size:14px}
.trip-progress [aria-current=step]{color:#157567;font-weight:700}
.trip-panel [data-trip-step]>h2:focus{outline:none}
.trip-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px}
.trip-field-wide{grid-column:1 / -1}
.trip-field{min-width:0}.trip-field label{margin-top:18px}.trip-field small{display:block;color:#72857f;margin-top:7px;font-size:13px}
.trip-field input,.trip-field select{width:100%;min-width:0}
.trip-field input[type=file]{padding:14px 10px;background:#f6faf8;font-size:14px}
.trip-attachment-fields{align-items:start;margin-top:4px}
.trip-needs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
#trip-vip{margin-top:28px}.trip-need-card{display:flex;flex-direction:column;gap:10px;text-align:left;cursor:pointer;color:inherit;font:inherit;padding:22px;border:1px solid #dce7e3;background:#fff;border-radius:16px}
.trip-need-card .service-icon{width:54px;height:54px}.trip-need-card .service-icon .icon{width:30px;height:30px}.trip-need-card>span:not(.service-icon),.trip-need-card small{font-size:14px;color:#60796f}
.trip-need-card:hover,.trip-need-card.is-selected{border-color:#188575;background:#edf8f3}
.trip-dialog{width:min(640px,calc(100% - 32px));max-height:85dvh;overflow:auto;border:1px solid #dce7e3;border-radius:20px;padding:28px;color:#183832;box-shadow:0 24px 80px #102f3433}
.trip-dialog::backdrop{background:#102f3466}.trip-dialog .form-actions{flex-wrap:wrap}
.trip-file-summary{list-style:none;padding:0}.trip-file-summary li{padding:14px;background:#f0f7f4;border-radius:8px;margin-bottom:8px;overflow-wrap:anywhere;font-size:14px}
#trip-attached{margin-top:24px;padding-top:20px;border-top:1px solid #e0e9e5}.trip-attachment-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.trip-attachment-heading h3{margin:0;font-size:16px}.trip-attachment-heading>span{font-size:12px;color:#698078;background:#edf5f1;border-radius:20px;padding:4px 10px}
#trip-file-summary{margin:0 0 12px;display:grid;gap:10px}#trip-file-summary li{display:flex;align-items:center;gap:14px;margin:0;padding:14px;background:#fff;border:1px solid #dce8e2;border-radius:12px}.trip-attachment-type{display:flex;align-items:center;justify-content:center;flex:0 0 44px;height:44px;border-radius:10px;background:#eaf5ef;color:#247263;font-size:11px;font-weight:700}.trip-attachment-details{flex:1;min-width:0}.trip-attachment-details strong{display:block;font-size:13px;line-height:1.5;font-weight:600}.trip-attachment-details>span{display:block;font-size:12px;color:#6c817a;margin-top:3px}#trip-file-summary .button{flex-shrink:0;font-size:12px;padding:8px 12px}#trip-attached>.field-hint{margin:0;font-size:12px}
.attachment-preview-dialog{width:min(960px,calc(100% - 32px));max-height:90dvh;padding:0;border:1px solid #dce7e3;border-radius:16px;color:#183832;box-shadow:0 24px 80px #102f3433}.attachment-preview-dialog::backdrop{background:#102f3477}.attachment-preview-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid #dce7e3}.attachment-preview-dialog h2{font-size:18px;margin:0 0 6px}.attachment-preview-dialog header p{font-size:13px;overflow-wrap:anywhere;margin:0;color:#60796f}.attachment-preview-dialog header>div{min-width:0}.attachment-preview-dialog footer{display:flex;justify-content:flex-end;padding:14px 20px;border-top:1px solid #dce7e3}#attachment-preview-content{max-height:65dvh;overflow:auto;background:#f5f8f6}#attachment-preview-content iframe{display:block;width:100%;height:60dvh;border:0}#attachment-preview-content img{display:block;max-width:100%;max-height:60dvh;object-fit:contain;margin:auto}#attachment-preview-content pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:20px;font-size:13px}.attachment-preview-note{padding:32px;font-size:14px;margin:0}
.attachment-preview-table{width:100%;border-collapse:collapse;background:white;font-size:13px}.attachment-preview-table td{padding:10px 12px;border:1px solid #dce7e3;vertical-align:top;overflow-wrap:anywhere}.attachment-preview-table tr:first-child td{font-weight:650;background:#eaf5ef}.attachment-preview-limit{margin:0;padding:12px 20px;font-size:12px;color:#60796f}
@media(max-width:600px){#trip-file-summary li{gap:10px;flex-wrap:wrap}#trip-file-summary .button{margin-left:54px}.attachment-preview-dialog>header{padding:16px}.attachment-preview-dialog .button{padding:8px 12px;font-size:12px}}
@media(max-width:600px){.trip-fields,.trip-needs-grid,.trip-choice-grid{grid-template-columns:1fr}.trip-progress{gap:10px;font-size:12px}.trip-dialog{padding:20px}}

.status-pill[data-status="On Review"]{background:#e6effb;color:#315d8d;font-weight:700}
.status-pill[data-status="Sent to Finance"]{background:#e5f1fb;color:#285f8c;font-weight:700}.status-pill[data-status="On Hold"]{background:#fff0d5;color:#88601c;font-weight:700}

/* Give each workflow state a distinct, consistent visual identity. */
.status-pill[data-status="Draft"]{background:#eef1f3;color:#52616a}
.status-pill[data-status="New"]{background:#fff0c2;color:#785000}
.status-pill[data-status="Open"]{background:#e9eef3;color:#45576a}
.status-pill[data-status="Pending"]{background:#fff2d6;color:#906e28}
.status-pill[data-status="On Review"]{background:#e6effb;color:#315d8d}
.status-pill[data-status="In Progress"]{background:#ece8fb;color:#654ca3}
.status-pill[data-status="Sent to Finance"]{background:#dff3ef;color:#176c61}
.status-pill[data-status="On Hold"]{background:#fff0d5;color:#88601c}
.status-pill[data-status="Revised"]{background:#f0e7f8;color:#7b4196}
.status-pill[data-status="Rejected"]{background:#fbe8e3;color:#a34f37}
.status-pill[data-status="Done"]{background:#d4f0df;color:#19633d}
.status-pill[data-status="Cancelled"]{background:#eef0f1;color:#58646a}
.status-pill[data-status="Registered to Procurement"],.status-pill[data-status="Registered to Procurement"]{background:#e5f4ed;color:#206a4d}
.status-pill[data-status="Submitted to Legal"]{background:#eaf0fb;color:#345d91}
.status-pill[data-status="Submitted to GA"]{background:#e9f3f6;color:#276d79}
.status-pill[data-status="Submitted to Finance"]{background:#e5f2ef;color:#206b62}
.status-pill[data-status="Submitted to Procurement"]{background:#f2ecfa;color:#69548c}
.status-pill[data-status="Submitted to Tax"]{background:#f9eee7;color:#8c6046}
.request-actions-card{padding:22px}
.request-actions-card>h3{margin:0 0 17px;font-size:19px;line-height:1.3}
.request-actions-card .button.full{min-height:44px;margin-top:0;padding-inline:15px;font-size:14px}
.request-actions-card .action-next-stage{margin:8px 0 0;color:#71847e;font-size:12px;line-height:1.4}
.request-actions-card .action-next-stage strong{color:#264d40}
.request-actions-card .cancel-request-box{margin-top:17px;padding-top:13px;border-top:1px solid #e6ece9}
.request-actions-card .cancel-request-box>summary{width:max-content;max-width:100%;margin-left:auto;padding:2px 0;border:0;background:transparent;color:#a45f46;font-size:12px;font-weight:700;line-height:1.4;text-align:right}
.request-actions-card .cancel-request-box>summary:hover{text-decoration:underline}
.request-actions-card .cancel-request-box>summary:focus-visible{outline:2px solid #a45f46;outline-offset:3px}
.request-actions-card .cancel-request-box form{margin-top:10px}
.request-actions-card .cancel-request-box .button.full{margin-top:12px}
@media(max-width:600px){.message-delivery{flex-wrap:wrap}.message-delivery form{margin-left:5px}}

/* Conversation reply composer */
.reply-composer{margin-top:24px;padding:0;border:1px solid #dce7e3;border-radius:15px;background:#fff}.reply-composer-heading{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;border-bottom:1px solid #e2ebe7;border-radius:15px 15px 0 0;background:#f5faf7}.reply-composer-title{display:flex;align-items:center;gap:12px;min-width:0}.reply-composer-heading .service-icon{width:38px;height:38px;border-radius:10px}.reply-composer-heading h3{margin:0 0 2px;font-size:17px}.reply-composer-heading p{margin:0;color:#71847f;font-size:12px;line-height:1.45}.reply-status-menu{position:relative;flex:0 0 auto;align-self:center}.reply-status-menu>summary{display:flex;align-items:center;justify-content:space-between;gap:11px;box-sizing:border-box;min-width:132px;height:40px;padding:0 12px;border:1px solid #c6ddd5;border-radius:10px;background:#fff;color:#176b5d;font-size:13px;font-weight:700;line-height:1;list-style:none;white-space:nowrap;cursor:pointer;box-shadow:0 1px 2px #173b3508;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.reply-status-menu>summary::-webkit-details-marker{display:none}.reply-status-menu>summary:after{width:6px;height:6px;margin-left:2px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;content:'';transform:rotate(45deg) translateY(-2px);transform-origin:center;transition:transform .15s ease}.reply-status-menu>summary:hover{border-color:#8ec4b7;background:#f7fbf9}.reply-status-menu>summary:focus-visible{border-color:#69ad9d;outline:3px solid #52bbaa24;outline-offset:1px}.reply-status-menu[open]>summary{border-color:#6db2a1;background:#edf7f3;box-shadow:0 0 0 3px #52bbaa18}.reply-status-menu[open]>summary:after{transform:rotate(225deg) translate(-1px,-1px)}.reply-status-popover{position:absolute;z-index:25;right:0;top:calc(100% + 8px);width:340px;padding:16px;border:1px solid #d5e4de;border-radius:12px;background:#fff;box-shadow:0 16px 45px #143a3329}.reply-status-popover label{margin:0 0 6px;font-size:12px}.reply-status-popover label:not(:first-child){margin-top:13px}.reply-status-popover select,.reply-status-popover textarea{font-size:13px}.reply-status-popover textarea{min-height:86px;resize:vertical}.reply-status-popover .field-hint{margin-top:8px;line-height:1.5}.reply-message-field{padding:18px 19px 12px}.reply-editor-source{display:none!important}.reply-editor-shell{overflow:hidden;border:1px solid #cadbd5;border-radius:10px;background:#fff;box-shadow:0 2px 7px #173b3508}.reply-editor-input{min-height:210px;padding:14px 15px;color:#172b35;font-size:14px;line-height:1.65;outline:0}.reply-editor-input:focus{box-shadow:inset 0 0 0 2px #52bbaa}.reply-editor-input:empty:before{color:#9aa8a3;content:attr(data-placeholder);pointer-events:none}.reply-editor-toolbar{display:flex;align-items:center;gap:3px;min-height:42px;padding:5px 8px;border-top:1px solid #dfe9e5;background:#f8fbfa}.reply-editor-tool{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#47615a;font:inherit;font-size:14px;line-height:1}.reply-editor-tool:hover,.reply-editor-tool:focus-visible{border-color:#bdd7cd;background:#e9f4ef;color:#126a5b;outline:0}.reply-editor-tool svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.reply-editor-spacer{flex:1}.reply-attachment-tool{color:#16776b}.reply-file-selection{margin:0 19px 12px}.reply-file-selection:empty{display:none}.reply-file-selection li{margin-top:8px}.reply-composer>.form-actions{margin:0;padding:14px 19px;border-top:1px solid #e6ecea;border-radius:0 0 15px 15px;background:#fbfdfc}.reply-revision-note{margin:0 19px 14px;padding:10px 12px;border-radius:8px;background:#fff7e6;color:#785d25}@media(max-width:720px){.reply-composer-heading{align-items:flex-start}.reply-composer-title .service-icon{display:none}.reply-status-popover{position:fixed;top:auto;right:16px;bottom:16px;left:16px;width:auto}.reply-message-field{padding:14px}.reply-file-selection{margin-inline:14px}}

/* Request list tools, sorting and status timestamps */
.request-list-tools{display:flex;align-items:center;gap:10px;margin:0 24px 18px}.request-list-tools .request-search-form{display:flex;flex:1;gap:10px;margin:0;padding:0}.request-list-tools .request-search-form .search-box{flex:1;min-width:0}.request-filter-menu{position:relative;flex:0 0 auto}.request-filter-menu>summary{list-style:none;position:relative}.request-filter-menu>summary::-webkit-details-marker{display:none}.request-filter-menu[open]>summary{border-color:#79b9aa;background:#eef8f4;color:#146b5b}.filter-count{display:grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#16776b;color:#fff;font-size:11px;font-weight:750}.request-filter-panel{position:absolute;z-index:30;right:0;top:calc(100% + 9px);width:360px;padding:20px;border:1px solid #d7e5df;border-radius:15px;background:#fff;box-shadow:0 18px 48px #173c3528}.request-filter-panel header{margin:0 0 17px;padding-bottom:14px;border-bottom:1px solid #e7eeeb}.request-filter-panel h3{margin:0 0 3px;color:#183c35;font-size:16px}.request-filter-panel header p{margin:0;color:#778983;font-size:12px;line-height:1.5}.request-filter-panel label{margin:13px 0 6px;color:#35554d;font-size:12px}.request-filter-panel label:first-of-type{margin-top:0}.request-filter-panel select,.request-filter-panel input{min-height:44px;background:#fff}.request-filter-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:19px;padding-top:15px;border-top:1px solid #e7eeeb}.filter-reset{padding:7px 3px;border:0;background:transparent;color:#357568;font-size:13px;font-weight:650}.filter-reset:hover{text-decoration:underline}.table-sort{display:inline-flex;align-items:center;gap:7px;padding:3px 5px;margin:-3px -5px;border-radius:6px;color:inherit;white-space:nowrap;transition:background .15s,color .15s}.table-sort:hover{background:#edf5f2;color:#176f61}.table-sort-icon{display:grid;place-items:center;width:19px;height:19px;border:1px solid #d2e1dc;border-radius:5px;background:#fff;color:#6c847c;font-size:12px;line-height:1}.table-sort.active{color:#176f61}.table-sort.active .table-sort-icon{border-color:#9bcabc;background:#e7f4ef;color:#126858}.status-sort-heading{display:flex;align-items:flex-start;flex-direction:column;gap:4px}.status-sort-heading .table-sort:last-child{font-size:10px;font-weight:550;letter-spacing:0;text-transform:none}.request-table .category-cell{font-size:13px;color:#4f6861;white-space:nowrap}.request-status-cell{min-width:170px}.request-status-cell small{display:block;margin-top:6px;color:#82918d;font-size:11px;line-height:1.35;white-space:nowrap}@media(max-width:760px){.request-list-tools{align-items:stretch;flex-direction:column;margin-inline:16px}.request-list-tools .request-search-form{width:100%}.request-filter-menu{align-self:flex-end}.request-filter-panel{position:fixed;top:auto;right:16px;bottom:16px;left:16px;width:auto}.request-table .category-cell{white-space:normal}}

/* Automatically reused SPPD */
.auto-attached-file{display:grid;grid-template-columns:40px minmax(0,1fr) auto auto;align-items:center;gap:10px;width:100%;min-height:72px;padding:11px 13px}.auto-attached-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.auto-attached-preview{min-height:38px;padding:7px 12px}.auto-attached-status{white-space:nowrap}@media(max-width:600px){.auto-attached-file{grid-template-columns:40px minmax(0,1fr) auto}.auto-attached-preview{grid-column:2}.auto-attached-status{grid-column:3;grid-row:1}.auto-attached-copy strong{white-space:normal}}

.request-title-line{display:flex;align-items:center;gap:8px}.request-title-line .request-title{min-width:0;overflow-wrap:anywhere}.request-cc-label{display:inline-flex;flex-shrink:0;align-items:center;padding:2px 7px;border-radius:5px;background:#e8e5f8;color:#655094;font-size:11px;font-weight:750;line-height:1.5;letter-spacing:.4px}

/* Clear, compact request tables shared by My Inbox and My Requests. */
.inbox-panel .table-scroll{max-width:100%;overflow-x:hidden;border-top:1px solid #dfe9e5;background:#fff}
.request-table{width:100%;min-width:0;table-layout:fixed}
.request-table .request-subject-column{width:32%}
.request-table .request-contact-column{width:18%}
.request-table .request-category-column{width:14%}
.request-table .request-date-column{width:13%}
.request-table .request-status-column{width:18%}
.request-table .request-action-column{width:5%}
.inbox-panel .request-table th{height:48px;padding:10px 16px;border-block:0 1px;background:#f3f7f5;color:#536b63;font-size:11px;font-weight:700;letter-spacing:.45px;text-transform:none}
.inbox-panel .request-table td{height:82px;padding:15px 16px;border-bottom:1px solid #e8efec;vertical-align:middle}
.inbox-panel .request-table tbody tr{transition:background-color .15s ease,box-shadow .15s ease}
.inbox-panel .request-table tbody tr:hover{background:#f7fbf9;box-shadow:inset 3px 0 #77b8a7}
.inbox-panel .request-table tbody tr:last-child td{border-bottom:0}
.inbox-panel .request-table td.task-title-cell{width:auto;min-width:0}
.inbox-panel .request-title-line{align-items:flex-start}
.inbox-panel .request-title{display:-webkit-box;max-width:none;overflow:hidden;color:#173b35;font-size:14px;font-weight:700;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.inbox-panel .request-title:hover{color:#137262;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.request-reference{display:inline-flex;align-items:center;margin-top:7px;padding:2px 6px;border-radius:5px;background:#f0f4f2;color:#698078;font-size:10px;font-weight:700;line-height:1.5;letter-spacing:.35px}
.inbox-panel .request-on-behalf{margin-top:5px;font-size:11px}
.inbox-panel .email-cell{color:#38544b;font-size:12px;line-height:1.45}
.inbox-panel .email-cell>span{display:block;overflow-wrap:anywhere;word-break:break-word}
.request-category{display:inline-flex;max-width:100%;padding:5px 8px;border:1px solid #dde8e4;border-radius:7px;background:#f8fbfa;color:#47635a;font-size:11px;font-weight:650;line-height:1.35;white-space:normal}
.request-table .date-cell{min-width:0}.request-date{display:flex;flex-direction:column;gap:2px;color:#405b52;font-size:12px;font-weight:600;line-height:1.35;white-space:normal}
.request-date small,.inbox-panel .request-date small{margin:0;color:#84958f;font-size:10px;font-weight:500}
.request-status-cell{min-width:0}
.inbox-panel .request-status-cell .status-pill{display:inline-flex;max-width:100%;padding:6px 9px;font-size:11px;font-weight:700;line-height:1.3;white-space:normal}
.inbox-panel .request-status-cell .request-updated-text{display:block;margin-top:7px;color:#71877f;font-size:10px;font-weight:500;line-height:1.35;white-space:normal}
.request-action-cell{text-align:center}
.inbox-panel .task-open{display:inline-flex;align-items:center;justify-content:center;width:36px;min-width:36px;min-height:34px;padding:7px;border-color:#cbded7;border-radius:8px;color:#1d6f5d;background:#fff;font-size:11px;font-weight:700}.inbox-panel .task-open span{display:none}
.inbox-panel .task-open .icon{width:14px;height:14px;transition:transform .15s ease}
.inbox-panel .task-open:hover{border-color:#78b5a6;background:#eaf5f1}
.inbox-panel .task-open:hover .icon{transform:translateX(2px)}
.table-sort{gap:6px;max-width:100%;padding:5px 4px;margin:-5px -4px;border-radius:6px;white-space:normal}
.table-sort:hover{background:#e7f1ed;color:#176f61}
.table-sort-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:10px;height:16px;border:0;border-radius:0;background:transparent;color:#7f948c;line-height:1}
.sort-arrow{display:block;width:0;height:0;border-inline:3.5px solid transparent}
.sort-arrow-up{border-bottom:4px solid currentColor}
.sort-arrow-down{border-top:4px solid currentColor}
.table-sort-icon.ascending .sort-arrow-down,.table-sort-icon.descending .sort-arrow-up{opacity:.22}
.table-sort.active{color:#126858}
.table-sort.active .table-sort-icon{border:0;background:transparent;color:#126858}
.inbox-panel .priority-new{background:#f1f9f5}
.inbox-panel .priority-new td:first-child{border-left:3px solid #258c66;padding-left:13px}
@media(max-width:1000px){.request-table .request-subject-column{width:29%}.request-table .request-contact-column{width:18%}.request-table .request-category-column{width:14%}.request-table .request-date-column{width:13%}.request-table .request-status-column{width:20%}.inbox-panel .request-table th,.inbox-panel .request-table td{padding-inline:11px}}
@media(max-width:700px){.inbox-panel .table-scroll{margin:0}.inbox-panel .request-table th{padding:9px 7px;font-size:10px}.inbox-panel .request-table td{height:76px;padding:11px 7px}.request-table .request-subject-column{width:28%}.request-table .request-contact-column{width:19%}.request-table .request-category-column{width:14%}.request-table .request-date-column{width:13%}.request-table .request-status-column{width:20%}.inbox-panel .request-title{font-size:12px}.request-category,.request-date,.inbox-panel .email-cell{font-size:10px}.inbox-panel .request-status-cell .status-pill{padding:5px 6px;font-size:10px}.inbox-panel .task-open{width:30px;min-width:30px;min-height:30px;padding:6px}.table-sort{gap:3px}.table-sort-icon{flex:0 0 8px}}

.email-chips{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-height:49px;padding:9px 12px;border:1px solid #d6e1dc;border-radius:9px;background:#fff}.email-chips:focus-within{outline:2px solid #52bbaa;outline-offset:2px}.email-chips-list{display:contents}.email-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:4px 8px;background:#eaf4ef;color:#235c4f;border:1px solid #cee5da;border-radius:6px;font-size:14px;line-height:1.5}.email-chip>span{overflow-wrap:anywhere;min-width:0}.email-chip button{border:0;background:none;color:inherit;padding:0 3px;font-size:19px;line-height:1;flex-shrink:0}.email-chip-invalid{background:#fff0ec;border-color:#e8ac99;color:#994d36}.email-chips input:not([type=hidden]){flex:1 1 180px;width:auto;min-width:100px;max-width:100%;border:0;padding:4px;background:transparent;box-shadow:none;outline:none;margin:0;font-size:15px}.email-suggestions{position:absolute;z-index:30;top:calc(100% + 6px);right:0;left:0;overflow:hidden;padding:6px;border:1px solid #d6e3de;border-radius:9px;background:#fff;box-shadow:0 10px 24px #173b3524}.email-suggestions-heading{display:block;padding:6px 10px;color:#7b8984;font-size:11px;font-weight:700;letter-spacing:.5px;text-transform:uppercase}.email-suggestion{display:block;width:100%;padding:9px 10px;border:0;border-radius:6px;background:transparent;color:#344f48;font-size:14px;text-align:left}.email-suggestion:hover,.email-suggestion.active{background:#eaf4ef;color:#175f51}

.realization-fields{border:0;margin:0;padding:0;min-width:0}.realization-fields .file-selection li{overflow-wrap:anywhere}.realization-fields .file-selection li span{min-width:0}

.realization-fields .trip-fields{gap:18px;align-items:stretch}.realization-upload-card{border:1px solid #dbe8e3;border-radius:14px;padding:18px;background:#fff;transition:border-color .16s ease,box-shadow .16s ease}.realization-upload-card:focus-within{border-color:#75bbaa;box-shadow:0 0 0 3px #52bbaa18}.realization-upload-heading{min-height:58px}.realization-upload-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.realization-upload-card .realization-upload-heading label{margin:0 0 5px;display:block}.realization-upload-heading .field-hint{margin:0;font-size:13px}.realization-file-control{display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 12px;border:1px solid #d7e5df;border-radius:10px;background:#f3f8f6}.realization-upload-card .realization-file-control input[type=file]{flex:0 0 148px;width:148px;min-width:0;padding:0;border:0;border-radius:0;background:transparent;color:transparent}.realization-upload-card input::file-selector-button{border:1px solid #bcd7cc;border-radius:8px;background:#fff;color:#205e4b;padding:10px 13px;margin:0;cursor:pointer;font-weight:650}.realization-upload-card .file-selection{display:flex;flex:1 1 260px;flex-wrap:wrap;gap:7px;min-width:0;margin:0}.realization-file-control .file-selection:empty{display:none}.realization-file-control .file-selection li{flex:1 1 240px;min-width:0;margin:0;padding:8px 10px;border:1px solid #dce7e2;background:#fff}.realization-file-control .file-selection-actions{display:inline-flex;align-items:center;gap:5px;flex-shrink:0}.realization-file-control .file-preview-button{padding:5px 9px;border:1px solid #c9ded5;border-radius:7px;background:#f7fbf9;color:#156d5c;font-size:12px;font-weight:700}.realization-file-control .file-preview-button:hover{background:#e8f5ef}.realization-file-control.has-files input[type=file]{flex-basis:126px;width:126px}@media(max-width:620px){.realization-file-control{align-items:stretch;flex-direction:column}.realization-upload-card .realization-file-control input[type=file],.realization-file-control.has-files input[type=file]{width:100%;flex-basis:auto}.realization-upload-card .file-selection{width:100%;flex-basis:auto}}.settlement-info{position:relative;display:inline-flex;flex:0 0 auto}.settlement-info-trigger{display:grid;place-items:center;width:25px;height:25px;padding:0;border:1px solid #bcd9cf;border-radius:50%;background:#eaf6f1;color:#177665}.settlement-info-trigger .icon{width:15px;height:15px}.settlement-info-trigger:hover{background:#dcefe7}.settlement-info-tooltip{position:absolute;z-index:20;right:0;bottom:calc(100% + 9px);width:280px;padding:11px 13px;border-radius:9px;background:#173b35;color:#fff;box-shadow:0 10px 28px #102f3438;font-size:12px;font-weight:400;line-height:1.55;opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity .15s ease,transform .15s ease,visibility .15s}.settlement-info-tooltip:after{position:absolute;right:8px;top:100%;border:6px solid transparent;border-top-color:#173b35;content:""}.settlement-info:hover .settlement-info-tooltip,.settlement-info:focus-within .settlement-info-tooltip{opacity:1;visibility:visible;transform:translateY(0)}

.settlement-source-section{max-width:980px;margin:0 auto}.settlement-source-heading{align-items:flex-start;margin-bottom:14px;padding-bottom:18px;border-bottom:1px solid #e5ece9}.settlement-source-heading .section-kicker{margin-bottom:5px;color:#23806f}.settlement-source-heading h2{margin:0 0 5px}.settlement-source-heading p{margin:0;color:#748882;font-size:13px;line-height:1.55}.settlement-type-pill{display:inline-flex;align-items:center;margin:0 0 20px;padding:5px 10px;border-radius:999px;background:#e7f5ef;color:#166b5a;font-size:12px;font-weight:750}.settlement-type-pill:before{width:6px;height:6px;margin-right:7px;border-radius:50%;background:#28a083;content:""}.settlement-source-card{margin-top:22px;padding:20px;border:1px solid #dce8e3;border-radius:14px;background:#f9fcfa}.settlement-source-card[hidden]{display:none}.settlement-source-card label{margin-top:0!important}.settlement-source-card select,.settlement-source-card input{background:#fff}.settlement-source-card select{min-height:52px;border-color:#cfded8;font-weight:600}.settlement-empty-note{margin:0 0 16px;padding:11px 13px;border-radius:9px;background:#fff7e8;color:#84652a;font-size:13px}.settlement-source-section>.form-actions{margin-top:22px}@media(max-width:650px){.settlement-source-heading{gap:14px}.settlement-source-heading .button{width:100%}.settlement-source-card{padding:16px}}
.settlement-or-divider{display:flex;align-items:center;gap:12px;margin:18px 0;color:#8a9994;font-size:12px;text-transform:uppercase;letter-spacing:.8px}.settlement-or-divider:before,.settlement-or-divider:after{height:1px;flex:1;background:#dfe9e5;content:""}.settlement-or-divider span{flex:0 0 auto}

/* Agreement Letter uses the shared service-card visual language in a two-option layout. */
.agreement-letter-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px}
@media(max-width:700px){.agreement-letter-grid{grid-template-columns:1fr}}
.service-portal{max-width:1480px;margin:0 auto}.portal-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:3px 0 22px;color:#8797a4;font-size:14px}.portal-breadcrumb a{color:#71869a}.portal-breadcrumb a:hover{color:#16776b}.portal-breadcrumb span:last-child{color:#506b82;font-weight:600}.portal-back{display:inline-flex;align-items:center;margin-bottom:20px;color:#16776b;font-size:14px;font-weight:650}.portal-back:hover{color:#0d5e53}.portal-hero{position:relative;display:flex;align-items:center;gap:36px;min-height:210px;padding:34px 44px;overflow:hidden;border-radius:18px;background:radial-gradient(ellipse at 84% 18%,#168b81 0%,transparent 42%),linear-gradient(115deg,#103640,#075e64);color:#fff}.portal-hero::after{position:absolute;right:-130px;top:-85px;width:560px;height:370px;border:1px solid #85ecda99;border-radius:48% 52% 46% 54%;box-shadow:0 22px 0 -21px #85ecda80,0 44px 0 -43px #85ecda70,0 66px 0 -65px #85ecda60,0 88px 0 -87px #85ecda45;content:"";transform:rotate(-16deg);pointer-events:none}.portal-hero>div,.portal-hero>.portal-icon{position:relative;z-index:1}.portal-category-hero>.portal-icon{width:108px;height:108px;border-radius:17px;background:#e5f6ef;color:#097568}.portal-category-hero>.portal-icon .icon{width:55px;height:55px}.portal-eyebrow{display:block;margin-bottom:10px;color:#79ebd1;font-size:12px;font-weight:750;letter-spacing:2.5px;text-transform:uppercase}.portal-hero h1{margin:0 0 7px;color:#fff;font-size:44px;line-height:1.12;letter-spacing:-1.25px}.portal-hero p{margin:0;color:#d7edeb;font-size:19px;line-height:1.45}.portal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:28px 0 18px}.portal-toolbar h2{margin:0;color:#123447;font-size:28px;letter-spacing:-.7px}.portal-subcategory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.portal-service-card{--portal-card-color:#087b6c;display:flex;flex-direction:column;min-height:292px;padding:23px 28px 0;border:1px solid #d7e3e7;border-radius:15px;background:#fff;box-shadow:0 6px 20px #123d4108;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.portal-service-card:hover,.portal-service-card:focus-visible{border-color:#78bcae;box-shadow:0 14px 28px #123d4114;transform:translateY(-3px)}.portal-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px}.portal-card-top .portal-icon{display:grid;place-items:center;width:90px;height:90px;border-radius:19px;background:#e5f5ef;color:var(--portal-card-color)}.portal-card-top .portal-icon .icon{width:46px;height:46px}.portal-service-card h3{margin:0 0 8px;color:#0d2a47;font-size:22px;line-height:1.35;letter-spacing:-.45px}.portal-service-card p{margin:0;color:#66809b;font-size:16px;line-height:1.65}.portal-card-action{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding:17px 0;color:var(--portal-card-color);border-top:1px solid #e3eaec;font-size:15px;font-weight:700}.portal-card-action .icon{width:19px;height:19px}.portal-tip{display:flex;align-items:center;gap:14px;margin-top:24px;padding:15px 20px;border-radius:12px;background:#e7f6f1;color:#175449;font-size:14px}.portal-tip .icon{width:24px;height:24px;color:#087b6c}.service-choice-grid{grid-template-columns:repeat(3,minmax(250px,1fr));max-width:1100px}.service-choice-grid .portal-service-card{min-height:250px}.service-choice-grid .portal-card-top .portal-icon{width:78px;height:78px;border-radius:17px}.service-choice-grid .portal-card-top .portal-icon .icon{width:40px;height:40px}@media(max-width:900px){.portal-subcategory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-hero{min-height:190px;padding:28px}.portal-hero h1{font-size:38px}}@media(max-width:620px){.portal-breadcrumb{margin-bottom:16px;font-size:13px}.portal-back{margin-bottom:15px}.portal-hero{align-items:flex-start;gap:18px;min-height:0;padding:24px 20px}.portal-hero::after{right:-310px;top:-95px}.portal-category-hero>.portal-icon{width:68px;height:68px;border-radius:14px}.portal-category-hero>.portal-icon .icon{width:34px;height:34px}.portal-hero h1{font-size:30px}.portal-hero p{font-size:15px}.portal-toolbar{margin:24px 0 15px}.portal-toolbar h2{font-size:23px}.portal-subcategory-grid,.service-choice-grid{grid-template-columns:1fr}.portal-service-card{min-height:220px;padding:20px 21px 0}.portal-card-top{margin-bottom:16px}.portal-card-top .portal-icon{width:65px;height:65px;border-radius:15px}.portal-card-top .portal-icon .icon{width:33px;height:33px}.portal-service-card h3{font-size:19px}.portal-service-card p{font-size:14px}.portal-tip{font-size:13px;padding:14px 16px}}
.agreement-attachments-title{margin-top:23px;font-size:15px;font-weight:600}
.email-body-editor{min-height:360px}@media(max-width:700px){.email-body-editor{min-height:280px}}
.agreement-attachments-title--first{margin-top:0}
.selected-document-list{display:grid;gap:9px;margin-top:9px}
.selected-document{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;border:1px solid #dce8e2;border-radius:8px;background:#f3f8f5}
.selected-document strong{font-size:14px;font-weight:600}
.selected-document span{min-width:0;color:#65766f;font-size:13px;overflow-wrap:anywhere;text-align:right}
.document-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:9px}
.document-upload-group{display:flex;flex-direction:column;gap:22px;min-width:0;min-height:160px;padding:18px 16px;border:1px solid #dce8e2;border-radius:12px;background:#fff;box-shadow:0 1px 3px #153a3008}
.document-upload-heading{display:block;margin:0!important;color:#234139;font-size:15px;font-weight:600}
.document-file-control{display:flex;align-items:center;min-height:58px;margin-top:auto;padding:12px;background:#f3f8f5;border:1px solid #dce8e2;border-radius:8px}
.document-file-control input[type=file]{width:100%;min-width:0}
.document-file-control input[type=file]::file-selector-button{background:#fff}
@media(max-width:700px){.document-upload-grid{grid-template-columns:1fr}}
.trip-email-details{font-family:inherit;font-size:15px;font-weight:400;line-height:1.6;white-space:pre-wrap;overflow:auto}

/* Keep the memo preview readable on small screens and with long field values. */
.memo-preview-actions{flex-wrap:wrap}.memo-paper{border-radius:12px;min-height:0}.memo-paper h2{margin-top:0;font-size:24px}.memo-copy{min-height:0;margin-top:28px}.memo-blank-fields{grid-template-columns:minmax(120px,170px) minmax(0,1fr);margin-left:0}.memo-blank-fields dd{overflow-wrap:anywhere;white-space:pre-wrap}.memo-added-detail{padding:0;background:none;border:0}.memo-signatures{gap:35px}.document-upload-group{min-height:142px;background:#fbfdfc;box-shadow:none;gap:16px}
.memo-signatures{align-items:stretch}.memo-signatures div{display:grid;grid-template-rows:auto 48px auto;align-items:start;min-height:100px}.memo-signatures span{grid-row:1}.memo-signatures strong{display:block;grid-row:3;min-height:25px;padding-top:7px;border-top:1px solid #222;line-height:1.35}
@media(max-width:700px){.memo-paper{padding:24px 18px}.memo-blank-fields{grid-template-columns:minmax(105px,40%) minmax(0,1fr);font-size:13px}.memo-preview-actions form{flex:1}.memo-preview-actions>a{flex:1}.memo-signatures{gap:18px;font-size:13px}}

.requestor-field{margin-bottom:24px}.requestor-field>label{margin-top:0}.request-on-behalf{overflow-wrap:anywhere}
.request-email-source{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;margin-bottom:24px;background:#f3f9f6;border:1px solid #dceae3;border-radius:12px}.request-email-source>div{min-width:0}.request-email-source p{font-size:14px;margin:6px 0 0;overflow-wrap:anywhere}.request-email-source .button{flex-shrink:0;white-space:nowrap}.email-picker-dialog{position:fixed;inset:0;margin:auto;width:min(1180px,94vw);max-width:94vw;height:min(850px,90dvh);max-height:90dvh;border:0;border-radius:20px;padding:0;background:#f6f9f8;box-shadow:0 24px 90px #102e3650;overflow:clip}.email-picker-dialog[open]{display:flex;flex-direction:column}.email-picker-dialog::backdrop{background:#102e3699}.email-picker-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 24px;border-bottom:1px solid #dce7e1;background:#fff;flex-shrink:0}.email-picker-dialog-header h2{font-size:22px;margin:0}.email-picker-dialog-header p{font-size:13px;margin:5px 0 0;color:#6b8184}.email-picker-dialog iframe{display:block;width:100%;flex:1;min-height:0;border:0}.email-picker-embedded{margin:0;background:#f6f9f8}.email-picker-embedded main{padding:20px;max-width:none;margin:0}.email-picker-embedded .page-heading{margin:14px 0 22px}.email-picker-embedded .page-heading h1{font-size:25px}.email-picker-embedded .email-picker-row{grid-template-columns:40px minmax(0,1fr) 155px 22px;gap:14px}.email-picker-embedded .email-picker-row strong{font-size:14px}@media(max-width:700px){.request-email-source{align-items:stretch;flex-direction:column}.request-email-source .button{justify-content:center}.email-picker-dialog-header{padding:16px}.email-picker-dialog-header h2{font-size:18px}.email-picker-embedded main{padding:12px}.email-picker-embedded .email-picker-row{grid-template-columns:40px minmax(0,1fr) 20px}.email-picker-dialog{position:fixed;inset:0;margin:auto;width:96vw;max-width:96vw;height:94dvh;max-height:94dvh}}

.request-context-menu{margin:0 0 24px;overflow:hidden;border:1px solid #d7e6e0;border-radius:13px;background:#f8fbfa;transition:border-color .16s ease,box-shadow .16s ease}
.request-context-menu[open]{border-color:#9fcfc3;box-shadow:0 8px 24px #173b350b}
.request-context-menu>summary{display:flex;align-items:center;gap:12px;min-height:62px;padding:11px 14px;cursor:pointer;list-style:none;user-select:none}
.request-context-menu>summary::-webkit-details-marker{display:none}
.request-context-menu>summary:focus-visible{outline:3px solid #65b5a3;outline-offset:-3px}
.request-context-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:10px;background:#e1f2eb;color:#167467}
.request-context-icon .icon{width:20px;height:20px}
.request-context-summary{display:block;min-width:0;flex:1}
.request-context-summary strong,.request-context-summary small{display:block}
.request-context-summary strong{color:#24483f;font-size:14px;font-weight:700}
.request-context-summary small{display:flex;align-items:center;gap:6px;min-width:0;margin-top:3px;color:#71867f;font-size:11px}
.request-context-summary small span:first-child{max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.request-context-action{flex:0 0 auto;padding:5px 9px;border:1px solid #cfe2db;border-radius:20px;background:#fff;color:#287263;font-size:0;font-weight:650}
.request-context-action::before{content:'View details';font-size:11px}
.request-context-menu[open] .request-context-action::before{content:'Hide details'}
.request-context-content{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:14px;padding:16px;border-top:1px solid #deebe6;background:#fff}
.request-context-content .request-email-source{min-width:0;margin:0;padding:13px 14px;border-radius:10px}
.request-context-content .request-email-source p{font-size:12px;line-height:1.5}
.request-context-content .request-email-source .button{padding:8px 11px;font-size:12px}
.request-context-content .requestor-field{min-width:0;margin:0;padding:3px 0}
.request-context-content .requestor-field label{margin:0 0 7px;font-size:13px}
.request-context-content .requestor-field input{min-height:44px;padding:9px 11px;font-size:13px}
.request-context-content .requestor-field .field-hint{margin-top:5px;font-size:11px}
@media(max-width:760px){.request-context-content{grid-template-columns:1fr}.request-context-summary small span:first-child{max-width:55%}}
@media(max-width:480px){.request-context-menu>summary{align-items:flex-start}.request-context-summary small{align-items:flex-start;flex-direction:column;gap:2px}.request-context-summary small span[aria-hidden]{display:none}.request-context-summary small span:first-child{max-width:100%}.request-context-action{margin-top:4px}.request-context-content{padding:12px}.request-context-content .request-email-source{align-items:stretch;flex-direction:column}}

.hub-email-action{display:flex;align-items:center;gap:18px;margin-top:20px;padding:20px 24px;border:1px solid #d8e6e0;border-radius:16px;background:#fff;color:var(--ink)}
.hub-email-action:hover{background:#edf7f3;border-color:#80bba8}.hub-email-action>div{flex:1}.hub-email-action strong,.hub-email-action>div>span{display:block}.hub-email-action strong{font-size:18px}.hub-email-action>div>span{font-size:13px;color:#6b8184;margin-top:4px}
.email-picker-panel{overflow:hidden}.email-picker-filters{display:grid;grid-template-columns:minmax(140px,180px) 160px minmax(180px,1fr) auto;gap:16px;padding:24px;align-items:end;background:#fff}
.email-picker-filters label{display:block;margin:0 0 8px;font-size:14px}.email-picker-filters select,.email-picker-filters input,.email-picker-filters .button{width:100%;height:48px;min-height:48px;margin:0;box-sizing:border-box}.email-picker-filters .button{justify-content:center}
.email-picker-list-heading{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-top:1px solid #e1e9e6;background:#f8fbfa}.email-picker-list-heading h2{font-size:16px;margin:0}.email-picker-list-heading>span{font-size:13px;color:#6b8184}
.email-picker-row{display:grid;grid-template-columns:44px minmax(0,1fr) 170px 22px;align-items:center;gap:18px;padding:20px 24px;border-top:1px solid #e1e9e6;color:var(--ink)}.email-picker-row:hover{background:#eef8f4}
.email-picker-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;border-radius:12px;background:#e7f3ed;color:#208777}.email-picker-icon .icon{display:block;width:23px;height:23px;flex:none;margin:0}
.email-picker-text{min-width:0}.email-picker-text strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:16px;line-height:1.45}.email-picker-text>span{display:block;margin-top:5px;overflow-wrap:anywhere;font-size:13px;color:#6b8184}.email-picker-row time{font-size:12px;color:#6b8184;text-align:right;white-space:nowrap}.email-picker-arrow{justify-self:end}
.email-picker-pagination{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px;border-top:1px solid #e1e9e6;background:#fafcfb}.email-picker-pagination>span{font-size:12px;color:#6b8184}.email-picker-pagination>div{display:flex;gap:12px;flex-wrap:wrap}.email-picker-pagination .button{margin:0;min-height:44px;justify-content:center}
.email-import-conversation{min-width:0}.email-import-conversation h3{font-size:17px}.email-import-conversation .message-body{max-height:450px;overflow:auto;overflow-wrap:anywhere}.email-import-conversation summary{cursor:pointer;color:#14786b;margin:14px 0}.email-link-button{margin:20px 0}.email-source-note{display:flex;align-items:center;gap:12px;border-radius:10px;padding:14px;background:#edf7f3;font-size:14px}.email-source-note .icon{flex:none}
@media(max-width:800px){.email-picker-filters{grid-template-columns:1fr 1fr;padding:18px}.email-picker-query{grid-column:1/-1}.email-picker-filters .button{grid-column:1/-1}.email-picker-row{grid-template-columns:40px minmax(0,1fr) 20px;gap:10px 14px;padding:18px}.email-picker-icon{width:40px;height:40px;flex-basis:40px}.email-picker-row time{grid-column:2;grid-row:2;text-align:left}.email-picker-arrow{grid-column:3;grid-row:1/3}.email-picker-pagination{flex-direction:column;align-items:stretch;padding:18px}.email-picker-pagination>div{justify-content:flex-end}.hub-email-action{padding:18px}}

.email-intake-layout{grid-template-columns:minmax(280px,360px) minmax(0,1fr);align-items:start}.email-intake-draft{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}.email-intake-layout .form-actions{flex-direction:column;align-items:stretch}.email-intake-layout .form-actions .button{justify-content:center;white-space:normal}.email-review-meta{margin:20px 0;display:grid;gap:5px;font-size:14px}.email-review-meta dt{color:#6b8184;font-size:12px;margin-top:8px}.email-review-meta dd{margin:0;overflow-wrap:anywhere}.email-draft-discard{margin-top:12px}.email-draft-discard .button{width:100%;justify-content:center}@media(max-width:850px){.email-intake-layout{grid-template-columns:1fr}}
.email-picker-dialog-controls{display:flex;align-items:center;gap:10px;flex-shrink:0}.email-picker-dialog-controls>[role=status]{font-size:13px;color:#6b8184}.picker-navigation-status{position:fixed;z-index:10;top:12px;left:50%;transform:translateX(-50%);padding:12px 20px;border:1px solid #bedbce;border-radius:12px;background:#edf7f3;color:#175e50;box-shadow:0 4px 18px #173b3420;font-size:14px;pointer-events:none}@media(max-width:600px){.email-picker-dialog-header{flex-wrap:wrap;gap:12px}.email-picker-dialog-controls{width:100%;justify-content:flex-end}.email-picker-dialog-controls>[role=status]{margin-right:auto}}
.itinerary-editor { margin: 12px 0; }
.itinerary-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
.itinerary-heading h3, .itinerary-heading p { margin:0 0 6px; }
.journey-card { border:1px solid #d4e5df; border-left:4px solid #238577; background:#f8fbfa; border-radius:14px; padding:20px; margin-bottom:16px; }
.journey-route { display:grid; grid-template-columns:1fr auto 1fr 1fr; gap:16px; align-items:end; }
.journey-route label, .journey-booking label { display:block; }
.journey-arrow { display:grid; place-items:center; align-self:end; justify-self:center; width:34px; height:34px; margin-bottom:5px; border:1px solid #cfe2db; border-radius:50%; background:#fff; color:#287c6e; }
.journey-arrow .icon { width:17px; height:17px; }
.journey-booking { border-top:1px solid #dce8e4; margin-top:12px; padding-top:12px; }
.journey-toggle { display:flex!important; align-items:center; gap:10px; cursor:pointer; font-weight:600; }
.trip-panel .journey-toggle input[type=checkbox] { flex:0 0 18px; width:18px; height:18px; min-height:0; padding:0; margin:0; }
.journey-toggle span { white-space:nowrap; }
.trip-panel .journey-route label, .trip-panel .journey-booking .trip-fields > label { margin:0; min-width:0; }
.journey-route input, .journey-booking .trip-fields input { display:block; margin-top:8px; }
.journey-booking fieldset { border:0; padding:12px 0 0; min-width:0; }
.journey-booking [hidden], [data-route-vip][hidden] { display:none; }
@media(max-width:700px) { .journey-route { grid-template-columns:1fr; } .journey-arrow { align-self:center; margin:0; transform:rotate(90deg); } .itinerary-heading { align-items:flex-start; flex-wrap:wrap; } .journey-card { padding:16px; } }
/* Keep primary navigation available while reading long pages. */
.workspace-header{position:sticky;top:0;z-index:40}
.settlement-city-card{border:1px solid #d7e7e2;border-radius:16px;background:#fff;margin:0 0 20px;overflow:hidden}
.settlement-city-card>summary{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 24px;background:#edf7f3;cursor:pointer;list-style:none}
.settlement-city-card>summary:after{content:'+';font-size:24px;color:#16776b}.settlement-city-card[open]>summary:after{content:'−'}
.settlement-city-card>summary::-webkit-details-marker{display:none}
.settlement-city-card summary strong{display:block;font-size:18px;color:#164a43}.settlement-city-card summary small{display:block;color:#607d77;font-size:14px;margin-top:5px}
.settlement-city-card>.trip-fields{padding:24px;gap:18px}.settlement-city-card>.field-hint{padding:20px}
.settlement-city-status{margin-left:auto;border-radius:20px;padding:6px 12px;background:white;font-size:13px;color:#53736a;white-space:nowrap}.settlement-city-status.complete{background:#cdeedb;color:#176347}
@media(max-width:650px){.settlement-city-card>summary{padding:16px;gap:10px;flex-wrap:wrap}.settlement-city-card>.trip-fields{padding:16px}.settlement-city-status{margin-left:0}.settlement-city-card summary strong{font-size:16px}}
.journey-booking-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.journey-booking-grid .journey-booking{border:0;padding:0;margin:0;min-width:0}
.journey-booking-button{display:flex;align-items:center;gap:10px;width:100%;height:100%;text-align:left;padding:12px;border:1px solid #d7e7e2;border-radius:10px;background:#fff;color:#17443f;transition:background .15s,border-color .15s}
.journey-booking-button .service-icon{width:36px;height:36px;background:#e0f3eb;flex-shrink:0;border-radius:9px}.journey-booking-button .service-icon .icon{width:22px;height:22px}
.journey-booking-button strong,.journey-booking-button small,.journey-booking-button [data-booking-status]{display:block}.journey-booking-button strong{font-size:14px;line-height:1.3}.journey-booking-button small{font-size:11px;line-height:1.4;color:#6a827b;margin:2px 0}.journey-booking-button [data-booking-status]{font-size:11px;line-height:1.4;font-weight:600;color:#168071}.journey-booking-button>.icon{margin-left:auto;width:16px;flex-shrink:0}
.journey-booking-button:hover,.journey-booking-button.is-selected{background:#edf8f2;border-color:#31947b}.journey-booking-dialog fieldset{border:0;margin:0;padding:0;min-width:0}.journey-booking-dialog .form-actions{flex-wrap:wrap}
.journey-card>[data-route-vip]{margin-top:20px;padding-top:16px;border-top:1px solid #dce8e4}.journey-card>[data-route-vip]>.field-hint{margin:0 0 10px;font-size:12px;font-weight:600;color:#54756c}
.journey-card>.itinerary-heading{padding-bottom:14px;margin-bottom:18px;border-bottom:1px solid #e1ece7}.journey-card [data-remove-journey]{padding:7px 12px;font-size:12px;min-height:36px}.journey-card [data-remove-journey][hidden]{display:none}.journey-card>.itinerary-heading strong{font-size:16px;color:#18564b}
.journey-booking-button>span:not(.service-icon){min-width:0}.journey-booking-button:focus-visible{outline:3px solid #75c5b3;outline-offset:3px}
.flight-return-option{padding:14px;background:#eff8f4;border:1px solid #d8e9e1;border-radius:10px}.journey-booking .flight-return-option label{display:flex;align-items:center;gap:10px;margin:0;font-size:14px;font-weight:600}.trip-panel .flight-return-option input[type=checkbox]{width:18px;height:18px;min-height:0;margin:0;padding:0;accent-color:#16776b;flex-shrink:0}.flight-return-option .field-hint{margin:6px 0 0 28px;font-size:12px}.journey-booking-dialog .trip-fields{row-gap:18px}
@media(max-width:700px){.journey-booking-grid{grid-template-columns:1fr}}

.return-trip-card{background:#f1f3ff;border-color:#a7afe1}.return-trip-card>.itinerary-heading strong{color:#49438b}.button.secondary.return-button{background:#eeeaff;border-color:#b7a9e3;color:#51408a}

.request-email-editor{min-height:280px;padding:18px;border:1px solid #cbded7;border-radius:10px;overflow:auto;white-space:pre-wrap;background:white;color:#000;line-height:1.6;cursor:text}.request-email-editor:focus{outline:2px solid #238774}.email-body-placeholder{display:inline-block;padding:2px 9px;border:1px dashed #d4a34f;border-radius:6px;background:#fff4d6;color:#9a6200;font-weight:600;cursor:text;transition:background .15s,border-color .15s,color .15s}.email-body-placeholder:hover,.email-body-placeholder:focus{border-color:#b97a0b;background:#ffe8ad;color:#754900;outline:2px solid #f1c66f;outline-offset:2px}.email-table{width:100%;border-collapse:collapse;margin:12px 0;white-space:normal}.email-table--compact{width:100%;min-width:0}.email-table--standard{width:100%;min-width:640px}.email-table--wide{width:100%;min-width:1000px}.email-table--xwide{width:100%;min-width:1400px}.email-table td,.email-table th{border:1px solid #d8e7e1;padding:9px;min-width:80px;vertical-align:top;text-align:left;cursor:text}.email-table th{background:#edf6f2;font-weight:700}.request-email-editor table,.trip-email-preview table,.message-body table{border-bottom:1px solid #d8e7e1}.request-email-editor table tr:last-child>td,.request-email-editor table tr:last-child>th,.trip-email-preview table tr:last-child>td,.trip-email-preview table tr:last-child>th,.message-body table tr:last-child>td,.message-body table tr:last-child>th{border-bottom:1px solid #d8e7e1}.email-table-scroll{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain}.email-editor-source,.date-iso-source{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;padding:0!important;pointer-events:none}.date-field-control{display:flex;position:relative;align-items:center}.date-field-control>input:not(.date-iso-source){min-width:0;width:100%;cursor:pointer;background:#fff}.request-email-details{overflow:auto}

.memo-request-table th{font-weight:700}.memo-request-table td{font-weight:400}.memo-email-editor{max-width:100%;overflow-x:auto}.memo-email-editor .email-table--wide,.memo-email-editor .email-table--xwide{table-layout:auto}.memo-email-editor .email-table--wide th,.memo-email-editor .email-table--wide td,.memo-email-editor .email-table--xwide th,.memo-email-editor .email-table--xwide td{min-width:125px;white-space:normal}.email-table-scroll--wide,.email-table-scroll--xwide{display:block;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden}

/* Internal memo generation keeps the approval step and A4 preview readable at every viewport. */
.memo-preview-page{width:min(1180px,100%);margin:0 auto}.memo-preview-page>.back-link{margin-bottom:18px}.memo-preview-page .memo-preview-heading{align-items:center;margin-bottom:24px}.memo-preview-page .memo-preview-heading h1{margin:3px 0 6px}.memo-preview-page .memo-preview-heading p{margin:0;font-size:14px}.memo-preview-page .section-kicker{margin-bottom:7px}.memo-preview-page .memo-preview-actions form{margin:0}.memo-approval-panel{margin-bottom:22px;padding:0;overflow:hidden;border-color:#d9e6e1;box-shadow:0 8px 24px #153b3209}.memo-approval-panel .memo-approval-heading{margin:0;padding:20px 24px;background:#f5faf7}.memo-approval-heading .service-icon{width:42px;height:42px}.memo-approval-heading h2{margin:0 0 3px;font-size:19px}.memo-approval-heading p{color:#71847e;line-height:1.5}.memo-approval-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:22px 24px 24px}.memo-approval-grid label>span:first-child{display:block;color:#415c55;font-size:13px}.memo-approval-grid input{height:46px;margin-top:7px;border-color:#cfddd8;background:#fff}.memo-approval-grid input:focus{border-color:#4ba58f;box-shadow:0 0 0 3px #52bbaa1f;outline:0}.memo-approval-actions{align-items:center;justify-content:space-between;margin:0;padding:15px 24px;border-top:1px solid #e2ebe7;background:#fbfdfc}.memo-approval-actions p{margin:0;color:#788b85;font-size:12px;line-height:1.5}.memo-approval-actions .button{min-width:170px}.memo-quick-generate{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px;padding:16px 18px;border:1px solid #d9e6e1;border-radius:13px;background:#fff}.memo-quick-generate span{color:#657b75;font-size:13px}.memo-generated-note{max-width:none;margin:0 0 22px}.memo-document-preview{overflow:hidden;border:1px solid #dbe6e2;border-radius:16px;background:#eef3f1;box-shadow:0 10px 30px #173b3510}.memo-document-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 22px;border-bottom:1px solid #dbe6e2;background:#fff}.memo-document-heading>div{display:flex;align-items:center;gap:13px;min-width:0}.memo-document-heading .service-icon{width:39px;height:39px}.memo-document-heading h2{margin:0 0 2px;font-size:17px}.memo-document-heading p{margin:0;color:#748781;font-size:12px;line-height:1.45}.memo-document-format{flex:0 0 auto;padding:5px 9px;border-radius:999px;background:#edf7f3;color:#24725f;font-size:11px;font-weight:700;letter-spacing:.4px}.memo-document-canvas{padding:34px}.memo-document-canvas .memo-paper{width:min(900px,100%);margin:0 auto;padding:54px 58px;border:0;border-radius:3px;box-shadow:0 16px 42px #183b3230}.memo-document-canvas .memo-paper h2{margin-bottom:24px;font-size:22px}.memo-document-canvas .memo-metadata{grid-template-columns:82px minmax(0,1fr);font-size:13px;line-height:1.45}.memo-document-canvas .memo-copy{font-size:13px;line-height:1.65}.memo-document-canvas .memo-request-table-scroll{width:100%;max-width:100%;overflow:visible;border-color:#bfcac6}.memo-document-canvas .memo-request-table,.memo-document-canvas .memo-horizontal-table{width:100%;min-width:0;table-layout:fixed}.memo-document-canvas .memo-request-table th,.memo-document-canvas .memo-request-table td{min-width:0;padding:7px 6px;border-color:#bfcac6;font-size:10px;line-height:1.35;white-space:normal;overflow-wrap:anywhere;word-break:normal;vertical-align:top}.memo-document-canvas .memo-request-table th{background:#eef3f1;color:#263d38;font-weight:700;letter-spacing:0}.memo-document-canvas .memo-request-table:has(th:nth-child(10)) th,.memo-document-canvas .memo-request-table:has(th:nth-child(10)) td{padding:5px 4px;font-size:8px}.memo-marketplace-table-wrap th:nth-child(1){width:6%}.memo-marketplace-table-wrap th:nth-child(2){width:21%}.memo-marketplace-table-wrap th:nth-child(3){width:13%}.memo-marketplace-table-wrap th:nth-child(4){width:13%}.memo-marketplace-table-wrap th:nth-child(5){width:13%}.memo-marketplace-table-wrap th:nth-child(6){width:11%}.memo-marketplace-table-wrap th:nth-child(7){width:11%}.memo-marketplace-table-wrap th:nth-child(8){width:12%}.memo-document-canvas .memo-request-total{margin-top:9px;font-size:11px}.memo-document-canvas .memo-request-total span{font-size:11px}.memo-document-canvas .memo-signatures{margin-top:44px}.memo-document-canvas .marketplace-signatures{gap:20px}.memo-document-canvas .marketplace-signatures strong{overflow-wrap:anywhere}.memo-document-canvas .memo-blank-fields{font-size:12px}
.memo-approval-panel[data-signature-editor]>.panel-heading{margin:0;padding:24px 28px;border-bottom:1px solid #e2ebe7;background:#f8fbfa}.memo-approval-panel[data-signature-editor]>.panel-heading h2{margin:0 0 4px}.memo-approval-panel[data-signature-editor]>.panel-heading p{margin:0;color:#71847e}.memo-approval-panel[data-signature-editor]>.signature-group-grid{padding:24px 28px 28px}.memo-approval-panel[data-signature-editor]>.form-actions{margin:0;padding:18px 28px;border-top:1px solid #e2ebe7;background:#fbfdfc}
@media(max-width:900px){.memo-approval-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.memo-document-canvas{padding:22px}.memo-document-canvas .memo-paper{padding:42px 38px}.memo-document-canvas .memo-request-table th,.memo-document-canvas .memo-request-table td{font-size:9px}}
@media(max-width:650px){.memo-preview-page .memo-preview-heading{align-items:flex-start}.memo-approval-grid{grid-template-columns:1fr;padding:18px}.memo-approval-panel .memo-approval-heading{padding:18px}.memo-approval-heading .service-icon{display:none}.memo-approval-actions{align-items:stretch;flex-direction:column;padding:15px 18px}.memo-approval-actions .button,.memo-quick-generate .button{width:100%}.memo-quick-generate{align-items:stretch;flex-direction:column}.memo-document-heading{align-items:flex-start;padding:15px 16px}.memo-document-heading .service-icon{display:none}.memo-document-canvas{padding:10px}.memo-document-canvas .memo-paper{padding:28px 18px}.memo-document-canvas .memo-paper h2{font-size:18px}.memo-document-canvas .memo-metadata{grid-template-columns:68px minmax(0,1fr);font-size:11px}.memo-document-canvas .memo-copy{font-size:11px}.memo-document-canvas .memo-request-table th,.memo-document-canvas .memo-request-table td{padding:4px 3px;font-size:7px}.memo-document-canvas .memo-signatures{gap:14px;font-size:10px}}
@media(max-width:650px){.memo-approval-panel[data-signature-editor]>.panel-heading,.memo-approval-panel[data-signature-editor]>.signature-group-grid,.memo-approval-panel[data-signature-editor]>.form-actions{padding-right:18px;padding-left:18px}}

.review-heading{align-items:center}.review-heading-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.review-submit{margin:0}.review-submit .button{min-width:190px;justify-content:center;box-shadow:0 8px 22px #16776b2e}@media(max-width:650px){.review-heading{align-items:stretch}.review-heading-actions{width:100%;flex-direction:column-reverse;align-items:stretch}.review-heading-actions>.button,.review-submit,.review-submit .button{width:100%}}

.settlement-type-dialog{width:min(760px,calc(100% - 32px));padding:0;overflow:hidden;border:0;border-radius:22px;background:#fff;box-shadow:0 28px 90px #0b2e3460}.settlement-type-dialog::backdrop{background:#102f347a;backdrop-filter:blur(3px)}.settlement-dialog-header{padding:30px 32px 22px;border-bottom:1px solid #e5ece9}.settlement-dialog-header .section-kicker{margin-bottom:8px;color:#23806f}.settlement-dialog-header h2{margin:0 0 7px;color:#173b35;font-size:28px}.settlement-dialog-header h2:focus{outline:0}.settlement-dialog-header p{margin:0;color:#70847e;font-size:14px}.settlement-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:24px 32px 28px}.settlement-choice-card{display:grid;grid-template-columns:50px minmax(0,1fr) 22px;align-items:center;gap:16px;min-height:164px;padding:22px;border:1px solid #dce7e3;border-radius:16px;background:#fff;color:#173b35;text-align:left;font:inherit;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease}.settlement-choice-card:hover{transform:translateY(-2px);border-color:#70b9a8;background:#f6fbf8;box-shadow:0 12px 26px #173b3512}.settlement-choice-card:focus-visible{outline:3px solid #52bbaa;outline-offset:3px;border-color:#52bbaa}.settlement-choice-card .service-icon{width:50px;height:50px;border-radius:13px;background:#e5f5ee;color:#18806d}.settlement-choice-card .service-icon .icon{width:26px;height:26px}.settlement-choice-card .claim-icon{background:#edf1fb;color:#566da5}.settlement-choice-copy{min-width:0}.settlement-choice-copy strong,.settlement-choice-copy small{display:block}.settlement-choice-copy strong{margin-bottom:7px;font-size:18px}.settlement-choice-copy small{color:#6d817a;font-size:13px;font-weight:400;line-height:1.55}.settlement-choice-arrow{display:grid;place-items:center;color:#87a098}.settlement-choice-arrow .icon{width:19px;height:19px}.settlement-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 32px;background:#f7faf8;border-top:1px solid #e5ece9}.settlement-dialog-footer p{margin:0;color:#7a8d87;font-size:12px}.settlement-dialog-footer .button{flex-shrink:0}@media(max-width:650px){.settlement-type-dialog{width:min(94vw,520px);max-height:92dvh;overflow:auto;border-radius:18px}.settlement-dialog-header{padding:24px 20px 18px}.settlement-dialog-header h2{font-size:24px}.settlement-choice-grid{grid-template-columns:1fr;padding:18px 20px;gap:12px}.settlement-choice-card{min-height:132px;padding:18px;grid-template-columns:44px minmax(0,1fr) 18px;gap:13px}.settlement-choice-card .service-icon{width:44px;height:44px}.settlement-dialog-footer{align-items:stretch;flex-direction:column;padding:16px 20px}.settlement-dialog-footer .button{width:100%}}

.auto-attached-file{display:flex;align-items:center;gap:11px;min-height:51px;padding:10px 12px;border:1px solid #cfe3da;border-radius:8px;background:#f0f7f4}.auto-attached-badge{display:grid;place-items:center;flex:0 0 36px;height:32px;border-radius:7px;background:#dcefe7;color:#176b5c;font-size:10px;font-weight:750;letter-spacing:.5px}.auto-attached-copy{min-width:0;flex:1}.auto-attached-copy strong,.auto-attached-copy small{display:block;overflow-wrap:anywhere}.auto-attached-copy strong{color:#244f47;font-size:13px;font-weight:650}.auto-attached-copy small{margin-top:2px;color:#758b84;font-size:11px;line-height:1.4}.auto-attached-status{flex:0 0 auto;padding:4px 7px;border-radius:20px;background:#dff2e7;color:#267257;font-size:10px;font-weight:700}@media(max-width:480px){.auto-attached-file{align-items:flex-start;flex-wrap:wrap}.auto-attached-copy{flex-basis:calc(100% - 48px)}.auto-attached-status{margin-left:47px}}
.auto-attached-preview{min-height:32px;padding:5px 10px;font-size:12px}

.agreement-core-tax-field{margin-top:24px;padding:18px 20px;border:1px solid #dce8e2;border-radius:12px;background:#f8fbfa}.agreement-core-tax-field label{margin:0 0 9px!important;color:#234139}.agreement-core-tax-field input{background:#fff}.agreement-core-tax-field .field-hint{margin-top:7px}.agreement-attachments-heading{align-items:center;margin-top:30px;margin-bottom:20px;padding:0 0 18px}.agreement-attachments-heading .step-number{flex:0 0 35px}.agreement-attachments-heading h2{margin:0!important}.agreement-attachments-heading p{margin:3px 0 0;color:#84958f;font-size:12px;text-transform:none}@media(max-width:600px){.agreement-core-tax-field{padding:16px}.agreement-attachments-heading{align-items:flex-start}}
.request-email-editor{font-family:inherit;font-size:15px;font-weight:400}
.portal-category-hero>.portal-icon{display:grid;place-items:center;flex:0 0 auto}
.email-editor-shell{margin-top:6px;border:1px solid #cbded7;border-radius:10px;overflow:hidden;background:#fff}.email-editor-toolbar{display:flex;align-items:center;gap:3px;min-height:44px;padding:6px 8px;overflow-x:auto;border-bottom:1px solid #dce7e2;background:#f7faf8;scrollbar-width:thin}.email-tool-button{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;padding:0;border:1px solid transparent;border-radius:5px;background:transparent;color:#405852;font:inherit;font-size:15px;line-height:1}.email-tool-button:hover,.email-tool-button.active{border-color:#bfd7ce;background:#e6f2ed;color:#126b5d}.email-tool-button:focus-visible,.email-tool-select:focus-visible,.email-tool-color:focus-visible{outline:2px solid #52bbaa;outline-offset:1px}.email-tool-select{flex:0 0 auto;height:32px;padding:4px 24px 4px 8px;border:1px solid #d6e2dd;border-radius:5px;background:#fff;color:#405852;font:inherit;font-size:13px}.email-tool-color{flex:0 0 30px;width:30px;height:30px;padding:3px;border:1px solid #d6e2dd;border-radius:5px;background:#fff;cursor:pointer}.email-tool-divider{flex:0 0 1px;width:1px;height:24px;margin:0 4px;background:#d5e1dc}.email-editor-shell .request-email-editor{min-height:300px;margin:0;border:0;border-radius:0}.email-editor-shell .request-email-editor:focus{outline:0;box-shadow:inset 0 0 0 2px #52bbaa}.request-email-editor.source-mode{font-family:Consolas,"Courier New",monospace;font-size:13px;white-space:pre-wrap}.email-editor-shell+.field-hint{margin-top:7px}@media(max-width:700px){.email-editor-toolbar{padding:5px}.email-editor-shell .request-email-editor{min-height:260px}}

/* Keep the compact editor controls from inheriting the full-width form select. */
.email-tool-select{width:auto;min-width:0}
.email-tool-paragraph{width:112px}

/* Travel booking dialog */
.journey-booking-dialog{width:min(700px,calc(100% - 32px));padding:0;overflow:auto}
.booking-dialog-header{display:flex;align-items:center;gap:14px;padding:22px 26px;border-bottom:1px solid #e1ebe7;background:#f6faf8}
.booking-dialog-header .service-icon{width:44px;height:44px;border-radius:11px;background:#dff1e9;color:#16776b}
.booking-dialog-header .service-icon .icon{width:24px;height:24px}
.booking-dialog-header>div{min-width:0}
.booking-dialog-header h2{margin:0 0 3px;font-size:22px}
.booking-dialog-header .field-hint{margin:0;color:#688079;font-size:13px;overflow-wrap:anywhere}
.journey-booking-dialog fieldset{padding:24px 26px}
.booking-dialog-fields{gap:20px 22px}
.journey-booking-dialog .booking-field{margin:0;color:#23453e;font-size:14px;font-weight:650}
.booking-field-label{display:block;line-height:1.4}
.booking-field .optional{display:inline-block;margin-left:6px;padding:2px 7px;border-radius:12px;background:#eef4f1;color:#72857f;font-size:11px;line-height:1.4;vertical-align:1px}
.journey-booking-dialog .booking-field input:not([type=file]),.journey-booking-dialog .booking-field select{width:100%;height:46px;min-height:46px;margin-top:7px;padding:10px 12px;border:1px solid #d5e2dd;border-radius:8px;background:#fff;color:#183832;font-size:14px}
.journey-booking-dialog .booking-field input[readonly]{background:#f3f7f5;color:#405f57}
.journey-booking-dialog .booking-field input:focus,.journey-booking-dialog .booking-field select:focus{border-color:#65aa9b;box-shadow:0 0 0 3px #7bc7b526;outline:0}
.booking-attachment-field{padding-top:18px;border-top:1px solid #e3ece8}
.booking-attachment-field>.field-hint{display:block;margin:4px 0 10px;color:#778b84;font-weight:400}
.booking-file-control{display:flex;align-items:center;min-height:54px;padding:9px 11px;border:1px solid #d7e5df;border-radius:9px;background:#f2f8f5}
.booking-file-control input[type=file]{width:100%;min-width:0;margin:0;color:#284e46;font-size:13px;font-weight:400}
.booking-file-control input[type=file]::file-selector-button{padding:8px 12px;border-color:#bbd6cc;background:#fff;color:#286b5b}
.journey-booking-dialog .booking-dialog-actions{align-items:center;margin:0;padding:18px 26px;border-top:1px solid #e1ebe7;background:#fbfcfc}
.booking-dialog-actions .booking-remove-button{margin-right:auto;border-color:#e6c8c1;color:#a24e3a}
.booking-dialog-actions .booking-remove-button:hover{background:#fff3f0}
@media(max-width:600px){.journey-booking-dialog{width:calc(100% - 20px);padding:0}.booking-dialog-header,.journey-booking-dialog fieldset,.journey-booking-dialog .booking-dialog-actions{padding-left:18px;padding-right:18px}.booking-dialog-fields{grid-template-columns:1fr}.booking-dialog-actions .booking-remove-button{width:100%;margin:0 0 2px}.booking-dialog-actions .button:not(.booking-remove-button){flex:1}}

/* Editable email copy with protected form-generated details. */
.request-email-editor .email-locked-block{color:#66736f;caret-color:transparent;cursor:not-allowed}
.request-email-editor table.email-locked-block td,.request-email-editor table.email-locked-block th{color:#66736f;cursor:not-allowed}
.request-email-editor .email-locked-accordion{margin:18px 0;border:0;background:transparent;white-space:normal;overflow:visible}
.request-email-editor .email-locked-accordion:not([open]){display:inline-block;width:max-content;max-width:100%}
.request-email-editor .email-locked-accordion[open]{display:block;width:100%}
.request-email-editor .email-locked-accordion>summary{display:flex;align-items:center;gap:6px;width:max-content;min-height:0;padding:0;list-style:none;color:#176f61;font-size:12px;font-weight:700;cursor:pointer;user-select:none}
.request-email-editor .email-locked-accordion>summary::-webkit-details-marker{display:none}
.request-email-editor .email-locked-accordion>summary::after{content:'›';color:#287c6e;font-size:17px;font-weight:600;line-height:1;transform:rotate(90deg);transition:transform .15s ease}
.request-email-editor .email-locked-accordion[open]>summary::after{transform:rotate(-90deg)}
.request-email-editor .email-locked-accordion>summary:hover small{border-color:#74b6a6;background:#eaf6f1;color:#125f53}
.request-email-editor .email-locked-accordion>summary:focus-visible{outline:2px solid #52bbaa;outline-offset:-2px}
.request-email-editor .email-locked-accordion>summary small{padding:4px 10px;border:1px solid #a9cec4;border-radius:20px;background:#f4faf7;color:#176f61;font-size:10px;font-weight:750;letter-spacing:.15px;text-transform:none;transition:background .15s ease,border-color .15s ease,color .15s ease}
.request-email-editor .email-locked-accordion[open]>summary{margin-bottom:12px}
.request-email-editor .email-locked-accordion>.email-locked-block:not(table){padding-right:12px;padding-left:12px}
.request-email-editor .email-locked-accordion>.email-locked-block{margin-top:0;margin-bottom:0;line-height:1.45}
.email-locked-field{display:grid;grid-template-columns:130px 10px minmax(0,1fr);column-gap:4px;align-items:start}
.email-locked-field-label,.email-locked-field-separator,.email-locked-field-value{min-width:0}
.email-locked-field-value{overflow-wrap:anywhere}
.request-email-editor .email-locked-accordion>.email-locked-block:last-child{margin-bottom:12px}
.request-email-editor .email-locked-accordion>.email-table{margin-right:12px;margin-left:12px;width:calc(100% - 24px)}
.request-email-editor .email-locked-accordion>.email-table--wide,.request-email-editor .email-locked-accordion>.email-table--xwide{width:calc(100% - 24px);margin-right:12px;margin-left:12px}

/* Shared request-email typography across compose, review, detail, and conversation views. */
.request-email-editor,
.trip-email-preview,
.message-body,
.full-email .message-body{font-size:14px!important;font-weight:400}
.request-email-editor .email-table th,
.trip-email-preview .email-table th,
.message-body .email-table th{font-size:14px!important;font-weight:700!important;text-align:center!important}
.request-email-editor .email-table td,
.trip-email-preview .email-table td,
.message-body .email-table td{font-size:14px!important;font-weight:400!important;text-align:left!important}
.trip-email-preview .email-table--compact,
.request-email-editor.trip-email-details .email-table--compact{width:100%;table-layout:fixed}
.trip-email-preview .email-table--compact th,
.trip-email-preview .email-table--compact td,
.request-email-editor.trip-email-details .email-table--compact th,
.request-email-editor.trip-email-details .email-table--compact td{white-space:normal;overflow-wrap:anywhere}
.trip-email-preview .email-table--compact th:first-child,
.trip-email-preview .email-table--compact td:first-child,
.request-email-editor.trip-email-details .email-table--compact th:first-child,
.request-email-editor.trip-email-details .email-table--compact td:first-child{width:42%}

/* Keep every email editor the same visible size across request modules. */
.email-editor-shell .request-email-editor{height:300px;min-height:300px;max-height:300px}
@media(max-width:700px){.email-editor-shell .request-email-editor{height:260px;min-height:260px;max-height:260px}}
.email-tool-button:disabled{border-color:transparent;background:#edf1ef;color:#9aaba5;cursor:not-allowed;opacity:.7}

/* Shared attachment preview controls used by every request module. */
.attachment-preview-actions{display:grid;gap:7px;margin-top:8px}
.attachment-preview-action{display:flex;align-items:center;gap:10px;min-width:0;padding:8px 10px;border:1px solid #dce8e3;border-radius:8px;background:#f8fbfa}
.attachment-preview-action>span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#526d65;font-size:12px}
.attachment-preview-action .button{min-height:32px;padding:5px 10px;font-size:12px}
.universal-attachment-preview-content{min-height:220px;max-height:65dvh;overflow:auto;background:#f5f8f6}
.universal-attachment-preview-content iframe{display:block;width:100%;height:62dvh;border:0;background:#fff}
.universal-attachment-preview-content img{display:block;max-width:100%;max-height:62dvh;margin:auto;object-fit:contain}
.universal-attachment-preview-content pre{margin:0;padding:20px;white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;color:#233f39;font:13px/1.6 Consolas,"Courier New",monospace}
.attachment-preview-fallback{display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:300px;padding:34px;text-align:center}
.attachment-preview-file-type{display:grid;place-items:center;width:68px;height:68px;margin-bottom:15px;border-radius:16px;background:#e2f1eb;color:#176e60;font-size:13px;font-weight:800;letter-spacing:.7px}
.attachment-preview-fallback strong{max-width:520px;overflow-wrap:anywhere;color:#23453e;font-size:16px}
.attachment-preview-fallback>span:not(.attachment-preview-file-type){margin-top:4px;color:#7a8e87;font-size:12px}
.attachment-preview-fallback p{max-width:520px;margin:18px 0 0;color:#647c74;font-size:13px}
.attachment-preview-error{color:#984f3c}
@media(max-width:600px){.attachment-preview-action{align-items:flex-start;flex-wrap:wrap}.attachment-preview-action>span{flex-basis:calc(100% - 80px)}.universal-attachment-preview-content iframe{height:55dvh}}

/* Friendly, consistent attachment controls across request modules. */
.document-upload-group{border-radius:16px;padding:20px;border-color:#d7e6e0;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.document-upload-group:focus-within{border-color:#77b9aa;box-shadow:0 0 0 4px #58ae9a14,0 10px 28px #173b350a}
.document-file-control,.booking-file-control,.realization-upload-card input[type=file],.trip-field>input[type=file]{border:1px solid #d7e6e0;border-radius:11px;background:#f3f8f6}
.document-file-control{min-height:64px;padding:10px 12px}
input[type=file]{color:#536d66;line-height:1.4}
input[type=file].has-attachment-preview{color:transparent}
input[type=file]::file-selector-button{min-height:38px;margin-right:12px;padding:8px 14px;border:1px solid #bad6cc;border-radius:9px;background:#fff;color:#176b5d;font:inherit;font-weight:650;box-shadow:0 2px 5px #173b3508;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}
input[type=file]::file-selector-button:hover{border-color:#68aa9b;background:#f6fbf9;box-shadow:0 4px 10px #173b3512}
.attachment-preview-actions{gap:9px;margin-top:10px}
.attachment-preview-action{gap:12px;min-height:66px;padding:10px 12px;border-color:#d8e7e1;border-radius:12px;background:#fff;box-shadow:0 3px 10px #173b3508;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.attachment-preview-action:hover{border-color:#9bcbbf;box-shadow:0 8px 20px #173b3510;transform:translateY(-1px)}
.attachment-preview-kind{display:grid;place-items:center;flex:0 0 42px!important;width:42px;height:42px;border-radius:10px;background:#e3f3ed;color:#167465!important;font-size:10px!important;font-weight:800;letter-spacing:.45px;overflow:visible!important}
.attachment-preview-copy{display:block;min-width:0;flex:1!important;color:inherit!important}
.attachment-preview-copy strong,.attachment-preview-copy small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.attachment-preview-copy strong{color:#24483f;font-size:13px;font-weight:650}
.attachment-preview-copy small{margin-top:3px;color:#7b8f89;font-size:11px}
.attachment-preview-action .button{min-height:36px;padding:7px 13px;border-radius:9px;background:#f8fbfa;color:#176b5d;font-weight:650}
.file-selection{display:grid;gap:8px;margin:10px 0}
.file-selection li{min-height:52px;margin:0;padding:9px 11px;border:1px solid #dce9e4;border-radius:10px;background:#fff;box-shadow:0 2px 8px #173b3507;color:#365b52;font-size:12px}
.file-selection li>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.file-selection-actions{display:flex;align-items:center;gap:5px;flex:0 0 auto;overflow:visible!important}
.file-selection-actions button{min-height:31px;padding:5px 9px;border:1px solid transparent;border-radius:7px;background:transparent;font:inherit;font-size:11px;font-weight:650;cursor:pointer}
.file-selection-actions .file-preview-button{border-color:#cce2da;color:#176b5d;background:#f5faf8}
.file-selection-actions .file-preview-button:hover{border-color:#75b4a5;background:#eaf6f1}
.file-selection-actions button:last-child:hover{background:#fff2ed;color:#934d39}
.document-file-control:has([data-multi-upload]){display:block}
.document-file-control:has([data-multi-upload]) .file-selection{width:100%}
@media(max-width:560px){.document-upload-group{padding:16px}.attachment-preview-action{align-items:center;flex-wrap:nowrap}.attachment-preview-action .button{width:auto}.attachment-preview-copy small{white-space:normal}.file-selection li{align-items:flex-start;flex-direction:column}.file-selection-actions{align-self:flex-end}.auto-attached-preview{margin-left:47px}}

/* Keep selected reply attachments visually connected to the editor. */
.reply-editor-shell>.reply-file-selection{display:grid;gap:7px;margin:0;padding:8px;border-top:1px solid #dfe9e5;background:#f8fbfa}
.reply-editor-shell>.reply-file-selection:empty{display:none}
.reply-editor-shell>.reply-file-selection .reply-file-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:54px;margin:0;padding:8px 10px;border:1px solid #d9e7e2;border-radius:9px;background:#fff;box-shadow:none}
.reply-file-badge{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:#e5f3ee;color:#176f60;font-size:10px;font-weight:800;letter-spacing:.35px;overflow:visible!important}
.reply-file-copy{display:block;min-width:0!important;overflow:hidden!important}
.reply-file-copy strong,.reply-file-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reply-file-copy strong{color:#24483f;font-size:12px;font-weight:700}
.reply-file-copy small{margin-top:2px;color:#80908b;font-size:10px}
.reply-editor-shell>.reply-file-selection .file-selection-actions{justify-self:end}
.reply-editor-shell>.reply-file-selection .file-selection-actions button{min-height:32px;padding:5px 9px}
@media(max-width:560px){.reply-editor-shell>.reply-file-selection .reply-file-row{grid-template-columns:34px minmax(0,1fr);align-items:center}.reply-file-badge{width:34px;height:34px}.reply-editor-shell>.reply-file-selection .file-selection-actions{grid-column:2;justify-self:start;align-self:auto}}

/* Attachment review cards shown inside the email step. */
.selected-document-list,.email-attachment-summary{display:grid;gap:9px;margin:10px 0 18px;padding:0}
.email-attachment-card,.trip-file-summary .email-attachment-card{display:flex;align-items:center;gap:12px;min-width:0;margin:0;padding:11px 12px;border:1px solid #d8e7e1;border-radius:12px;background:#fff;box-shadow:0 3px 10px #173b3508;list-style:none}
.selected-document.email-attachment-card{justify-content:flex-start}
.selected-document.email-attachment-card>span{min-width:0;text-align:left}
.email-attachment-card .trip-attachment-details{display:block;min-width:0;flex:1}
.email-attachment-card .trip-attachment-details strong,.email-attachment-card .trip-attachment-details small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.email-attachment-card .trip-attachment-details strong{color:#24483f;font-size:13px;font-weight:650}
.email-attachment-card .trip-attachment-details small{margin-top:3px;color:#758a83;font-size:11px}
.email-attachment-card>.button{flex:0 0 auto;min-height:36px;padding:7px 13px;border-radius:9px;font-size:12px;font-weight:650}
@media(max-width:560px){.email-attachment-card,.trip-file-summary .email-attachment-card{flex-wrap:wrap}.email-attachment-card .trip-attachment-details{flex-basis:calc(100% - 56px)}.email-attachment-card>.button{width:100%;margin:2px 0 0}}

/* Keep single-file agreement previews on the same row as the file picker. */
.document-file-control:has(.attachment-preview-actions--inline),.inline-file-preview-control{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:12px;padding:10px 12px;border:1px solid #d7e6e0;border-radius:11px;background:#f3f8f6}
.document-file-control:has(.attachment-preview-actions--inline)>input[type=file],.inline-file-preview-control>input[type=file]{width:128px;min-width:128px;padding:0;border:0;background:transparent;color:transparent}
.document-file-control:has(.attachment-preview-actions--inline)>input[type=file]::file-selector-button,.inline-file-preview-control>input[type=file]::file-selector-button{width:118px;margin:0}
.attachment-preview-actions--inline{min-width:0;margin:0}
.attachment-preview-actions--inline .attachment-preview-action{min-height:44px;padding:0;border:0;background:transparent;box-shadow:none;transform:none}
.attachment-preview-actions--inline .attachment-preview-kind{flex-basis:38px!important;width:38px;height:38px;border-radius:9px}
.attachment-preview-actions--inline .attachment-preview-action .button{min-height:34px;padding:6px 11px}
@media(max-width:560px){.document-file-control:has(.attachment-preview-actions--inline),.inline-file-preview-control{grid-template-columns:1fr}.document-file-control:has(.attachment-preview-actions--inline)>input[type=file],.inline-file-preview-control>input[type=file]{width:100%;min-width:0}.document-file-control:has(.attachment-preview-actions--inline)>input[type=file]::file-selector-button,.inline-file-preview-control>input[type=file]::file-selector-button{width:auto}.attachment-preview-actions--inline{padding-top:9px;border-top:1px solid #dce9e4}}

/* Clear sender, recipient, and message hierarchy on the request review page. */
.review-request-panel>h2{margin-bottom:22px}.review-address-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:20px;margin-bottom:22px;padding:18px 20px;border:1px solid #d7e7e1;border-radius:14px;background:#f4faf7}.review-address-person{display:flex;align-items:center;gap:13px;min-width:0}.review-address-person>div{min-width:0}.review-address-avatar{width:42px;height:42px;flex:0 0 42px;background:#dff1ea;color:#176b5d;font-size:12px}.review-address-person .meta-label{margin-bottom:3px;color:#698079;font-size:11px;font-weight:700;letter-spacing:1.1px;text-transform:uppercase}.review-address-person strong,.review-address-person small{display:block;min-width:0;overflow-wrap:anywhere}.review-address-person strong{color:#173b35;font-size:14px;font-weight:650}.review-address-person small{margin-top:2px;color:#899a94;font-size:11px}.review-address-extra{display:flex;grid-column:1/-1;flex-wrap:wrap;gap:10px 28px;margin:2px -2px -2px;padding:13px 2px 0;border-top:1px solid #dceae5;color:#536d65;font-size:12px}.review-address-extra span{display:flex;gap:8px;min-width:0;overflow-wrap:anywhere}.review-address-extra b{color:#789089;font-size:10px;letter-spacing:.8px;text-transform:uppercase}.review-details-card{margin-bottom:26px;overflow:hidden;border:1px solid #d7e5e0;border-radius:14px;background:#fff}.review-details-header{display:flex;align-items:center;gap:12px;padding:15px 19px;border-bottom:1px solid #dfebe6;background:#f8fbfa}.review-details-header .service-icon{width:38px;height:38px;border-radius:10px;background:#e2f2ec;color:#16776b}.review-details-header .service-icon .icon{width:20px;height:20px}.review-details-header .email-preview-heading{margin:0 0 2px;font-size:18px;line-height:1.3}.review-details-header p{margin:0;color:#7d908a;font-size:12px;line-height:1.45}.review-details-card .trip-email-preview{margin:0;padding:20px 22px 22px;color:#294a43;background:#fff;font-size:16px}.review-details-card .trip-email-preview>:last-child{margin-bottom:0}@media(max-width:700px){.review-address-card{grid-template-columns:1fr;padding:16px}.review-address-extra{grid-column:auto;flex-direction:column}.review-details-card .trip-email-preview{padding:17px;font-size:15px}.review-details-header .email-preview-heading{font-size:17px}}
.request-overview .detail-address-card{margin-top:22px}.request-overview .detail-email-card{margin-bottom:24px}.request-overview .detail-email-card .request-email-details{font-size:16px;line-height:1.65;color:#294a43}.request-overview .detail-email-card .request-email-details table{font-size:14px}.request-overview .detail-email-card .request-email-details>:last-child{margin-bottom:0}@media(max-width:700px){.request-overview .detail-email-card .request-email-details{font-size:15px}.request-overview .detail-email-card .request-email-details table{font-size:13px}}

/* Final layout override for automatically reused SPPD cards. */
.realization-upload-card .auto-attached-file{display:grid;grid-template-columns:40px minmax(0,1fr) auto auto;align-items:center;gap:10px;width:100%;min-height:72px;padding:11px 13px}.realization-upload-card .auto-attached-copy{min-width:0;flex:none}.realization-upload-card .auto-attached-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.realization-upload-card .auto-attached-preview{min-height:38px;margin:0;padding:7px 12px}.realization-upload-card .auto-attached-status{margin:0;white-space:nowrap}@media(max-width:600px){.realization-upload-card .auto-attached-file{grid-template-columns:40px minmax(0,1fr) auto}.realization-upload-card .auto-attached-preview{grid-column:2}.realization-upload-card .auto-attached-status{grid-column:3;grid-row:1}.realization-upload-card .auto-attached-copy strong{white-space:normal}}
/* Wide memo tables scroll inside the table area, not on the page body. */
.confirm-email-preview .email-table-scroll--wide,
.request-email-details .email-table-scroll--wide,
.conversation .message-body .email-table-scroll--wide{display:block;width:100%!important;max-width:100%!important;min-width:0;box-sizing:border-box;margin:12px 0;overflow-x:scroll!important;overflow-y:hidden!important;overscroll-behavior-inline:contain;scrollbar-gutter:stable;padding-bottom:4px;scrollbar-color:#748b85 #e5ece9;scrollbar-width:auto}
.confirm-email-preview .email-table-scroll--wide>.email-table,
.request-email-details .email-table-scroll--wide>.email-table,
.conversation .message-body .email-table-scroll--wide>.email-table{display:table;width:1600px!important;min-width:1600px!important;max-width:1600px!important;table-layout:auto}
.confirm-email-preview .email-table-scroll--wide::-webkit-scrollbar,
.request-email-details .email-table-scroll--wide::-webkit-scrollbar,
.conversation .message-body .email-table-scroll--wide::-webkit-scrollbar{height:13px}
.confirm-email-preview .email-table-scroll--wide::-webkit-scrollbar-track,
.request-email-details .email-table-scroll--wide::-webkit-scrollbar-track,
.conversation .message-body .email-table-scroll--wide::-webkit-scrollbar-track{border-radius:8px;background:#e5ece9}
.confirm-email-preview .email-table-scroll--wide::-webkit-scrollbar-thumb,
.request-email-details .email-table-scroll--wide::-webkit-scrollbar-thumb,
.conversation .message-body .email-table-scroll--wide::-webkit-scrollbar-thumb{border:2px solid #e5ece9;border-radius:8px;background:#748b85}

/* Same scroll container used by the rendered memo preview. */
.confirm-email-preview .memo-request-table-scroll,.request-email-details .memo-request-table-scroll,.conversation .message-body .memo-request-table-scroll{display:block;width:100%;max-width:100%;box-sizing:border-box;overflow-x:scroll!important;overflow-y:hidden!important;scrollbar-gutter:stable;padding-bottom:4px;scrollbar-color:#748b85 #e5ece9;scrollbar-width:auto}
.confirm-email-preview .memo-request-table-scroll>.memo-request-table,.request-email-details .memo-request-table-scroll>.memo-request-table,.conversation .message-body .memo-request-table-scroll>.memo-request-table{width:1600px!important;min-width:1600px!important;max-width:none}
.confirm-email-preview .memo-request-table-scroll::-webkit-scrollbar,.request-email-details .memo-request-table-scroll::-webkit-scrollbar,.conversation .message-body .memo-request-table-scroll::-webkit-scrollbar{height:13px}
.confirm-email-preview .memo-request-table-scroll::-webkit-scrollbar-track,.request-email-details .memo-request-table-scroll::-webkit-scrollbar-track,.conversation .message-body .memo-request-table-scroll::-webkit-scrollbar-track{background:#e5ece9}
.confirm-email-preview .memo-request-table-scroll::-webkit-scrollbar-thumb,.request-email-details .memo-request-table-scroll::-webkit-scrollbar-thumb,.conversation .message-body .memo-request-table-scroll::-webkit-scrollbar-thumb{border:2px solid #e5ece9;border-radius:8px;background:#748b85}
.signature-person-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;grid-column:1 / -2;min-width:0}.signature-person-fields input[readonly]{background:#f1f5f3;color:#63756f;cursor:default}
.signature-name-list[hidden],.signature-add[hidden]{display:none!important}
.signature-group-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px;font-weight:700}.signature-group-title small{color:var(--muted);font-size:12px;font-weight:400}.signature-select-hint{grid-column:1/-1;margin:4px 0 -4px;color:var(--muted);font-size:13px}
.signature-selector-bar{display:grid;grid-template-columns:repeat(3,1fr);grid-column:1/-1;margin:0 0 4px;border:1px solid #cbdfea;border-radius:10px;background:#f5faff}.signature-selector-bar label{display:flex;align-items:center;justify-content:center;gap:10px;padding:16px 12px;font-weight:500}.signature-selector-bar label+label{border-left:1px solid #d7e5ee}.signature-selector-bar input{width:20px;height:20px;margin:0;accent-color:#16776b}.signature-group-card:not(.signature-group-card--applicant)>label.signature-group-toggle{display:none}
@media(max-width:650px){.signature-selector-bar{grid-template-columns:1fr}.signature-selector-bar label+label{border-top:1px solid #d7e5ee;border-left:0}}
.signature-group-grid{display:flex;flex-direction:column}.signature-select-hint{order:1}.signature-selector-bar{order:2}.signature-group-card--applicant{order:3;width:100%;align-self:stretch}.signature-group-card:not(.signature-group-card--applicant){order:4;width:100%}.signature-group-card--applicant .signature-name-list{padding:16px 22px}.signature-group-card--applicant .signature-person-fields{grid-template-columns:1fr 1fr}.signature-group-card--applicant .signature-name-row{grid-template-columns:1fr}
.signature-group-grid{gap:16px}.signature-selector-bar{position:relative;overflow:hidden;margin:2px 0 4px;border:1px solid #c9dfe8;border-radius:14px;background:#f7fbfd;box-shadow:0 4px 14px #173b3510}.signature-selector-bar label{min-height:58px;padding:14px 18px;color:#25443f;cursor:pointer;transition:background .16s ease,color .16s ease}.signature-selector-bar label:hover{background:#eef8f5}.signature-selector-bar label:has(input:checked){background:#e2f3ed;color:#126f63}.signature-selector-bar label:has(input:disabled){cursor:default}.signature-selector-bar input{appearance:none;position:relative;width:21px;height:21px;border:2px solid #9aaba8;border-radius:6px;background:#fff;flex:0 0 21px}.signature-selector-bar input:checked{border-color:#168171;background:#168171}.signature-selector-bar input:checked::after{content:'✓';position:absolute;inset:-2px 0 0;color:#fff;font-size:16px;font-weight:800;text-align:center}.signature-group-card{overflow:hidden;padding:0;border:1px solid #d2e2df;border-radius:14px;background:#fbfefd;box-shadow:0 5px 18px #173b350b}.signature-group-card--applicant{border-color:#b9ddd4;background:#f8fcfa}.signature-group-title{margin:0;padding:10px 20px;border-bottom:1px solid #dce9e5;background:#f2f8f6;font-size:16px;color:#163d36}.signature-group-title small{font-size:12px;color:#70847e}.signature-group-card .signature-name-list{padding:18px 22px}.signature-group-card .signature-name-row{margin:0}.signature-group-card .signature-person-fields{width:100%;gap:14px}.signature-group-card .signature-person-fields input{min-height:46px;padding:11px 14px;border-radius:9px}.signature-group-card .signature-add{margin:0 22px 18px;min-height:42px;border-radius:9px}.signature-group-card:not(.signature-group-card--applicant)>label.signature-group-toggle{display:none}.signature-select-hint{margin:10px 0 0;font-size:14px;font-weight:650;color:#4d6b65}

/* Only long memo tables overflow; short tables stay clean and full width. */
.memo-request-table-scroll,.email-table-scroll--wide{overflow-x:auto!important;overflow-y:hidden!important}
.memo-request-table-scroll>.memo-request-table,.email-table-scroll--wide>.email-table{width:max-content!important;min-width:100%!important;max-width:none!important}
.memo-request-table-scroll>.memo-request-table th,.memo-request-table-scroll>.memo-request-table td,.email-table-scroll--wide>.email-table th,.email-table-scroll--wide>.email-table td{min-width:125px}

/* Internal Memo emails carry many columns: keep them wide instead of squeezing text. */
.email-table-scroll--wide>.email-table{width:2400px!important;min-width:2400px!important}

/* Signature cards stay full width; only the two person fields share the row. */
.signature-group-card--applicant,
.signature-group-card--applicant .signature-name-row,
.signature-group-card--applicant .signature-person-fields{width:100%;min-width:0}
.signature-group-card--applicant .signature-person-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.signature-group-card--applicant .signature-person-fields{grid-column:1 / -1!important}
.signature-group-card--applicant .signature-person-fields input{width:100%;min-width:0}
.memo-request-table-section{margin-top:14px}
.petty-fields{display:flex;flex-direction:column;gap:20px}.petty-field-section{padding:20px;border:1px solid #dce8e2;border-radius:12px;background:#f8fbfa}.petty-field-section .invoice-editor-heading{margin-bottom:16px}.petty-field-section .invoice-editor-heading h3{margin:0;color:#234139}.petty-field-section input,.petty-field-section select{background:#fff}.petty-account-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--memo-field-row-gap) var(--memo-field-column-gap)}.petty-account-grid label{margin:0;min-width:0}.petty-account-grid input{width:100%;margin-top:6px}.petty-account-half{grid-column:span 3}.petty-account-third{grid-column:span 2}@media(max-width:800px){.petty-account-grid{grid-template-columns:1fr}.petty-account-half,.petty-account-third{grid-column:auto}}@media(max-width:600px){.petty-field-section{padding:16px}}
.vendor-fields .purchase-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.vendor-activity-column{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--memo-field-column-gap);min-width:0}.vendor-activity-column>label,.vendor-activity-column>.memo-date-range{grid-column:auto;margin:0}.vendor-fields .purchase-grid>label{grid-column:span 3}.vendor-fields .purchase-grid>.vendor-identity-half{grid-column:span 3}.vendor-fields .purchase-grid>.vendor-identity-field{grid-column:span 2}.vendor-fields .purchase-grid>.memo-description,.vendor-fields .purchase-grid>.vendor-daf-upload{grid-column:1/-1}.vendor-daf-upload{margin-top:2px}@media(max-width:900px){.vendor-fields .purchase-grid,.vendor-activity-column{grid-template-columns:1fr}.vendor-fields .purchase-grid>label,.vendor-fields .purchase-grid>.vendor-identity-half,.vendor-fields .purchase-grid>.vendor-identity-field{grid-column:auto}}
.memo-upload-group{min-height:0;background:#fff}.memo-upload-group .document-file-control{margin-top:0}.memo-upload-group .field-hint{margin:0}
.memo-request-table-section-title{margin-top:18px!important}
.money-input-wrap{position:relative;width:100%;margin-top:6px}.money-input-wrap .money-input-prefix{position:absolute;z-index:1;left:13px;top:50%;transform:translateY(-50%);color:#52656b;font-size:14px;font-weight:600;pointer-events:none}.money-input-wrap input[data-money-input]{width:100%;margin-top:0!important;padding-left:45px!important}
.memo-date-range{grid-column:1/-1;position:relative;min-width:0;margin:0}.memo-date-range label{display:block;margin:0}.memo-date-range label>span:first-child{display:block}.memo-date-range-trigger{width:100%;margin-top:6px;cursor:pointer;background:#fff}.memo-date-range-source{position:absolute!important;width:1px!important;height:1px!important;left:0!important;bottom:0!important;padding:0!important;border:0!important;opacity:0!important;pointer-events:none!important}
.memo-date-range--inline .memo-date-range-label{display:block;margin-bottom:6px;font-weight:600}.memo-date-range-fields{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px}.memo-date-range-fields input[type="date"]{width:100%;min-width:0;margin:0}.memo-date-range-separator{color:#60736e;font-size:13px;font-weight:700;text-align:center}@media(max-width:560px){.memo-date-range-fields{grid-template-columns:1fr}.memo-date-range-separator{line-height:1;text-transform:uppercase}}
.memo-date-range--single .memo-date-range-label{display:block;margin-bottom:6px;font-weight:600}.memo-date-range--single .memo-date-range-input{width:100%;margin:0;background:#fff}
.memo-repeat-card{grid-column:1/-1;margin-top:18px;padding:24px 28px;border:1px solid #d4e5df;border-left:4px solid #238577;border-radius:14px;background:#f8fbfa}.memo-repeat-card.purchase-grid{display:grid}.memo-repeat-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding-bottom:5px;border-bottom:1px solid #dce7e3}.memo-repeat-heading h3{margin:0;color:#174b43}.memo-repeat-add{margin-top:16px}.memo-repeat-heading .button:disabled{visibility:hidden}@media(max-width:600px){.memo-repeat-card{padding:18px}.memo-repeat-heading{align-items:flex-start}}
:is(.boarding-fields,.upgrade-flight-fields,.extend-fields,.reschedule-fields,.late-realization-fields) .memo-repeat-card{grid-template-columns:repeat(6,minmax(0,1fr))}:is(.boarding-fields,.upgrade-flight-fields,.extend-fields,.reschedule-fields,.late-realization-fields) .memo-repeat-card>.memo-repeat-heading{order:0}:is(.extend-fields,.reschedule-fields,.late-realization-fields) .memo-repeat-card>label:has(input[name="memo_travel_number"]),:is(.boarding-fields,.upgrade-flight-fields) .memo-repeat-card>label:has(input[name="memo_flight_details"]){grid-column:span 2;order:1}:is(.boarding-fields,.upgrade-flight-fields,.extend-fields,.reschedule-fields,.late-realization-fields) .memo-repeat-card>.memo-route-field{grid-column:span 4;order:2}:is(.boarding-fields,.upgrade-flight-fields,.extend-fields,.reschedule-fields,.late-realization-fields) .memo-repeat-card>.memo-date-range{grid-column:span 3;order:3}:is(.boarding-fields,.upgrade-flight-fields,.late-realization-fields) .memo-repeat-card>.memo-description,.reschedule-fields .memo-repeat-card>label:has(input[name="memo_additional_cost"]){grid-column:span 3;order:3}.extend-fields .memo-repeat-card>.memo-description,.reschedule-fields .memo-repeat-card>.memo-description{grid-column:1/-1;order:4}@media(max-width:800px){:is(.boarding-fields,.upgrade-flight-fields,.extend-fields,.reschedule-fields,.late-realization-fields) .memo-repeat-card{grid-template-columns:1fr}:is(.boarding-fields,.upgrade-flight-fields,.extend-fields,.reschedule-fields,.late-realization-fields) .memo-repeat-card>label,:is(.boarding-fields,.upgrade-flight-fields,.extend-fields,.reschedule-fields,.late-realization-fields) .memo-repeat-card>.memo-route-field,:is(.boarding-fields,.upgrade-flight-fields,.extend-fields,.reschedule-fields,.late-realization-fields) .memo-repeat-card>.memo-date-range{grid-column:auto}}
.reschedule-fields .memo-repeat-card>.memo-date-range:has(input[name="memo_travel_start_date"]),.reschedule-fields .memo-repeat-card>.memo-date-range:has(input[name="memo_updated_travel_start_date"]),.reschedule-fields .memo-repeat-card>label:has(input[name="memo_additional_cost"]){grid-column:span 2;order:3}
@media(max-width:800px){.reschedule-fields .memo-repeat-card>.memo-date-range:has(input[name="memo_travel_start_date"]),.reschedule-fields .memo-repeat-card>.memo-date-range:has(input[name="memo_updated_travel_start_date"]),.reschedule-fields .memo-repeat-card>label:has(input[name="memo_additional_cost"]){grid-column:auto}}
.boarding-fields .memo-repeat-card>.memo-date-range,:is(.boarding-fields,.upgrade-flight-fields) .memo-repeat-card>.memo-description{grid-column:1/-1}.upgrade-flight-fields .memo-repeat-card>.memo-date-range,.upgrade-flight-fields .memo-repeat-card>.upgrade-cost-center{grid-column:span 3;order:3}.upgrade-flight-fields .upgrade-cost-center>select,.upgrade-flight-fields .upgrade-cost-center>input{width:100%;margin-top:6px}@media(max-width:800px){.upgrade-flight-fields .memo-repeat-card>.upgrade-cost-center{grid-column:auto}}
.over-budget-hotel-fields .memo-repeat-card>.memo-date-range,.over-budget-hotel-fields .memo-repeat-card>.hotel-cost-center{grid-column:auto}.over-budget-hotel-fields .hotel-cost-center>select,.over-budget-hotel-fields .hotel-cost-center>input{width:100%;margin-top:6px}
.car-rental-fields .memo-repeat-card>.memo-date-range,.car-rental-fields .memo-repeat-card>.rental-cost-center{grid-column:auto}.car-rental-fields .rental-cost-center>select,.car-rental-fields .rental-cost-center>input{width:100%;margin-top:6px}
.late-realization-type{grid-column:1/-1;margin:0;padding:0;border:0}.late-realization-type legend{margin-bottom:8px;font-weight:600;font-size:15px}.late-realization-options{display:flex;flex-wrap:wrap;gap:12px}.late-realization-options label{display:flex;align-items:center;gap:10px;min-width:210px;margin:0;padding:14px 18px;border:1px solid #d6e2de;border-radius:10px;background:#fff;cursor:pointer}.late-realization-options label:has(input:checked){border-color:#238577;background:#edf8f5;color:#176f64}.late-realization-options input{width:18px;height:18px;margin:0;accent-color:#198577}.late-realization-fields .memo-repeat-card>.memo-route-field{grid-column:1/-1;order:1}.late-realization-fields .memo-repeat-card>label:has(input[name="memo_travel_number"]),.late-realization-fields .memo-repeat-card>.memo-date-range{grid-column:span 3;order:2}.late-realization-fields .memo-repeat-card>.memo-description{grid-column:1/-1;order:3}.late-non-trip-fields{grid-template-columns:1fr}.late-non-trip-fields>.memo-description{grid-column:1/-1}@media(max-width:800px){.late-realization-fields .memo-repeat-card>label:has(input[name="memo_travel_number"]),.late-realization-fields .memo-repeat-card>.memo-date-range{grid-column:auto}.late-realization-options{display:grid;grid-template-columns:1fr}.late-realization-options label{min-width:0}}
.late-realization-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.late-realization-options label{position:relative;min-width:0;padding:16px 18px 16px 50px;font-weight:600;box-shadow:0 1px 2px #183b3212}.late-realization-options label::before{content:"";position:absolute;left:18px;width:20px;height:20px;border:2px solid #9baca7;border-radius:50%;background:#fff;box-sizing:border-box}.late-realization-options label:has(input:checked)::before{border:6px solid #198577}.late-realization-options input{position:absolute;width:1px!important;height:1px!important;margin:0!important;opacity:0}.late-realization-fields .memo-repeat-card>label{grid-column:span 3}.late-business-entry,.late-non-trip-entry{grid-column:1/-1;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--memo-field-row-gap) var(--memo-field-column-gap)}.late-business-entry>label:has(input[name="memo_travel_number"]){grid-column:span 2}.late-business-entry>.memo-route-field{grid-column:span 4}.late-business-entry>.memo-date-range,.late-business-entry>.memo-description,.late-non-trip-entry>.memo-description{grid-column:1/-1}.late-non-trip-entry{grid-template-columns:1fr}@media(max-width:800px){.late-realization-options{grid-template-columns:1fr}.late-realization-fields .memo-repeat-card>label,.late-business-entry>label:has(input[name="memo_travel_number"]),.late-business-entry>.memo-route-field,.late-business-entry>.memo-date-range{grid-column:1/-1}.late-business-entry{grid-template-columns:1fr}}
.late-ca-date-row{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--memo-field-column-gap)}.late-ca-date-row label,.late-ca-commitment-full{margin:0}.late-non-trip-entry>.late-ca-commitment-full{grid-column:1/-1}@media(max-width:800px){.late-ca-date-row{grid-template-columns:1fr}}
.memo-repeat-shared{margin-bottom:4px}
.memo-range-calendar{position:fixed;z-index:1200;inset:auto;margin:0;width:min(390px,calc(100% - 28px));padding:20px;border:1px solid #d5e4df;border-radius:16px;background:#fff;box-shadow:0 18px 48px #17372e2e}.memo-range-calendar::backdrop{background:transparent}.memo-calendar-header{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;text-align:center}.memo-calendar-header button{display:grid;place-items:center;width:42px;height:38px;padding:0 0 7px 0;border:0;border-radius:8px;background:#eef6f2;color:#176f64;font-size:25px;line-height:1}.memo-range-calendar>p{margin:10px 0;color:#6c7e78;font-size:13px;text-align:center}.memo-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.memo-calendar-grid>span{padding:8px 0;color:#81918c;font-size:12px;font-weight:700;text-align:center}.memo-calendar-grid>i{display:block}.memo-calendar-grid>button{height:40px;padding:0;border:0;border-radius:8px;background:#fff;color:#1b343b;font-size:14px}.memo-calendar-grid>button:hover{background:#e7f3ed}.memo-calendar-grid>button.in-range{border-radius:0;background:#dcefe6}.memo-calendar-grid>button.range-start,.memo-calendar-grid>button.range-end{background:#16776b;color:#fff;font-weight:700}.memo-calendar-grid>button.range-start{border-radius:9px 0 0 9px}.memo-calendar-grid>button.range-end{border-radius:0 9px 9px 0}.memo-calendar-grid>button.range-start.range-end{border-radius:9px}.memo-calendar-actions{display:flex;justify-content:flex-end;margin-top:16px;padding-top:14px;border-top:1px solid #e3ebe8}
.single-date-calendar .single-date-actions{justify-content:space-between}.single-date-calendar .single-date-actions .button{min-width:90px}
.memo-route-field{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);align-items:end;gap:14px}.memo-route-field label{margin:0}.memo-route-field input{width:100%;margin-top:6px}.memo-route-arrow{display:grid;place-items:center;min-height:43px;color:#168274;font-size:27px}@media(max-width:600px){.memo-route-field{grid-template-columns:1fr}.memo-route-arrow{min-height:20px;transform:rotate(90deg)}}
.memo-copy .memo-request-table thead th,.request-memo-details .memo-request-table thead th{text-align:center!important;vertical-align:middle}
.memo-purchase-meta{margin-bottom:14px}.memo-purchase-meta-table{width:100%;min-width:620px}.memo-purchase-meta-table th,.memo-purchase-meta-table td{width:33.333%;text-align:center!important}.memo-purchase-totals{display:grid;gap:3px;margin:10px 0 14px}.memo-purchase-totals .memo-request-total{margin-top:0;line-height:1.25}

/* Memo metadata and signature picker refinements. */
.memo-purchase-meta{overflow:hidden!important;scrollbar-gutter:auto!important}
.memo-purchase-meta-table{width:100%!important;min-width:100%!important;table-layout:fixed}
.signature-name-picker{position:relative;min-width:0}
.signature-person-results{position:absolute;z-index:20;top:calc(100% + 6px);right:0;left:0;overflow:hidden;border:1px solid #cfe1dc;border-radius:10px;background:#fff;box-shadow:0 12px 28px #173b3526}
.signature-person-option{display:flex;width:100%;padding:10px 12px;border:0;border-bottom:1px solid #edf3f1;background:#fff;color:var(--ink);text-align:left;cursor:pointer;flex-direction:column;align-items:flex-start}
.signature-person-option:last-child{border-bottom:0}
.signature-person-option:hover,.signature-person-option:focus{background:#eaf6f2;outline:0}
.signature-person-option strong,.signature-person-option small{display:block;line-height:1.35}
.signature-person-option strong{font-size:14px;font-weight:500}
.signature-person-option small{color:#6c7f79;font-size:12px;font-weight:400}
.signature-group-card[hidden],.signature-preview-wrap[hidden]{display:none!important}
.memo-document-canvas .memo-paper:not(:has(>.memo-margin-attachment)):has(>.signature-preview-wrap){display:flex;min-height:1060px;flex-direction:column}.memo-document-canvas .memo-paper:not(:has(>.memo-margin-attachment))>.signature-preview-wrap{margin-top:auto;padding-top:42px}
.signature-group-grid{isolation:isolate}
.signature-group-card{position:relative;overflow:visible}
.signature-group-card:has(.signature-person-results:not([hidden])){z-index:30}
.signature-person-fields{position:relative}
.signature-name-picker{z-index:1}
.signature-person-results{z-index:50;max-height:280px;overflow-y:auto}
@media(max-width:760px){.signature-person-fields,.signature-group-card--applicant .signature-person-fields{grid-template-columns:1fr}.signature-name-row{grid-template-columns:minmax(0,1fr) 34px}}
.margin-editor{margin-top:22px;padding:20px;border:1px solid #d6e5e0;border-radius:14px;background:#f8fbfa}.margin-paste-zone{margin:14px 0;padding:16px;border:1.5px dashed #82b8a9;border-radius:10px;background:#eef8f4;color:#426b61;font-size:14px;text-align:center;cursor:text}.margin-paste-zone:focus{outline:3px solid #52bbaa;outline-offset:2px}.margin-table-scroll{overflow-x:auto;border:1px solid #d7e2de;border-radius:10px;background:#fff}.margin-input-table{width:max-content;min-width:100%;font-size:12px}.margin-input-table th{min-width:130px;padding:10px 8px;background:#dfece7;color:#173d36;text-align:center;white-space:nowrap}.margin-input-table th:nth-child(2){min-width:200px}.margin-input-table th:nth-last-child(-n+8):not(:last-child){background:#fff2a8}.margin-input-table th:last-child{min-width:42px}.margin-input-table td{padding:6px 5px;text-align:right;white-space:nowrap}.margin-input-table td:nth-child(-n+4){text-align:left}.margin-input-table input{min-width:120px;height:38px;padding:7px 8px;border-radius:6px;font-size:12px}.margin-input-table td:nth-child(2) input{min-width:190px}.margin-input-table [data-margin-output]{min-width:112px;background:#fff8d8;font-variant-numeric:tabular-nums}.margin-input-table .invoice-remove{position:static}.margin-input-table tfoot th,.margin-input-table tfoot td{padding:10px 8px;border-top:2px solid #9cafaa;font-weight:750;text-align:center;white-space:nowrap}.margin-input-table .margin-grand-total th{background:#fff200;color:#172b35}.memo-margin-table{min-width:1780px!important}.memo-margin-table td,.memo-margin-table th{padding:8px 10px!important;font-size:11px!important;white-space:nowrap}.memo-margin-table tfoot th,.memo-margin-table tfoot td{font-weight:750;background:#fff}.memo-margin-table tfoot th{background:#fff200!important;text-align:center}
.memo-form-panel input::placeholder,.memo-form-panel textarea::placeholder{font-family:inherit;font-weight:400!important;font-style:normal;opacity:1}
.margin-input-table th:nth-child(2){min-width:130px}.margin-input-table td:nth-child(2) input{min-width:120px}
.memo-margin-email-image{margin-top:22px}.memo-margin-email-image>strong{display:block;margin-bottom:10px}.memo-margin-email-image img{display:block;width:100%;height:auto;border:1px solid #d4e1dc;border-radius:8px;background:#fff}
.margin-input-table td:nth-child(n+4):nth-child(-n+14) input{text-align:right;font-variant-numeric:tabular-nums}.margin-input-table tfoot td{text-align:right!important;font-variant-numeric:tabular-nums}.memo-margin-table tbody td:nth-child(4),.memo-margin-table tbody td:nth-child(5),.memo-margin-table tbody td:nth-child(6),.memo-margin-table tbody td:nth-child(8),.memo-margin-table tbody td:nth-child(n+9),.memo-margin-table tfoot td{text-align:right!important;font-variant-numeric:tabular-nums}
.margin-input-table thead .margin-group-header th[colspan],.memo-margin-table thead .margin-group-header th[colspan]{background:#ddf20b!important;color:#173b35}.margin-input-table thead tr:nth-child(2) th,.memo-margin-table thead tr:nth-child(2) th{background:#e8f79a!important}.margin-input-table th,.memo-margin-table th{white-space:normal!important;line-height:1.25}.memo-margin-table tbody td:nth-child(1),.memo-margin-table tbody td:nth-child(2),.memo-margin-table tbody td:nth-child(3),.memo-margin-table tbody td:nth-child(7){max-width:190px;white-space:normal!important;line-height:1.25;overflow-wrap:anywhere}
.margin-editor-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.margin-input-table th:first-child,.margin-input-table td:first-child{min-width:44px;width:44px;text-align:center}.margin-input-table th:nth-child(2),.margin-input-table td:nth-child(2){min-width:52px;width:52px;text-align:center}.margin-input-table input[type="checkbox"]{min-width:18px;width:18px;height:18px;padding:0}.margin-input-table td:nth-child(3),.margin-input-table td:nth-child(4),.margin-input-table td:nth-child(5){text-align:left}.margin-input-table td:nth-child(3) input,.margin-input-table td:nth-child(4) input,.margin-input-table td:nth-child(5) input{text-align:left}.margin-money-input,.margin-percent-input{display:flex;align-items:center;min-width:130px;height:38px;border:1px solid #d4e1dc;border-radius:6px;background:#fff;overflow:hidden}.margin-money-input>span,.margin-percent-input>span{flex:0 0 auto;padding:0 7px;color:#60796f}.margin-money-input input,.margin-percent-input input{min-width:0!important;height:36px!important;padding:7px 6px!important;border:0!important;border-radius:0!important;text-align:right}.margin-money-input input:focus,.margin-percent-input input:focus{outline:0}.margin-money-input:focus-within,.margin-percent-input:focus-within{border-color:#168b78;box-shadow:0 0 0 2px #168b7822}.memo-margin-table{min-width:2050px!important}.memo-margin-table tbody td:nth-child(1){text-align:center!important}.memo-margin-table tbody td:nth-child(2),.memo-margin-table tbody td:nth-child(3),.memo-margin-table tbody td:nth-child(4){max-width:190px;white-space:normal!important;line-height:1.25;overflow-wrap:anywhere}.memo-margin-table tbody td:nth-child(5),.memo-margin-table tbody td:nth-child(6),.memo-margin-table tbody td:nth-child(7),.memo-margin-table tbody td:nth-child(8),.memo-margin-table tbody td:nth-child(9),.memo-margin-table tbody td:nth-child(10),.memo-margin-table tbody td:nth-child(n+11),.memo-margin-table tfoot td{text-align:right!important;font-variant-numeric:tabular-nums}
.margin-input-table{border-collapse:collapse}.margin-input-table th,.margin-input-table td{border:1px solid #9fb3ac!important}.margin-input-table thead th{border-color:#829b93!important}.margin-input-table tfoot th,.margin-input-table tfoot td{border-color:#829b93!important}.memo-margin-table{border-collapse:collapse}.memo-margin-table th,.memo-margin-table td{border:1px solid #91a69f!important}.memo-margin-table thead th{border-color:#738d84!important}
.margin-input-table td:nth-child(9) input{text-align:left!important}.memo-margin-table tbody td:nth-child(8){text-align:left!important}
.memo-margin-attachment{margin-top:44px;padding-top:24px;border-top:1px solid #d4e1dc}.memo-margin-attachment .memo-request-table-title{margin-top:0}@media print{.memo-margin-attachment{break-before:page;page-break-before:always;margin-top:0;padding-top:0;border-top:0}}
.memo-margin-email-preview{display:block;margin:16px 0;padding:12px;border:1px solid #d4e1dc;border-radius:9px;background:#fff}.memo-margin-email-preview>strong{display:block;margin-bottom:9px}.memo-margin-email-preview img{display:block;width:100%;height:auto;border:1px solid #dce6e2;border-radius:6px}
.crm-realization-fields{display:flex;flex-direction:column;gap:22px}.crm-summary-section,.crm-detail-editor{padding:20px;border:1px solid #b9ddd4;border-left:4px solid #238577;border-radius:14px;background:#f8fbfa}.crm-summary-section>.invoice-editor-heading{margin-bottom:24px}.crm-summary-section>.invoice-editor-heading h3{line-height:1.2}.crm-summary-section>.invoice-editor-heading small{margin-top:7px}.crm-summary-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.crm-summary-grid>label{grid-column:span 2}.crm-summary-grid>label:nth-child(4),.crm-summary-grid>label:nth-child(5),.crm-summary-grid>label:nth-child(9),.crm-summary-grid>label:nth-child(10){grid-column:span 3}.crm-summary-grid input[readonly]{background:#eef3f1;font-weight:700}.crm-detail-editor{margin-top:0}.crm-detail-table{min-width:1550px}.crm-detail-table th:nth-child(3),.crm-detail-table th:nth-child(5),.crm-detail-table th:nth-child(9){min-width:210px}.crm-detail-table td{text-align:left!important}.crm-detail-table input{min-width:150px}.crm-detail-table th:first-child,.crm-detail-table td:first-child,.crm-detail-table td:nth-child(2){width:45px;text-align:center!important}.crm-detail-table input[type="checkbox"]{min-width:18px;width:18px;height:18px;padding:0}.crm-detail-table td:last-child{width:48px;text-align:center!important}@media(max-width:900px){.crm-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-summary-grid>label,.crm-summary-grid>label:nth-child(4),.crm-summary-grid>label:nth-child(5),.crm-summary-grid>label:nth-child(9),.crm-summary-grid>label:nth-child(10){grid-column:auto}}@media(max-width:600px){.crm-summary-grid{grid-template-columns:1fr}.crm-summary-section,.crm-detail-editor{padding:16px}}
.so-foc-fields>.purchase-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.so-foc-fields>.purchase-total{display:none}.so-item-editor{grid-column:1/-1}.so-item-table{min-width:1450px}.so-item-table th:nth-child(3),.so-item-table th:nth-child(4),.so-item-table th:nth-child(9){min-width:200px}.so-item-table td{text-align:left!important}.so-item-table th:first-child,.so-item-table td:first-child,.so-item-table td:nth-child(2){width:44px;text-align:center!important}.so-item-table input{min-width:130px}.so-item-table input[type="checkbox"]{min-width:18px;width:18px;height:18px;padding:0}.so-item-table td:nth-child(8),.so-item-table tfoot th{text-align:right!important;font-weight:750}.so-item-table td:last-child{width:48px;text-align:center!important}@media(max-width:850px){.so-foc-fields>.purchase-grid{grid-template-columns:1fr}}
.margin-upload-zone{display:grid;grid-template-columns:minmax(190px,auto) 1fr;align-items:center;gap:8px 16px;margin:0 0 16px;padding:16px;border:1px solid #cfe0da;border-radius:10px;background:#fff}.margin-upload-zone label{grid-column:1/-1;margin:0;font-weight:700}.margin-upload-zone input[type=file]{width:100%;min-width:0;padding:9px 10px;border:1px solid #d6e3df;border-radius:8px;background:#f7fbf9}.margin-upload-zone input::file-selector-button{margin-right:10px;padding:7px 10px;border:1px solid #bdd8ce;border-radius:6px;background:#eef8f4;color:#176d5f;cursor:pointer}.margin-upload-zone small{color:#6c817a;line-height:1.45}@media(max-width:700px){.margin-upload-zone{grid-template-columns:1fr}}
.margin-upload-zone.document-upload-group{display:flex;align-items:stretch;gap:16px;min-height:0;margin:0 0 16px;padding:20px;border-radius:16px}.margin-upload-zone.document-upload-group .document-upload-heading{margin:0!important}.margin-upload-zone.document-upload-group .document-file-control{width:100%;margin:0}.margin-upload-zone.document-upload-group input[type=file]{padding:0;border:0;background:transparent}.margin-upload-zone.document-upload-group .field-hint{margin:0;color:#6c817a;line-height:1.45}
.margin-import-options{display:grid;grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);align-items:stretch;gap:12px;margin:14px 0 18px}.margin-import-options>.margin-paste-zone,.margin-import-options>.margin-upload-zone{box-sizing:border-box;width:100%;min-height:190px;margin:0}.margin-import-options>.margin-paste-zone{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:22px}.margin-import-options>.margin-paste-zone p{margin:8px 0 0}.margin-import-options>.margin-upload-zone{justify-content:center;padding:22px}.margin-import-or{display:flex;align-items:center;justify-content:center;color:#668078;font-size:12px;font-weight:800;letter-spacing:.8px}.margin-import-or::before,.margin-import-or::after{width:1px;height:100%;background:#d2dfda;content:""}.margin-import-or{flex-direction:column;gap:9px}.margin-import-or::before,.margin-import-or::after{flex:1}@media(max-width:820px){.margin-import-options{grid-template-columns:1fr;gap:10px}.margin-import-options>.margin-paste-zone,.margin-import-options>.margin-upload-zone{min-height:170px}.margin-import-or{flex-direction:row}.margin-import-or::before,.margin-import-or::after{width:auto;height:1px;flex:1}}
.margin-summary-heading{align-items:center}.margin-summary-heading .button{flex:0 0 auto;margin-left:auto;white-space:nowrap}.margin-manual-actions{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 14px;padding:14px 16px;border:1px solid #d6e4df;border-radius:10px;background:#fff}.margin-manual-actions strong{display:block;color:#244b42;font-size:14px}.margin-manual-actions p{margin:3px 0 0;color:#6c817a;font-size:12px;line-height:1.45}.margin-editor-actions--below{display:flex;flex:0 0 auto;justify-content:flex-end;gap:10px;margin:0 0 0 auto}@media(max-width:700px){.margin-summary-heading{align-items:stretch}.margin-summary-heading .button{width:100%;margin-left:0}.margin-manual-actions{align-items:stretch;flex-direction:column;gap:12px}.margin-editor-actions--below{display:grid;width:100%;grid-template-columns:1fr 1fr;margin-left:0}.margin-editor-actions--below .button{width:100%}}
.margin-detail-editor{margin-top:28px}.memo-margin-detail-input{min-width:2250px!important}.memo-margin-detail-input th:nth-child(3),.memo-margin-detail-input th:nth-child(4),.memo-margin-detail-input th:nth-child(5),.memo-margin-detail-input th:nth-child(6){min-width:170px}.memo-margin-detail-input input{min-width:130px}.memo-margin-detail-input input[type="checkbox"]{min-width:18px;width:18px;height:18px;padding:0}.memo-margin-detail-input td:nth-child(2){text-align:center!important}.memo-margin-detail-input td:nth-child(n+7){text-align:right!important}.memo-margin-detail-input tfoot th,.memo-margin-detail-input tfoot td{font-weight:750}
.memo-margin-detail-input input[type="checkbox"]{position:relative;z-index:3;display:inline-block!important;pointer-events:auto!important;cursor:pointer;accent-color:#168577}
.margin-input-table input:invalid{border-color:#c85d4b!important;box-shadow:0 0 0 3px #c85d4b1f!important}

/* Shared colors for spreadsheet-style memo editors. */
.margin-input-table thead th,.margin-input-table thead .margin-group-header th[colspan],.margin-input-table thead tr:nth-child(2) th{background:#dfece7!important;color:#173d36!important}.margin-input-table tbody td,.margin-input-table tbody input{background:#fff!important}.margin-input-table tfoot th,.margin-input-table tfoot td,.margin-input-table .margin-grand-total th,.margin-input-table .margin-grand-total td{background:#dfece7!important;color:#173d36!important}.margin-input-table [data-margin-output],.margin-input-table [data-margin-detail-output],.margin-input-table [data-so-row-total]{background:#eef1f0!important;color:#40524d!important}
.margin-input-table tfoot .margin-grand-total th{padding-right:18px!important;text-align:right!important;font-size:16px!important;font-weight:850;letter-spacing:.15px}.margin-input-table tfoot .margin-grand-total td{font-size:15px!important;font-weight:850;color:#102f2a!important;font-variant-numeric:tabular-nums}

/* Shared sizing and spacing for all standard Internal Memo form fields. */
.memo-form-panel{--memo-control-height:48px;--memo-field-row-gap:22px;--memo-field-column-gap:24px}
.memo-form-panel .memo-fields,.memo-form-panel .purchase-grid{row-gap:var(--memo-field-row-gap);column-gap:var(--memo-field-column-gap)}
.memo-form-panel .memo-fields label{margin-top:0!important}
.memo-form-panel input:not([type="hidden"]):not([type="file"]):not([type="checkbox"]):not([type="radio"]),.memo-form-panel select,.memo-form-panel .search-select-trigger,.memo-form-panel .memo-date-range-trigger{height:var(--memo-control-height);min-height:var(--memo-control-height);padding:11px 14px;font-family:inherit;font-size:15px;font-weight:400;line-height:1.4}
.memo-form-panel .memo-fields>div>label+.search-select{margin-top:0}
.memo-form-panel .purchase-grid label>.search-select,.memo-form-panel .invoice-row label>.search-select,.memo-form-panel .purchase-item-row label>.search-select{margin-top:6px}
.memo-form-panel .margin-input-table input{height:38px;min-height:38px;padding:7px 8px;font-size:12px}
.memo-form-panel .margin-money-input input,.memo-form-panel .margin-percent-input input{height:36px!important;min-height:36px!important;padding:7px 6px!important}

/* Global standard control height. Compact/specialized controls are reset below. */
:root{--app-control-height:48px;--app-field-row-gap:22px}
input:not([type="hidden"]):not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="color"]),select,.search-select-trigger{height:var(--app-control-height);min-height:var(--app-control-height);box-sizing:border-box}
.form-panel form label{margin-top:0!important}.form-panel form>label:not(:first-child){margin-top:var(--app-field-row-gap)!important}
.memo-fields,.purchase-grid,.invoice-row,.approval-fields,.master-grid-form,.trip-fields,.booking-dialog-fields,.email-picker-filters,.signature-person-fields{row-gap:var(--app-field-row-gap)}
.memo-form-panel .purchase-header-grid{margin-top:0}
.search-box input:not([type="hidden"]),.email-chips input:not([type="hidden"]){height:auto;min-height:0}
.email-tool-select{height:32px;min-height:32px}
.margin-input-table input{height:38px;min-height:38px}
.margin-money-input input,.margin-percent-input input{height:36px!important;min-height:36px!important}

/* Purchase memo tables on View Details: separate blocks with predictable columns. */
.request-memo-details .view-purchase-details{display:grid;width:100%;gap:22px}.request-memo-details .view-purchase-section{min-width:0}.request-memo-details .view-purchase-section .memo-request-table-title{margin:0 0 10px!important;color:#244b43}.request-memo-details .view-purchase-meta,.request-memo-details .view-purchase-items{width:100%;max-width:100%;border:1px solid #bdcec8;border-radius:9px;overflow:auto}.request-memo-details .view-purchase-meta .memo-request-table{width:100%!important;min-width:0!important;table-layout:fixed}.request-memo-details .view-purchase-meta th,.request-memo-details .view-purchase-meta td{width:33.333%;padding:12px 14px;text-align:center!important;vertical-align:middle;overflow-wrap:anywhere}.request-memo-details .view-purchase-items .memo-request-table{width:100%;min-width:900px;table-layout:fixed}.request-memo-details .view-purchase-items th,.request-memo-details .view-purchase-items td{padding:11px 12px;white-space:normal;vertical-align:top;overflow-wrap:anywhere;word-break:normal}.request-memo-details .view-purchase-items th{text-align:center!important}.request-memo-details .view-purchase-items td:nth-child(1),.request-memo-details .view-purchase-items td:nth-child(4){text-align:center}.request-memo-details .view-purchase-items td:nth-child(5),.request-memo-details .view-purchase-items td:nth-child(8){text-align:right;white-space:nowrap}.view-purchase-items .purchase-col-no{width:5%}.view-purchase-items .purchase-col-description{width:15%}.view-purchase-items .purchase-col-purpose{width:14%}.view-purchase-items .purchase-col-quantity{width:8%}.view-purchase-items .purchase-col-price{width:13%}.view-purchase-items .purchase-col-plant{width:17%}.view-purchase-items .purchase-col-cost-center{width:17%}.view-purchase-items .purchase-col-subtotal{width:11%}
.memo-purchase-items-table tfoot th,.memo-purchase-items-table tfoot td{padding:8px 10px;border:1px solid #cfd6da;background:#fff;font-weight:400}.memo-purchase-items-table tfoot th{text-align:right!important}.memo-purchase-items-table tfoot td{white-space:nowrap}.memo-purchase-items-table tfoot .purchase-total-grand th,.memo-purchase-items-table tfoot .purchase-total-grand td{border-top:1.5px solid #8fa39c;font-weight:700}

/* Non-business realization: keep both detail fields on one desktop row. */
.late-non-trip-entry{grid-template-columns:repeat(2,minmax(0,1fr))}.late-non-trip-entry>.memo-description{grid-column:auto}@media(max-width:800px){.late-non-trip-entry{grid-template-columns:1fr}}
/* Request activity and its independent status update. */
.request-activity-card{padding:21px 20px;scroll-margin-top:24px}
.activity-card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}
.activity-card-heading h3{margin:0;color:#203d35;font-size:17px;letter-spacing:-.2px}
.activity-card-heading .number-badge{margin:0}
.activity-current{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px;padding:11px 12px;border:1px solid #e0ebe6;border-radius:9px;background:#f7faf8}
.activity-current>span:first-child{color:#678077;font-size:11px;font-weight:650}
.activity-status-editor{margin-top:11px;border:1px solid #cbded5;border-radius:9px;background:#fff}
.activity-status-editor>summary{display:flex;align-items:center;justify-content:space-between;min-height:40px;padding:0 12px;color:#176b5d;font-size:12px;font-weight:750;list-style:none;cursor:pointer}
.activity-status-editor>summary::-webkit-details-marker{display:none}
.activity-status-editor>summary::marker{content:''}
.activity-status-editor>summary:hover{background:#f7fbf9}
.activity-status-editor>summary:focus-visible{outline:2px solid #177b69;outline-offset:2px}
.activity-status-editor>summary span{display:block;width:7px;height:7px;margin-top:-4px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .15s}
.activity-status-editor[open]>summary span{margin-top:4px;transform:rotate(225deg)}
.activity-status-editor[open]>summary{border-bottom:1px solid #e1ece7;background:#f4faf7}
.activity-status-editor form{padding:13px 12px 12px}
.activity-status-editor label{margin:0 0 5px;color:#37594e;font-size:12px}
.activity-status-editor label:not(:first-of-type){margin-top:12px}
.activity-status-editor select,.activity-status-editor textarea{font-size:12px}
.activity-status-editor textarea{min-height:78px;resize:vertical}
.activity-status-editor .field-hint{margin:6px 0 12px;line-height:1.4}
.activity-status-editor .button{width:100%;min-height:37px;font-size:12px}
.activity-timeline{margin:18px 0 0;padding:0;list-style:none}
.activity-entry{position:relative;padding:0 0 21px 27px}
.activity-entry:last-child{padding-bottom:0}
.activity-entry::before{position:absolute;top:9px;bottom:-9px;left:5px;width:2px;content:''}
.activity-entry:last-child::before{display:none}
.activity-entry::after{position:absolute;top:3px;left:0;box-sizing:border-box;width:12px;height:12px;border:2px solid #fff;border-radius:50%;background:var(--status-color,#428267);box-shadow:0 0 0 1px var(--status-color,#428267);content:''}
.activity-entry-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px;margin-bottom:7px}
.activity-entry-top time{color:#83958e;font-size:10px;line-height:1.35}
.activity-entry>strong{display:block;color:#2e5045;font-size:12px;font-weight:650;overflow-wrap:anywhere}
.activity-entry>p{margin:5px 0 0;color:#5d726b;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.activity-empty{color:#82948d;font-size:12px}
@media(max-width:700px){.workflow-aside .summary-panel.request-activity-card{display:block}}
.sequence-number-cell{text-align:center!important}

/* Shared request-table typography across forms, previews, details, and conversations. */
.request-email-editor table thead th,.trip-email-preview table thead th,.message-body table thead th,.request-email-details table thead th,.confirm-email-preview table thead th,.memo-request-table thead th,.margin-input-table thead th,.conversation-table thead th{font-size:15px!important;font-weight:700!important}
.request-email-editor table tbody td,.trip-email-preview table tbody td,.message-body table tbody td,.request-email-details table tbody td,.confirm-email-preview table tbody td,.memo-request-table tbody td,.margin-input-table tbody td,.conversation-table tbody td{font-size:14px!important;font-weight:400}
.margin-input-table tbody td input{font-size:14px!important;font-weight:400!important}

/* Clearer request list headings and compact conversation controls. */
.inbox-panel .request-table th{font-size:13px;line-height:1.35;letter-spacing:.1px}
.inbox-panel .table-sort{gap:8px}
.message-toggle{min-height:30px;gap:9px;padding:4px 9px;border:1px solid #cfe2da;border-radius:7px;background:#fff;font-size:12px;line-height:1}
.message-content-summary:hover .message-toggle{border-color:#92c5b6;background:#f8fcfa}
.message-toggle-chevron{display:block;width:7px;height:7px;margin-top:-3px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .15s ease}
.message-content[open] .message-toggle-chevron{margin-top:3px;transform:rotate(225deg)}
.reply-address-fields{display:grid;gap:9px;padding:15px 19px 3px;border-bottom:1px solid #edf2ef}
.reply-address-fields label{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:12px;margin:0;color:#36574d;font-size:13px;font-weight:700}
.reply-address-fields label>span{white-space:nowrap}
.reply-address-fields .optional{font-size:11px;font-weight:500}
.reply-address-fields input{box-sizing:border-box;width:100%;min-width:0;min-height:40px;padding:8px 11px;border:1px solid #cadbd5;border-radius:8px;background:#fff;color:#183a32;font-size:13px}
.reply-address-fields input:focus{border-color:#52bbaa;outline:2px solid #52bbaa33}
.reply-address-fields .field-hint{margin:0 0 8px 76px;color:#81928b;font-size:11px}
@media(max-width:700px){.inbox-panel .request-table th{font-size:11px}.reply-address-fields{padding-inline:14px}.reply-address-fields label{grid-template-columns:45px minmax(0,1fr);gap:8px}.reply-address-fields .field-hint{margin-left:53px}.message-toggle{min-height:28px;padding-inline:8px}}

/* Compact address chips in replies. */
.reply-address-fields{gap:7px;padding-block:11px 5px}
.reply-address-fields .email-chips{box-sizing:border-box;min-height:34px;padding:3px 7px;gap:5px;border-radius:8px}
.reply-address-fields .email-chip{max-width:100%;padding:1px 6px;font-size:12px;line-height:1.35}
.reply-address-fields .email-chip button{font-size:16px}
/* Override the app-wide 48px input rule inside these compact chip rows. */
.reply-address-fields .email-chips input:not([type=hidden]){flex-basis:105px;min-width:90px;height:24px!important;min-height:24px!important;padding:1px 2px;border:0;font-size:12px}
.reply-address-fields .field-hint{margin-bottom:5px}

/* Stage emails are reviewed before a submitted/registered status is recorded. */
.stage-email-page{max-width:1120px;margin:0 auto}
.stage-email-intro{margin:0 0 24px}
.stage-email-intro h1{margin:6px 0 7px}
.stage-email-intro p{margin:0}
.stage-email-error{margin:0 0 20px;padding:11px 13px;border:1px solid #edc8bc;border-radius:8px;background:#fff3ef;color:#a04430;font-size:13px}
.stage-email-panel #stage-email-subject[readonly]{background:#f7faf9;color:#425d55}
.stage-email-panel .file-selection:empty{display:none}

/* Keep filters in the viewport, even when the request table has only one row. */
.inbox-panel{overflow:visible}
.inbox-panel .table-scroll{border-radius:0 0 18px 18px}
.request-filter-dialog{position:fixed;inset:0;box-sizing:border-box;width:min(460px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #d4e4dc;border-radius:18px;background:#fff;box-shadow:0 24px 70px #0b2e3550;color:#193d35;overflow:hidden}
.request-filter-dialog::backdrop{background:#102c3690;backdrop-filter:blur(2px)}
.request-filter-dialog .request-filter-panel{position:static;display:flex;flex-direction:column;box-sizing:border-box;width:100%;max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:0;box-shadow:none;overflow:hidden}
.request-filter-dialog .request-filter-panel header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex:0 0 auto;margin:0;padding:21px 24px 17px;border-bottom:1px solid #e7eeeb}
.request-filter-dialog .request-filter-panel h3{margin:0 0 2px;font-size:19px}
.request-filter-dialog .request-filter-panel header p{font-size:13px}
.request-filter-close{display:grid;place-items:center;flex:0 0 auto;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:#f2f6f4;color:#47635a;font-size:24px;line-height:1}
.request-filter-close:hover{background:#e4f0eb;color:#146b5b}
.request-filter-body{min-height:0;padding:5px 24px 21px;overflow-y:auto;overscroll-behavior:contain}
.request-filter-dialog .request-filter-body>label,.request-filter-dialog .filter-date-range>label{display:block;margin:17px 0 6px;color:#35554d;font-size:13px;font-weight:700}
.request-filter-dialog .request-filter-body>select,.request-filter-dialog .request-filter-body>input{box-sizing:border-box;width:100%;min-height:44px;margin:0;font-size:14px}
.request-filter-dialog .request-filter-actions{flex:0 0 auto;margin:0;padding:14px 24px;border-top:1px solid #e7eeeb;background:#fff}
.request-filter-dialog .request-filter-actions .button{min-height:40px}
.filter-date-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:9px 13px;border:1px solid #d6e3de;border-radius:9px;background:#fff;color:#34574d;text-align:left;font-size:14px}
.filter-date-trigger:hover,.filter-date-trigger[aria-expanded="true"]{border-color:#67b4a1;background:#f7fbf9}
.filter-calendar-icon{display:grid;place-items:center;color:#51776a}
.filter-calendar-icon .icon{width:18px;height:18px}
.filter-calendar{margin-top:9px;padding:13px;border:1px solid #d6e3de;border-radius:12px;background:#fbfdfc}
.filter-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.filter-calendar-head strong{font-size:14px}
.filter-calendar-head button{width:32px;height:32px;padding:0;border:1px solid #dbe7e2;border-radius:7px;background:#fff;color:#315d50;font-size:23px;line-height:1}
.filter-calendar-head button:hover{background:#eaf5f1}
.filter-calendar-weekdays,.filter-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;text-align:center}
.filter-calendar-weekdays{margin-bottom:4px;color:#879b93;font-size:11px;font-weight:700}
.filter-calendar-weekdays span{padding:5px 0}
.filter-calendar-days button{width:100%;height:35px;padding:0;border:0;border-radius:7px;background:transparent;color:#31544b;font-size:12px}
.filter-calendar-days button:hover{background:#e1f2e9}
.filter-calendar-days button.in-range{border-radius:0;background:#def2e9}
.filter-calendar-days button.range-edge{border-radius:7px;background:#17796b;color:#fff;font-weight:700}
.filter-calendar-days button.today:not(.range-edge){box-shadow:inset 0 0 0 1px #60aa98}
.filter-calendar-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:11px;border-top:1px solid #e3ece8;color:#718a80;font-size:11px;line-height:1.4}
.filter-calendar-bottom button{flex:0 0 auto;padding:3px 0;border:0;background:transparent;color:#176f61;font-size:12px;font-weight:700}
@media(max-width:760px){.request-filter-dialog{inset:auto 0 0;width:100%;max-height:calc(100dvh - 12px);margin:0;border-radius:18px 18px 0 0}.request-filter-dialog .request-filter-panel{max-height:calc(100dvh - 12px)}.request-filter-dialog .request-filter-panel header{padding:18px 20px 14px}.request-filter-body{padding-inline:20px}.request-filter-dialog .request-filter-actions{padding:13px 20px}}

/* Badges and timeline bullets share the same status palette. */
[data-status="New"]{--status-color:#225691;--status-background:#e4efff}
[data-status="Open"]{--status-color:#45576a;--status-background:#e9eef3}
[data-status="Done"]{--status-color:#19633d;--status-background:#d4f0df}
[data-status="Draft"]{--status-color:#52616a;--status-background:#eef1f3}
[data-status="Pending"]{--status-color:#906e28;--status-background:#fff2d6}
[data-status="Rejected"]{--status-color:#a62e36;--status-background:#fde8e8}
[data-status="Rejected by Finance"]{--status-color:#a62e36;--status-background:#fde8e8}
[data-status="Finance Rejected"]{--status-color:#a62e36;--status-background:#fde8e8}
[data-status="On Hold"]{--status-color:#795500;--status-background:#fff1bf}
[data-status="Cancelled"]{--status-color:#a44d18;--status-background:#fff0df}
[data-status="In Progress"]{--status-color:#086b64;--status-background:#dcf5f1}
[data-status="On Review"]{--status-color:#5745a0;--status-background:#ecebfb}
[data-status="Revised"]{--status-color:#934a82;--status-background:#f7e9f5}
[data-status^="Submitted to"],[data-status="Sent to Finance"],[data-status^="Registered to"]{--status-color:#17643d;--status-background:#e3f4e8}
.status-pill[data-status],.priority-new .status-pill[data-status]{color:var(--status-color,#428267);background:var(--status-background,#eaf4ee)}
.inbox-panel .priority-new{background:#f4f8ff}
.inbox-panel .priority-new td:first-child{border-left-color:#5f91d4}
.inbox-panel .priority-new:hover{background:#ecf4ff}

/* Retain the compact marketplace preview with Luki's six-column invoice table. */
.memo-marketplace-table-wrap th:nth-child(1){width:6%}
.memo-marketplace-table-wrap th:nth-child(2){width:28%}
.memo-marketplace-table-wrap th:nth-child(3){width:18%}
.memo-marketplace-table-wrap th:nth-child(4){width:16%}
.memo-marketplace-table-wrap th:nth-child(5){width:14%}
.memo-marketplace-table-wrap th:nth-child(6){width:18%}

.crm-program-editor{margin-top:20px}.crm-table-scroll{overflow-x:auto;border:1px solid #c8d8d2;border-radius:12px}.crm-input-table{width:100%;min-width:1200px;border-collapse:collapse;table-layout:fixed}.crm-input-table th,.crm-input-table td{padding:10px;border:1px solid #c8d8d2;vertical-align:middle}.crm-input-table th{background:#e2efea;color:#173c35;text-align:center}.crm-input-table th:first-child{width:54px}.crm-input-table th:nth-child(2){width:190px}.crm-input-table th:nth-child(3){width:285px}.crm-input-table th:nth-child(4){width:200px}.crm-input-table th:nth-child(5){width:125px}.crm-input-table th:nth-child(6),.crm-input-table th:nth-child(7){width:155px}.crm-input-table th:last-child{width:50px}.crm-input-table input{width:100%;min-height:46px;margin:0!important;padding:10px!important}.crm-input-table .money-input-wrap{margin:0}.crm-input-table .money-input-wrap input{padding-left:42px!important}.crm-period-inputs{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:7px}.crm-row-total{text-align:right;white-space:nowrap;font-weight:700}.crm-grand-total{margin-top:12px}.crm-grand-total strong{min-width:150px;text-align:right}
.crm-item-row{grid-template-columns:repeat(6,minmax(0,1fr))}.crm-item-row>label,.crm-item-row>.memo-date-range{grid-column:span 2}.crm-item-row>.crm-main-field{grid-column:span 3}.crm-total-field{grid-column:1/-1}.crm-total-field>span:first-child{display:block;font-weight:600}.crm-total-field{display:flex;align-items:center;justify-content:flex-end;gap:20px;padding:14px 16px;border-radius:8px;background:#f3f8f6}.crm-total-field strong{min-width:160px;text-align:right;font-size:18px}.crm-item-row .money-input-wrap{display:block;margin-top:6px}.crm-item-row .money-input-wrap input{margin-top:0;padding-left:48px}@media(max-width:700px){.crm-item-row{grid-template-columns:1fr}.crm-item-row>label,.crm-item-row>.memo-date-range,.crm-item-row>.crm-main-field,.crm-total-field{grid-column:auto}}
.crm-preview-meta{margin:8px 0 14px}.crm-preview-meta p{display:grid;grid-template-columns:110px 14px 1fr;margin:3px 0}.crm-preview-table{width:100%!important;table-layout:fixed}.crm-preview-table tfoot th{font-weight:700;background:#fff}.crm-preview-table tfoot th:first-child{text-align:right!important}.crm-preview-table tfoot th:last-child{text-align:right!important;white-space:nowrap}
/* Email data tables fit their contents; wide tables retain horizontal scrolling. */
.request-email-editor table,.trip-email-preview table,.message-body table,.request-email-details table,.confirm-email-preview table,
.detail-panel .trip-email-preview .email-table-scroll .email-table,
.request-email-editor .email-locked-accordion>table{width:auto!important;min-width:0!important;max-width:none;table-layout:auto!important}
.request-email-editor table th,.request-email-editor table td,.trip-email-preview table th,.trip-email-preview table td,
.message-body table th,.message-body table td,.request-email-details table th,.request-email-details table td,
.confirm-email-preview table th,.confirm-email-preview table td{width:auto!important;min-width:0!important}

/* Request detail tables use intrinsic content widths, including legacy wide-table classes. */
#request-email-content table{width:auto!important;min-width:0!important;max-width:none!important;table-layout:auto!important}
#request-email-content th,#request-email-content td,#request-email-content col{width:auto!important;min-width:0!important}
#request-email-content .email-table-scroll,#request-email-content .memo-request-table-scroll{width:fit-content;max-width:100%;overflow-x:auto}

.conversation>.reply-composer{margin:0 0 24px}
#initial-request-message>.message-content-summary>div{flex:1;min-width:0}
.initial-message-delivery{display:flex;align-items:center;gap:12px;padding:12px 18px;border-top:1px solid #e3ece8}
#initial-request-message>.message-file{margin:10px 18px}

/* Compact inline control for activity remarks. */
.activity-remarks{position:relative;min-height:28px}
.activity-remarks>p{margin:5px 0 0;color:#5d726b;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.activity-remarks-editable>p{padding-right:34px}
.activity-remarks-editor{margin:0;border:0;background:transparent}
.activity-remarks-editor>summary{position:absolute;top:-4px;right:0;justify-content:center;width:28px;min-height:28px;padding:0;border-radius:6px;color:#68867c}
.activity-remarks-editor>summary .icon{width:15px;height:15px}
.activity-remarks-editor[open]>summary{border:0;color:#176b5d;background:#eaf4ee}
.activity-remarks-editor form{margin-top:10px;border:1px solid #cbded5;border-radius:9px;background:#fff}

.initial-message-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.initial-message-controls .message-delivery{margin:0}
@media(max-width:600px){#initial-request-message>.message-content-summary{flex-wrap:wrap}.initial-message-controls{width:100%}}

/* One continuous conversation, from newest replies to the initial request. */
.conversation-heading{flex-wrap:wrap;gap:8px}
.conversation-heading>p{margin:0;color:#758b84;font-size:12px}
 .conversation-thread{position:relative;padding-left:28px}
.conversation-thread>.message{--thread-indent:24px;position:relative;overflow:visible;margin:0 0 20px var(--thread-indent);padding:20px;border:1px solid #dbe7e1;border-radius:14px;background:#fff}
.conversation-thread>.thread-latest-message,.conversation-thread>.thread-initial-message{--thread-indent:0px;border-color:#bcd8ce}
.conversation-thread>.message::before{position:absolute;z-index:1;left:calc(-27px - var(--thread-indent));top:27px;box-sizing:border-box;width:14px;height:14px;border:3px solid #fff;border-radius:50%;background:var(--status-color,#428267);box-shadow:0 0 0 1px var(--status-color,#428267);content:''}
.conversation-thread>.message::after{position:absolute;left:calc(-21px - var(--thread-indent));top:34px;bottom:-55px;width:2px;content:''}
.conversation-thread>.message:last-child{margin-bottom:0}
.conversation-thread>.message:last-child::after{display:none}
.conversation-thread>.message:only-child::after{display:none}
.conversation-thread .message-header{gap:12px}
.thread-start-label{margin-left:auto;color:#698278;font-size:11px;white-space:nowrap}
.thread-initial-message #initial-request-message{margin-bottom:0}
.conversation-thread .message-content-body.request-additional-details{padding:18px}
.reply-composer .reply-send-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;min-width:36px;height:36px;min-height:36px;padding:8px;border-radius:9px}
.reply-send-button .icon{width:18px;height:18px}
@media(max-width:700px){.conversation-thread>.message{--thread-indent:12px;padding:14px}.conversation-thread>.thread-latest-message,.conversation-thread>.thread-initial-message{--thread-indent:0px}.thread-start-label{margin-left:0}.conversation-thread .message-header{flex-wrap:wrap}}

[data-status="Rejected by Procurement"],[data-status="Rejected by GA"]{--status-color:#a62e36;--status-background:#fde8e8}

.reply-send-spinner{display:block;width:18px;height:18px;box-sizing:border-box;border:2px solid rgba(255,255,255,.35);border-top-color:currentColor;border-radius:50%;animation:reply-send-spin .7s linear infinite}
@keyframes reply-send-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.reply-send-spinner{animation-duration:1.8s}}

/* Sender roles use card colors independently of activity status bullets. */
.conversation-thread>.message--admin{--sender-surface:#f2f6f5;--sender-border:#d2deda;--sender-accent:#405b53;--sender-badge:#e3ebe7}
.conversation-thread>.message--requestor,.conversation-thread>.thread-initial-message{--sender-surface:#fff;--sender-border:#dce5e1;--sender-accent:#405b53;--sender-badge:#f0f4f2}
.conversation-thread>.message--participant{--sender-surface:#f8f9f5;--sender-border:#dde2d6;--sender-accent:#55604b;--sender-badge:#edf0e6}
.conversation-thread>.message{background:var(--sender-surface,#fff);border-color:var(--sender-border,#dbe7e1)}
.conversation-thread>.message>.message-header .sender-role,.conversation-thread>.message>.message-header .avatar{background:var(--sender-badge,#e9edef);color:var(--sender-accent,#4f6269)}
.conversation-thread>.message>.message-content{border-color:var(--sender-border,#dbe7e1);background:#fff}
.conversation-thread>.thread-initial-message #initial-request-message>.review-details-header{background:#f8faf9}

/* Each connector blends the statuses of its two endpoints. */
[data-next-status="New"]{--next-status-color:#225691}
[data-next-status="Open"]{--next-status-color:#45576a}
[data-next-status="Done"]{--next-status-color:#19633d}
[data-next-status="Draft"]{--next-status-color:#52616a}
[data-next-status="Pending"]{--next-status-color:#906e28}
[data-next-status="Rejected"]{--next-status-color:#a62e36}
[data-next-status="Rejected by Finance"]{--next-status-color:#a62e36}
[data-next-status="Finance Rejected"]{--next-status-color:#a62e36}
[data-next-status="On Hold"]{--next-status-color:#795500}
[data-next-status="Cancelled"]{--next-status-color:#a44d18}
[data-next-status="In Progress"]{--next-status-color:#086b64}
[data-next-status="On Review"]{--next-status-color:#5745a0}
[data-next-status="Revised"]{--next-status-color:#934a82}
[data-next-status^="Submitted to"],[data-next-status="Sent to Finance"],[data-next-status^="Registered to"]{--next-status-color:#17643d}
[data-next-status="Rejected by Procurement"],[data-next-status="Rejected by GA"]{--next-status-color:#a62e36}
.activity-entry::before,.conversation-thread>.message::after{background:linear-gradient(to bottom,var(--status-color,#428267),var(--next-status-color,#428267));pointer-events:none}

/* Expand the preview in place, showing the message only once. */
.reply-message-content[open]{position:relative;min-height:58px}
.reply-message-content[open]>.message-content-summary{position:absolute;top:0;right:0;padding:12px 14px;border:0;background:transparent}
.reply-message-content[open]>.message-content-summary .message-preview,.reply-message-content[open]>.message-content-summary .message-attachment-count{display:none}
.reply-message-content[open]>.message-content-body{padding:14px 126px 15px 14px}
.reply-message-content[open]>.message-content-body>.message-body{margin-top:0}
.reply-message-content[open]>.message-content-body>.message-body>:first-child{margin-top:0}
.reply-message-content[open] .message-to{padding-top:10px;margin:12px 0 0;border-top:1px solid #e3ece8;font-size:12px}
@media(max-width:600px){.reply-message-content[open]>.message-content-summary{padding-inline:10px}.reply-message-content[open]>.message-content-body{padding-right:110px}}

/* Clear primary, secondary, and destructive actions. */
.request-actions-card{padding:22px;border-color:#dce6e1}
.request-actions-card>h3{margin-bottom:18px;font-size:18px}
.request-actions-card>.button.primary,.request-actions-card>form>.button.primary{min-height:46px;border-radius:10px;justify-content:space-between}
.request-actions-card :is(.finance-reject-box,.review-reject-box){margin-top:12px;padding-top:0;border-top:0}
.request-actions-card .action-summary-label{display:flex;align-items:center;gap:10px;min-width:0}
.request-actions-card .action-summary-label>.icon{flex:none;width:18px;height:18px;opacity:.85}
.request-actions-card :is(.finance-reject-box,.review-reject-box)>summary,.request-actions-card .cancel-request-box>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;box-sizing:border-box;min-height:44px;margin:0;padding:11px 12px;border:1px solid #e2e8e4;border-radius:9px;background:#f8faf9;color:#52685f;font-size:13px;font-weight:600;line-height:1.5;text-align:left;cursor:pointer;list-style:none}
.request-actions-card .reject-box>summary::-webkit-details-marker{display:none}
.request-actions-card .reject-box>summary::marker{content:''}
.request-actions-card :is(.finance-reject-box,.review-reject-box)>summary::after,.request-actions-card .cancel-request-box>summary::after{content:'';flex:none;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 3px 3px 0;transition:transform .15s}
.request-actions-card .reject-box[open]>summary::after{transform:rotate(225deg);margin-top:5px}
.request-actions-card :is(.finance-reject-box,.review-reject-box)>summary:hover{background:#eef4f1;border-color:#c9d9d1}
.request-actions-card .reject-box>summary:focus-visible{outline:2px solid #177b69;outline-offset:3px}
.request-actions-card .cancel-request-box{margin-top:18px;padding-top:12px;border-top:1px solid #e6ece9}
.request-actions-card .cancel-request-box>summary{border-color:transparent;background:transparent;color:#975444}
.request-actions-card .cancel-request-box>summary:hover{background:#fcf4f1;text-decoration:none}
.request-actions-card .reject-box form{margin-top:10px;padding:12px;border:1px solid #e2e8e4;border-radius:10px;background:#fafcfb}
.request-actions-card .reject-box form label:first-of-type{margin-top:0}
.request-actions-card .reject-box form label{font-size:12px;line-height:1.5}
.request-actions-card .reject-box textarea{min-height:90px;font-size:13px;border-radius:8px}
.request-actions-card .reject-box .field-hint{font-size:12px;line-height:1.5}
.request-actions-card .reject-box .button.full{margin-top:12px;min-height:40px;font-size:13px;border-radius:8px}

.action-current-status{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 16px;color:#71847e;font-size:12px}
.action-completed{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #cee5da;border-radius:10px;background:#f0f8f4;color:#21614d}
.action-completed strong{font-size:17px}.action-completed p{margin:3px 0 0;font-size:12px}
.request-actions-card .status-email-link{margin-top:14px;gap:8px;font-size:12px}

.status-change-dialog{width:min(680px,calc(100vw - 32px));max-height:88dvh;overflow:auto;border:1px solid #d2e1da;border-radius:18px;padding:24px;color:#173c35;box-shadow:0 24px 80px #102f3540}
.status-change-dialog::backdrop{background:#102f3566}
.status-change-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
.status-change-dialog h2{margin:0;font-size:22px}.status-dialog-close{border:0;background:transparent;font-size:26px;color:#617b72;cursor:pointer}
.status-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.status-change-dialog form>label{display:block;margin-top:16px}.status-change-dialog textarea{width:100%}
.status-change-dialog .reply-editor-input{min-height:150px}.status-change-dialog .email-suggestions{position:relative}
@media(max-width:600px){.status-change-dialog{padding:18px}.status-dialog-actions{flex-wrap:wrap}}
