.suite-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.suite-card{background:#fff;border:1px solid #e0e7f1;border-radius:18px;padding:24px;box-shadow:0 5px 24px #172b5208;min-width:0;overflow-wrap:anywhere}.suite-card h3{font-size:20px;line-height:1.35;margin:16px 0 8px;color:#172b52}.suite-card p{color:#64748b;line-height:1.6;white-space:pre-wrap}.suite-card-top,.suite-card-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.suite-card-summary{border-top:1px solid #edf1f7;margin-top:16px;padding-top:16px}.suite-card-summary strong{font-size:26px;color:#214ba0}.suite-card-summary span,.suite-number{font-size:12px;color:#64748b}.suite-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.suite-actions .button{min-height:40px}.suite-actions select{min-width:160px;max-width:100%;border:1px solid #d5deeb;border-radius:8px;padding:8px}.suite-metrics{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:24px}.suite-metrics>div{background:linear-gradient(130deg,#172b52,#315ba3);border-radius:16px;padding:22px 28px;color:white;min-width:190px;flex:1}.suite-metrics>div:nth-child(2){background:linear-gradient(130deg,#0d6a71,#2b9da0)}.suite-metrics>div:nth-child(3){background:linear-gradient(130deg,#8d4d22,#cc8747)}.suite-metrics span{display:block;font-size:13px;opacity:.85}.suite-metrics strong{display:block;font-size:30px;margin-top:9px}.suite-job-date{display:flex;align-items:center;gap:9px;padding:12px;background:#f1f5fc;border-radius:9px;color:#315ba3;font-size:13px}.suite-job-date svg{width:20px;height:20px}.suite-wide{width:min(1080px,calc(100vw - 40px));max-width:1080px}.estimate-line{display:grid;grid-template-columns:1fr 240px;gap:20px;background:#f4f7fc;padding:18px;margin-top:14px;border:1px solid #dce5f2;border-radius:12px}.estimate-line-main{display:grid;gap:10px}.estimate-line-values{display:grid;grid-template-columns:1fr 1fr;gap:10px}.estimate-line-values .field{min-width:0}.estimate-line-values .button{grid-column:1/-1}.estimate-line input,.estimate-line textarea{width:100%}.estimate-line textarea{min-height:70px}.suite-check{display:flex;gap:10px;align-items:center;line-height:1.5;min-height:44px}.suite-check input{width:20px;height:20px;flex-shrink:0;accent-color:#2857a5}.quote-total{background:#172b52;color:#fff;padding:20px;border-radius:12px;display:flex;align-items:center;justify-content:space-between}.quote-total strong{font-size:28px}.suite-line-preview>div{display:flex;gap:20px;justify-content:space-between;padding:16px 0;border-bottom:1px solid #e1e8f3}.suite-line-preview small{display:block;color:#64748b;white-space:pre-wrap;margin-top:6px}.suite-totals{display:flex;flex-direction:column;align-items:flex-end;gap:10px;margin:24px 0}.suite-totals strong{font-size:26px;color:#214ba0}.suite-pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.suite-document h2{font-size:28px;color:#172b52}.signature-image{max-width:240px;width:100%;display:block}.permission-scroll{overflow-x:auto}.permission-table{width:100%;border-collapse:collapse;min-width:470px}.permission-table th,.permission-table td{padding:12px;border-bottom:1px solid #e1e8f3;text-align:center}.permission-table th:first-child{text-align:left;font-size:13px}.permission-table thead{background:#eef3fa}.permission-table input{width:23px;height:23px;accent-color:#2857a5;cursor:pointer}#signature-pad{width:100%;height:180px;border:2px dashed #b4c2d8;border-radius:12px;background:#fff;touch-action:none}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #67a4ef;outline-offset:2px}
@media(max-width:1000px){.suite-grid{grid-template-columns:repeat(auto-fit,minmax(270px,1fr))}.suite-card{padding:20px}.suite-wide{width:calc(100vw - 24px)}}
@media(max-width:700px){.suite-grid{grid-template-columns:1fr}.suite-card{padding:20px}.suite-metrics{gap:10px}.suite-metrics>div{min-width:130px;padding:18px}.suite-metrics strong{font-size:25px}.estimate-line{grid-template-columns:1fr;padding:14px}.estimate-line-values{grid-template-columns:1fr 1fr}.suite-wide{width:100%;max-height:100dvh;border-radius:0}.modal-overlay{padding:0}.modal{max-height:100dvh;width:100%;border-radius:0}.modal-body{padding:20px 16px;overflow-y:auto;overscroll-behavior:contain}.modal-footer{padding-bottom:max(16px,env(safe-area-inset-bottom))}.form-grid{grid-template-columns:1fr}.form-grid>.field{grid-column:1}.modal input,.modal select,.modal textarea{font-size:16px;min-height:44px}.modal textarea{min-height:110px}.suite-actions .button{flex:1;min-width:125px;min-height:44px}.suite-card-summary strong{font-size:24px}.table-wrap{overflow-x:auto}.top-actions{flex-wrap:wrap}.top-actions .button{font-size:12px}.page-heading{gap:14px;flex-wrap:wrap}.page-heading>.button{min-height:44px}.section-tools{flex-wrap:wrap}.suite-totals{align-items:flex-start}.permission-table th,.permission-table td{padding:10px 7px}.sidebar{max-height:100dvh;overflow-y:auto}#signature-pad{height:155px}}
#mobile-menu-button{display:none}@media(max-width:700px){#mobile-menu-button{display:flex;font-size:24px;align-items:center;justify-content:center;min-width:44px;min-height:44px}.sidebar{width:270px;transform:translateX(-100%);transition:transform .18s;z-index:40;box-shadow:8px 0 35px #12254233}.sidebar.mobile-open{transform:translateX(0)}.sidebar .brand>div:last-child,.sidebar .workspace-label,.sidebar .org-section,.sidebar .nav-item>span,.sidebar .sidebar-bottom .profile{display:block}.sidebar .nav-item{padding:12px 16px;min-height:44px}.sidebar .brand{justify-content:flex-start}.main{margin-left:0;width:100%}.topbar{position:sticky;top:0;z-index:45;background:#fff;padding:8px 12px;min-height:64px;height:auto}.toast{left:50%;font-size:14px}.page-heading p{font-size:14px}.page-heading>.button{font-size:14px}.task-meta,.note-card,.document-row,.drawer-description{font-size:14px}.drawer-tabs{overflow-x:auto;white-space:nowrap}.drawer-tabs button{min-height:44px;flex-shrink:0}.nav-item span{font-size:14px}.sidebar .navigation{overflow:visible}.sidebar-bottom{margin-top:24px}.suite-grid{min-width:0}.suite-card-summary span{font-size:13px}}
.sidebar{overflow-y:auto}#navigation{flex-shrink:0}.suite-grid>.empty{grid-column:1/-1}[hidden]{display:none!important}
.calendar-panel{padding:24px;background:#fff;border:1px solid #dfe7f2;border-radius:18px;margin-bottom:30px}.calendar-controls{display:grid;grid-template-columns:2fr 1.2fr 1.3fr 1fr 1fr;gap:14px}.calendar-controls label{display:flex;flex-direction:column;font-size:12px;color:#53677f;gap:6px}.calendar-controls input,.calendar-controls select{width:100%;min-width:0;border:1px solid #cbd7e7;padding:10px;border-radius:8px;min-height:44px;background:#fff;color:#172b52}.calendar-day-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;flex-wrap:wrap}.calendar-day-toolbar .suite-actions{margin:0}.calendar-status{font-size:12px;color:#58718f;padding:16px 0;border-bottom:1px solid #e3eaf3}.calendar-columns{display:grid;grid-template-columns:1fr 1.15fr;gap:26px;margin-top:22px}.calendar-columns>div{min-width:0}.calendar-columns h3{font-size:17px;margin-bottom:14px}.calendar-event{border:1px solid #dce5f3;border-left:4px solid #3769b2;background:#f5f8fd;border-radius:10px;padding:16px;margin-bottom:12px}.calendar-event.is-free{border-left-color:#218779;background:#f0faf6}.calendar-event>div:first-child{display:flex;gap:10px;align-items:center;justify-content:space-between}.calendar-event h4{margin:10px 0 5px;font-size:15px;overflow-wrap:anywhere}.calendar-event p{font-size:13px;color:#64748b}.calendar-event small{font-size:11px;color:#61748d}.calendar-slots{display:grid;grid-template-columns:1fr 1fr;gap:10px}.calendar-slot{padding:13px;border:1px solid #cdd8e7;border-radius:10px;text-align:left;background:#f2f5f9;color:#6f7d90;min-height:65px}.calendar-slot strong,.calendar-slot span{display:block}.calendar-slot span{font-size:12px;margin-top:4px}.calendar-slot.open{background:#eaf8f1;color:#176849;border-color:#92cdb1}.calendar-slot.open:hover{background:#d3f1e2}.calendar-slot:disabled{opacity:.75;cursor:default}.calendar-slot.busy{background:#fff0ed;border-color:#f0c3ba;color:#8c554c}.calendar-help{font-size:12px;line-height:1.6;color:#64748b;margin:12px 0}.calendar-warning{font-size:13px;line-height:1.6;color:#895215;background:#fff5df;border-radius:8px;padding:12px;margin-bottom:12px}.calendar-empty{padding:20px;background:#f5f8fc;border-radius:10px;color:#64748b}.tracker-history-title{font-size:20px;margin:24px 0 16px}@media(max-width:1000px){.calendar-controls{grid-template-columns:1fr 1fr}.calendar-controls label:first-child{grid-column:1/-1}.calendar-columns{gap:18px}}@media(max-width:700px){.calendar-panel{padding:16px}.calendar-columns{grid-template-columns:1fr}.calendar-controls input,.calendar-controls select{font-size:16px}.calendar-slots{grid-template-columns:1fr 1fr}.calendar-day-toolbar{align-items:stretch}.calendar-slot{padding:12px}.calendar-help,.calendar-event p{font-size:14px}}
.eligibility-selectors{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:24px}.eligibility-selectors label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#53677f;min-width:220px;flex:1}.eligibility-selectors select{padding:12px;border:1px solid #cbd7e7;background:#fff;border-radius:9px;min-height:44px;color:#172b52}.eligibility-result h4{margin:18px 0 8px;font-size:14px;color:#254d88}.eligibility-result ul{padding-left:20px;font-size:13px;line-height:1.6;color:#64748b}.eligibility-cap-note{display:block;font-size:11px}.eligibility-owner-content{padding:24px;line-height:1.7}.eligibility-owner-content>.suite-grid{margin:24px 0}.eligibility-owner-content details{margin:20px 0}.eligibility-owner-content summary{cursor:pointer;color:#2857a5;font-weight:600}.eligibility-owner-content .table-wrap{max-height:500px;overflow:auto}@media(max-width:700px){.eligibility-selectors{gap:12px}.eligibility-selectors label{min-width:100%}.eligibility-selectors select{font-size:16px}.eligibility-result ul{font-size:14px}.eligibility-owner-content{padding:16px}}
.calendar-view-switch{display:flex;gap:10px;margin-bottom:18px;flex-wrap:wrap}.week-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:22px}.week-heading h2{font-size:22px;color:#172b52}.week-heading p{color:#64748b;margin-top:7px}.week-planning-tools{display:flex;justify-content:space-between;gap:18px;align-items:end;flex-wrap:wrap;margin-top:18px}.week-planning-tools .suite-actions{margin:0}.week-area-search{margin:0;max-width:100%}.week-area-search label{display:block;font-size:12px;color:#53677f;margin-bottom:6px}.week-area-search>div{display:flex;gap:8px;flex-wrap:wrap}.week-area-search input{border:1px solid #cbd7e7;border-radius:8px;padding:10px;min-height:42px;max-width:100%}.week-areas-summary{padding:20px 0;border-bottom:1px solid #e3eaf3}.week-areas-summary>strong{display:block;font-size:13px;margin-bottom:12px}.week-areas-summary>div{display:flex;gap:8px;flex-wrap:wrap}.week-area{display:inline-flex;align-items:center;gap:7px;flex-wrap:wrap;padding:5px 8px;border-radius:7px;font-size:11px;font-weight:600;max-width:100%;overflow-wrap:anywhere;text-align:left;margin:6px 0;background:#e9f0fc;color:#2459a0}.week-area span{font-weight:400;opacity:.85}.week-area.blue{background:#e8f0ff;color:#2459a0}.week-area.orange{background:#fff0df;color:#92501d}.week-area.purple{background:#f1eaff;color:#7446a3}.week-area.teal{background:#e3f4f4;color:#22696d}.week-area.rose{background:#fce8ed;color:#944660}.week-area.unknown{background:#eef1f5;color:#7c8797;font-weight:400}.week-scroll{overflow-x:auto;padding:4px 0 16px;scrollbar-width:thin}.week-grid{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));gap:10px;min-width:900px}.weekly-panel{padding:20px}.week-day{background:#f7f9fd;border:1px solid #dce5f0;border-radius:12px;min-width:0;display:flex;flex-direction:column;overflow:hidden;scroll-snap-align:start}.week-day.selected{border-color:#3c74c5;box-shadow:0 0 0 1px #3c74c5}.week-day.has-area-match{background:#fff9f0;border-color:#e1b268}.week-day>header{padding:14px 11px;background:#edf2fa;border-bottom:1px solid #dce5f0}.week-day-title{display:flex;flex-direction:column;gap:3px;text-align:left;color:#172b52;background:none;padding:0;width:100%;min-height:44px}.week-day-title span{font-size:12px}.week-day-title strong{font-size:19px}.week-day-count{display:block;font-size:10px;color:#667b96;margin-top:5px}.week-day-events{padding:9px;flex:1}.week-event{border:1px solid #d9e3f2;border-left:3px solid #3c74c5;border-radius:8px;background:white;padding:10px;margin-bottom:10px;overflow-wrap:anywhere}.week-event.free{border-left-color:#52a697}.week-event-time{font-size:11px;font-weight:700;color:#284f86;display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px}.week-event-time>span{font-size:10px;font-weight:400}.week-event h4{font-size:13px;line-height:1.45;margin:8px 0 3px}.week-location{font-size:11px;color:#53677f;line-height:1.55;white-space:pre-wrap}.week-map-link{font-size:11px;color:#285c9f;display:block;margin:7px 0}.week-event>small{font-size:9px;color:#8090a5;display:block;margin-top:8px}.week-event>.button{padding:6px;font-size:10px;width:100%;margin-top:9px}.week-event.area-match{border-color:#c0802b;border-left:4px solid #d48b30;background:#fffaf1}.week-event.area-muted{opacity:.48}.week-day>footer{padding:12px 9px;border-top:1px solid #e0e7f1;background:#f1f5fb;display:flex;flex-direction:column;gap:6px}.week-day>footer>strong{font-size:12px;color:#285a82}.week-day>footer>span{font-size:10px;color:#6c7c92}.week-day>footer>.button{font-size:10px;padding:8px;white-space:normal}.week-quick-slots{display:flex;flex-wrap:wrap;gap:5px}.week-quick-slots button{background:#e2f3eb;color:#20654d;border:1px solid #afd0bf;border-radius:6px;padding:6px;font-size:10px;min-height:33px}.week-empty{font-size:12px;color:#8390a3;padding:12px 3px;line-height:1.6}.week-day-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:18px 0 10px}.week-day-tabs>button{background:#edf2fa;border:1px solid #d5e0ef;color:#536d91;border-radius:8px;padding:9px 4px;min-height:48px}.week-day-tabs>button.selected{background:#285b9e;color:white}.week-day-tabs strong,.week-day-tabs span{display:block;font-size:12px}.week-day-tabs span{font-size:10px}.week-day-tabs i{display:block;width:6px;height:6px;border-radius:50%;background:#d5913b;margin:5px auto 0}@media(min-width:1700px){.week-grid{grid-template-columns:repeat(7,minmax(165px,1fr))}.week-event h4{font-size:14px}.week-location{font-size:12px}}@media(max-width:700px){.weekly-panel{padding:14px}.week-heading h2{font-size:19px}.week-heading p{font-size:14px}.week-area-search{width:100%}.week-area-search input{font-size:16px;flex:1;min-width:130px}.week-planning-tools{gap:16px}.week-planning-tools>.suite-actions{width:100%}.week-planning-tools .button{flex:1;min-height:44px;font-size:12px}.week-scroll{scroll-snap-type:x proximity}.week-grid{grid-template-columns:repeat(7,230px);width:max-content;min-width:0;gap:12px}.week-event h4{font-size:15px}.week-location{font-size:13px}.week-event-time{font-size:13px}.week-area{font-size:12px;min-height:32px}.week-areas-summary .week-area{min-height:42px}.week-event>.button,.week-day>footer>.button{min-height:44px;font-size:12px}.week-quick-slots button{min-height:40px;font-size:12px}.week-day>footer>strong{font-size:14px}.week-day>footer>span{font-size:12px}.week-day-count{font-size:12px}.week-day-tabs{gap:4px}.week-day-tabs strong{font-size:11px}.calendar-view-switch .button{flex:1;min-height:44px}.week-event.area-muted{opacity:.6}}
.calendar-team-panel{border:1px solid #d9e4f3;background:#fff;border-radius:16px;padding:20px;margin-bottom:18px}.calendar-source-legend{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding-bottom:15px;border-bottom:1px solid #edf1f6}.calendar-source-legend>strong{font-size:13px;margin-right:8px}.calendar-source-pill{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#4c617f;overflow-wrap:anywhere}.calendar-source-pill i,.calendar-sales-checks i{width:10px;height:10px;min-width:10px;border-radius:50%;display:inline-block}.calendar-sales-select{padding-top:16px}.calendar-sales-select small{display:block;color:#64748b;font-size:12px;margin-top:5px}.calendar-sales-checks{display:flex;flex-wrap:wrap;gap:12px;margin-top:15px}.calendar-sales-checks label{display:flex;align-items:center;gap:9px;border:1px solid #d9e2ef;border-radius:10px;padding:10px 13px;font-size:13px;cursor:pointer;min-height:44px}.calendar-sales-checks input{width:20px;height:20px;accent-color:#2857a5}.calendar-sales-checks p{font-size:13px;color:#64748b}.event-source-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.event-source-tags .calendar-source-pill{font-size:10px;padding:3px 0}.calendar-booking-guard{background:#eff5fd;border:1px solid #d4e1f2;border-radius:10px;padding:14px}.calendar-booking-guard p{font-size:13px;line-height:1.6}.calendar-booking-guard small{display:block;font-size:11px;color:#64748b;margin-top:10px}@media(max-width:700px){.calendar-team-panel{padding:16px}.calendar-source-pill{font-size:12px}.calendar-sales-checks label{flex:1;min-width:140px}.calendar-booking-guard p{font-size:14px}.calendar-sales-select .suite-actions>.button{flex:1;min-height:44px}}
.calendar-other-sales{display:block;color:#64748b;font-size:11px;line-height:1.5;margin-top:6px}
