
        :root {
            --purple: #673ab7;
            --background: #f0ebf8;
            --border: #dadce0;
            --ink: #202124;
            --muted: #5f6368;
            --red: #d93025
        }

        * {
            box-sizing: border-box
        }

        body {
            margin: 0;
            background: var(--background);
            color: var(--ink);
            font-family: Arial, Tahoma, sans-serif;
            font-size: 14px;
            line-height: 1.6
        }

        main {
            max-width: 640px;
            margin: 12px auto 40px;
            padding: 0 0 20px
        }

        .card {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 8px;
            margin-bottom: 12px
        }

        .header {
            border-top: 10px solid var(--purple);
            overflow: hidden
        }

        .heading {
            padding: 20px 24px 18px
        }

        h1 {
            font-size: 32px;
            font-weight: 400;
            line-height: 1.35;
            margin: 0 0 14px
        }

        .subtitle {
            margin: 0
        }

        .required-note {
            border-top: 1px solid var(--border);
            padding: 12px 24px;
            color: var(--red)
        }

        .question {
            padding: 24px
        }

        .question-label,
        legend {
            display: block;
            font-size: 16px;
            line-height: 1.6;
            margin: 0 0 22px
        }

        .star {
            color: var(--red);
            margin-left: 5px
        }

        fieldset {
            border: 0;
            padding: 0;
            margin: 0;
            min-width: 0;
            width: 100%
        }

        legend {
            padding: 0
        }

        .answer,
        textarea,
        .other-input {
            font-family: inherit;
            font-size: 14px;
            color: var(--ink);
            border: 0;
            border-bottom: 1px solid var(--border);
            border-radius: 0;
            background: transparent;
            padding: 8px 0;
            outline: 0;
            max-width: 100%;
            transition: border-color .15s
        }

        .answer {
            width: 50%
        }

        .date {
            width: 190px;
            min-height: 40px
        }

        textarea {
            width: 100%;
            resize: vertical;
            min-height: 66px
        }

        .answer:focus,
        textarea:focus,
        .other-input:focus {
            border-bottom: 2px solid var(--purple);
            padding-bottom: 7px
        }

        .description {
            margin: -10px 0 22px;
            font-size: 13px;
            line-height: 1.7
        }

        .date-hint {
            font-size: 12px;
            color: var(--muted);
            margin: 6px 0 0
        }

        .option {
            display: flex;
            align-items: center;
            gap: 12px;
            min-height: 40px;
            margin: 2px 0;
            cursor: pointer;
            font-size: 14px
        }

        .option input[type=radio] {
            appearance: none;
            width: 20px;
            height: 20px;
            border: 2px solid #5f6368;
            border-radius: 50%;
            margin: 0;
            flex-shrink: 0;
            display: grid;
            place-content: center
        }

        .option input[type=radio]:checked {
            border-color: var(--purple)
        }

        .option input[type=radio]:checked:before {
            content: "";
            width: 10px;
            height: 10px;
            background: var(--purple);
            border-radius: 50%
        }

        .option input[type=radio]:focus-visible {
            outline: 3px solid #d1c4e9;
            outline-offset: 3px
        }

        .other-row label {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
            cursor: pointer
        }

        .other-input {
            width: 100%;
            min-width: 0
        }

        .other-input:disabled {
            opacity: .5
        }

        .actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 0 14px;
            gap: 16px
        }

        button {
            font-family: inherit;
            cursor: pointer;
            border: 0;
            border-radius: 4px;
            font-size: 14px;
            min-height: 38px;
            padding: 8px 24px
        }

        button[type=submit] {
            color: #fff;
            background: var(--purple);
            box-shadow: 0 1px 2px #0003
        }

        button[type=submit]:hover {
            background: #5e35b1
        }

        .clear {
            color: var(--purple);
            background: transparent;
            padding-right: 4px
        }

        .clear:hover {
            background: #e7dff3
        }

        button:focus-visible {
            outline: 3px solid #b39ddb;
            outline-offset: 3px
        }

        #status {
            display: none;
            margin: 0 0 16px;
            padding: 14px 18px;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 8px;
            overflow-wrap: anywhere
        }

        #status.show {
            display: block
        }

        footer {
            color: var(--muted);
            font-size: 12px;
            text-align: center;
            padding: 12px 20px
        }

        .note {
            color: var(--muted);
            font-size: 12px;
            margin: 0 0 8px
        }

        .field-error { color: var(--red); margin: 8px 0 0; }
        [aria-invalid="true"] { border-color: var(--red); }

        @media(max-width:680px) {
            main {
                margin: 12px 16px 28px
            }

            .question {
                padding: 24px 20px
            }

            .heading {
                padding: 20px
            }

            .required-note {
                padding: 12px 20px
            }

            h1 {
                font-size: 28px
            }

            .answer {
                width: 100%
            }

            .date {
                width: 190px
            }

            .other-row {
                gap: 8px
            }
        }
    
select{font:inherit;padding:9px;border:1px solid #dadce0;width:100%}.answer{width:100%}.section-title{font-size:24px}.file-input{display:block;width:100%}.error-summary{color:#b3261e}button:disabled{opacity:.6}.help{font-size:13px;color:#5f6368}input[type=checkbox]{accent-color:#673ab7}

/* Multi-page form */
[hidden]{display:none!important}
#wizard-bar{display:block;width:100%;height:10px;margin-top:12px;accent-color:#673ab7}
#wizard-position{font-size:14px;color:#5f6368}
#previous-button{background:white;color:#673ab7;border:1px solid #dadce0}
#next-button{background:#673ab7;color:white}
.section-title:focus{outline:none}
.actions{flex-wrap:wrap;justify-content:flex-start}
#clear-form{margin-left:auto}
.hr-footer{text-align:center;padding:24px}
