:root{--ink:#242420;--muted:#6a6a63;--line:#e6e6df;--paper:#fff;--soft:#f7f7f3;--sand:#eeeee7;--error:#8a302d;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;color:var(--ink);background:var(--soft);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.65}button,input,select,textarea{font:inherit;color:inherit}button,a,select,textarea{touch-action:manipulation}button{cursor:pointer;min-height:44px;border:1px solid var(--line);background:white;border-radius:6px;padding:10px 16px}button:disabled{opacity:.42;cursor:not-allowed}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--ink);outline-offset:3px}h1,h2,p{margin:0}h1{font-size:16px;font-weight:500;letter-spacing:.05em}h2{font-size:15px;font-weight:600}button:hover:not(:disabled){background:var(--soft)}[hidden]{display:none!important}.preview-bar{min-height:35px;padding:6px 24px;display:flex;align-items:center;gap:18px;background:#eeeee8;color:#61615a;font-size:11px;letter-spacing:.02em}.preview-bar a{margin-left:auto}.app-header{height:94px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;border-bottom:1px solid var(--line);background:white;gap:24px}.identity{display:flex;align-items:center;gap:24px;white-space:nowrap}.brand{font-family:Georgia,"Times New Roman",serif;font-size:38px;letter-spacing:-2px}.header-rule{height:28px;width:1px;background:var(--line)}.staff-controls{display:flex;align-items:center;gap:12px}.staff-controls label{font-size:11px;color:var(--muted)}select{min-height:44px;max-width:140px;border:1px solid var(--line);border-radius:6px;background:white;padding:8px 28px 8px 12px}.quiet{font-size:12px;background:white}.reception{display:flex;align-items:center;gap:8px;font-size:12px;min-width:120px;justify-content:center;background:var(--soft)}.status-dot{width:7px;height:7px;border-radius:50%;background:#54725d}.reception[aria-pressed=false] .status-dot{background:#8c8c84}.workspace{display:grid;grid-template-columns:260px minmax(340px,1fr) 336px;height:calc(100dvh - 129px);min-height:580px;max-width:1800px;margin:0 auto;background:white}.queue-panel,.details-panel{overflow-y:auto;min-height:0}.queue-panel{padding:30px 20px 20px;border-right:1px solid var(--line);display:flex;flex-direction:column}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.count{min-width:25px;height:25px;display:inline-grid;place-items:center;background:var(--sand);font-size:11px;border-radius:50%}.muted{color:var(--muted)}.small{font-size:11px;line-height:1.7}.queue-list{margin-top:28px;display:flex;flex-direction:column;gap:8px}.queue-group-label{font-size:11px;color:var(--muted);margin:18px 8px 3px}.queue-group-label:first-child{margin-top:0}.queue-card{text-align:left;width:100%;border-color:transparent;border-radius:6px;padding:16px 12px;display:block}.queue-card.selected{background:var(--soft);border-color:#d9d9cf}.queue-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.queue-card-name{font-weight:600;overflow-wrap:anywhere}.queue-card-time{font-size:10px;color:var(--muted);white-space:nowrap}.queue-card-purpose{display:block;font-size:11px;margin-top:5px;color:var(--muted)}.queue-card-note{display:block;max-height:38px;overflow:hidden;font-size:11px;margin-top:8px;line-height:1.6;color:var(--muted)}.queue-foot{margin-top:auto;padding-top:28px}.empty-small{font-size:12px;color:var(--muted);padding:20px 0}.conversation-panel{min-width:0;min-height:0;position:relative;background:#fdfdfb}.empty-center{height:100%;min-height:440px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;text-align:center;padding:32px}.empty-symbol{font-size:44px;line-height:1;color:#aaa99c}.empty-center h2{font-weight:500;font-size:19px;letter-spacing:.05em}.empty-center p{font-size:12px;color:var(--muted);line-height:1.9}.empty-center a{font-size:11px;margin-top:15px}.conversation-content{height:100%;min-height:0;display:flex;flex-direction:column}.conversation-heading{padding:25px 30px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);background:white}.conversation-heading h2{font-size:18px;overflow-wrap:anywhere}.conversation-heading .small{margin-bottom:4px}.accept-panel{padding:20px 24px;display:flex;align-items:center;gap:16px;justify-content:space-between;background:#efefe7;border-bottom:1px solid var(--line)}.accept-panel strong{font-size:12px;font-weight:500}.accept-panel p{font-size:11px;color:var(--muted);margin-top:3px}.accept-panel button{white-space:nowrap}.primary{background:var(--ink);color:white;border-color:var(--ink);font-size:12px;white-space:nowrap}.primary:hover:not(:disabled){background:#41413a}.conversation-notice{padding:12px 24px;font-size:12px;background:#f1efe9;color:#5c5040;border-bottom:1px solid var(--line)}.message-list{flex:1;min-height:120px;overflow-y:auto;padding:28px;display:flex;flex-direction:column;gap:22px;overscroll-behavior:contain}.message{max-width:85%;align-self:flex-start;overflow-wrap:anywhere}.message.staff{align-self:flex-end}.message-label{font-size:10px;color:var(--muted);margin-bottom:5px}.message.staff .message-label{text-align:right}.message-text{white-space:pre-wrap;font-size:13px;line-height:1.8;background:white;border:1px solid var(--line);padding:14px 18px;border-radius:2px 12px 12px 12px}.message.staff .message-text{background:#eeeee8;border-color:transparent;border-radius:12px 2px 12px 12px}.system-message{align-self:center;text-align:center;max-width:95%;font-size:11px;color:var(--muted);white-space:pre-wrap;padding:4px 12px}.message-product{display:block;background:white;border:1px solid var(--line);border-radius:8px;overflow:hidden;text-decoration:none;max-width:230px}.message-product img{display:block;width:100%;max-height:200px;object-fit:contain;background:white}.message-product strong{display:block;font-size:12px;font-weight:500;padding:12px 14px 4px}.message-product span{display:block;font-size:10px;color:var(--muted);padding:0 14px 12px}.composer{padding:20px 28px 24px;background:white;border-top:1px solid var(--line)}textarea{display:block;width:100%;resize:vertical;min-height:78px;max-height:180px;border:1px solid #d8d8cf;background:white;border-radius:6px;padding:14px;line-height:1.7;font-size:13px}textarea:disabled{background:var(--soft)}textarea::placeholder{color:#92928b}.composer-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px}.composer-footer button{min-width:106px}.details-panel{padding:28px 24px;border-left:1px solid var(--line)}dl{margin:0}dt{font-size:10px;color:var(--muted);margin-top:18px}dd{margin:6px 0 0;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.products-section{margin-top:32px;padding-top:26px;border-top:1px solid var(--line)}.product-list{display:grid;gap:10px;margin-top:20px}.product-option{display:flex;align-items:center;gap:12px;text-align:left;padding:10px;border:1px solid var(--line);width:100%}.product-option[aria-pressed=true]{border-color:#55554b;background:var(--soft)}.product-option img{width:72px;height:82px;object-fit:contain;background:white;flex-shrink:0}.product-option span{font-size:11px;line-height:1.7}.product-confirm{margin-top:18px;padding:14px;background:var(--soft)}.product-confirm strong{display:block;font-size:12px;font-weight:500;margin:6px 0 15px}.product-confirm button{width:100%;font-size:11px}.error-banner{background:#fff0ed;color:var(--error);padding:9px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px}.error-banner button{min-height:36px;font-size:11px;padding:6px 12px;border-color:#cfa8a0;background:transparent}.error-banner:not([hidden])~.workspace{height:calc(100dvh - 183px)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@media(min-width:1600px){.workspace{grid-template-columns:290px minmax(400px,1fr) 360px}.message-list{padding:32px 44px}}@media(max-width:1150px){.app-header{padding:0 20px}.identity{gap:15px}.staff-controls{gap:8px}.staff-controls label{display:none}.workspace{grid-template-columns:220px minmax(300px,1fr) 280px}.details-panel{padding:24px 18px}.conversation-heading{padding:20px}.message-list{padding:20px}.composer{padding:18px}.queue-panel{padding:24px 14px}.accept-panel{flex-wrap:wrap;padding:18px}.accept-panel button{width:100%}}@media(max-width:900px){.preview-bar{padding:8px 16px;flex-wrap:wrap;gap:4px 12px}.preview-bar a{margin-left:0}.app-header{height:auto;min-height:100px;padding:16px;align-items:flex-start;flex-direction:column;gap:12px}.staff-controls{width:100%;flex-wrap:wrap}.brand{font-size:32px}.workspace{display:grid;grid-template-columns:minmax(0,1fr);height:auto!important;min-height:0}.queue-panel{border-right:0;border-bottom:1px solid var(--line);padding:20px}.queue-list{margin-top:10px;max-height:240px;overflow:auto}.queue-foot{display:none}.conversation-panel{height:680px;max-height:90dvh;border-bottom:1px solid var(--line)}.empty-center{min-height:300px}.details-panel{border-left:0;padding:24px;display:grid;grid-template-columns:1fr 1fr;gap:24px}.products-section{margin:0;padding:0;border:0}.queue-card{padding:12px}.error-banner{align-items:flex-start}.error-banner button{flex-shrink:0}}@media(max-width:540px){.details-panel{display:block}.products-section{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.staff-controls{gap:6px}.staff-controls button{padding:8px 10px;font-size:11px}.staff-controls select{max-width:100px}.conversation-heading{padding:16px}.message-list{padding:20px 16px}.message{max-width:92%}.composer{padding:16px}.composer-footer .small{max-width:160px}.empty-center h2{font-size:16px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
