.stage-entry-form,.stage-input,.stage-plan-review{flex-direction:column;gap:16px;min-width:0;display:flex}.stage-entry-form label,.stage-input label,.stage-plan-review label{flex-direction:column;gap:7px;font-size:13px;line-height:1.5;display:flex}.stage-entry-form input,.stage-entry-form select,.stage-input input,.stage-input textarea,.stage-plan-review input{width:100%;min-width:0;min-height:44px;color:inherit;font:inherit;background:0 0;border:1px solid #777;padding:8px}.stage-input textarea{resize:vertical;min-height:130px}.stage-entry-form button,.stage-input button,.stage-plan-review button{cursor:pointer;text-align:center;min-height:44px;font:inherit;border:1px solid;padding:10px 14px}.stage-entry-form button:disabled,.stage-input button:disabled,.stage-plan-review button:disabled{opacity:.45;cursor:not-allowed}.stage-entry-form :focus-visible,.stage-input :focus-visible,.stage-plan-review :focus-visible{outline-offset:3px;outline:2px solid}.stage-entry-actions{flex-wrap:wrap;gap:8px;display:flex}.stage-entry-actions button{flex:1}.dia-attachment-drop,.dia-attachment-controls,.dia-attachment-panel{flex-direction:column;gap:12px;min-width:0;max-width:100%;display:flex}.dia-attachment-controls{grid-template-columns:44px minmax(0,1fr);align-items:center;gap:8px;display:grid}.dia-attachment-controls p{overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.6}.dia-attachment-controls .dia-attachment-add{justify-content:center;align-items:center;width:44px;height:44px;padding:0;display:inline-flex}.dia-attachment-hint>span{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.dia-attachment-file{grid-column:1/-1;align-items:center;gap:8px;min-width:0;display:flex}.dia-attachment-file+.dia-attachment-hint{grid-column:1/-1}.dia-attachment-file>span{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.dia-attachment-file>button{flex:none}.dia-attachment-drop textarea,.dia-attachment-panel :is(input,textarea,select){min-width:0;max-width:100%;font-size:16px}.dia-attachment-controls button,.dia-attachment-panel button{min-height:44px;color:inherit;cursor:pointer;background:0 0;border:1px solid;padding:10px 14px}.dia-attachment-panel button:disabled{opacity:.45;cursor:not-allowed}.dia-attachment-panel{overflow-wrap:anywhere;border-block:1px solid #777;margin-block:16px;padding-block:16px}.dia-panel>.dia-attachment-panel{flex:auto;min-height:0;overflow:auto}.dia-attachment-panel .photo-stage-builder,.dia-attachment-panel .photo-stage-section{flex-direction:column;gap:14px;min-width:0;display:flex}.dia-attachment-panel .photo-stage-number,.dia-attachment-panel .photo-stage-section>h2{display:none}.dia-attachment-panel .photo-stage-source{object-fit:contain;max-width:100%;max-height:240px}.dia-attachment-panel .photo-stage-map svg{width:100%;max-height:260px;display:block}.dia-attachment-panel .photo-stage-field{flex-direction:column;gap:8px;display:flex}.dia-attachment-panel :is(input,select,summary){min-height:44px}.dia-attachment-panel :is(input,select){color:inherit;background:0 0;border:1px solid #777;padding:8px}.dia-attachment-panel :is(button,input,select,textarea):focus-visible{outline-offset:3px;outline:2px solid}.dia-attachment-panel .stage-script-groups{grid-template-columns:1fr}.stage-entry-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.stage-plan-review fieldset,.stage-plan-review section{min-width:0}.stage-plan-review{font-family:var(--dia-font-ui)}.stage-plan-review .stage-entry-actions{align-items:stretch}.stage-plan-review .stage-plan-assumptions{border-top:1px solid var(--dia-border)}.stage-plan-review .stage-plan-assumptions>summary{color:var(--dia-muted)}.stage-plan-review .stage-plan-item{border-color:var(--dia-border)}.stage-plan-review [role=alert]{color:var(--dia-error)}.stage-plan-review h2{font-size:22px;line-height:1.4}.stage-plan-review h3,.stage-plan-review legend{margin-bottom:10px;font-size:15px;font-weight:600}.stage-plan-review p,.stage-plan-review li,.stage-plan-review figcaption{font-size:14px;line-height:1.6}.stage-plan-review ul{padding-left:20px;list-style:outside}.stage-plan-item{border-top:1px solid #888;flex-direction:column;gap:12px;padding:18px 0;display:flex}.stage-plan-item>label{flex-direction:row;align-items:center;font-weight:600}.stage-plan-item input[type=checkbox]{accent-color:currentColor;width:18px;min-height:18px}.stage-plan-item details summary{cursor:pointer;min-height:32px}.stage-plan-item blockquote{border:0;border-top:1px solid var(--dia-border,#777);color:var(--dia-muted,inherit);margin:8px 0 0;padding:8px 0 0;font-size:14px}.stage-plan-item blockquote small{font-size:inherit;display:block}.stage-plan-drawing{margin:0}.stage-plan-drawing svg{width:100%;max-height:360px;display:block}.stage-plan-drawing figcaption{color:var(--dia-muted,inherit)}.stage-plan-handle{cursor:grab;touch-action:none}.stage-plan-handle:active{cursor:grabbing}.stage-plan-handle[data-selected=true]{filter:drop-shadow(0 0 2px var(--dia-ivory))}.stage-plan-handle[aria-disabled=true]{cursor:default}.stage-plan-review .stage-plan-handle:focus{outline:none}.stage-plan-handle:focus-visible rect{stroke-width:.07px;stroke-dasharray:none}.stage-plan-status{border-left:2px solid #999;padding:4px 8px}.stage-plan-status p+p{margin-top:4px}.stage-entry-warning,.stage-preview-empty{border:1px dashed #999;padding:12px}.stage-command-error{z-index:70;color:#fff;background:#252525;max-width:600px;padding:12px;position:fixed;bottom:85px;left:50%;transform:translate(-50%)}.stage-command-error button{margin-left:12px;text-decoration:underline}.stage-command-panel{height:100%;padding:18px 14px;overflow:auto}.stage-entry-dialog{color:#202020;background:#f2f2ed;border:1px solid #555;width:min(860px,100% - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:clamp(18px,4vw,40px);overflow:auto}.stage-entry-dialog::backdrop{background:#0009}.stage-entry-dialog header{justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px;display:flex}.stage-entry-dialog header button{cursor:pointer;min-width:44px;min-height:44px}.stage-entry-dialog header h1{margin:0;font-size:24px}.stage-script-dialog{width:min(1180px,100% - 32px);padding-top:0}.stage-plan-review select{min-height:44px;color:inherit;font:inherit;background:0 0;border:1px solid #777;margin-bottom:12px;padding:8px}.stage-script-groups{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:24px;display:grid}.stage-script-groups>section{scrollbar-gutter:stable;border:1px solid #aaa;max-height:55vh;padding:12px;overflow:auto}.stage-script-groups h3{z-index:1;background:#f2f2ed;padding:10px 0;position:sticky;top:-12px}.stage-script-dialog>header{z-index:2;background:#f2f2ed;border-bottom:1px solid #aaa;padding:18px 0 12px;position:sticky;top:0}.stage-script-groups{scroll-margin-top:80px}.stage-plan-groups{flex-direction:column;gap:16px;display:flex}.stage-script-dropzone{border:1px dashed #777;flex-direction:column;gap:12px;padding:24px;display:flex}.stage-script-dropzone input::file-selector-button{cursor:pointer;min-height:44px;font:inherit;margin-right:12px;padding:8px 12px}.stage-script-filename,.stage-plan-review blockquote{overflow-wrap:anywhere}.stage-question-answer{flex-direction:column;gap:8px;margin:12px 0 20px;display:flex}.phone-voice-link{border-block:1px solid #999;padding:4px 0}.phone-voice-link>summary{cursor:pointer;align-items:center;min-height:44px;font-weight:600;display:flex}.phone-voice-link__body{flex-direction:column;gap:12px;padding:8px 0 16px;display:flex}.phone-voice-link__pairing{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.phone-voice-link__code{letter-spacing:.14em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:clamp(24px,6vw,36px);font-weight:700}.phone-voice-link__incoming{border:1px solid #777;flex-direction:column;gap:10px;padding:14px;display:flex}.phone-voice-link__incoming blockquote,.remote-voice-receipt blockquote{overflow-wrap:anywhere;white-space:pre-wrap;border-left:2px solid;padding-left:12px}.remote-voice-page{color:#f5f5f5;min-height:100dvh;padding:max(24px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:#111;flex-direction:column;align-items:center;gap:28px;display:flex}.remote-voice-page>.studio-wordmark{align-self:flex-start;align-items:center;gap:0;font-size:21px;display:flex}.remote-voice-card{color:#202020;background:#f2f2ed;border-radius:6px;flex-direction:column;gap:18px;width:min(100%,600px);padding:clamp(20px,6vw,42px);display:flex}.remote-voice-card>header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.remote-voice-card h1{font-size:clamp(24px,7vw,34px);line-height:1.25}.remote-voice-card h2{font-size:19px;line-height:1.4}.remote-voice-card p{font-size:13px;line-height:1.7}.remote-voice-card label{flex-direction:column;gap:8px;font-size:13px;display:flex}.remote-voice-card :is(input,textarea){color:#181818;width:100%;min-height:48px;font:inherit;background:#fff;border:1px solid #777;padding:10px 12px;font-size:16px}.remote-voice-card textarea{resize:vertical;min-height:160px}.remote-voice-card button{min-height:48px;font:inherit;cursor:pointer;border:1px solid;padding:10px 16px}.remote-voice-card button:disabled{opacity:.45;cursor:not-allowed}.remote-voice-card :focus-visible{outline-offset:3px;outline:3px solid #111}.remote-voice-card .stage-voice-recorder{flex-direction:column;gap:10px;display:flex}.remote-voice-receipt{border-top:1px solid #888;flex-direction:column;gap:14px;padding-top:18px;display:flex}.remote-voice-page__privacy{color:#bdbdbd;width:min(100%,600px);font-size:11px;line-height:1.7}.assistant-entries{border-block:1px solid #888;flex-direction:column;display:flex}.assistant-entries :is(a,button){border:0;text-align:left;min-height:64px;color:inherit;border-bottom:1px solid #b8b8b8;flex-direction:column;align-items:flex-start;gap:4px;padding:14px 0;text-decoration:none;display:flex}.assistant-entries :is(a,button):last-child{border-bottom:0}.assistant-entries strong{font-size:18px;font-weight:600}.assistant-entries span{color:#505050;font-size:14px;line-height:1.65}.assistant-entries button[aria-pressed=true] strong{text-underline-offset:6px;text-decoration:underline}.scan-transfer{border-top:1px solid #888;flex-direction:column;gap:14px;min-width:0;padding-top:20px;display:flex}.scan-transfer h2{font-size:20px}.scan-transfer summary{cursor:pointer;min-height:44px;padding-block:10px}.scan-transfer :is(input,progress){width:100%;min-width:0}.scan-transfer input::file-selector-button{max-width:100%;min-height:44px;font:inherit;padding:8px 10px}.scan-transfer__file{overflow-wrap:anywhere;border-block:1px solid #999;padding-block:12px}.remote-voice-card :is(button,a,input,textarea){touch-action:manipulation}.remote-voice-card :is(button,a):hover{background:#e2e2df}.remote-voice-card :is(button,a):focus-visible{outline-offset:3px;outline:2px solid}.remote-voice-card ::selection{color:#fff;background:#202020}@media (pointer:coarse){.remote-voice-card p,.remote-voice-card label{font-size:16px}.stage-input summary{min-height:44px;padding-block:10px}}@media (max-width:850px){.stage-script-groups{grid-template-columns:1fr}.stage-script-groups>section{max-height:none;overflow:visible}.stage-script-groups h3{position:static}}@media (max-width:600px){.stage-input input,.stage-input textarea,.stage-plan-review input,.stage-entry-form input,.stage-entry-form select{font-size:16px}.stage-entry-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.stage-entry-metrics{gap:6px}.remote-voice-card>header{flex-direction:column}.remote-voice-card>header button{width:100%}}
