/* DTJ Jobs 1.97.0: the new room planner page (staff only, stage 1). */
/* 1.98.1: as wide as the window. 2.7.0: the whole width of the window and its height below the menu (set by the page's
   script), no box round it, and faded in once it has its lists. */
.dtjrp { position: relative; box-sizing: border-box; width: var(--dtj-vw, 100vw); max-width: none; margin-left: var(--dtj-ml, calc(50% - var(--dtj-vw, 100vw) / 2)); }
.dtjrp-frame { display: block; width: 100%; height: var(--dtj-h, calc(100vh - 36px)); min-height: 400px; border: 0; border-radius: 0; background: transparent; transition: opacity .3s ease; }
.dtjrp-frame.dtj-wait { opacity: 0; }
/* 2.10.0: anything the page hides stays hidden (the frame's display:block above beat [hidden], so after "Send my design"
   the planner stayed on screen and the send form sat below it, out of sight). */
.dtjrp [hidden], .dtjrp-frame[hidden] { display: none !important; }
/* 2.10.0: the theme's page title above the frame showed nothing (its text matched the background) but pushed the
   frame about 100 px down, a third of a phone's screen. Kept for screen readers and search engines, not shown. */
.site-main > .page-header { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* 2.10.1 (Dan, 2 Dec 2026: "make the top bar disappear so that the screen you're working in is larger"): on the
   planner page the site's shortcuts bar and menu are hidden (about 175 px on a laptop, 300 on a phone), and a slim bar
   takes their place: home, and "Show the site menu" to bring them back. body.dtjrp-full comes from the page (PHP), or
   the script when the page couldn't tell. */
body.dtjrp-full:not(.dtjrp-menu):not(.dtjrp-page) .dtjse-top,
body.dtjrp-full:not(.dtjrp-menu):not(.dtjrp-page) .ekit-template-content-header,
body.dtjrp-full:not(.dtjrp-menu):not(.dtjrp-page) .elementor-location-header,
body.dtjrp-full:not(.dtjrp-menu):not(.dtjrp-page) #masthead,
body.dtjrp-full:not(.dtjrp-menu):not(.dtjrp-page) > header.site-header { display: none !important; }
body.dtjrp-full .site-main, body.dtjrp-full .site-main > .page-content { margin-top: 0 !important; padding-top: 0 !important; }
.dtjrp-bar { display: none; }
body.dtjrp-full .dtjrp-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 36px; padding: 0 16px; box-sizing: border-box; background: #1B2D23; font: 500 13.5px/1.2 Roboto, "Work Sans", Arial, sans-serif; }
.dtjrp-bar a, .dtjrp-bar button { color: #F5F1E8 !important; background: none !important; border: 0 !important; padding: 8px 0 !important; margin: 0; font: inherit; letter-spacing: .2px; text-decoration: none; cursor: pointer; box-shadow: none !important; }
.dtjrp-bar a:hover, .dtjrp-bar button:hover { color: #DDBC83 !important; text-decoration: underline; text-underline-offset: 3px; }
.dtjrp-bar a:focus-visible, .dtjrp-bar button:focus-visible { outline: 2px solid #DDBC83; outline-offset: 2px; border-radius: 2px; }
@media print { .dtjrp-bar { display: none !important; } }
/* 2.10.1: Cabbly's "page" layout (Dan: "more like the MDF door builder"): the site's menu stays, the frame is as tall as
   its columns and the page scrolls; the bar keeps only Full screen. */
body.dtjrp-page:not(.dtjrp-max) .dtjrp-frame { min-height: 0; }
body.dtjrp-page .dtjrp-bar [data-dtjrp-menu] { display: none !important; }
/* 2.10.1 (Dan: "add a make full screen for the designers"): the bar and the planner fill the whole screen (the browser's
   own full screen where it has one, else the window); "Exit full screen" or Esc puts it back. */
.dtjrp-bar__r { display: inline-flex; gap: 20px; }
body.dtjrp-max { overflow: hidden !important; }
body.dtjrp-max .dtjrp { position: fixed !important; inset: 0; z-index: 100000; width: 100vw !important; height: 100vh; margin: 0 !important; background: #F5F1E8; }
body.dtjrp-max .dtjrp-frame { height: calc(100vh - 36px) !important; min-height: 0; }
body.dtjrp-max .dtjrp-bar [data-dtjrp-menu], body.dtjrp-max .dtjrp-staff { display: none !important; }
.dtjrp:fullscreen { width: 100vw !important; height: 100vh; margin: 0 !important; background: #F5F1E8; }
/* 2.10.4 (Dan, 3 Dec 2026: "it hasn't opened in the same full screen mode like the DIY Kitchens one... there shouldn't be
   any scroll wheels"): with the site's menu tucked away, the planner is the whole window from the start: the slim bar on
   top, the planner under it, nothing else on the page (the site's footer made the page scroll), and no scroll bar.
   body/html.dtjrp-fix come from the script while the planner shows (not on the Send step, which is a page to scroll,
   nor with the site's menu shown, nor in the page layout). A message, the Save / Share panel or the problems list sits
   under the planner and the planner gets shorter to make room, so nothing is ever off the screen. */
/* 2.10.4 (Dan, 3 Dec: "NO FOOTER THERE SHOULD BE NO FOOTER IN THE PLANNER"): the site's footer is never shown on the
   planner's page, whatever it is showing (the planner, the Send step, or with the site's menu brought back). */
body.dtjrp-full .ekit-template-content-footer,
body.dtjrp-full .elementor-location-footer,
body.dtjrp-full #colophon,
body.dtjrp-full > footer,
body.dtjrp-full footer.site-footer { display: none !important; }
html.dtjrp-fix, html.dtjrp-fix body { overflow: hidden !important; height: 100% !important; }
body.dtjrp-fix .dtjrp { position: fixed !important; inset: 0; z-index: 99990; width: 100vw !important; height: 100vh; height: 100dvh; margin: 0 !important; background: #F5F1E8; }
body.dtjrp-fix .dtjrp-staff { display: none !important; }
body.dtjrp-fix .dtjrp, body.dtjrp-max .dtjrp { display: flex; flex-direction: column; }
body.dtjrp-fix .dtjrp-bar, body.dtjrp-max .dtjrp-bar { flex: none; }
body.dtjrp-fix [data-dtjrp-app], body.dtjrp-max [data-dtjrp-app] { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
body.dtjrp-fix .dtjrp-frame, body.dtjrp-max .dtjrp-frame { flex: 1 1 auto; height: auto !important; min-height: 0 !important; }
body.dtjrp-fix [data-dtjrp-app] > :not(.dtjrp-frame), body.dtjrp-max [data-dtjrp-app] > :not(.dtjrp-frame) { flex: none; max-height: 45vh; overflow: auto; }
body.dtjrp-fix .dtjrp-panel, body.dtjrp-max .dtjrp-panel { margin: 8px 16px; }
.dtjrp-staff, .dtjrp-status, .dtjrp-problems, .dtjrp-note { margin-left: 16px; margin-right: 16px; }
.dtjrp-staff { margin: 0 0 8px; padding: 6px 10px; background: #fff7e0; border-left: 4px solid #d39e00; font-size: 14px; color: #1d2327; }
.dtjrp-status:empty { display: none; }
.dtjrp-status { margin: 8px 0; font-weight: 600; color: #1d2327; }
.dtjrp-problems { font-size: 13px; margin: 6px 0 0; color: #1d2327; }
.dtjrp-problems details { background: #fff; padding: 6px 10px; }
.dtjrp-muted { color: #50575e; }
.dtjrp-note { padding: 10px; background: #f6f7f7; color: #1d2327; }
/* 1.99.0: Save, Share and Download a PDF. */
.dtjrp-panel { margin: 10px 16px; padding: 14px 16px; background: #fff; border: 1px solid #ccc2b8; border-radius: 6px; color: #1d2327; max-width: 720px; }
.dtjrp-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dtjrp-panel h3 { margin: 0 0 6px; font-size: 18px; color: #1d2327; }
.dtjrp-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0; }
.dtjrp-form label { flex-basis: 100%; font-weight: 600; }
.dtjrp-form input[type="email"] { flex: 1 1 260px; padding: 8px 10px; border: 1px solid #8a8d85; border-radius: 4px; }
.dtjrp-btn { display: inline-block; padding: 8px 14px; background: #20382b; color: #f5f1e8; border: 0; border-radius: 4px; cursor: pointer; text-decoration: none; font-size: 15px; }
.dtjrp-btn:focus-visible { outline: 3px solid #d39e00; outline-offset: 2px; }
.dtjrp-btn-plain { background: transparent; color: #20382b; border: 1px solid #20382b; }
.dtjrp-linkrow { display: flex; flex-wrap: wrap; gap: 8px; }
.dtjrp-link { flex: 1 1 320px; padding: 8px 10px; border: 1px solid #8a8d85; border-radius: 4px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.dtjrp-ok { color: #1e6b3a; font-weight: 600; }
.dtjrp-error { color: #a1271b; font-weight: 600; }
/* 2.0.0: the Send step. */
.dtjrp-panel.dtjrp-send { max-width: 760px; margin: 10px auto; }
.dtjrp-sendform { display: grid; gap: 12px; margin-top: 8px; }
.dtjrp-field label, .dtjrp-radios legend { display: block; font-weight: 600; margin-bottom: 4px; }
.dtjrp-field input[type="text"], .dtjrp-field input[type="email"], .dtjrp-field input[type="tel"], .dtjrp-field textarea { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid #8a8d85; border-radius: 4px; font: inherit; }
.dtjrp-field [aria-invalid="true"] { border-color: #a1271b; box-shadow: 0 0 0 2px #f3c9c4; }
.dtjrp-hint { margin: 4px 0 0; font-size: 13px; color: #50575e; }
.dtjrp-radios { border: 0; padding: 0; margin: 0; }
.dtjrp-radios label { display: block; padding: 3px 0; }
.dtjrp-consent { display: block; }
.dtjrp-sending { background: #f5f1e8; padding: 8px 12px; border-radius: 4px; }
.dtjrp-sending h4 { margin: 0 0 4px; }
/* 2.1.0: the box a person never sees (today's planner has the same). */
.dtjrp-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
/* 2.8.0: Ask Claude to design it */
.dtjrp-ask { margin: 0 16px 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: #1d2327; }
.dtjrp-ask-lead { font-size: 14px; color: #50575e; }
.dtjrp-ask-box { flex: 1 1 100%; max-width: 760px; background: #fff; border: 1px solid #ccc2b8; border-radius: 6px; padding: 14px 16px; }
.dtjrp-ask-box[hidden] { display: none; }
.dtjrp-ask-l { display: block; font-weight: 600; margin: 10px 0 4px; }
.dtjrp-ask-box select, .dtjrp-ask-box textarea { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid #8a8d85; border-radius: 4px; font: inherit; }
.dtjrp-ask-row { display: flex; gap: 8px; margin: 12px 0 0; }
.dtjrp-ask-out:empty { display: none; }
.dtjrp-ask-out { margin-top: 10px; }
.dtjrp-ask-notes { margin: 4px 0 0 18px; font-size: 14px; }
