.schedule-modal{width:min(900px,calc(100% - 24px));max-height:94vh}.schedule-modal form{display:block}.schedule-main{background:#f4f7fb;border-left:5px solid var(--schedule-base,#1769e0);padding:14px;margin:10px 0;border-radius:8px}.schedule-main h3{margin:0 0 8px}.schedule-property{padding-top:10px}.work-first .schedule-property{border-top:1px solid var(--line)}.work-first-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.work-first-title small{display:block;color:#66758a}.work-first-title span{border:1px solid #0002;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900;white-space:nowrap}.schedule-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.schedule-grid label{display:grid;align-content:start;gap:4px;font-size:12px;font-weight:750}.schedule-grid input,.schedule-grid select,.schedule-grid textarea{min-width:0;padding:9px;border:1px solid var(--line);border-radius:7px;background:#fff}.schedule-grid textarea{min-height:74px;resize:vertical}.schedule-grid .full{grid-column:1/-1}.schedule-specific{margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fbfcfe}.schedule-specific h3{margin:0 0 10px}.work-lines{margin:10px 0}.work-line{padding:9px 4px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:10px}.work-line span,.work-line strong{display:grid;gap:2px}.work-line small{font-size:10px;color:#66758a}.work-line strong{text-align:right}.schedule-buttons{display:flex;gap:8px;justify-content:flex-end;position:sticky;bottom:0;margin:14px -18px -18px;padding:12px 18px;background:#fff;border-top:1px solid var(--line)}.completion-workflow{margin-top:14px;padding:14px;border:1px solid #cfd9e5;border-radius:10px;background:#f8fafc}.completion-head{display:flex;justify-content:space-between;gap:12px}.completion-head h3{margin:0 0 3px}.completion-head p{margin:0;color:#66758a;font-size:11px}.completion-head>b{height:max-content;padding:7px 10px;border-radius:999px;background:#e5edf7;color:#244b74;white-space:nowrap}.completion-step-list{display:grid;gap:8px;margin-top:12px}.completion-step{display:grid;grid-template-columns:34px 1fr;gap:9px;padding:10px;border:1px solid #d7dfe8;border-radius:9px;background:#fff}.completion-step.ready{border-color:#76a4d4;box-shadow:0 0 0 2px #dcebfa inset}.completion-step.done{border-color:#94c7ae;background:#f2faf6}.completion-step.locked{opacity:.62}.step-number{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#dce5ee;color:#40546a;font-weight:900}.completion-step.done .step-number{background:#16815a;color:#fff}.step-content header{display:flex;align-items:center;gap:8px}.step-content header small{padding:3px 6px;border-radius:99px;background:#eef2f6}.step-content>p{margin:5px 0;font-size:11px}.step-content label{display:grid;gap:3px;margin-top:7px;font-size:11px}.step-content input,.step-content select,.step-content textarea{width:100%;padding:8px;border:1px solid #cfd8e2;border-radius:7px}.step-content textarea{min-height:54px}.complete-step-button{margin-top:8px;padding:9px 12px;border:0;border-radius:7px;background:#1769e0;color:#fff;font-weight:850}.office-alert{border-color:#e0b870!important;background:#fff8e8!important;color:#77520d!important}.schedule-open{width:100%;border:0;background:transparent;text-align:left}.schedule-open span{position:relative}.schedule-open.external-only span{background-image:repeating-linear-gradient(135deg,#ffffff30 0,#ffffff30 7px,#0000000d 7px,#0000000d 14px)!important}.schedule-open span b{font-weight:900}body:has(.schedule-modal[open]){overflow:hidden}@media(max-width:800px){.schedule-grid{grid-template-columns:1fr}.schedule-grid .full{grid-column:1}.schedule-modal{inset:0;margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;box-sizing:border-box;border-radius:0;overflow:auto}.schedule-modal form{padding-bottom:8px}.schedule-main{margin-top:6px}.work-first-title{align-items:flex-start;flex-direction:column}.work-first-title span{white-space:normal}.work-line{display:grid}.work-line strong{text-align:left}.schedule-buttons{justify-content:stretch;flex-wrap:wrap;margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}.schedule-buttons button{flex:1;min-width:44%}.completion-head{align-items:flex-start}.completion-head p{font-size:10px}.completion-step{grid-template-columns:30px 1fr;padding:9px}.step-number{width:27px;height:27px}}

.schedule-cancellation-banner{display:grid;gap:3px;margin:9px 0;padding:11px;border:1px solid #a55b63;border-radius:9px;background:#fff1f2;color:#7c2530}.schedule-cancellation-banner b{font-size:14px}.schedule-cancellation-banner span,.schedule-cancellation-banner small{font-size:11px}.schedule-modal.cancelled .schedule-main,.schedule-modal.cancelled .schedule-specific,.schedule-modal.cancelled .completion-workflow{filter:grayscale(.72);opacity:.72}.schedule-cancel-action{border-color:#b84250!important;background:#fff1f2!important;color:#9d2332!important;font-weight:850}.schedule-cancel-action.restore{border-color:#29855f!important;background:#edf9f3!important;color:#176844!important}.schedule-modal :disabled{cursor:not-allowed}.schedule-modal.cancelled #saveScheduleButton{display:none}
.schedule-assignee-first{display:flex;align-items:center;gap:8px;margin-bottom:8px}.schedule-assignee-first>b{font-size:18px;color:#102f52}.schedule-assignee-first>span{padding:4px 8px;border-radius:999px;background:var(--schedule-base,#1769e0);color:#fff;font-size:11px;font-weight:900}.schedule-property h3{font-size:18px}.schedule-property p{margin:5px 0;color:#4f6074}.schedule-focus-heading{margin:14px 0 7px}.schedule-focus-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.schedule-focus-grid>span{display:grid;gap:3px;padding:9px;border:1px solid #d6e0ea;border-radius:8px;background:#fff}.schedule-focus-grid small{color:#66758a;font-size:10px}.schedule-focus-grid b{font-size:12px;white-space:pre-wrap}.schedule-focus-links{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.schedule-focus-links a,.schedule-focus-links .missing{padding:8px 10px;border-radius:7px;font-size:11px;font-weight:850}.schedule-focus-links a{background:#1769e0;color:#fff;text-decoration:none}.schedule-focus-links .missing{border:1px dashed #b7c2cf;color:#7a8797;background:#fff}.schedule-work-instruction{display:grid;gap:3px;padding:10px;border-radius:8px;background:#fff6dc;border:1px solid #efd58e}.schedule-common-editor{margin-top:14px;padding-top:12px;border-top:1px dashed #bdc9d6}.sales-first{border-left-color:#9b4d96;background:#faf5fb}
@media(max-width:800px){.schedule-assignee-first{position:sticky;top:-1px;z-index:3;margin:-14px -14px 10px;padding:11px 14px;background:#edf4fb;border-bottom:1px solid #c9d7e6}.schedule-assignee-first>b{font-size:20px}.schedule-assignee-first>span{font-size:12px}.schedule-focus-grid{grid-template-columns:1fr 1fr}.schedule-focus-grid>span:last-child{grid-column:1/-1}.schedule-focus-grid b{font-size:13px}.schedule-focus-links{display:grid;grid-template-columns:1fr 1fr}.schedule-focus-links a,.schedule-focus-links .missing{text-align:center}.schedule-common-editor{opacity:.94}.schedule-specific{margin-top:10px}}
.schedule-change-history{margin:14px 0;padding:13px;border:1px solid #d7e1ec;border-radius:10px;background:#f8fafc}.schedule-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.schedule-history-head h3{margin:0}.schedule-history-head p{margin:4px 0;color:#65758a;font-size:11px}.schedule-history-head>b{padding:5px 8px;border-radius:999px;background:#e5eef8;color:#174d82;font-size:11px;white-space:nowrap}.schedule-history-list{display:grid;gap:8px;margin:10px 0}.schedule-history-list article{padding:10px;border:1px solid #dce4ed;border-radius:8px;background:#fff}.schedule-history-list header{display:flex;justify-content:space-between;gap:8px}.schedule-history-list time{color:#6a7889;font-size:10px}.schedule-history-list ul{display:grid;gap:4px;margin:8px 0;padding:0;list-style:none}.schedule-history-list li{display:grid;grid-template-columns:110px 1fr;gap:8px;font-size:11px}.schedule-history-list li span{overflow-wrap:anywhere}.schedule-history-list article>p{margin:7px 0 0;padding-top:7px;border-top:1px dashed #dbe2ea;font-size:11px}.schedule-history-list .reason-missing{color:#9a5c28}.schedule-change-history>small{color:#718095}
@media(max-width:800px){.schedule-history-list li{grid-template-columns:76px 1fr;font-size:12px}.schedule-history-list time{font-size:9px}.schedule-history-list article>p{font-size:12px}}
.cancelled-schedule-row{filter:grayscale(1);opacity:.68}
.cancelled-schedule-row td:nth-child(2){text-decoration:line-through}
