/* Approved visual treatment over the existing preparation and run contracts. */
.ip-adopted,.iu-interpreter-adopted{font-family:"Zen Maru Gothic","Yu Gothic UI",system-ui,sans-serif;background:#f8fbff;color:#203f68}
.ip-adopted .ip-body,.iu-interpreter-adopted .iu-body{padding:22px 20px}
.ip-adopted .ip-body h1,.iu-interpreter-adopted .iu-title{font-size:23px;line-height:1.45;letter-spacing:.03em}
.ip-adopted .ip-pair{gap:14px;margin:18px 0}
.ip-adopted .ip-pair .ip-action{border-radius:20px;padding:16px 12px;background:#eff6ff;border-color:#ccdff0;text-align:center}
.ip-adopted .ip-pair .ip-action:last-child{background:#edf8f3;border-color:#bedccd;color:#24614a}
.ip-adopted .ip-pair .ip-action>span{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.ip-adopted .ip-pair img{width:34px;height:28px;object-fit:contain}
.ip-adopted .ip-pair small{font-size:14px}
.ip-adopted .ip-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ip-adopted .ip-modes .ip-action{text-align:center;padding:16px 8px;border:1px solid #d3e0ed;border-radius:22px;box-shadow:0 5px 15px #24446c08;background:#fff}
.ip-adopted .ip-modes .ip-action::before{content:'';display:block;width:40px;height:40px;margin:0 auto 12px;background:currentColor;mask:var(--ip-mode-icon) center/contain no-repeat;-webkit-mask:var(--ip-mode-icon) center/contain no-repeat}
.ip-adopted [data-mode=listen]{--ip-mode-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M7 23v-6a13 13 0 0 1 26 0v6M7 20h5v13H7zM28 20h5v13h-5z'/%3E%3C/svg%3E")}
.ip-adopted [data-mode=talk]{--ip-mode-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M4 6h25v19H14l-7 6v-6H4zM30 15h6v20l-7-5H19'/%3E%3C/svg%3E")}
.ip-adopted [data-mode=read]{--ip-mode-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='black' stroke-width='3'%3E%3Crect x='4' y='7' width='32' height='26' rx='4'/%3E%3Cpath d='M9 17h22M9 24h13M26 24h5'/%3E%3C/svg%3E")}
.ip-adopted .ip-modes .ip-action[aria-pressed=true]{background:#eaf4ff;border:2px solid #4b84b9;box-shadow:0 5px 15px #24446c14}
.ip-adopted .ip-modes .ip-action>span{font-size:18px}
.ip-adopted .ip-modes small{font-size:13px;line-height:1.55;text-align:start}
.ip-adopted .ip-links{grid-template-columns:1fr}
.ip-adopted .ip-footer{background:#f8fbfff2;border-top:1px solid #dce7f0;backdrop-filter:blur(12px)}
.ip-adopted .ip-footer>.ip-note{font-size:16px;margin:6px 0;line-height:1.55}
.ip-adopted .ip-main-actions{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:8px;margin-top:12px;align-items:start}
.ip-adopted .ip-main-actions .ip-round{display:flex;flex-direction:column;align-items:center;gap:12px;min-width:0;border:0;border-radius:0;background:none;color:#24486e;margin:0;padding:0;text-align:center}
.ip-adopted .ip-round__icon{display:grid;place-items:center;width:54px;height:54px;margin:9px 0;border-radius:50%;background:#e5edf6;border:1px solid #d7e3ee;flex:none}
.ip-adopted .ip-primary .ip-round__icon{width:72px;height:72px;margin:0;background:#238960;border:2px solid #a9d6c2;box-shadow:0 5px 12px #23896026}
.ip-adopted [data-prep-action=start] .ip-round__icon::after{content:'';width:0;height:0;border-block:11px solid transparent;border-left:17px solid #fff;margin-left:4px}
.ip-adopted [data-prep-action=back] .ip-round__icon::after{content:'←';font:24px/1 sans-serif}
.ip-adopted [data-prep-action=adjust] .ip-round__icon::after{content:'⚙';font:26px/1 sans-serif}
.ip-adopted .ip-round__label{font-size:13px;line-height:1.5;min-height:3em}
.ip-adopted .ip-languages .ip-language-card{position:relative;isolation:isolate;min-height:100px;overflow:hidden;display:flex;flex-direction:column;justify-content:center;padding:15px 38% 15px 16px;border-radius:18px;background:#fff}
.ip-adopted .ip-language-card__art{position:absolute;z-index:-1;right:0;top:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.ip-adopted .ip-language-card>span,.ip-adopted .ip-language-card>small{background:#ffffffb8;border-radius:5px;padding:2px 4px;width:fit-content}
.ip-adopted .ip-language-card>small{font-size:13px}
.ip-adopted .ip-language-card[aria-pressed=true]{border:2px solid #4289c1;box-shadow:inset 0 0 0 2px #fff}
.ip-adopted .ip-language-card[aria-pressed=true]::after{content:'✓';position:absolute;right:10px;top:8px;width:24px;height:24px;border-radius:50%;background:#236c9a;color:white;text-align:center;line-height:24px}
.iu-interpreter-adopted .iu-captions{display:flex;flex-direction:column;gap:20px}
.iu-interpreter-adopted .iu-caption--translation{order:0;background:transparent;border:0;border-radius:0;color:#244d49;padding:16px 4px}
.iu-interpreter-adopted .iu-caption--translation .iu-caption__label{color:#4a7965;font-size:13px}
.iu-interpreter-adopted .iu-caption--translation .iu-caption__text{font-size:29px;line-height:1.55;min-height:4em;max-height:42dvh;font-weight:700}
.iu-interpreter-adopted .iu-caption--source{order:1;background:#f1f6fc;border:1px dashed #bdcde0;border-radius:16px}
.iu-interpreter-adopted .iu-caption--source .iu-caption__text{font-size:14px;line-height:1.65;max-height:25dvh;white-space:pre-wrap;text-overflow:clip;-webkit-line-clamp:unset}
.iu-interpreter-adopted .iu-cost{font-size:16px;line-height:1.5;background:#edf4fc;color:#214367;padding:12px 14px;border-radius:14px}
.iu-interpreter-adopted .iu-footer>.iu-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px;align-items:start}
.iu-interpreter-adopted .iu-footer>.iu-controls>.iu-button{display:flex;flex-direction:column;align-items:center;gap:12px;background:transparent;border:0;color:#24486e;padding:0;min-width:0;font-size:13px;line-height:1.45;border-radius:0}
.iu-interpreter-adopted .iu-footer>.iu-controls>.iu-button--primary{grid-column:2;grid-row:1}
.iu-interpreter-adopted .iu-footer>.iu-controls>.iu-button:nth-child(2){grid-column:1;grid-row:1}
.iu-interpreter-adopted .iu-footer>.iu-controls>.iu-button:nth-child(3){grid-column:3;grid-row:1}
.iu-interpreter-adopted .iu-footer>.iu-controls>.iu-button:nth-child(n+4){grid-column:1/-1;display:block;border:1px solid #d2e0eb;border-radius:12px;padding:10px;min-height:44px}
.iu-interpreter-adopted .iu-footer>.iu-controls>.iu-button:nth-child(n+4) .iu-adopted-round__icon{display:none}
.iu-interpreter-adopted .iu-adopted-round__icon{display:grid;place-items:center;width:54px;height:54px;margin:9px 0;border-radius:50%;background:#e4edf7;border:1px solid #d5e3ef;flex:none}
.iu-interpreter-adopted .iu-button--primary .iu-adopted-round__icon{width:72px;height:72px;margin:0;background:#fff;border:2px solid #d7e2ec;box-shadow:0 5px 15px #24446c14}
.iu-interpreter-adopted [data-action=stop] .iu-adopted-round__icon::after{content:'';width:23px;height:23px;border-radius:4px;background:#df4d53}
.iu-interpreter-adopted [data-action=history] .iu-adopted-round__icon::after{content:'≡';font-size:27px}
.iu-interpreter-adopted [data-action=toggle-playback] .iu-adopted-round__icon::after{content:'♪';font-size:26px}
.iu-interpreter-adopted [data-action=save-text] .iu-adopted-round__icon::after{content:'✓';font-size:28px;color:#237957}
.iu-interpreter-adopted [data-action=next-read] .iu-adopted-round__icon::after,.iu-interpreter-adopted [data-action=live] .iu-adopted-round__icon::after{content:'→';font-size:26px}
.iu-interpreter-adopted [data-action=status] .iu-adopted-round__icon::after,.iu-interpreter-adopted [data-action=usage] .iu-adopted-round__icon::after{content:'?';font-size:24px}
.iu-interpreter-adopted [data-action=end-review] .iu-adopted-round__icon::after,.iu-interpreter-adopted [data-action=discard-review] .iu-adopted-round__icon::after{content:'×';font-size:27px}
.iu-interpreter-adopted .iu-adopted-round__label{min-height:2.9em;white-space:normal}
.iu-interpreter-adopted.iu-venue .iu-caption--source{display:none}
.iu-interpreter-adopted.iu-venue .iu-caption--translation{padding:20px 4px;min-height:40dvh;display:flex;flex-direction:column;justify-content:center;text-align:center}
.iu-interpreter-adopted.iu-venue .iu-caption--translation .iu-caption__text{font-size:clamp(29px,4vw,44px);line-height:1.5;max-height:60dvh}
.ip-adopted[data-kind=stage] .ip-check{background:#eaf5ee;border:1px solid #bcd5c6;border-radius:14px;padding:14px;color:#276044}
@media(max-width:359px){.ip-adopted .ip-body,.iu-interpreter-adopted .iu-body{padding:16px 12px}.ip-adopted .ip-modes{gap:6px}.ip-adopted .ip-modes small{font-size:12px}.ip-adopted .ip-modes .ip-action>span{font-size:16px}.ip-adopted .ip-languages .ip-language-card{padding-right:34%}}
/* Production legacy interpreter/stage surfaces (presentation switch remains off). */
.mz-adopted-entry.mz-page{background:#f8fbff;color:#203f68;font-family:"Zen Maru Gothic","Yu Gothic UI",system-ui,sans-serif;padding-bottom:30px!important}
.mz-adopted-entry .mz-h1{font-size:24px;letter-spacing:.03em;margin-bottom:18px}
.mz-adopted-entry .mz-lp,.mz-adopted-entry .mz-langcard{background:transparent;border:0;box-shadow:none;gap:8px}
.mz-adopted-entry .mz-lp__side,.mz-adopted-entry .mz-lang{background:#eef5fc;border:1px solid #cbdff0;border-radius:20px;min-height:94px;padding:12px;box-shadow:none}
.mz-adopted-entry #mzLangPeer{background:#edf8f2;border-color:#c3dece;color:#28614b}
.mz-adopted-entry .mz-lp__txt b{font-size:19px;line-height:1.4}
.mz-adopted-entry .mz-lp__txt small{font-size:13px;line-height:1.5}
.mz-adopted-entry .mz-who__rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:transparent;border:0;padding:0;overflow:visible}
.mz-adopted-entry .mz-who__rail button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:132px;padding:18px 8px;border-radius:22px;background:#fff;border:1px solid #d0deea;color:#284b73;box-shadow:0 5px 14px #24446c08}
.mz-adopted-entry .mz-who__rail button::before{content:'';display:block;width:40px;height:40px;background:currentColor;mask:var(--ip-mode-icon) center/contain no-repeat;-webkit-mask:var(--ip-mode-icon) center/contain no-repeat}
.mz-adopted-entry .mz-who__rail button strong{font-size:18px;font-weight:800}
.mz-adopted-entry .mz-who__rail button.is-on{border:2px solid #528dc0;background:#eaf4ff;box-shadow:0 4px 14px #24446c12}
.mz-adopted-entry.mz-interp>.mz-startblock,.mz-adopted-entry.mz-stage-entry>.mz-startblock{position:static;display:flex;flex-direction:column;align-items:center;gap:14px;margin:20px 0;padding:14px 0 0;border-top:1px solid #e0e9f1;border-radius:0;background:transparent;box-shadow:none}
.mz-adopted-entry.mz-interp>.mz-startblock .mz-bigstart,.mz-adopted-entry.mz-stage-entry>.mz-startblock .mz-bigstart{display:flex;flex-direction:column;align-items:center;gap:12px;order:2;padding:0;min-height:0;width:auto;max-width:100%;background:transparent;border:0;border-radius:0;box-shadow:none;color:#23476a}
.mz-adopted-entry.mz-interp>.mz-startblock .mz-bigstart svg,.mz-adopted-entry.mz-stage-entry>.mz-startblock .mz-bigstart svg{width:72px;height:72px;box-sizing:border-box;padding:22px;border-radius:50%;background:#248e62;color:#fff;border:2px solid #b3dac7;box-shadow:0 5px 15px #248e6226}
.mz-adopted-entry .mz-bigstart span{font-size:14px;font-weight:800;line-height:1.5}
.mz-adopted-entry.mz-interp>.mz-startblock .mz-costnote,.mz-adopted-entry.mz-stage-entry>.mz-startblock .mz-costnote{order:1;font-size:16px;line-height:1.65;text-align:center;background:#edf4fc;padding:10px 12px;border-radius:14px;width:100%}
.mz-adopted-entry.mz-stage-entry>.mz-startblock>.mz-check{order:0;background:#eaf6ee;color:#28604a;border:1px solid #c2ddcc;border-radius:14px;font-size:16px;line-height:1.5;padding:14px;width:100%}
.mz-adopted-entry .mz-fold2{background:#fff;border:1px solid #d6e3ee;border-radius:16px}
.mz-adopted-entry .mz-stage-audio{padding:14px;border:1px solid #d6e3ee;border-radius:18px;background:#fff}
.mz-adopted-live.mz-run{background:#f8fbff;color:#23466b;font-family:"Zen Maru Gothic","Yu Gothic UI",system-ui,sans-serif}
.mz-adopted-live .mz-run__top{background:#fff;border-bottom:1px solid #e0e9f1;flex-wrap:wrap;gap:8px}
.mz-adopted-live .mz-run__clock,.mz-adopted-live .mz-run__pair span{color:#41658a}
.mz-adopted-live .mz-run__rem{background:#e9f2fb;color:#244e79;font-size:16px;line-height:1.4;padding:8px 12px}
.mz-adopted-live .mz-run__pair{padding:12px 16px}
.mz-adopted-live .mz-run__pair span{font-size:14px;background:#edf4fb}
.mz-adopted-live .mz-run__body{padding:16px 20px;justify-content:flex-start;gap:18px}
.mz-adopted-live .mz-run__dialogue{gap:22px}
.mz-adopted-live .mz-run__translation{order:0;background:transparent;border:0;border-radius:0;padding:12px 0}
.mz-adopted-live .mz-run__translation .mz-run__label{color:#42765f;font-size:12px;letter-spacing:.02em}
.mz-adopted-live .mz-run__translation .mz-run__big{color:#255947;font-size:29px;line-height:1.55;max-height:45dvh}
.mz-adopted-live.mz-run--translate .mz-run__heard{order:1;background:#f0f6fc;border:1px dashed #b6cbe0;border-radius:16px;padding:12px 14px}
.mz-adopted-live.mz-run--translate .mz-run__heard .mz-run__small{color:#31577e;font-size:14px;line-height:1.65;max-height:none;overflow:visible;text-overflow:clip;white-space:pre-wrap;-webkit-line-clamp:unset}
.mz-adopted-live .mz-run__label{font-size:12px;color:#66829b;letter-spacing:.02em}
.mz-adopted-live .mz-run__idle{color:#66829b;font-size:18px}
.mz-adopted-live .mz-run__history{border-color:#d4e0eb;background:#f1f6fc;padding:12px;border-radius:14px}
.mz-adopted-live .mz-run__history-row p,.mz-adopted-live .mz-run__history-row small{color:#31577e}
.mz-adopted-live .mz-run__foot{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:8px;background:#f8fbfff2;border-top:1px solid #e1eaf2;padding:14px 16px max(18px,env(safe-area-inset-bottom))}
.mz-adopted-live .mz-run__foot button{display:flex;flex-direction:column;align-items:center;gap:12px;padding:0;min-width:0;min-height:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#244a73;font-size:13px;line-height:1.4;font-weight:700}
.mz-adopted-live .mz-run__foot .mz-run__stop{grid-column:2;grid-row:1}
.mz-adopted-live .mz-run__foot .mz-run__sub:first-child{grid-column:1;grid-row:1}
.mz-adopted-live .mz-run__foot .mz-run__sub:nth-child(2){grid-column:3;grid-row:1}
.mz-adopted-live .mz-adopted-control-icon{display:grid;place-items:center;width:54px;height:54px;flex:none;margin:9px 0;border-radius:50%;border:1px solid #d4e2ef;background:#e5eef8;font-style:normal}
.mz-adopted-live .mz-run__stop .mz-adopted-control-icon{width:72px;height:72px;margin:0;background:#fff;border:2px solid #dbe6ef;box-shadow:0 5px 14px #24446c12}
.mz-adopted-live .mz-run__stop .mz-adopted-control-icon::after{content:'';width:23px;height:23px;border-radius:4px;background:#df4d53}
.mz-adopted-live #mzTermLive .mz-adopted-control-icon::after,.mz-adopted-live #mzTermStage .mz-adopted-control-icon::after{content:'≡';font-size:26px}
.mz-adopted-live #mzStageMute .mz-adopted-control-icon::after{content:'♪';font-size:26px}
.mz-adopted-live #mzStageMute.is-on .mz-adopted-control-icon{background:#badbce;color:#1b6650}
.mz-adopted-live .mz-run__foot button>span{min-height:2.8em;max-width:100%;white-space:normal}
.mz-adopted-live.mz-run--stage #mzStageDialogue>.mz-run__card{display:none}
.mz-adopted-live.mz-run--stage #mzStageTranslated{font-size:clamp(29px,4vw,44px);line-height:1.5;color:#285b49;max-height:60dvh;text-align:center}
.mz-adopted-live.mz-run--stage .mz-stage-output{font-size:14px;color:#477461;text-align:center}
@media(max-width:359px){.mz-adopted-entry .mz-who__rail{gap:6px}.mz-adopted-entry .mz-who__rail button{min-height:116px;padding:14px 6px}.mz-adopted-entry .mz-who__rail button strong{font-size:16px}.mz-adopted-live .mz-run__body{padding-inline:14px}}

.mz-adopted-entry [data-mode=main]{--ip-mode-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M7 23v-6a13 13 0 0 1 26 0v6M7 20h5v13H7zM28 20h5v13h-5z'/%3E%3C/svg%3E")}
.mz-adopted-entry [data-mode=conversation]{--ip-mode-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M4 6h25v19H14l-7 6v-6H4zM30 15h6v20l-7-5H19'/%3E%3C/svg%3E")}
.mz-adopted-entry [data-mode=caption]{--ip-mode-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='black' stroke-width='3'%3E%3Crect x='4' y='7' width='32' height='26' rx='4'/%3E%3Cpath d='M9 17h22M9 24h13M26 24h5'/%3E%3C/svg%3E")}
.mz-adopted-entry .mz-startblock>.mz-adopted-available{order:1;margin:0;color:#245d49;font-size:27px;font-weight:800;line-height:1.4;text-align:center;font-variant-numeric:tabular-nums}
.mz-adopted-live .mz-run__rem{font-size:20px;font-weight:800;line-height:1.4;font-variant-numeric:tabular-nums;white-space:normal}

/* ===== 2026-10-29 Claude takeover: fewer words before starting =====
   The large "あと" line already says what can be used. The counting rule stays on the page
   (it describes the start button) but as one quiet line under the button, not a boxed paragraph. */
.mz-adopted-entry.mz-interp>.mz-startblock .mz-costnote,.mz-adopted-entry.mz-stage-entry>.mz-startblock .mz-costnote{order:3;max-width:34em;margin:0;padding:0;background:transparent;border:0;font-size:14px;line-height:1.6;color:#5a6f88}
.mz-adopted-entry.mz-interp>.mz-startblock .mz-bigstart svg,.mz-adopted-entry.mz-stage-entry>.mz-startblock .mz-bigstart svg{width:84px;height:84px;padding:24px}
.mz-adopted-entry .mz-bigstart span{font-size:16px}
/* Remote call setup: languages, the agreement, one blue button. The guest's code entry is a quiet link at the end. */
.mz-call-entry-page{display:flex;flex-direction:column}
.mz-call-entry-page>.mz-h1{order:0}.mz-call-entry-page>.mz-lp{order:1}.mz-call-entry-page>.mz-startblock{order:2}.mz-call-entry-page>details.mz-fold2{order:3}
.mz-call-entry-page>#mzCallHaveCode{order:4;align-self:center;width:auto;min-height:44px;margin:8px 0 0;padding:0 8px;border:0;background:transparent;box-shadow:none;color:#2e6fd6;font-size:15px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.mz-call-entry-page .mz-startblock .mz-check--big{font-size:14px;line-height:1.6;padding:12px 14px}
.mz-call-entry-page .mz-startblock #mzCallCost{font-size:14px;line-height:1.6;color:#5a6f88;margin-top:4px;text-align:center}
