body{background:#eef3f6;padding:clamp(12px,2.5vw,32px);max-width:1280px}
#momec-world-prospects .cmr-header{
 min-height:150px;padding:22px clamp(20px,4vw,44px);margin-bottom:0;border-radius:16px 16px 0 0;
 border-bottom:0;background-position:center 47%;
 background-image:linear-gradient(95deg,#0b2432 0%,#0b2432ee 33%,#0b243271 70%),url('./ocean-header.webp')
}
#momec-world-prospects .cmr-brand img{width:clamp(126px,16vw,174px)}
#momec-world-prospects .cmr-brand .brand-line{letter-spacing:.21em}
#momec-world-prospects .cmr-header h1{font-size:clamp(1rem,2vw,1.25rem);margin-top:11px}
#momec-world-prospects .cmr-credit{color:#c1d2d9}
#team-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;margin:0 0 14px;padding:9px 14px;background:#fff;border-radius:0 0 12px 12px;border-top:3px solid #38af9f}
#team-toolbar>strong{margin-right:auto;font-size:.84rem;color:#17645b}
#team-toolbar>strong::before{content:"";display:inline-block;width:7px;height:7px;margin-right:8px;border-radius:50%;background:#158171;vertical-align:2px}
#team-toolbar #team-account{font-size:.82rem;margin:0}
#momec-world-prospects #team-toolbar button{font-size:.82rem;min-height:36px;padding:6px 10px;margin:0;background:#f7fafb}
#team-toolbar output{flex-basis:100%;font-size:.84rem}
#team-toolbar output:empty{display:none}
#crm-nav{gap:5px;background:#fff;border:1px solid #d7e3e8;border-radius:12px;padding:5px;margin-bottom:16px}
#momec-world-prospects #crm-nav button{border-color:transparent;border-radius:8px;padding:8px 15px}
#momec-world-prospects #crm-nav button[aria-pressed=true]{background:#173c49;box-shadow:none;color:#fff}
#momec-world-prospects #crm-nav button[aria-pressed=false]:hover{background:#eaf4f3;color:#145a52}
#momec-world-prospects #dashboard{padding:clamp(15px,3vw,30px);border-radius:14px;background:#fff}
.crm-eyebrow{display:block;color:#197064;font-size:.72rem;font-weight:750;letter-spacing:.14em;text-transform:uppercase}
#dashboard h2{margin:5px 0;font-size:clamp(1.55rem,3vw,2.25rem);line-height:1.12;letter-spacing:-.035em}
#dashboard .overview-intro{margin:7px 0 20px}
#seller-bookings{gap:10px}
#seller-bookings .dashboard-grid{gap:10px;margin-bottom:6px}
#momec-world-prospects #seller-bookings .dashboard-grid button{
 display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-height:100px;padding:13px 15px;
 border-radius:10px;background:#f4f8fa;border-color:#d9e6eb;text-align:left;font-size:.84rem
}
#momec-world-prospects #seller-bookings .dashboard-grid strong{font-size:1.9rem;line-height:1.05;color:#173e4b}
#momec-world-prospects #seller-bookings .dashboard-grid button[data-priority="true"]{background:#fff6e7;border-color:#e6ce9e}
#momec-world-prospects #seller-bookings .dashboard-grid button:hover{border-color:#2a877d;background:#eaf5f3}
#seller-bookings details{border-radius:9px;background:#f7fafb}
#seller-bookings .overview-tools{grid-column:1/-1;display:flex;justify-content:flex-end;flex-wrap:wrap;align-items:center;gap:8px}
#seller-bookings .overview-tools button{margin:0;font-size:.81rem}
#seller-bookings .overview-tools button:disabled{opacity:.55}
#seller-bookings .overview-tools [role=status]:empty{display:none}
#global-filters label{font-size:.86rem;font-weight:650;margin:0}
#global-filters select{margin-top:4px}
@media(max-width:600px){
 #momec-world-prospects .cmr-header{min-height:125px}
 #crm-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 #momec-world-prospects #crm-nav button{padding:6px;text-align:center}
 #team-toolbar>strong,#team-toolbar #team-account{flex-basis:100%}
 #seller-bookings{grid-template-columns:minmax(0,1fr)}
}

#momec-world-prospects .customer-result .customer-owner{color:#17645b;font-weight:650;margin-top:3px}

/* Keep the final offer action after all editable fields. */
#momec-world-prospects .quote-save-actions{grid-column:1/-1;position:sticky;bottom:12px;z-index:3;margin-top:20px;padding:16px;background:#fff;border:1px solid #c5d6df;border-top:3px solid #17645b;border-radius:12px;box-shadow:0 5px 22px #12334322}
#momec-world-prospects .quote-save-actions p{margin:0 0 10px;color:#244454;font-weight:600}
#momec-world-prospects .quote-primary-save{display:block;width:100%;min-height:52px;padding:14px 22px;background:#17645b;color:#fff;border:2px solid #17645b;border-radius:9px;font-size:17px;font-weight:750;cursor:pointer}
#momec-world-prospects .quote-primary-save:hover{background:#104b45}
#momec-world-prospects .quote-primary-save:focus-visible{outline:3px solid #d5a744;outline-offset:3px}
#momec-world-prospects .quote-primary-save:disabled{opacity:.6;cursor:wait}

/* Shared heading hierarchy across all CRM views and dialogs. */
body label,body dialog label,#momec-world-prospects label,#global-filters label{
 font-size:.96rem;font-weight:700;line-height:1.5;color:#173c49
}
body label :is(input,select,textarea),body dialog :is(input,select,textarea),#momec-world-prospects :is(input,select,textarea){font-weight:400;font-size:1rem;line-height:1.4}
body :is(h2,h3,h4),body dialog :is(h2,h3,h4){color:#123644;font-weight:750;line-height:1.3;letter-spacing:-.015em}
#momec-world-prospects h2,body dialog h2{font-size:clamp(1.4rem,2.4vw,1.8rem)}
#momec-world-prospects h3,body dialog h3,#seller-management h3{font-size:1.15rem}
#momec-world-prospects h4,body dialog h4{font-size:1.04rem}
body legend,body dialog legend,#momec-world-prospects legend{font-size:1.04rem;font-weight:750;line-height:1.4;color:#155c56;padding:0 8px}
#momec-world-prospects summary,body dialog summary{font-size:1.02rem;font-weight:750;color:#173c49;line-height:1.5}
#momec-world-prospects th,body dialog th{font-weight:750;color:#173c49}
#momec-world-prospects .cmr-header h1{color:#fff;font-size:clamp(1.25rem,2.4vw,1.6rem);font-weight:750}
#dashboard h2{font-size:clamp(1.65rem,3vw,2.25rem)}
#team-sign-in :is(h1,h2,h3,legend,label){color:inherit}

#momec-world-prospects .quote-list-attachments{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin-top:8px}
#momec-world-prospects .quote-attachment{max-width:100%;min-height:40px;margin:0;padding:8px 10px;background:#e7f3f0;border:1px solid #9bc4ba;color:#145c51;font-size:.85rem;font-weight:650;text-align:left;overflow-wrap:anywhere;white-space:normal;text-decoration:underline;text-underline-offset:3px}
#momec-world-prospects .quote-attachment:hover{background:#d6ebe5;border-color:#17645b}
#momec-world-prospects .quote-attachment:focus-visible{outline:3px solid #d5a744;outline-offset:2px}

/* Use available desktop width for full customer and seller names. */
@media(min-width:1051px){
 body{max-width:1640px;padding-left:24px;padding-right:24px}
 #quote-overview .quote-seller{min-width:10.5rem;max-width:none}
 #quote-overview .quote-customer{width:100%;overflow-wrap:normal;word-break:normal}
 #quote-overview td:first-child{min-width:12rem}
 #quote-overview td:nth-child(2){min-width:9rem}
 #quote-overview .quote-owner-note{overflow-wrap:normal}
 #quote-overview .quote-attachment{word-break:normal;overflow-wrap:normal}
}
@media(min-width:1300px){
 #quote-overview td:first-child{min-width:16rem;width:23%}
 #quote-overview td:nth-child(2){min-width:11rem;width:15%}
 #quote-overview .quote-customer{white-space:normal}
}

.order-celebration{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:2147483646}
.order-celebration-message{position:fixed;top:22px;left:50%;transform:translateX(-50%);max-width:90vw;padding:15px 24px;border-radius:12px;background:#17645b;color:white;font-size:1.15rem;font-weight:750;box-shadow:0 6px 25px #12334340;z-index:2147483647;pointer-events:none;text-align:center}

.order-celebration-stage{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;overflow:hidden;pointer-events:none;color:inherit;z-index:2147483647}
.order-celebration-stage::backdrop{background:transparent;pointer-events:none}
.order-celebration-stage .order-celebration-message{top:36%;left:50%;transform:translate(-50%,-50%);width:min(640px,90vw);max-width:90vw;padding:30px 35px;border:1px solid #e6c76d;border-radius:22px;background:linear-gradient(135deg,#102d3af5,#071822f5);box-shadow:0 16px 60px #07182255,0 0 35px #dab34430}
.order-celebration-message strong{display:block;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2rem,5.5vw,3.8rem);font-weight:700;line-height:1.15;letter-spacing:-.025em;color:#f4d77f;background:linear-gradient(110deg,#c4932e,#fff3ba 40%,#d9ad4c 70%,#fff0ac);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.order-celebration-message span{display:block;margin-top:12px;font-size:clamp(.9rem,2.3vw,1.15rem);font-weight:500;letter-spacing:.12em;color:#dfd4b3}

/* Keep offer reference and PDF together, aligned with the row controls. */
#quote-overview th,#quote-overview td{vertical-align:middle}
#quote-overview td:nth-child(2){line-height:1.5}
#quote-overview .quote-list-attachments{display:inline-flex;flex-direction:row;flex-wrap:wrap;vertical-align:middle;gap:6px;margin:0 0 0 12px}
#quote-overview .quote-attachment{display:inline-flex;align-items:center;min-height:36px;padding:7px 10px;border-radius:8px;line-height:1.25}
@media(min-width:1051px){
 #quote-overview td:nth-child(2){min-width:14rem;width:auto}
 #quote-overview .quote-attachment{white-space:nowrap}
}
@media(max-width:1050px){
 #quote-overview .quote-list-attachments{display:flex;margin:6px 0 0}
}
