/* V39 — visual layer coordinated with VCM Display. Screen UI only. */
@media screen {
body{background:radial-gradient(ellipse at 90% 0%,#ffe4ce 0,transparent 42%),linear-gradient(135deg,#fffaf6,#fff6ef);background-attachment:fixed;-webkit-font-smoothing:antialiased;color:#243047}
.app{max-width:1120px;padding:24px 24px 70px!important}
main{padding:0!important}
.topbar,body.workflow-active .topbar{background:#ffffffeb!important;border:1px solid #efdfd3!important;border-radius:22px;box-shadow:0 8px 32px #64371b08!important;padding:16px 20px!important;margin:0 0 24px!important;gap:14px!important}
.topbar .logo{box-shadow:none;width:52px!important;height:52px!important;border-radius:15px!important}
.topbar .brand{min-width:0!important}
.topbar .brand h1{font-size:23px!important;line-height:1.15!important;color:#243047;letter-spacing:-.7px!important;font-weight:800}
.topbar .brand p{font-size:12px!important;line-height:1.4!important;margin-top:4px!important;color:#96735d;font-weight:600}
.topbar .mini{background:#fff5ec;color:#9b471c;border:1px solid #f0dac9;box-shadow:none!important;border-radius:12px!important;min-height:40px!important}
.card,.authGate{border:1px solid #efdfd3;border-radius:22px!important;box-shadow:0 8px 28px #64371b07!important;padding:24px!important;margin:18px 0!important;background:#fff}
.sectionTitle{gap:12px!important;margin-bottom:24px!important;align-items:center!important}
.sectionTitle h3,.homeModeCard .sectionTitle h3{font-size:24px!important;line-height:1.22!important;font-weight:750;color:#243047;letter-spacing:-.65px}
.sectionTitle>span{flex-shrink:0;width:34px!important;height:34px!important;border-radius:11px!important;background:#fff0e3;color:#ae4b16;font-size:15px!important;font-weight:800}
.homeModeCard{background:transparent!important;border:0;box-shadow:none!important;padding:8px 0!important;min-height:0!important}
.smartHomeGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;margin:0!important}
.smartModeBtn{position:relative;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;text-align:left!important;min-height:192px!important;max-height:none!important;padding:24px!important;gap:8px!important;background:#fff!important;border:1px solid #efdfd3!important;border-radius:20px!important;box-shadow:0 8px 24px #64371b06!important;color:#243047!important;overflow:hidden}
.smartModeBtn .modeIcon{align-self:flex-start!important;display:grid;place-items:center;width:48px!important;height:48px!important;border-radius:14px!important;background:#fff2e7!important;border:1px solid #f5e3d4!important;font-size:25px!important;margin:0 0 12px!important;box-shadow:none!important}
.smartModeBtn strong,.calendarTile strong{font-size:21px!important;line-height:1.2!important;letter-spacing:-.5px!important;color:#243047;font-weight:750;margin:0!important}
.smartModeBtn small,.calendarTile small{font-size:13px!important;line-height:1.5!important;color:#777080;font-weight:500;max-width:100%!important}
.smartModeBtn::after{content:'↗';position:absolute;inset:auto;width:auto;height:auto;background:none;transform:none;border-radius:0;right:20px;top:22px;color:#c4794c;font-size:20px}
.calendarTile{grid-column:auto!important}
.homeFooterInfo{border:0;background:transparent;color:#8c7d74;font-size:11px;font-weight:500;margin:24px auto 0}
label{color:#4d5362;font-weight:650;letter-spacing:0;font-size:13px!important;margin:14px 0 6px!important}
input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select{border:1px solid #e3dedb;border-radius:12px!important;background:#fff;padding:12px 14px!important;font-size:16px!important;min-height:46px;color:#243047;box-shadow:none;line-height:1.4}
input::placeholder,textarea::placeholder{color:#96929a;opacity:1}
input:focus,textarea:focus,select:focus{border-color:#f47727;box-shadow:0 0 0 3px #f477271a;outline:none}
input:required:placeholder-shown{background:#fffcf8;border-color:#e9c9b1}
button{font-family:inherit;font-weight:700;box-shadow:none;border-radius:12px;transition:background .16s,box-shadow .16s,transform .16s}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #e6803b;outline-offset:3px}
.primary{background:#f47727;color:#fff;box-shadow:0 5px 14px #f4772724}
.primary.alt{background:#243b60}
.ghost,.mini,.actions .ghost#clearOfferBtn,.actions .ghost#newQuoteBtn{background:#fff5ec;color:#9b471c;border:1px solid #efddce}
.stickyActions{position:static;padding:0;background:none;backdrop-filter:none;margin-top:20px!important;gap:10px!important}
.stickyActions button{min-height:48px;font-size:14px!important;border-radius:12px!important}
.status{background:#faf8f6;border-color:#e9e1db;color:#706b70;border-radius:12px;font-size:13px;line-height:1.6;font-weight:500;padding:14px 16px;overflow-wrap:anywhere}
.compactModeHeader{background:transparent!important;box-shadow:none!important;border:0;padding:0!important;margin:8px 0 18px!important}
.compactModeHeader .ghost{width:auto!important;background:#fff;border:1px solid #efdfd3;font-size:13px!important;min-height:40px!important;padding:10px 15px!important}
.sourceBlock,.composedTools,.composedDescriptions{border-color:#efdfd3;background:#fffcf9;border-radius:16px!important;box-shadow:none}
.sectionSubTitle{color:#9b471c;font-size:17px!important;font-weight:700}
.smallNote{font-weight:500;line-height:1.55!important;color:#777080}
.archiveGroup,.archiveFold,.archiveItem,.quoteStatusBox{border-color:#ece2da;box-shadow:none;background:#fff;border-radius:14px}
.archiveHeaderCard{background:#fffaf6;border-color:#efdfd3}
.archiveHero h2{color:#243047}
.archiveTools input,.archiveTools select{border-color:#e3dedb}
.archiveCount{background:#fff0e3;color:#a25224}
#cruiseTools .portalQuickBox,#cruiseTools .cruiseImportBox{box-shadow:none;border-color:#efdfd3}
#cruiseTools .cruiseImportFile{background:#fffcf9;border-color:#e8c2a6}
.authGate{max-width:520px;margin:64px auto!important;padding:36px!important}
.authGate h2{font-size:25px;color:#243047}.authGate p{font-size:14px;font-weight:500;line-height:1.6}
.authGateNote{background:#fff8f2;border-color:#f0e1d7;font-weight:500}
.toTop{background:#f47727;box-shadow:0 6px 18px #9b471c24;border-radius:16px!important}
@media(hover:hover){.smartModeBtn:hover{border-color:#e9b48f!important;box-shadow:0 12px 30px #64371b10!important;transform:translateY(-2px)}.primary:hover{background:#df6821}.ghost:hover,.mini:hover{background:#ffe9d7}}
@media(max-width:760px){
.app{padding:14px 14px 72px!important}.topbar,body.workflow-active .topbar{padding:13px!important;gap:10px!important;margin-bottom:20px!important;border-radius:18px}
.topbar .logo{width:42px!important;height:42px!important}.topbar .brand{flex:1 1 140px!important;min-width:0!important}.topbar .brand h1{font-size:19px!important}.topbar .brand p{font-size:11px!important}
.topbar .mini{font-size:11px!important;padding:8px 10px!important}
.card{padding:19px!important;margin:14px 0!important;border-radius:19px!important}
.homeModeCard{padding:4px 0!important}.homeModeCard .sectionTitle{margin-bottom:20px!important}
.sectionTitle h3,.homeModeCard .sectionTitle h3{font-size:22px!important;line-height:1.25!important}
.smartHomeGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.smartModeBtn{min-height:174px!important;padding:17px!important;border-radius:18px!important}
.smartModeBtn strong,.calendarTile strong{font-size:19px!important}.smartModeBtn small,.calendarTile small{font-size:12px!important;line-height:1.45!important}
.smartModeBtn .modeIcon{width:43px!important;height:43px!important;font-size:23px!important;margin:0 0 9px!important}
.smartModeBtn::after{right:15px;top:16px;font-size:17px}
.calendarTile{grid-column:1/-1!important;min-height:110px!important;display:grid!important;grid-template-columns:43px 1fr!important;column-gap:15px!important;align-content:center!important}
.calendarTile .modeIcon{grid-row:1/3!important;margin:0!important;align-self:center!important}.calendarTile strong,.calendarTile small{grid-column:2}
label{font-weight:650;margin-top:15px!important}.grid2,.grid3{gap:4px!important;min-width:0}
.stickyActions button{min-height:47px!important}.status{font-size:13px!important}
.compactModeHeader{padding:0!important}.authGate{margin:30px auto!important;padding:24px!important}.authGateNote{overflow-wrap:anywhere}
.photoRow{grid-template-columns:64px minmax(0,1fr) auto}.photoRow img{width:64px;height:54px}.photoRow input{min-width:0}
.photosHead{flex-wrap:wrap;gap:10px}
}
@media(prefers-reduced-motion:reduce){button{transition:none}.smartModeBtn:hover{transform:none}}
}
