:root {
    --wf-bg: #3b3c38;
    --wf-bg-soft: #32332f;
    --wf-panel: #474842;
    --wf-panel-soft: #4e4f48;
    --wf-border: rgba(255, 255, 255, 0.15);
    --wf-border-strong: rgba(255, 255, 255, 0.42);
    --wf-accent: #ffcb00;
    --wf-accent-hover: #ffda45;
    --wf-accent-rgb: 255, 203, 0;
    --wf-accent-text: #ffdd57;
    --wf-accent-ink: #1d1d1b;
    --wf-focus: #ffe27a;
    --wf-text: #f4f3ed;
    --wf-muted: #d0cfc7;
    --wf-danger: #ffaaa0;
    --wf-radius-sm: 6px;
    --wf-radius: 12px;
    --wf-font-main: "Rajdhani", system-ui, sans-serif;
    --wf-font-head: "Orbitron", "Rajdhani", system-ui, sans-serif;
}

.wf-photo-preview {
    display: grid;
    gap: 0.75rem;
    justify-items: start;
    margin-top: 0.85rem;
}

.wf-photo-preview img {
    display: block;
    width: min(100%, 32rem);
    max-height: 22rem;
    object-fit: contain;
    border-radius: 14px;
    background: #f3f4f6;
}

.wf-knowledge-figure {
    margin: 0;
    display: grid;
    gap: 0.65rem;
}

.wf-knowledge-figure img {
    display: block;
    width: 100%;
    max-height: 34rem;
    object-fit: contain;
    border-radius: 14px;
    background: #f3f4f6;
}

.wf-knowledge-figure figcaption {
    color: var(--wf-muted);
    font-size: 0.95rem;
}

.wf-pdf-page-viewer {
    display: grid;
    justify-items: start;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid var(--wf-border);
    border-radius: var(--wf-radius);
    background: var(--wf-panel);
    overflow: hidden;
}

.wf-pdf-page-canvas {
    display: block;
    max-width: 100%;
    height: auto !important;
    border: 1px solid var(--wf-border);
    background: #fff;
    box-shadow: 0 10px 30px rgb(0 0 0 / 8%);
}

.wf-pdf-page-fallback {
    color: var(--wf-text);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: .2em;
}

* {
    box-sizing: border-box;
}

::selection {
    background: var(--wf-accent);
    color: var(--wf-accent-ink);
}

html {
    scrollbar-color: var(--wf-accent) var(--wf-bg-soft);
}

.hidden {
    display: none !important;
}

.wf-body {
    margin: 0;
    min-height: 100vh;
    color: var(--wf-text);
    font-family: var(--wf-font-main);
    font-size: 17px;
    line-height: 1.5;
    background: var(--wf-bg);
    caret-color: var(--wf-accent);
}

.wf-app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
}

.wf-top-brand {
    border: 0;
    border-radius: 0 0 var(--wf-radius) var(--wf-radius);
    background: #dfded7;
    padding: 18px 22px 20px;
}

.wf-top-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.wf-sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 18px;
    border-bottom: 1px solid var(--wf-border);
    background: var(--wf-text);
}

.wf-brand-stack {
    display: flex;
    align-items: center;
    gap: 22px;
}

.wf-brand-context {
    min-height: 54px;
    border-left: 1px solid rgba(29, 29, 27, 0.3);
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.wf-brand-mark {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.wf-brand-logo {
    display: block;
    width: 184px;
    height: auto;
}

.wf-brand-portal {
    color: var(--wf-accent-ink);
    font-family: var(--wf-font-head);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.wf-brand-customer {
    margin: 0;
    color: #565650;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.wf-top-brand .wf-session-identity {
    color: #565650;
}

.wf-top-brand .wf-btn-secondary {
    border-color: rgba(29, 29, 27, 0.5);
    color: var(--wf-accent-ink);
}

.wf-top-brand .wf-btn-secondary:hover {
    border-color: var(--wf-accent-ink);
    background: rgba(var(--wf-accent-rgb), 0.32);
}

.wf-top-brand .wf-btn:focus-visible,
.wf-brand-mark:focus-visible {
    outline: 3px solid #514300;
    outline-offset: 3px;
}

.wf-sidebar-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
}

.wf-nav-link {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.08em;
    color: #ffffff;
    opacity: 0.84;
    transition: color 120ms ease, opacity 120ms ease;
}

.wf-nav-link:hover {
    color: var(--wf-accent-hover);
    opacity: 1;
}

.wf-nav-link.is-active {
    color: var(--wf-accent);
    opacity: 1;
}

.wf-sidebar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wf-sidebar-footer {
    margin-top: auto;
}

.wf-sidebar-legal {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.76);
}

.wf-main-shell {
    position: relative;
    border-top: 18px solid var(--wf-accent-ink);
    padding: 22px 16px 40px;
}

.wf-main-shell::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: -18px;
    left: 50%;
    display: block;
    width: 36px;
    height: 26px;
    background: var(--wf-accent);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform: translateX(-50%);
}

