/* ERGOREST.CARE operator dashboard */
:root{--navy:#102b50;--yellow:#ffcb05;--yellow-hover:#ffd53b;--muted:#617189;--line:#dce3ed;--canvas:#f3f5f9;--cream:#fffdf8;--warm-line:#e6dfcf;--shadow:0 5px 18px #102b5008}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:126px}
body{margin:0;color:var(--navy);background:#fff;font:16px/1.6 Montserrat,Arial,sans-serif;-webkit-font-smoothing:antialiased}
button,input{font:inherit;color:inherit}
button{cursor:pointer;-webkit-tap-highlight-color:transparent}
button,input,summary{transition:border-color .18s,background .18s,box-shadow .18s}
button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #3160ac;outline-offset:4px}
button:disabled{cursor:not-allowed;opacity:.45}
button svg{pointer-events:none}
h1,h2,h3,p{margin:0}
h1,h2{font-weight:700;letter-spacing:-.04em}
button{border:1px solid var(--line);border-radius:13px;background:#fff}
.hidden{display:none!important}
.wrap{width:min(1220px,calc(100% - 64px));margin-inline:auto}
.icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;font-size:19px;line-height:1;flex-shrink:0}
.mark{background:linear-gradient(transparent 78%,#ffe383 78%,#ffe383 95%,transparent 95%);box-decoration-break:clone;-webkit-box-decoration-break:clone}
.eyebrow{font-size:11px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--muted)}
.muted{color:var(--muted)}
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}
.header-inner{min-height:104px;display:flex;align-items:center;justify-content:space-between;gap:24px}
/* Only the empty margins of the embedded original are clipped. Its bytes are unchanged. */
.brand{display:block;position:relative;width:285px;aspect-ratio:5.05;overflow:hidden;flex-shrink:0}
.brand img{position:absolute;width:143.18367%;max-width:none;height:auto;left:-21.59184%;top:-206.18367%}
.header-info{display:flex;align-items:center;gap:23px}
.header-title{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600}
.header-title .icon{width:21px;height:21px}
.prototype-tag{font-size:10px;line-height:1.4;padding:7px 11px;border:1px solid var(--line);border-radius:7px;color:var(--muted);background:#fafbfd}
.login-screen{padding:66px 0 30px;min-height:calc(100svh - 105px);display:flex;flex-direction:column;justify-content:center}
.login-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(350px,.8fr);align-items:center;gap:76px;padding-bottom:62px}
.login-intro>.eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:22px}
.eyebrow-line{width:28px;height:3px;border-radius:2px;background:var(--yellow)}
.login-intro h1{font-size:clamp(38px,4.1vw,56px);line-height:1.17;letter-spacing:-.045em;margin-bottom:24px}
.login-intro .intro-copy{max-width:480px;font-size:16px;line-height:1.9;color:var(--muted)}
.login-reassurance{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;margin-top:27px}
.login-reassurance .icon{width:19px;height:19px}
.login-card{background:linear-gradient(135deg,#fff,#f8f9fc);border:1px solid var(--line);border-radius:20px;padding:36px;box-shadow:0 10px 36px #102b5006}
.login-symbol{height:52px;width:52px;display:grid;place-items:center;border-radius:15px;background:#fff2bd;border:1px solid #f3e0a1;margin-bottom:24px}
.login-symbol .icon{height:27px;width:27px}
.login-card h2{font-size:29px;line-height:1.25;letter-spacing:-.03em;margin-bottom:10px}
.login-card>p{font-size:14px;line-height:1.8;color:var(--muted)}
label{display:block;font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;margin:26px 0 9px}
input{width:100%;min-width:0;border:1px solid #ccd5e2;background:#fff;border-radius:11px;padding:15px 16px;font-size:16px;line-height:1.5}
input::placeholder{color:#8995a5}
input:hover{border-color:#a8b7cb}
input:focus{border-color:#a6b5cc}
.button{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:54px;padding:14px 20px;font-size:14px;line-height:1.45;font-weight:700}
.button:hover:not(:disabled){background:#f5f7fa;border-color:#a8b9ce}
.button.primary,.choice.primary{background:var(--yellow);border-color:var(--yellow);color:#102348;box-shadow:0 3px 0 #dba900,0 7px 18px #e7b71524}
.button.primary:hover:not(:disabled),.choice.primary:hover{background:var(--yellow-hover);border-color:var(--yellow-hover)}
.button.primary:active:not(:disabled),.choice.primary:active{transform:translateY(2px);box-shadow:0 1px 0 #dba900}
.button.primary:disabled{background:#f4e2a1;border-color:#f4e2a1;box-shadow:none;color:#6c6a5e;opacity:1}
.wide{width:100%;margin-top:17px}
.login-card .small-note{font-size:11px;text-align:center;margin-top:18px;color:#718099}
.login-journey{padding:29px 0;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;list-style:none;margin:0}
.login-journey li{display:flex;align-items:center;gap:14px}
.journey-number{font-size:12px;font-weight:700;letter-spacing:.02em;width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:#f7f9fc;flex-shrink:0}
.login-journey strong{display:block;font-size:13px;font-weight:600}
.login-journey small{display:block;font-size:11px;color:var(--muted);margin-top:2px}
.prototype-note{font-size:11px;line-height:1.8;color:#718099;text-align:center;padding:18px 0 0}
.workspace{padding-bottom:30px}
.dashboard-header{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:32px;padding-block:20px}
.header-left{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:17px}
.header-right{display:flex;justify-content:flex-end;align-items:center;gap:24px}
.workspace-title{font-size:clamp(28px,2.6vw,37px);line-height:1.3;overflow-wrap:anywhere;}
.apphead-copy .subtitle{font-size:14px;color:var(--muted)}
.operator-control{display:flex;align-items:center;gap:12px;flex-shrink:0}
.operator-avatar{display:grid;place-items:center;background:#fff1b7;border:1px solid #eddda4;width:43px;height:43px;border-radius:50%;font-size:13px;font-weight:700}
.text-button{display:inline-flex;align-items:center;gap:8px;border:0;background:none;padding:8px 0;font-size:12px;color:#526680;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.text-button:hover{color:var(--navy)}
.work-area{background:var(--canvas);border-block:1px solid #e4e9f0;padding:28px 0 34px}
.grid{display:grid;grid-template-columns:270px minmax(0,1fr);gap:24px;align-items:start}
.sidebar{min-width:0}
.customer-panel{border:1px solid var(--line);border-radius:17px;background:#fff;padding:23px;box-shadow:var(--shadow)}
.customer-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.panel-kicker{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.09em;font-weight:700;color:var(--muted);text-transform:uppercase}
.panel-kicker .icon{width:17px;height:17px}
.order-search-button{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;padding:0;border-radius:9px;background:#f6f8fb;color:#526680}
.order-search-button:hover{border-color:#a8b9ce;background:#edf2f7;color:var(--navy)}
.order-search-icon{width:15px;height:15px;font-size:13px}
.customer-identity{display:flex;align-items:center;gap:12px;margin:21px 0 19px}
.customer-avatar{width:43px;height:43px;flex:0 0 43px;border-radius:50%;display:grid;place-items:center;background:#edf1f7;color:#486282;font-weight:600;font-size:13px}
.customer-name{font-size:17px;font-weight:700;line-height:1.4;letter-spacing:-.025em;overflow-wrap:anywhere}
.customer-identity small{display:block;font-size:10px;color:#718099;margin-top:3px}
.customer-panel label{margin:0 0 8px;font-size:10px;letter-spacing:.06em}
.customer-panel input{font-size:14px;padding:12px 13px}
.customer-note{font-size:11px;line-height:1.75;color:var(--muted);margin-top:13px}
.journey-panel{padding:25px 9px 7px}
.journey-panel h2{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#617189;font-weight:700;margin:0 0 20px 5px}
.step-list{list-style:none;margin:0;padding:0}
.step-list li{position:relative;display:flex;align-items:flex-start;gap:13px;padding:0 0 24px;min-height:66px;color:#718099}
.step-list li:not(:last-child)::after{content:"";position:absolute;left:17px;top:38px;bottom:5px;width:1px;background:#d3dce8}
.step-number{width:35px;height:35px;flex:0 0 35px;border:1px solid #ced8e5;border-radius:50%;display:grid;place-items:center;background:#f3f5f9;font-size:12px;font-weight:600;position:relative;z-index:1}
.step-number .icon{height:17px;width:17px}
.step-copy{padding-top:1px}
.step-copy strong{display:block;font-size:12px;font-weight:600;line-height:1.5}
.step-copy small{display:block;font-size:10px;line-height:1.5;margin-top:3px;color:#718099}
.step-list li.active{color:var(--navy)}
.step-list li.active .step-number{background:var(--yellow);border-color:var(--yellow);box-shadow:0 0 0 4px #ffcb051a}
.step-list li.active .step-copy strong{font-weight:700}
.step-list li.visited{color:var(--navy)}
.step-list li.visited .step-number{background:var(--navy);border-color:var(--navy);color:white}
.step-list li.skipped .step-number{border-style:dashed;color:#8693a5}
.sidebar-tip{font-size:12px;line-height:1.85;border-top:1px solid #dce3ed;padding-top:19px;color:#617189}
.sidebar-tip strong{display:block;font-size:13px;color:var(--navy);font-weight:600;margin-bottom:4px}
.script-panel{min-width:0;background:#fff;border:1px solid var(--line);border-radius:20px;padding:30px;box-shadow:var(--shadow)}
.script-meta{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
.step-label{font-size:10px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:#617189}
.call-status{font-size:10px;font-weight:600;background:#f4f6fa;border:1px solid #e5eaf1;border-radius:30px;padding:5px 10px;display:flex;align-items:center;gap:7px;white-space:nowrap}
.status-dot{display:block;height:5px;width:5px;border-radius:50%;background:var(--navy)}
.call-status.complete{background:#fff7d9;border-color:#f2e3ab}
.call-status.complete .status-dot{background:#a77e00}
.stepbar{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:24px}
.stepbar span{height:4px;border-radius:4px;background:#edf0f5}
.stepbar span.on{background:var(--yellow)}
.stepbar span.past{background:#d6dfeb}
.script-panel h2{font-size:clamp(24px,2.35vw,31px);line-height:1.3;margin-bottom:25px;letter-spacing:-.035em}
.script-panel h2:focus{outline:none}
.speech-card{position:relative;background:var(--cream);border:1px solid var(--warm-line);border-left:3px solid var(--yellow);border-radius:16px;padding:23px 28px 26px;box-shadow:0 4px 16px #102b5004}
.speech-label{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.08em;font-weight:700;color:#7d7153;text-transform:uppercase;margin-bottom:15px}
.speech-label .icon{width:16px;height:16px}
.quote-mark{position:absolute;right:22px;top:7px;font:68px/1 Georgia,serif;color:#f3d987;pointer-events:none}
.speech{position:relative;white-space:pre-line;font-size:clamp(18px,1.5vw,21px);font-weight:500;line-height:1.85;color:#35445c;overflow-wrap:anywhere;margin:0}
.hint{display:flex;align-items:flex-start;gap:9px;margin:17px 2px 25px;color:#617189;font-size:12px;line-height:1.8}
.hint .icon{width:16px;height:16px;margin-top:3px}
.response-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:24px 0 12px}
.question{font-weight:700;font-size:14px;letter-spacing:-.01em}
.response-guide{font-size:10px;color:#718099}
.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.choices.disabled{opacity:.48;filter:grayscale(.25);pointer-events:none}
.choices.disabled .choice{cursor:not-allowed}
.call-required-hint{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 0 12px;padding:10px 13px;border:1px dashed #b8c3d1;border-radius:10px;background:#f5f7fa;color:#617189;font-size:11px;font-weight:600}
.call-required-icon{width:16px;height:16px;font-size:13px}
.choice{display:flex;align-items:center;gap:12px;min-height:68px;padding:14px 16px;text-align:left;font-size:13px;line-height:1.5;font-weight:600;min-width:0}
.choice:hover{border-color:#a6b8cf;background:#f7f9fc}
.choice-icon{display:grid;place-items:center;flex:0 0 31px;height:31px;border-radius:50%;background:#f2f5f9;color:#526985}
.choice-icon .icon{width:19px;height:19px}
.choice.primary .choice-icon{background:#ffffff55;color:var(--navy)}
.choice-label{min-width:0;flex:1}
.choice-arrow{width:16px;height:16px;opacity:.6}
.choices.single{grid-template-columns:1fr}
.choices.single .choice{max-width:none}
.done{grid-column:1/-1;display:flex;align-items:center;gap:13px;border:1px solid #ecdfad;border-radius:13px;background:#fff9e6;padding:18px 20px;font-size:13px;line-height:1.7}
.done-icon{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border:1px solid #ecd37b;background:#fff0b5;border-radius:50%}
.done-icon .icon{width:19px;height:19px}
.done strong{font-size:13px;font-weight:700;display:block}
.done small{display:block;color:#617189;font-size:11px;margin-top:2px}
.faq{margin-top:22px;border:1px solid var(--line);border-radius:13px;background:#fbfcfe;padding:0 18px}
.faq summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;min-height:58px;padding:15px 0;font-size:12px;font-weight:600;line-height:1.6}
.faq summary::-webkit-details-marker{display:none}
.faq summary>.icon:first-child{width:18px;height:18px}
.faq summary>.chevron{margin-left:auto;width:18px;height:18px;transition:transform .2s}
.faq[open] summary>.chevron{transform:rotate(180deg)}
.faq-content{border-top:1px solid var(--line);padding:7px 0 18px}
.faq-content p{font-size:13px;line-height:1.8;margin-top:15px;color:#526680}
.faq-content b{font-weight:600;color:var(--navy)}
.actions{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);margin-top:26px;padding-top:21px}
.actions .button{min-height:45px;padding:10px 15px;font-size:12px;gap:9px}
.actions .icon{width:17px;height:17px}
.workspace .prototype-note{max-width:800px;margin:auto;padding:21px 20px 0}
@media(min-width:1100px){.sidebar{position:sticky;top:0px}}
@media(max-width:1100px){.login-layout{gap:40px;grid-template-columns:minmax(0,1.1fr) minmax(330px,.9fr)}.login-card{padding:30px}.grid{grid-template-columns:235px minmax(0,1fr);gap:20px}.customer-panel{padding:20px}.script-panel{padding:26px}.speech-card{padding:21px 24px}.choice{padding:13px 12px;gap:9px}.choice-icon{flex-basis:27px;height:27px}}
@media(max-width:850px){.wrap{width:calc(100% - 40px)}.header-inner{min-height:91px}.brand{width:250px}.header-title{font-size:12px}.prototype-tag{display:none}.login-screen{padding-top:44px;min-height:calc(100svh - 92px)}.login-layout{grid-template-columns:1fr;gap:33px;max-width:600px;margin:auto;padding-bottom:40px}.login-intro{text-align:center}.login-intro>.eyebrow{justify-content:center}.login-intro h1{font-size:44px}.login-intro .intro-copy{margin:auto;max-width:500px}.login-reassurance{justify-content:center;margin-top:20px}.login-card{width:min(440px,100%);margin:auto;text-align:left}.login-journey{grid-template-columns:repeat(2,minmax(0,1fr));max-width:600px;margin-inline:auto;gap:20px 28px}.grid{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.journey-panel{padding:3px 5px 0}.journey-panel h2{margin-bottom:14px}.step-list li{padding-bottom:15px;min-height:53px}.step-list li:not(:last-child)::after{bottom:3px}.step-copy small{display:none}.step-copy{padding-top:8px}.sidebar-tip{display:none}.script-panel{padding:28px}.speech{font-size:20px}.apphead{padding:27px 0 24px}.operator-avatar{display:none}.apphead .eyebrow{font-size:9px}.apphead .subtitle{font-size:12px}.choices{gap:12px}.choice{padding:15px 17px}.choice-icon{flex-basis:32px;height:32px}.script-panel h2{font-size:29px}.prototype-note{font-size:10px}}
@media(max-width:520px){html{scroll-padding-top:96px}.wrap{width:calc(100% - 28px)}.header-inner{min-height:81px;gap:12px}.brand{width:215px;max-width:61vw}.header-title{font-size:10px;line-height:1.5;max-width:97px;gap:6px}.header-title .icon{width:18px;height:18px}.login-screen{padding-top:32px}.login-intro>.eyebrow{font-size:9px;margin-bottom:20px;gap:8px}.login-intro h1{font-size:clamp(29px,8.4vw,40px);line-height:1.22;margin-bottom:20px}.login-intro .intro-copy{font-size:13px;line-height:1.85;max-width:340px}.login-reassurance{font-size:11px;gap:7px}.login-reassurance .icon{width:16px;height:16px}.login-layout{gap:27px;padding-bottom:30px}.login-card{padding:26px 23px;border-radius:17px}.login-symbol{margin-bottom:19px;width:45px;height:45px;border-radius:13px}.login-symbol .icon{width:24px;height:24px}.login-card h2{font-size:25px}.login-card>p{font-size:13px}.login-card label{font-size:10px;margin-top:22px}.login-card .button{font-size:14px}.login-journey{gap:20px 13px;padding:24px 2px}.login-journey li{gap:9px}.journey-number{width:31px;height:31px;font-size:10px}.login-journey strong{font-size:11px}.login-journey small{font-size:9px}.prototype-note{font-size:9px;padding-top:12px}.apphead{align-items:flex-start;padding:23px 0 20px;gap:10px}.apphead h1{font-size:27px;line-height:1.35;margin:7px 0}.apphead .subtitle{font-size:11px;max-width:215px}.operator-control{padding-top:5px;max-width:81px}.text-button{font-size:10px;text-align:right;line-height:1.7;padding:0}.apphead .eyebrow{font-size:8px;letter-spacing:.08em}.work-area{padding:18px 0 24px}.grid{gap:18px}.sidebar{grid-template-columns:1fr;gap:16px}.customer-panel{padding:18px;border-radius:15px;display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;align-items:start}.panel-kicker{grid-column:1/-1;font-size:9px;margin-bottom:5px}.customer-identity{margin:2px 0 0;gap:9px}.customer-avatar{width:34px;height:34px;flex-basis:34px;font-size:11px}.customer-name{font-size:14px}.customer-identity small{font-size:9px;margin-top:3px}.customer-fields label{font-size:8px;margin-bottom:5px}.customer-panel input{font-size:16px;padding:9px 10px;border-radius:9px}.customer-note{grid-column:1/-1;font-size:10px;margin-top:3px;line-height:1.6}.journey-panel{padding:0 1px}.journey-panel h2{display:none}.step-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.step-list li{padding:0;gap:7px;display:flex;flex-direction:column;align-items:center;min-height:0;text-align:center}.step-list li:not(:last-child)::after{width:calc(100% - 35px);height:1px;top:17px;left:calc(50% + 21px);bottom:auto}.step-copy{padding:0}.step-copy strong{font-size:9px;line-height:1.4;font-weight:600}.step-number{width:32px;height:32px;flex-basis:32px;font-size:10px}.script-panel{padding:21px 17px;border-radius:17px}.script-meta{margin-bottom:15px;gap:8px}.step-label{font-size:9px}.call-status{font-size:9px;padding:4px 8px;gap:5px}.stepbar{margin-bottom:20px;gap:5px}.script-panel h2{font-size:25px;line-height:1.3;margin-bottom:21px}.speech-card{padding:18px 18px 21px;border-radius:13px}.speech-label{font-size:8px;gap:7px;margin-bottom:13px}.speech-label .icon{height:15px;width:15px}.quote-mark{font-size:57px;right:14px;top:6px}.speech{font-size:17px;line-height:1.85}.hint{font-size:11px;gap:7px;margin:15px 0 21px}.hint .icon{width:15px;height:15px}.response-header{margin-top:21px;gap:8px}.question{font-size:13px}.response-guide{display:none}.choices{grid-template-columns:1fr;gap:10px}.choice{min-height:62px;padding:12px 14px;font-size:13px;gap:11px}.choice-icon{width:29px;height:29px;flex-basis:29px}.choice-icon .icon{width:18px;height:18px}.done{padding:15px 14px;gap:10px}.done strong{font-size:12px}.done small{font-size:10px;line-height:1.7}.done-icon{height:30px;width:30px;flex-basis:30px}.faq{padding:0 14px;margin-top:18px}.faq summary{font-size:11px;gap:8px;min-height:57px}.faq-content p{font-size:12px}.actions{padding-top:18px;margin-top:22px;gap:10px}.actions .button{font-size:11px;padding:10px 12px;gap:7px}.workspace .prototype-note{font-size:9px;padding-top:17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
@media print{.site-header{position:static}.header-inner{min-height:80px}.login-screen{min-height:auto}.work-area{background:white}.wrap{width:100%}.sidebar,.operator-control,.actions,.choices,.response-header,.prototype-note,.call-status{display:none!important}.grid{display:block}.script-panel{box-shadow:none;border:0;padding:0}.speech{font-size:15px}.speech-card{break-inside:avoid}.apphead{padding:20px 0}.speech-card{background:#fffdf8}}

.google-oauth-copy{margin-bottom:20px}
.google-oauth-success{margin:16px 0;padding:12px 14px;border:1px solid #b9ddca;border-radius:10px;background:#effaf4;color:#246440!important;font-weight:600}
.google-oauth-error{margin:16px 0}
.google-oauth-details{display:grid;gap:10px;margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff}
.google-oauth-detail{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(0,1.3fr);gap:12px;align-items:start}
.google-oauth-detail dt{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.google-oauth-detail dd{margin:0;font-size:12px;line-height:1.5;color:var(--ink);overflow-wrap:anywhere}
.google-oauth-back{display:block;margin-top:18px;text-align:center;font-size:12px;font-weight:600;color:var(--muted)}
@media(max-width:520px){.google-oauth-detail{grid-template-columns:1fr;gap:4px}}


/* Operator instruction between the identity check and the spoken follow-up. */
.speech-pause{display:block;margin:19px 0;padding:10px 0;border-block:1px solid #eee9df;color:#617189;font-size:11px;font-weight:600;line-height:1.7;white-space:normal}
.speech-continuation{display:block}
@media(max-width:520px){.speech-pause{font-size:10px;margin:16px 0;padding:9px 0}}

/* Call and SMS actions in the established Ergorest button style. */
.call-button{width:100%;min-height:46px;margin-top:12px;font-size:12px;gap:9px}
.call-button .icon{width:18px;height:18px}
.call-button-check{color:#168447}
.call-button.call-complete:disabled,.sms-send.call-complete:disabled{border-color:#9ed7b6;background:#e8f7ee;color:#126c3b;box-shadow:none;cursor:default;opacity:1}
.action-feedback{font-size:11px;line-height:1.7;color:#617189;margin:12px 0 0;overflow-wrap:anywhere}
.sms-action{margin-top:17px}
.sms-action>.button{width:100%;min-height:54px;gap:11px}
.sms-action .icon{width:20px;height:20px}
.sms-note{font-size:10px;line-height:1.6;color:#718099;text-align:center;margin:12px 0 0}
.sms-action>.action-feedback{text-align:center}
@media(max-width:520px){.call-button{min-height:43px;font-size:11px;padding:10px 12px;margin-top:10px}.action-feedback{font-size:10px}.sms-action>.button{font-size:13px}.sms-note{font-size:9px}}
@media print{.call-button,.sms-action,.action-feedback{display:none!important}}

.feedback-panel{margin:25px 0;padding:22px;border:1px solid var(--line);border-radius:15px;background:#f8fafd}
.feedback-panel>label{font-size:15px;font-weight:700;letter-spacing:-.015em;text-transform:none;margin:0 0 7px}
.feedback-help{font-size:12px;line-height:1.8;color:#617189;margin-bottom:13px}
.feedback-panel textarea{display:block;width:100%;min-height:135px;resize:vertical;border:1px solid #ccd5e2;border-radius:11px;background:#fff;padding:13px 15px;font:14px/1.8 Montserrat,Arial,sans-serif;color:#102b50}
.feedback-panel textarea::placeholder{color:#8995a5}
.feedback-panel textarea:focus-visible{outline:3px solid #3160ac;outline-offset:3px}
.feedback-storage-note{font-size:10px;line-height:1.8;color:#718099;margin:11px 0 16px}
.feedback-panel>.button{font-size:12px;min-height:48px;gap:9px}
.feedback-panel>.button>.icon{width:18px;height:18px}
.feedback-status{font-size:11px;color:#526680;line-height:1.8;margin:14px 0 0}
.feedback-status:empty{display:none}
@media(max-width:520px){.feedback-panel{padding:18px 15px;margin-block:21px}.feedback-panel>label{font-size:14px}.feedback-help{font-size:11px}.feedback-panel textarea{font-size:16px;padding:11px 12px}.feedback-panel>.button{width:100%;font-size:10px;padding-inline:10px;gap:7px}.feedback-status{font-size:10px}}
@media print{.feedback-panel{display:none!important}}

/* Customer identity is read-only; the call action sits directly below it. */
.customer-panel .customer-identity,.customer-phone,.customer-actions{grid-column:1/-1}
.customer-phone{display:flex;align-items:center;gap:9px;margin:-5px 0 16px;color:var(--navy);font-size:17px;font-weight:700;letter-spacing:.01em}
.customer-phone-icon{width:18px;height:18px;font-size:15px;color:#526680}
.customer-phone-number{overflow-wrap:anywhere}
.customer-actions .call-button{margin-top:0}

/* A clean welcome screen with only the greeting and operator entry. */
.login-screen{padding-block:48px}
.login-layout{padding-bottom:0}
@media(max-width:520px){.login-screen{padding-block:32px}}

/* ERGOREST.CARE sign-in. */
.login-intro>.eyebrow,.apphead-copy .eyebrow{color:#102b50;font-weight:700;letter-spacing:.12em}
.password-field{position:relative}
.password-field>input{padding-right:58px}
.password-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:9px;background:transparent;color:#617189}
.password-toggle:hover{background:#f1f4f8;color:#102b50}
.password-toggle .icon{width:21px;height:21px}
.password-toggle[aria-pressed="true"]{color:#102b50;background:#fff2bd}
.login-error{font-size:12px;line-height:1.7;color:#9c392d;margin-top:13px}
.login-card input[aria-invalid="true"]{border-color:#b65c50}
@media(max-width:520px){.login-error{font-size:11px}.password-toggle{width:40px;height:40px;right:4px}.password-field>input{padding-right:52px}}

/* Empty queue state. */
.empty-workspace{min-height:calc(100svh - 208px);display:grid;place-items:center;padding:48px 0}
.empty-state{max-width:680px;text-align:center;padding:54px 36px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow)}
.empty-state-icon{width:64px;height:64px;display:grid;place-items:center;margin:0 auto 22px;border:1px solid #eddda4;border-radius:18px;background:#fff1b7}
.empty-state-icon .icon{font-size:25px}
.empty-state-title{font-size:clamp(27px,3.2vw,40px);line-height:1.3;margin:8px 0 14px}
.empty-state-copy{color:var(--muted);font-size:14px}
.empty-state-actions{display:flex;flex-direction:column;align-items:center;gap:15px;margin-top:28px}
.empty-state-refresh{text-decoration:none;min-width:180px}
@media(max-width:520px){.empty-workspace{min-height:calc(100svh - 140px);padding:28px 0}.empty-state{padding:38px 22px}.empty-state-title{font-size:27px}.empty-state-copy{font-size:12px}}

/* Compact recent-orders modal for direct test navigation. */
body.modal-open{overflow:hidden}
.orders-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:24px;background:#102b507a;backdrop-filter:blur(3px)}
.orders-modal-panel{width:min(820px,100%);max-height:min(760px,calc(100svh - 48px));display:flex;flex-direction:column;overflow:hidden;border:1px solid #d5deea;border-radius:19px;background:#fff;box-shadow:0 24px 70px #102b503d}
.orders-modal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 23px 17px;border-bottom:1px solid var(--line)}
.orders-modal-kicker{margin-bottom:2px;color:var(--muted);font-size:9px;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.orders-modal-title{font-size:22px;line-height:1.35}
.orders-modal-close{display:grid;place-items:center;flex:0 0 37px;width:37px;height:37px;padding:0;border-radius:10px;background:#f6f8fb;color:#526680}
.orders-modal-close:hover{background:#edf2f7;color:var(--navy)}
.orders-modal-close-icon{width:17px;height:17px;font-size:16px}
.orders-list{overflow:auto;padding:8px}
.orders-list-item{display:grid;grid-template-columns:48px minmax(160px,1.45fr) minmax(115px,.9fr) auto 18px;align-items:center;gap:13px;min-height:59px;padding:9px 12px;border:1px solid transparent;border-radius:11px;color:var(--navy);text-decoration:none}
.orders-list-item:hover{border-color:#d9e1eb;background:#f7f9fc}
.orders-list-item:focus-visible{outline:3px solid #3160ac;outline-offset:1px}
.orders-list-item.current{border-color:#f0d56d;background:#fff9df}
.orders-list-id{font-size:10px;font-weight:700;color:#718099}
.orders-list-customer,.orders-list-meta{min-width:0;display:flex;flex-direction:column}
.orders-list-name,.orders-list-model{overflow:hidden;font-size:12px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}
.orders-list-phone,.orders-list-date{overflow:hidden;color:#718099;font-size:9px;line-height:1.55;text-overflow:ellipsis;white-space:nowrap}
.orders-list-status{padding:4px 7px;border-radius:20px;background:#edf1f6;color:#526680;font-size:8px;font-weight:700;letter-spacing:.04em;white-space:nowrap}
.orders-list-status.status-pending{background:#fff3c5;color:#795d00}
.orders-list-status.status-answered{background:#e5f5ec;color:#176b40}
.orders-list-status.status-not_answered{background:#f8e8e8;color:#944040}
.orders-list-arrow{width:14px;height:14px;font-size:11px;color:#718099}
.orders-list-empty{padding:35px 20px;color:var(--muted);font-size:12px;text-align:center}
@media(max-width:650px){.orders-modal{padding:12px}.orders-modal-panel{max-height:calc(100svh - 24px);border-radius:15px}.orders-modal-header{padding:17px}.orders-modal-title{font-size:19px}.orders-list-item{grid-template-columns:39px minmax(0,1fr) auto 14px;gap:9px;padding:9px 8px}.orders-list-meta{display:none}.orders-list-status{font-size:7px;padding-inline:5px}}

/* Dashboard identity and operator controls share the two-column header. */
@media(max-width:850px){.dashboard-header{gap:20px;padding-block:16px}.header-left{gap:12px}.workspace-title{font-size:28px}.apphead-copy .eyebrow{font-size:9px}.apphead-copy .subtitle{font-size:12px}}
@media(max-width:520px){html{scroll-padding-top:190px}.dashboard-header{gap:10px;padding-block:12px}.header-left{gap:9px}.dashboard-header .brand{width:180px}.workspace-title{font-size:22px;line-height:1.3}.apphead-copy .eyebrow{font-size:8px;letter-spacing:.08em}.apphead-copy .subtitle{max-width:190px;font-size:10px;line-height:1.5}.header-right{align-self:end;gap:10px;padding-bottom:4px}.customer-panel-header{grid-column:1/-1}.order-search-button{width:30px;height:30px;flex-basis:30px}}
