/* Keep account and language choices on home; gate private actions at the click. */
body.has-app-bar>header,html.rabtone-phone body.has-app-bar[data-hub]:not([data-hub=home])>header{display:none!important}
body:not([data-hub=home]) :is(.language-switch,.account-entry,[data-account-entry]){display:none!important}
body [data-secondary-post]{display:none!important}
body #requirement-launcher{position:fixed;right:24px;bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:54;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;max-width:calc(100vw - 190px);padding:12px 18px;border:1px solid #924432;border-radius:24px;background:#a74e3d;color:#fff;box-shadow:0 4px 16px #40231b24;font-size:15px;font-weight:650;line-height:1.4;cursor:pointer}
body #requirement-launcher svg{width:19px;height:19px;flex-shrink:0}
body #requirement-launcher[hidden],body[data-hub=home] #requirement-launcher,body:has(dialog[open]) #requirement-launcher{display:none!important}
body #requirement-launcher:hover{background:#924432}
body #requirement-launcher:focus-visible{outline:3px solid #d39a8e;outline-offset:4px}
body .feedback-launcher{inset-inline-start:auto;left:24px;right:auto}
body:has(#network-compare-dock:not([hidden])) #requirement-launcher{bottom:110px}
body:not([data-hub=home])>footer{padding-bottom:100px}
body #rabtone-auth-prompt{position:fixed;inset:0;margin:auto;width:min(470px,calc(100% - 32px));max-width:none;max-height:90svh;overflow:auto;border:1px solid #bdd1d7;border-radius:18px;padding:32px;background:#f7fafb;color:#203340;box-shadow:0 24px 90px #132c3b33;text-align:start}
body #rabtone-auth-prompt::backdrop{background:#172c3c66;backdrop-filter:blur(4px)}
body #rabtone-auth-prompt h2{margin:0 32px 14px 0;font-size:26px;letter-spacing:-.4px;line-height:1.3;color:#203340}
body #rabtone-auth-prompt p{font-size:16px;line-height:1.6;margin:0 0 22px;color:#526775}
body #rabtone-auth-prompt .auth-prompt-close{position:absolute;top:12px;right:12px;width:40px;height:40px;display:grid;place-items:center;min-height:40px;padding:0;border:1px solid #ccdbe1;border-radius:50%;background:#fff;color:#315969;font-size:25px;line-height:1;cursor:pointer}
body #rabtone-auth-prompt .auth-prompt-continue{display:flex;justify-content:center;align-items:center;min-height:50px;border-radius:9px;padding:12px 16px;background:#185f63;color:#fff;font-size:17px;font-weight:650;line-height:1.5;text-align:center;text-decoration:none}
body #rabtone-auth-prompt .auth-prompt-note{font-size:14px;margin:14px 0 0;color:#526775}
body #rabtone-auth-prompt :is(a,button):focus-visible{outline:3px solid #81aaae;outline-offset:3px}
body #talent-page .career-start-card{padding:0;gap:0;overflow:hidden;background:#fff}
body #talent-page .career-start-photo{width:100%;height:auto;aspect-ratio:2/1;display:block;object-fit:cover;flex-shrink:0}
body #talent-page .career-start-content{display:flex;flex:1;flex-direction:column;align-items:stretch;gap:14px;padding:26px}
body #talent-page .career-card-label{font-size:12px;letter-spacing:1.1px;font-weight:700;color:#65568a;line-height:1.5}
body #talent-page .career-start-content h2{font-size:28px;line-height:1.25;margin:0;color:#203340;letter-spacing:-.5px}
body #talent-page .career-start-content p{margin:0 0 8px;font-size:16px;line-height:1.65;color:#52616f}
.rabtone-phone body #requirement-launcher{right:calc(16px * var(--phone-scale));bottom:calc(16px * var(--phone-scale) + env(safe-area-inset-bottom,0px));min-height:calc(48px * var(--phone-scale));max-width:calc(100vw - 168px * var(--phone-scale));gap:calc(6px * var(--phone-scale));padding:calc(11px * var(--phone-scale)) calc(12px * var(--phone-scale));border-radius:calc(24px * var(--phone-scale));font-size:var(--reading-small)!important}
.rabtone-phone body #requirement-launcher svg{width:calc(18px * var(--phone-scale));height:calc(18px * var(--phone-scale))}
.rabtone-phone body .feedback-launcher{inset-inline-start:auto;left:calc(16px * var(--phone-scale));right:auto}
.rabtone-phone body:has(#network-compare-dock:not([hidden])) #requirement-launcher{bottom:calc(150px * var(--phone-scale))}
.rabtone-phone body:not([data-hub=home])>footer{padding-bottom:calc(110px * var(--phone-scale))}
.rabtone-phone body #rabtone-auth-prompt{width:calc(100% - 24px * var(--phone-scale));padding:var(--phone-20);border-radius:calc(18px * var(--phone-scale))}
.rabtone-phone body #rabtone-auth-prompt h2{font-size:var(--reading-h2);margin-inline-end:calc(32px * var(--phone-scale))}
.rabtone-phone body #rabtone-auth-prompt p{font-size:var(--reading-secondary)!important}
.rabtone-phone body #rabtone-auth-prompt .auth-prompt-continue{font-size:var(--reading-body)!important;min-height:calc(50px * var(--phone-scale));padding:calc(12px * var(--phone-scale))}
.rabtone-phone body #rabtone-auth-prompt .auth-prompt-note{font-size:var(--reading-small)!important;margin-top:calc(14px * var(--phone-scale))}
.rabtone-phone body #rabtone-auth-prompt .auth-prompt-close{width:calc(40px * var(--phone-scale));height:calc(40px * var(--phone-scale));min-height:calc(40px * var(--phone-scale));font-size:calc(25px * var(--phone-scale))}
.rabtone-phone body #talent-page .career-start-card{padding:0;gap:0}
.rabtone-phone body #talent-page .career-start-content{padding:var(--phone-20);gap:calc(13px * var(--phone-scale))}
.rabtone-phone body #talent-page .career-card-label{font-size:var(--reading-small);letter-spacing:calc(.8px * var(--phone-scale))}
.rabtone-phone body #talent-page .career-start-content h2{font-size:var(--reading-h3)}
.rabtone-phone body #talent-page .career-start-content p{font-size:var(--reading-secondary)!important;line-height:1.65}
@media print{body #requirement-launcher{display:none!important}}

/* Career starts directly beneath the fixed logo; no alert strip or empty header row. */
body #talent-page .career-redesign{padding-top:16px}
.rabtone-phone body #talent-page .career-redesign{padding-top:calc(12px * var(--phone-scale))}
body[data-hub=career] .network-alert-button{display:none!important}

/* Requirement detail: content first, shared across all viewport sizes. */
body .requirement-view{--ink:#193b3b;--line:#dce9e7;max-width:1120px;margin:0 auto}
body .requirement-view .master-detail-back{margin:0 0 16px;padding:0;color:#396462;font-size:15px;min-height:44px}
body .requirement-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:start}
body .requirement-content{min-width:0;border:1px solid var(--line);border-radius:22px;padding:28px;background:#fff;overflow-wrap:anywhere}
body .requirement-heading{padding-bottom:20px}
body .requirement-status-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
body .requirement-status-row .lead-status{font-size:14px;line-height:1.4;border-radius:20px;padding:6px 12px;background:#e5f4ed;color:#246045}
body .requirement-contacted,body .requirement-sample{font-size:14px;color:#5b7371}
body .requirement-view h1{font-size:32px;line-height:1.3;letter-spacing:-.7px;margin:0 0 16px;color:var(--ink);font-weight:700}
body .requirement-summary{display:grid;grid-template-columns:1.3fr 1fr;gap:16px;background:#edf6f5;border:1px solid var(--line);border-radius:14px;padding:18px;margin-bottom:20px}
body .requirement-summary small{display:block;font-size:14px;color:#526e6b;margin-bottom:6px}
body .requirement-summary strong{display:block;font-size:18px;line-height:1.5;color:var(--ink);font-weight:650}
body .requirement-budget{border-left:1px solid #cfdfdc;padding-left:16px}
body .requirement-view .detail-description{font-size:18px;line-height:1.7;color:#2e4544;white-space:pre-wrap;margin:0 0 22px}
body .requirement-view .detail-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:0 0 20px}
body .requirement-view .detail-meta>div{background:none;border:0;border-bottom:1px solid #edf0ef;border-radius:0;padding:14px 0;font-size:16px;line-height:1.5;min-width:0}
body .requirement-view .detail-meta small{display:block;color:#617572;font-size:14px;margin-bottom:5px}
body .requirement-contact{background:#f4f9f8;border:1px solid var(--line);border-radius:20px;padding:22px;position:sticky;top:110px}
body .requirement-view h2{font-size:20px;line-height:1.4;margin:0 0 16px;color:var(--ink)}
body .requirement-contact button{min-height:48px;font-size:16px}
body .requirement-report{display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:#647672;margin-top:12px}
body:has(.requirement-view) :is(#feedback-launcher,#requirement-launcher){display:none!important}
@media(max-width:1000px){body .requirement-layout{grid-template-columns:minmax(0,1fr)}body .requirement-contact{position:static}body .requirement-content{padding:22px}}
@media(max-width:650px){body #leads-page:has(.requirement-view){padding:12px 4% 32px}body .requirement-content{padding:18px;border-radius:18px}body .requirement-view h1{font-size:26px;letter-spacing:-.4px}body .requirement-layout{gap:14px}body .requirement-summary{padding:14px;gap:12px}body .requirement-summary strong{font-size:17px}body .requirement-view .detail-meta{gap:0 16px}body .requirement-view .detail-description{font-size:17px}body .requirement-contact{padding:18px}}
/* Larger inquiry text, including phones using desktop browser mode. */
body .requirement-view{--requirement-scale:1}
html.rabtone-phone body .requirement-view{--requirement-scale:var(--phone-scale,1)}
body .requirement-view h1{font-size:calc(36px * var(--requirement-scale));line-height:1.35}
body .requirement-view :is(.master-detail-back,.requirement-contacted,.requirement-sample,.requirement-report),body .requirement-view .requirement-status-row .lead-status{font-size:calc(16px * var(--requirement-scale))}
body .requirement-view .requirement-summary small,body .requirement-view .detail-meta small{font-size:calc(16px * var(--requirement-scale));color:#435e5b;line-height:1.5}
body .requirement-view .requirement-summary strong{font-size:calc(21px * var(--requirement-scale))}
body .requirement-view .detail-meta>div{font-size:calc(19px * var(--requirement-scale));line-height:1.6}
body .requirement-view .detail-description{font-size:calc(20px * var(--requirement-scale));line-height:1.7}
body .requirement-view h2{font-size:calc(23px * var(--requirement-scale))}
body .requirement-view .requirement-contact :is(button,.btn,.contact-action){font-size:calc(18px * var(--requirement-scale))!important;min-height:calc(48px * var(--requirement-scale))}
body .requirement-view .detail-file{font-size:calc(18px * var(--requirement-scale));line-height:1.6}
@media(max-width:650px){body .requirement-view h1{font-size:30px}body .requirement-view .requirement-summary{grid-template-columns:1fr}body .requirement-view .requirement-budget{border-left:0;border-top:1px solid #cfdfdc;padding:12px 0 0}}
html.rabtone-phone body .requirement-view .detail-meta>div{font-size:calc(19px * var(--requirement-scale))!important}
html.rabtone-phone body .requirement-view .detail-meta small{font-size:calc(16px * var(--requirement-scale))!important}
html.rabtone-phone body .requirement-view h1{font-size:calc(30px * var(--requirement-scale))!important}
/* Separate budget, category and requirement with readable colour panels. */
body .requirement-view .requirement-summary{grid-template-columns:minmax(0,1fr);padding:0;background:transparent;border:0;gap:14px}
body .requirement-view .requirement-location{padding:18px;background:#f1f6f5;border:1px solid #dce9e7;border-radius:14px}
body .requirement-view .requirement-budget{padding:18px;border:1px solid #c4dfd3;border-radius:14px;background:#eaf5ee;min-width:0}
body .requirement-view .requirement-budget small{color:#315b45}
body .requirement-amount{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;max-width:100%;font-variant-numeric:tabular-nums}
body .requirement-view .requirement-amount strong{font-size:calc(28px * var(--requirement-scale));font-weight:750;line-height:1.4;color:#194b33;overflow-wrap:anywhere;min-width:0}
body .requirement-view .budget-currency{font-size:calc(18px * var(--requirement-scale));font-weight:650;color:#315b45}
body .requirement-view .requirement-category{padding:16px 18px;margin-bottom:16px;border:1px solid #d8d5ed;border-radius:14px;background:#f2effb;color:#493d74}
body .requirement-view .requirement-category small{display:block;font-size:calc(16px * var(--requirement-scale));line-height:1.5;margin-bottom:6px;color:#584d7e}
body .requirement-view .requirement-category strong{display:block;font-size:calc(20px * var(--requirement-scale));line-height:1.5;font-weight:650}
body .requirement-view .requirement-category strong span{display:block;font-size:calc(18px * var(--requirement-scale));font-weight:500;margin-top:4px}
body .requirement-description-panel{padding:18px;margin-bottom:18px;background:#edf5fc;border:1px solid #ccdfef;border-radius:14px}
body .requirement-view .requirement-description-panel h2{font-size:calc(16px * var(--requirement-scale));font-weight:600;color:#345b7b;margin-bottom:8px}
body .requirement-view .requirement-description-panel .detail-description{margin:0;color:#203e57}
body .requirement-view .detail-meta{gap:12px}
body .requirement-view .detail-meta>div{padding:14px;border:1px solid #e1e8e6;border-radius:12px;background:#f7f9f8}
/* Connections: one readable feed across mobile and desktop. */
body .connection-panel{margin:24px 0;padding:22px;border:1px solid #d8e7e4;border-radius:18px;background:#f6faf9;min-width:0}
body .connection-panel>h2,body .connection-panel>h3{font-size:24px;line-height:1.4;color:#193b3b;margin:0 0 18px}
body .connection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body .connection-card{padding:20px;background:#fff;border:1px solid #d9e6e3;border-radius:15px;display:flex;flex-direction:column;gap:12px;min-width:0;overflow-wrap:anywhere}
body .connection-card h3{font-size:22px;line-height:1.4;margin:8px 0;color:#203b39}
body .connection-card p,body .connection-empty{font-size:17px;line-height:1.6;margin:8px 0;color:#435d58}
body .connection-card small{font-size:15px;line-height:1.5;color:#536c65}
body .connection-logo{width:56px;height:56px;object-fit:contain;float:right;margin:0 0 8px 12px}
body .connection-reasons{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
body .connection-reasons span{font-size:14px;line-height:1.5;padding:5px 9px;background:#edf4f1;border-radius:7px;color:#315d4a}
body .connection-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:auto}
body .connection-actions :is(a,button){min-height:44px;font-size:16px}
body .workspace-check-badges{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 10px}
body .workspace-check-badges span{padding:7px 11px;background:#e8f4ed;color:#25533b;border:1px solid #cce2d3;border-radius:8px;font-size:15px}
body .workspace-next-step{margin-top:10px}
body .workspace-renewal{display:flex;gap:16px;align-items:center;justify-content:space-between;border-top:1px solid #e4ded0;padding:16px 0}
body .workspace-renewal h3{font-size:20px;line-height:1.4;margin:0 0 6px}
body .workspace-renewal p{font-size:16px;color:#6c5733;margin:0}
body .requirement-save{margin:0 0 16px}
@media(max-width:650px){body .connection-grid{grid-template-columns:minmax(0,1fr)}body .connection-panel{padding:16px}body .connection-card{padding:16px}body .workspace-renewal{align-items:flex-start;flex-direction:column}}
html.rabtone-phone body .connection-panel{padding:calc(16px * var(--phone-scale));border-radius:calc(18px * var(--phone-scale))}
html.rabtone-phone body .connection-grid{grid-template-columns:minmax(0,1fr);gap:calc(14px * var(--phone-scale))}
html.rabtone-phone body .connection-card{padding:calc(16px * var(--phone-scale))}
html.rabtone-phone body .connection-card h3{font-size:calc(22px * var(--phone-scale))!important}
html.rabtone-phone body .connection-card :is(p,small),html.rabtone-phone body .connection-empty{font-size:calc(17px * var(--phone-scale))!important}
html.rabtone-phone body .connection-reasons span,html.rabtone-phone body .workspace-check-badges span{font-size:calc(15px * var(--phone-scale))!important}
html.rabtone-phone body .connection-actions :is(a,button){font-size:calc(17px * var(--phone-scale))!important;min-height:calc(44px * var(--phone-scale))}
html.rabtone-phone body .workspace-renewal{align-items:flex-start;flex-direction:column}
html.rabtone-phone body .connection-panel>h2,html.rabtone-phone body .connection-panel>h3{font-size:calc(24px * var(--phone-scale))!important}
html.rabtone-phone body .workspace-renewal h3{font-size:calc(20px * var(--phone-scale))!important}
html.rabtone-phone body .workspace-renewal p{font-size:calc(16px * var(--phone-scale))!important}