.wf-main-shell::after {
    display: none;
}

.wf-page-shell {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.wf-page {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.wf-main-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.wf-session-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.wf-session-identity {
    margin: 0;
    color: var(--wf-muted);
    font-size: 13px;
    line-height: 1.45;
    text-align: right;
    max-width: 44ch;
}

.wf-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wf-home-kicker {
    margin: 0;
    color: var(--wf-accent-text);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
}

.wf-home-cues {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wf-home-cues li {
    min-height: 38px;
    border: 1px solid rgba(var(--wf-accent-rgb), 0.28);
    background: rgba(var(--wf-accent-rgb), 0.07);
    padding: 7px 11px 7px 8px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--wf-text);
    font-size: 14px;
    line-height: 1.35;
}

.wf-home-cues span {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    background: var(--wf-accent);
    color: var(--wf-accent-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
}

.wf-with-back {
    gap: 12px;
}

.wf-back-button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--wf-border-strong);
    background: var(--wf-panel-soft);
    color: var(--wf-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    border-radius: var(--wf-radius-sm);
    transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.wf-back-button:hover {
    border-color: var(--wf-accent);
    color: var(--wf-text);
    background: rgba(var(--wf-accent-rgb), 0.08);
    transform: translateX(-2px);
}

.wf-h1,
.wf-h2,
.wf-h3,
.wf-problem-title,
.wf-choice-title {
    margin: 0;
    font-family: var(--wf-font-head);
    letter-spacing: -0.02em;
    color: var(--wf-text);
    text-wrap: balance;
}

.wf-h1 {
    font-size: 42px;
    line-height: 1.12;
    font-weight: 700;
    text-transform: uppercase;
}

.wf-h2 {
    font-size: 27px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

.wf-h3 {
    font-size: 23px;
    line-height: 1.25;
    font-weight: 650;
}

.wf-description {
    margin: 0;
    color: var(--wf-muted);
    line-height: 1.65;
    max-width: 72ch;
    text-wrap: pretty;
}

.wf-body-text {
    margin: 0;
    color: var(--wf-text);
    line-height: 1.8;
}

.wf-markdown {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wf-markdown > * {
    margin-top: 0;
    margin-bottom: 0;
}

.wf-markdown h1,
.wf-markdown h2,
.wf-markdown h3,
.wf-markdown h4 {
    color: var(--wf-text);
    font-family: var(--wf-font-head);
    line-height: 1.25;
}

.wf-markdown h1 {
    font-size: 30px;
}

.wf-markdown h2 {
    font-size: 25px;
}

.wf-markdown h3,
.wf-markdown h4 {
    font-size: 21px;
}

.wf-markdown ul,
.wf-markdown ol {
    padding-left: 22px;
}

.wf-markdown img {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    border: 1px solid var(--wf-border);
    background: var(--wf-panel-soft);
}

.wf-markdown a {
    color: var(--wf-accent-text);
}

.wf-problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.wf-problem-card,
.wf-empty-card,
.wf-card,
.wf-form-card,
.wf-confirm-card {
    border: 1px solid var(--wf-border);
    background: var(--wf-panel);
    border-radius: var(--wf-radius);
}

.wf-problem-card {
    min-height: 190px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.wf-problem-card:hover,
.wf-problem-card:focus-within {
    transform: translateY(-1px);
    border-color: var(--wf-accent-text);
    background: var(--wf-panel-soft);
}

.wf-problem-title {
    font-size: 23px;
    line-height: 1.25;
    font-weight: 650;
}

.wf-problem-description {
    margin: 0;
    color: var(--wf-muted);
    line-height: 1.6;
    flex-grow: 1;
}

.wf-problem-card .wf-btn {
    margin-top: auto;
}

.wf-problem-card .wf-btn-primary {
    border-color: var(--wf-accent);
    background: var(--wf-accent);
    color: var(--wf-accent-ink);
}

.wf-problem-card .wf-btn-primary:hover {
    border-color: var(--wf-accent-hover);
    background: var(--wf-accent-hover);
}

.wf-empty-card {
    padding: 24px;
    color: var(--wf-muted);
}

.wf-card {
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.wf-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wf-gap {
    gap: 14px;
}

.wf-gap-sm {
    gap: 10px;
}

.wf-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

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

.wf-left {
    text-align: left;
}

.wf-btn {
    border: 1px solid var(--wf-border-strong);
    padding: 11px 20px;
    min-height: 44px;
    font-size: 14px;
    font-family: var(--wf-font-head);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--wf-text);
    background: transparent;
    border-radius: var(--wf-radius-sm);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.wf-btn:hover {
    transform: translateY(-1px);
}

.wf-btn:active {
    transform: translateY(0);
}

.wf-btn:focus-visible,
.wf-back-button:focus-visible,
.wf-input:focus-visible,
.wf-choice-card:focus-visible,
.wf-upload-zone:focus-visible,
.wf-answer-review summary:focus-visible,
.wf-suggestion-details summary:focus-visible {
    outline: 3px solid var(--wf-focus);
    outline-offset: 3px;
}

.wf-btn-primary {
    border-color: var(--wf-accent);
    background: var(--wf-accent);
    color: var(--wf-accent-ink);
}

.wf-btn-primary:hover {
    border-color: var(--wf-accent-hover);
    background: var(--wf-accent-hover);
}

.wf-btn-secondary {
    border-color: var(--wf-text);
    background: transparent;
    color: var(--wf-text);
}

.wf-btn-secondary:hover {
    border-color: var(--wf-accent);
    background: rgba(var(--wf-accent-rgb), 0.13);
}

.wf-btn-small {
    min-height: 36px;
    padding: 8px 14px;
    font-size: 13px;
}

.wf-btn-block {
    width: 100%;
}

.wf-btn[disabled],
.wf-btn:disabled {
    opacity: 0.56;
    cursor: not-allowed;
    transform: none;
}

.wf-link {
    color: var(--wf-accent-text);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.wf-option-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wf-option-item {
    border: 1px solid var(--wf-border);
    background: var(--wf-panel-soft);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 14px;
    color: var(--wf-text);
    border-radius: var(--wf-radius-sm);
}

.wf-machine-selection {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wf-machine-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wf-machine-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.wf-machine-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.wf-machine-fieldset legend {
    margin-bottom: 10px;
    padding: 0;
}

.wf-machine-option {
    min-height: 96px;
    align-items: center;
    padding: 16px 18px;
    cursor: pointer;
    transition: border-color 180ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.wf-machine-option:hover {
    border-color: var(--wf-border-strong);
    background: var(--wf-bg-soft);
}

.wf-machine-option:has(input:checked) {
    border-color: var(--wf-accent-text);
    background: rgba(var(--wf-accent-rgb), 0.09);
}

.wf-machine-option:has(input:focus-visible) {
    outline: 3px solid var(--wf-focus);
    outline-offset: 3px;
}

.wf-machine-option input[type="radio"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--wf-accent);
}

.wf-machine-option-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.wf-machine-option-copy strong {
    color: var(--wf-text);
    font-size: 17px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.wf-machine-option-copy small {
    color: var(--wf-muted);
    font-size: 14px;
    line-height: 1.45;
}

.wf-machine-picker {
    min-height: 52px;
    cursor: pointer;
}

.wf-machine-field {
    gap: 10px;
}

.wf-machine-note {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wf-machine-note span {
    color: var(--wf-accent-text);
    font-weight: 700;
}

.wf-machine-actions {
    justify-content: flex-end;
}

.wf-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wf-secret-field {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.wf-secret-input {
    min-width: 0;
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    letter-spacing: 0.06em;
}

.wf-secret-field .wf-btn {
    flex: 0 0 auto;
}

.wf-copy-status {
    min-height: 1.4em;
    margin: 0;
    color: var(--wf-accent-text);
    font-size: 13px;
    line-height: 1.4;
}

.wf-flow-step {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wf-approval-step {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wf-approval-callout {
    background: #4b4c45;
    border-color: var(--wf-border-strong);
}

.wf-impact-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.wf-impact-fieldset > .wf-muted {
    margin-top: 6px;
}

.wf-impact-option {
    cursor: pointer;
    transition: border-color 180ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.wf-impact-option:hover {
    border-color: var(--wf-border-strong);
    background: var(--wf-bg-soft);
}

.wf-impact-option:has(input:checked) {
    border-color: var(--wf-accent-text);
    background: rgba(var(--wf-accent-rgb), 0.09);
}

.wf-impact-option:has(input:focus-visible) {
    outline: 3px solid var(--wf-focus);
    outline-offset: 3px;
}

.wf-impact-option input[type="radio"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--wf-accent);
}

.wf-impact-option > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.wf-impact-option small {
    color: var(--wf-muted);
    font-size: 14px;
    line-height: 1.45;
}

.wf-approval-ticket-info {
    gap: 10px;
    padding: 18px;
}

.wf-approval-ticket-list {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wf-approval-ticket-list li {
    line-height: 1.55;
}

.wf-approval-consent-box {
    gap: 10px;
    padding: 14px;
}

.wf-approval-consent {
    align-items: flex-start;
}

.wf-approval-consent input[type="checkbox"] {
    margin-top: 4px;
}

.wf-label {
    color: var(--wf-text);
    font-weight: 600;
}

.wf-input {
    width: 100%;
    border: 1px solid var(--wf-border-strong);
    background: #393a35;
    color: var(--wf-text);
    padding: 13px 14px;
    font-size: 16px;
    line-height: 1.5;
    border-radius: var(--wf-radius-sm);
    outline: none;
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.wf-input::placeholder {
    color: #b9b8b0;
}

.wf-input:focus,
.wf-input:hover {
    border-color: var(--wf-accent-text);
    background: #41423c;
}

.wf-input:focus {
    box-shadow: 0 0 0 3px rgba(var(--wf-accent-rgb), 0.12);
}

textarea.wf-input {
    min-height: 132px;
    resize: vertical;
}

.wf-input[type="file"] {
    cursor: pointer;
}

.wf-attachment-panel {
    border: 1px solid rgba(var(--wf-accent-rgb), 0.28);
    background: rgba(var(--wf-accent-rgb), 0.045);
    padding: 14px;
    border-radius: var(--wf-radius);
}

.wf-attachment-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.wf-attachment-heading .wf-muted {
    margin: 4px 0 0;
}

.wf-attachment-count {
    flex: 0 0 auto;
    border: 1px solid rgba(var(--wf-accent-rgb), 0.42);
    background: rgba(var(--wf-accent-rgb), 0.12);
    color: var(--wf-text);
    padding: 4px 9px;
    font-size: 12px;
    font-family: var(--wf-font-head);
    text-transform: uppercase;
}

.wf-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.wf-upload-zone {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 2px dashed var(--wf-accent-text);
    background: #393a35;
    color: var(--wf-text);
    padding: 18px;
    border-radius: var(--wf-radius-sm);
    cursor: pointer;
    transition: border-color 120ms ease, background-color 120ms ease, transform 120ms ease;
}

.wf-upload-zone:hover,
.wf-upload-input:focus + .wf-upload-zone {
    border-color: var(--wf-accent);
    background: rgba(var(--wf-accent-rgb), 0.1);
    transform: translateY(-1px);
}

.wf-upload-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(var(--wf-accent-rgb), 0.55);
    background: var(--wf-accent);
    color: var(--wf-accent-ink);
    font-size: 0;
    font-family: var(--wf-font-head);
    line-height: 1;
    border-radius: var(--wf-radius-sm);
}

.wf-upload-icon::before {
    content: "+";
    display: block;
    font-size: 26px;
    line-height: 1;
    transform: translateY(-1px);
}

.wf-upload-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wf-upload-title {
    color: var(--wf-text);
    font-family: var(--wf-font-head);
    font-size: 16px;
}

.wf-upload-subtitle {
    color: var(--wf-muted);
    font-size: 14px;
}

.wf-attachment-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wf-attachment-list li {
    border: 1px solid var(--wf-border);
    background: var(--wf-panel-soft);
    color: var(--wf-text);
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    border-radius: var(--wf-radius-sm);
}

.wf-attachment-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.wf-attachment-remove {
    flex: 0 0 auto;
    border: 1px solid rgba(var(--wf-accent-rgb), 0.35);
    background: rgba(var(--wf-accent-rgb), 0.08);
    color: var(--wf-text);
    padding: 6px 9px;
    font-family: var(--wf-font-head);
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
}

.wf-attachment-remove:hover,
.wf-attachment-remove:focus {
    border-color: var(--wf-accent);
    background: rgba(var(--wf-accent-rgb), 0.16);
}

.wf-attachment-remove:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.wf-file-dashed {
    border-style: dashed;
    padding-top: 18px;
    padding-bottom: 18px;
}

.wf-form-card {
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wf-form-footer {
    border-top: 1px solid var(--wf-border);
    padding-top: 18px;
    display: flex;
    justify-content: center;
}

.wf-choice-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.wf-choice-card {
    border: 1px solid var(--wf-border-strong);
    background: var(--wf-panel-soft);
    padding: 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    cursor: pointer;
    border-radius: var(--wf-radius);
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.wf-choice-card:hover {
    border-color: rgba(var(--wf-accent-rgb), 0.62);
    background: #55564e;
    transform: translateY(-1px);
}

.wf-choice-icon {
    width: 54px;
    height: 54px;
    border: 1px solid rgba(var(--wf-accent-rgb), 0.55);
    background: var(--wf-accent);
    color: var(--wf-accent-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    border-radius: var(--wf-radius-sm);
}

.wf-choice-icon-circle {
    border-radius: 999px;
}

.wf-choice-title {
    font-size: clamp(31px, 4.5vw, 44px);
    font-weight: 700;
}

.wf-choice-description {
    margin: 0;
    color: var(--wf-muted);
    font-size: clamp(20px, 3vw, 28px);
    line-height: 1.35;
}

.wf-meta-box {
    border: 1px solid var(--wf-border);
    background: var(--wf-panel-soft);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--wf-text);
    border-radius: var(--wf-radius-sm);
}

.wf-meta-title {
    font-size: 18px;
    color: var(--wf-text);
    font-family: var(--wf-font-head);
    font-weight: 600;
}

.wf-meta-text {
    color: var(--wf-text);
    line-height: 1.65;
}

.wf-meta-subtext {
    font-size: 13px;
    color: var(--wf-muted);
}

.wf-selected-asset-box {
    border-color: rgba(var(--wf-accent-rgb), 0.38);
    background: rgba(var(--wf-accent-rgb), 0.08);
}

.wf-inline-details {
    margin-top: 4px;
}

.wf-inline-details summary {
    width: fit-content;
    cursor: pointer;
    color: var(--wf-accent-text);
    font-family: var(--wf-font-head);
    font-size: 14px;
    font-weight: 600;
}

.wf-inline-details summary:hover,
.wf-inline-details summary:focus {
    color: var(--wf-text);
}

.wf-inline-details .wf-field {
    margin-top: 10px;
}

.wf-answer-review {
    border: 1px solid var(--wf-border);
    background: var(--wf-panel-soft);
    color: var(--wf-text);
    border-radius: var(--wf-radius-sm);
    overflow: clip;
}

.wf-answer-review summary {
    min-height: 44px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    color: var(--wf-text);
    font-family: var(--wf-font-head);
    font-size: 15px;
    font-weight: 600;
}

.wf-answer-review summary span:last-child {
    flex: 0 0 auto;
    color: var(--wf-muted);
    font-family: var(--wf-font-main);
    font-size: 13px;
    font-weight: 500;
}

.wf-answer-review-list {
    border-top: 1px solid var(--wf-border);
    padding: 12px;
    display: grid;
    gap: 10px;
}

.wf-answer-review-item {
    display: grid;
    gap: 2px;
}

.wf-answer-review-question {
    color: var(--wf-text);
    font-weight: 650;
    line-height: 1.45;
}

.wf-answer-review-answer {
    color: var(--wf-muted);
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.wf-suggestion-card {
    gap: 12px;
}

.wf-suggestion-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.wf-confidence-chip {
    border: 1px solid var(--wf-border);
    border-radius: 999px;
    background: var(--wf-panel-soft);
    color: var(--wf-text);
    padding: 4px 10px;
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
}

.wf-confidence-high {
    background: rgba(var(--wf-accent-rgb), 0.22);
    border-color: rgba(var(--wf-accent-rgb), 0.72);
    color: var(--wf-text);
}

.wf-confidence-medium {
    background: rgba(255, 198, 89, 0.2);
    border-color: rgba(255, 198, 89, 0.62);
    color: #ffe49a;
}

.wf-confidence-low {
    background: rgba(255, 118, 118, 0.2);
    border-color: rgba(255, 118, 118, 0.62);
    color: #ffc2bb;
}

.wf-suggestion-preview {
    margin: 0;
}

.wf-suggestion-details {
    border-top: 1px solid var(--wf-border);
    padding-top: 10px;
}

.wf-suggestion-details summary {
    cursor: pointer;
    color: var(--wf-text);
}

.wf-suggestion-details summary:hover {
    color: var(--wf-accent-text);
}

.wf-suggestion-content {
    margin-top: 10px;
}

.wf-placeholder-box {
    width: 100%;
    min-height: 230px;
    border: 1px solid var(--wf-border);
    background: var(--wf-panel-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--wf-radius);
    overflow: hidden;
}

.wf-media {
    width: 100%;
    height: 100%;
    min-height: 230px;
    border: 0;
    object-fit: cover;
}

.wf-placeholder-content {
    text-align: center;
    color: var(--wf-muted);
}

.wf-placeholder-icon {
    font-size: 34px;
    line-height: 1;
}

.wf-placeholder-label {
    margin-top: 8px;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wf-voice-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.wf-mic-button {
    width: 124px;
    height: 124px;
    border-radius: 999px;
    border: 1px solid rgba(var(--wf-accent-rgb), 0.62);
    background: rgba(var(--wf-accent-rgb), 0.16);
    color: var(--wf-text);
    font-size: 19px;
    cursor: pointer;
    transition: transform 120ms ease, background-color 120ms ease;
}

.wf-mic-button:hover {
    transform: scale(1.02);
    background: rgba(var(--wf-accent-rgb), 0.28);
}

.wf-audio {
    width: 100%;
    border: 1px solid var(--wf-border);
    background: var(--wf-bg-soft);
    padding: 6px;
    box-sizing: border-box;
    border-radius: var(--wf-radius-sm);
}

.wf-muted {
    color: var(--wf-muted);
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.wf-error {
    margin: 4px 0 0;
    color: var(--wf-danger);
    font-size: 13px;
}

.wf-error-box {
    border: 1px solid rgba(255, 118, 118, 0.68);
    background: rgba(126, 35, 28, 0.34);
    color: #ffd2cc;
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    border-radius: var(--wf-radius-sm);
}

.wf-confirm-shell {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wf-confirm-card {
    width: 100%;
    max-width: 820px;
    padding: 42px 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

.wf-confirm-icon {
    width: 82px;
    height: 82px;
    border-radius: 999px;
    border: 1px solid rgba(var(--wf-accent-rgb), 0.65);
    background: var(--wf-accent);
    color: var(--wf-accent-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-family: var(--wf-font-head);
    font-weight: 700;
}

@media (min-width: 720px) {
    .wf-main-shell {
        padding: 28px 24px 48px;
    }

    .wf-page-shell {
        gap: 20px;
    }

    .wf-problem-grid {
        grid-template-columns: 1fr 1fr;
    }

    .wf-choice-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 719px) {
    .wf-top-brand {
        padding-top: 16px;
    }

    .wf-brand-stack {
        align-items: flex-start;
        gap: 14px;
    }

    .wf-brand-logo {
        width: 150px;
    }

    .wf-brand-context {
        min-height: 46px;
        padding-left: 14px;
    }

    .wf-brand-portal,
    .wf-brand-customer {
        font-size: 12px;
    }

    .wf-h1 {
        font-size: 30px;
    }

    .wf-h2 {
        font-size: 22px;
    }

    .wf-h3,
    .wf-problem-title {
        font-size: 21px;
    }

    .wf-problem-card,
    .wf-card,
    .wf-form-card {
        padding: 20px;
    }

    .wf-problem-card {
        min-height: 0;
    }

    .wf-machine-options {
        grid-template-columns: 1fr;
    }

    .wf-machine-selection {
        gap: 20px;
    }

    .wf-btn {
        width: 100%;
    }

    .wf-secret-field {
        flex-direction: column;
    }

    .wf-session-tools {
        width: 100%;
        justify-content: flex-start;
    }

    .wf-session-identity {
        text-align: left;
        max-width: 100%;
    }
}

@media (min-width: 1080px) {
    .wf-main-shell {
        padding: 34px 42px 56px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
