@charset "UTF-8";
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/
*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/
html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */ /* 3 */
  tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/
body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/
hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr:where([title]) {
  text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/
a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/
b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/
small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/
table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/
button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/
button,
input:where([type=button]),
input:where([type=reset]),
input:where([type=submit]) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/
:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/
:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/
summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/
textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/
input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/
button,
[role=button] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/
img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden=until-found])) {
  display: none;
}

@font-face {
  font-family: "BR Firma";
  src: url("../fonts/BRFirma-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BR Firma";
  src: url("../fonts/BRFirma-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BR Firma";
  src: url("../fonts/BRFirma-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BR Firma";
  src: url("../fonts/BRFirma-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
.dim--green {
  --dim: #10b981;
  --dim-soft: rgba(16, 185, 129, 0.12);
  --dim-glow: rgba(16, 185, 129, 0.28);
}

.dim--blue {
  --dim: #3b82f6;
  --dim-soft: rgba(59, 130, 246, 0.12);
  --dim-glow: rgba(59, 130, 246, 0.28);
}

.dim--red {
  --dim: #ef4444;
  --dim-soft: rgba(239, 68, 68, 0.12);
  --dim-glow: rgba(239, 68, 68, 0.28);
}

.dim--purple {
  --dim: #8b5cf6;
  --dim-soft: rgba(139, 92, 246, 0.12);
  --dim-glow: rgba(139, 92, 246, 0.28);
}

.dim--teal {
  --dim: #14b8a6;
  --dim-soft: rgba(20, 184, 166, 0.12);
  --dim-glow: rgba(20, 184, 166, 0.28);
}

.dim--amber {
  --dim: #f59e0b;
  --dim-soft: rgba(245, 158, 11, 0.12);
  --dim-glow: rgba(245, 158, 11, 0.28);
}

:root {
  color-scheme: dark;
  --c-bg: #071428;
  --c-bg-deep: #050e1d;
  --c-surface: #0b1830;
  --c-surface-2: #0f203d;
  --c-border: #1e3354;
  --c-border-soft: #162a48;
  --c-text: #e6edf7;
  --c-text-muted: #94a3b8;
  --c-text-faint: #64748b;
  --c-text-soft: #c6d3e6;
  --c-heading: #ffffff;
  --c-error-text: #fca5a5;
  --c-error-strong: #fecaca;
  --c-success-text: #a7f3d0;
  --c-done-text: #6ee7b7;
  --c-warning-text: #fde68a;
  --c-started-text: #fcd34d;
  --c-info-text: #bfdbfe;
  --c-toast-success-bg: #063b2c;
  --c-toast-success-text: #d1fae5;
  --c-toast-error-bg: #3b0d0d;
  --c-toast-error-text: #fee2e2;
  --c-toast-info-bg: #0b2349;
  --c-toast-info-text: #dbeafe;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-toast: 0 10px 30px rgba(0, 0, 0, .5);
}

html[data-theme=light] {
  color-scheme: light;
  --c-bg: #f4f7fb;
  --c-bg-deep: #ffffff;
  --c-surface: #ffffff;
  --c-surface-2: #f1f5fb;
  --c-border: #d5deea;
  --c-border-soft: #e3e9f2;
  --c-text: #1e293b;
  --c-text-muted: #475569;
  --c-text-faint: #64748b;
  --c-text-soft: #334155;
  --c-heading: #0b1830;
  --c-error-text: #b91c1c;
  --c-error-strong: #991b1b;
  --c-success-text: #047857;
  --c-done-text: #047857;
  --c-warning-text: #92400e;
  --c-started-text: #b45309;
  --c-info-text: #1d4ed8;
  --c-toast-success-bg: #ecfdf5;
  --c-toast-success-text: #065f46;
  --c-toast-error-bg: #fef2f2;
  --c-toast-error-text: #991b1b;
  --c-toast-info-bg: #eff6ff;
  --c-toast-info-text: #1e3a8a;
  --shadow-card: 0 10px 30px rgba(15, 32, 61, .08);
  --shadow-toast: 0 10px 30px rgba(15, 32, 61, .18);
}

body {
  font-family: "BR Firma", "Segoe UI", system-ui, -apple-system, sans-serif;
  background-color: var(--c-bg);
  background-image: radial-gradient(1200px 500px at 15% -10%, rgba(16, 185, 129, 0.07), transparent 60%), radial-gradient(1000px 500px at 100% 0%, rgba(59, 130, 246, 0.08), transparent 60%);
  background-attachment: fixed;
  color: var(--c-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

::selection {
  background: rgba(59, 130, 246, 0.45);
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--c-bg-deep) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border-soft);
}
.app-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.app-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--c-text);
  min-width: 0;
}
.app-header__logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}
.app-header__name {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.app-header__name small {
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--c-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-header__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.app-header__user {
  font-size: 0.85rem;
  color: var(--c-text-muted);
}
@media (max-width: 560px) {
  .app-header__user {
    display: none;
  }
}

.app-container {
  flex: 1;
  width: 100%;
  min-width: 0;
  max-width: 52rem;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}
.app-container--wide {
  max-width: 1200px;
}

.app-footer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--c-text-faint);
  padding: 1.5rem 1rem 2rem;
  border-top: 1px solid var(--c-border-soft);
}
.app-footer a {
  color: var(--c-text-muted);
  text-decoration: none;
}
.app-footer a:hover {
  color: var(--c-text);
}

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
@media (max-width: 640px) {
  .card {
    padding: 1.35rem 1.1rem;
  }
}
.card--narrow {
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
}
.card__title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: 0.4rem;
  line-height: 1.25;
}
.card__subtitle {
  color: var(--c-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.card__footer-link {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.9rem;
}

.text-center {
  text-align: center;
}

.text-green {
  color: #10b981;
}

.text-error {
  color: var(--c-error-text);
}

.muted {
  color: var(--c-text-muted);
}

.small {
  font-size: 0.82rem;
}

.strong {
  font-weight: 600;
  color: var(--c-heading);
}

.link {
  color: #3b82f6;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link:hover {
  color: rgb(107.7609756098, 161.0975609756, 248.2390243902);
}

.link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #3b82f6;
  cursor: pointer;
  text-decoration: none;
}
.link-button:hover {
  text-decoration: underline;
}
.link-button.strong {
  color: var(--c-heading);
}

code {
  font-size: 0.85em;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  padding: 0.05em 0.35em;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim, #10b981);
}

.hero {
  text-align: center;
  padding: 1.5rem 0 2.25rem;
}
.hero__dots {
  width: 190px;
  height: 6px;
  margin: 0 auto 1.6rem;
  background-image: radial-gradient(circle, #10b981 2px, transparent 2.5px);
  background-size: 11px 6px;
}
.hero__title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--c-heading);
  max-width: 44rem;
  margin: 0 auto 0.9rem;
}
.hero__text {
  color: var(--c-text-soft);
  font-size: 1.05rem;
  max-width: 38rem;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.15rem;
}
.form-group > label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 0.4rem;
}

