@import "./stage-video.css";
/* Two roles, one calm visual language. Clinical controls keep their own place. */
:root{--role-glass:color-mix(in srgb,var(--surface) 86%,transparent);--role-edge:color-mix(in srgb,var(--line) 75%,transparent)}
.content{max-width:1600px}.side-note{font-size:12px}.nav button{white-space:normal}.page-head h1{font-size:clamp(28px,3vw,40px);font-weight:600;letter-spacing:-1.5px}.panel{border-color:var(--role-edge);box-shadow:var(--shadow-card)}
.case-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:10px 2px 24px}.case-heading h2{font-size:36px;letter-spacing:-1.5px;line-height:1.2;margin:8px 0 10px}.case-heading p{color:var(--muted);font-size:13px;margin:0}.case-heading-price{font-size:23px;font-weight:600;letter-spacing:-.6px;text-align:right}.case-heading-price small{display:block;font-weight:400;color:var(--muted);font-size:11px;margin-top:4px}
.case-command{padding:22px 26px;margin-bottom:26px;background:linear-gradient(145deg,color-mix(in srgb,var(--accent-wash) 48%,var(--surface)),var(--role-glass));border:1px solid color-mix(in srgb,var(--accent) 18%,var(--line));backdrop-filter:blur(30px) saturate(1.2);-webkit-backdrop-filter:blur(30px) saturate(1.2);box-shadow:var(--shadow-float)}.case-command-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.case-command h3{font-size:21px;letter-spacing:-.5px;margin:6px 0;display:flex;gap:12px;align-items:center}.case-command-top>.secondary{font-size:12px}.case-command-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px}.stage-advance{min-width:230px}.waiting-for{color:var(--muted);margin:0;font-size:13px;max-width:620px}.case-agreements{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:15px;font-size:12px}.case-agreements span{color:var(--muted)}.stage-checks{display:flex;align-items:center;gap:8px 22px;flex-wrap:wrap;padding-top:12px}.stage-checks .check{margin:5px 0;font-size:12px}
.detail-columns.role-detail{grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:26px}.case-clinical-content{gap:22px}.case-prescription{padding:28px}.case-prescription h3{font-size:23px;letter-spacing:-.7px;margin:5px 0 8px}.case-prescription .prescription-readonly{margin:20px 0}.case-prescription .prescription-readonly article{background:var(--surface-2);border:1px solid var(--line);border-radius:16px;padding:18px;margin-bottom:12px}.prescription-keyline{display:flex;align-items:center;justify-content:space-between;gap:16px}.prescription-keyline strong{font-size:19px;font-weight:600}.case-shade{background:var(--surface);border:1px solid var(--line);border-radius:9px;min-width:48px;text-align:center;padding:5px 10px;font-weight:600;font-size:16px}.prescription-teeth{font-size:16px!important;font-weight:550;margin:10px 0!important;color:var(--ink)!important}.case-instructions{margin-top:24px}.case-instructions>strong{font-size:12px;color:var(--muted);font-weight:500}.case-instructions>p{font-size:15px;line-height:1.8;margin:8px 0;white-space:pre-wrap}.case-prescription .protocol-summary{margin-top:22px;padding-top:20px;border-top:1px solid var(--line);font-size:12px}.case-clinical-content>.section-pad{padding:26px}.case-clinical-content>.section-pad h3{font-size:21px;margin-bottom:12px}.case-progress-rail{position:sticky;top:100px;gap:20px}.process-panel{padding:22px;overflow:hidden}.process-panel-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}.process-panel-heading h3{font-size:19px;line-height:1.35;font-weight:600;letter-spacing:-.5px;margin:6px 0 18px}.process-stage-image{display:block;width:100%;aspect-ratio:1.5;object-fit:cover;border-radius:14px;background:var(--surface-2);margin:0 0 18px}.process-time-row{display:flex;justify-content:space-between;gap:10px;margin:13px 0;font-size:12px}.process-time-row>span{color:var(--muted)}.process-time-row>strong{white-space:nowrap}.process-before,.process-manual{font-size:11px;line-height:1.7;color:var(--muted);margin:13px 0 0}.process-plan{display:flex;flex-direction:column;gap:6px;background:var(--surface-2);padding:13px;border-radius:12px;margin:16px 0}.process-plan span{font-size:12px}.process-plan strong{float:right;margin-left:12px}.process-plan small{font-size:10px;line-height:1.65;color:var(--muted)}.process-route{border-top:1px solid var(--line);margin-top:20px}.process-route summary{display:flex;justify-content:space-between;cursor:pointer;font-size:12px;font-weight:550;padding:17px 0}.process-route summary>span{font-size:11px;color:var(--muted)}.process-route ol{list-style:none;padding:0;margin:8px 0}.process-route li{display:flex;align-items:flex-start;gap:11px;padding:0 0 17px;position:relative;min-height:44px;font-size:11px;color:var(--muted)}.process-route li:not(:last-child):before{content:'';position:absolute;left:11px;top:25px;width:1px;bottom:0;background:var(--line)}.route-dot{display:grid;place-items:center;border:1px solid var(--line);background:var(--surface);border-radius:50%;width:24px;height:24px;flex-shrink:0;font-size:9px}.process-route li strong{display:block;line-height:1.5;font-weight:450}.process-route li small{display:block;font-size:9px;margin-top:3px}.process-route li.current{color:var(--accent-ink)}.process-route li.current strong{font-weight:650}.process-route li.current .route-dot{background:var(--accent);color:var(--surface);border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-wash)}.process-route li.done .route-dot{color:var(--green);background:var(--green-wash);border-color:transparent}.process-route .context-help{width:22px;height:22px;min-width:22px;font-size:10px;margin-left:auto}.case-eta{padding:22px}.case-eta .order-progress{padding:0;margin:16px 0}.case-eta>small{color:var(--subtle);font-size:10px}.clinical-history>summary,.case-payment>summary{cursor:pointer;padding:22px 26px;font-size:14px;font-weight:550;display:flex;justify-content:space-between}.clinical-history .history{padding:0 26px 24px}.clinical-history .history small{display:block;margin-top:7px}.clinical-history .history p{padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.case-payment .loyalty-order{border:0;box-shadow:none}.reminder-open{border:0;background:none;text-align:left;flex:1;padding:0;color:var(--ink);font-size:12px;line-height:1.7}.case-material-note{padding:16px 20px;font-size:12px;background:var(--surface-2);border-radius:12px}.case-material-note span{display:block}
.context-help{display:inline-grid;place-items:center;min-width:26px;width:26px;height:26px;padding:0;border:1px solid var(--line-strong);border-radius:50%;background:color-mix(in srgb,var(--surface) 70%,transparent);color:var(--muted);font-size:12px;font-weight:550;line-height:1;cursor:help;vertical-align:middle;flex-shrink:0}.context-help:hover,.context-help[aria-expanded=true]{background:var(--accent-wash);color:var(--accent-ink);border-color:var(--accent)}.context-popover{position:fixed;z-index:300;padding:18px 20px;background:var(--glass-sheet);border:1px solid var(--line-strong);border-radius:16px;box-shadow:var(--shadow-dialog);color:var(--ink);font-size:13px;line-height:1.75;letter-spacing:0;backdrop-filter:blur(22px)}.step-buttons>.context-help{align-self:center}.detail-actions .context-help{align-self:center}
.my-current-work{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,1.2fr);gap:34px;align-items:center;padding:28px;margin-bottom:26px;background:linear-gradient(145deg,var(--accent-wash),var(--surface))}.my-current-work>img{width:100%;aspect-ratio:1.4;object-fit:cover;border-radius:18px}.my-current-work h2{font-size:32px;letter-spacing:-1px;margin:8px 0}.my-current-work h3{font-size:20px;margin:10px 0}.my-current-work p{color:var(--muted);font-size:13px;margin-bottom:24px}.my-work-queue{overflow:hidden}.production-thumb{width:100%;aspect-ratio:1.8;object-fit:cover;border-radius:12px;margin-bottom:14px}.production-grid{gap:20px}.production-lane{background:var(--surface-2);border:1px solid var(--line);padding:18px;border-radius:20px}.production-card{padding:18px;background:var(--surface);box-shadow:var(--shadow-card)}
.service-visual-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:26px}.service-visual{overflow:hidden}.service-visual>img{width:100%;aspect-ratio:1.55;object-fit:cover;display:block}.service-visual>div{padding:24px}.service-visual h3{font-size:19px;line-height:1.4;letter-spacing:-.4px;margin:10px 0}.service-visual p{font-size:11px;line-height:1.7;color:var(--muted);margin:0}.guide-intro{padding:36px;margin-bottom:26px;max-width:none}.guide-intro h2{font-size:32px;letter-spacing:-1px;line-height:1.25;margin:12px 0 16px}.guide-intro p{max-width:750px;color:var(--muted);line-height:1.8;font-size:14px}.guide-stage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.guide-stage{display:grid;grid-template-columns:150px minmax(0,1fr);overflow:hidden}.guide-stage>img{width:100%;height:100%;min-height:170px;object-fit:cover}.guide-stage>div{padding:24px}.guide-stage h3{font-size:17px;letter-spacing:-.3px;margin:0 0 10px}.guide-stage p{color:var(--muted);font-size:12px;line-height:1.8;margin:0}.material-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px}.material-totals>div{padding:24px}.material-totals small{display:block;color:var(--muted);font-size:12px}.material-totals strong{font-size:36px;font-weight:550;letter-spacing:-1px;display:block;margin-top:12px}.material-alert{background:var(--orange-wash);border:1px solid color-mix(in srgb,var(--orange) 20%,transparent);color:var(--orange);padding:20px 24px;border-radius:17px;margin-bottom:24px}.material-alert strong{font-size:14px}.material-alert p{font-size:12px;margin:8px 0 0}.stock-low{color:var(--orange)}.inventory-item h2{font-size:21px}.inventory-counts span{font-size:10px}.inventory-counts strong{font-size:26px}
/* The film is editorial, beside the work instead of before it. */
.home-hero{grid-template-columns:minmax(0,1fr) 290px;gap:24px}.home-hero [data-home-video]{align-self:start}.home-film-caption{font-size:11px;min-height:62px;padding:10px 14px}.home-film-caption small{font-size:9px}.home-film-toggle{width:34px;height:34px;min-width:34px}.home-focus{background:linear-gradient(140deg,var(--accent-wash),var(--surface));border:1px solid color-mix(in srgb,var(--accent) 10%,var(--line));padding:32px}.home-focus h2{font-size:29px;font-weight:550;letter-spacing:-1px}.home-summary{margin-top:24px}.home-summary-item>strong{font-weight:550}.home-queue,.home-attention{box-shadow:var(--shadow-card)}
@media(min-width:1300px){.case-progress-rail{max-height:calc(100dvh - 122px);overflow:auto;scrollbar-width:thin}.process-route li{padding-bottom:15px}}
@media(max-width:1180px){.detail-columns.role-detail{grid-template-columns:minmax(0,1fr) 285px;gap:20px}.content{padding-left:26px;padding-right:26px}.home-hero{grid-template-columns:minmax(0,1fr) 240px}.guide-stage{grid-template-columns:110px minmax(0,1fr)}.guide-stage>div{padding:20px}.case-command{padding:20px}.case-command h3{font-size:19px}.service-visual>div{padding:18px}.service-visual h3{font-size:17px}}
@media(max-width:960px){.detail-columns.role-detail{grid-template-columns:minmax(0,1fr)}.case-progress-rail{position:static;order:-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.7fr);align-items:start}.process-stage-image{width:90px;height:70px;float:right;margin:0 0 10px 14px}.process-route{clear:both}.process-panel-heading h3{font-size:17px}.home-hero{grid-template-columns:minmax(0,1fr)}.home-hero [data-home-video]{width:100%;max-width:none}.home-hero .home-film{display:grid;grid-template-columns:200px minmax(0,1fr);align-items:center}.home-film-picture{aspect-ratio:1.8}.home-film-caption{padding:14px 22px}.service-visual-grid{gap:14px}.guide-stage-grid{grid-template-columns:1fr}.guide-stage{grid-template-columns:160px minmax(0,1fr)}}
@media(max-width:760px){.content{padding:24px 18px 105px}.case-heading{gap:14px;padding-bottom:20px}.case-heading h2{font-size:29px}.case-heading p{font-size:11px;line-height:1.8}.case-heading-price{font-size:19px;white-space:nowrap}.detail-top{gap:10px}.detail-actions .secondary{font-size:10px;padding:8px 10px;min-height:38px}.detail-top .ghost{font-size:11px;padding:8px 0}.operator-command{padding:15px 17px;border-radius:18px;margin-bottom:20px}.case-command-top{align-items:start;gap:10px}.case-command h3{font-size:17px;gap:8px;line-height:1.4}.case-command .eyebrow{font-size:8px}.case-command-top>.secondary{font-size:10px;min-height:36px;padding:8px 11px;max-width:135px}.case-command-actions{margin-top:12px;gap:8px}.stage-advance{min-width:0;flex:1;font-size:11px;padding:11px 13px}.case-command-actions>.secondary{font-size:11px;padding:11px 13px}.stage-checks{gap:4px 12px}.stage-checks .check{font-size:10px}.case-agreements{font-size:10px;gap:8px}.case-agreements button{font-size:10px;padding:9px 12px;min-height:36px}.case-prescription{padding:20px}.case-prescription h3{font-size:21px}.case-prescription .section-heading .secondary{font-size:10px;padding:8px 10px;min-height:36px}.case-prescription .prescription-readonly article{padding:16px}.prescription-keyline strong{font-size:17px}.case-shade{font-size:14px}.case-instructions>p{font-size:13px}.case-progress-rail{display:block}.case-progress-rail .case-eta{margin-top:16px;padding:18px}.process-panel{padding:18px}.process-panel-heading h3{font-size:17px}.process-panel .process-plan{padding:11px}.process-route ol{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.process-route li{font-size:10px}.process-route li:not(:last-child):before{display:none}.process-route .context-help{width:24px;height:24px;min-width:24px}.case-clinical-content>.section-pad{padding:20px}.photo-phases{gap:18px}.case-clinical-content{gap:18px}.context-help{width:28px;height:28px;min-width:28px}.my-current-work{grid-template-columns:minmax(0,1fr);gap:22px;padding:20px}.my-current-work>img{aspect-ratio:2.2;max-height:220px}.my-current-work h2{font-size:29px}.my-current-work p{font-size:12px}.service-visual-grid{grid-template-columns:1fr;gap:14px}.service-visual{display:grid;grid-template-columns:120px minmax(0,1fr)}.service-visual>img{height:100%;aspect-ratio:auto}.service-visual>div{padding:18px}.service-visual h3{font-size:16px;margin:6px 0}.guide-intro{padding:24px}.guide-intro h2{font-size:27px}.guide-intro p{font-size:12px}.guide-stage{grid-template-columns:110px minmax(0,1fr)}.guide-stage>img{min-height:180px}.guide-stage>div{padding:20px}.guide-stage h3{font-size:16px}.guide-stage p{font-size:11px}.material-totals{gap:10px}.material-totals>div{padding:17px 14px}.material-totals small{font-size:9px}.material-totals strong{font-size:28px}.home-focus{padding:24px}.home-focus h2{font-size:26px}.home-hero [data-home-video]{order:0}.home-hero .home-film{grid-template-columns:145px minmax(0,1fr)}.home-film-caption{padding:10px 14px;font-size:10px}.home-film-caption small{font-size:8px}.home-film-toggle{width:30px;height:30px;min-width:30px}.home-columns{gap:20px}.clinical-history>summary,.case-payment>summary{padding:20px}.production-grid{gap:16px}.production-lane{padding:16px}.notice{font-size:10px;margin-top:26px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.cal-plan-icon{width:60px;height:60px;overflow:hidden;border-radius:12px;background:var(--surface-2);padding:0}.cal-plan-icon img{width:100%;height:100%;object-fit:cover}.cal-plan-type{padding:15px}.cal-plan-type>span:nth-child(2){min-width:0}.cal-plan-type strong{font-size:14px}.cal-plan-type small{font-size:10px}
@media(max-width:760px){.cal-plan-icon{width:48px;height:48px}.cal-plan-type{padding:11px}.cal-plan-type strong{font-size:12px}.cal-plan-type small{font-size:9px}}
.detail-columns.role-detail.operator-detail{grid-template-columns:minmax(0,1fr);max-width:1050px}.operator-times{display:flex;gap:15px;flex-wrap:wrap;margin-top:7px;color:var(--muted);font-size:11px}.operator-times strong{color:var(--ink);font-weight:550}.operator-detail .case-prescription .prescription-readonly{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.operator-detail .case-prescription .prescription-readonly article{margin:0}.operator-detail .case-clinical-content>.section-pad .photo-phases{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){.operator-times{font-size:9px;gap:5px 12px}.operator-detail .case-clinical-content>.section-pad .photo-phases{grid-template-columns:1fr}.operator-detail .case-prescription .prescription-readonly{grid-template-columns:1fr}}

.context-popover{box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;overflow-wrap:anywhere}

/* Compact, illustrated planning: appointment time and manufacturing are separate. */
.cal-service-choice{position:relative;min-width:0}.cal-service-choice>.cal-plan-type{width:100%;height:100%;padding-right:40px}.cal-service-choice>.context-help{position:absolute;right:11px;bottom:11px;width:24px;height:24px;min-width:24px;font-size:10px}.cal-service-choice .cal-plan-type>i{position:absolute;right:14px;top:13px}.cal-time-estimates{display:flex;flex-direction:column;gap:7px;align-items:flex-end}.cal-production-estimate{display:flex;gap:9px;align-items:center;font-size:11px;color:var(--muted)}.cal-production-estimate strong{color:var(--ink);font-size:13px;font-weight:550;white-space:nowrap}.cal-production-estimate .context-help{width:23px;height:23px;min-width:23px;font-size:10px}.cal-preproduction,.cal-production-summary{display:flex;align-items:center;gap:13px;padding:14px 0}.cal-preproduction{border-bottom:1px solid var(--line)}.cal-preproduction>img{width:64px;height:45px;object-fit:cover;border-radius:9px;flex-shrink:0}.cal-preproduction>span,.cal-production-summary>span{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}.cal-preproduction strong,.cal-production-summary strong{font-size:12px;font-weight:550;color:var(--ink)}.cal-preproduction small,.cal-production-summary small{font-size:10px;color:var(--muted)}.cal-production-summary{padding:17px 0 14px}.cal-production-summary .context-help,.cal-preproduction .context-help{width:24px;height:24px;min-width:24px;font-size:10px}.cal-breakdown-items.cal-illustrated-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.cal-breakdown-items.cal-illustrated-steps>.cal-process-step{position:relative;display:flex;justify-content:flex-start;align-items:center;gap:10px;padding:10px;min-width:0}.cal-process-step>img{width:52px;height:48px;object-fit:cover;border-radius:8px;flex-shrink:0}.cal-process-step>span{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0;padding-right:18px}.cal-process-step>span>span{font-size:10px;line-height:1.5}.cal-process-step>span>strong{font-size:13px}.cal-process-step>.context-help{position:absolute;right:7px;bottom:8px;width:22px;height:22px;min-width:22px;font-size:10px}.cal-preproduction:focus-visible,.cal-production-summary:focus-visible,.cal-process-step:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:10px}
@media(max-width:1180px){.cal-breakdown-items.cal-illustrated-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.cal-service-choice .cal-plan-type{padding-right:34px}.cal-service-choice .cal-plan-icon{width:48px;height:48px}.cal-service-choice .cal-plan-type strong{font-size:12px}.cal-service-choice .cal-plan-type small{font-size:9px}.cal-plan-footer{align-items:center}}
@media(max-width:760px){.cal-service-choice>.cal-plan-type{padding:11px 9px;min-height:120px}.cal-service-choice .cal-plan-icon{width:43px;height:39px;margin-bottom:8px}.cal-service-choice .cal-plan-type>i{right:9px;top:10px}.cal-service-choice .cal-plan-type strong{font-size:11px;max-width:calc(100% - 15px)}.cal-service-choice .cal-plan-type small{display:block;font-size:8px;line-height:1.5;padding-right:8px}.cal-service-choice>.context-help{right:7px;bottom:7px;width:23px;height:23px;min-width:23px}.cal-time-estimates{gap:5px}.cal-time-estimates .cal-plan-estimate{display:flex;align-items:center;gap:8px}.cal-time-estimates .cal-plan-estimate>span{font-size:9px;max-width:100px;margin:0}.cal-time-estimates .cal-plan-estimate>strong{font-size:21px}.cal-production-estimate{font-size:9px;gap:6px}.cal-production-estimate strong{font-size:11px}.cal-production-estimate .context-help{width:22px;height:22px;min-width:22px}.cal-preproduction{gap:10px}.cal-preproduction>img{width:52px;height:41px}.cal-preproduction strong,.cal-production-summary strong{font-size:10px;line-height:1.6}.cal-preproduction small,.cal-production-summary small{font-size:9px}.cal-breakdown-items.cal-illustrated-steps{gap:7px}.cal-breakdown-items.cal-illustrated-steps>.cal-process-step{gap:8px;padding:9px}.cal-process-step>img{width:39px;height:42px}.cal-process-step>span{padding-right:10px}.cal-process-step>span>span{font-size:9px}.cal-process-step>span>strong{font-size:12px}.cal-process-step>.context-help{width:21px;height:21px;min-width:21px;right:5px;bottom:6px}}
@media(max-width:420px){.cal-plan-footer{gap:8px}.cal-unit-choice>span{font-size:9px}.cal-time-estimates .cal-plan-estimate>span{max-width:75px}.cal-time-estimates .cal-plan-estimate>strong{font-size:19px}.cal-service-choice .cal-plan-type small{max-width:90px}.cal-process-step>img{width:32px;height:39px}.cal-process-step>span>span{font-size:8px}.cal-breakdown-items.cal-illustrated-steps>.cal-process-step{gap:6px;padding:8px}}

@media(max-width:760px){.doctor-command{padding:14px 17px}.doctor-command .case-command-actions:has(.waiting-for){display:none}.mobile-nav button span{line-height:1.35}}

/* Construction, material and teeth are separate reading levels; every action is named. */
.prescription-work-list .work-record{padding:8px 8px 8px 16px;border-radius:8px;gap:12px;align-items:center}
.prescription-work-list .work-record.is-editing{border-color:var(--accent);background:color-mix(in srgb,var(--accent-wash) 40%,var(--surface))}
.work-record .work-record-body{min-height:52px;border-radius:5px;padding:4px 0;align-self:stretch}
.work-record .work-record-caption{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;line-height:1.5;overflow-wrap:anywhere}
.work-record .work-record-caption>strong{font-size:15px;font-weight:650;line-height:1.5;color:var(--ink)}
.work-record .work-record-caption>span{font-size:15px;line-height:1.5;color:var(--muted)}
.work-record .work-record-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;margin-top:7px}
.work-record .work-record-teeth{display:flex;align-items:center;gap:6px;color:var(--accent-ink);font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.work-record-teeth>img,.work-record-remove>img{display:block;flex-shrink:0;max-width:none}
.work-record .work-record-edit{display:inline-block;font-size:12px;line-height:1.5;color:var(--accent-ink);font-weight:550;text-decoration:underline;text-underline-offset:3px}
.work-record.is-editing .work-record-edit{text-decoration:none;font-weight:600}
.work-record .work-record-remove{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex-shrink:0;min-height:44px;min-width:60px;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font-size:11px;color:var(--muted)}
.work-record .work-record-remove:hover{color:var(--red);border-color:color-mix(in srgb,var(--red) 35%,var(--line))}
.work-record .work-record-body:focus-visible,.work-record .work-record-remove:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.work-editor .work-editor-heading h3{font-size:16px;line-height:1.45}
.order-submit-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.order-submit-actions>.secondary,.order-submit-actions>.primary{min-height:44px;justify-content:center;flex-shrink:0}
.task-draft-status{font-size:12px;line-height:1.6;color:var(--muted);margin:12px 0 0;overflow-wrap:anywhere}
.task-draft-status:empty{display:none}
@media(max-width:680px){.prescription-form .form-bottom{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.prescription-form .form-bottom>div:first-child{display:flex;gap:14px;justify-content:space-between;align-items:center}.order-submit-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.prescription-form .order-submit-actions>.secondary,.prescription-form .order-submit-actions>.primary{width:100%;min-width:0;white-space:normal;font-size:12px;line-height:1.4;padding:10px 8px}}
@media(max-width:380px){.prescription-work-list .work-record{padding-left:10px;gap:8px}.work-record .work-record-caption>strong{font-size:14px}.work-record .work-record-caption>span,.work-record .work-record-teeth{font-size:12px}.work-record .work-record-remove{min-width:54px;font-size:11px}}

.outsourcing-entry{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;margin:18px 0;position:static}.outsourcing-entry h3{font-size:17px;margin:5px 0}.outsourcing-entry p{font-size:12px;line-height:1.7;color:var(--muted);max-width:650px;margin:8px 0 0}.outsourcing-entry>a{flex-shrink:0;text-align:center;text-decoration:none}.home-hero>.outsourcing-entry{grid-column:1/-1;margin:0}.home-hero>[data-home-video]{grid-row:1;grid-column:2}@media(max-width:960px){.home-hero>[data-home-video]{grid-row:auto;grid-column:auto}}@media(max-width:680px){.outsourcing-entry{align-items:stretch;flex-direction:column;padding:18px}.outsourcing-entry>a{width:100%}}
