UNPKG

@picocss/pico

Version:

Minimal CSS Framework for semantic HTML

1,470 lines (1,347 loc) 93.4 kB
@charset "UTF-8"; /*! * Pico CSS ✨ v2.1.1 (https://picocss.com) * Copyright 2019-2025 - Licensed under MIT */ /** * Styles */ :root, :host { --pico-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; --pico-font-family-sans-serif: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, "Helvetica Neue", sans-serif, var(--pico-font-family-emoji); --pico-font-family-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace, var(--pico-font-family-emoji); --pico-font-family: var(--pico-font-family-sans-serif); --pico-line-height: 1.5; --pico-font-weight: 400; --pico-font-size: 100%; --pico-text-underline-offset: 0.1rem; --pico-border-radius: 0.25rem; --pico-border-width: 0.0625rem; --pico-outline-width: 0.125rem; --pico-transition: 0.2s ease-in-out; --pico-spacing: 1rem; --pico-typography-spacing-vertical: 1rem; --pico-block-spacing-vertical: var(--pico-spacing); --pico-block-spacing-horizontal: var(--pico-spacing); --pico-grid-column-gap: var(--pico-spacing); --pico-grid-row-gap: var(--pico-spacing); --pico-form-element-spacing-vertical: 0.75rem; --pico-form-element-spacing-horizontal: 1rem; --pico-group-box-shadow: 0 0 0 rgba(0, 0, 0, 0); --pico-group-box-shadow-focus-with-button: 0 0 0 var(--pico-outline-width) var(--pico-primary-focus); --pico-group-box-shadow-focus-with-input: 0 0 0 0.0625rem var(--pico-form-element-border-color); --pico-modal-overlay-backdrop-filter: blur(0.375rem); --pico-nav-element-spacing-vertical: 1rem; --pico-nav-element-spacing-horizontal: 0.5rem; --pico-nav-link-spacing-vertical: 0.5rem; --pico-nav-link-spacing-horizontal: 0.5rem; --pico-nav-breadcrumb-divider: ">"; --pico-icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); --pico-icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E"); --pico-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); --pico-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E"); --pico-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E"); --pico-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E"); --pico-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E"); --pico-icon-loading: url("data:image/svg+xml,%3Csvg fill='none' height='24' width='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E g %7B animation: rotate 2s linear infinite; transform-origin: center center; %7D circle %7B stroke-dasharray: 75,100; stroke-dashoffset: -5; animation: dash 1.5s ease-in-out infinite; stroke-linecap: round; %7D @keyframes rotate %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D @keyframes dash %7B 0%25 %7B stroke-dasharray: 1,100; stroke-dashoffset: 0; %7D 50%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -17.5; %7D 100%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -62; %7D %7D %3C/style%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='rgb(136, 145, 164)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E"); } @media (min-width: 576px) { :root, :host { --pico-font-size: 106.25%; } } @media (min-width: 768px) { :root, :host { --pico-font-size: 112.5%; } } @media (min-width: 1024px) { :root, :host { --pico-font-size: 118.75%; } } @media (min-width: 1280px) { :root, :host { --pico-font-size: 125%; } } @media (min-width: 1536px) { :root, :host { --pico-font-size: 131.25%; } } a { --pico-text-decoration: underline; } a.secondary, a.contrast { --pico-text-decoration: underline; } small { --pico-font-size: 0.875em; } h1, h2, h3, h4, h5, h6 { --pico-font-weight: 700; } h1 { --pico-font-size: 2rem; --pico-line-height: 1.125; --pico-typography-spacing-top: 3rem; } h2 { --pico-font-size: 1.75rem; --pico-line-height: 1.15; --pico-typography-spacing-top: 2.625rem; } h3 { --pico-font-size: 1.5rem; --pico-line-height: 1.175; --pico-typography-spacing-top: 2.25rem; } h4 { --pico-font-size: 1.25rem; --pico-line-height: 1.2; --pico-typography-spacing-top: 1.874rem; } h5 { --pico-font-size: 1.125rem; --pico-line-height: 1.225; --pico-typography-spacing-top: 1.6875rem; } h6 { --pico-font-size: 1rem; --pico-line-height: 1.25; --pico-typography-spacing-top: 1.5rem; } thead th, thead td, tfoot th, tfoot td { --pico-font-weight: 600; --pico-border-width: 0.1875rem; } pre, code, kbd, samp { --pico-font-family: var(--pico-font-family-monospace); } kbd { --pico-font-weight: bolder; } input:not([type=submit], [type=button], [type=reset], [type=checkbox], [type=radio], [type=file]), :where(select, textarea) { --pico-outline-width: 0.0625rem; } [type=search] { --pico-border-radius: 5rem; } [type=checkbox], [type=radio] { --pico-border-width: 0.125rem; } [type=checkbox][role=switch] { --pico-border-width: 0.1875rem; } details.dropdown summary:not([role=button]) { --pico-outline-width: 0.0625rem; } nav details.dropdown summary:focus-visible { --pico-outline-width: 0.125rem; } [role=search] { --pico-border-radius: 5rem; } [role=search]:has(button.secondary:focus, [type=submit].secondary:focus, [type=button].secondary:focus, [role=button].secondary:focus), [role=group]:has(button.secondary:focus, [type=submit].secondary:focus, [type=button].secondary:focus, [role=button].secondary:focus) { --pico-group-box-shadow-focus-with-button: 0 0 0 var(--pico-outline-width) var(--pico-secondary-focus); } [role=search]:has(button.contrast:focus, [type=submit].contrast:focus, [type=button].contrast:focus, [role=button].contrast:focus), [role=group]:has(button.contrast:focus, [type=submit].contrast:focus, [type=button].contrast:focus, [role=button].contrast:focus) { --pico-group-box-shadow-focus-with-button: 0 0 0 var(--pico-outline-width) var(--pico-contrast-focus); } [role=search] button, [role=search] [type=submit], [role=search] [type=button], [role=search] [role=button], [role=group] button, [role=group] [type=submit], [role=group] [type=button], [role=group] [role=button] { --pico-form-element-spacing-horizontal: 2rem; } details summary[role=button]:not(.outline)::after { filter: brightness(0) invert(1); } [aria-busy=true]:not(input, select, textarea):is(button, [type=submit], [type=button], [type=reset], [role=button]):not(.outline)::before { filter: brightness(0) invert(0); } /** * Color schemes */ [data-theme=light], :root:not([data-theme=dark]), :host(:not([data-theme=dark])) { color-scheme: light; --pico-background-color: #fff; --pico-color: #373c44; --pico-text-selection-color: rgba(210, 122, 1, 0.25); --pico-muted-color: #646b79; --pico-muted-border-color: rgb(231, 234, 239.5); --pico-primary: #9c5900; --pico-primary-background: #ff9500; --pico-primary-border: var(--pico-primary-background); --pico-primary-underline: rgba(156, 89, 0, 0.5); --pico-primary-hover: #7a4400; --pico-primary-hover-background: #e48500; --pico-primary-hover-border: var(--pico-primary-hover-background); --pico-primary-hover-underline: var(--pico-primary-hover); --pico-primary-focus: rgba(210, 122, 1, 0.5); --pico-primary-inverse: #000; --pico-secondary: #5d6b89; --pico-secondary-background: #525f7a; --pico-secondary-border: var(--pico-secondary-background); --pico-secondary-underline: rgba(93, 107, 137, 0.5); --pico-secondary-hover: #48536b; --pico-secondary-hover-background: #48536b; --pico-secondary-hover-border: var(--pico-secondary-hover-background); --pico-secondary-hover-underline: var(--pico-secondary-hover); --pico-secondary-focus: rgba(93, 107, 137, 0.25); --pico-secondary-inverse: #fff; --pico-contrast: #181c25; --pico-contrast-background: #181c25; --pico-contrast-border: var(--pico-contrast-background); --pico-contrast-underline: rgba(24, 28, 37, 0.5); --pico-contrast-hover: #000; --pico-contrast-hover-background: #000; --pico-contrast-hover-border: var(--pico-contrast-hover-background); --pico-contrast-hover-underline: var(--pico-secondary-hover); --pico-contrast-focus: rgba(93, 107, 137, 0.25); --pico-contrast-inverse: #fff; --pico-box-shadow: 0.0145rem 0.029rem 0.174rem rgba(129, 145, 181, 0.01698), 0.0335rem 0.067rem 0.402rem rgba(129, 145, 181, 0.024), 0.0625rem 0.125rem 0.75rem rgba(129, 145, 181, 0.03), 0.1125rem 0.225rem 1.35rem rgba(129, 145, 181, 0.036), 0.2085rem 0.417rem 2.502rem rgba(129, 145, 181, 0.04302), 0.5rem 1rem 6rem rgba(129, 145, 181, 0.06), 0 0 0 0.0625rem rgba(129, 145, 181, 0.015); --pico-h1-color: #2d3138; --pico-h2-color: #373c44; --pico-h3-color: #424751; --pico-h4-color: #4d535e; --pico-h5-color: #5c6370; --pico-h6-color: #646b79; --pico-mark-background-color: rgb(252.5, 230.5, 191.5); --pico-mark-color: #0f1114; --pico-ins-color: rgb(28.5, 105.5, 84); --pico-del-color: rgb(136, 56.5, 53); --pico-blockquote-border-color: var(--pico-muted-border-color); --pico-blockquote-footer-color: var(--pico-muted-color); --pico-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0); --pico-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0); --pico-table-border-color: var(--pico-muted-border-color); --pico-table-row-stripped-background-color: rgba(111, 120, 135, 0.0375); --pico-code-background-color: rgb(243, 244.5, 246.75); --pico-code-color: #646b79; --pico-code-kbd-background-color: var(--pico-color); --pico-code-kbd-color: var(--pico-background-color); --pico-form-element-background-color: rgb(251, 251.5, 252.25); --pico-form-element-selected-background-color: #dfe3eb; --pico-form-element-border-color: #cfd5e2; --pico-form-element-color: #23262c; --pico-form-element-placeholder-color: var(--pico-muted-color); --pico-form-element-active-background-color: #fff; --pico-form-element-active-border-color: var(--pico-primary-border); --pico-form-element-focus-color: var(--pico-primary-border); --pico-form-element-disabled-opacity: 0.5; --pico-form-element-invalid-border-color: rgb(183.5, 105.5, 106.5); --pico-form-element-invalid-active-border-color: rgb(200.25, 79.25, 72.25); --pico-form-element-invalid-focus-color: var(--pico-form-element-invalid-active-border-color); --pico-form-element-valid-border-color: rgb(76, 154.5, 137.5); --pico-form-element-valid-active-border-color: rgb(39, 152.75, 118.75); --pico-form-element-valid-focus-color: var(--pico-form-element-valid-active-border-color); --pico-switch-background-color: #bfc7d9; --pico-switch-checked-background-color: var(--pico-primary-background); --pico-switch-color: #fff; --pico-switch-thumb-box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.25); --pico-range-border-color: #dfe3eb; --pico-range-active-border-color: #bfc7d9; --pico-range-thumb-border-color: var(--pico-background-color); --pico-range-thumb-color: var(--pico-secondary-background); --pico-range-thumb-active-color: var(--pico-primary-background); --pico-accordion-border-color: var(--pico-muted-border-color); --pico-accordion-active-summary-color: var(--pico-primary-hover); --pico-accordion-close-summary-color: var(--pico-color); --pico-accordion-open-summary-color: var(--pico-muted-color); --pico-card-background-color: var(--pico-background-color); --pico-card-border-color: var(--pico-muted-border-color); --pico-card-box-shadow: var(--pico-box-shadow); --pico-card-sectioning-background-color: rgb(251, 251.5, 252.25); --pico-dropdown-background-color: #fff; --pico-dropdown-border-color: #eff1f4; --pico-dropdown-box-shadow: var(--pico-box-shadow); --pico-dropdown-color: var(--pico-color); --pico-dropdown-hover-background-color: #eff1f4; --pico-loading-spinner-opacity: 0.5; --pico-modal-overlay-background-color: rgba(232, 234, 237, 0.75); --pico-progress-background-color: #dfe3eb; --pico-progress-color: var(--pico-primary-background); --pico-tooltip-background-color: var(--pico-contrast-background); --pico-tooltip-color: var(--pico-contrast-inverse); --pico-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(76, 154.5, 137.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); --pico-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(200.25, 79.25, 72.25)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E"); } [data-theme=light] input:is([type=submit], [type=button], [type=reset], [type=checkbox], [type=radio], [type=file]), :root:not([data-theme=dark]) input:is([type=submit], [type=button], [type=reset], [type=checkbox], [type=radio], [type=file]), :host(:not([data-theme=dark])) input:is([type=submit], [type=button], [type=reset], [type=checkbox], [type=radio], [type=file]) { --pico-form-element-focus-color: var(--pico-primary-focus); } @media only screen and (prefers-color-scheme: dark) { :root:not([data-theme]), :host(:not([data-theme])) { color-scheme: dark; --pico-background-color: rgb(19, 22.5, 30.5); --pico-color: #c2c7d0; --pico-text-selection-color: rgba(228, 133, 0, 0.1875); --pico-muted-color: #7b8495; --pico-muted-border-color: #202632; --pico-primary: #e48500; --pico-primary-background: #ff9500; --pico-primary-border: var(--pico-primary-background); --pico-primary-underline: rgba(228, 133, 0, 0.5); --pico-primary-hover: #ffa23a; --pico-primary-hover-background: #ffa23a; --pico-primary-hover-border: var(--pico-primary-hover-background); --pico-primary-hover-underline: var(--pico-primary-hover); --pico-primary-focus: rgba(228, 133, 0, 0.375); --pico-primary-inverse: #000; --pico-secondary: #969eaf; --pico-secondary-background: #525f7a; --pico-secondary-border: var(--pico-secondary-background); --pico-secondary-underline: rgba(150, 158, 175, 0.5); --pico-secondary-hover: #b3b9c5; --pico-secondary-hover-background: #5d6b89; --pico-secondary-hover-border: var(--pico-secondary-hover-background); --pico-secondary-hover-underline: var(--pico-secondary-hover); --pico-secondary-focus: rgba(144, 158, 190, 0.25); --pico-secondary-inverse: #fff; --pico-contrast: #dfe3eb; --pico-contrast-background: #eff1f4; --pico-contrast-border: var(--pico-contrast-background); --pico-contrast-underline: rgba(223, 227, 235, 0.5); --pico-contrast-hover: #fff; --pico-contrast-hover-background: #fff; --pico-contrast-hover-border: var(--pico-contrast-hover-background); --pico-contrast-hover-underline: var(--pico-contrast-hover); --pico-contrast-focus: rgba(207, 213, 226, 0.25); --pico-contrast-inverse: #000; --pico-box-shadow: 0.0145rem 0.029rem 0.174rem rgba(7, 8.5, 12, 0.01698), 0.0335rem 0.067rem 0.402rem rgba(7, 8.5, 12, 0.024), 0.0625rem 0.125rem 0.75rem rgba(7, 8.5, 12, 0.03), 0.1125rem 0.225rem 1.35rem rgba(7, 8.5, 12, 0.036), 0.2085rem 0.417rem 2.502rem rgba(7, 8.5, 12, 0.04302), 0.5rem 1rem 6rem rgba(7, 8.5, 12, 0.06), 0 0 0 0.0625rem rgba(7, 8.5, 12, 0.015); --pico-h1-color: #f0f1f3; --pico-h2-color: #e0e3e7; --pico-h3-color: #c2c7d0; --pico-h4-color: #b3b9c5; --pico-h5-color: #a4acba; --pico-h6-color: #8891a4; --pico-mark-background-color: #014063; --pico-mark-color: #fff; --pico-ins-color: #62af9a; --pico-del-color: rgb(205.5, 126, 123); --pico-blockquote-border-color: var(--pico-muted-border-color); --pico-blockquote-footer-color: var(--pico-muted-color); --pico-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0); --pico-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0); --pico-table-border-color: var(--pico-muted-border-color); --pico-table-row-stripped-background-color: rgba(111, 120, 135, 0.0375); --pico-code-background-color: rgb(26, 30.5, 40.25); --pico-code-color: #8891a4; --pico-code-kbd-background-color: var(--pico-color); --pico-code-kbd-color: var(--pico-background-color); --pico-form-element-background-color: rgb(28, 33, 43.5); --pico-form-element-selected-background-color: #2a3140; --pico-form-element-border-color: #2a3140; --pico-form-element-color: #e0e3e7; --pico-form-element-placeholder-color: #8891a4; --pico-form-element-active-background-color: rgb(26, 30.5, 40.25); --pico-form-element-active-border-color: var(--pico-primary-border); --pico-form-element-focus-color: var(--pico-primary-border); --pico-form-element-disabled-opacity: 0.5; --pico-form-element-invalid-border-color: rgb(149.5, 74, 80); --pico-form-element-invalid-active-border-color: rgb(183.25, 63.5, 59); --pico-form-element-invalid-focus-color: var(--pico-form-element-invalid-active-border-color); --pico-form-element-valid-border-color: #2a7b6f; --pico-form-element-valid-active-border-color: rgb(22, 137, 105.5); --pico-form-element-valid-focus-color: var(--pico-form-element-valid-active-border-color); --pico-switch-background-color: #333c4e; --pico-switch-checked-background-color: var(--pico-primary-background); --pico-switch-color: #fff; --pico-switch-thumb-box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.25); --pico-range-border-color: #202632; --pico-range-active-border-color: #2a3140; --pico-range-thumb-border-color: var(--pico-background-color); --pico-range-thumb-color: var(--pico-secondary-background); --pico-range-thumb-active-color: var(--pico-primary-background); --pico-accordion-border-color: var(--pico-muted-border-color); --pico-accordion-active-summary-color: var(--pico-primary-hover); --pico-accordion-close-summary-color: var(--pico-color); --pico-accordion-open-summary-color: var(--pico-muted-color); --pico-card-background-color: #181c25; --pico-card-border-color: var(--pico-card-background-color); --pico-card-box-shadow: var(--pico-box-shadow); --pico-card-sectioning-background-color: rgb(26, 30.5, 40.25); --pico-dropdown-background-color: #181c25; --pico-dropdown-border-color: #202632; --pico-dropdown-box-shadow: var(--pico-box-shadow); --pico-dropdown-color: var(--pico-color); --pico-dropdown-hover-background-color: #202632; --pico-loading-spinner-opacity: 0.5; --pico-modal-overlay-background-color: rgba(7.5, 8.5, 10, 0.75); --pico-progress-background-color: #202632; --pico-progress-color: var(--pico-primary-background); --pico-tooltip-background-color: var(--pico-contrast-background); --pico-tooltip-color: var(--pico-contrast-inverse); --pico-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(42, 123, 111)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); --pico-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(149.5, 74, 80)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E"); } :root:not([data-theme]) input:is([type=submit], [type=button], [type=reset], [type=checkbox], [type=radio], [type=file]), :host(:not([data-theme])) input:is([type=submit], [type=button], [type=reset], [type=checkbox], [type=radio], [type=file]) { --pico-form-element-focus-color: var(--pico-primary-focus); } :root:not([data-theme]) details summary[role=button].contrast:not(.outline)::after, :host(:not([data-theme])) details summary[role=button].contrast:not(.outline)::after { filter: brightness(0); } :root:not([data-theme]) [aria-busy=true]:not(input, select, textarea).contrast:is(button, [type=submit], [type=button], [type=reset], [role=button]):not(.outline)::before, :host(:not([data-theme])) [aria-busy=true]:not(input, select, textarea).contrast:is(button, [type=submit], [type=button], [type=reset], [role=button]):not(.outline)::before { filter: brightness(0); } } [data-theme=dark] { color-scheme: dark; --pico-background-color: rgb(19, 22.5, 30.5); --pico-color: #c2c7d0; --pico-text-selection-color: rgba(228, 133, 0, 0.1875); --pico-muted-color: #7b8495; --pico-muted-border-color: #202632; --pico-primary: #e48500; --pico-primary-background: #ff9500; --pico-primary-border: var(--pico-primary-background); --pico-primary-underline: rgba(228, 133, 0, 0.5); --pico-primary-hover: #ffa23a; --pico-primary-hover-background: #ffa23a; --pico-primary-hover-border: var(--pico-primary-hover-background); --pico-primary-hover-underline: var(--pico-primary-hover); --pico-primary-focus: rgba(228, 133, 0, 0.375); --pico-primary-inverse: #000; --pico-secondary: #969eaf; --pico-secondary-background: #525f7a; --pico-secondary-border: var(--pico-secondary-background); --pico-secondary-underline: rgba(150, 158, 175, 0.5); --pico-secondary-hover: #b3b9c5; --pico-secondary-hover-background: #5d6b89; --pico-secondary-hover-border: var(--pico-secondary-hover-background); --pico-secondary-hover-underline: var(--pico-secondary-hover); --pico-secondary-focus: rgba(144, 158, 190, 0.25); --pico-secondary-inverse: #fff; --pico-contrast: #dfe3eb; --pico-contrast-background: #eff1f4; --pico-contrast-border: var(--pico-contrast-background); --pico-contrast-underline: rgba(223, 227, 235, 0.5); --pico-contrast-hover: #fff; --pico-contrast-hover-background: #fff; --pico-contrast-hover-border: var(--pico-contrast-hover-background); --pico-contrast-hover-underline: var(--pico-contrast-hover); --pico-contrast-focus: rgba(207, 213, 226, 0.25); --pico-contrast-inverse: #000; --pico-box-shadow: 0.0145rem 0.029rem 0.174rem rgba(7, 8.5, 12, 0.01698), 0.0335rem 0.067rem 0.402rem rgba(7, 8.5, 12, 0.024), 0.0625rem 0.125rem 0.75rem rgba(7, 8.5, 12, 0.03), 0.1125rem 0.225rem 1.35rem rgba(7, 8.5, 12, 0.036), 0.2085rem 0.417rem 2.502rem rgba(7, 8.5, 12, 0.04302), 0.5rem 1rem 6rem rgba(7, 8.5, 12, 0.06), 0 0 0 0.0625rem rgba(7, 8.5, 12, 0.015); --pico-h1-color: #f0f1f3; --pico-h2-color: #e0e3e7; --pico-h3-color: #c2c7d0; --pico-h4-color: #b3b9c5; --pico-h5-color: #a4acba; --pico-h6-color: #8891a4; --pico-mark-background-color: #014063; --pico-mark-color: #fff; --pico-ins-color: #62af9a; --pico-del-color: rgb(205.5, 126, 123); --pico-blockquote-border-color: var(--pico-muted-border-color); --pico-blockquote-footer-color: var(--pico-muted-color); --pico-button-box-shadow: 0 0 0 rgba(0, 0, 0, 0); --pico-button-hover-box-shadow: 0 0 0 rgba(0, 0, 0, 0); --pico-table-border-color: var(--pico-muted-border-color); --pico-table-row-stripped-background-color: rgba(111, 120, 135, 0.0375); --pico-code-background-color: rgb(26, 30.5, 40.25); --pico-code-color: #8891a4; --pico-code-kbd-background-color: var(--pico-color); --pico-code-kbd-color: var(--pico-background-color); --pico-form-element-background-color: rgb(28, 33, 43.5); --pico-form-element-selected-background-color: #2a3140; --pico-form-element-border-color: #2a3140; --pico-form-element-color: #e0e3e7; --pico-form-element-placeholder-color: #8891a4; --pico-form-element-active-background-color: rgb(26, 30.5, 40.25); --pico-form-element-active-border-color: var(--pico-primary-border); --pico-form-element-focus-color: var(--pico-primary-border); --pico-form-element-disabled-opacity: 0.5; --pico-form-element-invalid-border-color: rgb(149.5, 74, 80); --pico-form-element-invalid-active-border-color: rgb(183.25, 63.5, 59); --pico-form-element-invalid-focus-color: var(--pico-form-element-invalid-active-border-color); --pico-form-element-valid-border-color: #2a7b6f; --pico-form-element-valid-active-border-color: rgb(22, 137, 105.5); --pico-form-element-valid-focus-color: var(--pico-form-element-valid-active-border-color); --pico-switch-background-color: #333c4e; --pico-switch-checked-background-color: var(--pico-primary-background); --pico-switch-color: #fff; --pico-switch-thumb-box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.25); --pico-range-border-color: #202632; --pico-range-active-border-color: #2a3140; --pico-range-thumb-border-color: var(--pico-background-color); --pico-range-thumb-color: var(--pico-secondary-background); --pico-range-thumb-active-color: var(--pico-primary-background); --pico-accordion-border-color: var(--pico-muted-border-color); --pico-accordion-active-summary-color: var(--pico-primary-hover); --pico-accordion-close-summary-color: var(--pico-color); --pico-accordion-open-summary-color: var(--pico-muted-color); --pico-card-background-color: #181c25; --pico-card-border-color: var(--pico-card-background-color); --pico-card-box-shadow: var(--pico-box-shadow); --pico-card-sectioning-background-color: rgb(26, 30.5, 40.25); --pico-dropdown-background-color: #181c25; --pico-dropdown-border-color: #202632; --pico-dropdown-box-shadow: var(--pico-box-shadow); --pico-dropdown-color: var(--pico-color); --pico-dropdown-hover-background-color: #202632; --pico-loading-spinner-opacity: 0.5; --pico-modal-overlay-background-color: rgba(7.5, 8.5, 10, 0.75); --pico-progress-background-color: #202632; --pico-progress-color: var(--pico-primary-background); --pico-tooltip-background-color: var(--pico-contrast-background); --pico-tooltip-color: var(--pico-contrast-inverse); --pico-icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(42, 123, 111)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); --pico-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(149.5, 74, 80)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E"); } [data-theme=dark] input:is([type=submit], [type=button], [type=reset], [type=checkbox], [type=radio], [type=file]) { --pico-form-element-focus-color: var(--pico-primary-focus); } [data-theme=dark] details summary[role=button].contrast:not(.outline)::after { filter: brightness(0); } [data-theme=dark] [aria-busy=true]:not(input, select, textarea).contrast:is(button, [type=submit], [type=button], [type=reset], [role=button]):not(.outline)::before { filter: brightness(0); } progress, [type=checkbox], [type=radio], [type=range] { accent-color: var(--pico-primary); } /** * Document * Content-box & Responsive typography */ *, *::before, *::after { box-sizing: border-box; background-repeat: no-repeat; } ::before, ::after { text-decoration: inherit; vertical-align: inherit; } :where(:root), :where(:host) { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; -moz-text-size-adjust: 100%; text-size-adjust: 100%; background-color: var(--pico-background-color); color: var(--pico-color); font-weight: var(--pico-font-weight); font-size: var(--pico-font-size); line-height: var(--pico-line-height); font-family: var(--pico-font-family); text-underline-offset: var(--pico-text-underline-offset); text-rendering: optimizeLegibility; overflow-wrap: break-word; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; } /** * Landmarks */ body { width: 100%; margin: 0; } main { display: block; } body > header, body > main, body > footer { padding-block: var(--pico-block-spacing-vertical); } /** * Section */ section { margin-bottom: var(--pico-block-spacing-vertical); } /** * Container */ .container, .container-fluid { width: 100%; margin-right: auto; margin-left: auto; padding-right: var(--pico-spacing); padding-left: var(--pico-spacing); } @media (min-width: 576px) { .container { max-width: 510px; padding-right: 0; padding-left: 0; } } @media (min-width: 768px) { .container { max-width: 700px; } } @media (min-width: 1024px) { .container { max-width: 950px; } } @media (min-width: 1280px) { .container { max-width: 1200px; } } @media (min-width: 1536px) { .container { max-width: 1450px; } } /** * Grid * Minimal grid system with auto-layout columns */ .grid { grid-column-gap: var(--pico-grid-column-gap); grid-row-gap: var(--pico-grid-row-gap); display: grid; grid-template-columns: 1fr; } @media (min-width: 768px) { .grid { grid-template-columns: repeat(auto-fit, minmax(0%, 1fr)); } } .grid > * { min-width: 0; } /** * Overflow auto */ .overflow-auto { overflow: auto; } /** * Typography */ b, strong { font-weight: bolder; } sub, sup { position: relative; font-size: 0.75em; line-height: 0; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } address, blockquote, dl, ol, p, pre, table, ul { margin-top: 0; margin-bottom: var(--pico-typography-spacing-vertical); color: var(--pico-color); font-style: normal; font-weight: var(--pico-font-weight); } h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: var(--pico-typography-spacing-vertical); color: var(--pico-color); font-weight: var(--pico-font-weight); font-size: var(--pico-font-size); line-height: var(--pico-line-height); font-family: var(--pico-font-family); } h1 { --pico-color: var(--pico-h1-color); } h2 { --pico-color: var(--pico-h2-color); } h3 { --pico-color: var(--pico-h3-color); } h4 { --pico-color: var(--pico-h4-color); } h5 { --pico-color: var(--pico-h5-color); } h6 { --pico-color: var(--pico-h6-color); } :where(article, address, blockquote, dl, figure, form, ol, p, pre, table, ul) ~ :is(h1, h2, h3, h4, h5, h6) { margin-top: var(--pico-typography-spacing-top); } p { margin-bottom: var(--pico-typography-spacing-vertical); } hgroup { margin-bottom: var(--pico-typography-spacing-vertical); } hgroup > * { margin-top: 0; margin-bottom: 0; } hgroup > *:not(:first-child):last-child { --pico-color: var(--pico-muted-color); --pico-font-weight: unset; font-size: 1rem; } :where(ol, ul) li { margin-bottom: calc(var(--pico-typography-spacing-vertical) * 0.25); } :where(dl, ol, ul) :where(dl, ol, ul) { margin: 0; margin-top: calc(var(--pico-typography-spacing-vertical) * 0.25); } ul li { list-style: square; } mark { padding: 0.125rem 0.25rem; background-color: var(--pico-mark-background-color); color: var(--pico-mark-color); vertical-align: baseline; } blockquote { display: block; margin: var(--pico-typography-spacing-vertical) 0; padding: var(--pico-spacing); border-right: none; border-left: 0.25rem solid var(--pico-blockquote-border-color); border-inline-start: 0.25rem solid var(--pico-blockquote-border-color); border-inline-end: none; } blockquote footer { margin-top: calc(var(--pico-typography-spacing-vertical) * 0.5); color: var(--pico-blockquote-footer-color); } abbr[title] { border-bottom: 1px dotted; text-decoration: none; cursor: help; } ins { color: var(--pico-ins-color); text-decoration: none; } del { color: var(--pico-del-color); } ::-moz-selection { background-color: var(--pico-text-selection-color); } ::selection { background-color: var(--pico-text-selection-color); } /** * Link */ :where(a:not([role=button])), [role=link] { --pico-color: var(--pico-primary); --pico-background-color: transparent; --pico-underline: var(--pico-primary-underline); outline: none; background-color: var(--pico-background-color); color: var(--pico-color); -webkit-text-decoration: var(--pico-text-decoration); text-decoration: var(--pico-text-decoration); text-decoration-color: var(--pico-underline); text-underline-offset: 0.125em; transition: background-color var(--pico-transition), color var(--pico-transition), box-shadow var(--pico-transition), -webkit-text-decoration var(--pico-transition); transition: background-color var(--pico-transition), color var(--pico-transition), text-decoration var(--pico-transition), box-shadow var(--pico-transition); transition: background-color var(--pico-transition), color var(--pico-transition), text-decoration var(--pico-transition), box-shadow var(--pico-transition), -webkit-text-decoration var(--pico-transition); } :where(a:not([role=button])):is([aria-current]:not([aria-current=false]), :hover, :active, :focus), [role=link]:is([aria-current]:not([aria-current=false]), :hover, :active, :focus) { --pico-color: var(--pico-primary-hover); --pico-underline: var(--pico-primary-hover-underline); --pico-text-decoration: underline; } :where(a:not([role=button])):focus-visible, [role=link]:focus-visible { box-shadow: 0 0 0 var(--pico-outline-width) var(--pico-primary-focus); } :where(a:not([role=button])).secondary, [role=link].secondary { --pico-color: var(--pico-secondary); --pico-underline: var(--pico-secondary-underline); } :where(a:not([role=button])).secondary:is([aria-current]:not([aria-current=false]), :hover, :active, :focus), [role=link].secondary:is([aria-current]:not([aria-current=false]), :hover, :active, :focus) { --pico-color: var(--pico-secondary-hover); --pico-underline: var(--pico-secondary-hover-underline); } :where(a:not([role=button])).contrast, [role=link].contrast { --pico-color: var(--pico-contrast); --pico-underline: var(--pico-contrast-underline); } :where(a:not([role=button])).contrast:is([aria-current]:not([aria-current=false]), :hover, :active, :focus), [role=link].contrast:is([aria-current]:not([aria-current=false]), :hover, :active, :focus) { --pico-color: var(--pico-contrast-hover); --pico-underline: var(--pico-contrast-hover-underline); } a[role=button] { display: inline-block; } /** * Button */ button { margin: 0; overflow: visible; font-family: inherit; text-transform: none; } button, [type=submit], [type=reset], [type=button] { -webkit-appearance: button; } button, [type=submit], [type=reset], [type=button], [type=file]::file-selector-button, [role=button] { --pico-background-color: var(--pico-primary-background); --pico-border-color: var(--pico-primary-border); --pico-color: var(--pico-primary-inverse); --pico-box-shadow: var(--pico-button-box-shadow, 0 0 0 rgba(0, 0, 0, 0)); padding: var(--pico-form-element-spacing-vertical) var(--pico-form-element-spacing-horizontal); border: var(--pico-border-width) solid var(--pico-border-color); border-radius: var(--pico-border-radius); outline: none; background-color: var(--pico-background-color); box-shadow: var(--pico-box-shadow); color: var(--pico-color); font-weight: var(--pico-font-weight); font-size: 1rem; line-height: var(--pico-line-height); text-align: center; text-decoration: none; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; user-select: none; transition: background-color var(--pico-transition), border-color var(--pico-transition), color var(--pico-transition), box-shadow var(--pico-transition); } button:is([aria-current]:not([aria-current=false])), button:is(:hover, :active, :focus), [type=submit]:is([aria-current]:not([aria-current=false])), [type=submit]:is(:hover, :active, :focus), [type=reset]:is([aria-current]:not([aria-current=false])), [type=reset]:is(:hover, :active, :focus), [type=button]:is([aria-current]:not([aria-current=false])), [type=button]:is(:hover, :active, :focus), [type=file]::file-selector-button:is([aria-current]:not([aria-current=false])), [type=file]::file-selector-button:is(:hover, :active, :focus), [role=button]:is([aria-current]:not([aria-current=false])), [role=button]:is(:hover, :active, :focus) { --pico-background-color: var(--pico-primary-hover-background); --pico-border-color: var(--pico-primary-hover-border); --pico-box-shadow: var(--pico-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)); --pico-color: var(--pico-primary-inverse); } button:focus, button:is([aria-current]:not([aria-current=false])):focus, [type=submit]:focus, [type=submit]:is([aria-current]:not([aria-current=false])):focus, [type=reset]:focus, [type=reset]:is([aria-current]:not([aria-current=false])):focus, [type=button]:focus, [type=button]:is([aria-current]:not([aria-current=false])):focus, [type=file]::file-selector-button:focus, [type=file]::file-selector-button:is([aria-current]:not([aria-current=false])):focus, [role=button]:focus, [role=button]:is([aria-current]:not([aria-current=false])):focus { --pico-box-shadow: var(--pico-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--pico-outline-width) var(--pico-primary-focus); } [type=submit], [type=reset], [type=button] { margin-bottom: var(--pico-spacing); } :is(button, [type=submit], [type=button], [role=button]).secondary, [type=reset], [type=file]::file-selector-button { --pico-background-color: var(--pico-secondary-background); --pico-border-color: var(--pico-secondary-border); --pico-color: var(--pico-secondary-inverse); cursor: pointer; } :is(button, [type=submit], [type=button], [role=button]).secondary:is([aria-current]:not([aria-current=false]), :hover, :active, :focus), [type=reset]:is([aria-current]:not([aria-current=false]), :hover, :active, :focus), [type=file]::file-selector-button:is([aria-current]:not([aria-current=false]), :hover, :active, :focus) { --pico-background-color: var(--pico-secondary-hover-background); --pico-border-color: var(--pico-secondary-hover-border); --pico-color: var(--pico-secondary-inverse); } :is(button, [type=submit], [type=button], [role=button]).secondary:focus, :is(button, [type=submit], [type=button], [role=button]).secondary:is([aria-current]:not([aria-current=false])):focus, [type=reset]:focus, [type=reset]:is([aria-current]:not([aria-current=false])):focus, [type=file]::file-selector-button:focus, [type=file]::file-selector-button:is([aria-current]:not([aria-current=false])):focus { --pico-box-shadow: var(--pico-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--pico-outline-width) var(--pico-secondary-focus); } :is(button, [type=submit], [type=button], [role=button]).contrast { --pico-background-color: var(--pico-contrast-background); --pico-border-color: var(--pico-contrast-border); --pico-color: var(--pico-contrast-inverse); } :is(button, [type=submit], [type=button], [role=button]).contrast:is([aria-current]:not([aria-current=false]), :hover, :active, :focus) { --pico-background-color: var(--pico-contrast-hover-background); --pico-border-color: var(--pico-contrast-hover-border); --pico-color: var(--pico-contrast-inverse); } :is(button, [type=submit], [type=button], [role=button]).contrast:focus, :is(button, [type=submit], [type=button], [role=button]).contrast:is([aria-current]:not([aria-current=false])):focus { --pico-box-shadow: var(--pico-button-hover-box-shadow, 0 0 0 rgba(0, 0, 0, 0)), 0 0 0 var(--pico-outline-width) var(--pico-contrast-focus); } :is(button, [type=submit], [type=button], [role=button]).outline, [type=reset].outline { --pico-background-color: transparent; --pico-color: var(--pico-primary); --pico-border-color: var(--pico-primary); } :is(button, [type=submit], [type=button], [role=button]).outline:is([aria-current]:not([aria-current=false]), :hover, :active, :focus), [type=reset].outline:is([aria-current]:not([aria-current=false]), :hover, :active, :focus) { --pico-background-color: transparent; --pico-color: var(--pico-primary-hover); --pico-border-color: var(--pico-primary-hover); } :is(button, [type=submit], [type=button], [role=button]).outline.secondary, [type=reset].outline { --pico-color: var(--pico-secondary); --pico-border-color: var(--pico-secondary); } :is(button, [type=submit], [type=button], [role=button]).outline.secondary:is([aria-current]:not([aria-current=false]), :hover, :active, :focus), [type=reset].outline:is([aria-current]:not([aria-current=false]), :hover, :active, :focus) { --pico-color: var(--pico-secondary-hover); --pico-border-color: var(--pico-secondary-hover); } :is(button, [type=submit], [type=button], [role=button]).outline.contrast { --pico-color: var(--pico-contrast); --pico-border-color: var(--pico-contrast); } :is(button, [type=submit], [type=button], [role=button]).outline.contrast:is([aria-current]:not([aria-current=false]), :hover, :active, :focus) { --pico-color: var(--pico-contrast-hover); --pico-border-color: var(--pico-contrast-hover); } :where(button, [type=submit], [type=reset], [type=button], [role=button])[disabled], :where(fieldset[disabled]) :is(button, [type=submit], [type=button], [type=reset], [role=button]) { opacity: 0.5; pointer-events: none; } /** * Table */ :where(table) { width: 100%; border-collapse: collapse; border-spacing: 0; text-indent: 0; } th, td { padding: calc(var(--pico-spacing) / 2) var(--pico-spacing); border-bottom: var(--pico-border-width) solid var(--pico-table-border-color); background-color: var(--pico-background-color); color: var(--pico-color); font-weight: var(--pico-font-weight); text-align: left; text-align: start; } tfoot th, tfoot td { border-top: var(--pico-border-width) solid var(--pico-table-border-color); border-bottom: 0; } table.striped tbody tr:nth-child(odd) th, table.striped tbody tr:nth-child(odd) td { background-color: var(--pico-table-row-stripped-background-color); } /** * Embedded content */ :where(audio, canvas, iframe, img, svg, video) { vertical-align: middle; } audio, video { display: inline-block; } audio:not([controls]) { display: none; height: 0; } :where(iframe) { border-style: none; } img { max-width: 100%; height: auto; border-style: none; } :where(svg:not([fill])) { fill: currentColor; } svg:not(:root), svg:not(:host) { overflow: hidden; } /** * Code */ pre, code, kbd, samp { font-size: 0.875em; font-family: var(--pico-font-family); } pre code, pre samp { font-size: inherit; font-family: inherit; } pre { -ms-overflow-style: scrollbar; overflow: auto; } pre, code, kbd, samp { border-radius: var(--pico-border-radius); background: var(--pico-code-background-color); color: var(--pico-code-color); font-weight: var(--pico-font-weight); line-height: initial; } code, kbd, samp { display: inline-block; padding: 0.375rem; } pre { display: block; margin-bottom: var(--pico-spacing); overflow-x: auto; } pre > code, pre > samp { display: block; padding: var(--pico-spacing); background: none; line-height: var(--pico-line-height); } kbd { background-color: var(--pico-code-kbd-background-color); color: var(--pico-code-kbd-color); vertical-align: baseline; } /** * Figure */ figure { display: block; margin: 0; padding: 0; } figure figcaption { padding: calc(var(--pico-spacing) * 0.5) 0; color: var(--pico-muted-color); } /** * Misc */ hr { height: 0; margin: var(--pico-typography-spacing-vertical) 0; border: 0; border-top: 1px solid var(--pico-muted-border-color); color: inherit; } [hidden], template { display: none !important; } canvas { display: inline-block; } /** * Basics form elements */ input, optgroup, select, textarea { margin: 0; font-size: 1rem; line-height: var(--pico-line-height); font-family: inherit; letter-spacing: inherit; } input { overflow: visible; } select { text-transform: none; } legend { max-width: 100%; padding: 0; color: inherit; white-space: normal; } textarea { overflow: auto; } [type=checkbox], [type=radio] { padding: 0; } ::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto; } [type=search] { -webkit-appearance: textfield; outline-offset: -2px; } [type=search]::-webkit-search-decoration { -webkit-appearance: none; } ::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; } ::-moz-focus-inner { padding: 0; border-style: none; } :-moz-focusring { outline: none; } :-moz-ui-invalid { box-shadow: none; } ::-ms-expand { display: none; } [type=file], [type=range] { padding: 0; border-width: 0; } input:not([type=checkbox], [type=radio], [type=range]) { height: calc(1rem * var(--pico-line-height) + var(--pico-form-element-spacing-vertical) * 2 + var(--pico-border-width) * 2); } fieldset { width: 100%; margin: 0; margin-bottom: var(--pico-spacing); padding: 0; border: 0; } label, fieldset legend { display: block; margin-bottom: calc(var(--pico-spacing) * 0.375); color: var(--pico-color); font-weight: var(--pico-form-label-font-weight, var(--pico-font-weight)); } fieldset legend { margin-bottom: calc(var(--pico-spacing) * 0.5); } input:not([type=checkbox], [type=radio]), button[type=submit], select, textarea { width: 100%; } input:not([type=checkbox], [type=radio], [type=range], [type=file]), select, textarea { -webkit-appearance: none; -moz-appearance: none; appearance: none; padding: var(--pico-form-element-spacing-vertical) var(--pico-form-element-spacing-horizontal); } input, select, textarea { --pico-background-color: var(--pico-form-element-background-color); --pico-border-color: var(--pico-form-element-border-color); --pico-color: var(--pico-form-element-color); --pico-box-shadow: none; border: var(--pico-border-width) solid var(--pico-border-color); border-radius: var(--pico-border-radius); outline: none; background-color: var(--pico-background-color); box-shadow: var(--pico-box-shadow); color: var(--pico-color); font-weight: var(--pico-font-weight); transition: background-color var(--pico-transition), border-color var(--pico-transition), color var(--pico-transition), box-shadow var(--pico-transition); } input:not([type=submit], [type=button], [type=reset], [type=checkbox], [type=radio], [readonly]):is(:active, :focus), :where(select, textarea):not([readonly]):is(:active, :focus) { --pico-background-color: var(--pico-form-element-active-background-color); } input:not([type=submit], [type=button], [type=reset], [role=switch], [readonly]):is(:active, :focus), :where(select, textarea):not([readonly]):is(:active, :focus) { --pico-border-color: var(--pico-form-element-active-border-color); } input:not([type=submit], [type=button], [type=reset], [type=range], [type=file], [readonly]):focus, :where(select, textarea):not([readonly]):focus { --pico-box-shadow: 0 0 0 var(--pico-outline-width) var(--pico-form-element-focus-color); } input:not([type=submit], [type=button], [type=reset])[disabled], select[disabled], textarea[disabled], label[aria-disabled=true], :where(fieldset[disabled]) :is(input:not([type=submit], [type=button], [type=reset]), select, textarea) { opacity: var(--pico-form-element-disabled-opacity); pointer-events: none; } label[aria-disabled=true] input[disabled] { opacity: 1; } :where(input, select, textarea):not([type=checkbox], [type=radio], [type=date], [type=datetime-local], [type=month], [type=time], [type=week], [type=range])[aria-invalid] { padding-right: calc(var(--pico-form-element-spacing-horizontal) + 1.5rem) !important; padding-left: var(--pico-form-element-spacing-horizontal); padding-inline-start: var(--pico-form-element-spacing-horizontal) !important; padding-inline-end: calc(var(--pico-form-element-spacing-horizontal) + 1.5rem) !important; background-position: center right 0.75rem; background-size: 1rem auto; background-r