#shining-star-quote,
#shining-star-quote * { box-sizing: border-box; }

#shining-star-quote {
    position: fixed;
    inset: 0;
    width: min(696px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 36px 44px 42px;
    overflow: auto;
    border: 0;
    border-top: 2px solid #b8925c;
    background: #f8f6f1;
    color: #1b292f;
    font: 16px Arial, sans-serif;
    text-align: left;
}

#shining-star-quote:not([open]) { display: none; }
#shining-star-quote::backdrop { background: #0005; }
html:has(#shining-star-quote[open]) { overflow: hidden; }

#shining-star-quote .quote-close {
    position: absolute;
    top: 18px;
    right: 20px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #5d6262;
    font: 26px Arial, sans-serif;
    cursor: pointer;
}

#shining-star-quote :focus-visible { outline: 2px solid #936b36; outline-offset: 3px; }

#shining-star-quote .quote-kicker {
    margin: 0 36px 9px 0;
    color: #8a612d;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .14em;
}

#shining-star-quote h2 {
    margin: 0 0 12px;
    color: inherit;
    font: 400 clamp(29px, 6vw, 42px)/1.11 Georgia, serif;
}

#shining-star-quote .quote-intro { margin: 0 0 25px; color: #535d61; line-height: 1.5; }
#shining-star-quote .quote-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 12px; }

#shining-star-quote label {
    display: block;
    min-width: 0;
    margin-bottom: 13px;
    color: #344047;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

#shining-star-quote :is(input, textarea) {
    display: block;
    width: 100%;
    height: auto;
    min-height: 50px;
    margin: 7px 0 0;
    padding: 10px 14px;
    border: 1px solid #cbcfcf;
    border-radius: 2px;
    background: #fff;
    color: #1b292f;
    font: 16px Arial, sans-serif;
}

#shining-star-quote textarea { min-height: 82px; resize: vertical; }
#shining-star-quote :is(input, textarea)::placeholder { color: #666d70; }

#shining-star-quote .quote-submit {
    display: block;
    width: 100%;
    height: auto;
    min-height: 56px;
    margin-top: 9px;
    padding: 15px 22px;
    border: 0;
    border-radius: 2px;
    background: #192e39;
    color: white;
    font: 700 16px Arial, sans-serif;
    letter-spacing: .04em;
}

#shining-star-quote .quote-submit:disabled { opacity: .7; }
#shining-star-quote .quote-submit:not(:disabled) { cursor: pointer; }
#shining-star-quote .quote-submit:not(:disabled):hover { background: #294553; }

#shining-star-quote .quote-status:not(:empty) { margin: 14px 0 0; line-height: 1.5; }

@media (max-width: 540px) {
    #shining-star-quote { padding: 24px 19px 25px; }
    #shining-star-quote .quote-close { top: 9px; right: 9px; }
    #shining-star-quote .quote-kicker { font-size: 11px; }
    #shining-star-quote .quote-intro { margin-bottom: 19px; }
}
