@layer reset,tokens,base,components,utilities;@layer components{.m3-list,.m3-list-item,.m3-list-expand{--m3-list-bg: var(--md-sys-color-surface-container);--m3-list-chevron-bg: var(--md-sys-color-surface-container-low)}.m3-list--low,.m3-list-item--low,.m3-list-expand--low{--m3-list-bg: var(--md-sys-color-surface-container-low);--m3-list-chevron-bg: var(--md-sys-color-surface)}.m3-list,.m3-list-expand{display:grid;gap:2px;inline-size:100%}.m3-list-item,.m3-list-expand>summary{display:flex;align-items:center;gap:12px;box-sizing:border-box;min-block-size:56px;padding:12px 16px;border-radius:var(--md-sys-shape-corner-large);background:var(--m3-list-bg);color:var(--md-sys-color-on-surface)}.m3-list-item{padding-block:10px;text-decoration:none}.m3-list-expand>summary{list-style:none;cursor:pointer;&::-webkit-details-marker{display:none}}.m3-list-expand[open]>summary{border-end-start-radius:var(--md-sys-shape-corner-extra-small);border-end-end-radius:var(--md-sys-shape-corner-extra-small)}.m3-list-item__icon,.m3-list-expand__icon{display:grid;place-items:center;flex:0 0 28px;inline-size:28px;block-size:28px;border-radius:var(--md-sys-shape-corner-small);background:color-mix(in srgb,var(--md-sys-color-primary) 14%,transparent);color:var(--md-sys-color-primary);& svg{inline-size:18px;block-size:18px}}.m3-list-item__text{display:grid;gap:2px;flex:1;min-inline-size:0}.m3-list-item__label{font:500 16px/24px var(--md-sys-typescale-body-large-font)}.m3-list-item__supporting{font:400 14px/20px var(--md-sys-typescale-body-medium-font);color:var(--md-sys-color-on-surface-variant)}.m3-list-expand__title{flex:1;min-inline-size:0;font:600 14px/1.4 var(--md-sys-typescale-title-small-font)}.m3-list-item__trailing,.m3-list-expand__badge{flex:0 0 auto;padding:2px 10px;border-radius:999px;background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant);font:600 11px/16px var(--md-sys-typescale-label-small-font);white-space:nowrap}.m3-list-expand__chevron{display:grid;place-items:center;flex:0 0 28px;inline-size:28px;block-size:28px;border-radius:14px;background:var(--m3-list-chevron-bg);color:var(--md-sys-color-on-surface);& svg{inline-size:20px;block-size:20px;transition:rotate var(--md-sys-motion-spring-fast-spatial-duration) var(--md-sys-motion-spring-fast-spatial)}}.m3-list-expand[open] .m3-list-expand__chevron{background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-primary);& svg{rotate:180deg}}.m3-list-expand__body{padding:16px;border-radius:var(--md-sys-shape-corner-extra-small) var(--md-sys-shape-corner-extra-small) var(--md-sys-shape-corner-large) var(--md-sys-shape-corner-large);background:var(--m3-list-bg);color:var(--md-sys-color-on-surface-variant);font:400 14px/1.65 var(--md-sys-typescale-body-medium-font);>p{margin:0;max-inline-size:68ch}}.m3-list>.m3-list-item,.m3-list>.m3-list-expand>summary{border-radius:var(--md-sys-shape-corner-extra-small)}.m3-list>.m3-list-item:first-child,.m3-list>.m3-list-expand:first-child>summary,.m3-list>.m3-list-expand[open]>summary,.m3-list>.m3-list-expand[open]+.m3-list-item,.m3-list>.m3-list-expand[open]+.m3-list-expand>summary{border-start-start-radius:var(--md-sys-shape-corner-large);border-start-end-radius:var(--md-sys-shape-corner-large)}.m3-list>.m3-list-item:last-child,.m3-list>.m3-list-expand:last-child:not([open])>summary,.m3-list>.m3-list-item:has(+.m3-list-expand[open]),.m3-list>.m3-list-expand:not([open]):has(+.m3-list-expand[open])>summary{border-end-start-radius:var(--md-sys-shape-corner-large);border-end-end-radius:var(--md-sys-shape-corner-large)}.m3-list>.m3-list-expand[open]{margin-block:4px}.m3-list>.m3-list-expand[open]:first-child{margin-block-start:0}.m3-list>.m3-list-expand[open]:last-child{margin-block-end:0}}@media(prefers-reduced-motion:reduce){.m3-list-expand__chevron svg{transition:none}}