input[type=text], input[type=email], input[type=password], input[type=search],
input:not([type]), textarea, select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: var(--c-bg-deep);
  color: var(--c-text);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.18s ease;
}
input[type=text]::placeholder, input[type=email]::placeholder, input[type=password]::placeholder, input[type=search]::placeholder,
input:not([type])::placeholder, textarea::placeholder, select::placeholder {
  color: var(--c-text-faint);
}
input[type=text]:focus, input[type=email]:focus, input[type=password]:focus, input[type=search]:focus,
input:not([type]):focus, textarea:focus, select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}
input[type=text].error, input[type=email].error, input[type=password].error, input[type=search].error,
input:not([type]).error, textarea.error, select.error {
  border-color: #ef4444;
}
input[type=text][readonly], input[type=email][readonly], input[type=password][readonly], input[type=search][readonly],
input:not([type])[readonly], textarea[readonly], select[readonly] {
  color: var(--c-text-muted);
}

select {
  cursor: pointer;
}

.profile-facts {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.4rem;
  padding: 0 0 1.2rem;
  border-bottom: 1px solid var(--c-border-soft);
}
.profile-facts dt {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-text-muted);
  margin-bottom: 0.15rem;
}
.profile-facts dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--c-text);
  overflow-wrap: anywhere;
}

