+ details {
+ border: 1px solid;
+ @include lightDark(border-color, #DDD, #555);
+ margin-bottom: 1em;
+ padding: $-s;
+ }
+ details > summary {
+ margin-top: -$-s;
+ margin-left: -$-s;
+ margin-right: -$-s;
+ margin-bottom: -$-s;
+ font-weight: bold;
+ @include lightDark(background-color, #EEE, #333);
+ padding: $-xs $-s;
+ }
+ details[open] > summary {
+ margin-bottom: $-s;
+ border-bottom: 1px solid;
+ @include lightDark(border-color, #DDD, #555);
+ }
+ details > summary + * {
+ margin-top: .2em;
+ }
+ details:after {
+ content: '';
+ display: block;
+ clear: both;
+ }
+
+ li > input[type="checkbox"] {
+ vertical-align: top;
+ margin-top: 0.3em;
+ }
+
+ p:empty {
+ min-height: 1.6em;
+ }
+