.requisite-problem{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:54px;margin:16px 0;padding:15px;border:1px solid #aaa;background:#f5f5f1;color:#171717;font-size:15px;font-weight:700;text-align:left}
.requisite-problem>span:last-child{font-size:21px}.replacement-ready{border-left:4px solid #171717;background:#efefeb;padding:15px 16px;margin:0 0 18px;font-size:14px;line-height:1.5}.replacement-ready strong{display:block;font-size:17px;margin-bottom:4px}
.replacement-wait{border:1px solid #ccc;background:#f6f6f2;padding:24px}.replacement-wait h2{font-size:25px;line-height:1.2;margin:0 0 14px}.replacement-wait p{font-size:15px;line-height:1.6;margin:0 0 14px}.replacement-wait .replacement-wait-warning{background:#171717;color:#fff;padding:16px;font-weight:700}.replacement-wait .primary-button{margin-top:20px}.replacement-wait small{display:block;margin-top:14px;color:#666;font-size:12px;line-height:1.5}
.replacement-dialog{width:min(500px,calc(100% - 24px));max-height:calc(100dvh - 24px);margin:auto;border:1px solid #777;padding:25px;color:#171717;background:#fff;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 18px 90px #0003;font-family:Arial,Helvetica,sans-serif}
.replacement-dialog::backdrop{background:#171717aa}.replacement-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.replacement-heading>span{font-size:10px;color:#666;letter-spacing:1px}.replacement-heading button{width:42px;height:42px;background:#fff;border:1px solid #ddd;font-size:27px;flex-shrink:0}
.replacement-dialog h2{font-size:28px;line-height:1.15;letter-spacing:-.8px;margin:0}.replacement-intro{font-size:15px;line-height:1.5;color:#666;margin:12px 0 20px}.replacement-field{display:block;margin:16px 0 8px;font-size:14px;font-weight:700}.replacement-field>span{font-size:12px;font-weight:400;color:#666;margin-left:5px}
.replacement-dialog select,.replacement-dialog textarea{width:100%;min-width:0;font:inherit;font-size:16px;border:1px solid #bbb;border-radius:0;background:#fff;color:#171717;padding:13px;line-height:1.4}.replacement-dialog textarea{resize:vertical;min-height:72px;max-height:150px}
.replacement-upload{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;min-height:110px;margin:16px 0 8px;padding:18px 12px;border:1px dashed #888;background:#f6f6f3;color:#171717}.replacement-upload>span{font-size:25px}.replacement-upload strong{font-size:14px}.replacement-upload small{font-size:12px;color:#666}.replacement-hint{font-size:12px;line-height:1.5;color:#666;margin:8px 0 18px}
.replacement-shot{display:flex;align-items:center;gap:12px;margin-top:16px;border:1px solid #ccc;padding:10px}.replacement-shot img{width:64px;height:70px;object-fit:contain;background:#f1f1ee}.replacement-shot>span{flex:1;min-width:0}.replacement-shot strong{display:block;overflow-wrap:anywhere;font-size:13px;line-height:1.4}.replacement-shot small{display:block;font-size:12px;color:#666;margin-top:5px}.replacement-shot button{width:40px;height:40px;flex-shrink:0;border:1px solid #ccc;background:#fff;font-size:25px}
.replacement-safety{padding:14px;background:#f0f0ec;border-left:3px solid #171717;margin:16px 0}.replacement-safety>strong{display:block;font-size:14px;line-height:1.5}.replacement-safety button{border:0;background:none;text-align:left;text-decoration:underline;text-underline-offset:3px;padding:12px 0 0;font-size:13px;line-height:1.5;min-height:44px}
.replacement-confirm{display:flex;align-items:flex-start;gap:11px;font-size:14px;font-weight:700;line-height:1.5;margin:20px 0}.replacement-confirm input{accent-color:#171717;width:22px;height:22px;flex-shrink:0;margin:0}.replacement-submit{width:100%;min-height:56px;background:#171717;color:#fff;border:1px solid #171717;padding:15px;font-size:15px;font-weight:700}.replacement-submit:disabled{opacity:.4;cursor:not-allowed}.replacement-error{border-left:3px solid #171717;background:#eee;font-size:13px;line-height:1.5;padding:12px;margin:14px 0}.replacement-demo{font-size:11px;color:#666;text-align:center;line-height:1.5;margin:12px 0 0}
.replacement-dialog :focus-visible{outline:3px solid #777;outline-offset:3px}.replacement-request-panel{padding:14px 18px;border-bottom:1px solid #bbb;background:#eee;flex-shrink:0;max-height:35%;overflow:auto}.replacement-request-panel strong{display:block;font-size:14px}.replacement-request-panel p{font-size:12px;line-height:1.5;margin:5px 0 10px}.replacement-request-panel button{padding:11px 14px;background:#171717;color:#fff;border:0;min-height:44px;font-size:13px;font-weight:700}
@media(max-width:600px),(max-width:950px) and (max-height:500px){.replacement-dialog{width:100%;max-width:none;max-height:var(--support-height,100dvh);height:auto;margin:auto 0 0;padding:20px 20px max(20px,env(safe-area-inset-bottom));border-width:1px 0 0}.replacement-dialog h2{font-size:26px}.replacement-wait{padding:20px}.replacement-wait h2{font-size:23px}.replacement-request-panel{padding:12px 14px}}
@media(max-width:650px),(max-width:950px) and (max-height:500px){.replacement-dialog{position:fixed;top:var(--support-top,0);bottom:auto;left:0;right:0;width:100%;height:var(--support-height,100dvh);max-height:var(--support-height,100dvh);margin:0;border:0;padding:16px max(16px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));scroll-behavior:auto}.replacement-heading{position:sticky;top:-16px;background:#fff;z-index:1;padding:8px 0;margin-bottom:16px}.replacement-dialog h2{font-size:26px}.replacement-dialog textarea{min-height:70px}.replacement-request-panel{max-height:32%}}
@media(max-width:650px),(max-width:950px) and (max-height:500px){.replacement-field{margin-top:12px}.replacement-dialog textarea{min-height:64px}.replacement-upload{min-height:96px;margin-top:12px}.replacement-hint{margin-bottom:12px}.replacement-safety{margin:12px 0;padding:12px}.replacement-confirm{margin:16px 0}.replacement-heading{margin-bottom:10px}}