textarea {
  resize: vertical;
  line-height: 1.5;
}

.required-mark {
  color: #ef4444;
}

.hint {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin: -0.15rem 0 0.5rem;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--c-text);
}
.checkbox input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: #10b981;
  cursor: pointer;
}
.checkbox--box {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin: 1rem 0;
  text-align: left;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.rgpd-box {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 1rem;
  margin: 0.5rem 0 1.25rem;
}
.rgpd-box__text {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-bottom: 0.8rem;
  max-height: 9rem;
  overflow-y: auto;
}
.rgpd-box__text strong {
  color: var(--c-text);
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 0.5rem;
}
.form-actions .btn--primary {
  flex: 1;
}

.copy-field {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.copy-field input {
  font-size: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}
.btn:disabled, .btn[aria-disabled=true] {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.btn--primary {
  background: #3b82f6;
  color: #ffffff;
}
.btn--primary:hover:not(:disabled) {
  background: #2563eb;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.3);
}
.btn--ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border);
}
.btn--ghost:hover:not(:disabled) {
  border-color: #3b82f6;
  color: var(--c-heading);
  background: rgba(59, 130, 246, 0.08);
}
.btn--danger {
  background: #ef4444;
  color: #ffffff;
}
.btn--danger:hover:not(:disabled) {
  background: rgb(235.7842364532, 30.4157635468, 30.4157635468);
}
.btn--danger-text {
  color: var(--c-error-text);
}
.btn--danger-text:hover:not(:disabled) {
  border-color: #ef4444;
  color: var(--c-error-strong);
  background: rgba(239, 68, 68, 0.1);
}
.btn--lg {
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
}
.btn--sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
}
.btn--xs {
  padding: 0.3rem 0.6rem;
  font-size: 0.76rem;
  border-radius: 5px;
}
.btn--full {
  width: 100%;
}

.spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: -0.15em;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.alert {
  display: none;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-size: 0.88rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  text-align: left;
}
.alert.visible {
  display: block;
}
.alert--error {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.4);
  color: var(--c-error-strong);
}
.alert--success {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--c-success-text);
}
.alert--warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--c-warning-text);
}
.alert--info {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.4);
  color: var(--c-info-text);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid;
}
.status-badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
}
.status-badge--pending {
  color: var(--c-text-muted);
  border-color: var(--c-border);
  background: color-mix(in srgb, var(--c-text-muted) 6%, transparent);
}
.status-badge--started {
  color: var(--c-started-text);
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.1);
}
.status-badge--done {
  color: var(--c-done-text);
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.1);
}

.status-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  font-weight: 700;
  border: 1px solid;
}
.status-icon--done {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.1);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.25);
}
.status-icon--info {
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.1);
}
.status-icon--error {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.1);
}

.chip {
  display: inline-block;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--c-info-text);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  white-space: nowrap;
}

.progress-bar {
  height: 6px;
  background: var(--c-border-soft);
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #3b82f6);
  border-radius: 999px;
  transition: width 0.35s ease;
}
.progress-bar__label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--c-text-muted);
  margin-bottom: 0.35rem;
}

.progress-wrap {
  position: sticky;
  top: 61px;
  z-index: 30;
  background: color-mix(in srgb, var(--c-bg-deep) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border-soft);
}
.progress-wrap__inner {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0.6rem 1rem 0.75rem;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
}

.portal-card {
  background: var(--c-surface);
  border: 1px solid var(--dim);
  border-radius: 16px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 0 26px var(--dim-glow), var(--shadow-card);
}
.portal-card__head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.portal-card__title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dim);
  line-height: 1.1;
}
.portal-card__subtitle {
  color: var(--c-text);
  font-size: 0.92rem;
  margin-top: 0.2rem;
}
.portal-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--c-text-muted);
  padding-top: 0.9rem;
  border-top: 1px solid var(--c-border-soft);
}
.portal-card__hint {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin-top: -0.4rem;
}
.portal-card__actions {
  margin-top: auto;
}

