/* Shared select and disclosure spacing. Native controls and semantics remain intact. */
#resource-state:not([multiple]):not([size]),
:is(.field,.form-fields,.cw-main,.picker,.aaco-privacy-form) select:not([multiple]):not([size]),
:is(.field,.form-fields,.cw-main,.picker,.aaco-privacy-form) select[size="1"]:not([multiple]){
 -webkit-appearance:none;appearance:none;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23374f66' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
 background-repeat:no-repeat;background-position:right 16px center;background-size:16px 16px;
 padding-inline-end:48px;min-height:48px;min-width:0;max-width:100%;line-height:1.4;
}
.picker select:not([multiple]):not([size]){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23e4edf5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E")}
:is(.cw-faq,.faq-list) details>summary,.cw-costs>summary,.cw-app-info>summary,.optional-details>summary{
 display:block;position:relative;list-style:none;box-sizing:border-box;min-height:48px;
 padding:14px 44px 14px 0;line-height:1.5;cursor:pointer;
}
:is(.cw-faq,.faq-list) details>summary::-webkit-details-marker,.cw-costs>summary::-webkit-details-marker,.cw-app-info>summary::-webkit-details-marker,.optional-details>summary::-webkit-details-marker{display:none}
:is(.cw-faq,.faq-list) details>summary::marker,.cw-costs>summary::marker,.cw-app-info>summary::marker,.optional-details>summary::marker{content:""}
:is(.cw-faq,.faq-list) details>summary::after,.cw-costs>summary::after,.cw-app-info>summary::after,.optional-details>summary::after{
 content:"";position:absolute;right:17px;top:20px;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);pointer-events:none;
}
:is(.cw-faq,.faq-list) details[open]>summary::after,.cw-costs[open]>summary::after,.cw-app-info[open]>summary::after,.optional-details[open]>summary::after{transform:rotate(225deg);top:24px}
.cw-faq details{padding-block:0}
.cw-faq details p{margin:0 0 16px}
.cw-costs>summary{padding-block:10px}
:is(.cw-faq,.faq-list) details>summary:focus-visible,.cw-costs>summary:focus-visible,.cw-app-info>summary:focus-visible,.optional-details>summary:focus-visible{outline:3px solid #9a650f;outline-offset:3px}
/* State-resource controls need room for complete state names on small screens. */
body .resource-guide-controls #resource-state,body #deadline.state-resources .resource-guide-controls #resource-state{padding-inline-end:48px;background-position:right 16px center;background-size:16px 16px}
@media(max-width:560px){
 body .resource-guide-controls,body #deadline.state-resources .resource-guide-controls{grid-template-columns:minmax(0,1fr);flex-direction:column;align-items:stretch}
 body .resource-guide-controls #resource-state,body #deadline.state-resources .resource-guide-controls #resource-state,body #deadline.state-resources .resource-guide-controls .btn{width:100%;min-height:48px;flex-basis:auto}
}
@media(forced-colors:active){
 #resource-state:not([multiple]):not([size]),
 :is(.field,.form-fields,.cw-main,.picker,.aaco-privacy-form) select:not([multiple]):not([size]),:is(.field,.form-fields,.cw-main,.picker,.aaco-privacy-form) select[size="1"]:not([multiple]){appearance:auto;-webkit-appearance:auto;background-image:none;padding-inline-end:16px}
}
