.desktop-dialog,.desktop-dialog *{box-sizing:border-box}.desktop-dialog{z-index:120;color:var(--tiro-text);background:#00000061;justify-content:center;align-items:center;padding:12px;font-family:Segoe UI Variable Text,Segoe UI,system-ui,sans-serif;font-size:13px;line-height:1.35;display:flex;position:fixed;inset:0}.desktop-dialog__window{border:1px solid var(--tiro-border-strong);background:var(--tiro-surface-alt);border-radius:8px;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden;box-shadow:0 20px 60px #0000005c}.desktop-dialog__titlebar{border-bottom:1px solid var(--tiro-border);background:var(--tiro-surface);-webkit-user-select:none;user-select:none;flex:0 0 38px;align-items:center;height:38px;padding-left:12px;display:flex}.desktop-dialog__mark{align-content:center;gap:2px;width:14px;margin-right:8px;display:grid}.desktop-dialog__mark i{background:var(--tiro-accent);border-radius:2px;height:2px;display:block}.desktop-dialog__mark i:first-child{width:9px}.desktop-dialog__mark i:nth-child(2){background:var(--tiro-accent-hover);width:13px}.desktop-dialog__mark i:nth-child(3){background:var(--tiro-accent-soft);width:7px}.desktop-product-icon{flex:0 0 48px;align-content:center;gap:5px;width:48px;height:48px;padding-left:6px;display:grid}.desktop-product-icon i{background:var(--tiro-accent);border-radius:4px;height:4px;display:block}.desktop-product-icon i:first-child{width:26px}.desktop-product-icon i:nth-child(2){background:var(--tiro-accent-hover);width:34px}.desktop-product-icon i:nth-child(3){background:var(--tiro-accent-soft);width:20px}.desktop-dialog__title{min-width:0;color:var(--tiro-text);text-overflow:ellipsis;white-space:nowrap;flex:auto;font-size:13px;font-weight:400;overflow:hidden}.desktop-dialog__close{width:46px;height:38px;color:var(--tiro-text);cursor:default;background:0 0;border:0;flex:0 0 46px;place-items:center;font:300 20px/1 Segoe UI,sans-serif;display:grid}.desktop-dialog__close:hover{background:var(--tiro-danger);color:var(--tiro-surface)}.desktop-dialog__content{flex:auto;min-height:0}.desktop-surface{background:var(--tiro-surface-alt)}.desktop-card{border:1px solid var(--tiro-border);background:var(--tiro-surface);border-radius:7px;padding:16px 18px}.desktop-card+.desktop-card{margin-top:12px}.desktop-page-title{color:var(--tiro-text);margin:0 0 4px;font-size:17px;font-weight:600}.desktop-field-label{color:var(--tiro-muted);margin:0 0 5px;font-size:13px;display:block}.desktop-hint{color:var(--tiro-faint);margin:0;font-size:12px;line-height:1.45}.desktop-input,.desktop-select,.desktop-textarea{border:1px solid var(--tiro-border-strong);background:var(--tiro-surface);min-height:34px;color:var(--tiro-text);font:inherit;border-radius:6px;outline:none;padding:6px 10px}.desktop-input:hover,.desktop-select:hover,.desktop-textarea:hover{border-color:var(--tiro-faint)}.desktop-input:focus,.desktop-select:focus,.desktop-textarea:focus{border-color:var(--tiro-accent);box-shadow:0 0 0 1px var(--tiro-accent)}.desktop-input:disabled,.desktop-select:disabled,.desktop-textarea:disabled{border-color:var(--tiro-border);background:var(--tiro-sunken);color:var(--tiro-faint)}.desktop-input--number{font-variant-numeric:tabular-nums;width:90px}.desktop-select--medium{width:260px;max-width:100%}.desktop-select--wide{width:100%}.desktop-textarea{resize:vertical;width:100%;min-height:112px;line-height:1.4}.desktop-check{color:var(--tiro-text);align-items:flex-start;gap:7px;line-height:18px;display:flex}.desktop-check input{width:16px;height:16px;accent-color:var(--tiro-accent);flex:0 0 16px;margin:1px 0 0}.desktop-button{border:1px solid var(--tiro-border-strong);background:var(--tiro-surface);min-width:96px;min-height:34px;color:var(--tiro-text);cursor:default;font:inherit;border-radius:6px;padding:6px 16px}.desktop-button:hover:not(:disabled){background:var(--tiro-sunken)}.desktop-button:active:not(:disabled){background:var(--tiro-border)}.desktop-button:disabled{border-color:var(--tiro-border);color:var(--tiro-faint)}.desktop-button--primary{border-color:var(--tiro-accent-pressed);background:var(--tiro-accent);color:var(--tiro-on-accent);font-weight:600}.desktop-button--primary:hover:not(:disabled){background:var(--tiro-accent-hover)}.desktop-button--primary:disabled{border-color:var(--tiro-border);background:var(--tiro-sunken);color:var(--tiro-faint)}.desktop-alert,.desktop-button--danger{color:var(--tiro-danger)}.desktop-button--compact{min-width:0;min-height:30px;padding:4px 11px}.desktop-alert{border:1px solid var(--tiro-danger);background:var(--tiro-danger-soft);border-radius:6px;margin-bottom:12px;padding:9px 11px}.desktop-grid-2{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;display:grid}.desktop-separator{background:var(--tiro-border);height:1px;margin:14px 0}.desktop-spinner{border:2px solid var(--tiro-border);border-top-color:var(--tiro-accent);border-radius:50%;width:18px;height:18px;animation:.7s linear infinite desktop-spin}@keyframes desktop-spin{to{transform:rotate(1turn)}}@media (width<=680px){.desktop-dialog{align-items:stretch;padding:6px}.desktop-dialog__window{border-radius:6px}.desktop-grid-2{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.desktop-spinner{animation-duration:1.4s}}