.icon-box {
  width: 3.4rem;
  height: 3.4rem;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--dim, #10b981);
  background: var(--dim-soft);
  border: 1px solid var(--dim, #10b981);
}
.icon-box svg {
  width: 1.6rem;
  height: 1.6rem;
}

.profile-summary {
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.85rem 1.1rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--c-text-muted);
}
.profile-summary strong {
  color: var(--c-text);
}
.profile-summary__data {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.profile-summary__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-faint);
}
.profile-summary__locked {
  font-size: 0.8rem;
  color: var(--c-text-faint);
}
@media (max-width: 640px) {
  .profile-summary {
    flex-direction: column;
    align-items: stretch;
  }
  .profile-summary .btn {
    width: 100%;
  }
}

.finish-profile {
  margin: -0.25rem 0 1.25rem;
  font-size: 0.88rem;
  color: var(--c-text-muted);
  overflow-wrap: anywhere;
}
.finish-profile strong {
  color: var(--c-text);
}
.finish-profile .link-button {
  margin-left: 0.35rem;
}

.collection-intro {
  margin-bottom: 1.75rem;
}
.collection-intro__title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  color: var(--c-heading);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
.collection-intro__text {
  color: var(--c-text-soft);
  font-size: 0.98rem;
}
.collection-intro__text strong {
  color: var(--c-heading);
}

.stepper {
  display: flex;
  max-width: 100%;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.stepper__item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text-muted);
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: left;
  line-height: 1.25;
}
.stepper__item:hover {
  border-color: var(--dim);
  color: var(--c-text);
}
.stepper__item.is-current {
  border-color: var(--dim);
  color: var(--c-heading);
  background: var(--dim-soft);
  box-shadow: 0 0 14px var(--dim-glow);
}
.stepper__item.is-done .stepper__num {
  background: var(--dim);
  color: var(--c-bg);
}
.stepper__num {
  font-weight: 700;
  font-size: 0.72rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--dim);
  color: var(--dim);
  flex-shrink: 0;
}
.stepper__label {
  min-width: 0;
  overflow-wrap: break-word;
}
@media (max-width: 640px) {
  .stepper__item {
    flex: 0 0 auto;
  }
  .stepper__item.is-current {
    flex: 1 1 auto;
  }
  .stepper__label {
    display: none;
  }
  .stepper__item.is-current .stepper__label {
    display: inline;
  }
}

.block-card {
  border-color: var(--dim);
  box-shadow: 0 0 30px var(--dim-glow), var(--shadow-card);
}

.block-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--c-border-soft);
}
.block-header__number {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dim);
}
.block-header__title {
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--c-heading);
  line-height: 1.15;
}
.block-header__desc {
  margin-top: 0.45rem;
  color: var(--c-text-soft);
  font-size: 0.95rem;
}
.block-header__count {
  margin-top: 0.4rem;
  color: var(--c-text-faint);
  font-size: 0.8rem;
}

.question-item {
  border: 0;
  margin: 0 0 1.6rem;
  padding: 0;
  min-width: 0;
}
.question-item__label {
  display: flex;
  gap: 0.7rem;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--c-heading);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  padding: 0;
}
.question-item__num {
  flex-shrink: 0;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--dim-soft);
  color: var(--dim);
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: -0.05rem;
}
.question-item__error {
  display: none;
  color: var(--c-error-text);
  font-size: 0.82rem;
  margin-top: 0.4rem;
}
.question-item.is-missing .question-item__error {
  display: block;
}
.question-item.is-missing .option-card {
  border-color: rgba(239, 68, 68, 0.55);
}
.question-item.is-error .option-card:has(input:checked) {
  border-color: #ef4444;
}
.question-item.is-saving .option-card:has(input:checked) .option-card__dot {
  animation: pulse 0.8s ease infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.45;
  }
}
.options {
  display: grid;
  gap: 0.5rem;
}

