.project-journey-dialog{width:min(940px,calc(100vw - 32px));max-width:calc(100vw - 32px);height:min(850px,calc(var(--app-height,100dvh) - 40px));max-height:calc(var(--app-height,100dvh) - 40px);padding:0;border:1px solid var(--line);border-radius:20px;background:var(--bg);color:var(--text);box-shadow:var(--shadow);overflow:hidden}
.project-journey-dialog[open]{display:flex;flex-direction:column}.project-journey-dialog::backdrop{background:#302c2866}.journey-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 26px;border-bottom:1px solid var(--line);background:var(--panel);flex-shrink:0}.journey-head h2{margin:3px 0 6px}.journey-head p{font-size:12px;overflow-wrap:anywhere}.journey-head>button{font-size:23px;line-height:1;min-width:44px;min-height:44px}.journey-content{padding:24px 26px;overflow-y:auto;min-height:0;overscroll-behavior:contain}.journey-intro{display:grid;gap:12px;margin-bottom:22px}.journey-intro p{font-size:13px;max-width:75ch}.journey-suggestion{padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--panel2);color:var(--text);font-size:12px}.journey-form-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.journey-form-row input,.journey-form-row select{width:100%;min-width:0}.journey-steps{display:grid;gap:16px;padding:0;margin:22px 0;list-style:none}.journey-step{padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--panel);display:grid;gap:14px}.journey-step-heading,.journey-step-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.journey-step-heading h3{flex:1}.journey-number{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-weight:700;background:var(--accent-soft);color:var(--aqua)}.journey-step-actions button{font-size:12px;min-height:40px;padding:8px 10px}.journey-step textarea{min-height:70px}.journey-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:20px;padding-top:16px;padding-bottom:var(--bottom-inset,0px);border-top:1px solid var(--line)}.journey-footer-secondary{display:flex;gap:10px;flex-wrap:wrap}.journey-empty{padding:28px 20px;border:1px dashed var(--line);border-radius:12px;text-align:center;margin-top:16px;background:var(--panel)}.journey-empty p{font-size:13px;margin-top:8px}.journey-status{margin:14px 0;min-height:1.5em;font-size:13px}.journey-test-form{display:grid;gap:16px;padding:18px;background:var(--panel);border:1px solid var(--line);border-radius:14px}.journey-test-form>button{justify-self:start}.journey-test-list{display:grid;gap:18px}.journey-test{padding:20px;background:var(--panel);border:1px solid var(--line);border-radius:14px;min-width:0}.journey-test-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}.journey-test-heading h3{overflow-wrap:anywhere;font-size:17px}.journey-test-heading p{font-size:12px;margin-top:7px}.journey-links{display:grid;gap:12px;margin:20px 0}.journey-link{display:grid;grid-template-columns:95px minmax(0,1fr) auto;align-items:center;gap:10px;font-size:12px}.journey-link a{overflow-wrap:anywhere;word-break:break-word}.journey-test-feedback{border-top:1px solid var(--line);padding-top:14px}.journey-test-feedback>summary{cursor:pointer;min-height:32px;color:var(--text);font-size:13px;font-weight:650}.journey-feedback-group h4{font-size:13px;margin:16px 0 10px}.journey-feedback-group article{padding:12px;border:1px solid var(--line);border-radius:10px;margin:8px 0;background:var(--panel2)}.journey-feedback-group article>div{display:flex;justify-content:space-between;gap:12px;font-size:12px}.journey-feedback-group p{white-space:pre-wrap;font-size:13px;overflow-wrap:anywhere}.journey-feedback-group small{font-size:11px}.journey-feedback-group article p{margin:8px 0}
@media(max-width:600px){.project-journey-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(var(--app-height,100dvh) - 20px);max-height:calc(var(--app-height,100dvh) - 20px);border-radius:14px}.journey-head{padding:16px}.journey-content{padding:18px 16px}.journey-form-row{grid-template-columns:minmax(0,1fr);gap:14px}.journey-step{padding:14px}.journey-step-heading h3{min-width:60px}.journey-step-actions{width:100%;justify-content:flex-end}.journey-footer button{min-height:44px}.journey-link{grid-template-columns:minmax(0,1fr) auto}.journey-link>span{grid-column:1/-1}.journey-test{padding:16px}.journey-test-heading>button{min-height:44px}}
