/* Compact centered timeline with a live result beside the editor. */
#timeline-picture-dialog{box-sizing:border-box;width:min(600px,calc(100vw - 24px));max-height:90dvh;padding:42px 20px 20px;margin:auto;border:1px solid #c3a26d;border-radius:12px;background:#f5f0e7;box-shadow:0 24px 90px #071b2b66;overflow:auto}
#timeline-picture-dialog::backdrop{background:#071b2bbd}
#timeline-picture-dialog>img{display:block;width:100%;height:auto;box-shadow:0 7px 25px #17364c20}
#timeline-picture-dialog>p{font:500 12px/1.7 Manrope,Arial,sans-serif;color:#536c7c;margin:15px 0 0;text-align:center}
#timeline-picture-dialog .fc-picture-close{position:absolute;right:11px;top:7px;width:30px;height:30px;border:0;background:transparent;color:#14384e;font-size:27px;cursor:pointer}
#timeline-step-share .deadline-actions{display:flex;flex-wrap:wrap;gap:10px}


.fc-timeline-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:35px;align-items:center;margin:32px 0 40px;padding:30px 34px;border:1px solid #d3b57d;border-left:4px solid #c7a66a;border-radius:12px;background:linear-gradient(115deg,#12354b,#1e4c63);box-shadow:0 9px 30px #15394c12}
html body .fc-timeline-intro .fc-timeline-intro-kicker{font:800 10px/1.6 Manrope,Arial,sans-serif;letter-spacing:.14em;color:#e5c895;margin:0 0 11px}
html body .fc-timeline-intro h2#fc-timeline-intro-title{font:800 clamp(23px,2.5vw,30px)/1.25 Manrope,Arial,sans-serif;color:#fff;margin:0 0 12px;letter-spacing:-.025em}
html body .fc-timeline-intro p:not(.fc-timeline-intro-kicker){font:500 13px/1.8 Manrope,Arial,sans-serif;color:#e1ebf1;margin:0 0 15px;max-width:740px}
.fc-timeline-intro-steps{display:block;font:600 10px/1.9 Manrope,Arial,sans-serif;color:#d8c49f}
.fc-timeline-start{display:inline-flex;align-items:center;justify-content:center;gap:17px;min-height:48px;padding:14px 22px;border:1px solid #f1dbb6;border-radius:7px;background:#e8c993;color:#14364a;text-decoration:none;white-space:nowrap;font:800 13px/1.5 Manrope,Arial,sans-serif;box-shadow:0 5px 14px #0001}
.fc-timeline-start:hover{background:#f4dfb8;color:#102f43}
.fc-timeline-start:focus-visible{outline:3px solid #fff;outline-offset:4px}
@media(max-width:700px){.fc-timeline-intro{grid-template-columns:1fr;gap:22px;padding:26px 22px;margin:24px 0 30px}.fc-timeline-start{justify-self:start;white-space:normal}.fc-timeline-intro-steps{font-size:9px}}

html body #contract-deadline-planner.fc-simple-timeline{box-sizing:border-box;max-width:920px;width:100%;padding:0;margin:36px auto;border:1px solid #d5c3a4;border-top:3px solid #b58a4d;border-radius:12px;background:#fff;box-shadow:0 10px 35px #15364a0b;overflow:hidden;scroll-margin-top:145px}
.fc-simple-heading{padding:23px 25px 20px;border-bottom:1px solid #e6e0d6;background:#fcfaf6}
html body #contract-deadline-planner .fc-simple-heading h3{font:800 27px/1.25 Manrope,Arial,sans-serif;letter-spacing:-.03em;margin:7px 0 9px;color:#14384e}
.fc-simple-heading>p:last-child{font:500 12px/1.7 Manrope,Arial,sans-serif;color:#607888;margin:0}
.fc-simple-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:24px;padding:24px}
.fc-simple-dates{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}
html body #contract-deadline-planner .fc-simple-layout label{display:flex;flex-direction:column;gap:6px;font:700 11px/1.5 Manrope,Arial,sans-serif;color:#37566b;margin:0}
html body #contract-deadline-planner .fc-simple-layout :is(input,select,textarea){box-sizing:border-box;width:100%;min-width:0;min-height:38px;padding:8px;border:1px solid #c4d1da;border-radius:6px;background:#fff;color:#163a50;font:500 12px/1.5 Manrope,Arial,sans-serif}
.fc-simple-task-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
html body #contract-deadline-planner .fc-simple-task-heading h4{margin:0;font:800 14px/1.5 Manrope,Arial,sans-serif;color:#153c53}
html body #contract-deadline-planner #deadline-add{padding:5px 9px;border:1px solid #d3bf9a;border-radius:5px;color:#805e2e;background:#fbf7ef;font:800 11px/1.5 Manrope,Arial,sans-serif;cursor:pointer}
.fc-simple-task{padding:12px 0;border-bottom:1px solid #e3e9ed}
.fc-simple-task-main{display:grid;grid-template-columns:minmax(0,1fr) 78px 22px;gap:8px;align-items:end}
html body #contract-deadline-planner .fc-simple-task-name select{text-overflow:ellipsis;font-size:11px}
html body #contract-deadline-planner .fc-simple-remove{height:38px;padding:0;border:0;background:transparent;color:#8b6262;font-size:19px;cursor:pointer}
.fc-simple-task>details>summary{list-style:none;cursor:pointer;color:#637b8c;font:500 10px/1.7 Manrope,Arial,sans-serif;margin-top:9px}
.fc-simple-task>details>summary:before{content:'+ ';color:#a17a3f}
.fc-simple-task>details[open]>summary:before{content:'− '}
.fc-simple-task-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:12px}
.fc-simple-options{margin-top:16px;border:0}
.fc-simple-options>summary{cursor:pointer;font:700 11px/1.6 Manrope,Arial,sans-serif;color:#637b8c}
.fc-simple-options>div{display:grid;gap:12px;padding:13px 0 2px}
html body #contract-deadline-planner .fc-simple-options button{padding:7px 10px;border:1px solid #c8d4dc;border-radius:5px;background:#fff;color:#31556c;font:700 11px/1.5 Manrope,Arial,sans-serif;cursor:pointer}
.fc-simple-result{align-self:start;position:sticky;top:145px;border:1px solid #d3bd95;border-radius:9px;background:#fcfaf6;overflow:hidden}
.fc-simple-preview-head{padding:17px 18px 14px;background:#153b52;color:#fff}
.fc-simple-preview-head>span{font:800 9px/1.5 Manrope,Arial,sans-serif;letter-spacing:.13em;color:#e4c58e}
html body #contract-deadline-planner .fc-simple-preview-head h4{font:800 21px/1.3 Manrope,Arial,sans-serif;color:#fff;margin:5px 0 0}
html body #contract-deadline-planner #deadline-summary{font:500 10px/1.6 Manrope,Arial,sans-serif;color:#607787;margin:12px 16px;padding:0;border:0;background:none}
#timeline-live-list{list-style:none;margin:0;padding:0 16px 8px}
#timeline-live-list>li{display:grid;grid-template-columns:8px minmax(0,1fr) 75px;gap:9px;align-items:center;padding:12px 0;border-bottom:1px solid #e1e5e7;font:600 11px/1.5 Manrope,Arial,sans-serif;color:#345569}
#timeline-live-list>li:last-child{border-bottom:0}
.fc-simple-dot{width:7px;height:7px;border-radius:50%;background:#cab892}
#timeline-live-list .is-dated .fc-simple-dot{background:#397557}
#timeline-live-list strong{font:700 11px/1.5 Manrope,Arial,sans-serif;color:#9b7b4a;text-align:right}
#timeline-live-list .is-dated strong{color:#286044}
.fc-simple-event small{display:block;color:#397557;font-size:9px}
.fc-simple-share{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 16px 0;border-top:1px solid #e1d8c9}
html body #contract-deadline-planner .fc-simple-share button{padding:10px 8px;border:1px solid #153b52;border-radius:6px;background:#153b52;color:#fff;font:800 11px/1.5 Manrope,Arial,sans-serif;cursor:pointer}
html body #contract-deadline-planner .fc-simple-share button:first-child{background:#fff;color:#153b52}
.fc-simple-result>.fc-simple-options{margin:13px 16px 0}
#closing-email-feedback{font:500 10px/1.7 Manrope,Arial,sans-serif;color:#527184;padding:0 16px;margin:12px 0}
html body #contract-deadline-planner .fc-simple-footnote{margin:0;padding:12px 24px;border-top:1px solid #e5ded2;font:500 10px/1.7 Manrope,Arial,sans-serif;color:#6c7f8a;background:#fcfaf6}
.fc-timeline-intro{max-width:920px;box-sizing:border-box;margin-left:auto;margin-right:auto}
@media(max-width:700px){.fc-simple-layout{grid-template-columns:1fr;gap:20px;padding:18px}.fc-simple-heading{padding:20px}.fc-simple-result{position:static}.fc-simple-dates input{font-size:16px!important}.fc-simple-task-main{grid-template-columns:minmax(0,1fr) 77px 22px}html body #contract-deadline-planner .fc-simple-heading h3{font-size:24px}}
@media(prefers-reduced-motion:reduce){.fc-simple-timeline{scroll-behavior:auto}}
#timeline-email-dialog{box-sizing:border-box;width:min(740px,calc(100vw - 24px));max-height:88dvh;padding:27px;margin:auto;border:1px solid #c3a26d;border-top:4px solid #b48b4e;border-radius:12px;background:#fffdf9;color:#18374b;box-shadow:0 24px 90px #071b2b66;overflow:auto}
#timeline-email-dialog::backdrop{background:#071b2bbd}
#timeline-email-dialog>.fc-picture-close{position:absolute;top:9px;right:12px;border:0;background:transparent;color:#153b52;font-size:27px;cursor:pointer}
#timeline-email-dialog h3{font:800 20px/1.4 Manrope,Arial,sans-serif;margin:0 35px 22px 0;color:#153b52}
#timeline-email-dialog .fc-email-preview-body>div{font-size:13px!important;line-height:1.65!important}
#timeline-email-dialog .fc-email-inline-picture{display:block;width:660px;max-width:100%;height:auto;margin:17px 0;border:0}
.fc-email-preview-actions{display:flex;flex-wrap:wrap;gap:10px;padding-top:18px;margin-top:20px;border-top:1px solid #ded5c6}
.fc-email-preview-actions button{padding:11px 15px;border:1px solid #153b52;border-radius:6px;background:#153b52;color:#fff;font:700 11px/1.5 Manrope,Arial,sans-serif;cursor:pointer}
.fc-email-preview-actions button+button{background:#fff;color:#153b52}
@media(max-width:600px){#timeline-email-dialog{padding:23px 18px}}

.fc-simple-task>details>summary{font-size:11px;padding:3px 0}

html body #contract-deadline-planner #deadline-reset{justify-self:start;width:auto;min-height:30px;padding:5px 10px;border:1px solid #df9b9b;border-radius:5px;background:#fff2f2;color:#a52d32;font:700 10px/1.5 Manrope,Arial,sans-serif;cursor:pointer}
html body #contract-deadline-planner #deadline-reset:hover:not(:disabled){background:#fbe2e2;border-color:#b95055}
html body #contract-deadline-planner #deadline-reset:disabled{opacity:.45;cursor:default}

.fc-simple-task-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}
html body #contract-deadline-planner #deadline-reset{background:#b33e45;color:#fff;border-color:#b33e45}
html body #contract-deadline-planner #deadline-reset:hover:not(:disabled){background:#912c33;border-color:#912c33}

#closing-timeline-intro{scroll-margin-top:150px;margin-bottom:24px}
html body .fc-buy-jump-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
html body .fc-buy-jump-links a,html body .fc-buy-jump-links button{box-sizing:border-box;width:100%;min-height:44px}
@media(max-width:760px){html body .fc-buy-jump-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:400px){html body .fc-buy-jump-links a,html body .fc-buy-jump-links button{font-size:10px;padding:10px 6px;gap:5px}}

html body #buyer-contract-timeline{max-width:920px;margin-left:auto;margin-right:auto;text-align:center}
html body #buyer-contract-timeline p{margin-left:auto;margin-right:auto}

@media(min-width:1000px){html body #contract-deadline-planner.fc-simple-timeline{width:min(90vw,1600px);max-width:none;margin-left:calc(50% - min(45vw,800px));margin-right:0}.fc-simple-layout{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:30px}.fc-simple-task-main{grid-template-columns:minmax(0,1fr) 72px 160px 22px}}
@media(max-width:999px){.fc-simple-task-main{grid-template-columns:minmax(0,1fr) 72px 22px}.fc-simple-task-main .fc-task-due{grid-column:1 / 3;grid-row:2}.fc-simple-task-main .fc-simple-remove{grid-column:3;grid-row:1}}
html body #contract-deadline-planner #timeline-live-list strong{min-width:105px;white-space:normal}

@media(min-width:1000px){html body #contract-deadline-planner.fc-simple-timeline{width:min(92vw,1180px);margin-left:calc(50% - min(46vw,590px))}.fc-simple-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px}.fc-simple-task-main{grid-template-columns:minmax(0,1fr) 60px 132px 18px;gap:6px}}
html body #contract-deadline-planner #timeline-live-list>li{grid-template-columns:22px minmax(0,1fr) 36px 105px;gap:8px}
html body #contract-deadline-planner #timeline-live-list strong{min-width:0;overflow-wrap:anywhere}
.fc-simple-number{font-weight:800;color:#95713e;text-align:center}
.fc-simple-days{text-align:center;color:#345569}
html body #contract-deadline-planner #timeline-live-list>.fc-timeline-columns{font-size:10px;color:#92713f;font-weight:800;padding:8px 0}
@media(max-width:420px){html body #contract-deadline-planner #timeline-live-list>li{grid-template-columns:18px minmax(0,1fr) 27px 82px;gap:5px}}

html body #contract-deadline-planner .fc-simple-task{padding:14px;margin:12px 0;border:1px solid #dde5e9;border-left:3px solid #b9985c;border-radius:8px;background:#f3f6f8}
html body #contract-deadline-planner .fc-task-label{color:#153c53;font-size:12px;font-weight:800;letter-spacing:.03em}
html body #contract-deadline-planner .fc-simple-options label{color:#92703b}
html body #contract-deadline-planner #timeline-live-list>.fc-key-date{background:#edf2f5;border-top:1px solid #cfdae1;border-bottom:1px solid #cfdae1;border-left:3px solid #b9985c;padding:12px 8px;margin:5px 0;border-radius:5px;font-weight:800}
html body #contract-deadline-planner #timeline-live-list>.fc-key-date strong{font-weight:800;color:#153c53}

html body #buyer-contract-timeline{padding-top:32px;margin-bottom:20px}
html body #gce-timeline-heading{font-size:clamp(24px,2.4vw,34px);line-height:1.25}
html body #closing-timeline-intro{box-sizing:border-box;width:min(92vw,1180px);max-width:none;margin-left:calc(50% - min(46vw,590px));margin-right:0;margin-bottom:0;padding:18px 26px;gap:22px;border-radius:12px 12px 0 0}
html body #closing-timeline-intro p:not(.fc-timeline-intro-kicker){margin-bottom:6px}
html body #closing-timeline-intro .fc-timeline-intro-kicker{margin-bottom:5px}
html body #closing-timeline-intro h2#fc-timeline-intro-title{font-size:25px;margin-bottom:7px}
html body #contract-deadline-planner.fc-simple-timeline{margin-top:0;border-radius:0 0 12px 12px;scroll-margin-top:110px}
html body #contract-deadline-planner #timeline-live-list>li{font-size:13px;line-height:1.6}
html body #contract-deadline-planner #timeline-live-list strong{font-size:12px}
html body #contract-deadline-planner #deadline-summary{font-size:12px}
html body #contract-deadline-planner .fc-task-note{margin-top:10px}
.fc-task-label[draggable]{cursor:grab;user-select:none}
.fc-task-label[draggable]:active{cursor:grabbing}
html body #contract-deadline-planner #deadline-sort{padding:5px 9px;border:1px solid #b9cbd7;border-radius:5px;background:#edf3f6;color:#153c53;font:700 10px/1.5 Manrope,Arial,sans-serif;cursor:pointer}
html body #contract-deadline-planner .fc-task-note-preview{font-size:11px;color:#607888;font-weight:500}
@media(max-width:999px){html body #closing-timeline-intro{width:100%;margin-left:0;margin-right:0}}

html body #contract-deadline-planner .fc-simple-task>details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;padding:9px 12px;margin-top:12px;border:1px solid #c9d6df;border-radius:6px;background:#e7eef3;color:#183d54;font:700 11px/1.5 Manrope,Arial,sans-serif;cursor:pointer}
html body #contract-deadline-planner .fc-simple-task>details>summary::before{content:none}
html body #contract-deadline-planner .fc-simple-task>details>summary::after{content:"▼";font-size:16px;font-weight:900;color:#8a642e}
html body #contract-deadline-planner .fc-simple-task>details[open]>summary::after{content:"▲"}
html body #contract-deadline-planner .fc-simple-task>details>summary:hover{background:#dce7ee;border-color:#9fb5c4}
html body #contract-deadline-planner .fc-simple-task>details>summary:focus-visible{outline:2px solid #a88043;outline-offset:3px}
html body #contract-deadline-planner .fc-simple-task>details>summary::-webkit-details-marker{display:none}

html body #closing-timeline-intro{grid-template-columns:1fr}
.fc-heading-line{display:grid;grid-template-columns:minmax(230px,.85fr) minmax(0,1.6fr);gap:28px;align-items:center;margin-bottom:12px}
html body #buyer-contract-timeline.fc-heading-message{padding:0;margin:0;border:0;text-align:left;max-width:none}
html body .fc-heading-message #gce-timeline-heading{font-size:clamp(20px,2vw,27px);margin:5px 0 9px;line-height:1.25}
html body .fc-heading-message p{font-size:12px;line-height:1.7;margin:0;color:#607888}
html body .fc-heading-message .gce-timeline-kicker{font-size:9px;color:#95713e}
@media(max-width:760px){.fc-heading-line{grid-template-columns:1fr;gap:12px}}

html body #contract-deadline-planner #timeline-live-list>li>span:nth-child(3){text-align:center}
html body #contract-deadline-planner #timeline-live-list>li>span:nth-child(4){text-align:right}

html body #contract-deadline-planner #timeline-live-list>li{box-sizing:border-box;padding:12px 8px;border-left:3px solid transparent}
html body #contract-deadline-planner #timeline-live-list>li.fc-key-date{border-left-color:#b9985c}
html body #contract-deadline-planner #timeline-live-list>.fc-timeline-columns{padding:8px}

html body #contract-deadline-planner #timeline-live-list>li.fc-closing-date{background:#f8e9ed;border-left-color:#bc7b8c;border-top-color:#e5c6cf;border-bottom-color:#e5c6cf}

html body #contract-deadline-planner #timeline-live-list>li.fc-extension-funds{background:#fff2da;border-left-color:#c28a32}
html body #contract-deadline-planner #timeline-live-list>li.fc-extension-force{background:#eee8f6;border-left-color:#8a69aa}
.fc-extension-help{font:500 11px/1.7 Arial;color:#536c7f;margin:10px 0}

.fc-task-guide{display:grid;gap:4px;background:#fffaf0;border:1px solid #e5d8bb;border-radius:6px;padding:10px 12px;margin:10px 0;color:#536d7e;font:500 11px/1.6 Manrope,Arial,sans-serif}.fc-task-guide strong{color:#856132;font-size:11px}.fc-task-guide small{font-size:10px}.fc-task-trigger{margin:10px 0!important}

html body #contract-deadline-planner .fc-simple-task>details.fc-task-guidance-disclosure>summary{display:inline-flex;justify-content:flex-start;padding:3px 0;margin-top:7px;border:0;border-radius:0;background:transparent;color:#82632f;font-size:10px;text-decoration:underline;text-underline-offset:3px}
html body #contract-deadline-planner .fc-simple-task>details.fc-task-guidance-disclosure>summary::after{content:"▾";font-size:12px}
html body #contract-deadline-planner .fc-simple-task>details.fc-task-guidance-disclosure[open]>summary::after{content:"▴"}

html body #contract-deadline-planner .fc-simple-task>details.fc-task-notes-disclosure>summary{display:inline-flex;justify-content:flex-start;padding:3px 0;margin-top:7px;border:0;border-radius:0;background:transparent;color:#82632f;font-size:10px;text-decoration:underline;text-underline-offset:3px}
html body #contract-deadline-planner .fc-simple-task>details.fc-task-notes-disclosure>summary::after{content:"▾";font-size:12px}
html body #contract-deadline-planner .fc-simple-task>details.fc-task-notes-disclosure[open]>summary::after{content:"▴"}

#contract-deadline-planner .fc-task-extra-disclosure{margin-top:10px}#contract-deadline-planner .fc-task-extra-disclosure>summary{font-size:12px;color:#86662e;cursor:pointer;padding:8px 0;font-weight:700}#contract-deadline-planner .fc-complementary-tasks{margin-top:28px;border-top:2px solid #b79559;padding-top:24px}#contract-deadline-planner .fc-complementary-tasks h4{font-size:23px;margin:6px 0 10px}#contract-deadline-planner .fc-complementary-tasks p{font-size:12px;color:#536b7c;line-height:1.6}#contract-deadline-planner .fc-reminder-scroll{overflow-x:auto;border:1px solid #d5dfe5;border-radius:10px}#contract-deadline-planner .fc-reminder-scroll table{min-width:700px;width:100%;table-layout:auto}#contract-deadline-planner .fc-reminder-scroll th{background:#17394e;color:white}#contract-deadline-planner .fc-reminder-scroll td,#contract-deadline-planner .fc-reminder-scroll th{font-size:12px;padding:10px;text-align:left}#contract-deadline-planner .fc-reminder-scroll td:first-child{width:43%}#contract-deadline-planner .fc-reminder-scroll input{width:62px;padding:6px}#contract-deadline-planner .fc-reminder-scroll td:last-child{white-space:nowrap;color:#286049}#contract-deadline-planner .fc-reminder-scroll tr:nth-child(even){background:#f1f5f8}

#contract-deadline-planner .fc-date-start{border-left:3px solid #b79559;background:#fff4d8;padding:12px 14px;font-size:12px;line-height:1.6;margin:0 0 14px}#contract-deadline-planner .fc-date-start[hidden]{display:none}#contract-deadline-planner .fc-task-timing{display:block;color:#82622e;font-size:10px;font-weight:600;margin-top:5px}

#contract-deadline-planner .fc-reminder-scroll td,#contract-deadline-planner .fc-reminder-scroll th{font-size:15px;line-height:1.55;padding:14px 12px}#contract-deadline-planner .fc-reminder-scroll input{font-size:16px;width:70px;padding:9px}#contract-deadline-planner .fc-reminder-scroll table{min-width:850px}#contract-deadline-planner .fc-reminder-scroll tr.fc-reminder-on{background:#edf4f9}#contract-deadline-planner .fc-reminder-scroll tr.fc-reminder-after{background:#fff8e8}#contract-deadline-planner .fc-reminder-scroll tr.fc-reminder-before{background:#f3edf8}#contract-deadline-planner .fc-reminder-scroll tr.fc-reminder-after-close{background:#eaf5ee}#contract-deadline-planner .fc-reminder-scroll tbody tr td:first-child{border-left:4px solid #8aa9bd}#contract-deadline-planner .fc-reminder-scroll .fc-reminder-after td:first-child{border-left-color:#c6a355}#contract-deadline-planner .fc-reminder-scroll .fc-reminder-before td:first-child{border-left-color:#aa88bb}#contract-deadline-planner .fc-reminder-scroll .fc-reminder-after-close td:first-child{border-left-color:#75a486}#contract-deadline-planner .fc-reminder-scroll td:last-child strong{font-size:16px}#contract-deadline-planner .fc-complementary-tasks>p{font-size:14px}

/* Compact date and task controls, with readable columns in the reminder worksheet. */
#contract-deadline-planner .fc-editor-toolbar{display:flex;align-items:flex-end;gap:14px;margin-bottom:16px;padding-bottom:15px;border-bottom:1px solid #dce3e8}
#contract-deadline-planner .fc-editor-toolbar .fc-simple-dates{flex:1;min-width:0;margin:0;gap:10px}
#contract-deadline-planner .fc-editor-toolbar .fc-simple-task-heading{margin:0;flex:none;padding:0}
#contract-deadline-planner .fc-editor-toolbar .fc-simple-task-heading h4{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
#contract-deadline-planner .fc-editor-toolbar .fc-simple-task-controls{gap:6px;flex-wrap:nowrap}
#contract-deadline-planner .fc-editor-toolbar .fc-simple-task-controls button{font-size:10px;padding:10px 8px;min-height:39px;white-space:nowrap}
#contract-deadline-planner .fc-editor-toolbar .fc-simple-dates label{font-size:11px}
#contract-deadline-planner .fc-editor-toolbar .fc-simple-dates input{padding:8px 5px;min-height:39px;font-size:12px}
#contract-deadline-planner .fc-reminder-scroll th+th,#contract-deadline-planner .fc-reminder-scroll td+td{border-left:1px solid #cbd8df}
#contract-deadline-planner .fc-reminder-scroll th+th{border-left-color:#527083}
#contract-deadline-planner .fc-reminder-scroll td:first-child{width:40%;font-weight:550}
#contract-deadline-planner .fc-reminder-scroll td:last-child{white-space:normal;color:#25465a}
#contract-deadline-planner .fc-reminder-scroll .fc-reminder-days{text-align:center}
#contract-deadline-planner .fc-reminder-scroll .fc-reminder-days input{background:#fff4d2;border:2px solid #c7a462;color:#17394e;font-weight:750;text-align:center;border-radius:8px;box-shadow:0 2px 5px #17394e0a}
#contract-deadline-planner .fc-reminder-scroll .fc-reminder-days input:focus{outline:2px solid #315f79;outline-offset:2px}
#contract-deadline-planner .fc-reminder-scroll .fc-reminder-date{white-space:nowrap;text-align:center}
#contract-deadline-planner .fc-reminder-scroll .fc-reminder-date strong{display:inline-block;background:#ffffffb8;border:1px solid #b7d2c3;color:#276047;border-radius:7px;padding:8px 10px;font-size:16px;line-height:1.3}
@media(max-width:1150px) and (min-width:701px){#contract-deadline-planner .fc-editor-toolbar{flex-wrap:wrap}#contract-deadline-planner .fc-editor-toolbar .fc-simple-dates{flex-basis:100%}}
@media(max-width:700px){#contract-deadline-planner .fc-editor-toolbar{flex-wrap:wrap}#contract-deadline-planner .fc-editor-toolbar .fc-simple-dates{flex-basis:100%}#contract-deadline-planner .fc-editor-toolbar .fc-simple-task-controls button{font-size:12px}}

/* Calm, colour-matched reminder controls and a compact worksheet rhythm. */
#contract-deadline-planner .fc-complementary-tasks{padding:24px 0 0}
#contract-deadline-planner .fc-reminder-scroll{border-color:#cbd8df;border-radius:12px;box-shadow:0 4px 18px #17394e07}
#contract-deadline-planner .fc-reminder-scroll table{table-layout:fixed;min-width:870px}
#contract-deadline-planner .fc-reminder-scroll th{font-size:13px;letter-spacing:.02em;padding:16px 14px}
#contract-deadline-planner .fc-reminder-scroll th:first-child{width:40%}
#contract-deadline-planner .fc-reminder-scroll th:nth-child(2){width:10%;text-align:center}
#contract-deadline-planner .fc-reminder-scroll th:nth-child(3){width:16%;text-align:center}
#contract-deadline-planner .fc-reminder-scroll th:nth-child(4){width:14%}
#contract-deadline-planner .fc-reminder-scroll th:nth-child(5){width:20%}
#contract-deadline-planner .fc-reminder-scroll td{padding:12px 14px;font-size:15px;line-height:1.5;vertical-align:middle;border-bottom:1px solid #18394e13}
#contract-deadline-planner .fc-reminder-scroll td:first-child{font-weight:550}
#contract-deadline-planner .fc-reminder-scroll td:nth-child(4){font-size:13px;color:#536b7b}
#contract-deadline-planner .fc-reminder-scroll td:nth-child(5){font-size:14px}
#contract-deadline-planner .fc-reminder-scroll .fc-reminder-days input{background:transparent;border:1px solid #18394e45;border-radius:7px;box-shadow:none;color:#17394e;font-size:16px;font-weight:700;width:66px;min-height:40px;padding:7px 5px;text-align:center;transition:border-color .15s,box-shadow .15s}
#contract-deadline-planner .fc-reminder-scroll .fc-reminder-days input:hover{border-color:#17394e}
#contract-deadline-planner .fc-reminder-scroll .fc-reminder-days input:focus{background:#ffffff65;outline:2px solid #315f79;outline-offset:2px;box-shadow:0 0 0 4px #315f7910}
#contract-deadline-planner .fc-reminder-scroll .fc-reminder-date strong{background:transparent;border:0;box-shadow:none;border-radius:0;padding:5px 0;color:#245b48;font-size:16px;font-weight:750;font-variant-numeric:tabular-nums}
#contract-deadline-planner .fc-reminder-scroll .fc-reminder-on+.fc-reminder-after td,#contract-deadline-planner .fc-reminder-scroll .fc-reminder-after+.fc-reminder-before td,#contract-deadline-planner .fc-reminder-scroll .fc-reminder-before+.fc-reminder-after-close td{border-top:2px solid #17394e35}
@media(max-width:700px){#contract-deadline-planner .fc-reminder-scroll td{padding:11px 12px}#contract-deadline-planner .fc-complementary-tasks h4{font-size:21px}}

/* Distinct date tiles, coordinated with the worksheet's pastel groups. */
#contract-deadline-planner .fc-reminder-scroll .fc-reminder-date strong{display:inline-block;min-width:108px;padding:10px 12px;border:1px solid #9ab8aa;border-left:3px solid #608d78;border-radius:9px;background:linear-gradient(135deg,#ffffffc9,#ffffff60);box-shadow:0 2px 7px #17394e09;color:#205440;font-size:17px;font-weight:750;line-height:1.35;font-variant-numeric:tabular-nums;white-space:normal}
#contract-deadline-planner .fc-reminder-scroll .fc-reminder-on .fc-reminder-date strong{border-color:#a7bdcd;border-left-color:#6b91ad;color:#244e68}
#contract-deadline-planner .fc-reminder-scroll .fc-reminder-after .fc-reminder-date strong{border-color:#d3bd85;border-left-color:#b18b36;color:#70561e}
#contract-deadline-planner .fc-reminder-scroll .fc-reminder-before .fc-reminder-date strong{border-color:#bfadcf;border-left-color:#9676ad;color:#65477f}

/* Two coordinated shades distinguish editable periods from calculated dates. */
#contract-deadline-planner .fc-reminder-scroll .fc-reminder-on{--period-shade:#e2edf5;--date-shade:#d5e5f0;--group-line:#a3bed1}
#contract-deadline-planner .fc-reminder-scroll .fc-reminder-after{--period-shade:#fff0c9;--date-shade:#f7e7b8;--group-line:#cfb56e}
#contract-deadline-planner .fc-reminder-scroll .fc-reminder-before{--period-shade:#eae0f2;--date-shade:#e0d2eb;--group-line:#b49ac7}
#contract-deadline-planner .fc-reminder-scroll .fc-reminder-after-close{--period-shade:#dceee3;--date-shade:#cfe5d9;--group-line:#92b7a2}
#contract-deadline-planner .fc-reminder-scroll td.fc-reminder-days{background:var(--period-shade);border-left:1px solid var(--group-line)}
#contract-deadline-planner .fc-reminder-scroll td.fc-reminder-date{background:var(--date-shade);border-left:1px solid var(--group-line);border-right:1px solid var(--group-line)}
#contract-deadline-planner .fc-reminder-scroll .fc-reminder-days input{background:var(--period-shade);border-color:var(--group-line)}
#contract-deadline-planner .fc-reminder-scroll .fc-reminder-date strong{background:#ffffffa6;box-shadow:0 2px 5px #17394e08}

/* Matching date tiles identify reminders due together, across all groups. */
#contract-deadline-planner .fc-reminder-scroll .fc-reminder-date strong.fc-shared-date{background:var(--shared-bg);border:2px solid var(--shared-border);border-left-width:4px;color:var(--shared-text);box-shadow:0 2px 6px #17394e12}
#contract-deadline-planner .fc-shared-date-0{--shared-bg:#dcebf8;--shared-border:#7099bd;--shared-text:#244e73}
#contract-deadline-planner .fc-shared-date-1{--shared-bg:#fff0c1;--shared-border:#bd963d;--shared-text:#725514}
#contract-deadline-planner .fc-shared-date-2{--shared-bg:#d8eee7;--shared-border:#6a9f8d;--shared-text:#285f4f}
#contract-deadline-planner .fc-shared-date-3{--shared-bg:#e9def4;--shared-border:#a183ba;--shared-text:#654580}
#contract-deadline-planner .fc-shared-date-4{--shared-bg:#f7dfe5;--shared-border:#bc8494;--shared-text:#813e55}
#contract-deadline-planner .fc-shared-date-5{--shared-bg:#e3e8ec;--shared-border:#8a9aa8;--shared-text:#405769}
