:root {
color-scheme: light;
--bg: #f6f7f9;
--fg: #1a1d23;
--muted: #5c6570;
--accent: #2563eb;
--border: #d0d5dd;
--radius: 10px;
font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
display: grid;
place-items: center;
background: linear-gradient(160deg, #eef2ff 0%, var(--bg) 45%, #f8fafc 100%);
color: var(--fg);
}
.dialog {
width: min(420px, calc(100vw - 2rem));
padding: 1.5rem;
background: #fff;
border: 1px solid var(--border);
border-radius: var(--radius);
box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}
h1 {
margin: 0 0 0.75rem;
font-size: 1.25rem;
font-weight: 650;
}
.message {
margin: 0 0 1rem;
color: var(--muted);
line-height: 1.45;
white-space: pre-wrap;
}
.field-wrap {
margin: 0 0 1.25rem;
}
.path-row {
display: flex;
align-items: stretch;
gap: 0.5rem;
}
.path-row #input-field {
flex: 1;
min-width: 0;
}
.browse-btn {
flex-shrink: 0;
min-width: 2.5rem;
padding: 0.55rem 0.65rem;
font-size: 1.1rem;
line-height: 1;
}
#input-field {
width: 100%;
font: inherit;
padding: 0.55rem 0.7rem;
border: 1px solid var(--border);
border-radius: 8px;
background: #fff;
color: var(--fg);
}
#input-field.multi-line {
min-height: 5.5rem;
resize: vertical;
}
#input-field:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
border-color: var(--accent);
}
.buttons {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
justify-content: flex-end;
}
button {
appearance: none;
border: 1px solid var(--border);
background: #fff;
color: var(--fg);
border-radius: 8px;
padding: 0.5rem 0.9rem;
font: inherit;
cursor: pointer;
}
button.primary {
background: var(--accent);
border-color: var(--accent);
color: #fff;
}
button:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.error {
color: #b91c1c;
padding: 1rem;
}
html.wyvern-embedded body:has(.dialog--fill) {
display: flex;
flex-direction: column;
width: 100%;
min-height: 100vh;
margin: 0;
background: #fff;
place-items: stretch;
}
html.wyvern-embedded .dialog.dialog--fill {
width: 100%;
max-width: none;
min-height: 100vh;
margin: 0;
border: none;
border-radius: 0;
box-shadow: none;
display: flex;
flex-direction: column;
justify-content: center;
box-sizing: border-box;
}
html.wyvern-embedded .dialog--fill .path-row {
width: 100%;
}
html.wyvern-embedded .dialog--fill #input-field {
width: 100%;
}
#input-field.path-multi {
resize: vertical;
min-height: 2.5rem;
white-space: pre-wrap;
word-break: break-all;
}