.state-dialog{width:min(840px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:40px;border:1px solid var(--line);border-radius:12px;background:white;color:var(--ink);overflow:auto}
.state-dialog::backdrop{background:rgba(3,12,35,.65)}.state-dialog h2{font-size:36px;line-height:1.22;margin:0}.state-dialog p{font-size:27px;line-height:1.23;color:var(--muted);margin:0;overflow-wrap:anywhere}
.answer-dialog{min-height:min(510px,calc(100dvh - 32px));padding-top:32px;padding-bottom:48px}.answer-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.answer-dialog header>button{flex:none}.answer-dialog header img{width:28px;height:28px}.answer-dialog>p{margin:54px 0 160px}.state-dialog-actions{display:flex;gap:24px}.state-dialog-actions>.button{min-width:0;flex:1;min-height:67px;font-size:24px}.state-dialog-actions>.button:first-child{flex:1.72}
.upload-state-dialog[open]{display:flex;flex-direction:column;gap:28px}.upload-state-dialog p{color:var(--ink);font-size:25px;line-height:1.2}.upload-state-dialog>.button{width:100%;min-height:52px;font-size:16px}.upload-state-dialog progress{appearance:none;display:block;width:100%;height:12px;border:0;border-radius:6px;overflow:hidden;background:var(--line)}.upload-state-dialog progress::-webkit-progress-bar{background:var(--line);border-radius:6px}.upload-state-dialog progress::-webkit-progress-value{background:var(--blue);border-radius:6px}.upload-state-dialog progress::-moz-progress-bar{background:var(--blue);border-radius:6px}
.catalog-status{background:var(--soft);padding:32px;margin-bottom:24px;border-radius:12px}.catalog-status h2{font-size:40px;line-height:1.2;margin-bottom:24px}.catalog-status p{font-size:23px;line-height:1.3;margin-bottom:24px}.catalog-status>.button{width:100%;min-height:52px;margin-top:16px}.catalog-skeletons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.catalog-skeletons>span{display:block;background:white;border:1px solid var(--line);border-radius:12px;padding:16px}.catalog-skeletons i{display:block;height:180px;background:var(--line);border-radius:8px}.catalog-skeletons b{display:block;width:72%;height:24px;background:var(--line);margin-top:12px}
@media(max-width:899px){.state-dialog{padding:28px}.answer-dialog>p{margin:32px 0 60px}.state-dialog-actions>.button{font-size:20px}.catalog-status h2{font-size:32px}.catalog-status p{font-size:20px}.catalog-skeletons{gap:12px}.catalog-skeletons i{height:130px}}
@media(max-width:599px){.state-dialog{padding:20px;width:calc(100vw - 24px)}.state-dialog h2{font-size:26px;line-height:1.2}.state-dialog p,.upload-state-dialog p{font-size:16px;line-height:1.4;color:var(--ink)}.answer-dialog{min-height:0}.answer-dialog header>button{display:none}.answer-dialog>p{margin:16px 0}.state-dialog-actions{flex-direction:column;gap:16px}.state-dialog-actions>.button{font-size:16px;min-height:52px;flex:none}.upload-state-dialog[open]{gap:16px}.catalog-status{padding:20px}.catalog-status h2{font-size:28px;margin-bottom:16px}.catalog-status p{font-size:16px;margin-bottom:16px}.catalog-skeletons{grid-template-columns:1fr}.catalog-skeletons>span:not(:first-child){display:none}.catalog-skeletons i{height:140px}.catalog-skeletons b{height:20px}}