.option-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--c-border);
  background: var(--c-surface-2);
  cursor: pointer;
  transition: all 0.18s ease;
  font-size: 0.95rem;
  color: var(--c-text);
}
.option-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.option-card__dot {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 2px solid var(--c-text-faint);
  flex-shrink: 0;
  transition: all 0.18s ease;
}
.option-card:hover {
  border-color: var(--dim);
  background: var(--dim-soft);
}
.option-card:has(input:checked) {
  border-color: var(--dim);
  background: var(--dim-soft);
  color: var(--c-heading);
  box-shadow: 0 0 0 1px var(--dim) inset;
}
.option-card:has(input:checked) .option-card__dot {
  border-color: var(--dim);
  background: radial-gradient(circle, var(--dim) 45%, transparent 50%);
}
.option-card:has(input:focus-visible) {
  outline: 2px solid var(--dim);
  outline-offset: 2px;
}

.block-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-border-soft);
}
@media (max-width: 480px) {
  .block-nav .btn {
    flex: 1;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }
}

.block-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--c-text-faint);
  margin-top: 1rem;
}

.admin-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-border-soft);
  overflow-x: auto;
  overflow-y: hidden;
}
.admin-tabs a {
  padding: 0.7rem 1rem;
  color: #3b82f6;
  text-decoration: none;
  font-size: 0.92rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.admin-tabs a:hover {
  color: var(--c-heading);
}
.admin-tabs a.is-active {
  color: #10b981;
  border-bottom-color: #10b981;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.admin-head__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-heading);
  line-height: 1.2;
}

.admin-subtitle {
  color: var(--c-text-muted);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.admin-notes {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--c-text-muted);
  white-space: pre-line;
  border-left: 2px solid var(--c-border);
  padding-left: 0.7rem;
}

.back-link {
  display: inline-block;
  color: var(--c-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.back-link:hover {
  color: var(--c-heading);
}

.panel {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 1.4rem;
  margin-bottom: 1.5rem;
}
.panel h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: 1rem;
}
.panel--narrow {
  max-width: 30rem;
}
.panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.panel__head h2 {
  margin: 0;
}
.panel__head p {
  width: 100%;
  font-size: 0.82rem;
  margin-top: -0.4rem;
}
.panel__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.admin-toolbar select, .admin-toolbar input {
  width: auto;
  min-width: 12rem;
  flex: 1;
  padding: 0.55rem 0.8rem;
  font-size: 0.88rem;
}

.combobox {
  position: relative;
  flex: 1;
  min-width: 14rem;
}
.admin-toolbar .combobox input.combobox__input {
  width: 100%;
  min-width: 0;
  padding-right: 2.2rem;
}
.combobox__input {
  width: 100%;
  padding-right: 2.2rem;
}
.combobox__clear {
  position: absolute;
  top: 50%;
  right: 0.45rem;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.75rem;
  color: var(--c-text-muted);
  background: transparent;
  cursor: pointer;
}
.combobox__clear:hover {
  color: var(--c-heading);
  background: var(--c-surface-2);
}
.combobox__list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.3rem);
  left: 0;
  right: 0;
  max-height: 18rem;
  overflow-y: auto;
  padding: 0.3rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
}
.combobox__option {
  position: relative;
  padding: 0.5rem 2rem 0.5rem 0.7rem;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--c-text);
  cursor: pointer;
  overflow-wrap: anywhere;
}
.combobox__option mark {
  background: none;
  color: var(--c-heading);
  font-weight: 700;
}
.combobox__option--all {
  color: var(--c-text-muted);
}
.combobox__option.is-active {
  background: rgba(59, 130, 246, 0.14);
  color: var(--c-heading);
}
.combobox__option.is-selected::after {
  content: "✓";
  position: absolute;
  right: 0.7rem;
  color: #10b981;
  font-weight: 700;
}
.combobox__empty {
  padding: 0.5rem 0.7rem;
  font-size: 0.85rem;
  color: var(--c-text-muted);
}

