/* Brand entry point */
.chat-launcher{position:fixed;z-index:45;right:22px;bottom:max(22px,env(safe-area-inset-bottom));display:grid;place-items:center;width:64px;height:64px;min-height:0;padding:0;color:var(--glow-wordmark-color,#c7fb0f);background:#080b08ed;border:1px solid currentColor;border-radius:50%;box-shadow:0 8px 28px #0007;text-decoration:none;backdrop-filter:blur(12px);touch-action:manipulation;transition:background .2s ease,box-shadow .2s ease}
.chat-launcher svg{display:block;width:29px;height:29px}.chat-launcher:hover{background:#1c2613;box-shadow:0 8px 28px #0007,0 0 18px #c7fb0f20}.chat-launcher:focus-visible{outline:2px solid currentColor;outline-offset:5px}

/* A dedicated messenger viewport keeps the composer within reach. */
body[data-page=consult] .reviewbar,body[data-page=consultations] .reviewbar{display:none}
body[data-page=consult]{overflow:hidden;background:#050605}
.chat-app{--chat-accent:var(--glow-wordmark-color,#c7fb0f);--lime:var(--chat-accent);--chat-line:#ffffff13;--chat-muted:#90978c;--chat-black:#090b09;max-width:none;font-family:Arial,'Apple SD Gothic Neo',sans-serif}
.chat-messenger{position:fixed;inset:var(--chat-top,0px) 0 auto;height:var(--chat-height,100dvh);min-height:0;padding:20px;display:flex;justify-content:center;background:#050605}
.chat-window{width:100%;max-width:840px;min-width:0;height:100%;display:flex;flex-direction:column;overflow:hidden;background:var(--chat-black);border:1px solid #272b23;border-radius:22px;box-shadow:none}
.chat-app svg{width:22px;height:22px;flex:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.chat-app .chat-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-height:44px;padding:11px;border:0;border-radius:50%;color:#c6cdbe;background:transparent;cursor:pointer;touch-action:manipulation}
.chat-app .chat-icon:hover{background:#c7fb0f09;color:var(--chat-accent);border:0}
.chat-app button:focus-visible,.chat-app a:focus-visible{outline:2px solid var(--chat-accent);outline-offset:3px}
.chat-app button:disabled{opacity:.4}
.messenger-header{display:flex;align-items:center;gap:8px;flex-shrink:0;min-height:76px;padding:13px 16px;background:#090b09;border-bottom:1px solid var(--chat-line)}
.messenger-heading{flex:1;min-width:0}
.chat-brand{display:flex;gap:6px;align-items:center;font-size:11px;font-weight:700;letter-spacing:.12em;color:var(--chat-accent);line-height:1.3;margin-bottom:5px}
.chat-brand svg{width:12px;height:12px;fill:currentColor;stroke-width:0}
.chat-app .messenger-heading h1{font-size:17px;font-weight:500;line-height:1.4;letter-spacing:-.035em;margin:0;color:#edf3e6;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.chat-app .chat-participants{display:flex;width:100%;align-items:center;gap:12px;flex-shrink:0;border:0;border-radius:0;min-height:48px;padding:10px 24px;color:#949c8d;background:#090b09;text-align:left;font-size:11px}
.chat-participants>span:nth-child(2){flex:1;line-height:1.5}
.chat-participants b{display:flex;align-items:center;gap:4px;font-size:10px;font-weight:400;white-space:nowrap;color:var(--chat-accent)}
.chat-participants b svg{width:12px;height:12px}
.chat-avatar-stack{display:flex;padding-left:0;flex:none}
.chat-avatar{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#13170e;border:1px solid #c7fb0f40;color:var(--chat-accent);font-size:11px;flex:none}
.chat-avatar-stack .chat-avatar{width:24px;height:24px;border-radius:50%;font-size:9px;border:1px solid #c7fb0f40;box-shadow:0 0 0 2px #090b09;margin-left:-4px}
.chat-avatar-stack .chat-avatar:first-child{margin-left:0}
.chat-pinned{display:flex;align-items:center;gap:12px;flex-shrink:0;padding:11px 24px;background:#0c1009;font-size:12px}
.chat-pinned>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;color:#a0aa91}
.chat-pinned svg{width:14px;height:14px;color:var(--chat-accent)}
.chat-stage{color:var(--chat-accent);white-space:nowrap;font-size:11px}

/* The request, approvals and progress open within the same conversation. */
.chat-app .chat-pinned{width:100%;margin:0;border:0;border-bottom:1px solid var(--chat-line);border-radius:0;text-align:left;min-height:44px;color:var(--chat-accent)}
.room-step-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;flex-shrink:0;background:#090b09;border-bottom:1px solid var(--chat-line);padding:4px 22px 14px}
.chat-app .room-step-nav button{display:flex;justify-content:center;align-items:center;min-height:44px;min-width:0;padding:8px 3px;margin:0;background:#131610;border:1px solid transparent;border-radius:9px;color:#aeb8a0;font-size:12px;font-weight:400;line-height:1.3;white-space:nowrap;transition:background .18s,color .18s}
.chat-app .room-step-nav button:hover{background:#202816;color:var(--chat-accent)}
.chat-app .room-step-nav button.is-current{color:#162009;background:var(--chat-accent);border-color:var(--chat-accent);font-weight:600}
.room-thread-card{max-width:540px;margin:18px auto 25px;padding:20px;border:1px solid #c7fb0f40;border-radius:18px;background:#11150c}
.room-thread-card>span{font-size:10px;color:var(--chat-accent)}
.chat-app .room-thread-card h2{font-size:17px;line-height:1.5;margin:8px 0 10px;letter-spacing:-.025em;color:#ecf4df}
.chat-app .room-thread-card p{font-size:12px;line-height:1.8;margin:7px 0;color:#aab89b;overflow-wrap:anywhere}
.chat-app .room-inline-link,.room-request-hint button{padding:9px 0;min-height:44px;border:0;background:none;border-radius:0;color:var(--chat-accent);font-size:12px}
.room-request-hint{text-align:center;margin:28px 0 15px}
.chat-app .room-request-hint p{font-size:11px;color:#929b87;margin:0}

.room-workflow{position:fixed;inset:0;margin:auto;width:min(560px,calc(100% - 32px));max-width:100%;max-height:calc(var(--chat-height,100dvh) - 48px);padding:0;border:1px solid #ffffff24;border-radius:22px;background:#101411;color:#edf3e9;overflow:hidden}
.room-workflow[open]{display:flex;flex-direction:column}
.room-workflow::backdrop{background:#0009;backdrop-filter:blur(3px)}
.room-panel-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 22px;border-bottom:1px solid #ffffff14;flex-shrink:0}
.room-panel-header>div>span{font-size:10px;color:#a4b396}
.chat-app .room-panel-header h2{font-size:19px;font-weight:500;line-height:1.4;letter-spacing:-.03em;margin:5px 0 0}
.room-panel-header .chat-icon{font-family:Arial,sans-serif;font-size:29px;font-weight:300;padding:0;color:#b9c4b9}
.room-panel-body{padding:26px;overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-width:thin;scrollbar-color:#374337 transparent}
.chat-app .room-panel-title{font-size:19px;line-height:1.55;letter-spacing:-.035em;font-weight:500;margin:0 0 20px}
.chat-app .room-panel-intro,.chat-app .room-helper{font-size:12px;line-height:1.8;color:#9daa9e;margin:12px 0 20px}
.room-panel-body label{display:block;font-size:13px;line-height:1.7;margin-bottom:16px;color:#d8e2d2}
.room-panel-body input:not([type=checkbox]),.room-panel-body select,.room-panel-body textarea{display:block;width:100%;min-width:0;box-sizing:border-box;padding:12px;background:#19211a;border:1px solid #ffffff24;border-radius:10px;color:#e9f0e5;font-size:16px;line-height:1.5;margin-top:7px;box-shadow:none}
.room-panel-body input[type=file]{font-size:12px;padding:10px}
.room-panel-body input[type=checkbox]{width:18px;height:18px;vertical-align:middle;accent-color:#c7fb0f;margin:0 9px 0 0}
.room-panel-body label small{font-size:10px;line-height:1.6;color:#9baa97;margin-top:6px;display:block}
.room-panel-body form>button[type=submit]{width:100%;min-height:48px;font-size:13px;line-height:1.5;border-radius:999px;margin:5px 0 0}
.room-field-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.room-field-pair label{min-width:0}
.room-document{padding:20px;border:1px solid #ffffff20;border-radius:14px;background:#ffffff02;margin-bottom:20px}
.room-document-tag{font-size:10px;color:#c3dfa1;line-height:1.6}
.chat-app .room-document h3{font-size:17px;line-height:1.6;margin:9px 0 16px;overflow-wrap:anywhere}
.chat-app .room-document p{font-size:13px;line-height:1.8;overflow-wrap:anywhere}
.room-document-data{display:grid;grid-template-columns:94px minmax(0,1fr);gap:13px 12px;margin:20px 0 0;font-size:12px;line-height:1.8}
.room-document-data dt{color:#96a68c}.room-document-data dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-app .room-total{font-size:30px!important;letter-spacing:-.04em;line-height:1.5;margin:12px 0 2px;color:#c7fb0f}
.room-proof-image{margin:18px 0}.room-proof-image img{display:block;width:100%;max-height:320px;object-fit:contain;background:#080a0c;border-radius:10px}.room-proof-image figcaption{font-size:10px;line-height:1.6;color:#8d9c87;margin-top:7px}
.room-empty,.room-waiting{padding:18px 0;font-size:13px;line-height:1.9;color:#b4c1ab}
.room-empty h3{font-size:17px;line-height:1.7;margin:0 0 12px}.room-empty button{font-size:13px;margin-top:15px}
.chat-app .room-back-chat{display:block;margin:24px auto 0;min-height:44px;background:none;border:0;color:#c4d6b4;font-size:12px;padding:10px 20px}
.room-milestones{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;list-style:none;margin:0 0 24px;padding:0}
.room-milestones li{display:flex;justify-content:space-between;gap:5px;border:1px solid #ffffff14;border-radius:10px;padding:12px 10px;color:#899783;font-size:11px;line-height:1.6}.room-milestones small{font-size:10px;white-space:nowrap}.room-milestones .done{color:#becdaf}.room-milestones .current{color:#c7fb0f;border-color:#c7fb0f80;background:#c7fb0f08}
.room-panel-body details{padding:14px 0;border-top:1px solid #ffffff18}.room-panel-body summary{font-size:12px;line-height:1.8;cursor:pointer;margin-bottom:14px}.room-panel-body .co-error:empty{display:none}.room-panel-body .co-error{font-size:12px;line-height:1.7;color:#f0ae8f}
@media(max-width:700px){.room-step-nav{padding:2px 16px 12px}.chat-app .room-step-nav button{font-size:11px;min-height:44px}.room-workflow{inset:auto 0 auto;top:calc(var(--chat-top,0px) + var(--chat-height,100dvh));transform:translateY(-100%);margin:0 auto;width:100%;max-height:calc(var(--chat-height,100dvh) - 14px);border-radius:22px 22px 0 0;border-bottom:0}.room-panel-header{padding:14px 18px}.room-panel-body{padding:22px 20px max(22px,env(safe-area-inset-bottom))}.room-document{padding:17px}.room-thread-card{padding:15px 16px}.room-document-data{grid-template-columns:85px minmax(0,1fr)}}

/* GLOW MAN green gives the product request a distinct, welcoming surface. */
.chat-app .room-workflow[data-step=request]{--request-green:var(--glow-wordmark-color,#c7fb0f);background:#101c14;border-color:#b6ed5a5c;color:#edf7e5}
.room-workflow[data-step=request] .room-panel-header{background:#c7fb0f;border-bottom:0;color:#18240b}
.room-workflow[data-step=request] .room-panel-header>div>span{color:#40571c}
.chat-app .room-workflow[data-step=request] .room-panel-header h2{color:#18240b;font-weight:600}
.chat-app .room-workflow[data-step=request] .room-panel-header .chat-icon{background:#19310e0d;border:1px solid #19310e25;color:#243911}
.chat-app .room-workflow[data-step=request] .room-panel-header .chat-icon:hover{background:#19310e1c}
.room-workflow[data-step=request] .room-panel-body{background:linear-gradient(155deg,#1d301b66 0,transparent 42%);scrollbar-color:#56783c transparent}
.chat-app .room-workflow[data-step=request] .room-panel-title{color:#d5ff78}
.chat-app .room-workflow[data-step=request] .room-panel-intro{color:#b0c99e}
.room-workflow[data-step=request] .room-panel-body label{color:#d6eac5}
.chat-app .room-workflow[data-step=request] .room-panel-body input:not([type=checkbox]),.chat-app .room-workflow[data-step=request] .room-panel-body select,.chat-app .room-workflow[data-step=request] .room-panel-body textarea{width:100%;min-width:0;max-width:100%;padding:13px 14px;background:#1b2f20;border:1px solid #6a914549;border-radius:12px;color:#f0f9e5;font-size:16px;line-height:1.5;box-shadow:none;color-scheme:dark;transition:border-color .18s,background .18s,box-shadow .18s}
.room-workflow[data-step=request] .room-panel-body :is(input,textarea)::placeholder{color:#95ac85;opacity:1}
.chat-app .room-workflow[data-step=request] .room-panel-body :is(input,select,textarea):focus{background:#233c29;border-color:var(--request-green);box-shadow:0 0 0 3px #c7fb0f17;outline:none}
.chat-app .room-workflow[data-step=request] .room-panel-body input[type=date]{-webkit-appearance:none;appearance:none;min-height:50px;height:50px;min-width:0}
.room-workflow[data-step=request] input[type=date]::-webkit-date-and-time-value{min-height:1.5em;text-align:left}
.room-workflow[data-step=request] input[type=date]::-webkit-datetime-edit{min-width:0;padding:0}
.chat-app .room-workflow[data-step=request] .room-panel-body input[type=file]{font-size:12px;padding:10px}
.room-workflow[data-step=request] input[type=file]::file-selector-button{background:#d4edb2;color:#243a15;border:0;border-radius:7px;padding:8px 10px;margin-right:10px;font:inherit;cursor:pointer}
.room-schedule{display:grid;grid-template-columns:minmax(0,1fr);gap:17px;min-width:0;margin:7px 0 24px;padding:17px;border:1px solid #a4d65c4d;border-radius:16px;background:#b1ec4908}
.room-schedule legend{padding:0 7px;color:#c7fb0f;font-size:12px;line-height:1.5;font-weight:500}
.room-workflow[data-step=request] .room-schedule label{min-width:0;margin:0}
.room-optional{display:inline-block;margin-left:5px;padding:1px 6px;border-radius:12px;background:#c7fb0f14;color:#c8deab;font-size:10px;vertical-align:middle}
.chat-app .room-schedule-note{font-size:11px;line-height:1.7;color:#aac195;margin:0}
.chat-app .room-workflow[data-step=request] .room-panel-body form>button[type=submit]{background:var(--request-green);border:1px solid var(--request-green);color:#1a280d;font-weight:600;min-height:50px;border-radius:14px;box-shadow:0 4px 20px #c7fb0f0b}
.chat-app .room-workflow[data-step=request] .room-panel-body form>button[type=submit]:hover{background:#d6ff55;border-color:#d6ff55}
.room-workflow[data-step=request] .room-document{border-color:#9ecc6140;background:#b3ef4b07}
.room-workflow[data-step=request] .room-document-tag{color:#d5f997}
.chat-app .room-workflow[data-step=request] .room-back-chat{color:#bfda9d}

/* Conversation */
.chat-thread{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:12px 28px 28px;background:#090b09;scrollbar-width:thin;scrollbar-color:#323c25 transparent;scroll-behavior:auto}
.chat-date{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;margin:15px auto 23px;padding:0;color:#89947b;font-size:10px;line-height:1.8}
.chat-date:before,.chat-date:after{content:'';height:1px;width:26px;background:#c7fb0f25}
.chat-message{display:flex;gap:9px;margin:0 0 23px;align-items:flex-start}
.chat-message>div{min-width:0;max-width:min(82%,540px)}
.chat-message header{display:flex;align-items:center;gap:8px;line-height:1.3;margin:1px 0 8px}
.chat-message header b{font-size:11px;font-weight:500;color:#c3d4aa}
.chat-message header span{font-size:9px;color:#7e8a71}
.chat-bubble{border:1px solid #c7fb0f1a;background:#151912;color:#e7efdc;border-radius:3px 16px 16px 16px;padding:13px 16px;font-size:14px;overflow-wrap:anywhere;line-height:1.65}
.chat-bubble p{margin:0;white-space:pre-wrap;word-break:normal;line-height:1.7}
.chat-bubble p+p{margin-top:12px}
.chat-message time{display:block;margin-top:6px;font-size:10px;color:#7f8c70;line-height:1.5}
.chat-message.from-customer{justify-content:flex-end}
.from-customer header{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.from-customer .chat-bubble{border:1px solid var(--chat-accent);color:#172208;background:var(--chat-accent);border-radius:16px 3px 16px 16px}
.from-customer time{text-align:right}
.chat-group-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#c7fb0f0a;border:1px solid #c7fb0f50;color:var(--chat-accent);flex:none}
.chat-group-avatar svg{width:17px;height:17px;fill:currentColor;stroke-width:0}
.chat-message.chat-greeting{display:block;width:100%;max-width:540px;margin:0 auto 26px;padding:23px;border:1px solid #c7fb0f38;border-radius:20px;background:#0e120b}
.chat-message.chat-greeting>div{width:100%;max-width:none}
.chat-greeting .chat-welcome-header{gap:10px;margin:0 0 22px}
.chat-greeting .chat-group-avatar{color:var(--chat-accent)}
.chat-welcome-author{display:flex;flex:1;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.chat-greeting .chat-welcome-author b{color:var(--chat-accent);font-size:11px;font-weight:700;letter-spacing:.09em}
.chat-greeting .chat-welcome-author span{font-size:9px;color:#94a37e}
.chat-greeting .chat-bubble{padding:0;border:0;border-radius:0;background:none;color:#b7c4a6;font-size:13px}
.chat-app .chat-greeting .chat-welcome-title{font-size:23px;font-weight:500;line-height:1.5;letter-spacing:-.04em;color:#eef6e1;margin:0 0 17px}
.chat-app .chat-welcome-action{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;min-height:48px;margin:22px 0 0;padding:13px 17px;border:1px solid var(--chat-accent);border-radius:12px;background:var(--chat-accent);color:#192408;font-size:13px;font-weight:600;line-height:1.5;text-align:left;touch-action:manipulation}
.chat-app .chat-welcome-action:hover{background:#d7ff55;border-color:#d7ff55}
.chat-welcome-action>span{font-size:19px;font-weight:400;line-height:1}
.chat-app .chat-bubble .chat-welcome-note{margin-top:14px;color:#8d9a7f;font-size:11px;line-height:1.7}
.chat-start-hint{font-size:11px;color:#8b977b;text-align:center;margin:35px 0}
.chat-event{text-align:center;font-size:11px;line-height:1.7;color:#a5ba88;margin:20px auto;max-width:85%;padding:10px 14px;border:1px solid #c7fb0f18;border-radius:10px;background:#c7fb0f04}
.chat-event time{font-size:9px;color:#7d8f66;margin-left:8px}
.chat-attachment{margin:6px 0;max-width:100%;overflow-wrap:anywhere}
.chat-attachment img{display:block;width:auto;height:auto;max-width:100%;max-height:250px;object-fit:contain;border-radius:8px;margin-bottom:8px;background:#000}
.chat-attachment>a{font-size:12px;text-decoration:underline;text-underline-offset:3px}

/* Compact, always-visible input. */
.chat-compose-wrap{flex-shrink:0;background:#090b09;border-top:1px solid var(--chat-line);padding:13px 22px max(11px,env(safe-area-inset-bottom))}
.chat-quick{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 0 12px;white-space:nowrap}
.chat-quick::-webkit-scrollbar{display:none}
.chat-app .chat-quick button{min-height:36px;padding:8px 13px;border:1px solid #c7fb0f27;border-radius:30px;color:#adb99b;background:transparent;font-size:11px;gap:12px;line-height:1.3;flex-shrink:0;font-weight:400}
.chat-quick button span{color:var(--chat-accent)}
.chat-app .chat-quick button:hover{background:#c7fb0f0b;border-color:#c7fb0f60;color:var(--chat-accent)}
.chat-compose-row{display:flex;align-items:flex-end;gap:4px;padding:5px;border:1px solid #c7fb0f3a;border-radius:28px;background:#12160e;transition:border-color .18s,box-shadow .18s}
.chat-compose-row:focus-within{border-color:var(--chat-accent);box-shadow:0 0 0 2px #c7fb0f0d}
.chat-app .chat-add{color:var(--chat-accent);height:44px;width:36px;min-height:44px;padding:9px 6px;margin:0}
.chat-compose .chat-input-label{flex:1;min-width:0;margin:0;display:block}
.chat-app .chat-compose textarea{margin:0;display:block;width:100%;background:none;color:#e8f3db;border:0;border-radius:0;font-size:16px;font-weight:400;line-height:24px;padding:10px 4px;min-height:44px;max-height:112px;resize:none;overflow-y:auto;outline:none;box-shadow:none}
.chat-app .chat-compose textarea:focus{border:0;outline:none;box-shadow:none}
.chat-compose textarea::placeholder{color:#869471;font-size:14px}
.chat-app .chat-send{width:44px;height:44px;min-height:44px;padding:11px;flex:none;align-items:center;border:1px solid var(--chat-accent);border-radius:50%;background:var(--chat-accent);color:#172208;margin:0;touch-action:manipulation}
.chat-app .chat-send:hover{background:#d7ff55;border-color:#d7ff55}
.chat-app .chat-send:disabled{background:#19220e;border-color:#c7fb0f28;color:#839d53;opacity:1}
.chat-app .chat-send svg{width:20px;height:20px;stroke-width:1.8}
.chat-app input.chat-hidden-input{display:none}
.chat-app .chat-role-label{display:flex;align-items:center;gap:12px;margin:0 0 12px;font-size:11px;color:#badc83}
.chat-compose select{width:auto;min-width:135px;margin:0;padding:7px 10px;border:1px solid #c7fb0f35;font-size:12px;border-radius:9px;background:#141c0d}
.chat-file-preview{display:flex;align-items:center;gap:8px;margin:0 0 10px;border:1px solid #c7fb0f30;border-radius:12px;padding:4px 6px 4px 10px;color:#c4d5ac;font-size:12px;min-width:0}
.chat-file-preview[hidden]{display:none}
.chat-file-preview>svg{width:17px;height:17px}
.chat-file-preview>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.chat-file-preview .chat-icon{width:34px;height:34px;min-height:34px;padding:8px}
.chat-compose-wrap .co-error{font-size:12px;line-height:1.6;margin:0 0 10px;color:#efb897}
.chat-compose-wrap .co-error:empty{display:none}
.chat-app .chat-demo-notice{text-align:center;color:#7e8b70;font-size:10px;line-height:1.5;margin:10px 0 0}
.chat-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Details open only when needed; the conversation stays in place. */
.chat-details{position:fixed;inset:0 0 0 auto;margin:0;width:min(420px,100%);max-width:100%;height:100dvh;max-height:100dvh;padding:0;border:1px solid #ffffff1a;border-right:0;border-radius:20px 0 0 20px;background:#090b09;color:#eff2eb;overflow-y:auto;overscroll-behavior:contain}
.chat-details::backdrop{background:#0009;backdrop-filter:blur(3px)}
.chat-details-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-bottom:1px solid var(--chat-line);background:#090b09f5;backdrop-filter:blur(10px)}
.chat-app .chat-details-header h2{margin:0;font-size:18px;font-weight:500;letter-spacing:-.03em}
.chat-details-body{padding:24px 22px max(30px,env(safe-area-inset-bottom))}
.chat-app .chat-details h3{font-size:12px;color:#a9b4aa;font-weight:400;letter-spacing:0;margin:0 0 15px}
.chat-people{display:grid;grid-template-columns:1fr 1fr;gap:22px 12px;margin:0 0 26px}
.chat-people>div{display:grid;grid-template-columns:34px 1fr;gap:3px 8px;align-items:center;min-width:0}
.chat-people .chat-avatar{grid-row:1/3}
.chat-people b{font-size:12px;font-weight:500;white-space:nowrap}
.chat-people small{font-size:10px;color:#8e9b91;white-space:nowrap}
.chat-mode{display:flex;border:1px solid #ffffff20;padding:4px;border-radius:24px;margin-bottom:14px}
.chat-app .chat-mode button{flex:1;border:0;min-height:36px;padding:8px;font-size:11px;color:#98a396}
.chat-app .chat-mode button[aria-pressed=true]{color:#c7fb0f;background:#c7fb0f10}
.chat-app .chat-detail-note{color:#78867c;font-size:11px;line-height:1.8;margin:0 0 24px}
.chat-sidebar{display:flex;flex-direction:column;gap:16px;min-width:0}
.chat-details .co-panel{border:1px solid #ffffff16;border-radius:14px;padding:18px;min-width:0;background:#ffffff02}
.chat-details .co-panel h2{font-size:16px;line-height:1.5;margin:10px 0 15px}
.chat-sidebar .co-btn{width:100%;padding:11px 12px;font-size:12px}
.chat-sidebar .co-dl{font-size:12px;grid-template-columns:90px 1fr;gap:10px}
.chat-sidebar .co-muted{font-size:12px}
.chat-sidebar .co-photo{height:auto;max-height:280px}
.chat-sidebar summary{font-size:11px;color:#9facb2}
.chat-sidebar details{margin-bottom:0}
.chat-sidebar details form{margin-top:16px}
.chat-progress{display:flex;gap:4px;margin-top:22px}
.chat-progress span{height:4px;flex:1;background:#29331b;border-radius:5px}
.chat-progress .done{background:#c7fb0f}
.chat-app .chat-export{font-size:12px;width:100%;margin-top:20px;border-color:#ffffff20}
.chat-info-nav{display:flex;gap:18px;flex-wrap:wrap;padding-top:25px;margin-top:25px;border-top:1px solid #ffffff16;font-size:11px;color:#9fae9f}

/* Returning to a conversation is a single tap. */
.chat-list-shell{width:100%;max-width:840px;min-height:100dvh;margin:auto;padding:0;background:#090b09}
.chat-list-shell .messenger-header{position:sticky;top:0;z-index:1}
.chat-new-link{display:flex;align-items:center;gap:5px;padding:10px 12px;border:1px solid #c7fb0f40;border-radius:24px;color:#c7fb0f!important;font-size:12px;white-space:nowrap}
.chat-new-link svg{width:15px;height:15px}
.chat-app .chat-list-note{margin:0;padding:23px 26px 12px;color:#90a08e;font-size:12px}
.chat-room-list>a{display:flex;align-items:center;gap:13px;padding:24px 26px;border-bottom:1px solid #ffffff0b}
.chat-room-list>a:hover{background:#c7fb0f04}
.chat-room-list .chat-group-avatar{width:48px;height:48px;border-radius:17px}
.chat-list-copy{min-width:0;flex:1}
.chat-app .chat-list-copy h2{font-size:15px;line-height:1.5;margin:0 0 4px;font-weight:500;letter-spacing:-.02em;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.chat-app .chat-list-copy p{font-size:12px;color:#929e94;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 6px;line-height:1.6}
.chat-list-copy>span{font-size:10px;color:#bdcfaa}
.chat-room-list time{font-size:9px;align-self:flex-start;flex:none;line-height:1.5;color:#738270;padding-top:4px;max-width:65px}
.chat-list-empty{text-align:center;padding:70px 24px}
.chat-list-empty .chat-group-avatar{margin:0 auto 24px}
.chat-app .chat-list-empty h2{font-size:20px;font-weight:500;margin-bottom:14px}
.chat-list-empty p{font-size:13px;color:#99a692}
.chat-list-empty .co-btn{margin-top:20px}
.chat-app .chat-list-disclaimer{font-size:10px;text-align:center;color:#788771;line-height:1.8;margin:28px 0;padding:0 20px}
@media(max-width:700px){
 .chat-messenger{padding:0}.chat-window{border:0;border-radius:0;max-width:none;box-shadow:none}
 .messenger-header{min-height:70px;padding:11px 10px 11px 7px;gap:2px;padding-top:max(11px,env(safe-area-inset-top))}
 .chat-app .messenger-heading h1{font-size:16px}.chat-brand{font-size:10px;margin-bottom:4px}
 .chat-app .chat-participants{padding:9px 18px;min-height:46px;gap:10px;font-size:10px}
 .chat-participants b{font-size:10px;gap:2px}.chat-avatar-stack .chat-avatar{width:22px;height:22px;font-size:9px;margin-left:-4px}
 .chat-thread{padding:8px 18px 20px}.chat-message>div{max-width:82%}.chat-bubble{padding:12px 14px;font-size:14px}
 .chat-message{margin-bottom:21px}.chat-message.chat-greeting{margin-top:0;padding:20px}.chat-greeting .chat-bubble{padding:0;font-size:13px}.chat-start-hint{margin-top:30px}
 .chat-compose-wrap{padding:12px 15px max(10px,env(safe-area-inset-bottom))}.chat-quick{gap:8px;margin-bottom:11px}
 .chat-app .chat-quick button{font-size:11px;padding:8px 12px;gap:10px}.chat-demo-notice{font-size:9px!important}
 .chat-pinned{padding:11px 18px;gap:8px;font-size:11px}.chat-stage{font-size:10px}
 .chat-launcher{right:18px;bottom:max(20px,env(safe-area-inset-bottom));width:60px;height:60px;padding:0}
 .chat-details{border-radius:18px 0 0 18px}.chat-details-header{padding-top:max(14px,env(safe-area-inset-top))}
 .chat-room-list>a{padding:20px 18px;gap:11px}.chat-list-note{padding:20px 18px 8px!important}
}
@media(max-width:360px){.chat-app .chat-participants{gap:7px;padding-left:12px;padding-right:12px}.chat-participants>span:nth-child(2){font-size:9px}.chat-avatar-stack .chat-avatar{width:20px;height:20px}.chat-thread{padding-left:14px;padding-right:14px}.chat-message>div{max-width:83%}.chat-bubble{padding:11px 12px}.chat-message.chat-greeting{padding:17px}.chat-app .chat-greeting .chat-welcome-title{font-size:21px}.chat-details-body{padding:20px 16px}.chat-people{gap:20px 9px}.chat-people b{font-size:11px}.chat-people small{font-size:9px}.chat-quick{gap:6px}.chat-app .chat-quick button{font-size:10px;padding:8px 10px}}
@media(max-height:500px){.chat-messenger{padding:0}.chat-window{border-radius:0}.chat-participants{display:none!important}.messenger-header{min-height:58px;padding-top:5px;padding-bottom:5px}.room-step-nav{padding-bottom:8px}.chat-quick{margin-bottom:7px}.chat-compose-wrap{padding-top:7px}.chat-demo-notice{margin-top:6px!important}}

.order-journey{padding:20px;border:1px solid #dce1d6;border-radius:16px;margin:20px 0;background:#fafbf7}.order-journey h3{font-size:17px;margin:0 0 14px}.order-journey ol{display:flex;flex-wrap:wrap;gap:10px 24px;padding-left:22px;font-size:14px}.order-journey li{padding:4px}.order-journey .done{color:#637b27}.order-journey p{font-size:12px;line-height:1.6;color:#666}
.customer-seven-nav{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;padding:12px 10px}.customer-seven-nav button{font-size:11px;white-space:normal;line-height:1.5;padding:10px 3px;min-width:0}.customer-seven-nav button>span{display:block;font-size:12px;margin-bottom:4px}.customer-seven-nav .is-current{background:#c7fb0f;color:#080a0c}.customer-seven-nav .is-done{color:#c7fb0f;border-color:#c7fb0f66}.order-journey li.current{color:#c7fb0f;font-weight:700}.room-thread-card .order-journey{margin-top:20px}.room-panel-body .production-guide{color:#dbe3cf}@media(max-width:680px){.customer-seven-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.customer-seven-nav button{font-size:11px;padding:7px 3px}}
.room-panel-body .production-guide{color:#263522;background:#f5f8ef;border-color:#adbb98}.room-panel-body .production-guide summary{color:#45631a}.order-journey li.current{color:#486911}
/* Neutral charcoal request sheet; lime is reserved for focus and actions. */
.chat-app .room-workflow[data-step=request]{--request-green:#c7fb0f;background:#111214;border-color:#34363a;color:#f0f0f1}
.chat-app .room-workflow[data-step=request] .room-panel-header{background:#17181a;border-bottom:1px solid #34363a;color:#f0f0f1}
.chat-app .room-workflow[data-step=request] .room-panel-header>div>span{color:#a0a2a7}
.chat-app .room-workflow[data-step=request] .room-panel-header h2{color:#f4f4f5}
.chat-app .room-workflow[data-step=request] .room-panel-header .chat-icon{background:transparent;border:1px solid #414349;color:#d8d9dc}
.chat-app .room-workflow[data-step=request] .room-panel-header .chat-icon:hover{background:#282a2e}
.chat-app .room-workflow[data-step=request] .room-panel-body{background:#111214;scrollbar-color:#505258 transparent}
.chat-app .room-workflow[data-step=request] .room-panel-title{color:#f2f2f3}
.chat-app .room-workflow[data-step=request] :is(.room-panel-intro,.room-helper,.room-schedule-note){color:#a4a6ab}
.chat-app .room-workflow[data-step=request] .room-panel-body label{color:#d4d5d9}
.chat-app .room-workflow[data-step=request] .room-panel-body :is(input:not([type=checkbox]),select,textarea){background:#202124;border:1px solid #414349;color:#f1f1f3;box-shadow:none}
.chat-app .room-workflow[data-step=request] .room-panel-body :is(input,textarea)::placeholder{color:#92959d;opacity:1}
.chat-app .room-workflow[data-step=request] .room-panel-body :is(input,select,textarea):focus{background:#242529;border-color:#c7fb0f;box-shadow:0 0 0 2px #c7fb0f18;outline:none}
.chat-app .room-workflow[data-step=request] .room-schedule{background:transparent;border-color:#414349}
.chat-app .room-workflow[data-step=request] :is(.room-schedule legend,.room-panel-body label small,.room-optional){color:#aaaeb5;background:transparent}
.chat-app .room-workflow[data-step=request] input[type=file]::file-selector-button{background:#34363b;color:#f0f0f2;border:1px solid #50535a}
.chat-app .room-workflow[data-step=request] .room-panel-body form>button[type=submit]{background:transparent;color:#c7fb0f;border:1px solid #c7fb0f55;box-shadow:none;border-radius:999px}
.chat-app .room-workflow[data-step=request] .room-panel-body form>button[type=submit]:hover{background:#c7fb0f12;border-color:#c7fb0f}
.chat-app .room-workflow[data-step=request] :is(.room-document,.production-guide){background:#191a1d;border-color:#414349;color:#d4d5d9}
.chat-app .room-workflow[data-step=request] :is(.room-document-tag,.production-guide summary,.room-back-chat){color:#c2c4ca}
/* Four-size conversation type scale: 20 / 16 / 14 / 12px. */
.chat-app,.chat-app *{font-family:var(--sans)!important;font-size:14px!important}
.chat-app :is(.chat-welcome-title,.chat-welcome-title *,.room-panel-title,.room-panel-title *,.room-panel-header h2,.room-panel-header h2 *,.room-document h3,.room-document h3 *,.chat-details-header h2,.chat-list-empty h2,.room-total){font-size:20px!important;line-height:1.5}
.chat-app :is(.messenger-heading h1,.messenger-heading h1 *,input:not([type=checkbox]),select,textarea,.chat-welcome-action,.chat-welcome-action *,.co-primary,.co-primary *){font-size:16px!important}
.chat-app :is(.chat-participants,.chat-participants *,.chat-date,.chat-message time,.chat-message header,.chat-message header *,.chat-demo-notice,.chat-welcome-note,.chat-welcome-note *,.room-helper,.room-helper *,.room-schedule-note,.room-optional,.room-document-tag,.room-proof-image figcaption,.room-panel-header>div>span,.room-panel-body label small,.chat-file-preview,.chat-role-label,.chat-people small,.chat-list-copy>span,.chat-room-list time,.chat-info-nav,.chat-info-nav *,.chat-list-disclaimer,.chat-list-disclaimer *,.room-milestones small,.order-journey>p,.customer-seven-nav button>span){font-size:12px!important}
.chat-app .chat-compose textarea::placeholder{font-family:var(--sans);font-size:16px}
.chat-app .customer-seven-nav button{display:flex;flex-direction:column;gap:4px;line-height:1.45}
.chat-app .customer-seven-nav button>span{margin:0}

/* Match the custom-order heading to the consultation-history label. */
.chat-app.chat-messenger .messenger-heading>h1,
.chat-app.chat-messenger .chat-history-link>span{font-family:var(--sans)!important;font-size:12px!important;font-weight:400;line-height:1.4;letter-spacing:normal;color:#c6cdbe}

/* Reserve the visible viewport for messages and composer when iOS opens its keyboard. */
.chat-app.chat-keyboard-open{box-sizing:border-box;padding:0}
.chat-keyboard-open .chat-window{min-height:0}
.chat-keyboard-open .messenger-header,
.chat-keyboard-open .chat-participants,
.chat-keyboard-open .room-step-nav,
.chat-keyboard-open .customer-seven-nav,
.chat-keyboard-open .chat-pinned,
.chat-keyboard-open .chat-demo-notice{display:none!important}
.chat-keyboard-open .chat-compose-wrap{padding-bottom:8px}
.chat-keyboard-open .chat-thread{min-height:0;flex:1 1 0}

.chat-greeting .chat-welcome-header{margin-bottom:10px}
.chat-greeting .chat-welcome-author{justify-content:flex-end}

/* Tell the browser that conversation inputs and native controls use a dark surface. */
html:has(.chat-app){color-scheme:dark;background:#090b09}
body:has(.chat-app){color-scheme:dark;background:#090b09}
.chat-app,.chat-app input,.chat-app textarea,.chat-app select{color-scheme:dark}

.chat-app .chat-greeting .chat-bubble .chat-welcome-note{font-family:var(--sans)!important;font-size:14px!important;font-weight:400;color:inherit}

/* Compact schedule rows keep dates legible and touch targets usable on phones. */
.chat-app .room-workflow[data-step=request] .room-schedule{gap:10px;padding:12px}
.chat-app .room-workflow[data-step=request] .room-schedule label{display:grid;grid-template-columns:105px minmax(0,1fr);align-items:center;gap:8px}
.chat-app .room-workflow[data-step=request] .room-schedule label>span{line-height:1.4}
.chat-app .room-workflow[data-step=request] .room-schedule input{min-width:0;width:100%;min-height:44px;height:44px;margin:0;padding:8px 6px}
.chat-app .room-workflow[data-step=request] .room-schedule input::-webkit-date-and-time-value{text-align:left}
@media(max-width:360px){.chat-app .room-workflow[data-step=request] .room-schedule label{grid-template-columns:90px minmax(0,1fr)}}

.room-design-actions{display:grid;gap:12px;margin:18px 0}
.room-design-actions .co-btn{margin:0;text-align:center}

.chat-app .chat-delete-image{display:inline-flex;align-items:center;min-height:36px;margin:6px 0 0 10px;padding:4px 12px;border:1px solid #c7fb0f55;border-radius:999px;color:#b7c4a6;background:transparent;font-size:12px!important}
