/* v0.9.318 — shared tenant + Internal Operations interaction standards. */
.eco-unsaved-v318[hidden]{display:none!important}
.eco-unsaved-v318{position:fixed;z-index:90000;bottom:max(16px,env(safe-area-inset-bottom));right:16px;max-width:min(420px,calc(100vw - 32px));display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #dbb989;border-radius:12px;background:#fff8ea;color:#51361e;box-shadow:0 14px 36px #2b211d30;font-size:13px;line-height:1.35;font-family:inherit;font-weight:700}
.eco-unsaved-v318 span{flex:1 1 auto;font-weight:750}
.eco-unsaved-v318 button{flex:none;cursor:pointer;border:1px solid #b78f61;border-radius:8px;background:#fff;color:#57351d;padding:8px 12px;font:inherit;font-weight:850}
.eco-form-is-dirty>.eco-cost-form-actions:after,.eco-form-is-dirty>.eco-platform-form-actions:after{content:'Changes not saved';align-self:center;color:#9c5a1b;font-size:12px}
.eco-system-platform :where(a,button,input,select,textarea,summary):focus-visible,
body.eco-tenant-portal-body :where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #d58b4c;outline-offset:3px}
.eco-system-platform :where(.eco-platform-form,.eco-platform-card) label,
body.eco-tenant-portal-body .eco-cost-form-grid label{line-height:1.4}
body.eco-tenant-portal-body .eco-app.eco-gratitude-shell .eco-cost-metrics--focused{grid-template-columns:repeat(4,minmax(0,1fr))}
body.eco-tenant-portal-body .eco-app.eco-gratitude-shell .eco-cost-metric-link{display:grid;align-content:start;gap:6px;text-decoration:none;color:var(--ge-ink,#241e1a);min-width:0;transition:border-color .14s,box-shadow .14s}
body.eco-tenant-portal-body .eco-app.eco-gratitude-shell .eco-cost-metric-link:hover{border-color:#c9a08e;box-shadow:0 4px 16px #341b1110}
body.eco-tenant-portal-body .eco-app.eco-gratitude-shell .eco-cost-metric-link>strong{font-size:clamp(21px,2.2vw,27px);overflow-wrap:anywhere}
body.eco-tenant-portal-body .eco-app.eco-gratitude-shell .eco-cost-metric-link>small{font-size:11px;font-weight:500;line-height:1.45;color:var(--ge-muted,#756c66)}
body.eco-tenant-portal-body .eco-app.eco-gratitude-shell .eco-cost-metric-link>em{font-style:normal;color:var(--ge-orange-deep,#aa3a1e);font-size:11px;font-weight:850;margin-top:5px}
.eco-cost-onboarding{padding:26px!important}
.eco-cost-onboarding-heading{display:flex;align-items:flex-start;gap:16px}
.eco-cost-onboarding-icon{display:grid;place-items:center;border-radius:13px;background:#fff0e8;border:1px solid #f0dacd;color:#a93e1b;width:50px;height:50px;flex:none;font-size:24px}
.eco-cost-onboarding h2{margin:4px 0 8px;font-size:clamp(23px,2.5vw,31px);line-height:1.12;letter-spacing:-.035em}
.eco-cost-onboarding p{max-width:700px;line-height:1.6;color:var(--ge-muted,#756c66);margin:0}
.eco-cost-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0;padding:0;list-style:none;counter-reset:eco-cost-step}
.eco-cost-steps li{border:1px solid #e9e0d9;border-radius:12px;padding:16px;display:grid;align-content:start;gap:8px;counter-increment:eco-cost-step;min-width:0}
.eco-cost-steps li:before{content:counter(eco-cost-step);display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#f6eae4;color:#943a20;font-weight:850;font-size:12px}
.eco-cost-steps strong{font-size:13px;color:#2e2420}.eco-cost-steps span{font-size:12px;line-height:1.5;color:#776b64}
.eco-cost-quick-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.eco-cost-quick-actions a{display:inline-flex;min-height:42px;align-items:center;padding:10px 15px;border-radius:9px;text-decoration:none;font-weight:800;font-size:13px}
.eco-cost-position{margin-bottom:18px;padding:22px!important}
.eco-cost-position-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
.eco-cost-position-heading h2{margin:0;font-size:20px;line-height:1.15}
.eco-cost-position-heading p{margin:5px 0 0;color:var(--ge-muted,#776e68);font-size:12px}
.eco-cost-progress-label{white-space:nowrap;font-size:12px;font-weight:850;color:#765a4b}
.eco-cost-progress{height:10px;background:#f2eae4;border-radius:999px;overflow:hidden;margin:17px 0 0}
.eco-cost-progress>span{display:block;height:100%;border-radius:999px;background:#c24b27}
.eco-cost-position-hint{margin:15px 0 0;color:#8e5b34;font-size:12px;line-height:1.55}
.eco-cost-position-hint a{color:#973b22;font-weight:800}
.eco-cost-position-facts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:22px 0 0;padding:18px 0 0;border-top:1px solid #e9e0d9}
.eco-cost-position-facts>div{min-width:0;padding:0 15px;border-right:1px solid #eee7e1}
.eco-cost-position-facts>div:first-child{padding-left:0}.eco-cost-position-facts>div:last-child{border-right:0}
.eco-cost-position-facts dt{color:#736b65;font-size:11px;font-weight:750}
.eco-cost-position-facts dd{margin:6px 0;font-size:18px;font-weight:800;overflow-wrap:anywhere}
.eco-cost-position-facts dd.is-negative{color:#a82d24}
.eco-cost-position-facts small{display:block;color:#817770;font-size:10px;line-height:1.4}
.eco-cost-workstream-panel .ge-sp-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.eco-cost-section-action{display:inline-flex;align-items:center;white-space:nowrap;font-size:12px;font-weight:800;color:#a63b1d;text-decoration:none}
.eco-cost-table-wrap:focus-visible{outline:3px solid #d58b4c;outline-offset:-3px}
@media(max-width:1100px){body.eco-tenant-portal-body .eco-app.eco-gratitude-shell .eco-cost-metrics--focused{grid-template-columns:repeat(2,minmax(0,1fr))}.eco-cost-position-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 0}.eco-cost-position-facts>div:nth-child(3){border-right:0}.eco-cost-position-facts>div:nth-child(4){padding-left:0}}
@media(max-width:720px){.eco-cost-steps{grid-template-columns:1fr}.eco-cost-onboarding{padding:18px!important}.eco-cost-onboarding-heading{gap:12px}.eco-cost-onboarding-icon{width:39px;height:39px;font-size:19px}.eco-cost-position{padding:17px!important}.eco-cost-position-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.eco-cost-position-facts>div{padding:0 10px}.eco-cost-position-facts>div:nth-child(odd){padding-left:0}.eco-cost-position-facts>div:nth-child(even){border-right:0}.eco-cost-position-facts>div:nth-child(3){border-right:1px solid #eee7e1;padding-left:0}.eco-cost-workstream-panel .ge-sp-section-head{flex-wrap:wrap}.eco-cost-position-heading{align-items:flex-start}.eco-unsaved-v318{left:12px;right:12px;max-width:none}}
@media(max-width:440px){body.eco-tenant-portal-body .eco-app.eco-gratitude-shell .eco-cost-metrics--focused{grid-template-columns:1fr}.eco-cost-position-facts{grid-template-columns:1fr}.eco-cost-position-facts>div{padding:0!important;border-right:0!important}.eco-cost-quick-actions>a{width:100%;justify-content:center}.eco-cost-position-heading{flex-direction:column;gap:6px}.eco-cost-steps li{padding:12px}}
/* Shared call-to-action and rail refinements: avoid invisible white text on an
 * inherited transparent button in the tenant's Cost Management empty state. */
body.eco-tenant-portal-body .eco-app.eco-gratitude-shell .eco-cost-quick-actions a.ge-sp-primary-action{background:var(--ge-ink,#241e1a)!important;color:#fff!important;border:1px solid var(--ge-ink,#241e1a)!important}
body.eco-tenant-portal-body .eco-app.eco-gratitude-shell .eco-cost-quick-actions a.ge-sp-secondary-action{background:#fff!important;color:var(--ge-ink,#241e1a)!important;border:1px solid #dfd4cb!important}
@media(max-width:720px){body.eco-tenant-portal-body .eco-app.eco-gratitude-shell .eco-cost-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;scroll-snap-type:x proximity;padding-bottom:8px;max-width:100%}body.eco-tenant-portal-body .eco-app.eco-gratitude-shell .eco-cost-tabs>a{flex:0 0 auto;white-space:nowrap;scroll-snap-align:start}}

/* v0.9.319: async AI concept editing shares the portal unsaved feedback. */
.eco-ai-draft-unsaved:not([hidden]){display:block;margin:10px 0 0;padding:10px 12px;border:1px solid #e7c69e;border-radius:10px;background:#fff7e8;color:#66421e;font-size:13px;font-weight:700;line-height:1.45}
.eco-ai-draft-unsaved[hidden]{display:none!important}

/* v0.9.319 — consistent ticket-order discovery and accessible navigation. */
.eco-ticket-order-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:14px 0;max-width:100%}
.eco-ticket-order-filters label{display:grid;gap:6px;flex:1 1 195px;min-width:0;color:#554b44;font-size:12px;font-weight:750}
.eco-ticket-order-filters input,.eco-ticket-order-filters select{width:100%;min-width:0;padding:10px 12px;border:1px solid #dcd2c9;border-radius:9px;background:#fff;color:#251f1b;font:inherit;font-size:13px}
.eco-ticket-order-filters button,.eco-ticket-order-filters a,.eco-ticket-order-pages a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;border:1px solid #d8cec6;border-radius:9px;background:#fff;color:#312822;text-decoration:none;font-size:12px;font-weight:750;line-height:1.2;cursor:pointer}
.eco-ticket-order-filters button{background:#29211d;border-color:#29211d;color:#fff}
.eco-ticket-order-count{margin:2px 0 12px;color:#746961;font-size:13px}
.eco-ticket-order-pages{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;padding:20px 12px 8px;color:#6a5a50;font-size:13px}
.eco-ticket-order-filters :is(input,select,button,a):focus-visible,.eco-ticket-order-pages a:focus-visible{outline:3px solid #a45130;outline-offset:2px}
@media(max-width:540px){.eco-ticket-order-filters label{flex-basis:100%}.eco-ticket-order-filters button,.eco-ticket-order-filters a{flex:1 1 auto}}

/* First-time registration setup: avoid a large wall of zero-valued ticket metrics. */
.eco-commerce-onboarding{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:24px;margin:18px 0 24px;padding:24px;border:1px solid #e5d7cb;border-radius:16px;background:#fffaf5}
.eco-commerce-onboarding>div:first-child{flex:1 1 320px;max-width:590px}
.eco-commerce-onboarding h2{margin:8px 0;font-size:clamp(18px,2vw,25px);color:#281f19}
.eco-commerce-onboarding p{margin:0;color:#6a5d53;font-size:14px;line-height:1.55}
.eco-commerce-start-actions{display:grid;gap:9px;flex:1 1 230px;max-width:360px}
.eco-commerce-start-actions a{display:flex;align-items:center;padding:10px 14px;border:1px solid #d9c8ba;border-radius:10px;background:white;text-decoration:none;color:#312822;font-size:13px;font-weight:750;line-height:1.4}
.eco-commerce-start-actions a:hover{background:#f4e9de}
.eco-commerce-start-actions a:focus-visible{outline:3px solid #a45130;outline-offset:2px}
@media(max-width:640px){.eco-commerce-onboarding{padding:18px}.eco-commerce-start-actions{max-width:none;flex-basis:100%}}
