:root{font-family:"Segoe UI","Malgun Gothic",sans-serif;color:#17342f;background:#f7f9f7;font-synthesis:none;--accent:#19654e;--line:#dfe8e2;--muted:#63796e}*{box-sizing:border-box}body{margin:0}button,a,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{font:inherit;font-size:14px;min-height:44px;border:0;border-radius:12px;background:var(--accent);color:white;padding:10px 18px;cursor:pointer;font-weight:600}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:3px solid #c18c2c;outline-offset:3px}a{color:inherit;text-decoration:none}.app{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{padding:36px 22px;background:#112d29;color:#f1f7f3;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;font-size:25px;font-weight:700;padding:0 6px;letter-spacing:-1px}.brand-mark{width:40px;height:40px;border:1px solid #78938a;border-radius:12px;display:grid;place-items:center;color:#b4d9bf;font-size:29px;font-weight:400}.brand small{display:block;font-size:11px;letter-spacing:0;font-weight:400;color:#a6beb1;margin-top:6px}nav{display:grid;gap:8px;margin-top:56px}nav a{display:flex;align-items:center;justify-content:space-between;padding:16px;border-radius:12px;font-size:14px;color:#b9cdc2;min-height:48px}nav a.active{background:#25443b;color:white}nav a span{font-size:13px;color:#a2c8b1}.dot{height:7px;width:7px;background:#c1a571;border-radius:50%}.side-note{margin-top:auto;padding:24px 10px 4px;border-top:1px solid #345047;font-size:12px;color:#afc7b9}.side-note p{line-height:1.8;font-size:11px;color:#819e8d}main{width:100%;max-width:1080px;padding:32px 58px 20px;margin:auto}header{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--muted)}.review-tag{border:1px solid #d6e1d8;border-radius:30px;padding:6px 12px;color:#6b7564;font-size:11px;background:#f0f3ec}.welcome{margin:49px 0 27px}.eyebrow{color:#698272;font-size:11px;font-weight:600;letter-spacing:1px;margin:0 0 10px}h1{font-size:33px;letter-spacing:-1.5px;font-weight:650;margin:0 0 15px}p{margin:0}.intro{font-size:14px;color:var(--muted);line-height:1.8}.mobile{display:none}.notice{border-left:3px solid #bca269;background:#f2f0e6;padding:13px 17px;margin-bottom:18px;border-radius:0 10px 10px 0;color:#70644e;font-size:11px;line-height:1.8}.notice strong,.notice span{display:block}.login-card{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--line);padding:17px;border-radius:14px;background:#fff;margin-bottom:18px;font-size:13px}.login-card p{font-size:11px;margin-top:7px;color:var(--muted);line-height:1.7}.login-card button{white-space:nowrap}.composer{background:#fff;border:1px solid #b9cfc1;border-radius:18px;padding:20px;box-shadow:0 7px 24px #173b2c08}.composer label{display:block;font-size:12px;font-weight:600;color:#526f5e}textarea{width:100%;font:inherit;font-size:15px;color:#254135;line-height:1.7;resize:vertical;min-height:112px;border:0;background:transparent;padding:16px 0 8px;outline-offset:0}textarea::placeholder{color:#9ca99e}textarea:disabled{color:#667b6e}.compose-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid #eff2ee;padding-top:12px}.compose-footer>span{font-size:10px;color:#839083;line-height:1.6}.compose-footer button{white-space:nowrap}.compose-footer button span{font-size:18px;margin-left:13px}.compose-help{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:10px;color:#839083;padding:5px 4px}.text-button{background:none;color:#536d5c;font-size:11px;padding:8px 5px;font-weight:500}.secondary{background:#fff;color:#546b59;border:1px solid var(--line);font-size:11px}.feedback{min-height:24px;font-size:12px;line-height:1.7;color:#526e5b;margin:12px 0;overflow-wrap:anywhere}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}h2{font-size:18px;letter-spacing:-.5px;margin:0}.section-title .eyebrow{font-size:10px;margin-bottom:5px}.task-list{display:grid;gap:12px}.empty{background:#fff;border:1px dashed #d5e1d7;border-radius:16px;text-align:center;padding:28px 20px;color:#8b9e8c}.empty>span{font-size:30px;color:#aec6b1}.empty h3{font-size:13px;font-weight:500;color:#657e6b;margin:12px 0 8px}.empty p{font-size:11px;line-height:1.7}.task{background:white;border:1px solid var(--line);padding:19px;border-radius:16px;min-width:0}.task-top{display:flex;gap:10px;justify-content:space-between;align-items:center;font-size:10px;color:#7a8f7d;flex-wrap:wrap}.status{color:#6c704c;background:#f2f1e7;border-radius:20px;padding:5px 10px;font-size:10px}.task h3{font-size:14px;font-weight:600;line-height:1.7;margin:13px 0;white-space:pre-wrap;overflow-wrap:anywhere}.task p{font-size:11px;line-height:1.9;color:#708174;overflow-wrap:anywhere}.task .result{background:#edf6ee;color:#355c40;border-radius:10px;padding:12px;margin-top:12px}.task a{display:inline-block;margin-top:9px;color:#226747;font-size:12px;padding:10px 0;text-decoration:underline}.connection{margin-top:32px;padding:21px 0;border-top:1px solid var(--line)}.connection h2{font-size:14px}.muted{font-size:10px;color:#879787}.pc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.pc-grid>div{padding:14px;border:1px solid var(--line);border-radius:12px;background:#f1f5f0}.pc-grid b{font-size:12px}.pc-grid small{font-size:10px;font-weight:400;margin-left:5px}.pc-grid span{display:block;margin-top:9px;font-size:10px;color:#7b8977}.connection>p{font-size:10px;color:#7e8e7e;line-height:1.8;margin-top:14px}footer{display:flex;gap:13px;align-items:center;padding:18px 0 0;border-top:1px solid var(--line);font-size:12px;font-weight:600;color:#607c64}footer span{font-size:10px;font-weight:400;color:#91a18e}.outbox{margin-top:12px;border:1px solid #ddc9a1;background:#fffbef;padding:14px;border-radius:12px;font-size:12px;line-height:1.7}.outbox div{display:flex;gap:8px;margin-top:10px}.outbox p{overflow-wrap:anywhere}[hidden]{display:none!important}@media(min-width:1500px){main{max-width:1150px}}@media(max-width:1000px){.app{grid-template-columns:195px minmax(0,1fr)}main{padding:30px}.sidebar{padding:32px 16px}.brand{font-size:23px}.pc-grid{grid-template-columns:1fr}.pc-grid>div{display:flex;align-items:center;justify-content:space-between}.pc-grid span{margin-top:0}}@media(max-width:650px){.app{display:block}.sidebar{position:static;height:auto;padding:19px 20px 0;background:#112d29}.brand{font-size:22px;padding:0}.brand small{font-size:10px}.brand-mark{height:34px;width:34px;font-size:25px}nav{display:flex;gap:6px;margin-top:18px}nav a{flex:1;justify-content:center;gap:8px;min-height:44px;padding:10px 8px;border-radius:10px 10px 0 0;font-size:12px}.side-note{display:none}main{padding:23px 20px max(24px,env(safe-area-inset-bottom))}header{font-size:11px}.welcome{margin:33px 0 22px}h1{font-size:28px}.intro{font-size:12px}.mobile{display:block}.notice{font-size:10px;padding:12px}.login-card{align-items:flex-start;padding:14px;gap:10px}.login-card strong{font-size:12px}.login-card p{font-size:10px}.login-card button{padding:9px 13px;font-size:12px}.composer{padding:16px;border-radius:15px}textarea{font-size:14px;min-height:125px}.compose-footer>span{font-size:9px;max-width:150px}.compose-footer button{padding:10px 13px;font-size:12px}.compose-help{align-items:flex-start;gap:2px}.compose-help>span{padding-top:14px;font-size:9px;max-width:205px;line-height:1.6}.text-button{font-size:10px;white-space:nowrap}h2{font-size:17px}.section-title{margin-bottom:12px}.task{padding:16px}.connection{margin-top:25px}footer{flex-wrap:wrap;gap:9px}.outbox div{flex-wrap:wrap}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s}button:hover:enabled{filter:brightness(.95)}}
:root{--room-soft:#edf4ee}.members{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.member{background:#fff;border:1px solid var(--line);border-radius:13px;padding:12px 14px;flex:1;min-width:160px}.member strong{display:block;font-size:12px}.member small{display:block;font-size:10px;color:var(--muted);margin-top:7px;line-height:1.7}.room-policy{font-size:10px;color:var(--muted);line-height:1.9;margin-bottom:18px}.room-messages{display:grid;gap:13px;margin-bottom:20px}.bubble{border:1px solid var(--line);background:#fff;padding:16px;border-radius:15px;min-width:0}.bubble.user{background:var(--room-soft);margin-left:30px}.bubble strong{font-size:12px}.bubble small{font-size:10px;color:var(--muted);margin-left:10px}.bubble p{font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:10px}.bubble a{display:inline-block;padding:12px 0;font-size:12px;text-decoration:underline;color:var(--accent)}@media(max-width:650px){.member{min-width:140px;padding:11px}.bubble{padding:14px}.bubble.user{margin-left:12px}.bubble p{font-size:12px}}

/* Shared room: compact messenger, actual state details, keyboard-safe composer. */
.chat-mode main{max-width:1100px}.chat-mode header{margin-bottom:24px}.chat-mode .notice{border:0;background:transparent;padding:0;font-size:12px;margin-bottom:16px}.chat-mode .room-messages{gap:16px}.chat-mode .bubble{max-width:92%;border:0;border-radius:16px 16px 16px 4px;background:#fff;box-shadow:none}.chat-mode .bubble.user{justify-self:end;background:#e4eee8;border-radius:16px 16px 4px 16px}.chat-mode .bubble p{font-size:16px;line-height:1.65}.chat-mode .bubble small{font-size:12px}.chat-mode .bubble.validation_error{border-left:3px solid #b18a4a;background:#fff7e9}.chat-mode .members{gap:7px;margin:10px 0}.chat-mode #room-members .member{flex:none;min-width:0;padding:8px 12px;border-radius:22px;background:#eef3ef;border:0;max-width:100%}.member summary{cursor:pointer;font-size:12px;font-weight:600}.member[open]{border-radius:12px!important}.member small{max-width:300px}.room-summary{font-size:12px;color:var(--muted);margin:10px 0 14px}.room-details{font-size:12px;color:var(--muted);margin:12px 0 18px}.room-details>summary{min-height:36px;cursor:pointer;padding:9px 0}.room-details .members{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.room-details .member{min-width:0}.chat-mode .room-composer{position:sticky;bottom:0;z-index:3;padding:12px 14px max(12px,env(safe-area-inset-bottom));box-shadow:0 -8px 24px #173b2c09;border-radius:18px 18px 0 0;background:#fff}.room-composer label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.input-row{display:flex;align-items:flex-end;gap:10px}.input-row textarea{min-height:60px;max-height:180px;padding:12px 0;resize:none;font-size:16px;line-height:1.6}.input-row>button{min-height:48px;min-width:48px;padding:10px;font-size:22px;margin-bottom:8px}.room-composer>p{font-size:11px;line-height:1.6;color:var(--muted)}.voice-button{background:#e8f0eb;color:#24604a;min-height:44px;width:100%;font-size:13px}.chat-mode #room-feedback{font-size:13px;line-height:1.6}.chat-mode #connection{margin-top:20px}.chat-mode .room-policy{font-size:12px}.chat-mode .section-title .eyebrow{display:none}
@media(max-width:650px){.chat-mode .sidebar{padding:12px 16px 0}.chat-mode .brand small{display:none}.chat-mode nav{margin-top:10px}.chat-mode main{padding:16px 14px 0}.chat-mode header{margin-bottom:16px}.chat-mode .bubble{max-width:96%;padding:14px}.chat-mode .bubble p{font-size:16px;line-height:1.65}.chat-mode .room-composer{margin:0 -14px;padding-left:14px;padding-right:14px}.chat-mode #room-members{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.chat-mode #room-members .member{white-space:nowrap}.chat-mode #room-members .member[open]{white-space:normal;min-width:200px}.chat-mode footer{padding-bottom:max(16px,env(safe-area-inset-bottom))}}

.chat-mode .room-messages{max-height:calc(100dvh - 370px);min-height:240px;overflow-y:auto;overscroll-behavior:contain;padding:4px 2px 12px;scroll-padding:12px}.bubble details{font-size:13px;line-height:1.6;margin-top:10px}.bubble details summary{cursor:pointer;min-height:36px;padding:8px 0;color:var(--accent)}

/* Representative's latest direction: one conversation, one compact order list. */
.simple-ui .app{display:block;min-height:100dvh}.simple-ui .sidebar{display:none}.simple-ui main{height:100dvh;max-width:840px;padding:16px 20px 0;display:flex;flex-direction:column;margin:auto;min-height:0}.simple-ui header{margin:0 0 14px!important;flex:none;position:relative;min-height:40px}.simple-ui header h1{font-size:23px;letter-spacing:-1px;margin:0}.simple-ui .work-menu{font-size:12px;z-index:8}.work-menu>summary{cursor:pointer;min-height:40px;padding:12px 0;list-style:none;color:#2a4c3e}.work-menu>summary span{font-size:11px;margin-left:8px;color:var(--muted)}.work-menu[open]{position:absolute;right:0;top:0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 12px 12px;min-width:240px;max-width:95vw;box-shadow:0 6px 24px #173b2c12}.work-item{display:block;width:100%;background:#f0f5f1;color:#325742;text-align:left;margin-top:8px;font-size:13px;font-weight:500}.list-caption{font-size:11px;color:var(--muted);margin:6px 0}.simple-ui #shared-room{flex:1;min-height:0;display:flex;flex-direction:column}.simple-ui .room-messages{flex:1;min-height:120px;max-height:none;margin:0 0 12px;overflow:auto}.simple-ui .room-composer{position:static;flex:none;margin:0 -8px;padding:10px 12px max(8px,env(safe-area-inset-bottom));border-radius:16px 16px 0 0;box-shadow:none}.simple-ui .voice-button{width:auto;padding:6px 12px;min-height:36px;font-size:12px}.simple-ui .input-row textarea{min-height:64px}.simple-ui .room-composer>p{font-size:11px}.simple-ui .advanced{flex:none;font-size:12px;color:var(--muted);padding:0 4px max(6px,env(safe-area-inset-bottom))}.advanced>summary{cursor:pointer;min-height:32px;padding:8px 0}.advanced[open]{max-height:45dvh;overflow:auto}.simple-ui #room-feedback:empty,.simple-ui #feedback:empty{display:none}.simple-ui #room-feedback{margin:6px 0;min-height:0;font-size:12px}.simple-ui .login-card{font-size:14px}.simple-ui .notice{font-size:11px}.simple-ui .bubble{max-width:96%}.simple-ui .bubble strong{font-weight:600}.simple-ui .room-details{margin:8px 0}.simple-ui footer{font-size:11px}.simple-ui footer span{display:none}
@media(max-width:650px){.simple-ui main{padding:12px 14px 0}.simple-ui header{margin-bottom:10px!important}.simple-ui .work-menu>summary span{font-size:10px;margin-left:5px}.simple-ui .bubble{max-width:98%}.simple-ui .room-composer{margin:0 -8px}.simple-ui .room-messages{padding-bottom:8px}.simple-ui .input-row textarea{min-height:72px}}

.simple-ui .input-row{gap:10px;align-items:flex-end}.simple-ui .input-row textarea{flex:1;min-width:0;min-height:44px;max-height:144px;padding:10px 0;line-height:1.5;overflow-y:hidden}.simple-ui .input-row>button{flex:none;min-width:44px;min-height:44px;margin:0;padding:8px 12px}.simple-ui .input-row .voice-button{font-size:12px;background:transparent;color:var(--muted)}.simple-ui .room-composer{border-radius:12px 12px 0 0;padding-top:8px}.simple-ui .room-composer>p{margin-top:4px}

.simple-ui .input-row>button,.simple-ui .input-row .voice-button{min-width:48px;min-height:48px}.simple-ui .work-menu>summary,.simple-ui .advanced>summary,.simple-ui .bubble details>summary,.simple-ui .work-item{min-height:48px}.simple-ui .room-composer{padding-left:12px;padding-right:12px}.simple-ui .input-row{gap:12px}

.simple-ui .room-messages{gap:18px}.simple-ui .bubble.user{margin-left:32px;margin-right:0;justify-self:end}.simple-ui .bubble.speech{justify-self:start}.bubble-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.simple-ui .bubble-heading small{margin:0;color:#89978e;font-size:12px;font-weight:400}.attachment-card{margin-top:14px;padding:12px 14px;background:#eff5f1;border:1px solid #dce8df;border-radius:12px}.attachment-card>strong{display:block;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.draft-note{display:block!important;margin:6px 0 0!important;color:#82704c!important;font-size:11px!important}.attachment-links{display:flex;gap:20px}.attachment-links a{min-height:48px;padding:14px 0!important;font-size:13px!important}.processing-record{margin-top:10px;color:var(--muted)}.processing-record>summary{font-size:12px;min-height:48px!important}.record-row{padding:12px 0;border-top:1px solid var(--line)}.record-row strong{font-size:11px!important;font-weight:500}.record-row p{font-size:12px!important;line-height:1.7!important}

.previous-trials{font-size:12px;color:var(--muted)}.previous-trials>summary{min-height:48px;padding:14px 4px;cursor:pointer}.previous-trials>.bubble{margin:12px 0}.previous-trials>.bubble.user{margin-left:32px}

.simple-ui .room-messages{align-content:start}.speech-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;white-space:normal!important}.attachment-links a{min-width:48px;text-align:center}.work-menu[open]{max-height:75dvh;overflow:auto}.work-item{padding:12px}.work-item p{font-size:12px;line-height:1.7;margin-top:5px}.work-item a{display:block;overflow-wrap:anywhere;min-height:48px;padding:12px 0;text-decoration:underline}.work-item button{margin-top:8px}
