:root { color-scheme: light; font-family: Inter, Arial, sans-serif; color: #2f2925; background: #fbfaf7; }
html, body { min-height: 100%; margin: 0; background: #fbfaf7; }
*, *::before, *::after { box-sizing: border-box; }
.happyday-appbar { min-height: 94px !important; padding-block: 12px; background: rgba(255,255,255,.92) !important; backdrop-filter: blur(12px); border-bottom: 1px solid #ebe5de; }
.appbar-navigation { display: flex; align-items: center; gap: .15rem; }
.brand-logo-link { display: flex; align-items: center; }.appbar-logo { width: 118px; height: auto; }
.landing-hero, .hero-section { position: relative; display: flex; align-items: center; min-height: calc(100vh - 64px); overflow: hidden; color: #fff; }
.landing-photo, .hero-media, .landing-shade, .hero-overlay { position: absolute; inset: 0; }.landing-photo { background: center / cover url('/images/fussl-happyday-landing.jpg'); }.hero-media { background: center / cover url('/images/happyday-crm-hero.png'); }.landing-shade, .hero-overlay { background: linear-gradient(105deg, rgba(43,31,23,.88), rgba(43,31,23,.42)); }
.landing-content, .hero-content { position: relative; z-index: 1; width: 100%; }.landing-content { max-width: 720px !important; text-align: center; }.landing-logo { display: block; box-sizing: border-box; width: min(300px,72vw); height: auto; margin: 0 auto 1.75rem; padding: 18px 22px; background: #fff; border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.16); }.landing-title, .hero-title { font-family: 'Playfair Display', Georgia, serif !important; font-weight: 700 !important; }.landing-title { font-size: clamp(3rem,7vw,5.5rem) !important; }.landing-copy, .hero-copy { max-width: 42rem; font-size: 1.15rem !important; line-height: 1.7 !important; }.landing-copy { margin: 1rem auto 2rem; }
.hero-section { min-height: 440px; }.hero-content { padding-block: 5.5rem 4rem; }.eyebrow, .hero-section .mud-typography-overline { color: #ead7bd; letter-spacing: .16em; }.hero-title { margin: .25rem 0 1rem !important; font-size: clamp(3rem,6vw,5rem) !important; }.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.today-panel { padding: 1.5rem; color: #2f2925; background: rgba(255,255,255,.94); border-radius: 12px; box-shadow: 0 18px 44px rgba(0,0,0,.2); }.metric-list { margin-top: 1rem; border-top: 1px solid #ebe5de; }.metric-row { display: grid; grid-template-columns: 26px 1fr auto; gap: .55rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid #eee9e2; }.metric-row .mud-icon-root, .action-icon, .integration-item .mud-icon-root { color: #9f7d46; }.metric-row strong { font-size: 1.25rem; }
.home-content, .request-page { padding-block: 2.5rem; }.action-card, .work-panel, .request-item { height: 100%; padding: 1.35rem; background: #fff; border: 1px solid #e9e3dc; border-radius: 10px; box-shadow: 0 8px 24px rgba(76,61,51,.06); }.action-card { transition: transform .18s ease, box-shadow .18s ease; }.action-card:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(76,61,51,.12); }.action-icon { margin-bottom: .8rem; font-size: 2rem !important; }.workspace-grid { margin-top: 1rem; }.panel-heading, .request-header, .request-summary, .request-actions { display: flex; gap: 1rem; align-items: center; justify-content: space-between; }.appointment-row { display: flex; gap: 1rem; align-items: center; padding: 1rem 0; border-top: 1px solid #eee9e2; }.appointment-time { display: grid; width: 4.5rem; color: #6d625b; font-size: .82rem; }.appointment-time strong { color: #2f2925; font-size: 1rem; }.appointment-details { flex: 1; }.integration-item { display: flex; gap: .65rem; align-items: center; margin: 1rem 0; }
.calendar-page { padding: 1.5rem; }.calendar-shell { display: grid; grid-template-columns: 260px minmax(0,1fr); min-height: calc(100vh - 112px); overflow: hidden; background: #fff; border: 1px solid #e8e2db; border-radius: 12px; box-shadow: 0 8px 26px rgba(76,61,51,.07); }.calendar-sidebar { padding: 1.5rem; background: #f8f5f0; border-right: 1px solid #e8e2db; }.calendar-sidebar > .mud-button { margin: 1.25rem 0; }.mini-month-title { margin-bottom: .75rem; font-weight: 700; text-transform: capitalize; }.mini-weekdays, .mini-days { display: grid; grid-template-columns: repeat(7,1fr); gap: .15rem; text-align: center; }.mini-weekdays { margin-bottom: .3rem; color: #766b63; font-size: .7rem; }.mini-day { aspect-ratio: 1; border: 0; border-radius: 50%; color: inherit; background: transparent; font: inherit; font-size: .76rem; cursor: pointer; }.mini-day:hover { background: #e9dfd1; }.mini-day.muted { color: #b8afa7; }.mini-day.today { color: #9f7d46; font-weight: 700; }.mini-day.selected { color: #fff; background: #9f7d46; }.calendar-legend { display: grid; gap: .65rem; margin-top: 2rem; color: #6d625b; font-size: .82rem; }.calendar-legend span { display: flex; gap: .5rem; align-items: center; }.legend-dot { width: 9px; height: 9px; border-radius: 50%; }.new { background: #3f7cac; }.contacted { background: #a56b36; }.neutral { background: #80756d; }
.calendar-main { min-width: 0; padding: 1.5rem; }.calendar-toolbar { display: flex; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }.calendar-toolbar-actions { display: flex; gap: .5rem; align-items: center; }.calendar-loading { display: grid; min-height: 280px; place-items: center; }.outlook-month { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); border: 1px solid #e6e0d9; }.calendar-weekday { padding: .7rem; color: #756961; background: #f8f5f0; font-size: .8rem; font-weight: 700; text-align: center; }.month-day { min-height: 120px; padding: .5rem; color: inherit; text-align: left; background: #fff; border: 0; border-top: 1px solid #eee9e2; border-right: 1px solid #eee9e2; cursor: pointer; }.month-day:hover { background: #fcfaf7; }.month-day.outside-month { color: #aaa29c; background: #fbfaf8; }.month-day.selected { box-shadow: inset 0 0 0 2px #9f7d46; }.month-day-number { font-weight: 700; }.month-events { display: grid; gap: .25rem; margin-top: .4rem; }.month-event, .week-event { overflow: hidden; padding: .25rem .35rem; color: #2f2925; text-align: left; background: #f5f2ef; border: 0; border-left: 3px solid #80756d; font: inherit; font-size: .72rem; }.month-event { white-space: nowrap; text-overflow: ellipsis; }.month-event span { margin-right: .25rem; }.status-new { border-color: #3f7cac; background: #eaf3f8; }.status-contacted { border-color: #a56b36; background: #faf0e7; }.status-neutral { border-color: #80756d; }.month-more { color: #6d625b; font-size: .72rem; }.outlook-week { display: grid; grid-template-columns: 58px repeat(7,minmax(100px,1fr)); overflow-x: auto; border: 1px solid #e6e0d9; }.week-time-header, .week-day-header { min-height: 58px; background: #f8f5f0; border: 0; border-bottom: 1px solid #e6e0d9; }.week-day-header { color: #6d625b; cursor: pointer; }.week-day-header span, .week-day-header strong { display: block; }.week-day-header.today { color: #9f7d46; }.week-time { height: 78px; padding: .45rem; color: #837870; text-align: right; border-right: 1px solid #e6e0d9; border-bottom: 1px solid #eee9e2; font-size: .75rem; }.week-slot { min-height: 78px; padding: .2rem; border-right: 1px solid #eee9e2; border-bottom: 1px solid #eee9e2; }.week-event { display: grid; width: 100%; gap: .12rem; cursor: pointer; }.week-event small { color: #6d625b; }
.request-header { margin-bottom: 1.5rem; }.request-list { display: grid; gap: 1rem; }.request-summary { margin-bottom: 1rem; }.request-actions { justify-content: flex-end; margin-top: 1rem; }.field-label { display: block; margin: 0 0 .3rem .2rem; color: #6d625b; font-size: .75rem; }.native-field { width: 100%; min-height: 40px; padding: .55rem .75rem; color: #2f2925; background: #fff; border: 1px solid #bdb5ad; border-radius: 4px; font: inherit; }
.customer-list-item { display: grid; width: 100%; gap: .2rem; padding: .35rem; text-align: left; }.customer-list-item small { color: #6d625b; }
#blazor-error-ui { display: none; position: fixed; z-index: 10000; bottom: 0; width: 100%; padding: .75rem 1.25rem; color: #332701; background: #fff3cd; }.blazor-error-boundary { padding: 1rem 1rem 1rem 3.7rem; color: #fff; background: #b32121; }
@media (max-width: 900px) { .calendar-shell { grid-template-columns: 1fr; }.calendar-sidebar { border-right: 0; border-bottom: 1px solid #e8e2db; }.calendar-legend { grid-template-columns: repeat(3,max-content); margin-top: 1.25rem; }.outlook-month { grid-template-columns: repeat(7,120px); overflow-x: auto; } }
@media (max-width: 600px) { .appbar-navigation { overflow-x: auto; max-width: calc(100vw - 180px); }.appbar-navigation .mud-button { min-width: auto; padding-inline: .35rem; font-size: .72rem; }.calendar-page { padding: .5rem; }.calendar-main, .calendar-sidebar { padding: 1rem; }.calendar-toolbar, .request-header, .request-summary { flex-direction: column; align-items: flex-start; }.calendar-toolbar-actions { flex-wrap: wrap; }.hero-content { padding-block: 4rem 3rem; }.appointment-row { flex-wrap: wrap; align-items: flex-start; }.appointment-row .mud-chip { margin-left: 4.5rem; }.request-actions { flex-direction: column; align-items: stretch; }.request-actions .mud-button { width: 100%; } }

.contract-toolbar{max-width:210mm;margin:1rem auto;text-align:right}.purchase-contract{box-sizing:border-box;width:210mm;min-height:297mm;margin:0 auto;padding:18mm 17mm 14mm;color:#222;background:#fff;font-family:Arial,sans-serif;font-size:10pt}.purchase-contract header{display:flex;align-items:center;justify-content:space-between;margin-bottom:7mm}.purchase-contract h1{width:72%;margin:0;padding:6mm 3mm;background:#f0edeb;font-size:27pt;font-weight:400}.contract-logo img{display:block;width:43mm;height:auto}.contract-table{width:100%;margin:6mm 0;border-collapse:collapse}.contract-table th,.contract-table td{height:7mm;padding:1.5mm 2.5mm;border:1px solid #888;text-align:left;font-weight:400;vertical-align:middle}.contract-table th{width:22%;white-space:nowrap}.contract-table small{display:block;color:#777}.contract-products .contract-note{border:0;color:#999;font-size:8pt;vertical-align:bottom}.contract-emphasis{font-weight:700}.contract-terms{color:#999;font-size:8.4pt;line-height:1.25}.contract-signature{display:flex;justify-content:space-around;align-items:end;margin:20mm 0 9mm}.contract-signature span:last-child{width:42%;color:#999}.contract-signature i{display:block;border-top:1px solid #777;margin-bottom:2mm}.purchase-contract footer{color:#999;text-align:center;font-size:7.5pt;line-height:2}.purchase-contract footer b{color:#222}@media print{body{background:#fff}.contract-toolbar,.happyday-appbar{display:none!important}.purchase-contract{margin:0;box-shadow:none}.mud-layout,.mud-main-content{padding:0!important;margin:0!important}@page{size:A4;margin:0}}

.outlook-week-spanning{grid-template-columns:58px repeat(7,minmax(100px,1fr));align-items:start}.week-time-column{grid-column:1}.week-day-column{min-width:100px;border-right:1px solid #eee9e2}.week-day-column .week-day-header{width:100%}.week-day-body{position:relative;height:858px;background:repeating-linear-gradient(to bottom,#fff 0,#fff 77px,#eee9e2 77px,#eee9e2 78px)}.week-day-body .week-slot{display:block;width:100%;height:78px;min-height:0;padding:0;background:transparent;border:0;border-bottom:1px solid transparent}.week-day-body .week-slot:hover{background:rgba(159,125,70,.08)}.week-event-spanning{position:absolute;z-index:2;overflow:hidden;padding:5px 7px}.week-event-spanning:hover{filter:brightness(.97);box-shadow:0 2px 5px rgba(0,0,0,.18)}.week-event-spanning strong{padding-right:4.8rem;font-size:.86rem;line-height:1.1}.week-event-spanning .appointment-phone{font-size:.72rem}.appointment-category{position:absolute;top:5px;right:5px;padding:2px 5px;border-radius:9px;color:#fff;font-size:.62rem;line-height:1.1}.appointment-category.category-0{background:#d84f92}.appointment-category.category-1{background:#3f88c5}.salesperson-badge{position:absolute;right:5px;bottom:5px;display:grid;width:22px;height:22px;place-items:center;border-radius:50%;color:#fff;background:#65554a;font-style:normal;font-size:.62rem;font-weight:700}
 .mail-editor-toolbar button { border: 0; border-radius: 5px; background: transparent; color: #4d3d33; min-width: 38px; padding: 7px 10px; cursor: pointer; font: inherit; }
 .mail-editor-toolbar button:hover, .mail-editor-toolbar button:focus-visible { background: #f0e9df; outline-color: #9f7d46; }

.week-event-spanning { container-type: inline-size; }
.appointment-badges { position: absolute; top: 3px; right: 3px; z-index: 1; display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.appointment-badges .appointment-category, .appointment-badges .salesperson-badge { position: static; flex: 0 0 auto; }
.appointment-badges .appointment-category { display: inline-flex; align-items: center; min-height: 20px; }
@container (max-width: 150px) { .appointment-category-label { display: none; } }

.contract-toolbar { margin-top: 3rem; }
.purchase-contract header { gap: 3mm; }
.purchase-contract h1 { flex: 1 1 auto; width: auto; min-width: 0; }
.contract-storage { flex: 0 1 39mm; min-width: 0; text-align: center; overflow-wrap: anywhere; }
.contract-storage span { display: block; font-size: 7pt; color: #777; }
.contract-storage strong { display: block; margin-top: 1mm; font-size: 11pt; }
.contract-logo { flex: 0 0 43mm; }
.contract-products .contract-main-price-empty { border: 0; }
.contract-products .contract-product-spacer td { height: 5mm; padding: 0; border: 0; }
.contract-products td:last-child { white-space: nowrap; }
.contract-signature { margin: 12mm 0 5mm; }