.admin-table .empty-row {
  text-align: center;
  color: var(--c-text-muted);
  padding: 1.5rem 1rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: var(--c-surface);
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.25rem;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--c-text-muted);
}
.pager__info {
  margin-right: auto;
}
.pager__size {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}
.pager__size select {
  width: auto;
  padding: 0.3rem 1.8rem 0.3rem 0.6rem;
  font-size: 0.82rem;
}
.pager__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}
.pager__gap {
  padding: 0 0.2rem;
  color: var(--c-text-faint);
}
.pager .btn--xs {
  min-width: 2rem;
  justify-content: center;
}
.pager .btn.is-current {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.16);
  color: var(--c-heading);
  font-weight: 700;
}
@media (max-width: 640px) {
  .pager {
    flex-direction: column;
  }
  .pager__info {
    margin-right: 0;
  }
  .pager__pages {
    justify-content: center;
  }
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.admin-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text-muted);
  background: var(--c-surface-2);
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--c-border);
  white-space: nowrap;
}
.admin-table th.sortable {
  padding: 0;
}
.admin-table th.sortable button {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  background: none;
  cursor: pointer;
}
.admin-table th.sortable button:hover {
  color: var(--c-heading);
}
.admin-table th.sortable button:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: -2px;
}
.admin-table th.sortable.num button {
  justify-content: flex-end;
}
.admin-table th.is-sorted {
  color: var(--c-heading);
}
.admin-table .sort-ind {
  font-size: 0.65rem;
  opacity: 0.45;
}
.admin-table th.is-sorted .sort-ind {
  opacity: 1;
  color: #3b82f6;
}
.admin-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--c-border-soft);
  vertical-align: top;
}
.admin-table tbody tr:last-child td {
  border-bottom: 0;
}
.admin-table tbody tr:hover td {
  background: rgba(59, 130, 246, 0.04);
}
.admin-table tfoot td {
  background: var(--c-surface-2);
  font-weight: 600;
  border-top: 1px solid var(--c-border);
  padding: 0.7rem 0.85rem;
}
.admin-table .num {
  text-align: right;
  white-space: nowrap;
}
.admin-table a {
  color: #3b82f6;
  text-decoration: none;
}
.admin-table a:hover {
  text-decoration: underline;
}
.admin-table a.strong {
  color: var(--c-heading);
}
.admin-table a.btn {
  color: var(--c-text);
}
.admin-table a.btn:hover {
  color: var(--c-heading);
  text-decoration: none;
}
.admin-table .row-link {
  cursor: pointer;
}
.admin-table .actions-col {
  text-align: right;
  white-space: nowrap;
}
.admin-table .actions-col .btn {
  margin: 0 0 0.25rem 0.2rem;
}
.admin-table--people td:first-child {
  min-width: 13rem;
}

.assign-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.assign {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.55rem;
}
.assign__label {
  font-weight: 600;
  font-size: 0.82rem;
  min-width: 6.5rem;
}
.assign__actions {
  display: inline-flex;
  gap: 0.6rem;
  font-size: 0.8rem;
}

.mini-progress {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--c-text-muted);
}
.mini-progress .progress-bar {
  width: 6rem;
  flex-shrink: 0;
}

.empty {
  text-align: center;
  color: var(--c-text-muted);
  padding: 2rem 1rem;
  border: 1px dashed var(--c-border);
  border-radius: 10px;
  font-size: 0.9rem;
}

.loading {
  color: var(--c-text-muted);
  padding: 2rem 0;
  text-align: center;
}

.compare-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-heading);
  margin: 1.25rem 0 0.6rem;
}
.compare-title:first-of-type {
  margin-top: 0;
}

.dim-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--dim);
  margin-right: 0.35rem;
}

.admin-table--compare th {
  vertical-align: middle;
}

.admin-table--compare th.num {
  white-space: normal;
  line-height: 1.3;
  min-width: 6.5rem;
}

