:root{font-family:Arial,Helvetica,sans-serif;--blue:#2454e6;--ink:#162343;--muted:#637089;--line:#e1e6ef;--soft:#edf2ff}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;color:inherit;min-height:44px;border:1px solid var(--line);border-radius:7px;padding:11px 16px;background:white;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover{background:#f2f5ff}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #2454e6;outline-offset:3px}button svg, .icon-meta svg{width:18px;height:18px;flex:none}[data-icon]{display:inline-flex}svg{width:22px;height:22px}a{color:inherit}main{max-width:1510px;padding:28px 40px 36px;margin:auto}.tabs{display:flex;gap:6px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:32px}.tabs button{border:0;background:transparent;color:var(--muted);font-size:14px;padding:10px 18px}.tabs button[aria-current]{background:#eaf0ff;color:var(--blue)}.demo-label{font-size:12px;color:#62718a;margin-left:auto;display:flex;align-items:center;gap:7px}.demo-label:before{content:'';width:6px;height:6px;background:#98a6bd;border-radius:50%}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:.09em;font-weight:600;color:var(--muted);margin:0 0 12px}h1{font-size:34px;letter-spacing:-1.1px;line-height:1.15;margin:0}h2{font-size:18px;letter-spacing:-.4px;margin:0}h3{font-size:16px;margin:0 0 7px}p{line-height:1.5}.primary{background:var(--blue);border-color:var(--blue);color:white}.primary:hover{background:#1743c9}.summary-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:16px;margin-bottom:32px}.summary-card{position:relative;min-height:134px;padding:25px;text-align:left;justify-content:flex-start;gap:18px;border-radius:8px}.summary-card:hover{border-color:#a9baf8;background:white}.summary-card>span:nth-child(2){display:flex;flex-direction:column;gap:8px;color:var(--muted);font-size:13px;font-weight:400}.summary-card strong{font-size:34px;line-height:1;color:var(--ink);font-weight:500;font-variant-numeric:tabular-nums}.metric-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;flex:none}.blue{color:#2454e6;background:#edf2ff}.orange{color:#aa5400;background:#fff2dc}.purple{color:#7151d5;background:#f2edff}.metric-icon svg{width:24px;height:24px}.metric-link{margin-left:auto;color:#8798b5}.mini-pipeline{display:flex;gap:4px;position:absolute;left:25px;right:25px;bottom:12px}.mini-pipeline i{height:3px;flex:1;background:#2454e6;border-radius:2px}.mini-pipeline i:nth-child(2){background:#8ba6fb}.mini-pipeline i:nth-child(3){background:#b7c8ff}.mini-pipeline i:nth-child(4){background:#e5ebff}.today-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:20px;align-items:start}.work-panel{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:22px 24px;border-bottom:1px solid var(--line);min-height:78px}.section-head>span{font-size:12px;color:var(--muted);background:#f1f4f9;padding:5px 8px;border-radius:4px}.task{display:flex;align-items:center;gap:14px;padding:26px 24px;border-bottom:1px solid var(--line)}.task:last-child{border:0}.avatar{width:42px;height:42px;flex:none;display:grid;place-items:center;border-radius:50%;font-size:12px;font-weight:600;color:#2454e6;background:#edf2ff}.avatar.orange{color:#aa5400;background:#fff2dc}.task-info{flex:1;min-width:0}.meta{font-size:13px;color:var(--muted);margin:0}.call-button{background:#edf2ff;color:#2454e6;border:0;font-size:13px}.icon-button{border:0;padding:10px;width:44px;color:#72829d}.text-button{border:0;background:transparent;padding:6px 0;color:var(--blue);font-size:13px;min-height:40px}.text-button:hover{background:transparent;color:#153cae}.appointment{display:flex;gap:18px;padding:24px;border-bottom:1px solid var(--line);background:#fff}.appointment:last-child{border-bottom:0}.appointment-time{font-size:20px;font-weight:600;font-variant-numeric:tabular-nums;color:#2454e6;min-width:58px}.appointment-time small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:7px}.appointment-body{border-left:2px solid #b8c9fc;padding-left:18px;min-width:0}.appointment h3{margin:14px 0 12px}.icon-meta{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin:8px 0}.icon-meta svg{width:16px;height:16px}.tag{display:inline-block;padding:5px 8px;border-radius:4px;background:#edf2ff;color:#2454e6;font-size:12px}.tag.purple{background:#f2edff;color:#7151d5}.appointment .text-button{margin-top:4px}.empty-done{display:flex;gap:12px;align-items:center;padding:36px 24px;color:var(--blue);font-size:15px}.muted,.hint{color:var(--muted)}.hint{font-size:13px}.explain{margin-top:24px}.demo-foot{font-size:11px;color:var(--muted);margin:4px 0}.search{display:block;max-width:420px;font-size:14px;font-weight:600;margin:0 0 24px}input,select{width:100%;background:white;color:var(--ink);border:1px solid #c5cddd;padding:12px;border-radius:6px;min-height:48px;min-width:0;font-size:16px}label input,label select{margin-top:8px}#customer-list{background:white;border:1px solid var(--line);border-radius:8px;overflow:hidden}.customer-row{width:100%;display:flex;justify-content:space-between;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:24px;gap:16px}.customer-row:last-child{border:0}.customer-row strong{display:block;font-size:17px}.customer-row small{display:block;color:var(--muted);font-size:13px;font-weight:400;margin-top:8px}.customer-row .stage{font-size:12px;color:var(--blue);background:#edf2ff;padding:7px 10px;border-radius:4px;font-weight:500}.agenda-key{font-size:13px;color:var(--muted);margin:18px 0}.agenda-key i{display:inline-block;width:8px;height:8px;background:var(--blue);border-radius:50%;margin-right:6px}#calendar>.section-head{padding:0;border:0}#calendar .muted{font-size:14px;margin:8px 0}.calendar-day{display:grid;grid-template-columns:170px 1fr;gap:24px;padding:22px 24px;border-bottom:1px solid var(--line);background:white}.calendar-day h3{font-size:14px;padding-top:12px}.calendar-day .empty{font-size:14px;color:var(--muted);margin:12px 0}.calendar-day .appointment{padding:12px 0}.calendar-day>div{min-width:0}dialog{border:0;border-radius:14px;padding:28px;width:min(570px,calc(100vw - 24px));max-height:90dvh;overflow:auto;color:var(--ink);box-shadow:0 20px 90px #10234e30}dialog::backdrop{background:#13244966}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.dialog-head>span{font-size:13px;color:var(--muted)}.close{width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:#f1f4f9;color:#637089;font-size:27px;font-weight:400}.detail-name{font-size:28px;letter-spacing:-.7px;margin:14px 0 8px}#detail-content>.muted{margin:0;font-size:14px}.job-progress{list-style:none;padding:0;display:flex;margin:28px 0}.job-progress li{position:relative;flex:1;display:flex;align-items:center;flex-direction:column;font-size:12px;gap:9px;color:#78849a}.job-progress li:before{content:'';height:2px;background:#e3e9f3;position:absolute;top:15px;left:0;right:0;z-index:0}.job-progress li:first-child:before{left:50%}.job-progress li:last-child:before{right:50%}.job-progress li>span{position:relative;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#edf1f7;border:4px solid white;box-sizing:content-box;margin-top:-4px;z-index:1}.job-progress li.reached{color:var(--blue)}.job-progress li.reached>span{background:var(--blue);color:white}.job-progress svg{width:17px;height:17px}.readiness{padding:18px;background:#f5f7fc;border-radius:8px;margin-bottom:24px}.readiness>div{display:flex;justify-content:space-between;font-size:13px}.readiness>div>span{color:var(--blue)}.readiness ul{list-style:none;padding:0;margin:16px 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.readiness li{display:flex;align-items:center;gap:6px;font-size:12px;color:#637089}.readiness li svg{width:17px;height:17px}.readiness .ready{color:#2454e6}.readiness li b{margin-left:auto}.factlist{margin:16px 0}.factlist>div{padding:12px 0;border-bottom:1px solid var(--line)}.factlist dt{color:var(--muted);font-size:12px;margin-bottom:5px}.factlist dd{margin:0;font-size:14px;line-height:1.5}.compact-facts>div{display:grid;grid-template-columns:26px 78px 1fr;gap:8px;align-items:start}.compact-facts svg{width:18px;height:18px;color:#7b8da7}.compact-facts dt{margin-top:3px}.job-extra{border-bottom:1px solid var(--line)}.job-extra summary{cursor:pointer;padding:16px 0;font-size:14px;font-weight:600}.job-extra p{font-size:14px}.detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}.finish-task{grid-column:1/-1;color:var(--blue);background:#edf2ff;border:0}.wide{width:100%}form label{display:block;font-size:14px;font-weight:600;margin-bottom:18px}.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.error{color:#a52a27;font-size:14px}.source-step{display:flex;gap:16px;margin:24px 0}.source-step>b{display:grid;place-items:center;background:#edf2ff;color:var(--blue);border-radius:50%;width:32px;height:32px;flex:none}.source-step p{font-size:14px;color:var(--muted);margin:0}.source-note{background:#edf2ff;padding:16px;border-radius:6px;font-size:14px}.source-note p{margin:6px 0 0}.notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);background:#162343;color:white;padding:16px 20px;border-radius:8px;z-index:50;font-size:14px;box-shadow:0 4px 24px #0002}[hidden]{display:none!important}@media(min-width:1550px){main{padding-top:36px}.task{padding-block:30px}.summary-card{min-height:150px}}@media(max-width:1150px){main{padding:24px}.today-grid{grid-template-columns:1fr}.summary-card{padding:20px 16px;gap:12px}.metric-icon{width:38px;height:38px}.metric-link{display:none}.mini-pipeline{left:16px;right:16px}.task{padding:22px 24px}}@media(max-width:700px){main{padding:20px 16px 100px}.app-header{font-size:12px}.tabs{position:fixed;bottom:0;left:0;right:0;z-index:30;margin:0;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:white;justify-content:space-around;border-top:1px solid var(--line);border-bottom:0}.tabs button{flex-direction:column;gap:5px;font-size:12px;min-width:88px;padding:8px 14px}.tabs .demo-label{display:none}.pagehead{gap:12px;margin-bottom:24px}.pagehead h1{font-size:26px;max-width:210px}.eyebrow{font-size:9px}.pagehead>.primary{font-size:13px;padding:12px;flex:none}.summary-grid{gap:8px;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:24px}.summary-card{min-height:150px;align-items:flex-start;flex-direction:column;padding:14px 12px;gap:12px}.summary-card strong{font-size:27px}.summary-card>span:nth-child(2){font-size:12px;gap:8px;line-height:1.3}.metric-icon{height:30px;width:30px;border-radius:7px}.metric-icon svg{width:18px;height:18px}.mini-pipeline{display:none}.section-head{padding:18px 16px;min-height:66px}.section-head h2{font-size:17px}.task{padding:20px 16px;gap:10px;flex-wrap:wrap}.task-info{flex-basis:calc(100% - 60px)}.task h3{font-size:16px}.task .call-button{margin-left:52px;flex:1;max-width:170px;font-size:14px}.task .icon-button{border:1px solid var(--line)}.meta{font-size:12px}.appointment{padding:20px 16px;gap:14px}.appointment-time{min-width:54px;font-size:18px}.appointment-body{padding-left:14px}.icon-meta{font-size:12px}.customer-row{padding:20px 16px}.customer-row .stage{max-width:110px;line-height:1.4}.calendar-day{display:block;padding:16px}.calendar-day h3{margin-bottom:14px}.notice{bottom:100px}dialog{padding:22px}.compact-facts>div{grid-template-columns:22px 62px 1fr;gap:6px}.compact-facts dd{font-size:13px}.readiness{padding:14px}.readiness ul{gap:8px}.readiness li{flex-wrap:wrap}.readiness li b{margin-left:0}.form-pair{gap:12px}.demo-foot{font-size:11px}}
/* Week planning and customer administration use independent status colors. */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.week-navigation{display:flex;align-items:center;gap:6px}.week-navigation button{height:40px;min-height:40px;padding:8px 12px;font-size:13px}.week-navigation>button:first-child,.week-navigation>button:nth-child(3){font-size:24px;width:40px;padding:0}.week-navigation h2{margin-left:16px;font-size:20px}.team-filter{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}.team-filter select{width:155px;min-height:40px;padding:9px 12px;font-size:13px;margin:0}.calendar-legend{display:flex;gap:24px;font-size:12px;color:var(--muted);align-items:center;margin-bottom:18px}.status-dot{display:flex;gap:7px;align-items:center}.status-dot:before{content:'';width:8px;height:8px;border-radius:50%;background:#2454e6}.status-dot.tentative:before{background:#db8b05}.status-dot.completed:before{background:#078564}.calendar-note{margin-left:auto;font-size:11px}.calendar-scroll{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:auto}#calendar-list{min-width:850px}.calendar-head{display:grid;grid-template-columns:130px repeat(7,minmax(0,1fr));border-bottom:1px solid var(--line)}.cal-corner{display:grid;place-items:center;color:#a3aec1}.cal-day{padding:15px 8px;text-align:center;border-left:1px solid var(--line)}.cal-day>span{font-size:10px;letter-spacing:.06em;color:var(--muted);display:block;margin-bottom:8px}.cal-day strong{font-size:22px;font-weight:500;display:inline-grid;width:36px;height:36px;place-items:center}.cal-day.is-today strong{border-radius:50%;color:#fff;background:var(--blue)}.weekend{background:#fafbfe}.calendar-band-label{display:flex;align-items:center;gap:18px;padding:12px 20px;font-size:12px;font-weight:600;background:#fbfcfe;border-bottom:1px solid var(--line)}.calendar-band-label>span{font-size:11px;font-weight:400;color:var(--muted)}.team-week{display:grid;grid-template-columns:130px 1fr;border-bottom:1px solid var(--line)}.team-name{display:flex;align-items:center;gap:7px;padding:16px;font-size:12px}.team-name svg{width:17px;height:17px;color:#7588a6;flex:none}.week-lanes{display:grid;position:relative;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:repeat(var(--lanes),108px)}.lane-day{border-left:1px solid var(--line)}.week-job{z-index:1;min-width:0;margin:8px 5px;border:0;border-left:4px solid #133eb4;border-radius:6px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;padding:12px 16px;background:#2454e6;color:#fff;text-align:left;overflow:hidden;font-weight:400}.week-job:hover{background:#1948d0}.week-job>span{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px}.week-job .event-title{display:flex;align-items:center;gap:16px;font-size:15px;font-weight:600;max-width:100%;width:100%}.event-title>span{font-size:10px;font-weight:500;border:1px solid #ffffff66;border-radius:4px;padding:3px 7px;margin-left:auto}.week-job .event-bottom{font-size:11px}.week-job.tentative{background:#fff5dd;color:#805006;border:1px dashed #c98b23;border-left:4px solid #d99613}.week-job.tentative:hover{background:#ffedc4}.week-job.tentative .event-title>span{border-color:#d6b26c}.week-job.completed{background:#e4f7ed;color:#096245;border-left:4px solid #0c9566}.week-job.completed:hover{background:#d5f1e2}.week-job.completed .event-title>span{border-color:#93cdb6}.team-free{position:absolute;top:45px;left:20px;color:#8b96a8;font-size:12px}.time-grid{display:grid;grid-template-columns:130px repeat(7,minmax(0,1fr));padding-bottom:16px}.time-axis{position:relative}.time-axis>span{position:absolute;right:14px;transform:translateY(-50%);font-size:10px;color:#77849b}.time-axis>span:first-child{transform:translateY(2px)}.time-day{position:relative;border-left:1px solid var(--line);background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 43px,#edf0f5 43px,#edf0f5 44px)}.time-event{position:absolute;z-index:1;border:0;border-left:3px solid #2454e6;border-radius:4px;background:#eaf0ff;color:#163caa;display:block;text-align:left;padding:3px 6px;min-height:0;overflow:hidden;font-size:10px;line-height:1.3}.time-event strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.time-event>span{font-weight:400;display:block;white-space:nowrap}.time-event.tentative{background:#fff1d4;color:#805006;border-left-color:#d99613}.time-event.completed{background:#e4f7ed;color:#096245;border-left-color:#0c9566}.tag.confirmed{background:#eaf0ff;color:#1a48c7}.tag.tentative{background:#fff2d8;color:#8a5500}.tag.completed{background:#e4f7ed;color:#08704b}.tag.neutral{background:#f0f3f8;color:#62718a}.customer-tools{display:flex;align-items:flex-end;gap:20px;margin-bottom:24px}.customer-tools .search{margin:0;flex:1;max-width:430px}.customer-tools>label{font-size:13px;font-weight:600}.customer-tools select{min-height:48px;font-size:14px}.customer-tools>span{font-size:12px;color:var(--muted);margin-left:auto;margin-bottom:16px}.table-scroll{overflow:auto}.customers-table{border-collapse:collapse;width:100%;min-width:880px;text-align:left}.customers-table th{font-size:11px;letter-spacing:.02em;font-weight:500;color:var(--muted);padding:17px 20px;background:#fbfcff;border-bottom:1px solid var(--line)}.customers-table td{padding:21px 20px;border-bottom:1px solid var(--line);font-size:13px;vertical-align:middle}.customers-table tr:last-child td{border:0}.customers-table td>small{display:block;font-size:11px;color:var(--muted);margin-top:9px}.customer-name{padding:0;border:0;text-align:left;justify-content:flex-start;gap:12px;background:transparent;white-space:nowrap}.customer-name strong{font-size:14px;display:block}.customer-name small{font-weight:400;color:var(--muted);font-size:12px;display:block;margin-top:7px}.payment-chips{display:flex;gap:6px;flex-wrap:wrap}.pay-chip{font-size:11px;white-space:nowrap;display:inline-flex;align-items:center;padding:6px 8px;border-radius:4px;font-weight:500}.pay-chip.paid{color:#09724c;background:#e3f7eb}.pay-chip.unpaid{color:#8a5500;background:#fff2d8}.pay-chip.neutral{color:#637089;background:#f1f4f8}.review-state{font-size:12px;color:#6a7890;white-space:nowrap}.review-state.paid,.review-summary .paid{color:#08704b}.empty-results{padding:24px;color:var(--muted)}.booking-summary{display:flex;width:100%;text-align:left;justify-content:flex-start;background:#edf2ff;color:#2454e6;padding:16px;margin-bottom:16px}.booking-summary.tentative{background:#fff2d8;color:#8a5500}.booking-summary.completed{background:#e4f7ed;color:#08704b}.booking-summary>span{flex:1}.booking-summary strong{display:block;font-size:14px}.booking-summary small{display:block;font-weight:400;font-size:11px;margin-top:6px}.money-heading{display:flex;justify-content:space-between;align-items:center;margin-top:22px}.money-heading h3{margin:0}.payment-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.payment-tile{padding:16px;border:1px solid var(--line);border-radius:7px;display:flex;flex-direction:column;gap:10px}.payment-tile>small{font-size:12px;color:var(--muted)}.payment-tile>strong{font-size:23px;font-weight:500}.payment-tile>span{font-size:11px;color:#9a6409}.payment-tile.paid{background:#f2fbf6;border-color:#d4eadf}.payment-tile.paid>span{color:#08704b}.review-summary{display:flex;align-items:center;gap:12px;padding:12px 0;border-block:1px solid var(--line);font-size:12px}.review-summary>span{color:var(--muted)}.review-summary .text-button{margin-left:auto}.detail-check-count{float:right;font-weight:400;color:var(--muted);font-size:12px}.checkline{display:flex;gap:10px;align-items:center;font-size:13px}.checkline input{width:18px;height:18px;min-height:18px;margin:0;accent-color:var(--blue)}#duration-hint{margin-top:-4px}.payment-edit{padding:16px;background:#f6f8fc;border-radius:7px;margin-bottom:16px}.payment-edit label:last-child{margin-bottom:0}#plan-customer-state{margin:12px 0}#planner input[readonly]{background:#f2f4f8;color:#79869b}.customers-table .avatar{width:36px;height:36px}@media(max-width:1150px){.calendar-toolbar{align-items:flex-start}.week-navigation{flex-wrap:wrap}.week-navigation h2{font-size:17px}.calendar-note{display:none}.customers-table td,.customers-table th{padding:16px}.calendar-legend{gap:18px}}@media(max-width:700px){.calendar-toolbar{flex-direction:column;gap:16px}.week-navigation{gap:4px;width:100%}.week-navigation h2{margin:12px 0 0;width:100%;font-size:20px}.team-filter{align-self:flex-end;margin-top:-40px}.team-filter select{width:125px;font-size:12px}.team-filter{font-size:0}.calendar-legend{gap:12px;font-size:10px;justify-content:space-between}.calendar-scroll{margin:0 -16px;border-radius:0;border-inline:0}.customer-tools{flex-wrap:wrap;gap:14px}.customer-tools .search{max-width:none;flex-basis:100%}.customer-tools>span{margin-bottom:14px}.customer-tools select{width:200px}#customer-list{margin:0 -16px;border-radius:0;border-inline:0}.payment-tile{padding:13px}.payment-tile>strong{font-size:21px}.review-summary{flex-wrap:wrap;gap:8px}.review-summary .text-button{margin-left:auto}.booking-summary{padding:14px}.detail-check-count{font-size:10px}.demo-foot{line-height:1.6}}
.appointment-customer-link{display:flex;align-items:center;justify-content:space-between;gap:12px;border-block:1px solid var(--line);padding:12px 0}.appointment-customer-link .text-button{font-size:12px;white-space:nowrap}
.mobile-calendar-hint{display:none}@media(max-width:700px){.mobile-calendar-hint{display:block;font-size:11px;color:var(--muted);margin:0 0 12px}.cal-corner,.team-name,.time-axis{position:sticky;left:0;background:white;z-index:3}.calendar-band-label{position:sticky;left:0}.customers-table th:first-child,.customers-table td:first-child{position:sticky;left:0;background:white;z-index:2;border-right:1px solid var(--line)}}
/* Faster daily work: contact actions are visible, short appointments never crop. */
.page-actions{display:flex;gap:10px;align-items:center}.page-actions button{font-size:13px}.calendar-team-tools{display:flex;align-items:center;gap:12px}.calendar-team-tools>button{font-size:13px;min-height:42px}.calendar-toolbar{align-items:center}.week-navigation h2{white-space:nowrap}.calendar-legend .status-dot.call:before{background:#7b46cf}.appointment-week{display:grid;grid-template-columns:130px repeat(7,minmax(0,1fr));min-height:212px}.appointment-axis{font-size:12px;color:var(--muted);padding:20px 16px;line-height:1.6}.appointment-day{border-left:1px solid var(--line);padding:10px 6px;display:flex;flex-direction:column;gap:10px}.day-empty{color:#b9c2d1;display:block;text-align:center;padding:14px}.agenda-card{display:flex;flex-direction:column;gap:9px;border:1px solid #ddd4f1;border-left:3px solid #7b46cf;border-radius:6px;background:#f4effc;padding:12px 10px;min-width:0;color:#422579;text-align:left}.agenda-card.call-card{background:#f4effc;color:#422579;border-color:#ddd4f1;border-left-color:#7b46cf}.agenda-card.visit-card{background:#eef8fb;border-color:#c4e2ea;border-left-color:#167a93;color:#175365}.agenda-card.job-card{background:#eef3ff;border-color:#d2dfff;border-left-color:#2454e6;color:#183c9e}.agenda-card-top{display:flex;justify-content:space-between;gap:4px;align-items:center;flex-wrap:wrap}.agenda-card-top>span{display:flex;gap:5px;align-items:center;font-size:11px;font-weight:600;white-space:nowrap}.agenda-card-top svg{width:14px;height:14px}.agenda-card>strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere}.agenda-kind{font-size:11px;line-height:1.5}.agenda-status{font-size:10px;font-weight:600}.edit-event{border:0;background:transparent;color:inherit;min-height:32px;padding:4px;font-size:11px;text-decoration:underline;text-underline-offset:3px}.phone-link{display:inline-flex;gap:7px;align-items:center;color:#2454e6;font-size:13px;font-weight:600;min-height:44px;border:0;border-radius:5px;background:#edf2ff;text-decoration:none;padding:8px 10px;white-space:nowrap}.phone-link svg{width:16px;height:16px;flex:none}.agenda-card .phone-link{font-size:11px;padding:8px 4px;background:#ffffff9c;color:inherit;justify-content:center;width:100%}.phone-missing{font-size:12px;color:var(--muted);min-height:32px;display:flex;align-items:center}.tag.new-lead{color:#2454e6;background:#e7efff;font-weight:600}.lead-filters{display:flex;gap:8px;margin-bottom:20px}.lead-filters button{background:transparent;font-size:13px;border:1px solid transparent;color:var(--muted);min-height:40px;padding:8px 12px}.lead-filters button[aria-pressed="true"]{background:#e9f0ff;color:var(--blue)}.lead-filters b{background:#d3e0ff;border-radius:4px;padding:2px 5px;font-size:11px}.contact-cell>.phone-link{margin:9px 0 0 48px;background:transparent;padding:0;min-height:32px}.customers-table{min-width:980px}.customers-table td{padding:18px}.customers-table .customer-name small{max-width:240px;white-space:normal;line-height:1.5}.contact-quickbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:10px}.contact-quickbar>.text-button{font-size:11px}.lead-phone{margin-top:20px}.lead-phone>.phone-link{font-size:18px;padding:12px 18px;min-height:50px}.lead-next{display:grid;grid-template-columns:1fr auto;gap:10px;padding:20px;margin-top:24px;background:#f4f7fd;border-radius:8px}.lead-next>span{font-size:12px;color:var(--muted);grid-column:1/-1}.lead-next>strong{font-size:19px}.lead-next>small{grid-row:3;color:var(--muted)}.lead-next>button{grid-row:2/4;grid-column:2}.team-manage-row{display:flex;align-items:center;width:100%;justify-content:flex-start;text-align:left;gap:14px;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:18px 0;background:transparent}.team-manage-row>span:nth-child(2){flex:1}.team-manage-row strong{font-size:16px;display:block}.team-manage-row small{font-weight:400;font-size:13px;color:var(--muted);display:block;margin-top:8px;line-height:1.5}#new-team{margin-top:24px}#archive-team{margin-top:16px;font-size:13px}.team-picker{border:0;padding:0;margin:0 0 18px;min-width:0}.team-picker legend{font-size:14px;font-weight:600;margin-bottom:8px}.team-picker>div{display:flex;gap:7px;flex-wrap:wrap}.team-picker .team-choice{margin:0;display:flex;align-items:center;gap:6px;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;font-size:12px;font-weight:500}.team-choice input{width:17px;height:17px;min-height:17px;margin:0;accent-color:var(--blue)}.team-choice:has(input:checked){background:#edf2ff;border-color:#a9c0ff;color:#2454e6}.planner-extra,.contact-extra{border-block:1px solid var(--line);margin:18px 0}.planner-extra summary,.contact-extra summary{cursor:pointer;padding:16px 0;font-size:14px;font-weight:600}.contact-extra textarea{display:block;width:100%;margin-top:8px;border:1px solid #c5cddd;padding:12px;border-radius:6px;font:inherit;font-size:16px;resize:vertical}.team-filter select{margin:0}.calendar-note,.mobile-calendar-hint{display:none}#mobile-agenda{display:none}.appointment .phone-link{margin-top:10px}.task .phone-link{font-size:12px}.customer-tools .search{max-width:470px}.pagehead{align-items:center}
@media(max-width:1150px){.calendar-toolbar{flex-wrap:wrap;gap:16px}.calendar-team-tools{margin-left:auto}.week-navigation h2{font-size:17px}.appointment-week{min-width:1050px}.calendar-head,.team-week{min-width:1050px}.calendar-band-label{min-width:1050px}.calendar-toolbar h2{white-space:normal}}
@media(max-width:700px){
main{padding-bottom:110px}.pagehead{display:grid;grid-template-columns:1fr;gap:18px;margin-bottom:24px}.pagehead h1{max-width:none;font-size:28px}.page-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.page-actions button{width:100%;min-height:48px;font-size:14px}.page-actions #add-lead{background:#fff}.calendar-toolbar{gap:14px;display:flex;flex-direction:column;align-items:stretch}.week-navigation{display:grid;grid-template-columns:44px auto 44px;gap:6px}.week-navigation button{min-height:44px;width:auto}.week-navigation h2{grid-column:1/-1;width:auto;text-align:center;margin:8px 0 0;font-size:18px}.calendar-team-tools{margin:0;display:flex;justify-content:space-between;align-items:center}.calendar-team-tools>button{min-height:44px;font-size:14px}.team-filter{margin:0;align-self:auto;font-size:0}.team-filter select{width:165px;min-height:44px;font-size:14px}.calendar-legend{flex-wrap:wrap;gap:12px 18px;justify-content:flex-start;font-size:11px;margin-bottom:20px}.calendar-scroll{display:none}#mobile-agenda{display:block}.mobile-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;background:white;border:1px solid var(--line);border-radius:8px;padding:6px}.mobile-days button{display:flex;flex-direction:column;border:0;background:transparent;min-height:66px;padding:6px 0;gap:5px;position:relative}.mobile-days button>span{font-size:11px;color:var(--muted);font-weight:400}.mobile-days button>strong{font-size:17px}.mobile-days button[aria-pressed="true"]{background:#2454e6;color:white}.mobile-days button[aria-pressed="true"]>span{color:white}.mobile-days i{width:4px;height:4px;border-radius:50%;background:currentColor}.mobile-day-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:20px 0 10px}.mobile-day-heading h2{font-size:16px;text-transform:capitalize}.mobile-day-heading .text-button{min-height:44px;font-size:13px}.mobile-day-events{display:grid;gap:12px}.agenda-card{padding:18px;gap:12px}.agenda-card-top>span{font-size:14px}.agenda-card>strong{font-size:19px}.agenda-kind{font-size:13px}.agenda-status{font-size:12px}.agenda-card .phone-link{font-size:16px;min-height:48px;justify-content:flex-start;padding:10px 12px}.edit-event{min-height:44px;font-size:12px;padding:8px}.agenda-card>small{font-size:13px}.task .phone-link{margin-left:52px;flex:1;font-size:14px;justify-content:center}.task .icon-button{width:44px}.customer-tools>span{font-size:12px}.lead-filters{gap:2px}.lead-filters button{font-size:12px;padding:10px;min-height:44px}.customers-table{min-width:0;display:block}.customers-table thead{display:none}.customers-table tbody{display:grid;gap:14px;padding:0}.customers-table tr{display:grid;grid-template-columns:1fr 1fr;background:white;border:1px solid var(--line);border-radius:8px;overflow:hidden;padding:16px;gap:16px}.customers-table td{padding:0;border:0;display:block;min-width:0;font-size:12px}.customers-table td:first-child{position:static;border:0}.customers-table .contact-cell{grid-column:1/-1}.customers-table .customer-name{min-height:44px;width:100%;align-items:flex-start;white-space:normal}.customers-table .customer-name strong{font-size:17px}.customers-table .customer-name small{font-size:12px;max-width:none}.contact-cell>.phone-link{margin:10px 0 0;width:100%;min-height:48px;justify-content:center;background:#edf2ff;padding:10px;font-size:16px}.customers-table td[data-label]:before{content:attr(data-label);display:block;font-size:11px;color:var(--muted);margin-bottom:8px}.customers-table td:nth-child(2){grid-column:1/-1}.customers-table td:nth-child(2)>small{font-size:13px}.customers-table td.customer-open{grid-column:1/-1;border-top:1px solid var(--line);padding-top:8px}.customer-open .text-button{width:100%;justify-content:space-between;min-height:44px;font-size:14px}#customer-list{margin:0;border:0;background:transparent;overflow:visible}.table-scroll{overflow:visible}.customers-table .pay-chip{font-size:10px}.customer-tools .search{max-width:none}.customers-table .review-state{white-space:normal;font-size:12px}.contact-quickbar{flex-wrap:wrap}.contact-quickbar .phone-link{font-size:15px}.form-pair{grid-template-columns:1fr 1fr}.team-picker{grid-column:1/-1}.team-picker .team-choice{min-height:48px;font-size:14px}.form-pair:has(.team-picker){grid-template-columns:1fr}.team-picker legend{font-size:14px}.team-manage-row{min-height:78px}dialog{max-height:calc(100dvh - 24px);padding:20px}dialog button[type="submit"]{min-height:50px;font-size:16px}.dialog-head{position:sticky;top:-20px;background:white;z-index:2;margin-top:-1px;padding-block:8px}.mobile-day-events .empty-results{margin:0;background:white;border-radius:8px}.tabs button{min-height:58px}
}
.agenda-card.job-card.tentative{background:#fff5dd;color:#805006;border-color:#dfc68e;border-left-color:#d99613}.agenda-card.job-card.completed{background:#e4f7ed;color:#096245;border-color:#b1dbc6;border-left-color:#0c9566}.appointment.is-call .appointment-time{color:#7b46cf}.appointment.is-call .appointment-body{border-color:#b397df}.agenda-card .phone-link{white-space:normal;overflow-wrap:anywhere}.lead-next+.booking-summary{margin-top:20px}
.customer-tools>label:not(.search){display:block}.customer-tools>label:not(.search)>select{display:block;margin-top:8px}
/* Consistent select chevrons, including compact filters and modal forms. */
body[data-app] select:not([multiple]) {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23637089' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  cursor: pointer;
}
@media (forced-colors: active) {
  body[data-app] select:not([multiple]) { appearance: auto; background-image: none; }
}

/* v7 — aligned contact columns and readable request information. */
.customers-table .phone-cell{width:165px;vertical-align:middle}.phone-cell .phone-link{margin:0;padding:8px 0;background:transparent;font-variant-numeric:tabular-nums}.customers-table .contact-cell{width:29%}.customers-table .customer-name{width:100%}.customers-table .customer-name>span:last-child{min-width:0}.customers-table .status-cell{width:20%}.appointment-body{flex:1}.appointment-actions{display:flex;align-items:center;gap:8px 18px;flex-wrap:wrap;margin-top:18px}.appointment-actions .phone-link,.appointment-actions .text-button{margin:0;min-height:44px}.appointment-actions .text-button{white-space:nowrap}.lead-email{display:block;font-size:14px;color:var(--muted);margin-top:12px;overflow-wrap:anywhere}.request-details{margin-top:24px;border-top:1px solid var(--line);padding-top:12px}.request-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.request-heading h3{margin:0}.request-facts{display:grid;grid-template-columns:1fr 1fr;gap:20px 16px;margin:14px 0 22px}.request-facts>div{display:grid;grid-template-columns:20px 1fr;column-gap:9px;align-content:start}.request-facts svg{width:18px;height:18px;color:var(--blue);grid-row:1/3}.request-facts dt{font-size:11px;color:var(--muted);margin-bottom:5px}.request-facts dd{margin:0;font-size:14px;line-height:1.45;overflow-wrap:anywhere}.customer-message{background:#f3f6fc;border-radius:8px;padding:16px}.customer-message>span{font-size:11px;color:var(--muted)}.customer-message p{font-size:14px;margin:7px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.visit-wish{display:flex;align-items:flex-start;gap:10px;margin:18px 0;color:var(--ink);font-size:14px}.visit-wish svg{flex:none;color:var(--blue);width:20px}.visit-wish small{display:block;font-size:11px;color:var(--muted);margin-bottom:6px}.request-floorplan{margin-top:18px;padding-bottom:18px;border-bottom:1px solid var(--line)}.request-floorplan>span{display:flex;gap:9px;align-items:center;font-size:13px}.request-floorplan svg,.request-neighbors svg{width:18px;height:18px;color:var(--blue);flex:none}.request-floorplan>small{display:block;margin:6px 0 0 27px;font-size:12px;color:var(--muted)}.request-file{display:flex;align-items:center;gap:8px;color:var(--blue);background:#edf2ff;border-radius:6px;margin-top:12px;padding:12px;font-size:12px;min-height:44px;text-decoration:none}.request-file>span{flex:1;overflow-wrap:anywhere}.request-neighbors{display:flex;gap:9px;margin-top:18px}.request-neighbors strong{display:block;font-size:13px}.request-neighbors small{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:5px}.request-fields .checkline{display:flex;align-items:center;gap:10px}.request-fields .checkline input{width:18px;height:18px;min-height:18px;margin:0;accent-color:var(--blue)}
@media(max-width:700px){.customers-table .contact-cell,.customers-table .phone-cell,.customers-table .status-cell{width:auto;grid-column:1/-1}.phone-cell .phone-link{width:100%;font-size:16px;min-height:48px;padding:10px;background:#edf2ff;justify-content:center}.customers-table .status-cell>small{font-size:13px}.appointment-actions{display:grid;grid-template-columns:1fr;gap:6px}.appointment-actions .phone-link{justify-content:center}.appointment-actions .text-button{justify-content:space-between}.request-facts{gap:20px 12px}.request-facts dd{font-size:13px}.lead-phone>.phone-link{width:100%;justify-content:center}.lead-email{text-align:center}.request-fields .form-pair{grid-template-columns:1fr}.request-file{flex-wrap:wrap}}

/* Panel bodies keep the same inset and breathing room when their lists are empty. */
.panel-empty{display:flex;align-items:center;gap:12px;min-height:96px;padding:28px 24px;margin:0;color:var(--muted);font-size:14px;line-height:1.5}
.panel-empty svg{flex:none;width:20px;height:20px;color:var(--blue)}
.panel-empty strong{font-weight:500}
.work-panel,.summary-grid>*{min-width:0}
.task-info h3,.task-info .meta,.appointment h3,.icon-meta,.customer-name strong,.booking-summary strong,.booking-summary small,.team-manage-row strong,.team-manage-row small{overflow-wrap:anywhere}
.customer-name>span:last-child,.booking-summary>span,.team-manage-row>span:nth-child(2){min-width:0}
.booking-summary>svg,.team-manage-row>svg{flex:none}
@media(max-width:700px){.panel-empty{padding:24px 16px}.task .phone-missing{margin-left:52px;flex:1;min-height:44px}.task .phone-link{min-width:0;white-space:normal;overflow-wrap:anywhere}.task .icon-button{flex:none}.empty-results{margin:0;padding:24px 16px}.lead-next{padding:16px}.lead-next>strong{min-width:0;overflow-wrap:anywhere}}
@media(max-width:420px){.form-pair{grid-template-columns:1fr}.detail-actions{grid-template-columns:1fr}.request-facts{grid-template-columns:1fr}.readiness ul{grid-template-columns:1fr}.readiness li{flex-wrap:nowrap}.readiness li b{margin-left:auto}}
.billing-crm-summary{padding:22px 0;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.billing-crm-summary h3{width:100%;margin:0 0 8px}.billing-crm-summary a{color:#2454e6;font-weight:600;min-height:44px;align-content:center}
/* Equal panel headings, including headings with a touch-sized action. */
.section-head{padding-block:16px;min-height:78px}
.section-head .text-button{min-height:44px}
@media(max-width:700px){.section-head{padding-block:12px;min-height:68px}}
