:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif;color:#111827;background:#eef2f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:linear-gradient(#0b1220 0 180px,#eef2f7 180px);min-height:100vh}.app-shell{max-width:680px;margin:0 auto;padding:20px 14px 40px}.topbar{color:#fff;display:flex;gap:12px;justify-content:space-between;align-items:flex-start;padding:8px 4px 22px}.kicker{font-size:11px;letter-spacing:.18em;font-weight:800;opacity:.72;margin:0 0 5px}.topbar h1{font-size:25px;margin:0}.sub{margin:8px 0 0;font-size:14px;opacity:.85}.badge{border:1px solid rgba(255,255,255,.3);padding:5px 9px;border-radius:99px;font-size:12px}.panel{background:#fff;border-radius:20px;padding:17px;box-shadow:0 10px 30px rgba(15,23,42,.08);margin-bottom:14px}.label{display:block;font-weight:800;margin-bottom:8px}.language-select{width:100%;font-size:17px;padding:14px;border-radius:14px;border:1px solid #cbd5e1;background:#fff}.mode-grid{display:grid;gap:14px}.mode-card{border:0;border-radius:22px;text-align:left;padding:22px;color:#fff;box-shadow:0 12px 26px rgba(15,23,42,.12);cursor:pointer}.mode-card strong{font-size:24px;display:block;margin:7px 0 4px}.mode-card span:last-child{font-size:14px;opacity:.88}.mode-icon{font-size:36px}.driver{background:linear-gradient(135deg,#2563eb,#1d4ed8)}.customer{background:linear-gradient(135deg,#0f766e,#0d9488)}.safety-note{background:#fff;padding:13px 14px;border-radius:14px;font-size:12px;color:#475569;margin:0}.screen-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}.text-btn{border:0;background:#eef2ff;color:#3730a3;padding:9px 11px;border-radius:10px;font-weight:700}.foreign-instruction{padding:16px;border-radius:14px;background:#eff6ff;font-size:19px;font-weight:800;margin-bottom:14px;text-align:center}textarea{width:100%;resize:vertical;border:1px solid #cbd5e1;border-radius:14px;padding:14px;font-size:18px;line-height:1.5;min-height:112px}.counter{text-align:right;color:#64748b;font-size:12px;margin:5px 4px 10px}.big-btn,.speaker-btn,.outline-btn,.custom-btn,.ghost-btn{width:100%;border:0;border-radius:15px;padding:15px 14px;font-size:17px;font-weight:800;margin-top:9px;cursor:pointer}.big-btn.mic{background:#111827;color:#fff}.big-btn.send{background:#f59e0b;color:#111827}.hint{font-size:13px;color:#64748b;line-height:1.55}.loading{background:#fff;border-radius:18px;padding:18px;display:flex;align-items:center;gap:12px;box-shadow:0 10px 25px rgba(15,23,42,.08)}.spinner{width:20px;height:20px;border:3px solid #cbd5e1;border-top-color:#2563eb;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.main-result{text-align:center}.result-label{font-size:13px;font-weight:900;color:#475569}.source-text{font-size:19px;line-height:1.5}.arrow{font-size:24px;color:#94a3b8}.translated-text{font-size:25px;line-height:1.45;font-weight:900;margin:8px 0 15px}.speaker-btn{background:#e0f2fe;color:#075985}.reply-area{padding:4px 0}.reply-title-row h2{font-size:21px;margin:12px 4px 3px}.reply-title-row p{margin:0 4px 12px;color:#64748b;font-size:13px}.reply-list{display:grid;gap:10px}.reply-card{position:relative;width:100%;border:2px solid transparent;background:#fff;border-radius:17px;padding:16px 16px 15px 54px;text-align:left;box-shadow:0 7px 20px rgba(15,23,42,.07);cursor:pointer}.reply-card.selected{border-color:#16a34a;background:#f0fdf4}.reply-num{position:absolute;left:15px;top:17px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#0f172a;color:#fff;font-weight:900}.reply-card strong{display:block;font-size:19px;line-height:1.4}.reply-card small{display:block;color:#64748b;font-size:13px;line-height:1.45;margin-top:6px}.outline-btn{background:#fff;border:2px solid #64748b;color:#334155}.custom-btn{background:#7c3aed;color:#fff}.ghost-btn{background:transparent;border:1px solid #cbd5e1;color:#475569}.custom-panel{margin-top:0}.custom-result{margin-top:15px;background:#f5f3ff;padding:16px;border-radius:14px}.custom-result p{font-size:21px;font-weight:900;line-height:1.5}.status{margin:14px 0;border-radius:14px;padding:13px 14px;background:#e0f2fe;color:#075985;font-weight:700}.status.error{background:#fee2e2;color:#991b1b}.status.info{background:#e0f2fe;color:#075985}footer{color:#64748b;font-size:11px;line-height:1.55;padding:15px 5px}@media(min-width:700px){.app-shell{padding-top:28px}.mode-grid{grid-template-columns:1fr 1fr}.safety-note{grid-column:1/-1}}