.pct-cell {
  position: relative;
  min-width: 4.75rem;
  height: 1.6rem;
  border-radius: 4px;
  background: color-mix(in srgb, var(--c-text-muted) 7%, transparent);
  overflow: hidden;
}
.pct-cell__bar {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--dim-soft);
  border-right: 2px solid var(--dim);
}
.pct-cell__val {
  position: relative;
  display: block;
  line-height: 1.6rem;
  padding: 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: right;
}

.summary-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.summary-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.82rem;
  color: var(--c-text-muted);
}
.summary-card span {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-heading);
  line-height: 1.1;
}
.summary-card--started {
  border-color: rgba(245, 158, 11, 0.4);
}
.summary-card--done {
  border-color: rgba(16, 185, 129, 0.4);
}

.score-summary {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 560px) {
  .score-summary {
    flex-direction: column;
    align-items: stretch;
  }
}
.score-summary__total {
  text-align: center;
  flex-shrink: 0;
}
.score-summary__total span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #10b981;
  line-height: 1.1;
}
.score-summary__total small {
  color: var(--c-text-muted);
}
.score-summary__dims {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dim-row {
  display: grid;
  grid-template-columns: 10rem 1fr 4rem;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.8rem;
}
.dim-row__bar {
  height: 6px;
  border-radius: 999px;
  background: var(--c-border-soft);
  overflow: hidden;
}
.dim-row__bar span {
  display: block;
  height: 100%;
  background: var(--dim);
}
.dim-row__val {
  text-align: right;
  font-weight: 600;
}
@media (max-width: 560px) {
  .dim-row {
    grid-template-columns: 7rem 1fr 3.5rem;
  }
}

.resp-block {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dim);
  border-bottom: 2px solid var(--dim);
  padding-bottom: 0.3rem;
  margin: 1.25rem 0 0.4rem;
}
.resp-block span {
  color: var(--c-text);
  font-weight: 600;
}

.resp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.resp-table td {
  padding: 0.5rem 0.4rem;
  border-bottom: 1px solid var(--c-border-soft);
  vertical-align: top;
}
.resp-table .num {
  text-align: right;
  white-space: nowrap;
}
.resp-table__code {
  color: var(--c-text-faint);
  font-size: 0.75rem;
  width: 3.5rem;
  white-space: nowrap;
}

.error-list {
  font-size: 0.88rem;
  color: var(--c-error-strong);
  padding-left: 1.2rem;
  list-style: disc;
  max-height: 50vh;
  overflow-y: auto;
}
.error-list li {
  margin-bottom: 0.3rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(2, 6, 16, 0.75);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4vh 1rem;
  overflow-y: auto;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 34rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.modal--wide {
  max-width: 56rem;
}
.modal h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-heading);
  margin-bottom: 1rem;
  padding-right: 2rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: transparent;
  color: var(--c-text-muted);
  cursor: pointer;
}
.modal-close:hover {
  color: var(--c-heading);
  border-color: var(--c-text-muted);
}

.modal-desc {
  color: var(--c-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.modal-desc strong {
  color: var(--c-text);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  max-width: calc(100% - 2rem);
  padding: 0.75rem 1.2rem;
  border-radius: 10px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-toast);
  border: 1px solid;
}
.toast--success {
  background: var(--c-toast-success-bg);
  border-color: #10b981;
  color: var(--c-toast-success-text);
}
.toast--error {
  background: var(--c-toast-error-bg);
  border-color: #ef4444;
  color: var(--c-toast-error-text);
}
.toast--info {
  background: var(--c-toast-info-bg);
  border-color: #3b82f6;
  color: var(--c-toast-info-text);
}

.theme-toggle {
  padding: 0.4rem 0.55rem;
  line-height: 0;
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
}
.theme-toggle .theme-toggle__sun {
  display: none;
}

html[data-theme=light] .theme-toggle .theme-toggle__sun {
  display: block;
}
html[data-theme=light] .theme-toggle .theme-toggle__moon {
  display: none;
}

.hidden {
  display: none !important;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.nowrap {
  white-space: nowrap;
}/*# sourceMappingURL=main.css.map */