/* NICO MEDIC: a personal illustrated carnet, with documentary status kept distinct from wellbeing. */
:root{--ink:#183e47;--muted:#627c82;--teal:#187d6d;--blue:#4569a0;--line:#dce8e6;--soft:#eef5f6;--radius:18px;--mint:#e7f4ee;--amber:#95641e;--display:'Aptos Display','Trebuchet MS',sans-serif}
body{background:#f6f9f8;color:var(--ink)}h1,h2,h3,.brand{font-family:var(--display)}.brand{font-size:24px;line-height:.94;letter-spacing:1.2px;gap:12px;font-weight:850}.brand-icon{width:39px;height:39px;background:var(--teal);color:#fff;border-radius:13px;font-size:35px;font-weight:400;display:grid;place-items:center}.sidebar{width:230px;background:#fff;padding:30px 20px}.sidebar nav a.active{background:#e7f4ee;color:#18594f}.sidebar nav a{padding:12px 9px}.patient-chip{margin:35px 0 22px}.patient-chip .avatar{background:#eaf2f5;color:#45647a}.main-wrap{margin-left:230px}.topbar{background:#fff9;height:61px}.home-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.home-heading h1{font-size:44px;font-weight:730;letter-spacing:-1.6px;margin:0 0 8px;line-height:1.05}.hello-dot{color:#f0ad59}.home-heading p:not(.eyebrow){font-size:14px;color:var(--muted);margin:0}.home-heading .eyebrow{font-size:10px;margin-bottom:13px}.today-chip{border:1px solid var(--line);background:#fff;border-radius:12px;font-size:12px;padding:11px 13px;white-space:nowrap;display:flex;gap:9px;align-items:center}.today-chip>span{font-size:21px;color:var(--teal)}main{padding-top:28px;max-width:1450px}.health-stage{background:#e9f3ef;border:1px solid #d3e5dd;border-radius:24px;padding:24px 28px 17px;position:relative;overflow:hidden}.stage-top{display:flex;justify-content:space-between;align-items:center;gap:20px;position:relative;z-index:1}.stage-top h2{font-size:22px;margin:0 0 3px}.stage-top p{font-size:12px;color:var(--muted);margin:0}.status-caption{font-size:11px;display:flex;align-items:center;gap:8px;background:#ffffffa6;border:1px solid #d6e3dc;border-radius:50px;padding:7px 10px}.status-light{display:inline-block;width:7px;height:7px;border-radius:50%;flex-shrink:0}.status-light.done,.spec.done .spec-state{background:#368b68}.status-light.pending,.spec.pending .spec-state{background:#c38a31}.status-light.unknown,.spec.unknown .spec-state{background:#8b9caa}.orbit{position:relative;height:414px;margin-top:8px}.orbit-ring{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);border:1px solid #c2dbd0;border-radius:50%;pointer-events:none}.ring-one{width:430px;height:330px;border-style:dashed}.ring-two{width:530px;height:390px;border-color:#d1e4da}.avatar-center{position:absolute;width:370px;left:50%;top:0;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;z-index:1}.sprite{display:block;background-repeat:no-repeat;width:100%;aspect-ratio:1;flex:none}.sprite.nico{background-image:url('/avatars/nico-sprites.png');background-size:300% 200%}.nico.pose-great{background-position:0 0}.nico.pose-well,.nico.pose-unset{background-position:50% 0}.nico.pose-unset{filter:saturate(.65)}.nico.pose-tired{background-position:100% 0}.nico.pose-unwell{background-position:0 100%}.nico.pose-sick{background-position:50% 100%}.nico.pose-exhausted{background-position:100% 100%}.sprite.doctor{background-image:url('/avatars/bruere-sprites.png');background-size:200% 200%}.doctor.pose-welcome{background-position:0 0}.doctor.pose-attention{background-position:0 100%}.doctor.pose-success{background-position:100% 100%}.doctor.pose-thinking{background-position:100% 0}.avatar-center>.sprite{width:330px;position:relative;z-index:1;animation:avatar-arrive .5s ease-out both}.avatar-plinth{position:absolute;top:298px;width:162px;height:18px;border-radius:50%;background:#bed8c9;opacity:.45;filter:blur(6px)}.avatar-name{font-size:13px;font-weight:700;display:flex;gap:8px;align-items:center;position:relative;margin-top:-2px}.avatar-name>span{font-size:10px;font-weight:500;color:var(--muted);background:#dbece3;border-radius:6px;padding:3px 6px}.wellbeing-button{margin:9px 0 4px;border:1px solid #bfd8cb;background:#fff9;padding:6px 11px;border-radius:20px;font-size:11px;color:#285b4d;display:flex;gap:14px}.wellbeing-button:disabled{opacity:1;cursor:default}.wellbeing-caption{font-size:9px;color:var(--muted)}.spec-col{position:absolute;top:27px;width:205px;z-index:2;display:flex;flex-direction:column;gap:13px}.spec-col.left{left:0}.spec-col.right{right:0}.spec{position:relative;text-align:left;background:#ffffffee;border:1px solid #d8e6df;border-radius:16px;padding:13px 15px;box-shadow:0 5px 14px #244c4010;min-height:98px;width:100%;transition:transform .18s,box-shadow .18s}.spec:hover{transform:translateY(-3px);box-shadow:0 8px 20px #244c401a}.spec-top{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);margin-bottom:7px}.spec-icon{color:#5d8782;font-size:15px;line-height:1}.spec-state{width:6px;height:6px;border-radius:50%;margin-left:auto}.spec strong{display:block;font-family:var(--display);font-size:20px;font-weight:720;line-height:1.2;letter-spacing:-.4px}.spec-note{display:block;font-size:9px;color:var(--muted);line-height:1.5;margin-top:5px;max-width:155px}.spec-arrow{position:absolute;right:13px;bottom:13px;font-size:12px;color:#8ba198}.spec.pending strong{color:#886127}.spec.done{border-color:#a3cbb5}.spec.done strong{color:#267553}.spec-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 21px;font-size:9px;color:#617c71;border-top:1px solid #d3e3da;padding-top:13px}.spec-legend>span{display:flex;align-items:center;gap:6px}.dashboard-lower{display:grid;grid-template-columns:1.13fr 1fr;gap:20px;margin-top:23px}.dashboard-lower .panel{padding:24px}.panel-title .eyebrow{font-size:9px;margin-bottom:8px}.panel-title h2{font-size:21px}.small-button{font-size:10px;white-space:nowrap;padding:8px 10px;background:#f3f8f5;border-color:#dce7e1}.weight-head{display:flex;gap:16px;align-items:center}.weight-head>strong{font-size:37px;font-family:var(--display);letter-spacing:-1.5px;font-weight:650;white-space:nowrap}.weight-head>strong span{font-size:17px;color:var(--muted);font-weight:400}.weight-head>p{font-size:10px;color:var(--muted);margin:0;line-height:1.7}.weight-head>p span{color:var(--ink)}.weight-imc{margin-left:auto;background:#f1f5f7;border-radius:10px;padding:8px 10px;font-size:10px;color:var(--muted);white-space:nowrap}.weight-imc b{display:block;font-size:18px;color:var(--ink);font-weight:600}.weight-chart svg{width:100%;display:block;margin:10px 0}.chart-grid{stroke:#e3ece7;stroke-width:1}.chart-label{font-family:'Segoe UI',sans-serif;fill:#789087;font-size:11px}.weight-line{fill:none;stroke:#4d9180;stroke-width:2.5;stroke-dasharray:5 5}.weight-point{fill:#438a76;stroke:#fff;stroke-width:2}.weight-point.reported{fill:#dcebe6;stroke:#438a76}.measure-choices{display:flex;gap:5px;flex-wrap:wrap}.measure-choices button{font-size:9px;padding:6px 8px;background:#f8faf9;border-color:#e5ede8}.measure-choices b{display:block;font-size:11px;font-weight:600;margin-top:3px}.measure-choices button[aria-pressed=true]{background:#e7f2eb;border-color:#a3c6b1;color:#276648}.measurement-detail{font-size:10px;line-height:1.6;min-height:85px;border-top:1px solid var(--line);padding-top:10px;margin-top:13px}.measurement-detail p{margin-bottom:0}.measurement-detail .source-link{font-size:9px}.mode-note{font-size:10px;line-height:1.6}.count-bubble{display:grid;place-items:center;min-width:31px;height:31px;background:#f4eddb;color:#936c2e;border-radius:50%;font-size:12px;font-weight:700}.next-step{width:100%;display:flex;gap:11px;text-align:left;border:0;border-bottom:1px solid #e7eeea;border-radius:0;padding:16px 0;background:transparent;align-items:center}.next-step:hover{background:#f8faf8}.step-dot{width:33px;height:33px;border-radius:11px;background:#f7efd9;color:#9c7632;display:grid;place-items:center;flex-shrink:0;font-size:17px}.next-step>span:nth-child(2){flex:1}.next-step strong{font-size:12px;font-weight:600;line-height:1.5;display:block}.next-step small{font-size:10px;display:block;margin-top:5px;color:#9c7738}.next-step>span:last-child{color:#849a8e}.all-reminders{font-size:11px;color:var(--teal);margin-top:16px;text-align:left;padding-left:0;line-height:1.6}.wellbeing-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.wellbeing-choices button{padding:5px 5px 14px;border-radius:15px;background:#f1f7f3;border:1px solid #d8e6de}.wellbeing-choices button:hover,.wellbeing-choices button[aria-pressed=true]{border-color:#338264;background:#e2f0e7}.wellbeing-choices .sprite{width:100%}.wellbeing-choices strong{font-size:12px}.avatar-pending{display:grid;place-items:center;width:80px;height:80px;background:#e0eee8;color:#477666;font-size:20px;border-radius:50%}.avatar-center .avatar-pending{margin:95px 0 85px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#go-collection{display:inline-block}#evidence-form select,#evidence-form input{width:100%;margin-bottom:15px}
.measure-teaser{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:20px}.measure-teaser>a{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:15px;padding:16px 19px;color:var(--ink);text-decoration:none}.measure-teaser>a:hover{border-color:#9fc3b1;background:#fbfdfb}.measure-teaser span{font-size:10px;color:var(--muted);margin-bottom:8px}.measure-teaser strong{font-family:var(--display);font-size:19px;font-weight:650}.measure-teaser small{font-size:9px;color:var(--muted);margin-top:7px}.measure-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.measure-actions .text-link{margin-left:auto}.metric-svg{display:block;width:100%;max-height:330px}.measurement-history{max-height:640px;overflow:auto}.measurement-history article{display:grid;grid-template-columns:90px 1fr;gap:18px;padding:18px 0;border-top:1px solid var(--line)}.measurement-history time{font-family:Consolas,monospace;font-size:11px;color:var(--muted)}.measurement-history strong{font-size:12px;font-weight:600;line-height:1.7}.measurement-history p{font-size:10px;color:var(--muted);margin:6px 0;line-height:1.6}.measurement-history .source-link{font-size:9px}.activity-rows{max-height:290px;overflow:auto;margin-top:14px}.activity-rows p{display:flex;gap:14px;align-items:center;border-top:1px solid var(--line);padding-top:10px;font-size:11px}.activity-rows time{width:100px;color:var(--muted)}.activity-rows span{margin-left:auto;font-size:9px;color:var(--muted)}.import-history{font-size:11px;line-height:1.8;padding-left:20px}#apple-file{min-width:150px;max-width:100%;flex:1}#metric-choice{font-size:12px;max-width:230px}#measure-method{width:100%}
@media screen and (max-width:740px), screen and (max-width:950px) and (max-height:500px){.measure-teaser{gap:7px;margin-top:15px}.measure-teaser>a{padding:13px 10px}.measure-teaser strong{font-size:14px}.measure-teaser span{font-size:9px}.measure-teaser small{font-size:8px;line-height:1.5}.measure-actions{gap:8px}.measure-actions button{font-size:11px}.measure-actions .text-link{margin:8px 0}.measurement-history article{grid-template-columns:68px 1fr;gap:11px}.measurement-history time{font-size:9px}.measurement-history strong{font-size:11px}.activity-rows p{font-size:10px;gap:9px}.activity-rows time{width:80px}#metric-choice{max-width:135px;font-size:10px}.sidebar nav{grid-template-columns:repeat(4,1fr)}.sidebar nav a{font-size:9px}}
/* Persistent assistant. Content and portraits enter the DOM only after authentication. */
#doctor-widget{position:fixed;right:24px;bottom:20px;z-index:15;display:flex;flex-direction:column;align-items:flex-end;gap:12px}#doctor-widget[hidden]{display:none}.doctor-toggle{position:relative;display:flex;align-items:center;gap:10px;min-height:58px;padding:5px 14px 5px 4px;border:1px solid #a4c9b4;border-radius:18px;background:#fff;color:#214c3e;box-shadow:0 7px 32px #1d483427;max-width:250px}.doctor-toggle-label{font-size:9px;letter-spacing:.7px;text-transform:uppercase;text-align:left}.doctor-toggle strong{display:block;font-size:13px;letter-spacing:1px;margin-top:2px}.chat-toggle-icon{font-size:25px;color:#4c8e70;margin-left:5px}.doctor-badge{position:absolute;right:-4px;top:-7px;width:21px;height:21px;border:2px solid #fff;border-radius:50%;font-size:10px;background:#bb8137;color:#fff;display:grid;place-items:center}.doctor-nudge{width:256px;background:#fff;border:1px solid #d4e5d9;border-radius:17px 17px 3px 17px;padding:16px;box-shadow:0 6px 20px #244c4018}.doctor-nudge>.eyebrow{font-size:8px;display:block;color:#a57a3a;margin-bottom:9px;padding-right:15px}.doctor-nudge>button:first-child{float:right;border:0;background:transparent;padding:0;font-size:17px;color:#809788;line-height:1}.nudge-text{border:0;padding:0;background:transparent;text-align:left;font-size:12px;font-weight:550;line-height:1.5;display:block}.nudge-text>span{display:block;color:#3e8666;font-size:10px;margin-top:8px}.doctor-panel{width:402px;max-height:min(730px,calc(100dvh - 112px));height:610px;border-radius:22px;background:#fff;border:1px solid #c2daca;box-shadow:0 12px 65px #183e4733;overflow:hidden;display:flex;flex-direction:column}.doctor-panel[hidden]{display:none}.doctor-head{display:flex;gap:11px;align-items:center;background:#e8f3e9;padding:12px 15px;flex-shrink:0;border-bottom:1px solid #d9e8dc}.doctor-head h2{font-size:18px;margin:0 0 5px;letter-spacing:-.4px}.doctor-head p{font-size:9px;color:#527965;margin:0;display:flex;gap:5px;align-items:center}.doctor-head>button{margin-left:auto;background:transparent;border:0;font-size:24px;padding:4px 8px;color:#517564}.doctor-content{overflow:auto;padding:17px;flex:1;overscroll-behavior:contain;min-height:0}.doctor-intro{font-size:12px;line-height:1.7;margin:0 0 7px}.doctor-scope{font-size:9px;color:var(--muted);margin:0 0 17px}.doctor-reminders{background:#f6f8f1;border:1px solid #e1e8d9;border-radius:12px;padding:11px 12px}.doctor-reminders summary{font-size:12px;font-weight:650;cursor:pointer}.doctor-reminders summary>span{float:right;color:#9f7938}.doctor-reminders>button{background:transparent;display:flex;gap:8px;align-items:center;width:100%;border:0;border-top:1px solid #e4e8dc;border-radius:0;padding:11px 0;text-align:left;font-size:11px;line-height:1.4}.doctor-reminders>button:first-of-type{margin-top:10px}.doctor-reminders>button small{display:block;font-size:9px;color:#899276;margin-top:4px}.doctor-reminders>button b{margin-left:auto;color:#66826a}.doctor-quick{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0}.doctor-quick button{font-size:9px;border-radius:20px;padding:7px 10px;border-color:#dce6e1;color:#5b7d6a;background:#fff}.chat-question{margin:14px 0 12px auto;max-width:90%;background:#2e715c;color:#fff;font-size:12px;line-height:1.6;border-radius:13px 13px 2px 13px;padding:11px 13px}.chat-answer{background:#f0f5f2;border-radius:13px 13px 13px 2px;padding:13px;margin:10px 0;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.chat-answer>p{white-space:pre-wrap;margin:0 0 9px}.chat-answer details{margin-top:10px;border-top:1px solid #d9e5dc;padding-top:8px;font-size:10px}.chat-answer summary{cursor:pointer;font-weight:600}.chat-answer blockquote{margin:10px 0;padding-left:10px;border-left:2px solid #a2c3b0;white-space:pre-wrap;font-size:10px}.chat-answer .source-link{font-size:9px;text-align:left}.chat-mode{display:block;font-size:9px;color:#779182;margin-top:10px}.chat-thinking{font-size:11px;color:#59866c;margin:18px 0;animation:search-pulse 1.4s ease-in-out infinite}.doctor-form{margin:0 14px;display:flex;gap:7px;border:1px solid #caddcf;border-radius:12px;padding:4px;background:#fafdfb;flex-shrink:0}.doctor-form input{width:100%;border:0;background:transparent;font-size:11px;padding:10px 7px;min-width:0;outline-offset:0}.doctor-form button{border:0;background:#347e60;color:#fff;border-radius:8px;padding:6px 12px;font-size:21px}.doctor-footnote{font-size:8px;color:#839a8b;text-align:center;margin:8px 0 12px;flex-shrink:0}#toast{bottom:94px;right:25px;z-index:30}.login-art{background:#dceee3;color:#2b6150}.login-art .mark{color:#438968}.login-form-wrap h1{font-weight:800;letter-spacing:-1.4px;font-size:49px}.login-form-wrap .primary{background:#286d59}.login-art p{font-family:var(--display);font-weight:600;letter-spacing:-1px}
@keyframes avatar-arrive{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes search-pulse{0%,100%{opacity:.6}50%{opacity:1}}
@media(min-width:1500px){.spec-col{width:232px}.spec-note{max-width:185px}.spec strong{font-size:22px}.health-stage{padding-inline:40px}.avatar-center>.sprite{width:350px}.avatar-plinth{top:320px}.orbit{height:435px}}
@media(max-width:1150px){.sidebar{width:200px;padding:25px 14px}.main-wrap{margin-left:200px}.sidebar nav a{font-size:12px}.spec-col{width:175px}.spec{padding:12px}.spec strong{font-size:18px}.spec-note{font-size:9px;max-width:135px}.spec-top{font-size:10px}.health-stage{padding:22px 20px 16px}.avatar-center{width:310px}.avatar-center>.sprite{width:290px;margin-top:20px}.avatar-plinth{top:288px}.orbit{height:408px}.dashboard-lower{grid-template-columns:1fr 1fr;gap:15px}.dashboard-lower .panel{padding:19px}.weight-head{gap:10px}.weight-head>strong{font-size:30px}.panel-title h2{font-size:19px}.next-step strong{font-size:11px}}
@media(max-width:950px) and (min-width:741px){.sidebar{width:175px;padding-inline:10px}.main-wrap{margin-left:175px}.brand{font-size:21px}.brand-icon{width:32px;height:34px}.sidebar nav a{font-size:11px;gap:7px}main{padding:24px 20px}.health-stage{padding-inline:15px}.spec-col{width:152px}.spec strong{font-size:16px}.spec-top{font-size:9px}.spec-note{max-width:118px;font-size:8px}.spec{padding:10px;min-height:92px}.avatar-center>.sprite{width:255px;margin-top:40px}.avatar-name{font-size:11px}.wellbeing-button{font-size:10px}.status-caption{font-size:9px}.dashboard-lower{grid-template-columns:1fr}.doctor-nudge{width:220px}.orbit{height:391px}.ring-one{width:320px;height:280px}.ring-two{width:430px;height:345px}}
@media screen and (max-width:740px), screen and (max-width:950px) and (max-height:500px){.sidebar{width:100%;padding:16px 18px}.main-wrap{margin:0}.brand{font-size:20px;gap:9px;align-items:center;display:flex}.brand-icon{width:34px;height:34px;font-size:31px}.patient-chip{margin:0;top:25px;right:18px}.sidebar nav{margin-top:16px}.sidebar nav a{font-size:10px;padding:8px 3px}.topbar{height:44px}main{padding:25px 16px 100px}.home-heading{align-items:flex-start;gap:8px;margin-bottom:20px}.home-heading h1{font-size:36px}.home-heading p:not(.eyebrow){font-size:11px;max-width:210px}.home-heading .eyebrow{font-size:8px;margin-bottom:10px}.today-chip{font-size:9px;padding:7px 8px;gap:5px;margin-top:26px}.today-chip>span{font-size:15px}.health-stage{padding:19px 12px 14px;border-radius:21px}.stage-top{align-items:start;gap:6px;padding:0 3px}.stage-top h2{font-size:20px}.stage-top p{font-size:10px}.status-caption{font-size:8px;padding:6px 7px;gap:5px;margin-top:3px}.orbit{height:auto;display:grid;grid-template-columns:1fr 1fr;gap:9px;padding-top:326px;margin-top:8px}.avatar-center{width:300px;top:0}.avatar-center>.sprite{width:262px;margin-top:0}.avatar-plinth{top:238px;width:130px}.avatar-name{font-size:11px;margin-top:0}.avatar-name>span{font-size:9px}.wellbeing-button{font-size:10px;margin-top:7px}.wellbeing-caption{font-size:8px}.spec-col{position:static;width:auto;gap:9px}.spec{min-height:96px;padding:11px;box-shadow:0 3px 10px #244c400b}.spec strong{font-size:18px}.spec-top{font-size:10px;gap:5px}.spec-note{font-size:8px;max-width:125px}.spec-icon{font-size:13px}.spec-arrow{right:9px;bottom:11px}.orbit-ring{top:141px}.ring-one{width:240px;height:220px}.ring-two{width:294px;height:274px}.spec-legend{font-size:8px;gap:7px 12px;margin-top:16px;justify-content:flex-start;padding:12px 4px 0}.spec-legend .status-light{width:6px;height:6px}.dashboard-lower{grid-template-columns:1fr;margin-top:15px;gap:15px}.dashboard-lower .panel{padding:20px}.panel-title h2{font-size:20px}.weight-head>strong{font-size:36px}.weight-head>p{font-size:10px}.next-step strong{font-size:12px}.wellbeing-choices{grid-template-columns:repeat(2,1fr);gap:9px}.wellbeing-choices strong{font-size:10px}#doctor-widget{right:14px;bottom:13px;left:14px;pointer-events:none}#doctor-widget>*{pointer-events:auto}.doctor-toggle{min-height:51px;padding:3px 11px 3px 3px;border-radius:16px}.doctor-toggle strong{font-size:11px}.doctor-toggle-label{font-size:8px}.chat-toggle-icon{font-size:22px}.doctor-nudge{width:216px;padding:13px}.doctor-nudge>.eyebrow{font-size:7px}.nudge-text{font-size:11px}.doctor-panel{width:100%;height:620px;max-height:calc(100dvh - 95px);border-radius:19px}.doctor-content{padding:14px}.doctor-head{padding:10px 13px}.doctor-head h2{font-size:17px}.doctor-nudge:has(+.doctor-panel:not([hidden])){display:none}.doctor-footnote{font-size:8px}.login-form-wrap h1{font-size:41px}.login-art{min-height:190px}#toast{bottom:81px;left:16px;right:16px;font-size:11px}.small-button{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{#doctor-widget,.wellbeing-button,.small-button,.measure-choices{display:none!important}.health-stage{background:#fff;break-inside:avoid}.dashboard-lower{display:block}.dashboard-lower>.panel{margin-top:18px}.home-heading h1{font-size:30px}.orbit{height:410px;padding-top:0;display:block}.spec-col{position:absolute;width:180px;top:30px}.avatar-center{width:320px}.avatar-center>.sprite{width:300px}.spec-legend{font-size:9px}.main-wrap{margin:0}main{padding:0}.stage-top{margin-bottom:10px}}

@media screen and (max-width:740px), screen and (max-width:950px) and (max-height:500px){.doctor-nudge{display:none}.doctor-toggle{min-height:52px;padding:4px;border-radius:17px}}


/* Un buste libre au-dessus de la bulle, dont le premier plan masque le bas. */
#doctor-widget{--doctor-bust:178px;isolation:isolate;pointer-events:none}
#doctor-widget>.doctor-character{position:absolute;right:14px;bottom:calc(100% - 28px);width:var(--doctor-bust);height:var(--doctor-bust);z-index:0;pointer-events:none}
.doctor-character .sprite{width:100%;height:100%;filter:drop-shadow(0 5px 7px #163c2714)}
#doctor-widget>.doctor-nudge,#doctor-widget>.doctor-panel,#doctor-widget>.doctor-toggle{position:relative;z-index:1;pointer-events:auto}
.doctor-toggle{min-height:50px;min-width:174px;padding:9px 16px;justify-content:space-between}
.doctor-toggle-label{display:block;font-size:9px;letter-spacing:.7px;text-transform:uppercase;text-align:left}
.doctor-toggle>.chat-toggle-icon{display:block}
#doctor-widget.doctor-is-open{--doctor-bust:174px}
.doctor-is-open>.doctor-character{right:26px}
.doctor-head{padding:15px 18px;min-height:72px}
.doctor-panel{max-height:calc(100dvh - 252px)}
@media screen and (max-width:740px), screen and (max-width:950px) and (max-height:500px){
 #doctor-widget,#doctor-widget.doctor-is-open{--doctor-bust:142px}
 #doctor-widget>.doctor-character{right:4px;bottom:calc(100% - 24px)}
 #doctor-widget.doctor-is-open>.doctor-character{right:20px}
 .doctor-toggle{min-height:46px;min-width:144px;padding:7px 12px;border-radius:16px}
 .doctor-toggle-label{font-size:8px}
 .doctor-toggle>.chat-toggle-icon{font-size:20px}
 .doctor-head{padding:13px 16px;min-height:66px}
 .doctor-head h2{font-size:17px}
 .doctor-panel{max-height:calc(100dvh - 208px)}
}
