:root{font-family:Inter,"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182c37;background:#f1f5f7;--columns:3;--lane-width:calc((100% - 32px)/3);--speech-size:21px}*{box-sizing:border-box}body{margin:0;height:100dvh;display:flex;flex-direction:column}.top{display:flex;align-items:center;gap:36px;background:white;border-bottom:1px solid #dce5e8;padding:18px 26px}.brand{font-size:25px;font-weight:850;letter-spacing:-1px;color:#14785f}.brand span{display:block;font-size:9px;letter-spacing:1.5px;margin-top:2px}.title{display:flex;align-items:center;gap:16px;flex:1}h1{font-size:20px;margin:0;letter-spacing:.02em}#connection{font-size:12px;color:#607381}.top a{font-size:13px;font-weight:650;color:#176d59;text-decoration:none}main{padding:18px 24px 12px;display:flex;flex-direction:column;min-height:0;flex:1}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.summary{display:flex;align-items:center;gap:9px;white-space:nowrap}.summary strong{font-size:18px}.summary>span:last-child{font-size:13px;color:#9c5b00}.live-dot{width:9px;height:9px;background:#199a72;border-radius:50%}.settings{display:flex;align-items:end;gap:12px}label{font-size:11px;color:#617681;display:flex;flex-direction:column;gap:4px}select,input,button{font:inherit}select,input{background:white;border:1px solid #cdd9df;border-radius:7px;padding:8px 10px;color:#243d48;font-size:13px}button{border:0;border-radius:7px;padding:10px 13px;background:#14785f;color:white;font-size:13px;cursor:pointer;font-weight:650}button:disabled{opacity:.55;cursor:default}.secondary{background:white;border:1px solid #cdd9df;color:#405b67}.notice{font-size:12px;color:#647a86;display:flex;justify-content:space-between;gap:12px;margin:0 0 14px}.board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(285px,var(--lane-width));grid-template-rows:minmax(0,1fr);gap:16px;overflow-x:auto;min-height:0;flex:1;padding-bottom:4px}.lane{background:white;border:1px solid #d5e0e5;border-top:4px solid #4b9b87;border-radius:10px;display:flex;flex-direction:column;min-height:0;overflow:hidden;box-shadow:0 2px 5px #182c3706}.lane.waiting{border:2px solid #e6a239;border-top:4px solid #e6a239}.lane.human{border-top-color:#4789cf}.lane.ended{border-top-color:#a9b7be}.lane-head{padding:16px 17px 14px;border-bottom:1px solid #e5ecef;flex-shrink:0}.lane-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.phone{font-size:21px;font-weight:750;letter-spacing:.01em}.badge{font-size:11px;border-radius:5px;background:#e7f5ef;color:#14785f;white-space:nowrap;padding:5px 7px;font-weight:700}.waiting .badge{background:#fff0d4;color:#995500}.human .badge{background:#e9f1fc;color:#2b65a5}.ended .badge{background:#edf1f3;color:#687d88}.lane-meta{font-size:11px;color:#718590;display:flex;justify-content:space-between;margin-top:9px;gap:8px}.handoff{padding:10px 15px;background:#fff3da;color:#845000;font-size:13px;font-weight:700;border-bottom:1px solid #f0d49d}.conversation{flex:1;overflow-y:auto;min-height:0;padding:19px 17px;scrollbar-width:thin;overflow-wrap:anywhere}.utterance{margin:0 0 23px}.utterance .who{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:750;margin-bottom:8px;color:#647b87}.utterance time{font-weight:400;color:#8b9ca5;margin-left:auto;font-variant-numeric:tabular-nums}.utterance p{font-size:var(--speech-size);line-height:1.75;margin:0;letter-spacing:.015em}.utterance.customer p{font-weight:600;color:#172f3d}.utterance.ai p{color:#507078}.who-dot{width:6px;height:6px;background:#207e65;border-radius:50%}.customer .who-dot{background:#263f55}.lane-foot{padding:10px 14px;border-top:1px solid #e5ecef;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#728791;min-height:42px}.latest{padding:6px 10px;font-size:11px;background:#e7f5ef;color:#14785f}.placeholder{font-size:14px;color:#8b9ca5;line-height:1.8}.history-warning{font-size:12px;background:#fff5df;color:#855a15;padding:9px;line-height:1.6;margin-bottom:16px}.empty{margin:auto;text-align:center;color:#718590;padding:30px}.empty div{font-size:20px;font-weight:650}.empty p{font-size:13px}.empty[hidden],.board[hidden],[hidden]{display:none!important}.error{background:#fff0ef;border:1px solid #f1c3bf;color:#a13e36;border-radius:7px;padding:10px 14px;margin:0 0 12px;font-size:13px}footer{display:flex;justify-content:space-between;padding:9px 25px 12px;color:#718590;font-size:11px}.login{background:#e9f2ef;padding:18px 25px}.login form{display:flex;align-items:end;gap:15px;flex-wrap:wrap}.login strong{align-self:center;font-size:14px}#login-error{font-size:12px;color:#a13e36}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #76bda9;outline-offset:2px}@media(max-width:900px){.top{padding:14px 16px;gap:22px}.title{display:block}#connection{display:block;margin-top:4px}.toolbar{align-items:start;flex-wrap:wrap}.settings{flex-wrap:wrap;gap:8px}.notice{display:block;line-height:1.7}.notice span{display:block}main{padding:14px 14px 7px}.board{grid-template-columns:repeat(var(--columns),minmax(285px,1fr))}footer{padding:8px 15px}.top a{max-width:100px;line-height:1.5}h1{font-size:18px}}

.waiting-link{background:#fff0d4;color:#995500;padding:5px 8px;font-size:12px}.waiting-link:hover{background:#ffe4ad}

/* Highlight the entire call lane; text labels also identify the stage. */
.lane.manager{background:#e8f5ed;border-color:#64a681;border-top-color:#268553}
.manager .badge{background:#cee8d8;color:#216942}
.manager .lane-head,.manager .lane-foot{border-color:#c8e0d1}
.lane.waiting{background:#fff1d6}
.waiting .lane-head,.waiting .lane-foot{border-color:#ecd49d}
.lane.human{background:#e9f2ff;border-color:#85a9d5;border-top-color:#387ab8}
.human .lane-head,.human .lane-foot{border-color:#c8d9ee}
.lane.ended{background:#f4f6f8}

.lane-actions{display:flex;gap:8px;margin-top:10px}.lane-actions button{flex:1;min-height:40px;font-size:14px;font-weight:700;border-radius:7px;cursor:pointer}.take-button{background:#156b68;color:white;border:1px solid #156b68}.end-button{background:#fff;color:#a02525;border:1px solid #c78080}.lane-actions button:disabled{opacity:.45;cursor:default}.action-message{font-size:12px;line-height:1.5;margin-top:5px;white-space:normal;color:#264554}.action-message:empty{display:none}

html.embedded .top,html.embedded .login,html.embedded footer{display:none}html.embedded body{min-height:0}html.embedded main{padding:12px}html.embedded .empty{min-height:160px}
