/* Shared visual system for client, operator and owner. */
:root,body.pw-experience,body.pw-owner{color-scheme:dark;--bg:#090909;--card:#141414;--ink:#f0eee9;--muted:#a5a29e;--line:#30302f;--accent:#e2a17c;--soft:#29201b;--success:#8cc5a8;--warn:#e5b775;--danger:#f29c9c;--shadow:none;background:#090909;color:#f0eee9}
body,.app,.main,.content,.simple-page,.pw-workspace,.pw-chat,.thread-layout,.thread-conversation,.thread-timeline,.auth-panel{background:#090909!important;color:var(--ink)!important}
h1,h2,h3,h4,label,.head,.pw-page-head,.pw-role,.pw-card-action,.field label{color:var(--ink)!important}
p,li,small{line-height:1.6}
.muted,.pw-overline,.eyebrow,.pw-role,.pw-task-preview,.pw-page-head p,.pw-section-heading p{color:var(--muted)!important}
.side,.top,.mobile,.mobile-account-menu,.thread-header,.thread-compose,.thread-actions-header,.thread-actions-footer,.auth-visual{background:#111!important;color:var(--ink)!important;border-color:var(--line)!important;box-shadow:none!important}
.side{border-right:1px solid var(--line)}
.nav a.active,.nav a:hover,.mobile a.active{background:#29211d!important;color:#f0c3a6!important}
.card,.simple-card,.simple-terms,.pw-employee,.pw-result-note,.result-card,.pw-work-card,.notice-panel,.modal-box,.help-dialog,.decision-modal,.pw-template,.pw-hire-form,.pw-hire-guide,.thread-card,.thread-brief,.thread-result,.thread-terms,.thread-menu-body,.thread-actions-panel,.scope-editor,.pw-previous-results,details,.auth-box{background:#151515!important;color:var(--ink)!important;border-color:var(--line)!important;box-shadow:none!important}
.btn{background:#242424!important;color:#e4e0db!important;border:1px solid #3b3937!important;box-shadow:none!important;border-radius:10px;min-height:44px}
.btn.primary{background:#e2a17c!important;border-color:#e2a17c!important;color:#17100c!important}
.btn.success{background:#183329!important;color:#b6e0c9!important}.btn.danger{background:#362222!important;color:#f3b3ad!important}
.link,.pw-top-link,a:not(.btn):not(.nav a):not(.pw-employee){color:#e4b18f}
input:not([type=checkbox]):not([type=radio]),textarea,select,.search,.field input,.field textarea,.field select{background:#0e0e0e!important;color:#f0eee9!important;border-color:#44403c!important;border-radius:10px}
input::placeholder,textarea::placeholder{color:#97918a!important}input:focus-visible,textarea:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #e2a17c!important;outline-offset:3px}
input[type=checkbox],input[type=radio]{accent-color:#e2a17c}
.error-text,[role=alert]{color:#f3a8a0!important}
.status,.status-pill,.phase,.badge,.role-chip,.thread-pin,.simple-progress{background:#25231f!important;color:#e8c3a4!important;border-color:#504238!important}
.status.Active,.status.Completed{background:#1a3028!important;color:#b0d7c1!important}
.message,.bubble,.chat-message,.pw-message,.thread-message,.msg{background:#202020!important;color:#eee9e2!important;border-color:#34302d!important}
.message.mine,.bubble.mine,.chat-message.mine,.pw-message.mine{background:#34261e!important}
.thread-actions-panel .scope-draft-info{background:transparent!important}.thread-followup .error-text{color:#eeb28a!important}
table,thead,th,td,.row,.stat{background:transparent!important;color:var(--ink)!important;border-color:var(--line)!important}
.pw-brand,.owner-brand-restored img{filter:grayscale(1) brightness(1.8);mix-blend-mode:screen}
.auth-visual{background:#111!important}
.auth-visual .auth-copy{color:#f3ebe3!important}.pw-public-footer{background:#090909!important;color:var(--muted)!important;border-color:var(--line)!important}
.pw-robot{background:transparent!important;border:0!important}.pw-robot img,.neo-example img{animation:neo-float 7s ease-in-out infinite;object-fit:contain}
.pw-employee{border-radius:16px!important}.pw-employee:hover{border-color:#876249!important}.pw-employees{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.neo-home{max-width:1160px;margin:0 auto;padding:24px 28px 60px}.neo-account{padding:0}.neo-top{display:flex;justify-content:space-between;align-items:center;padding-bottom:24px;border-bottom:1px solid var(--line)}
.neo-brand{color:#f0eee9!important;font-size:18px;font-weight:650;text-decoration:none}.neo-brand span{font-weight:400;color:#a9a29b}
.neo-hero{position:relative;min-height:345px;display:flex;align-items:center;isolation:isolate;overflow:hidden;margin-bottom:18px}.neo-hero>div:first-child{position:relative;z-index:2;max-width:600px;padding:35px 0}.neo-eyebrow{font-size:10px;letter-spacing:.18em;color:#b8a18f;font-weight:650}.neo-hero h1{font-size:clamp(30px,3.5vw,47px);font-weight:450;line-height:1.12;letter-spacing:-.045em;margin:22px 0}.neo-hero em{font-style:normal;color:#bd977c}.neo-hero p{max-width:425px;color:#b4ada6;font-size:15px}
.neo-illustration{position:absolute;inset:0 0 0 26%;z-index:0;mask-image:linear-gradient(90deg,transparent,#000 40%);pointer-events:none}.neo-illustration img{width:100%;height:100%;object-fit:cover;object-position:right;animation:neo-breathe 10s ease-in-out infinite}.neo-glow{position:absolute;inset:0;background:radial-gradient(ellipse at 80% 65%,#d88e3620,transparent 45%);animation:neo-light 7s ease-in-out infinite}
.neo-chat{border:1px solid #39332e;border-radius:18px;background:#131211;overflow:hidden}.neo-chat>header{padding:18px 22px;border-bottom:1px solid #2b2723;display:flex;justify-content:space-between}.neo-chat>header b{font-weight:550}.neo-chat>header p{margin:5px 0 0 18px;font-size:12px;color:#a79e94}.neo-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#dda477;margin:0 12px 2px 0}
.neo-messages{padding:22px;min-height:150px;max-height:430px;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:14px}.neo-greeting{color:#c0b6ab;max-width:640px;font-size:15px;margin:10px 0}.neo-message{max-width:85%;padding:12px 16px;border-radius:12px;background:#211f1c}.neo-message.from-client{align-self:flex-end;background:#37271d}.neo-message small{font-size:11px;color:#baa99a}.neo-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0;font-size:14px}.neo-chat-status{font-size:12px;color:#c4ad98;min-height:20px;margin:0;padding:0 22px}
.neo-compose{display:flex;align-items:flex-end;gap:12px;margin:12px 18px;padding:10px;border:1px solid #514033;border-radius:14px;background:#0e0e0e}.neo-compose textarea{border:0!important;resize:vertical;min-height:54px;max-height:220px;width:100%;padding:8px;outline-offset:0;font-size:16px}.neo-compose button{flex:0 0 46px;font-size:23px;padding:6px}.neo-chat footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 22px 18px}.neo-chat footer span{font-size:11px;color:#a99e92;max-width:570px}.neo-chat footer button{font-size:12px;white-space:nowrap}
.neo-team{margin-top:36px}.neo-section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.neo-section-heading h2{font-size:24px;font-weight:500;margin:6px 0}.neo-section-heading>span{font-size:12px;color:var(--muted)}.neo-examples{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.neo-example{display:grid;grid-template-columns:64px 1fr;gap:8px 14px;text-align:left;padding:18px;border:1px solid #34302d;border-radius:14px;background:#151413;color:#e8dfd5}.neo-example img{grid-row:span 2;width:64px}.neo-example small{color:#bba28e;font-size:11px}.neo-empty{padding:28px;color:#a9a19a;border:1px dashed #38332d;border-radius:12px}
.neo-inbox-layout{display:grid;grid-template-columns:280px 1fr;gap:20px}.neo-inbox-item{display:block;padding:16px;border:1px solid #38332d;margin-bottom:10px;border-radius:10px;text-decoration:none}.neo-inbox-item.selected{background:#33251c}.neo-inbox-item p{font-size:13px;color:#beb5aa;margin:8px 0}.neo-inbox-item span,.neo-inbox-item small{font-size:11px;display:block;color:#b5a392}.neo-older{margin:10px 20px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@keyframes neo-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.015)}}@keyframes neo-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}@keyframes neo-light{0%,100%{opacity:.45}50%{opacity:.8}}
@media(max-width:720px){.neo-home{padding:15px 16px 35px}.neo-account{padding:0}.neo-hero{min-height:300px;align-items:flex-end}.neo-hero>div:first-child{padding:105px 0 12px}.neo-hero h1{font-size:32px;margin:12px 0}.neo-hero p{font-size:13px;max-width:320px}.neo-illustration{inset:0 -20px 0 15%;mask-image:linear-gradient(180deg,#000 5%,transparent 90%);opacity:.65}.neo-chat>header{padding:16px}.neo-chat footer{display:block;padding:0 16px 16px}.neo-chat footer button{display:block;margin-top:12px;min-height:34px}.neo-messages{padding:16px;max-height:350px}.neo-message{max-width:94%}.neo-compose{margin:10px;gap:8px;padding:6px}.neo-chat-status{padding:0 16px}.neo-examples{grid-template-columns:1fr}.neo-example{grid-template-columns:48px 1fr;padding:14px}.neo-example img{width:48px}.neo-section-heading{align-items:flex-start;flex-wrap:wrap;gap:10px}.neo-section-heading h2{font-size:22px}.neo-inbox-layout{grid-template-columns:1fr}.neo-inbox-layout>nav{max-height:220px;overflow:auto}.neo-brand{font-size:15px}.neo-top .btn{padding:8px 12px}.mobile{overflow-x:auto}.neo-account .neo-hero{min-height:280px}}
@media(prefers-reduced-motion:reduce){.neo-illustration img,.neo-glow,.pw-robot img,.neo-example img{animation:none!important}*{scroll-behavior:auto!important}}
.pw-experience .thread-chat,.pw-experience .thread-chat .pw-composer,.thread-nav,.thread-order,.thread-top,.thread-chat-head,.thread-heading,.pw-experience .thread-chat .pw-chat,.thread-chat .pw-new-messages{background:#101010!important;color:#eee7df!important;border-color:#36302b!important}
.thread-entry .pw-message p,.thread-order p,.thread-pin b,.thread-entry .simple-terms p,.thread-card-details summary{color:#e3d9cf!important}.thread-entry .pw-message>b,.thread-entry .pw-message footer,.thread-pin small,.thread-entry .pw-chat-event{color:#b8a38f!important}
.thread-entry .pw-message.is-mine{background:#34261e!important}.pw-composer .pw-send{background:#dfa17b!important;color:#17100c!important}.simple-metrics strong,.simple-metrics span,.simple-metrics small{color:#e6d2be!important}
body.pw-owner .side,body.pw-owner .owner-side,body.pw-operator .side,body.pw-experience .client-side{background:#111!important;color:#e7ded5!important}
body .side .nav a,body .side small,body .side-foot .link{color:#bcb4ac!important}body .side .nav a.active{color:#f0c3a6!important;background:#30231b!important;border-color:#d6a07b!important}
body .owner-brand-restored{background:transparent!important;padding:0!important}body .owner-brand-restored img,body .pw-brand{filter:grayscale(1) brightness(2.8)!important;mix-blend-mode:screen}
body .staff-wait-summary,body .top button,.owner-client-filters button,.owner-overview .client-choice,.owner-overview summary,body .wait-row,body .response-clock,.pw-form-intro{background:#22201e!important;color:#e6c1a5!important;border-color:#504338!important}
body .wait-row.wait-red,body .response-clock.wait-red{background:#34201f!important;color:#f4b7ae!important;border-color:#79504a!important}
body .wait-row.wait-yellow,body .response-clock.wait-yellow{background:#332b1c!important;color:#eed09b!important}
body .owner-overview .client-choice.selected{background:#30231b!important;border-color:#b38763!important}
body .owner-overview small,body .owner-overview .stat span,body .owner-overview .owner-stat-label{color:#b8aea4!important}
body .owner-overview button,body .owner-overview summary{background-color:#202020!important;color:#e2d5c8!important}
body .owner-overview .client-email-status.pending{background:#3b301d!important;color:#f0d8a8!important}
body .owner-overview .client-email-status.verified{background:#183126!important;color:#b4d9bd!important}
body .simple-hire .field,body .content form>.field{background:transparent!important;border-color:#6f503b!important}
body .auth-box nav[aria-label="Презентации сервиса"]{display:none}
.pw-hire-guide img,.pw-template img{animation:neo-float 7s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.pw-hire-guide img,.pw-template img{animation:none!important}}
body .owner-brand-restored img,body .pw-brand{filter:none!important;mix-blend-mode:normal!important;background:transparent!important;max-width:190px;height:auto}
body .thread-chat .pw-chat-heading,body .thread-chat .pw-composer,body .thread-chat .thread-nav,body .thread-chat .thread-back{background:#141414!important;border-color:#36302b!important;color:#eee1d5!important}
body .thread-chat .pw-chat-heading p,body .thread-chat .thread-pin b,body .thread-chat .thread-pin small{color:#baad9f!important}
body.pw-owner .side a.brand.owner-brand-restored{background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important}
body.pw-experience .top .btn.notification-center{background:#24211e!important;color:#dfcab7!important;border-color:#514333!important}
body .thread-actions-panel .thread-actions-heading{background:#151515!important;border-color:#37302a!important}

.consult-contact{border-top:1px solid #30343e;padding:16px;margin-top:12px;max-width:640px}.consult-contact summary{cursor:pointer;color:#c3acf5;padding:8px 0}.consult-contact p,.consult-delivery{font-size:13px;line-height:1.6;color:#a9adba}.consult-email-form{display:grid;gap:14px}.consult-email-form label{display:grid;gap:8px}.consult-email-form input[type=email]{width:100%;box-sizing:border-box;font-size:16px;min-height:46px;background:#171921;color:#eee;border:1px solid #454554;border-radius:10px;padding:12px}.consult-email-form .consult-consent{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.5}.consult-consent input{flex:0 0 20px;width:20px;height:20px;margin:0}.consult-email-form button{justify-self:start;min-height:44px}.consultation-alert{display:block;margin:8px 16px;padding:12px 16px;border:1px solid #65537f;border-radius:12px;background:#261f34;color:#e8dbff;overflow-wrap:anywhere}.consultation-alert[hidden]{display:none}.consult-email-off{min-height:44px}.consult-link-page{max-width:520px;margin:10vh auto;padding:24px;line-height:1.7}.consult-link-page h1{font-size:28px}.consult-link-page .btn{margin:8px 8px 8px 0;min-height:48px;white-space:normal}.consult-link-page p{color:#b9bbca}

/* 4.04: complete surfaces override legacy role themes at their specificity. */
body.pw-experience,body.pw-owner,body.pw-operator{--ink:#f3f0ec;--muted:#b0aba5;--line:#353331;--accent:#e7b48c;--soft:#29231e;font-family:Inter,Arial,sans-serif}
body.pw-experience .pw-employee,body.pw-experience .pw-employee.pw-complete,body.pw-experience .template-card,body.pw-experience .pw-template-tools,body.pw-experience .simple-card,body.pw-experience .pw-hire-guide,body .custom-work,body .content-block,body .brief-block,body .work-section,body .task-box,body .queue-card,body .support-ticket,body .client-module,body .employee-summary{background:#161615!important;color:#f3f0ec!important;border:1px solid #353331!important;box-shadow:none!important}
body.pw-experience .pw-employee{padding:24px;display:flex;flex-direction:column;gap:6px;min-height:230px}
body.pw-experience .pw-employees{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:20px}
body.pw-experience .pw-employee>*{grid-area:auto!important}body.pw-experience .pw-employee h3{margin:12px 0 0;font-size:23px}body.pw-experience .pw-employee .pw-employee-top{display:flex;justify-content:space-between;align-items:center;width:100%}body.pw-experience .pw-employee .pw-card-action{border:0;border-top:1px solid #353331;padding:16px 0 0;margin-top:auto;width:100%;color:#e7b48c!important}body.pw-experience .pw-task-preview{font-size:14px;color:#b6b0a9!important}
body.pw-experience .template-image{background:#1d1c1a!important;height:108px;display:flex;align-items:center;justify-content:flex-start;padding:20px 24px}body.pw-experience .template-image img{width:68px;height:68px;object-fit:contain}body.pw-experience .template-card:hover{transform:translateY(-2px);border-color:#8e7058!important}body.pw-experience .template-copy p,body.pw-experience .template-copy small{color:#b6b0a9!important}body.pw-experience .template-copy b{color:#e7b48c!important}body.pw-experience .template-copy{padding:22px 24px}body.pw-experience .template-copy h3{font-size:19px;line-height:1.35}
body.pw-experience .pw-template-tools{padding:24px;border-radius:16px}body .template-filter,body .template-clear{background:#242321!important;color:#c6c0b8!important;border:1px solid #44403b!important}body .template-filter[aria-pressed=true]{background:#e7b48c!important;color:#191612!important;border-color:#e7b48c!important}body .template-tag{background:#332a22!important;color:#f1c9a9!important}
body .simple-progress,body .pw-progress,body .pw-steps,body .status-context,body .section-explain,body .simple-notice,body .notice-panel,body .pw-working,body .rate-hint,body .notification-option,body .alert-item,body .queued-file,body .file,body .pw-next-banner,body .pw-acceptance{background:#24211e!important;color:#dfc9b5!important;border-color:#494037!important}body .simple-progress p,body .simple-progress b,body .simple-progress small,body .pw-working p{color:#dfc9b5!important}
body .brand,body .side>.brand,body .auth-box>.brand,body .owner-brand-restored{background-image:none!important;background-color:transparent!important;min-height:48px}body .brand:before,body .brand:after{display:none!important}body .brand>.pocket-mark,body .brand>span{display:none!important}body .brand img.pw-brand,body .owner-brand-restored img{display:block!important;width:190px!important;height:40px!important;object-fit:contain;object-position:left}body .client-splash img{width:230px}
body .auth-visual{display:none!important}body .auth,body .auth.auth-focused{display:flex;min-height:100dvh;justify-content:center;align-items:center;background:#0c0c0c!important;padding:40px 20px}body .auth-panel{width:100%;max-width:490px;padding:0!important;min-height:0;display:block;background:transparent!important}body .auth-box{max-width:none;width:100%;padding:32px;border:1px solid #34312e;border-radius:20px}body .auth-box .brand{margin:0 0 28px!important}body .auth-box h1{font-size:30px!important;margin:30px 0 10px}body .auth-box>p{color:#b6b0a9!important}body .auth-box .field{margin:20px 0}body .auth-box .field label{font-size:14px}body .auth .auth-copy{display:none}
body .top:before{color:#b0aba5!important}body.pw-experience .btn.primary{background:#e7b48c!important;color:#191511!important;border-color:#e7b48c!important}body .btn:hover{filter:brightness(1.12)}body .top .notification-center{margin-left:auto;margin-right:0!important}body .pw-top-link{display:none!important}
.team-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0 32px}.team-heading h1{font-size:34px;margin:10px 0}.team-heading p,.team-empty p{color:#b6b0a9}.team-empty{max-width:600px;border:1px solid #353331;border-radius:20px;padding:36px;background:#151514}.team-empty .link{display:block;margin-top:22px}.neo-account{max-width:1240px}.neo-account .neo-team{margin-top:0}
body .neo-chat{border:0;border-top:1px solid #35302b;border-bottom:1px solid #35302b;border-radius:0;background:transparent;overflow:visible}body .neo-chat>header{padding-left:0;padding-right:0}body .neo-messages{padding-left:0;padding-right:0;min-height:190px}body .neo-compose{margin-left:0;margin-right:0;background:#191816}body .neo-chat footer{padding-left:0;padding-right:0}.neo-brand{display:flex;align-items:center;gap:12px}.neo-brand:before{content:'';display:block;background:url('/client/icon.svg?v=402') center/contain no-repeat;width:32px;height:32px}
body .consult-review .modal-box{width:min(600px,100%);padding:28px}.consult-review textarea{width:100%;margin-top:12px;line-height:1.65}.consultation-origin{margin:14px 18px;padding:16px;border:1px solid #3b3630;border-radius:12px}.consultation-origin summary{cursor:pointer;color:#dfb794}.consultation-origin article{border-top:1px solid #35312d;padding-top:14px;margin-top:14px}.consultation-origin p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.consultation-origin[open]{max-height:420px;overflow:auto}
body .pw-hire-guide img{width:80px;height:80px;margin:8px 0 18px}.pw-robot img{width:56px;height:56px}body .pw-hire-guide{padding:28px!important}body .pw-template-tools .field{padding:0!important;background:transparent!important}body .pw-template-filters{gap:8px}
@media(max-width:720px){body .auth,body .auth.auth-focused{padding:24px 16px;align-items:flex-start}body .auth-box{padding:24px 20px}body .auth-box h1{font-size:27px!important}.team-heading{align-items:flex-start;flex-direction:column;margin-bottom:24px}.team-heading h1{font-size:29px}.team-heading>.btn{width:100%}body.pw-experience .pw-employees{grid-template-columns:1fr}body.pw-experience .pw-employee{padding:20px}body.pw-experience .pw-templates .template-grid{grid-template-columns:1fr}.team-empty{padding:24px}body .consult-review .modal-box{padding:22px}body .neo-hero{min-height:290px}body .neo-hero p{max-width:290px}body .consult-contact{padding:16px 0}body .consultation-origin{margin:12px 0}body .pw-hire-guide{display:none}body .mobile a{font-size:11px!important}}

body .task-progress{background:#25231f!important;color:#d8c7b6!important;border:1px solid #453b31}body .task-progress p,body .task-progress b,body .task-progress small{color:#d8c7b6!important}body .pw-status{background:#292725!important;color:#ccc5bc!important}body .pw-status.pw-attention{background:#3a2c1d!important;color:#f1cca0!important}body .pw-status.pw-ready{background:#1c332b!important;color:#bae0c9!important}body .pw-hire-guide{border-radius:16px}body .auth-draft{padding:12px;border:1px solid #3b3732;border-radius:10px;margin:16px 0}body .auth-draft p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}
.resume-consultation{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #524337;border-radius:14px;padding:20px;margin-bottom:24px;background:#211c17}.resume-consultation p{font-size:13px;color:#baa999;margin:6px 0 0}@media(max-width:720px){.resume-consultation{align-items:stretch;flex-direction:column}}

body.pw-experience .pw-queue-toolbar{background:#181716!important;color:#eee5da!important;border:1px solid #393530!important}body.pw-experience .pw-queue-tabs button{background:#25221f!important;color:#bcb4ac!important}body .template-image>span{background:#332b23!important;color:#e5bc9b!important;border:1px solid #524237}body .template-copy b{border-color:#403a35!important}body .template-copy b span{color:#dfb391!important}body #template-count,body .wait-muted,body .pw-queue-toolbar small{color:#b3aaa0!important}
/* 4.04: quiet guest entry, useful composer and a focused mobile staff inbox. */
.neo-hero .neo-illustration img{animation:none;object-fit:cover;object-position:right}
.neo-illustration .neo-animation{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right}
.neo-hero.animation-ready .neo-illustration img{visibility:hidden}
.neo-motion{position:absolute;right:12px;bottom:12px;z-index:3;min-width:44px;min-height:44px;border:1px solid #64503e;border-radius:50%;background:#15120dcc;color:#e5b48e;font-size:18px;cursor:pointer}
.neo-motion:disabled{opacity:.5;cursor:default}.neo-start{padding:10px 0;background:none;border:0;font:inherit;text-align:left;cursor:pointer}
body .neo-chat{padding-top:0}.neo-chat>header{align-items:center;gap:16px}.neo-chat>header p{margin:5px 0 0}.consult-connection{font-size:11px;color:#a49b90;white-space:nowrap}.consult-connection[data-state=error]{color:#efbba7}
body .neo-messages{min-height:160px;max-height:440px;scroll-behavior:auto;overflow-anchor:none}.neo-message.from-staff{background:#242320;border:1px solid #37332d}.neo-message.from-client{background:#38291f}.neo-message small{color:#baa99a}
body .neo-compose{margin-bottom:4px;align-items:flex-end}body .neo-compose textarea{resize:none;line-height:1.5;padding:10px;font-family:inherit}body .neo-compose button{width:46px;min-height:46px;flex-basis:46px}.neo-compose button:disabled{opacity:.45;cursor:default}
.consult-compose-meta{display:flex;justify-content:space-between;gap:12px;min-height:24px;padding:4px 12px 12px;font-size:11px;color:#aaa095}.consult-length{white-space:nowrap}.consult-draft-status{overflow-wrap:anywhere}
body .neo-chat footer{padding-top:16px;gap:20px;align-items:center;border-top:1px solid #302c27}body .neo-chat footer span{font-size:12px;line-height:1.6;max-width:560px}body .neo-chat footer button{font-size:13px;white-space:normal;min-height:46px}
body .consult-contact{background:transparent!important;border:0!important;border-top:1px solid #302c27!important;border-radius:0;max-width:none;padding:14px 0;margin:0}.consult-contact summary{color:#e4b18f;min-height:44px;display:list-item;box-sizing:border-box}.consult-contact p{color:#b4a99e}.consult-email-form{max-width:520px}.consult-retention{font-size:11px;color:#9b9287;margin:8px 0 18px}.consult-new{display:block;margin:4px auto 12px;min-height:44px;border:1px solid #70533d;border-radius:24px;padding:8px 18px;background:#30251c}.consult-new[hidden]{display:none}
.neo-inbox{max-width:1400px;margin:auto}.consult-inbox-head{display:flex;justify-content:space-between;gap:18px;align-items:center}.consult-inbox-head h1{margin:8px 0}.consult-inbox-head p{max-width:680px;font-size:13px}.consult-live-count{white-space:nowrap;font-size:13px;color:#d9b493}
.neo-inbox-layout{grid-template-columns:minmax(230px,290px) minmax(0,1fr);align-items:start}.neo-inbox-layout>nav{max-height:calc(100dvh - 220px);overflow:auto;padding-right:8px;overscroll-behavior:contain}.neo-inbox-item{background:#151413;border-color:#353029}.neo-inbox-item.selected{border-color:#bc8761;background:#29221c}.neo-inbox-item .consult-waiting{color:#edc199}.neo-inbox-item b{color:#ece3d9;font-size:14px}.neo-inbox-item p{overflow-wrap:anywhere}.consult-back{display:none}.consult-delivery{font-size:12px;color:#b6aa9a;padding:0;margin:5px 0 8px}.neo-inbox .neo-chat header{padding-top:12px}.neo-inbox .neo-messages{height:clamp(240px,42dvh,520px);max-height:520px}.neo-inbox .consult-retention{border-top:1px solid #312b25;padding-top:12px}.consultation-alert{background:#29221b;border-color:#64503b;color:#e6c5a7}
@media(max-width:720px){
 .neo-home{padding-top:12px}.neo-top{padding-bottom:12px}body .neo-hero{min-height:0;display:flex;flex-direction:column;align-items:stretch;padding-top:190px;margin-bottom:12px}body .neo-hero>div:first-child{padding:0 0 12px;max-width:none}body .neo-hero h1{font-size:32px;margin:10px 0 12px}body .neo-hero p{font-size:14px;max-width:none;margin:0}body .neo-hero .neo-illustration{inset:0 -16px auto -16px;height:220px;opacity:1;mask-image:linear-gradient(180deg,#000 65%,transparent)}.neo-hero .neo-illustration img,.neo-hero .neo-animation{object-fit:cover;object-position:right}.neo-motion{top:142px;bottom:auto;right:0}.neo-start{display:none}
 .neo-chat>header{align-items:flex-start;flex-direction:column;gap:6px;padding:16px 0}.neo-chat>header b{font-size:16px}.consult-connection{font-size:11px}.neo-chat>header p{font-size:12px}body .neo-messages{min-height:120px;max-height:48dvh;padding:16px 0}.neo-message{max-width:92%;padding:10px 12px}.neo-message p{font-size:15px;line-height:1.55}body .neo-chat-status{padding:0;font-size:12px}body .neo-chat footer{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding-bottom:12px}body .neo-chat footer button{margin:0;width:100%}.consult-compose-meta{padding-left:4px;padding-right:4px}.consult-retention{line-height:1.6}
 .neo-inbox-layout{display:block}.neo-inbox-layout>nav{max-height:none;padding:0}.neo-inbox.has-selection .neo-inbox-layout>nav,.neo-inbox.has-selection .consult-inbox-head{display:none}.neo-inbox:not(.has-selection) #consult-staff{display:none}.consult-back{display:inline-flex;min-height:44px;align-items:center;font-size:13px}.neo-inbox .neo-messages{height:40dvh;min-height:140px;max-height:400px}.neo-inbox .neo-chat>header{padding-top:6px}.consult-inbox-head{align-items:flex-start;flex-direction:column;gap:4px;margin-bottom:18px}.neo-inbox .consult-retention{font-size:11px}.neo-inbox .neo-compose{position:sticky;bottom:calc(66px + env(safe-area-inset-bottom));z-index:2}
}
@media(prefers-reduced-motion:reduce){.neo-animation{display:none!important}.neo-hero.animation-ready .neo-illustration img{visibility:visible}}
/* Once a conversation exists, keep it ahead of the introduction on a phone. */
@media(max-width:720px){body .neo-home.has-conversation .neo-hero{min-height:130px;padding:0;justify-content:center;margin-bottom:0}body .neo-home.has-conversation .neo-hero>div:first-child{padding:12px 0;width:62%}body .neo-home.has-conversation .neo-hero h1{font-size:23px;margin:6px 0}body .neo-home.has-conversation .neo-hero p,body .neo-home.has-conversation .neo-eyebrow{display:none}body .neo-home.has-conversation .neo-illustration{height:140px;left:15%;mask-image:linear-gradient(90deg,transparent,#000 55%)}body .neo-home.has-conversation .neo-motion{top:auto;bottom:8px;width:36px;height:36px;min-width:36px;min-height:36px}}
@media(max-width:720px){body .neo-inbox .neo-compose{position:static}.pw-operator .mobile>a[href^="#/consultations"],.pw-owner .mobile>a[href^="#/consultations"]{font-size:10px!important}.consult-review .modal-box{max-height:88dvh}}
.neo-hero .neo-illustration img,.neo-hero .neo-animation{object-fit:contain;object-position:right center}
@media(max-width:720px){.neo-hero .neo-illustration img,.neo-hero .neo-animation{object-fit:cover;object-position:right top}}
.consult-view-tabs{display:flex;gap:10px;margin:0 0 20px}.consult-view-tabs a{min-width:110px}.consult-manage{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #35302b}.consult-archive-label{font-size:12px;color:#b9aa9a}.consult-manage button{font-size:12px;white-space:normal}.neo-chat.is-archived .neo-compose{opacity:.65}.neo-chat.is-archived .neo-compose textarea{cursor:default}
@media(max-width:720px){.consult-view-tabs{gap:8px;margin-bottom:12px}.consult-view-tabs a{flex:1;min-width:0}.neo-inbox.has-selection .consult-view-tabs{display:none}.consult-manage{align-items:flex-start;flex-direction:column;padding:12px 0}.consult-manage button{width:100%;min-height:44px}.neo-inbox .neo-messages{height:34dvh}}

/* 4.05: task first, one next action. */
.neo-chat .neo-compose button{width:auto;min-width:104px;flex-shrink:0;padding:12px}
@media(max-width:600px){.neo-chat .neo-compose{flex-wrap:wrap}.neo-chat .neo-compose textarea{flex-basis:100%;width:100%}.neo-chat .neo-compose button{margin-left:auto}}
body .task-entry{max-width:1000px;margin:auto;padding:0 24px 32px}
body .task-entry .neo-hero,body .task-entry.has-conversation .neo-hero{display:grid;grid-template-columns:1fr 240px;gap:24px;min-height:0;height:auto;padding:32px 0 20px;align-items:center}
body .task-entry .neo-hero h1{font-size:clamp(28px,4vw,44px);line-height:1.15;margin:12px 0}
body .task-entry .neo-hero p{font-size:17px;line-height:1.6;max-width:600px}
body .task-entry .neo-illustration,body .task-entry.has-conversation .neo-illustration{display:block;width:240px;height:120px;position:relative;inset:auto;border-radius:16px;overflow:hidden}
body .task-entry .neo-illustration img{width:100%;height:100%;object-fit:cover}
body .task-entry .neo-motion{right:8px;bottom:24px}
body .task-entry .neo-chat{margin:0;width:100%;max-width:none;padding:20px}
body .task-entry:not(.has-conversation) .neo-chat>header,body .task-entry:not(.has-conversation) .neo-messages,body .task-entry:not(.has-conversation) .consult-retention{display:none}
body .task-entry .neo-compose{display:flex;align-items:flex-end;gap:12px}
body .task-entry .neo-compose button{width:auto;min-width:110px;min-height:48px;flex-shrink:0}
body .task-entry .neo-compose textarea{min-width:0;font-size:16px}
body .task-entry.has-conversation .neo-hero{padding-top:16px;padding-bottom:12px;grid-template-columns:1fr}
body .task-entry.has-conversation .neo-hero p,body .task-entry.has-conversation .neo-illustration,body .task-entry.has-conversation .neo-motion,body .task-entry.has-conversation .neo-eyebrow{display:none}
body .task-entry.has-conversation .neo-hero h1{font-size:24px}
.consult-offer[hidden],.consult-contact[hidden]{display:none!important}
body .neo-chat .consult-offer{display:block;background:#211d19;border:1px solid #72523c;border-radius:12px;padding:16px;margin:16px 0;line-height:1.6}
.consult-offer-description{white-space:pre-wrap;overflow-wrap:anywhere;color:#f3ece5}
.consult-offer-editor{margin-top:20px;border-top:1px solid #39332e;padding:16px 0}
.consult-offer-editor summary{cursor:pointer;font-weight:600;min-height:44px;display:list-item;padding:10px 0;color:#edb58c}
.consult-offer-editor textarea{display:block;width:100%;margin:10px 0;min-height:130px;resize:vertical;font-size:16px}
.consult-offer-editor p{line-height:1.6}
@media(max-width:600px){body .task-entry{padding:0 12px 20px}body .task-entry .neo-top{padding:16px 0}body .task-entry .neo-hero{grid-template-columns:1fr;gap:0;padding:12px 0 16px}body .task-entry .neo-hero>div:first-child{grid-row:2}body .task-entry .neo-illustration{width:128px;height:64px;margin:0 0 8px auto}body .task-entry .neo-motion{top:48px;bottom:auto}body .task-entry .neo-hero p{font-size:16px;margin-bottom:0}body .task-entry .neo-chat{padding:14px}body .task-entry .neo-compose{flex-wrap:wrap}body .task-entry .neo-compose textarea{width:100%;flex-basis:100%}body .task-entry .neo-compose button{margin-left:auto}body .task-entry.has-conversation .neo-messages{height:38dvh;min-height:180px;max-height:420px}.consult-offer button,.consult-offer-editor button{width:100%;white-space:normal;min-height:48px}.simple-hire .pw-hire-guide{display:none}}

/* 4.06: text-only introduction, compact spacing, narrow-screen controls. */
body .task-entry .neo-hero,body .task-entry.has-conversation .neo-hero{display:block;padding:28px 0 16px;margin-bottom:0;min-height:0}
body .task-entry .neo-hero>div:first-child{padding:0;max-width:720px}
body .task-entry .neo-hero .neo-eyebrow{display:none}
body .task-entry .neo-hero h1{margin:0 0 12px}
body .task-entry .neo-hero p{margin:0;max-width:660px}
body .task-entry:not(.has-conversation) .neo-chat{padding:16px 0;border:0;border-radius:0}
.neo-chat-status:empty{display:none}
.neo-chat>header{gap:12px;flex-wrap:wrap}
.neo-chat>header>div{min-width:0}
.neo-chat>header p{margin-left:0}
.consult-compose-meta{gap:12px;align-items:flex-start}
.consult-draft-status{min-width:0;overflow-wrap:anywhere}
.consult-length{flex-shrink:0}
.consult-offer,.consult-offer-editor,.consult-contact{overflow-wrap:anywhere}
.consult-review .modal-box{overflow-y:auto;max-height:calc(100dvh - 32px)}
.consult-review .actions{display:flex;flex-wrap:wrap;gap:10px}
.consult-review .actions button{white-space:normal}
@media(max-width:600px){body .task-entry .neo-hero{padding:24px 0 12px}body .task-entry .neo-hero h1{font-size:28px}body .task-entry:not(.has-conversation) .neo-chat{padding:12px 0}.consult-review .actions button{width:100%;min-height:48px}.consult-contact summary{min-height:44px;padding:10px 0}.neo-chat .neo-compose{gap:10px}.neo-chat .neo-compose textarea{min-width:0}.neo-chat .neo-compose button{max-width:100%;white-space:normal}}

/* 4.07: welcome centered; conversation owns remaining viewport. */
body:has(.task-entry){height:var(--entry-height,100dvh);min-height:0;display:flex;flex-direction:column;overflow:hidden}
body:has(.task-entry)>#app{display:flex;flex:1;min-height:0}
body .task-entry{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;margin:0 auto;padding:0 24px;overflow-y:auto}
body .task-entry .neo-top{flex-shrink:0;padding:16px 0}
body .task-entry:not(.has-conversation) .neo-hero{flex-shrink:0;margin-top:auto;padding-top:24px}
body .task-entry:not(.has-conversation) .neo-chat{flex-shrink:0;margin-bottom:auto;padding-bottom:24px}
body .task-entry.has-conversation{overflow:hidden}
body .task-entry.has-conversation .neo-hero{display:none}
body .task-entry.has-conversation .neo-chat{position:relative;display:flex;flex-direction:column;flex:1;min-height:0;padding:0;border:0;overflow:visible}
body .task-entry.has-conversation .neo-chat>header{flex-shrink:0;padding:10px 0;flex-direction:row;align-items:center}
body .task-entry.has-conversation .neo-chat>header p{display:none}
body .task-entry.has-conversation .neo-messages{flex:1;min-height:0;height:auto;max-height:none;padding:16px 0;overflow-y:auto}
body .task-entry.has-conversation .neo-messages>*{flex-shrink:0}
body .task-entry.has-conversation .neo-compose{flex-shrink:0;margin:8px 0 0;flex-wrap:nowrap}
body .task-entry.has-conversation .neo-compose textarea{flex:1;min-width:0;width:auto;max-height:min(180px,25dvh)}
body .task-entry.has-conversation .neo-compose button{flex:0 0 auto;min-width:92px;font-size:13px}
body .task-entry.has-conversation .consult-compose-meta{flex-shrink:0;margin:0;padding:4px 2px}
body .task-entry.has-conversation .consult-retention{display:none}
body .task-entry.has-conversation .neo-chat-status{flex-shrink:0;padding:4px 0;margin:0}
body .task-entry.has-conversation .consult-contact{flex-shrink:0;margin:0;border:0;background:transparent!important}
body .task-entry.has-conversation .consult-contact summary{padding:4px 0;min-height:30px;font-size:12px}
body .task-entry.has-conversation .consult-contact[open]{position:absolute;bottom:110px;left:0;right:0;z-index:8;max-height:60%;overflow:auto;padding:14px;background:#171717!important;border:1px solid #66503e;border-radius:12px;box-shadow:0 0 0 100vmax #0005!important}
body .task-entry .consult-offer{margin:8px 0;max-width:100%;flex-shrink:0}
body:has(.task-entry)>.pw-public-footer{flex-shrink:0;margin:0!important;padding:10px 16px!important;width:100%;font-size:11px}
body:has(.task-entry.has-conversation)>.pw-public-footer{padding:5px 12px!important;font-size:10px}
body:has(.task-entry.has-conversation)>.pw-public-footer>span{display:none}
body:has(.task-entry.has-conversation)>.pw-public-footer>button{font-size:10px;padding:2px;min-height:20px}
@media(max-width:600px){body .task-entry{padding:0 12px}body .task-entry .neo-top{padding:10px 0}body .task-entry.has-conversation .neo-compose{gap:6px}body .task-entry.has-conversation .neo-compose button{min-width:76px;padding:8px;font-size:12px}body .task-entry.has-conversation .neo-compose textarea{padding:8px}body .task-entry.has-conversation .neo-chat>header{padding:8px 0;gap:8px}body .task-entry:not(.has-conversation) .neo-hero{padding-top:20px}body:has(.task-entry)>.pw-public-footer{padding-bottom:max(8px,env(safe-area-inset-bottom))!important}}
@media(max-height:500px){body .task-entry.has-conversation .neo-chat>header,body:has(.task-entry.has-conversation)>.pw-public-footer,body .task-entry.has-conversation .consult-compose-meta{display:none}body .task-entry .neo-top{padding:4px 0}body .task-entry.has-conversation .neo-chat-status{font-size:11px;line-height:1.2}}

/* Confirmation surfaces must share the dark palette, including inherited experience styles. */
.decision-modal{background:#000b!important}
.decision-modal .decision-card{box-sizing:border-box;min-width:0;width:100%;background:#181818!important;color:#f0eee9!important;border-color:#48443f!important;max-height:calc(100dvh - 36px);overflow-wrap:anywhere}
.decision-modal .decision-card>p{color:#c7c2bb!important}
.decision-modal .decision-details,.decision-modal .decision-consent{background:#24211f!important;color:#f0eee9!important;border-color:#514a43!important}
.decision-modal .decision-details p,.decision-modal .decision-consent span{color:#f0eee9!important}
.decision-modal .decision-mark{color:#e2a17c;border-color:#e2a17c}
.decision-modal .decision-mark.danger{color:#f29c9c;border-color:#f29c9c}
body .decision-modal .btn.decision-confirm:disabled{opacity:1;background:#38332f!important;border-color:#62564b!important;color:#bfb6ac!important;cursor:not-allowed}
@media(max-width:720px){.decision-modal .decision-card{padding:22px 17px}.decision-modal .decision-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important}.decision-modal .decision-actions .btn{font-size:14px;min-height:46px}}

/* Consistent dark surfaces for support, client conversations and company mail. */
body .support-list-item,body .cc-inbox,body .cc-detail,body .cm-letter-card,body .cm-empty,body .cm-modal-card{background:#181817;color:#f0ece6;border-color:#48433e;box-shadow:none}
body .support-list-item:hover,body .cc-client:hover,body .cm-letter-card:hover{background:#24211e;border-color:#94745b}
body .support-list-item.selected,body .cc-client.selected{background:#30251e;border-color:#dba77f;box-shadow:inset 3px 0 #dba77f}
body .support-list-item b,body .cc-client-heading b,body .cm-subject{color:#edba94}
body .support-bubble,body .cc-message{background:#242423;color:#f0ece6;border:1px solid #48443e}
body .support-bubble.staff,body .cc-message-staff{background:#30271f;color:#f0ece6;border-color:#67503c}
body .support-list-item small,body .support-state,body .support-bubble b,body .support-bubble small,
body .cc-page-header p,body .cc-list-status,body .cc-client-email,body .cc-client-meta,body .cc-client-preview,body .cc-pagination span,body .cc-list-empty,body .cc-loading,body .cc-select-empty p,body .cc-chat-header p,body .cc-person-meta,body .cc-chat-empty,body .cc-chat-empty span,body .cc-drafts>span,body .cc-draft-note,body .cc-compose-bottom small,
body .cm-head p,body .cm-recipient,body .cm-letter-meta,body .cm-empty p,body .cm-title-meta,body .cm-file small,body .cm-history article small,body .cm-preview-address dt,body .cm-import-letters small{color:#bdb5ab}
body .cc-search-area,body .cc-client,body .cc-chat-header,body .cc-pagination,body .cc-compose-form{border-color:#48433e}
body .cc-pagination,body .cm-editor-toolbar{background:#20201e;border-color:#48433e}
body .cc-filters button,body .cc-pagination button,body .cc-history,body .cc-new,body .cc-drafts button,body .cm-editor-toolbar button{background:#272522;color:#e8c0a1;border-color:#65513f}
body .cc-filters button.active,body .cc-select-symbol,body .cm-editor-toolbar button:hover{background:#3a2c22;color:#f2c5a2;border-color:#dba77f}
body .cc-unread{background:#e8b38b;color:#211b16}
body .cc-back,body .cm-rich-editor a{color:#efba91}
body .cc-wait,body .cm-notice,body .cm-status{background:#2b2926;color:#d5c8b9;border-color:#62584a}
body .cc-wait-yellow,body .cm-warning,body .cm-status-ReviewRequired{background:#382f1d;color:#efd092;border-color:#8f7540}
body .cc-wait-red,body .cm-status-Error,body .cm-import-errors{background:#3b2325;color:#f3b0b4;border-color:#93575d}
body .cm-status-Sent{background:#20372e;color:#a9dcc1}
body .cm-status-Sending{background:#243341;color:#b5d6f0}
body .cc-list-error,body .cc-chat-error,body .cc-send-error{color:#f3b0b4}
body .cm-unsaved{color:#efd092}
body .cm-rich-editor,body .cm-rich-editor[contenteditable=false],body .cm-email-preview{background:#20201f;color:#f0ece6;border-color:#48433e;color-scheme:dark}
body .cm-rich-editor:focus,body .cc-compose-form textarea:focus{border-color:#e8b38b;outline-color:#e8b38b}
body .support-list-item:focus-visible,body .cc-client:focus-visible,body .cm-letter-card:focus-visible,body .cc-filters button:focus-visible{outline:2px solid #e8b38b;outline-offset:2px}

/* Remaining staff, owner and profile surfaces: dark backgrounds with readable state colours. */
body .profile-avatar,body .ready,body .ledger-kind,body .meter{background:#302a24;color:#edba94;border-color:#65513f}
body .op-label{color:#edba94}
body .wait-row small,body .ops-metrics span,body .client-choice>span:not(.client-choice-head):not(.client-wallet),body .ops-clear p{color:#bdb5ab}
body .positive{color:#a9dcc1}body .negative{color:#f3b0b4}
body .transfer-panel>.section-title,body .transfer-row,body .split>.card:not(.radar)>h2,body .owner-payments summary{background:#20201e;color:#f0ece6;border-color:#48433e}
body .security-note,body .wait-connection{background:#382f1d;color:#efd092;border-color:#8f7540}
body .wait-yellow{background:#382f1d!important;color:#efd092!important;border-color:#8f7540!important}
body .wait-red{background:#3b2325!important;color:#f3b0b4!important;border-color:#93575d!important}
body .ops-clear>span{background:#20372e;color:#a9dcc1}
body.pw-owner .owner-overview .owner-client-filters button>span,body.pw-owner .owner-overview .owner-client-filters button.active>span{background:#302a24;color:#edba94}
body .pw-manager-chat{--pw-manager-ink:#f0ece6;--pw-manager-muted:#bdb5ab;--pw-manager-green:#edba94;color:#f0ece6}
body .pw-manager-dialog,body .pw-manager-preview,body .pw-manager-compose{background:#181817;color:#f0ece6;border-color:#48433e}
body .pw-manager-head,body .pw-manager-message{background:#242423;color:#f0ece6;border-color:#48433e}
body .pw-manager-message.from-user{background:#30271f;color:#f0ece6}
body .pw-manager-badge,body .pw-manager-preview-close,body .pw-manager-close,body .pw-manager-avatar,body .pw-manager-older{background:#302a24;color:#edba94;border-color:#65513f}
body .pw-manager-launcher{background:#e2a17c;color:#211b16}body .pw-manager-launcher:hover{background:#edba94}
body .pw-manager-head p,body .pw-manager-message>b,body .pw-manager-message>small,body .pw-manager-empty,body .pw-manager-empty>b,body .pw-manager-receipt{color:#bdb5ab}
body .custom-work p{color:#bdb5ab}
body .notice-panel small{color:#bdb5ab}
body .ready{background:#302a24!important;color:#edba94!important}body .notice-panel small,body .live-label{color:#bdb5ab!important}
/* Keep the task actions return control in the shared dark palette. */
body .thread-actions-close{background:#272522;color:#edba94;border-color:#65513f}body .thread-actions-close:hover{background:#3a2c22;color:#f2c5a2}

/* Compact consultation composer and optional task examples. */
body .neo-chat .neo-compose{display:flex;align-items:flex-end;flex-wrap:nowrap!important;gap:8px;padding:8px;border-radius:18px}
body .neo-chat .neo-compose textarea{flex:1 1 0!important;width:0!important;min-width:0;min-height:56px;padding:10px;background:transparent!important;border:0!important;box-shadow:none!important;resize:none}
body .neo-chat .neo-compose button{flex:0 0 44px;min-width:44px!important;width:44px;min-height:44px;height:44px;padding:0!important;margin:0;border-radius:13px;font-size:24px!important}
body .neo-chat .neo-compose:focus-within{border-color:#dba77f;box-shadow:0 0 0 2px #dba77f20!important}
body .consult-examples{display:none}
body .task-entry:not(.has-conversation) .consult-examples{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
body .consult-examples button{min-height:40px;padding:8px 12px;border:1px solid #48433e;border-radius:20px;background:#181817;color:#cfc4b8;font:inherit;font-size:12px;cursor:pointer}
body .consult-examples button:hover{background:#30251e;border-color:#94745b;color:#edba94}
body .consult-examples button:focus-visible{outline:2px solid #edba94;outline-offset:3px}
@keyframes consult-message-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){.consult-message-enter{animation:consult-message-in 180ms ease-out both}}
@media(prefers-reduced-motion:reduce){.consult-message-enter{animation:none!important}}
body .neo-chat .neo-compose textarea:focus{outline:none!important}

body .journey-panel{margin-bottom:24px}body .journey-panel p,body .journey-panel small{color:#bdb5ab}body .journey-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}body .journey-grid>div{display:grid;gap:8px;padding:14px;border:1px solid #48433e;border-radius:12px;background:#20201e;min-width:0}body .journey-grid strong{font-size:26px;color:#edba94}body .journey-grid small{font-size:11px}@media(max-width:720px){body .journey-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body .journey-grid>div{padding:10px}body .journey-grid span{font-size:12px}}

/* Shared type rhythm and controls, preserving navigation and component order. */
body.pw-experience,body.pw-owner{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.5}
body .ops-section-head h1,body .consult-inbox-head h1,body .team-heading h1{font-size:30px;line-height:1.2;letter-spacing:-.025em;margin:4px 0 8px;font-weight:650}
body .ops-section-head h2,body .journey-panel h2{font-size:21px;line-height:1.3;letter-spacing:-.015em}
body .ops-section-head{gap:16px;margin-bottom:18px}
body .ops-section-head p,body .consult-inbox-head p,body .team-heading p{font-size:14px;line-height:1.6}
body .btn{font-family:inherit;font-size:14px;font-weight:600;line-height:1.3;min-height:44px;border-radius:11px;padding:10px 16px;white-space:normal}
body .btn:not(.primary):not(.danger){color:#e4ded6!important;background:#252422!important;border-color:#514b44!important}
body .btn:focus-visible,body .thread-actions-toggle:focus-visible{outline:2px solid #edba94;outline-offset:3px}
body .btn:disabled{cursor:not-allowed}
body .neo-message p,body .support-bubble p,body .cc-message p{font-size:15px;line-height:1.6}
body .neo-message small,body .support-bubble small,body .support-bubble b{font-size:12px;line-height:1.4}
body .neo-chat-status{font-size:14px;line-height:1.5;color:#cfc4b8}
body .consult-connection,body .consult-compose-meta{font-size:12px;line-height:1.4}
body .task-entry .consult-contact summary{font-size:13px;line-height:1.5}
body .ops-metrics{gap:12px;margin-bottom:18px}
body .ops-metrics .card{padding:18px!important;gap:6px}
body .ops-metrics b{font-size:27px}
body .ops-metrics small,body .journey-grid small{font-size:12px;line-height:1.45}
body .journey-grid{gap:10px;margin:14px 0}
body .journey-grid>div{padding:12px;gap:6px}
body .wait-board{padding:20px!important}
body .neo-empty{padding:24px!important;min-height:0}
body .consult-view-tabs{margin-bottom:18px}
@media(max-width:720px){
 body .ops-section-head h1,body .consult-inbox-head h1,body .team-heading h1{font-size:26px;line-height:1.2}
 body .ops-section-head h2,body .journey-panel h2{font-size:20px}
 body .ops-section-head{margin-bottom:16px;gap:12px}
 body .ops-metrics .card{padding:14px!important}
 body .ops-metrics b{font-size:24px}
 body .wait-board{padding:16px!important}
 body .journey-panel{padding:16px!important}
 body .journey-panel p{font-size:14px;line-height:1.6}
 body .journey-grid>div{padding:10px}
 body .journey-grid span{font-size:13px;line-height:1.4}
 body .journey-grid strong{font-size:24px}
 body .neo-chat .neo-compose textarea,body .thread-composer textarea,body .support-conversation textarea{font-size:16px;line-height:1.5}
 body .thread-actions-toggle,body .thread-actions-close{min-height:44px;font-size:13px}
 body .consult-inbox-head{padding-top:8px}
 body .neo-inbox>.consult-inbox-head p{margin:8px 0 0}
}
body .pw-page-head{margin-bottom:20px!important;gap:14px}
body .pw-page-head h1{font-size:30px!important;line-height:1.2;letter-spacing:-.025em;margin:4px 0 10px!important;font-weight:650}
body .pw-page-head p{font-size:14px;line-height:1.6;margin:0 0 10px}
@media(max-width:720px){body .pw-page-head h1{font-size:26px!important}body .pw-page-head{margin-bottom:16px!important}body .ops-clear{padding:10px 0;gap:10px}body .ops-clear p{font-size:13px}body .wait-board h2{font-size:20px!important;line-height:1.3}}

/* Fixed confirmation controls; only the content scrolls. */
.decision-modal{box-sizing:border-box;bottom:auto;height:100dvh}
.decision-modal .decision-card{display:flex;flex-direction:column;max-height:100%;overflow:hidden;padding:0}
.decision-modal .decision-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px 24px 0;scrollbar-gutter:stable}
.decision-modal .decision-body>p{font-size:14px;line-height:1.55;margin:0 0 18px;color:#c7c2bb}
.decision-modal .decision-actions{flex:none;margin:0;padding:16px 24px;background:#181818;border-top:1px solid #48443f}
.decision-modal .decision-body .decision-consent{margin-bottom:16px}
@media(max-width:720px){.decision-modal .decision-body{padding:20px 17px 0}.decision-modal .decision-actions{padding:12px 17px;padding-bottom:max(12px,env(safe-area-inset-bottom))}}

.thread-pin .thread-next-hint{color:#c9c1b8;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
@media(max-width:720px){.thread-pin>#thread-action{max-width:45%;white-space:normal;min-height:44px}.thread-pin>.btn#next-task{font-size:12px}.thread-pin .thread-next-hint{font-size:12px}}
