/* ==========================================================================
   Tokens
   ==========================================================================

   The design variables. They come first so any rule below can use them. The
   reference copy is in docs/rediseno/tokens.css. */

/* Both typefaces are served from the site itself, never a third party. Inter
   is variable, so one file per subset covers every weight. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-9fzmmZy.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-joy4ri1.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Gopher Text is the brand's and not variable: a single weight, the one
   tropicalcasting.com uses. Declared at 400 because it is the only weight the
   titles ask for, so the browser never fakes a bold that does not exist. */
@font-face {
  font-family: 'Gopher Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/gopher-text-jdbIVYB.woff2") format('woff2');
}

:root {
  /* Colour: brand */
  --tc-ink: #161616;            /* logo black: text, primary button, selected */
  --tc-blush: #e5cfc9;          /* site background: sidebar, headers, mosaics */
  --tc-coral: #f39e91;          /* favourites; always with --tc-ink text. Never as text or icon on white */
  --tc-coral-strong: #b83a26;   /* favourite icons on white and focus ring */

  /* Colour: interface */
  --tc-paper: #fbfaf8;          /* work-area background */
  --tc-surface: #ffffff;        /* cards, fields, dialogs */
  --tc-ink-2: #3b352f;          /* supporting text on blush */
  --tc-muted: #5b544c;          /* secondary text */
  --tc-line: #e6e1db;           /* separadores y bordes decorativos */
  --tc-field-border: #8a827a;   /* border of fields, selects and secondary buttons: 3.8:1 */
  --tc-chip: #ede9e4;           /* neutral chips */

  /* Colour: states */
  --tc-ok: #2f6b46;      --tc-ok-bg: #e5f0e8;       /* active, confirmations, notices */
  --tc-warn: #7a4f00;    --tc-warn-bg: #fbf1dc;     /* expiring soon, incomplete profile */
  --tc-danger: #9b2d1b;  --tc-danger-bg: #fdf6f4;   /* delete, remove */
  --tc-switch-off: #8a827a;

  /* Typography */
  --tc-font-display: 'Gopher Text', ui-sans-serif, system-ui, sans-serif;   /* titles and names */
  --tc-font-ui: Inter, ui-sans-serif, system-ui, sans-serif;       /* todo lo demas */
  --tc-tracking-display: -0.04em;
  --tc-numbers: tabular-nums;   /* measurements, counters, dates: font-variant-numeric */

  --tc-text-xs: 12px;    /* uppercase labels and counters only */
  --tc-text-sm: 13px;
  --tc-text-md: 15px;    /* UI body */
  --tc-text-lg: 17px;
  --tc-title-sm: 28px;   /* section titles and names on the large card */
  --tc-title-md: 44px;   /* dialogs, mobile */
  --tc-title-lg: 64px;   /* page header */
  --tc-title-xl: 88px;   /* name on the profile detail */

  /* Shape */
  --tc-radius-photo: 4px;
  --tc-radius-field: 6px;
  --tc-radius-panel: 10px;
  --tc-radius-dialog: 12px;
  --tc-radius-pill: 999px;
  --tc-photo-ratio: 3 / 4;
  --tc-target: 44px;     /* min height of button, field and clickable row */

  --tc-shadow-pop: 0 12px 32px rgb(23 20 15 / 0.08);
  --tc-shadow-bar: 0 16px 40px rgb(23 20 15 / 0.28);
  --tc-shadow-dialog: 0 24px 64px rgb(0 0 0 / 0.3);

  /* Spacing: multiples of 4 */
  --tc-space-1: 4px;  --tc-space-2: 8px;  --tc-space-3: 12px; --tc-space-4: 16px;
  --tc-space-5: 20px; --tc-space-6: 24px; --tc-space-8: 32px; --tc-space-10: 40px;
  --tc-space-12: 48px; --tc-space-16: 64px;
  --tc-sidebar: 240px;
  --tc-tabbar: 73px;   /* height of the mobile tab bar */
  --tc-gutter-desktop: 48px;
  --tc-gutter-mobile: 16px;

  /* Motion */
  --tc-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --tc-dur-base: 200ms;     /* select, tabs, switches, selection ring */
  --tc-dur-enter: 260ms;    /* panels, marked bar, notices, dialogs */
  --tc-dur-emphasis: 320ms; /* the favourite beat only */
  --tc-dur-sheet: 320ms;    /* sheets rising on mobile */
  --tc-dur-photo: 350ms;    /* 3% photo zoom */
  --tc-dur-exit: 130ms;     /* exits, half of entrances */

  --tc-focus: 2px solid var(--tc-coral-strong);
}

@keyframes tc-fade { from { opacity: 0 } }
@keyframes tc-rise { from { opacity: 0; transform: translateY(16px) } }
@keyframes tc-drop { from { opacity: 0; transform: translateY(-8px) } }
@keyframes tc-sheet { from { transform: translateY(100%) } }
@keyframes tc-beat {
  35% { transform: scale(1.3) }
  65% { transform: scale(0.92) }
}
@keyframes tc-pop {
  from { opacity: 0; transform: scale(0.4) }
  70% { opacity: 1; transform: scale(1.12) }
}

/* Whoever asks for less motion sees none. They are not fully off: a 0.01ms
   animation still finishes, and what depends on that —the notice removed when
   its exit ends— keeps working. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after,
  /* A dialog's backdrop is nobody's child: the asterisk alone misses it, and
     its fade kept running. */
  ::backdrop {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
}


/*
 * Base. The 262 Bulma 1.0.1 rules this app actually used, of the 4,086 it
 * shipped: the rest were components we never built. They were extracted by
 * asking the browser, screen by screen, which rules really reached any
 * element, and checking that each element's computed style on each screen did
 * not change.
 *
 * Bulma 1.0.1 — MIT License — github.com/jgthms/bulma
 *
 * Las variables conservan la forma de Bulma pero con nuestro prefijo: ya no
 * hay nada que actualizar desde aguas arriba.
 */

:root{--tc-b-control-radius:var(--tc-b-radius);--tc-b-control-border-width:1px;--tc-b-control-height:2.5em;--tc-b-control-line-height:1.5;--tc-b-control-padding-vertical:calc(0.5em - 1px);--tc-b-control-padding-horizontal:calc(0.75em - 1px);--tc-b-control-size:var(--tc-b-size-normal);--tc-b-body-background-color:var(--tc-b-scheme-main);--tc-b-body-size:1em;--tc-b-body-min-width:300px;--tc-b-body-rendering:optimizeLegibility;--tc-b-body-family:var(--tc-b-family-primary);--tc-b-body-overflow-x:hidden;--tc-b-body-overflow-y:scroll;--tc-b-body-color:var(--tc-b-text);--tc-b-body-font-size:1em;--tc-b-body-weight:var(--tc-b-weight-normal);--tc-b-body-line-height:1.5;--tc-b-code-family:var(--tc-b-family-code);--tc-b-code-padding:0.25em 0.5em 0.25em;--tc-b-code-weight:normal;--tc-b-code-size:0.875em;--tc-b-small-font-size:0.875em;--tc-b-hr-background-color:var(--tc-b-background);--tc-b-hr-height:2px;--tc-b-hr-margin:1.5rem 0;--tc-b-strong-color:var(--tc-b-text-strong);--tc-b-strong-weight:var(--tc-b-weight-semibold);--tc-b-pre-font-size:0.875em;--tc-b-pre-padding:1.25rem 1.5rem;--tc-b-pre-code-font-size:1em;--tc-b-column-gap:0.75rem;--tc-b-scheme-h:221;--tc-b-scheme-s:14%;--tc-b-light-l:96%;--tc-b-light-invert-l:21%;--tc-b-dark-l:21%;--tc-b-hover-background-l-delta:-5%;--tc-b-active-background-l-delta:-10%;--tc-b-hover-border-l-delta:-10%;--tc-b-active-border-l-delta:-20%;--tc-b-scheme-main-l:100%;--tc-b-scheme-main-ter-l:96%;--tc-b-background-l:96%;--tc-b-border-weak-l:93%;--tc-b-border-l:86%;--tc-b-text-weak-l:48%;--tc-b-text-strong-l:21%;--tc-b-scheme-invert-l:4%;--tc-b-family-primary:Inter,SF Pro,Segoe UI,Roboto,Oxygen,Ubuntu,Helvetica Neue,Helvetica,Arial,sans-serif;--tc-b-family-code:Inconsolata,Hack,SF Mono,Roboto Mono,Source Code Pro,Ubuntu Mono,monospace;--tc-b-size-small:0.75rem;--tc-b-size-normal:1rem;--tc-b-weight-normal:400;--tc-b-weight-medium:500;--tc-b-weight-semibold:600;--tc-b-weight-bold:700;--tc-b-block-spacing:1.5rem;--tc-b-duration:294ms;--tc-b-radius-small:0.25rem;--tc-b-radius:0.375rem;--tc-b-white-h:221deg;--tc-b-white-s:14%;--tc-b-white-l:100%;--tc-b-black-h:221deg;--tc-b-black-s:14%;--tc-b-black-l:4%;--tc-b-light:hsla(var(--tc-b-light-h),var(--tc-b-light-s),var(--tc-b-light-l),1);--tc-b-light-h:221deg;--tc-b-light-s:14%;--tc-b-light-on-scheme-l:36%;--tc-b-dark-h:221deg;--tc-b-dark-s:14%;--tc-b-text:hsl(var(--tc-b-text-h),var(--tc-b-text-s),var(--tc-b-text-l));--tc-b-text-h:221deg;--tc-b-text-s:14%;--tc-b-text-l:29%;--tc-b-text-70-l:69%;--tc-b-text-90-l:89%;--tc-b-text-light-l:var(--tc-b-text-90-l);--tc-b-text-light:hsla(var(--tc-b-text-h),var(--tc-b-text-s),var(--tc-b-text-light-l),1);--tc-b-text-dark-invert-l:var(--tc-b-text-70-l);--tc-b-primary:hsla(var(--tc-b-primary-h),var(--tc-b-primary-s),var(--tc-b-primary-l),1);--tc-b-primary-h:171deg;--tc-b-primary-s:100%;--tc-b-primary-l:41%;--tc-b-primary-05-l:6%;--tc-b-primary-10-l:11%;--tc-b-primary-invert-l:var(--tc-b-primary-05-l);--tc-b-primary-light-invert-l:var(--tc-b-primary-10-l);--tc-b-primary-on-scheme-l:21%;--tc-b-link:hsl(var(--tc-b-link-h),var(--tc-b-link-s),var(--tc-b-link-l));--tc-b-link-h:233deg;--tc-b-link-s:100%;--tc-b-link-l:63%;--tc-b-link-35-l:33%;--tc-b-link-100-l:100%;--tc-b-link-invert-l:var(--tc-b-link-100-l);--tc-b-link-invert:hsla(var(--tc-b-link-h),var(--tc-b-link-s),var(--tc-b-link-invert-l),1);--tc-b-link-light-invert-l:var(--tc-b-link-35-l);--tc-b-link-on-scheme-l:58%;--tc-b-info-h:198deg;--tc-b-info-s:100%;--tc-b-info-l:70%;--tc-b-success:hsla(var(--tc-b-success-h),var(--tc-b-success-s),var(--tc-b-success-l),1);--tc-b-success-h:153deg;--tc-b-success-s:53%;--tc-b-success-l:53%;--tc-b-success-10-l:8%;--tc-b-success-20-l:18%;--tc-b-success-invert-l:var(--tc-b-success-10-l);--tc-b-success-light-invert-l:var(--tc-b-success-20-l);--tc-b-success-on-scheme-l:23%;--tc-b-warning:hsla(var(--tc-b-warning-h),var(--tc-b-warning-s),var(--tc-b-warning-l),1);--tc-b-warning-h:42deg;--tc-b-warning-s:100%;--tc-b-warning-l:53%;--tc-b-warning-10-l:8%;--tc-b-warning-15-l:13%;--tc-b-warning-invert-l:var(--tc-b-warning-10-l);--tc-b-warning-light-invert-l:var(--tc-b-warning-15-l);--tc-b-warning-on-scheme-l:23%;--tc-b-danger:hsla(var(--tc-b-danger-h),var(--tc-b-danger-s),var(--tc-b-danger-l),1);--tc-b-danger-h:348deg;--tc-b-danger-s:100%;--tc-b-danger-l:70%;--tc-b-danger-05-l:5%;--tc-b-danger-25-l:25%;--tc-b-danger-invert-l:var(--tc-b-danger-05-l);--tc-b-danger-light-invert-l:var(--tc-b-danger-25-l);--tc-b-danger-on-scheme-l:40%;--tc-b-shadow-h:221deg;--tc-b-shadow-s:14%;--tc-b-shadow-l:4%;--tc-b-scheme-main:hsl(var(--tc-b-scheme-h),var(--tc-b-scheme-s),var(--tc-b-scheme-main-l));--tc-b-scheme-main-ter:hsl(var(--tc-b-scheme-h),var(--tc-b-scheme-s),var(--tc-b-scheme-main-ter-l));--tc-b-background:hsl(var(--tc-b-scheme-h),var(--tc-b-scheme-s),var(--tc-b-background-l));--tc-b-border-weak:hsl(var(--tc-b-scheme-h),var(--tc-b-scheme-s),var(--tc-b-border-weak-l));--tc-b-border:hsl(var(--tc-b-scheme-h),var(--tc-b-scheme-s),var(--tc-b-border-l));--tc-b-text-weak:hsl(var(--tc-b-text-h),var(--tc-b-text-s),var(--tc-b-text-weak-l));--tc-b-text-strong:hsl(var(--tc-b-text-h),var(--tc-b-text-s),var(--tc-b-text-strong-l));--tc-b-link-text:hsl(var(--tc-b-link-h),var(--tc-b-link-s),var(--tc-b-link-on-scheme-l));--tc-b-focus-h:var(--tc-b-link-h);--tc-b-focus-s:var(--tc-b-link-s);--tc-b-focus-l:var(--tc-b-link-l);--tc-b-focus-offset:1px;--tc-b-focus-style:solid;--tc-b-focus-width:2px;--tc-b-focus-shadow-size:0 0 0 0.1875em;--tc-b-focus-shadow-alpha:0.25;--tc-b-code:hsl(var(--tc-b-danger-h),var(--tc-b-danger-s),var(--tc-b-danger-on-scheme-l));--tc-b-code-background:var(--tc-b-background);--tc-b-pre:var(--tc-b-text);--tc-b-pre-background:var(--tc-b-background);--tc-b-shadow:0 0.5em 1em -0.125em hsla(var(--tc-b-shadow-h),var(--tc-b-shadow-s),var(--tc-b-shadow-l),0.1),0 0px 0 1px hsla(var(--tc-b-shadow-h),var(--tc-b-shadow-s),var(--tc-b-shadow-l),0.02)}
/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */blockquote,body,dd,dl,dt,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,html,iframe,legend,li,ol,p,pre,textarea,ul{margin:0;padding:0}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400}
ul{list-style:none}
button,input,select,textarea{margin:0}
html{box-sizing:border-box}
*,:after,:before{box-sizing:inherit}
img,video{height:auto;max-width:100%}
iframe{border:0}
table{border-collapse:collapse;border-spacing:0}
td,th{padding:0}
td:not([align]),th:not([align]){text-align:inherit}

html{background-color:var(--tc-b-body-background-color);font-size:var(--tc-b-body-size);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;min-width:var(--tc-b-body-min-width);overflow-x:var(--tc-b-body-overflow-x);overflow-y:var(--tc-b-body-overflow-y);text-rendering:var(--tc-b-body-rendering);text-size-adjust:100%}
article,aside,figure,footer,header,hgroup,section{display:block}
body,button,input,optgroup,select,textarea{font-family:var(--tc-b-body-family)}
code,pre{-moz-osx-font-smoothing:auto;-webkit-font-smoothing:auto;font-family:var(--tc-b-code-family)}
body{color:var(--tc-b-body-color);font-size:var(--tc-b-body-font-size);font-weight:var(--tc-b-body-weight);line-height:var(--tc-b-body-line-height)}
a,button{cursor:pointer}
a:focus-visible,button:focus-visible{outline-color:hsl(var(--tc-b-focus-h),var(--tc-b-focus-s),var(--tc-b-focus-l));outline-offset:var(--tc-b-focus-offset);outline-style:var(--tc-b-focus-style);outline-width:var(--tc-b-focus-width)}
a:focus-visible:active,button:focus-visible:active{outline-width:1px}
a:active,button:active{outline-width:1px}
a{color:var(--tc-b-link-text);cursor:pointer;text-decoration:none;transition-duration:var(--tc-b-duration);transition-property:background-color,border-color,color}
a strong{color:currentColor}
button{appearance:none;background:none;border:none;color:inherit;font-family:inherit;font-size:1em;margin:0;padding:0;transition-duration:var(--tc-b-duration);transition-property:background-color,border-color,color}
code{background-color:var(--tc-b-code-background);border-radius:.5em;color:var(--tc-b-code);font-size:var(--tc-b-code-size);font-weight:var(--tc-b-code-weight);padding:var(--tc-b-code-padding)}
hr{background-color:var(--tc-b-hr-background-color);border:none;display:block;height:var(--tc-b-hr-height);margin:var(--tc-b-hr-margin)}
img{height:auto;max-width:100%}
input[type=checkbox],input[type=radio]{vertical-align:baseline}
small{font-size:var(--tc-b-small-font-size)}
span{font-style:inherit;font-weight:inherit}
strong{color:var(--tc-b-strong-color);font-weight:var(--tc-b-strong-weight)}
svg{height:auto;width:auto}
fieldset{border:none}
pre{-webkit-overflow-scrolling:touch;background-color:var(--tc-b-pre-background);color:var(--tc-b-pre);font-size:var(--tc-b-pre-font-size);overflow-x:auto;padding:var(--tc-b-pre-padding);white-space:pre;word-wrap:normal}
pre code{background-color:transparent;color:currentColor;font-size:var(--tc-b-pre-code-font-size);padding:0}
table td,table th{vertical-align:top}
table td:not([align]),table th:not([align]){text-align:inherit}
table th{color:var(--tc-b-text-strong)}
@keyframes spinAround{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}
@keyframes pulsate{50%{opacity:.5}}
.block:not(:last-child),.box:not(:last-child),.breadcrumb:not(:last-child),.buttons:not(:last-child),.content:not(:last-child),.field:not(:last-child),.file:not(:last-child),.fixed-grid:not(:last-child),.grid:not(:last-child),.level:not(:last-child),.media:not(:last-child),.message:not(:last-child),.notification:not(:last-child),.pagination:not(:last-child),.progress:not(:last-child),.skeleton-block:not(:last-child),.subtitle:not(:last-child),.table-container:not(:last-child),.table:not(:last-child),.tabs:not(:last-child),.tags:not(:last-child),.title:not(:last-child){margin-bottom:var(--tc-b-block-spacing)}
.button,.file-cta,.file-name,.input,.pagination-ellipsis,.pagination-link,.pagination-next,.pagination-previous,.select select,.textarea{align-items:center;appearance:none;border-color:transparent;border-radius:var(--tc-b-control-radius);border-style:solid;border-width:var(--tc-b-control-border-width);box-shadow:none;display:inline-flex;font-size:var(--tc-b-control-size);height:var(--tc-b-control-height);justify-content:flex-start;line-height:var(--tc-b-control-line-height);padding:var(--tc-b-control-padding-vertical) var(--tc-b-control-padding-horizontal);position:relative;transition-duration:var(--tc-b-duration);transition-property:background-color,border-color,box-shadow,color;vertical-align:top}
.button:active,.button:focus,.button:focus-visible,.button:focus-within,.file-cta:active,.file-cta:focus,.file-cta:focus-visible,.file-cta:focus-within,.file-name:active,.file-name:focus,.file-name:focus-visible,.file-name:focus-within,.input:active,.input:focus,.input:focus-visible,.input:focus-within,.is-active.button,.is-active.file-cta,.is-active.file-name,.is-active.input,.is-active.pagination-ellipsis,.is-active.pagination-link,.is-active.pagination-next,.is-active.pagination-previous,.is-active.textarea,.is-focused.button,.is-focused.file-cta,.is-focused.file-name,.is-focused.input,.is-focused.pagination-ellipsis,.is-focused.pagination-link,.is-focused.pagination-next,.is-focused.pagination-previous,.is-focused.textarea,.pagination-ellipsis:active,.pagination-ellipsis:focus,.pagination-ellipsis:focus-visible,.pagination-ellipsis:focus-within,.pagination-link:active,.pagination-link:focus,.pagination-link:focus-visible,.pagination-link:focus-within,.pagination-next:active,.pagination-next:focus,.pagination-next:focus-visible,.pagination-next:focus-within,.pagination-previous:active,.pagination-previous:focus,.pagination-previous:focus-visible,.pagination-previous:focus-within,.select select.is-active,.select select.is-focused,.select select:active,.select select:focus,.select select:focus-visible,.select select:focus-within,.textarea:active,.textarea:focus,.textarea:focus-visible,.textarea:focus-within{outline:none}
.select fieldset[disabled] select,.select select[disabled],[disabled].button,[disabled].file-cta,[disabled].file-name,[disabled].input,[disabled].pagination-ellipsis,[disabled].pagination-link,[disabled].pagination-next,[disabled].pagination-previous,[disabled].textarea,fieldset[disabled] .button,fieldset[disabled] .file-cta,fieldset[disabled] .file-name,fieldset[disabled] .input,fieldset[disabled] .pagination-ellipsis,fieldset[disabled] .pagination-link,fieldset[disabled] .pagination-next,fieldset[disabled] .pagination-previous,fieldset[disabled] .select select,fieldset[disabled] .textarea{cursor:not-allowed}
.breadcrumb,.button,.file,.is-unselectable,.pagination-ellipsis,.pagination-link,.pagination-next,.pagination-previous,.tabs{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
.button{--tc-b-button-family:false;--tc-b-button-weight:var(--tc-b-weight-medium);--tc-b-button-border-color:var(--tc-b-border);--tc-b-button-border-style:solid;--tc-b-button-border-width:var(--tc-b-control-border-width);--tc-b-button-padding-vertical:0.5em;--tc-b-button-padding-horizontal:1em;--tc-b-button-focus-border-color:var(--tc-b-link-focus-border);--tc-b-button-focus-box-shadow-size:0 0 0 0.125em;--tc-b-button-focus-box-shadow-color:hsla(var(--tc-b-link-h),var(--tc-b-link-s),var(--tc-b-link-on-scheme-l),0.25);--tc-b-button-active-color:var(--tc-b-link-active);--tc-b-button-active-border-color:var(--tc-b-link-active-border);--tc-b-button-text-color:var(--tc-b-text);--tc-b-button-text-decoration:underline;--tc-b-button-text-hover-background-color:var(--tc-b-background);--tc-b-button-text-hover-color:var(--tc-b-text-strong);--tc-b-button-ghost-background:none;--tc-b-button-ghost-border-color:transparent;--tc-b-button-ghost-color:var(--tc-b-link-text);--tc-b-button-ghost-decoration:none;--tc-b-button-ghost-hover-color:var(--tc-b-link);--tc-b-button-ghost-hover-decoration:underline;--tc-b-button-disabled-background-color:var(--tc-b-scheme-main);--tc-b-button-disabled-border-color:var(--tc-b-border);--tc-b-button-disabled-shadow:none;--tc-b-button-disabled-opacity:0.5;--tc-b-button-static-color:var(--tc-b-text-weak);--tc-b-button-static-background-color:var(--tc-b-scheme-main-ter);--tc-b-button-static-border-color:var(--tc-b-border);--tc-b-button-h:var(--tc-b-scheme-h);--tc-b-button-s:var(--tc-b-scheme-s);--tc-b-button-l:var(--tc-b-scheme-main-l);--tc-b-button-background-l:var(--tc-b-scheme-main-l);--tc-b-button-background-l-delta:0%;--tc-b-button-hover-background-l-delta:var(--tc-b-hover-background-l-delta);--tc-b-button-active-background-l-delta:var(--tc-b-active-background-l-delta);--tc-b-button-color-l:var(--tc-b-text-strong-l);--tc-b-button-border-l:var(--tc-b-border-l);--tc-b-button-border-l-delta:0%;--tc-b-button-hover-border-l-delta:var(--tc-b-hover-border-l-delta);--tc-b-button-active-border-l-delta:var(--tc-b-active-border-l-delta);--tc-b-button-focus-border-l-delta:var(--tc-b-focus-border-l-delta);--tc-b-button-outer-shadow-h:0;--tc-b-button-outer-shadow-s:0%;--tc-b-button-outer-shadow-l:20%;--tc-b-button-outer-shadow-a:0.05;--tc-b-loading-color:hsl(var(--tc-b-button-h),var(--tc-b-button-s),var(--tc-b-button-color-l));background-color:hsl(var(--tc-b-button-h),var(--tc-b-button-s),calc(var(--tc-b-button-background-l) + var(--tc-b-button-background-l-delta)));border-color:hsl(var(--tc-b-button-h),var(--tc-b-button-s),calc(var(--tc-b-button-border-l) + var(--tc-b-button-border-l-delta)));border-style:var(--tc-b-button-border-style);border-width:var(--tc-b-button-border-width);box-shadow:0 .0625em .125em hsla(var(--tc-b-button-outer-shadow-h),var(--tc-b-button-outer-shadow-s),var(--tc-b-button-outer-shadow-l),var(--tc-b-button-outer-shadow-a)),0 .125em .25em hsla(var(--tc-b-button-outer-shadow-h),var(--tc-b-button-outer-shadow-s),var(--tc-b-button-outer-shadow-l),var(--tc-b-button-outer-shadow-a));color:hsl(var(--tc-b-button-h),var(--tc-b-button-s),var(--tc-b-button-color-l));cursor:pointer;font-weight:var(--tc-b-button-weight);height:auto;justify-content:center;padding:calc(var(--tc-b-button-padding-vertical) - var(--tc-b-button-border-width)) calc(var(--tc-b-button-padding-horizontal) - var(--tc-b-button-border-width));text-align:center;white-space:nowrap}
.button strong{color:inherit}
.button .icon:first-child:not(:last-child){margin-inline-end:calc(var(--tc-b-button-padding-horizontal)*.25);margin-inline-start:calc(var(--tc-b-button-padding-horizontal)*-.5)}
.button .icon:last-child:not(:first-child){margin-inline-end:calc(var(--tc-b-button-padding-horizontal)*-.5);margin-inline-start:calc(var(--tc-b-button-padding-horizontal)*.25)}
.button .icon:first-child:last-child{margin-inline-end:calc(var(--tc-b-button-padding-horizontal)*-.5);margin-inline-start:calc(var(--tc-b-button-padding-horizontal)*-.5)}
.button.is-hovered,.button:hover{--tc-b-button-background-l-delta:var(--tc-b-button-hover-background-l-delta);--tc-b-button-border-l-delta:var(--tc-b-button-hover-border-l-delta)}
.button.is-active,.button:active{--tc-b-button-background-l-delta:var(--tc-b-button-active-background-l-delta);--tc-b-button-border-l-delta:var(--tc-b-button-active-border-l-delta);--tc-b-button-outer-shadow-a:0}
.button[disabled],fieldset[disabled] .button{background-color:var(--tc-b-button-disabled-background-color);border-color:var(--tc-b-button-disabled-border-color);box-shadow:var(--tc-b-button-disabled-shadow);opacity:var(--tc-b-button-disabled-opacity)}
.button.is-light{--tc-b-button-h:var(--tc-b-light-h);--tc-b-button-s:var(--tc-b-light-s);--tc-b-button-l:var(--tc-b-light-l);--tc-b-button-background-l:var(--tc-b-light-l);--tc-b-button-border-l:var(--tc-b-light-l);--tc-b-button-border-width:0px;--tc-b-button-color-l:var(--tc-b-light-invert-l);--tc-b-button-outer-shadow-a:0}
.button.is-light[disabled],fieldset[disabled] .button.is-light{background-color:var(--tc-b-light);border-color:var(--tc-b-light);box-shadow:none}
.button.is-primary{--tc-b-button-h:var(--tc-b-primary-h);--tc-b-button-s:var(--tc-b-primary-s);--tc-b-button-l:var(--tc-b-primary-l);--tc-b-button-background-l:var(--tc-b-primary-l);--tc-b-button-border-l:var(--tc-b-primary-l);--tc-b-button-border-width:0px;--tc-b-button-color-l:var(--tc-b-primary-invert-l);--tc-b-button-outer-shadow-a:0}
.button.is-primary.is-light{--tc-b-button-background-l:var(--tc-b-light-l);--tc-b-button-color-l:var(--tc-b-primary-light-invert-l)}
.button.is-primary[disabled],fieldset[disabled] .button.is-primary{background-color:var(--tc-b-primary);border-color:var(--tc-b-primary);box-shadow:none}
.button.is-link{--tc-b-button-h:var(--tc-b-link-h);--tc-b-button-s:var(--tc-b-link-s);--tc-b-button-l:var(--tc-b-link-l);--tc-b-button-background-l:var(--tc-b-link-l);--tc-b-button-border-l:var(--tc-b-link-l);--tc-b-button-border-width:0px;--tc-b-button-color-l:var(--tc-b-link-invert-l);--tc-b-button-outer-shadow-a:0}
.button.is-link.is-light{--tc-b-button-background-l:var(--tc-b-light-l);--tc-b-button-color-l:var(--tc-b-link-light-invert-l)}
.button.is-link[disabled],fieldset[disabled] .button.is-link{background-color:var(--tc-b-link);border-color:var(--tc-b-link);box-shadow:none}
.button.is-success{--tc-b-button-h:var(--tc-b-success-h);--tc-b-button-s:var(--tc-b-success-s);--tc-b-button-l:var(--tc-b-success-l);--tc-b-button-background-l:var(--tc-b-success-l);--tc-b-button-border-l:var(--tc-b-success-l);--tc-b-button-border-width:0px;--tc-b-button-color-l:var(--tc-b-success-invert-l);--tc-b-button-outer-shadow-a:0}
.button.is-success.is-light{--tc-b-button-background-l:var(--tc-b-light-l);--tc-b-button-color-l:var(--tc-b-success-light-invert-l)}
.button.is-success[disabled],fieldset[disabled] .button.is-success{background-color:var(--tc-b-success);border-color:var(--tc-b-success);box-shadow:none}
.button.is-warning{--tc-b-button-h:var(--tc-b-warning-h);--tc-b-button-s:var(--tc-b-warning-s);--tc-b-button-l:var(--tc-b-warning-l);--tc-b-button-background-l:var(--tc-b-warning-l);--tc-b-button-border-l:var(--tc-b-warning-l);--tc-b-button-border-width:0px;--tc-b-button-color-l:var(--tc-b-warning-invert-l);--tc-b-button-outer-shadow-a:0}
.button.is-warning.is-light{--tc-b-button-background-l:var(--tc-b-light-l);--tc-b-button-color-l:var(--tc-b-warning-light-invert-l)}
.button.is-warning[disabled],fieldset[disabled] .button.is-warning{background-color:var(--tc-b-warning);border-color:var(--tc-b-warning);box-shadow:none}
.button.is-danger{--tc-b-button-h:var(--tc-b-danger-h);--tc-b-button-s:var(--tc-b-danger-s);--tc-b-button-l:var(--tc-b-danger-l);--tc-b-button-background-l:var(--tc-b-danger-l);--tc-b-button-border-l:var(--tc-b-danger-l);--tc-b-button-border-width:0px;--tc-b-button-color-l:var(--tc-b-danger-invert-l);--tc-b-button-outer-shadow-a:0}
.button.is-danger.is-light{--tc-b-button-background-l:var(--tc-b-light-l);--tc-b-button-color-l:var(--tc-b-danger-light-invert-l)}
.button.is-danger[disabled],fieldset[disabled] .button.is-danger{background-color:var(--tc-b-danger);border-color:var(--tc-b-danger);box-shadow:none}
.button.is-small{--tc-b-control-size:var(--tc-b-size-small);--tc-b-control-radius:var(--tc-b-radius-small)}
.button.is-fullwidth{display:flex;width:100%}
.buttons{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem;justify-content:flex-start}
.buttons.has-addons{gap:0}
.buttons.has-addons .button:not(:first-child){border-end-start-radius:0;border-start-start-radius:0}
.buttons.has-addons .button:not(:last-child){border-end-end-radius:0;border-start-end-radius:0;margin-inline-end:-1px}
.buttons.has-addons .button.is-expanded{flex-grow:1;flex-shrink:1}
.content.is-small{font-size:var(--tc-b-size-small)}
.delete.is-small{--tc-b-delete-dimensions:1rem}
.icon,.icon-text{--tc-b-icon-dimensions:1.5rem;--tc-b-icon-dimensions-small:1rem;--tc-b-icon-dimensions-medium:2rem;--tc-b-icon-dimensions-large:3rem;--tc-b-icon-text-spacing:0.25em}
.icon{align-items:center;display:inline-flex;flex-shrink:0;height:var(--tc-b-icon-dimensions);justify-content:center;transition-duration:var(--tc-b-duration);transition-property:color;width:var(--tc-b-icon-dimensions)}
.icon.is-small{height:var(--tc-b-icon-dimensions-small);width:var(--tc-b-icon-dimensions-small)}
.notification{--tc-b-notification-h:var(--tc-b-scheme-h);--tc-b-notification-s:var(--tc-b-scheme-s);--tc-b-notification-background-l:var(--tc-b-background-l);--tc-b-notification-color-l:var(--tc-b-text-strong-l);--tc-b-notification-code-background-color:var(--tc-b-scheme-main);--tc-b-notification-radius:var(--tc-b-radius);--tc-b-notification-padding:1.375em 1.5em;background-color:hsl(var(--tc-b-notification-h),var(--tc-b-notification-s),var(--tc-b-notification-background-l));border-radius:var(--tc-b-notification-radius);color:hsl(var(--tc-b-notification-h),var(--tc-b-notification-s),var(--tc-b-notification-color-l));padding:var(--tc-b-notification-padding);position:relative}
.notification strong{color:currentColor}
.notification code,.notification pre{background:var(--tc-b-notification-code-background-color)}
.notification pre code{background:transparent}
.notification>.delete{inset-inline-end:1rem;position:absolute;top:1rem}
.notification.is-light{--tc-b-notification-h:var(--tc-b-light-h);--tc-b-notification-s:var(--tc-b-light-s);--tc-b-notification-background-l:var(--tc-b-light-l);--tc-b-notification-color-l:var(--tc-b-light-invert-l)}
.notification.is-light.is-light{--tc-b-notification-background-l:90%;--tc-b-notification-color-l:var(--tc-b-light-light-invert-l)}
.notification.is-primary{--tc-b-notification-h:var(--tc-b-primary-h);--tc-b-notification-s:var(--tc-b-primary-s);--tc-b-notification-background-l:var(--tc-b-primary-l);--tc-b-notification-color-l:var(--tc-b-primary-invert-l)}
.notification.is-primary.is-light{--tc-b-notification-background-l:90%;--tc-b-notification-color-l:var(--tc-b-primary-light-invert-l)}
.notification.is-link{--tc-b-notification-h:var(--tc-b-link-h);--tc-b-notification-s:var(--tc-b-link-s);--tc-b-notification-background-l:var(--tc-b-link-l);--tc-b-notification-color-l:var(--tc-b-link-invert-l)}
.notification.is-link.is-light{--tc-b-notification-background-l:90%;--tc-b-notification-color-l:var(--tc-b-link-light-invert-l)}
.notification.is-success{--tc-b-notification-h:var(--tc-b-success-h);--tc-b-notification-s:var(--tc-b-success-s);--tc-b-notification-background-l:var(--tc-b-success-l);--tc-b-notification-color-l:var(--tc-b-success-invert-l)}
.notification.is-success.is-light{--tc-b-notification-background-l:90%;--tc-b-notification-color-l:var(--tc-b-success-light-invert-l)}
.notification.is-warning{--tc-b-notification-h:var(--tc-b-warning-h);--tc-b-notification-s:var(--tc-b-warning-s);--tc-b-notification-background-l:var(--tc-b-warning-l);--tc-b-notification-color-l:var(--tc-b-warning-invert-l)}
.notification.is-warning.is-light{--tc-b-notification-background-l:90%;--tc-b-notification-color-l:var(--tc-b-warning-light-invert-l)}
.notification.is-danger{--tc-b-notification-h:var(--tc-b-danger-h);--tc-b-notification-s:var(--tc-b-danger-s);--tc-b-notification-background-l:var(--tc-b-danger-l);--tc-b-notification-color-l:var(--tc-b-danger-invert-l)}
.notification.is-danger.is-light{--tc-b-notification-background-l:90%;--tc-b-notification-color-l:var(--tc-b-danger-light-invert-l)}
@keyframes moveIndeterminate{0%{background-position:200% 0}to{background-position:-200% 0}}
.tag{--tc-b-tag-h:var(--tc-b-scheme-h);--tc-b-tag-s:var(--tc-b-scheme-s);--tc-b-tag-background-l:var(--tc-b-background-l);--tc-b-tag-background-l-delta:0%;--tc-b-tag-hover-background-l-delta:var(--tc-b-hover-background-l-delta);--tc-b-tag-active-background-l-delta:var(--tc-b-active-background-l-delta);--tc-b-tag-color-l:var(--tc-b-text-l);--tc-b-tag-radius:var(--tc-b-radius);--tc-b-tag-delete-margin:1px;align-items:center;background-color:hsl(var(--tc-b-tag-h),var(--tc-b-tag-s),calc(var(--tc-b-tag-background-l) + var(--tc-b-tag-background-l-delta)));border-radius:var(--tc-b-radius);color:hsl(var(--tc-b-tag-h),var(--tc-b-tag-s),var(--tc-b-tag-color-l));display:inline-flex;font-size:var(--tc-b-size-small);height:2em;justify-content:center;line-height:1.5;padding-left:.75em;padding-right:.75em;white-space:nowrap}
.tag .delete{margin-inline-end:-.375rem;margin-inline-start:.25rem}
.tag.is-light{--tc-b-tag-h:var(--tc-b-light-h);--tc-b-tag-s:var(--tc-b-light-s);--tc-b-tag-background-l:var(--tc-b-light-l);--tc-b-tag-color-l:var(--tc-b-light-invert-l)}
.tag.is-light.is-light{--tc-b-tag-background-l:var(--tc-b-light-l);--tc-b-tag-color-l:var(--tc-b-light-light-invert-l)}
.tag.is-primary{--tc-b-tag-h:var(--tc-b-primary-h);--tc-b-tag-s:var(--tc-b-primary-s);--tc-b-tag-background-l:var(--tc-b-primary-l);--tc-b-tag-color-l:var(--tc-b-primary-invert-l)}
.tag.is-primary.is-light{--tc-b-tag-background-l:var(--tc-b-light-l);--tc-b-tag-color-l:var(--tc-b-primary-light-invert-l)}
.tag.is-link{--tc-b-tag-h:var(--tc-b-link-h);--tc-b-tag-s:var(--tc-b-link-s);--tc-b-tag-background-l:var(--tc-b-link-l);--tc-b-tag-color-l:var(--tc-b-link-invert-l)}
.tag.is-link.is-light{--tc-b-tag-background-l:var(--tc-b-light-l);--tc-b-tag-color-l:var(--tc-b-link-light-invert-l)}
.tag.is-success{--tc-b-tag-h:var(--tc-b-success-h);--tc-b-tag-s:var(--tc-b-success-s);--tc-b-tag-background-l:var(--tc-b-success-l);--tc-b-tag-color-l:var(--tc-b-success-invert-l)}
.tag.is-success.is-light{--tc-b-tag-background-l:var(--tc-b-light-l);--tc-b-tag-color-l:var(--tc-b-success-light-invert-l)}
.tag.is-warning{--tc-b-tag-h:var(--tc-b-warning-h);--tc-b-tag-s:var(--tc-b-warning-s);--tc-b-tag-background-l:var(--tc-b-warning-l);--tc-b-tag-color-l:var(--tc-b-warning-invert-l)}
.tag.is-warning.is-light{--tc-b-tag-background-l:var(--tc-b-light-l);--tc-b-tag-color-l:var(--tc-b-warning-light-invert-l)}
.tag.is-danger{--tc-b-tag-h:var(--tc-b-danger-h);--tc-b-tag-s:var(--tc-b-danger-s);--tc-b-tag-background-l:var(--tc-b-danger-l);--tc-b-tag-color-l:var(--tc-b-danger-invert-l)}
.tag.is-danger.is-light{--tc-b-tag-background-l:var(--tc-b-light-l);--tc-b-tag-color-l:var(--tc-b-danger-light-invert-l)}
.tag .icon:first-child:not(:last-child){margin-inline-end:.1875em;margin-inline-start:-.375em}
.tag .icon:last-child:not(:first-child){margin-inline-end:-.375em;margin-inline-start:.1875em}
.tag .icon:first-child:last-child{margin-inline-end:-.375em;margin-inline-start:-.375em}
.control,.input,.select,.textarea{--tc-b-input-h:var(--tc-b-scheme-h);--tc-b-input-s:var(--tc-b-scheme-s);--tc-b-input-l:var(--tc-b-scheme-main-l);--tc-b-input-border-l:var(--tc-b-border-l);--tc-b-input-border-l-delta:0%;--tc-b-input-hover-border-l-delta:var(--tc-b-hover-border-l-delta);--tc-b-input-active-border-l-delta:var(--tc-b-active-border-l-delta);--tc-b-input-focus-h:var(--tc-b-focus-h);--tc-b-input-focus-s:var(--tc-b-focus-s);--tc-b-input-focus-l:var(--tc-b-focus-l);--tc-b-input-focus-shadow-size:var(--tc-b-focus-shadow-size);--tc-b-input-focus-shadow-alpha:var(--tc-b-focus-shadow-alpha);--tc-b-input-color-l:var(--tc-b-text-strong-l);--tc-b-input-background-l:var(--tc-b-scheme-main-l);--tc-b-input-background-l-delta:0%;--tc-b-input-height:var(--tc-b-control-height);--tc-b-input-shadow:inset 0 0.0625em 0.125em hsla(var(--tc-b-scheme-h),var(--tc-b-scheme-s),var(--tc-b-scheme-invert-l),0.05);--tc-b-input-placeholder-color:hsla(var(--tc-b-text-h),var(--tc-b-text-s),var(--tc-b-text-strong-l),0.3);--tc-b-input-disabled-color:var(--tc-b-text-weak);--tc-b-input-disabled-background-color:var(--tc-b-background);--tc-b-input-disabled-border-color:var(--tc-b-background);--tc-b-input-disabled-placeholder-color:hsla(var(--tc-b-text-h),var(--tc-b-text-s),var(--tc-b-text-weak-l),0.3);--tc-b-input-arrow:var(--tc-b-link);--tc-b-input-icon-color:var(--tc-b-text-light);--tc-b-input-icon-hover-color:var(--tc-b-text-weak);--tc-b-input-icon-focus-color:var(--tc-b-link);--tc-b-input-radius:var(--tc-b-radius)}
.input,.select select,.textarea{background-color:hsl(var(--tc-b-input-h),var(--tc-b-input-s),calc(var(--tc-b-input-background-l) + var(--tc-b-input-background-l-delta)));border-color:hsl(var(--tc-b-input-h),var(--tc-b-input-s),calc(var(--tc-b-input-border-l) + var(--tc-b-input-border-l-delta)));border-radius:var(--tc-b-input-radius);color:hsl(var(--tc-b-input-h),var(--tc-b-input-s),var(--tc-b-input-color-l))}
.input::-moz-placeholder,.select select::-moz-placeholder,.textarea::-moz-placeholder{color:var(--tc-b-input-placeholder-color)}
.input::-webkit-input-placeholder,.select select::-webkit-input-placeholder,.textarea::-webkit-input-placeholder{color:var(--tc-b-input-placeholder-color)}
.input:-moz-placeholder,.select select:-moz-placeholder,.textarea:-moz-placeholder{color:var(--tc-b-input-placeholder-color)}
.input:-ms-input-placeholder,.select select:-ms-input-placeholder,.textarea:-ms-input-placeholder{color:var(--tc-b-input-placeholder-color)}
.input:hover,.is-hovered.input,.is-hovered.textarea,.select select.is-hovered,.select select:hover,.textarea:hover{--tc-b-input-border-l-delta:var(--tc-b-input-hover-border-l-delta)}
.input:active,.is-active.input,.is-active.textarea,.select select.is-active,.select select:active,.textarea:active{--tc-b-input-border-l-delta:var(--tc-b-input-active-border-l-delta)}
.input:focus,.input:focus-within,.is-focused.input,.is-focused.textarea,.select select.is-focused,.select select:focus,.select select:focus-within,.textarea:focus,.textarea:focus-within{border-color:hsl(var(--tc-b-input-focus-h),var(--tc-b-input-focus-s),var(--tc-b-input-focus-l));box-shadow:var(--tc-b-input-focus-shadow-size) hsla(var(--tc-b-input-focus-h),var(--tc-b-input-focus-s),var(--tc-b-input-focus-l),var(--tc-b-input-focus-shadow-alpha))}
.select fieldset[disabled] select,.select select[disabled],[disabled].input,[disabled].textarea,fieldset[disabled] .input,fieldset[disabled] .select select,fieldset[disabled] .textarea{background-color:var(--tc-b-input-disabled-background-color);border-color:var(--tc-b-input-disabled-border-color);box-shadow:none;color:var(--tc-b-input-disabled-color)}
.select fieldset[disabled] select::-moz-placeholder,.select select[disabled]::-moz-placeholder,[disabled].input::-moz-placeholder,[disabled].textarea::-moz-placeholder,fieldset[disabled] .input::-moz-placeholder,fieldset[disabled] .select select::-moz-placeholder,fieldset[disabled] .textarea::-moz-placeholder{color:var(--tc-b-input-disabled-placeholder-color)}
.select fieldset[disabled] select::-webkit-input-placeholder,.select select[disabled]::-webkit-input-placeholder,[disabled].input::-webkit-input-placeholder,[disabled].textarea::-webkit-input-placeholder,fieldset[disabled] .input::-webkit-input-placeholder,fieldset[disabled] .select select::-webkit-input-placeholder,fieldset[disabled] .textarea::-webkit-input-placeholder{color:var(--tc-b-input-disabled-placeholder-color)}
.select fieldset[disabled] select:-moz-placeholder,.select select[disabled]:-moz-placeholder,[disabled].input:-moz-placeholder,[disabled].textarea:-moz-placeholder,fieldset[disabled] .input:-moz-placeholder,fieldset[disabled] .select select:-moz-placeholder,fieldset[disabled] .textarea:-moz-placeholder{color:var(--tc-b-input-disabled-placeholder-color)}
.select fieldset[disabled] select:-ms-input-placeholder,.select select[disabled]:-ms-input-placeholder,[disabled].input:-ms-input-placeholder,[disabled].textarea:-ms-input-placeholder,fieldset[disabled] .input:-ms-input-placeholder,fieldset[disabled] .select select:-ms-input-placeholder,fieldset[disabled] .textarea:-ms-input-placeholder{color:var(--tc-b-input-disabled-placeholder-color)}
.input,.textarea{--tc-b-input-h:var(--tc-b-scheme-h);--tc-b-input-s:var(--tc-b-scheme-s);--tc-b-input-border-style:solid;--tc-b-input-border-width:1px;--tc-b-input-border-l:var(--tc-b-border-l);box-shadow:inset 0 .0625em .125em hsla(var(--tc-b-scheme-h),var(--tc-b-scheme-s),var(--tc-b-scheme-invert-l),.05);max-width:100%;width:100%}
[readonly].input,[readonly].textarea{box-shadow:none}
.is-light.input,.is-light.textarea{--tc-b-input-h:var(--tc-b-light-h);--tc-b-input-s:var(--tc-b-light-s);--tc-b-input-l:var(--tc-b-light-l);--tc-b-input-focus-h:var(--tc-b-light-h);--tc-b-input-focus-s:var(--tc-b-light-s);--tc-b-input-focus-l:var(--tc-b-light-l);--tc-b-input-border-l:var(--tc-b-light-l)}
.is-primary.input,.is-primary.textarea{--tc-b-input-h:var(--tc-b-primary-h);--tc-b-input-s:var(--tc-b-primary-s);--tc-b-input-l:var(--tc-b-primary-l);--tc-b-input-focus-h:var(--tc-b-primary-h);--tc-b-input-focus-s:var(--tc-b-primary-s);--tc-b-input-focus-l:var(--tc-b-primary-l);--tc-b-input-border-l:var(--tc-b-primary-l)}
.is-link.input,.is-link.textarea{--tc-b-input-h:var(--tc-b-link-h);--tc-b-input-s:var(--tc-b-link-s);--tc-b-input-l:var(--tc-b-link-l);--tc-b-input-focus-h:var(--tc-b-link-h);--tc-b-input-focus-s:var(--tc-b-link-s);--tc-b-input-focus-l:var(--tc-b-link-l);--tc-b-input-border-l:var(--tc-b-link-l)}
.is-success.input,.is-success.textarea{--tc-b-input-h:var(--tc-b-success-h);--tc-b-input-s:var(--tc-b-success-s);--tc-b-input-l:var(--tc-b-success-l);--tc-b-input-focus-h:var(--tc-b-success-h);--tc-b-input-focus-s:var(--tc-b-success-s);--tc-b-input-focus-l:var(--tc-b-success-l);--tc-b-input-border-l:var(--tc-b-success-l)}
.is-warning.input,.is-warning.textarea{--tc-b-input-h:var(--tc-b-warning-h);--tc-b-input-s:var(--tc-b-warning-s);--tc-b-input-l:var(--tc-b-warning-l);--tc-b-input-focus-h:var(--tc-b-warning-h);--tc-b-input-focus-s:var(--tc-b-warning-s);--tc-b-input-focus-l:var(--tc-b-warning-l);--tc-b-input-border-l:var(--tc-b-warning-l)}
.is-danger.input,.is-danger.textarea{--tc-b-input-h:var(--tc-b-danger-h);--tc-b-input-s:var(--tc-b-danger-s);--tc-b-input-l:var(--tc-b-danger-l);--tc-b-input-focus-h:var(--tc-b-danger-h);--tc-b-input-focus-s:var(--tc-b-danger-s);--tc-b-input-focus-l:var(--tc-b-danger-l);--tc-b-input-border-l:var(--tc-b-danger-l)}
.is-small.input,.is-small.textarea{border-radius:var(--tc-b-radius-small);font-size:var(--tc-b-size-small)}
.is-fullwidth.input,.is-fullwidth.textarea{display:block;width:100%}
.textarea{--tc-b-textarea-padding:var(--tc-b-control-padding-horizontal);--tc-b-textarea-max-height:40em;--tc-b-textarea-min-height:8em;display:block;max-width:100%;min-width:100%;padding:var(--tc-b-textarea-padding);resize:vertical}
.textarea:not([rows]){max-height:var(--tc-b-textarea-max-height);min-height:var(--tc-b-textarea-min-height)}
.textarea[rows]{height:auto}
.checkbox,.radio{cursor:pointer;display:inline-block;line-height:1.25;position:relative}
.checkbox input,.radio input{cursor:pointer}
.select{--tc-b-input-h:var(--tc-b-scheme-h);--tc-b-input-s:var(--tc-b-scheme-s);--tc-b-input-border-style:solid;--tc-b-input-border-width:1px;--tc-b-input-border-l:var(--tc-b-border-l);display:inline-block;max-width:100%;position:relative;vertical-align:top}
.select:not(.is-multiple){height:var(--tc-b-control-height)}
.select select{cursor:pointer;display:block;font-size:1em;max-width:100%;outline:none}
.select select::-ms-expand{display:none}
.select select[disabled]:hover,fieldset[disabled] .select select:hover{border-color:var(--tc-b-background)}
.select select:not([multiple]){padding-inline-end:2.5em}
.select select[multiple]{height:auto;padding:0}
.select select[multiple] option{padding:.5em 1em}
.select.is-light{--tc-b-input-h:var(--tc-b-light-h);--tc-b-input-s:var(--tc-b-light-s);--tc-b-input-l:var(--tc-b-light-l);--tc-b-input-focus-h:var(--tc-b-light-h);--tc-b-input-focus-s:var(--tc-b-light-s);--tc-b-input-focus-l:var(--tc-b-light-l);--tc-b-input-border-l:var(--tc-b-light-l);--tc-b-arrow-color:var(--tc-b-light)}
.select.is-primary{--tc-b-input-h:var(--tc-b-primary-h);--tc-b-input-s:var(--tc-b-primary-s);--tc-b-input-l:var(--tc-b-primary-l);--tc-b-input-focus-h:var(--tc-b-primary-h);--tc-b-input-focus-s:var(--tc-b-primary-s);--tc-b-input-focus-l:var(--tc-b-primary-l);--tc-b-input-border-l:var(--tc-b-primary-l);--tc-b-arrow-color:var(--tc-b-primary)}
.select.is-link{--tc-b-input-h:var(--tc-b-link-h);--tc-b-input-s:var(--tc-b-link-s);--tc-b-input-l:var(--tc-b-link-l);--tc-b-input-focus-h:var(--tc-b-link-h);--tc-b-input-focus-s:var(--tc-b-link-s);--tc-b-input-focus-l:var(--tc-b-link-l);--tc-b-input-border-l:var(--tc-b-link-l);--tc-b-arrow-color:var(--tc-b-link)}
.select.is-success{--tc-b-input-h:var(--tc-b-success-h);--tc-b-input-s:var(--tc-b-success-s);--tc-b-input-l:var(--tc-b-success-l);--tc-b-input-focus-h:var(--tc-b-success-h);--tc-b-input-focus-s:var(--tc-b-success-s);--tc-b-input-focus-l:var(--tc-b-success-l);--tc-b-input-border-l:var(--tc-b-success-l);--tc-b-arrow-color:var(--tc-b-success)}
.select.is-warning{--tc-b-input-h:var(--tc-b-warning-h);--tc-b-input-s:var(--tc-b-warning-s);--tc-b-input-l:var(--tc-b-warning-l);--tc-b-input-focus-h:var(--tc-b-warning-h);--tc-b-input-focus-s:var(--tc-b-warning-s);--tc-b-input-focus-l:var(--tc-b-warning-l);--tc-b-input-border-l:var(--tc-b-warning-l);--tc-b-arrow-color:var(--tc-b-warning)}
.select.is-danger{--tc-b-input-h:var(--tc-b-danger-h);--tc-b-input-s:var(--tc-b-danger-s);--tc-b-input-l:var(--tc-b-danger-l);--tc-b-input-focus-h:var(--tc-b-danger-h);--tc-b-input-focus-s:var(--tc-b-danger-s);--tc-b-input-focus-l:var(--tc-b-danger-l);--tc-b-input-border-l:var(--tc-b-danger-l);--tc-b-arrow-color:var(--tc-b-danger)}
.select.is-small{border-radius:var(--tc-b-radius-small);font-size:var(--tc-b-size-small)}
.select.is-fullwidth,.select.is-fullwidth select{width:100%}
.label{color:var(--tc-b-text-strong);display:block;font-size:var(--tc-b-size-normal);font-weight:var(--tc-b-weight-semibold)}
.label:not(:last-child){margin-bottom:.5em}
.label.is-small{font-size:var(--tc-b-size-small)}
.help{display:block;font-size:var(--tc-b-size-small);margin-top:.25rem}
.help.is-light{color:hsl(var(--tc-b-light-h),var(--tc-b-light-s),var(--tc-b-light-on-scheme-l))}
.help.is-primary{color:hsl(var(--tc-b-primary-h),var(--tc-b-primary-s),var(--tc-b-primary-on-scheme-l))}
.help.is-link{color:hsl(var(--tc-b-link-h),var(--tc-b-link-s),var(--tc-b-link-on-scheme-l))}
.help.is-success{color:hsl(var(--tc-b-success-h),var(--tc-b-success-s),var(--tc-b-success-on-scheme-l))}
.help.is-warning{color:hsl(var(--tc-b-warning-h),var(--tc-b-warning-s),var(--tc-b-warning-on-scheme-l))}
.help.is-danger{color:hsl(var(--tc-b-danger-h),var(--tc-b-danger-s),var(--tc-b-danger-on-scheme-l))}
.field{--tc-b-block-spacing:0.75rem}
.field.has-addons{display:flex;justify-content:flex-start}
.field.has-addons .control:not(:last-child){margin-inline-end:-1px}
.field.has-addons .control:not(:first-child):not(:last-child) .button,.field.has-addons .control:not(:first-child):not(:last-child) .input,.field.has-addons .control:not(:first-child):not(:last-child) .select select{border-radius:0}
.field.has-addons .control:first-child:not(:only-child) .button,.field.has-addons .control:first-child:not(:only-child) .input,.field.has-addons .control:first-child:not(:only-child) .select select{border-bottom-right-radius:0;border-top-right-radius:0}
.field.has-addons .control:last-child:not(:only-child) .button,.field.has-addons .control:last-child:not(:only-child) .input,.field.has-addons .control:last-child:not(:only-child) .select select{border-bottom-left-radius:0;border-top-left-radius:0}
.field.has-addons .control .button:not([disabled]).is-hovered,.field.has-addons .control .button:not([disabled]):hover,.field.has-addons .control .input:not([disabled]).is-hovered,.field.has-addons .control .input:not([disabled]):hover,.field.has-addons .control .select select:not([disabled]).is-hovered,.field.has-addons .control .select select:not([disabled]):hover{z-index:2}
.field.has-addons .control .button:not([disabled]).is-active,.field.has-addons .control .button:not([disabled]).is-focused,.field.has-addons .control .button:not([disabled]):active,.field.has-addons .control .button:not([disabled]):focus,.field.has-addons .control .input:not([disabled]).is-active,.field.has-addons .control .input:not([disabled]).is-focused,.field.has-addons .control .input:not([disabled]):active,.field.has-addons .control .input:not([disabled]):focus,.field.has-addons .control .select select:not([disabled]).is-active,.field.has-addons .control .select select:not([disabled]).is-focused,.field.has-addons .control .select select:not([disabled]):active,.field.has-addons .control .select select:not([disabled]):focus{z-index:3}
.field.has-addons .control .button:not([disabled]).is-active:hover,.field.has-addons .control .button:not([disabled]).is-focused:hover,.field.has-addons .control .button:not([disabled]):active:hover,.field.has-addons .control .button:not([disabled]):focus:hover,.field.has-addons .control .input:not([disabled]).is-active:hover,.field.has-addons .control .input:not([disabled]).is-focused:hover,.field.has-addons .control .input:not([disabled]):active:hover,.field.has-addons .control .input:not([disabled]):focus:hover,.field.has-addons .control .select select:not([disabled]).is-active:hover,.field.has-addons .control .select select:not([disabled]).is-focused:hover,.field.has-addons .control .select select:not([disabled]):active:hover,.field.has-addons .control .select select:not([disabled]):focus:hover{z-index:4}
.field.has-addons .control.is-expanded{flex-grow:1;flex-shrink:1}
.control{box-sizing:border-box;clear:both;font-size:var(--tc-b-size-normal);position:relative;text-align:inherit}
.control.has-icons-left .icon,.control.has-icons-right .icon{color:var(--tc-b-input-icon-color);height:var(--tc-b-input-height);pointer-events:none;position:absolute;top:0;width:var(--tc-b-input-height);z-index:4}
.control.has-icons-left .input,.control.has-icons-left .select select{padding-left:var(--tc-b-input-height)}
.control.has-icons-left .icon.is-left{left:0}
.message{--tc-b-message-border-l-delta:-20%;--tc-b-message-radius:var(--tc-b-radius);--tc-b-message-header-weight:var(--tc-b-weight-semibold);--tc-b-message-header-padding:1em 1.25em;--tc-b-message-header-radius:var(--tc-b-radius);--tc-b-message-body-border-width:0 0 0 4px;--tc-b-message-body-color:var(--tc-b-text);--tc-b-message-body-padding:1.25em 1.5em;--tc-b-message-body-radius:var(--tc-b-radius-small);--tc-b-message-body-pre-code-background-color:transparent;--tc-b-message-header-body-border-width:0;--tc-b-message-h:var(--tc-b-scheme-h);--tc-b-message-s:var(--tc-b-scheme-s);--tc-b-message-background-l:var(--tc-b-background-l);--tc-b-message-border-l:var(--tc-b-border-l);--tc-b-message-border-style:solid;--tc-b-message-border-width:0.25em;--tc-b-message-color-l:var(--tc-b-text-l);--tc-b-message-header-background-l:var(--tc-b-dark-l);--tc-b-message-header-color-l:var(--tc-b-text-dark-invert-l);border-radius:var(--tc-b-message-radius);color:hsl(var(--tc-b-message-h),var(--tc-b-message-s),var(--tc-b-message-color-l));font-size:var(--tc-b-size-normal)}
.message strong{color:currentColor}
.message.is-small{font-size:var(--tc-b-size-small)}
.message.is-light{--tc-b-message-h:var(--tc-b-light-h);--tc-b-message-s:var(--tc-b-light-s);--tc-b-message-border-l:calc(var(--tc-b-light-l) + var(--tc-b-message-border-l-delta));--tc-b-message-color-l:var(--tc-b-light-on-scheme-l);--tc-b-message-header-background-l:var(--tc-b-light-l);--tc-b-message-header-color-l:var(--tc-b-light-invert-l)}
.message.is-primary{--tc-b-message-h:var(--tc-b-primary-h);--tc-b-message-s:var(--tc-b-primary-s);--tc-b-message-border-l:calc(var(--tc-b-primary-l) + var(--tc-b-message-border-l-delta));--tc-b-message-color-l:var(--tc-b-primary-on-scheme-l);--tc-b-message-header-background-l:var(--tc-b-primary-l);--tc-b-message-header-color-l:var(--tc-b-primary-invert-l)}
.message.is-link{--tc-b-message-h:var(--tc-b-link-h);--tc-b-message-s:var(--tc-b-link-s);--tc-b-message-border-l:calc(var(--tc-b-link-l) + var(--tc-b-message-border-l-delta));--tc-b-message-color-l:var(--tc-b-link-on-scheme-l);--tc-b-message-header-background-l:var(--tc-b-link-l);--tc-b-message-header-color-l:var(--tc-b-link-invert-l)}
.message.is-success{--tc-b-message-h:var(--tc-b-success-h);--tc-b-message-s:var(--tc-b-success-s);--tc-b-message-border-l:calc(var(--tc-b-success-l) + var(--tc-b-message-border-l-delta));--tc-b-message-color-l:var(--tc-b-success-on-scheme-l);--tc-b-message-header-background-l:var(--tc-b-success-l);--tc-b-message-header-color-l:var(--tc-b-success-invert-l)}
.message.is-warning{--tc-b-message-h:var(--tc-b-warning-h);--tc-b-message-s:var(--tc-b-warning-s);--tc-b-message-border-l:calc(var(--tc-b-warning-l) + var(--tc-b-message-border-l-delta));--tc-b-message-color-l:var(--tc-b-warning-on-scheme-l);--tc-b-message-header-background-l:var(--tc-b-warning-l);--tc-b-message-header-color-l:var(--tc-b-warning-invert-l)}
.message.is-danger{--tc-b-message-h:var(--tc-b-danger-h);--tc-b-message-s:var(--tc-b-danger-s);--tc-b-message-border-l:calc(var(--tc-b-danger-l) + var(--tc-b-message-border-l-delta));--tc-b-message-color-l:var(--tc-b-danger-on-scheme-l);--tc-b-message-header-background-l:var(--tc-b-danger-l);--tc-b-message-header-color-l:var(--tc-b-danger-invert-l)}
.message-body{background-color:hsl(var(--tc-b-message-h),var(--tc-b-message-s),var(--tc-b-message-background-l));border-inline-start-color:hsl(var(--tc-b-message-h),var(--tc-b-message-s),var(--tc-b-message-border-l));border-inline-start-style:var(--tc-b-message-border-style);border-inline-start-width:var(--tc-b-message-border-width);border-radius:var(--tc-b-message-body-radius);padding:var(--tc-b-message-body-padding)}
.message-body code,.message-body pre{background-color:hsl(var(--tc-b-message-h),var(--tc-b-message-s),var(--tc-b-message-header-color-l));color:hsl(var(--tc-b-message-h),var(--tc-b-message-s),var(--tc-b-message-header-background-l))}
.message-body pre code{background-color:var(--tc-b-message-body-pre-code-background-color)}

.pagination{--tc-b-pagination-margin:-0.25rem;--tc-b-pagination-min-width:var(--tc-b-control-height);--tc-b-pagination-item-h:var(--tc-b-scheme-h);--tc-b-pagination-item-s:var(--tc-b-scheme-s);--tc-b-pagination-item-l:var(--tc-b-scheme-main-l);--tc-b-pagination-item-background-l-delta:0%;--tc-b-pagination-item-hover-background-l-delta:var(--tc-b-hover-background-l-delta);--tc-b-pagination-item-active-background-l-delta:var(--tc-b-active-background-l-delta);--tc-b-pagination-item-border-style:solid;--tc-b-pagination-item-border-width:var(--tc-b-control-border-width);--tc-b-pagination-item-border-l:var(--tc-b-border-l);--tc-b-pagination-item-border-l-delta:0%;--tc-b-pagination-item-hover-border-l-delta:var(--tc-b-hover-border-l-delta);--tc-b-pagination-item-active-border-l-delta:var(--tc-b-active-border-l-delta);--tc-b-pagination-item-focus-border-l-delta:var(--tc-b-focus-border-l-delta);--tc-b-pagination-item-color-l:var(--tc-b-text-strong-l);--tc-b-pagination-item-font-size:1em;--tc-b-pagination-item-margin:0.25rem;--tc-b-pagination-item-padding-left:0.5em;--tc-b-pagination-item-padding-right:0.5em;--tc-b-pagination-item-outer-shadow-h:0;--tc-b-pagination-item-outer-shadow-s:0%;--tc-b-pagination-item-outer-shadow-l:20%;--tc-b-pagination-item-outer-shadow-a:0.05;--tc-b-pagination-nav-padding-left:0.75em;--tc-b-pagination-nav-padding-right:0.75em;--tc-b-pagination-disabled-color:var(--tc-b-text-weak);--tc-b-pagination-disabled-background-color:var(--tc-b-border);--tc-b-pagination-disabled-border-color:var(--tc-b-border);--tc-b-pagination-current-color:var(--tc-b-link-invert);--tc-b-pagination-current-background-color:var(--tc-b-link);--tc-b-pagination-current-border-color:var(--tc-b-link);--tc-b-pagination-ellipsis-color:var(--tc-b-text-weak);--tc-b-pagination-shadow-inset:inset 0 0.0625em 0.125em hsla(var(--tc-b-scheme-h),var(--tc-b-scheme-s),var(--tc-b-scheme-invert-l),0.2);--tc-b-pagination-selected-item-h:var(--tc-b-link-h);--tc-b-pagination-selected-item-s:var(--tc-b-link-s);--tc-b-pagination-selected-item-l:var(--tc-b-link-l);--tc-b-pagination-selected-item-background-l:var(--tc-b-link-l);--tc-b-pagination-selected-item-border-l:var(--tc-b-link-l);--tc-b-pagination-selected-item-color-l:var(--tc-b-link-invert-l);font-size:var(--tc-b-size-normal);margin:var(--tc-b-pagination-margin)}
.pagination.is-small{font-size:var(--tc-b-size-small)}
.pagination,.pagination-list{align-items:center;display:flex;justify-content:center;text-align:center}
.pagination-ellipsis,.pagination-link,.pagination-next,.pagination-previous{color:hsl(var(--tc-b-pagination-item-h),var(--tc-b-pagination-item-s),var(--tc-b-pagination-item-color-l));font-size:var(--tc-b-pagination-item-font-size);justify-content:center;margin:var(--tc-b-pagination-item-margin);padding-left:var(--tc-b-pagination-item-padding-left);padding-right:var(--tc-b-pagination-item-padding-right);text-align:center}
.pagination-link,.pagination-next,.pagination-previous{background-color:hsl(var(--tc-b-pagination-item-h),var(--tc-b-pagination-item-s),calc(var(--tc-b-pagination-item-background-l) + var(--tc-b-pagination-item-background-l-delta)));border-color:hsl(var(--tc-b-pagination-item-h),var(--tc-b-pagination-item-s),calc(var(--tc-b-pagination-item-border-l) + var(--tc-b-pagination-item-border-l-delta)));border-style:var(--tc-b-pagination-item-border-style);border-width:var(--tc-b-pagination-item-border-width);box-shadow:0 .0625em .125em hsla(var(--tc-b-pagination-item-outer-shadow-h),var(--tc-b-pagination-item-outer-shadow-s),var(--tc-b-pagination-item-outer-shadow-l),var(--tc-b-pagination-item-outer-shadow-a)),0 .125em .25em hsla(var(--tc-b-pagination-item-outer-shadow-h),var(--tc-b-pagination-item-outer-shadow-s),var(--tc-b-pagination-item-outer-shadow-l),var(--tc-b-pagination-item-outer-shadow-a));color:hsl(var(--tc-b-pagination-item-h),var(--tc-b-pagination-item-s),var(--tc-b-pagination-item-color-l));min-width:var(--tc-b-pagination-min-width);transition-duration:var(--tc-b-duration);transition-property:background-color,border-color,box-shadow,color}
.pagination-link:focus,.pagination-link:hover,.pagination-next:focus,.pagination-next:hover,.pagination-previous:focus,.pagination-previous:hover{--tc-b-pagination-item-background-l-delta:var(--tc-b-pagination-item-hover-background-l-delta);--tc-b-pagination-item-border-l-delta:var(--tc-b-pagination-item-hover-border-l-delta)}
.pagination-link:active,.pagination-next:active,.pagination-previous:active{box-shadow:var(--tc-b-pagination-shadow-inset)}
.pagination-link.is-current,.pagination-link.is-selected{--tc-b-pagination-item-h:var(--tc-b-pagination-selected-item-h);--tc-b-pagination-item-s:var(--tc-b-pagination-selected-item-s);--tc-b-pagination-item-l:var(--tc-b-pagination-selected-item-l);--tc-b-pagination-item-background-l:var(--tc-b-pagination-selected-item-background-l);--tc-b-pagination-item-border-l:var(--tc-b-pagination-selected-item-border-l);--tc-b-pagination-item-color-l:var(--tc-b-pagination-selected-item-color-l)}
.pagination-ellipsis{color:var(--tc-b-pagination-ellipsis-color);pointer-events:none}
.pagination-list{flex-wrap:wrap}
.pagination-list li{list-style:none}
@media screen and (max-width:768px){
.pagination{flex-wrap:wrap}
.pagination-list li,.pagination-next,.pagination-previous{flex-grow:1;flex-shrink:1}
}
@media print,screen and (min-width:769px){
.pagination-list{flex-grow:1;flex-shrink:1;justify-content:flex-start;order:1}
.pagination-ellipsis,.pagination-link,.pagination-next,.pagination-previous{margin-bottom:0;margin-top:0}
.pagination{justify-content:space-between;margin-bottom:0;margin-top:0}
}

.column{display:block;flex-basis:0;flex-grow:1;flex-shrink:1;padding:.75rem}
@media print,screen and (min-width:769px){
.column.is-two-thirds,.column.is-two-thirds-tablet{flex:none;width:66.6666%}
.column.is-one-third,.column.is-one-third-tablet{flex:none;width:33.3333%}
}
.columns{margin-inline-end:calc(var(--tc-b-column-gap)*-1);margin-inline-start:calc(var(--tc-b-column-gap)*-1);margin-top:calc(var(--tc-b-column-gap)*-1)}
.columns:last-child{margin-bottom:calc(var(--tc-b-column-gap)*-1)}
.columns:not(:last-child){margin-bottom:.75rem}
.columns.is-multiline{flex-wrap:wrap}
@media print,screen and (min-width:769px){
.columns:not(.is-desktop){display:flex}
}
.container{flex-grow:1;margin:0 auto;position:relative;width:100%}
@media screen and (min-width:1024px){
.container{max-width:960px}
}
@media screen and (min-width:1216px){
.container:not(.is-max-desktop){max-width:1152px}
}
@media screen and (min-width:1408px){
.container:not(.is-max-desktop):not(.is-max-widescreen){max-width:1344px}
}
.section{--tc-b-section-padding:3rem 1.5rem;--tc-b-section-padding-desktop:3rem 3rem;--tc-b-section-padding-medium:9rem 4.5rem;--tc-b-section-padding-large:18rem 6rem;padding:var(--tc-b-section-padding)}
@media screen and (min-width:1024px){
.section{padding:var(--tc-b-section-padding-desktop)}
}

[class*=has-text-white],[class*=is-color-white]{--tc-b-color-l:var(--tc-b-white-l);--tc-b-color-l-delta:0%;color:hsl(var(--tc-b-white-h),var(--tc-b-white-s),calc(var(--tc-b-color-l) + var(--tc-b-color-l-delta)))!important}
[class*=has-background-white],[class*=is-background-white]{--tc-b-background-l:var(--tc-b-white-l);--tc-b-background-l-delta:0%;background-color:hsl(var(--tc-b-white-h),var(--tc-b-white-s),calc(var(--tc-b-background-l) + var(--tc-b-background-l-delta)))!important}
[class*=has-text-black],[class*=is-color-black]{--tc-b-color-l:var(--tc-b-black-l);--tc-b-color-l-delta:0%;color:hsl(var(--tc-b-black-h),var(--tc-b-black-s),calc(var(--tc-b-color-l) + var(--tc-b-color-l-delta)))!important}
[class*=has-background-black],[class*=is-background-black]{--tc-b-background-l:var(--tc-b-black-l);--tc-b-background-l-delta:0%;background-color:hsl(var(--tc-b-black-h),var(--tc-b-black-s),calc(var(--tc-b-background-l) + var(--tc-b-background-l-delta)))!important}
[class*=has-text-light],[class*=is-color-light]{--tc-b-color-l:var(--tc-b-light-l);--tc-b-color-l-delta:0%;color:hsl(var(--tc-b-light-h),var(--tc-b-light-s),calc(var(--tc-b-color-l) + var(--tc-b-color-l-delta)))!important}
[class*=has-background-light],[class*=is-background-light]{--tc-b-background-l:var(--tc-b-light-l);--tc-b-background-l-delta:0%;background-color:hsl(var(--tc-b-light-h),var(--tc-b-light-s),calc(var(--tc-b-background-l) + var(--tc-b-background-l-delta)))!important}
[class*=has-text-dark],[class*=is-color-dark]{--tc-b-color-l:var(--tc-b-dark-l);--tc-b-color-l-delta:0%;color:hsl(var(--tc-b-dark-h),var(--tc-b-dark-s),calc(var(--tc-b-color-l) + var(--tc-b-color-l-delta)))!important}
[class*=has-background-dark],[class*=is-background-dark]{--tc-b-background-l:var(--tc-b-dark-l);--tc-b-background-l-delta:0%;background-color:hsl(var(--tc-b-dark-h),var(--tc-b-dark-s),calc(var(--tc-b-background-l) + var(--tc-b-background-l-delta)))!important}
[class*=has-text-text],[class*=is-color-text]{--tc-b-color-l:var(--tc-b-text-l);--tc-b-color-l-delta:0%;color:hsl(var(--tc-b-text-h),var(--tc-b-text-s),calc(var(--tc-b-color-l) + var(--tc-b-color-l-delta)))!important}
[class*=has-background-text],[class*=is-background-text]{--tc-b-background-l:var(--tc-b-text-l);--tc-b-background-l-delta:0%;background-color:hsl(var(--tc-b-text-h),var(--tc-b-text-s),calc(var(--tc-b-background-l) + var(--tc-b-background-l-delta)))!important}
[class*=has-text-primary],[class*=is-color-primary]{--tc-b-color-l:var(--tc-b-primary-l);--tc-b-color-l-delta:0%;color:hsl(var(--tc-b-primary-h),var(--tc-b-primary-s),calc(var(--tc-b-color-l) + var(--tc-b-color-l-delta)))!important}
[class*=has-background-primary],[class*=is-background-primary]{--tc-b-background-l:var(--tc-b-primary-l);--tc-b-background-l-delta:0%;background-color:hsl(var(--tc-b-primary-h),var(--tc-b-primary-s),calc(var(--tc-b-background-l) + var(--tc-b-background-l-delta)))!important}
[class*=has-text-link],[class*=is-color-link]{--tc-b-color-l:var(--tc-b-link-l);--tc-b-color-l-delta:0%;color:hsl(var(--tc-b-link-h),var(--tc-b-link-s),calc(var(--tc-b-color-l) + var(--tc-b-color-l-delta)))!important}
[class*=has-background-link],[class*=is-background-link]{--tc-b-background-l:var(--tc-b-link-l);--tc-b-background-l-delta:0%;background-color:hsl(var(--tc-b-link-h),var(--tc-b-link-s),calc(var(--tc-b-background-l) + var(--tc-b-background-l-delta)))!important}
[class*=has-text-info],[class*=is-color-info]{--tc-b-color-l:var(--tc-b-info-l);--tc-b-color-l-delta:0%;color:hsl(var(--tc-b-info-h),var(--tc-b-info-s),calc(var(--tc-b-color-l) + var(--tc-b-color-l-delta)))!important}
[class*=has-background-info],[class*=is-background-info]{--tc-b-background-l:var(--tc-b-info-l);--tc-b-background-l-delta:0%;background-color:hsl(var(--tc-b-info-h),var(--tc-b-info-s),calc(var(--tc-b-background-l) + var(--tc-b-background-l-delta)))!important}
[class*=has-text-success],[class*=is-color-success]{--tc-b-color-l:var(--tc-b-success-l);--tc-b-color-l-delta:0%;color:hsl(var(--tc-b-success-h),var(--tc-b-success-s),calc(var(--tc-b-color-l) + var(--tc-b-color-l-delta)))!important}
[class*=has-background-success],[class*=is-background-success]{--tc-b-background-l:var(--tc-b-success-l);--tc-b-background-l-delta:0%;background-color:hsl(var(--tc-b-success-h),var(--tc-b-success-s),calc(var(--tc-b-background-l) + var(--tc-b-background-l-delta)))!important}
[class*=has-text-warning],[class*=is-color-warning]{--tc-b-color-l:var(--tc-b-warning-l);--tc-b-color-l-delta:0%;color:hsl(var(--tc-b-warning-h),var(--tc-b-warning-s),calc(var(--tc-b-color-l) + var(--tc-b-color-l-delta)))!important}
[class*=has-background-warning],[class*=is-background-warning]{--tc-b-background-l:var(--tc-b-warning-l);--tc-b-background-l-delta:0%;background-color:hsl(var(--tc-b-warning-h),var(--tc-b-warning-s),calc(var(--tc-b-background-l) + var(--tc-b-background-l-delta)))!important}
[class*=has-text-danger],[class*=is-color-danger]{--tc-b-color-l:var(--tc-b-danger-l);--tc-b-color-l-delta:0%;color:hsl(var(--tc-b-danger-h),var(--tc-b-danger-s),calc(var(--tc-b-color-l) + var(--tc-b-color-l-delta)))!important}
[class*=has-background-danger],[class*=is-background-danger]{--tc-b-background-l:var(--tc-b-danger-l);--tc-b-background-l-delta:0%;background-color:hsl(var(--tc-b-danger-h),var(--tc-b-danger-s),calc(var(--tc-b-background-l) + var(--tc-b-background-l-delta)))!important}
.mb-0{margin-bottom:0!important}
.mt-3{margin-top:.75rem!important}
.mt-4{margin-top:1rem!important}
.mb-4{margin-bottom:1rem!important}
.mt-5{margin-top:1.5rem!important}
.is-sr-only{border:none!important;clip:rect(0,0,0,0)!important;height:.01em!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:.01em!important}



/* ==========================================================================
   Panel styles
   ==========================================================================

   Above is the base; from here down is ours and wins, which is why it comes
   after. Where the base comes from is in COMO-SE-HIZO-LA-BASE.md.

   Order: typography, palette, page structure, controls, tables, and
   despues los bloques propios de cada pantalla. */



/*
 * Blush is surface, not action: the background the brand lays faces on. Here
 * it does the same, dressing the app's frame and leaving the work area on
 * paper. Coral is favourites only, always with black text on top.
 */
:root {
  /* The base's "primary" and "link" are both the brand black, the colour of
     whatever leads a screen. */
  --tc-b-primary-h: 0deg;
  --tc-b-primary-s: 0%;
  --tc-b-primary-l: 9%;
  --tc-b-primary-invert-l: 100%;

  --tc-b-link-h: 13deg;
  --tc-b-link-s: 10%;
  --tc-b-link-l: 12%;

  --tc-b-info-h: 200deg;
  --tc-b-info-s: 42%;
  --tc-b-info-l: 34%;

  --tc-b-success-h: 154deg;
  --tc-b-success-s: 52%;
  --tc-b-success-l: 28%;

  --tc-b-warning-h: 32deg;
  --tc-b-warning-s: 85%;
  --tc-b-warning-l: 34%;

  --tc-b-danger-h: 358deg;
  --tc-b-danger-s: 62%;
  --tc-b-danger-l: 38%;

  /* Warm greys, leaning on the pink rather than a print blue. */
  --tc-b-scheme-h: 13;
  --tc-b-scheme-s: 12%;
  --tc-b-text-l: 20%;
  --tc-b-text-weak-l: 38%;
  --tc-b-border-l: 84%;

  /* Without this, a browser in dark mode decides on its own how to invert the
     screen and anything can come out. */
  color-scheme: light;

  /* The base clips the page's horizontal overflow. With vertical on «scroll»,
     the browser turns that clip into a scroll: the page slides sideways toward
     an empty gap. Better that it not clip and that what overflows stays visible. */
  --tc-b-body-overflow-x: visible;

  --tc-b-family-primary: var(--tc-font-ui);
  --tc-b-radius-small: 2px;
  --tc-b-radius: 3px;
  --tc-b-radius-large: 4px;

  --tc-b-link-text: var(--tc-ink);
  --tc-b-link-text-hover: var(--tc-coral-strong);
}

body {
  font-family: var(--tc-font-ui);
  font-size: var(--tc-text-md);
  color: var(--tc-ink);
  background: var(--tc-paper);
  /* The browser paints checkboxes and radios in its blue unless told. */
  accent-color: var(--tc-ink);
}

/* A component's display beats the browser's, so without this a button with the
   hidden attribute still shows. */
[hidden] {
  display: none !important;
}

/* Titles use the brand typeface, very tight with almost no leading: that is
   what gives the screen its voice. */
.display {
  font-family: var(--tc-font-display);
  font-weight: 400;
  letter-spacing: var(--tc-tracking-display);
  line-height: 1;
}

/* Figures compared in a column —measurements, counters, dates— at fixed width,
   or each row lands in a different spot. */
.numbers {
  font-variant-numeric: var(--tc-numbers);
}

/*
 * One focus ring for everything. Dark coral hits 5.7:1 on white and 3.4:1 on
 * blush, so it shows on both of the app's surfaces.
 */
:focus-visible {
  outline: var(--tc-focus);
  outline-offset: 2px;
}

/* Content links are black with a coral underline: the text carries the
   contrast, the underline the brand.
   With :where() the rule weighs nothing, so a component with its own class
   —a button, a card— only has to state its own to opt out. */
main :where(a) {
  text-decoration: underline;
  text-decoration-color: var(--tc-coral);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

main :where(a):hover {
  text-decoration-color: var(--tc-coral-strong);
}

main :where(.button, .pagination-link) {
  text-decoration: none;
}


/* ==========================================================================
   Sign in, password reset and errors
   ========================================================================== */

/*
 * Two columns: full-bleed brand blush on the left and a single box on the
 * right. When narrow the brand goes and the box stays over the blush.
 */
.signin {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100dvh;
  background: var(--tc-paper);
}

.signin__brand {
  overflow: hidden;
  background: var(--tc-blush);
}

/* With no mosaic the box has nothing to share the screen with: it centres, and
   the text centres with it. */
.signin--alone {
  grid-template-columns: minmax(0, 1fr);

  & .signin__box {
    align-items: center;
    width: min(32rem, 100%);
    text-align: center;
  }

  & .signin__logo {
    margin-bottom: var(--tc-space-6);
  }

  & .signin__actions {
    justify-content: center;
  }
}

.locked {
  width: 150px;
  height: 200px;
  margin-bottom: var(--tc-space-6);
  border-radius: var(--tc-radius-photo);
}

/* The mosaic runs off top and bottom on purpose: it shows there are more faces
   than fit. */
.signin__faces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-content: center;
  gap: var(--tc-space-3);
  height: 100dvh;
  padding: var(--tc-space-6);
}

.signin__face {
  width: 100%;
  aspect-ratio: var(--tc-photo-ratio);
  object-fit: cover;
  border-radius: var(--tc-radius-photo);
  animation: tc-fade 700ms ease-out backwards;
  animation-delay: calc(var(--i) * 45ms);

  /* Even columns drop: in line it would be a catalogue grid. */
  &:nth-child(3n + 2) {
    translate: 0 36px;
  }

  &:nth-child(3n + 1),
  &:nth-child(3n) {
    translate: 0 -12px;
  }
}

.signin__box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--tc-space-4);
  width: min(26rem, 100%);
  justify-self: center;
  padding: var(--tc-space-10) var(--tc-space-6);
  animation: tc-rise 500ms var(--tc-ease) 150ms backwards;
}

/* Sign in is the screen's only action: full width and taller than a panel
   button. */
.signin .signin__actions .button {
  flex: 1;
  min-height: 52px;
}

.signin__logo {
  display: block;
  margin-bottom: var(--tc-space-4);

  & img {
    width: 230px;
    max-width: 100%;
    height: auto;
  }
}

.signin__title {
  font-family: var(--tc-font-display);
  font-size: var(--tc-title-md);
  font-weight: 400;
  line-height: 1;
  letter-spacing: var(--tc-tracking-display);
}

.signin__intro {
  margin-bottom: var(--tc-space-2);
  color: var(--tc-muted);
}

.signin__remember {
  display: flex;
  align-items: center;
  gap: var(--tc-space-2);
  min-height: var(--tc-target);
  margin-block: var(--tc-space-2);

  & input[type='checkbox'] {
    width: 20px;
    height: 20px;
    accent-color: var(--tc-ink);
  }
}

.signin__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tc-space-3);
  margin-top: var(--tc-space-4);
}

.signin__footer {
  margin-top: var(--tc-space-4);
  padding-top: var(--tc-space-4);
  border-top: 1px solid var(--tc-line);
  font-size: var(--tc-text-sm);
}

.signin .field {
  margin-bottom: var(--tc-space-4);
}

.signin a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--tc-coral);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.signin .button,
.signin .signin__logo {
  text-decoration: none;
}

/* The reveal-password button sits inside the field, and the field makes room
   so it does not sit on top of what is typed. */
.control-reveal {
  position: relative;

  & .input {
    padding-right: 3.25rem;
  }
}

.reveal {
  position: absolute;
  top: 50%;
  right: 2px;
  translate: 0 -50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--tc-target);
  height: var(--tc-target);
  border: 0;
  border-radius: var(--tc-radius-pill);
  background: transparent;
  color: var(--tc-muted);
  cursor: pointer;

  & svg {
    width: 20px;
    height: 20px;
  }

  &:hover {
    background: var(--tc-chip);
    color: var(--tc-ink);
  }
}

/* The password requirements. The tick and colour come with the word
   «cumplido», which is what someone who cannot see them hears. */
.rules {
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-1);
  margin-bottom: var(--tc-space-4);
  list-style: none;
  font-size: var(--tc-text-sm);
  color: var(--tc-muted);
}

.rules__item {
  display: flex;
  align-items: center;
  gap: var(--tc-space-2);

  & svg {
    width: 15px;
    height: 15px;
    flex: none;
    opacity: 0.35;
  }
}

.rules__item--ok {
  color: var(--tc-ok);

  & svg {
    opacity: 1;
  }
}

@media (max-width: 1023px) {
  .signin {
    grid-template-columns: minmax(0, 1fr);
  }

  .signin__brand {
    display: none;
  }
}


/* ==========================================================================
   Page structure
   ========================================================================== */

/* First element on the page: skips the nav into the content. Only visible when
   reached by tabbing. */
.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 40;
  padding: 0.5rem 0.9rem;
  background: var(--tc-ink);
  color: var(--tc-surface);
  border-radius: var(--tc-radius-field);
  transition: top var(--tc-dur-base) var(--tc-ease);

  &:focus {
    top: 0.5rem;
  }
}

/*
 * The app's frame uses the brand blush and the work area uses paper, so at a
 * glance you tell the tool from the data.
 * 
 * On desktop the nav is a left column; on mobile it drops to a tab bar pinned
 * at the bottom, where the thumb reaches.
 */
.shell {
  display: flex;
  min-height: 100dvh;
}

.shell__main {
  flex: 1 1 0;
  min-width: 0;
  padding: var(--tc-space-10) var(--tc-gutter-desktop) var(--tc-space-16);
}

.sidenav {
  flex: 0 0 var(--tc-sidebar);
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-8);
  padding: var(--tc-space-8) var(--tc-space-4);
  background: var(--tc-blush);
  border-right: 1px solid var(--tc-line);
  /* The nav does not scroll away with a list of five thousand profiles, and
     fills the full height so the blush reaches the bottom. */
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100dvh;
  overflow-y: auto;
}

.sidenav__logo {
  display: block;
  padding-inline: var(--tc-space-3);

  & img {
    display: block;
    width: 150px;
    height: auto;
  }
}

.sidenav__group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidenav__heading {
  padding: 0 var(--tc-space-3) var(--tc-space-2);
  font-size: var(--tc-text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tc-muted);
}

.sidenav__link {
  display: flex;
  align-items: center;
  gap: var(--tc-space-3);
  min-height: var(--tc-target);
  padding-inline: var(--tc-space-3);
  border-radius: var(--tc-space-2);
  color: var(--tc-ink-2);
  font-size: var(--tc-text-md);
  text-decoration: none;

  & svg {
    width: 18px;
    height: 18px;
    flex: none;
  }

  &:hover {
    background: rgb(255 255 255 / 45%);
    color: var(--tc-ink);
  }

  /* The section you are in is filled black: weight only reads when the others
     are beside it to compare. */
  &[aria-current='page'] {
    background: var(--tc-ink);
    color: var(--tc-surface);
    font-weight: 500;
  }
}

/* The contextual block is a list of names, not a section: no icon and shorter,
   so it does not compete with the four above. */
.sidenav__link--thin {
  min-height: 36px;
  font-size: var(--tc-text-sm);
}

.sidenav__count {
  margin-left: auto;
  font-variant-numeric: var(--tc-numbers);
  font-size: var(--tc-text-xs);
  color: var(--tc-muted);
}

.sidenav__link[aria-current='page'] .sidenav__count {
  color: inherit;
}

.sidenav__user {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: var(--tc-space-3);
  padding: var(--tc-space-4) var(--tc-space-3) 0;
  border-top: 1px solid var(--tc-line);
}

.sidenav__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: var(--tc-radius-pill);
  background: var(--tc-ink);
  color: var(--tc-surface);
  font-size: var(--tc-text-sm);
  font-weight: 600;
}

.sidenav__who {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  font-size: var(--tc-text-sm);
  line-height: 1.3;

  & strong {
    font-weight: 600;
    color: inherit;
    overflow-wrap: anywhere;
  }

  & span {
    color: var(--tc-muted);
  }
}

.sidenav__exit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--tc-target);
  height: var(--tc-target);
  flex: none;
  border-radius: var(--tc-space-2);
  color: var(--tc-ink-2);

  & svg {
    width: 18px;
    height: 18px;
  }

  &:hover {
    background: rgb(255 255 255 / 45%);
  }
}

/* The mobile header: just the logo and the account, since the nav is at the
   bottom. For the candidate it is the whole frame, on desktop too. */
.topbar--always {
  display: flex !important;
}

.shell--alone > .sidenav,
.is-hidden {
  display: none !important;
}

.shell--alone > .shell__main {
  width: min(1100px, 100%);
  margin-inline: auto;
}

.topbar {
  display: none;
  align-items: center;
  gap: var(--tc-space-3);
  padding: var(--tc-space-3) var(--tc-gutter-mobile);
  background: var(--tc-blush);
  border-bottom: 1px solid var(--tc-line);

  & img {
    display: block;
    width: 112px;
    height: auto;
  }
}

.topbar__logo {
  display: flex;
}

/* With no name beside it, the logo keeps the gap and pushes the rest away. */
.topbar:not(:has(.topbar__who)) .topbar__logo {
  flex: 1;
}

/* Who the current view belongs to, next to the logo. What follows goes to the
   far end. */
.topbar__who {
  margin-right: auto;
  font-size: var(--tc-text-sm);
  color: var(--tc-muted);
}

/* A native dropdown: the list hangs from the button and closes on choice,
   because it navigates. */
.picker {
  position: relative;

  & > summary {
    display: inline-flex;
    align-items: center;
    gap: var(--tc-space-1);
    list-style: none;
    cursor: pointer;
  }

  & > summary::-webkit-details-marker {
    display: none;
  }

  & svg {
    width: 16px;
    height: 16px;
  }
}

.picker__list {
  position: absolute;
  top: calc(100% + var(--tc-space-2));
  right: 0;
  z-index: 20;
  width: max-content;
  max-width: min(22rem, 80vw);
  padding: var(--tc-space-2);
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius-panel);
  background: var(--tc-surface);
  box-shadow: var(--tc-shadow-pop);
  animation: tc-drop var(--tc-dur-enter) var(--tc-ease) backwards;

  & a {
    display: flex;
    align-items: center;
    min-height: var(--tc-target);
    padding-inline: var(--tc-space-3);
    border-radius: var(--tc-radius-field);
    color: inherit;
    text-decoration: none;
  }

  & a:hover {
    background: var(--tc-chip);
  }
}

.tabbar {
  display: none;
  position: sticky;
  bottom: 0;
  z-index: 30;
  /* The customer sees only two sections: the tabs share out whatever is there. */
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 6px 4px 14px;
  background: var(--tc-surface);
  border-top: 1px solid var(--tc-line);
}

.tabbar__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  color: var(--tc-ink-2);
  font-size: var(--tc-text-xs);
  text-decoration: none;

  &[aria-current='page'] {
    color: var(--tc-ink);
    font-weight: 600;
  }

  & svg {
    width: 20px;
    height: 20px;
  }
}

.tabbar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 28px;
  border-radius: var(--tc-radius-pill);
}

.tabbar__link[aria-current='page'] .tabbar__icon {
  background: var(--tc-ink);
  color: var(--tc-surface);
}

/* Below 1024px the left column eats the screen: there the nav moves to the
   header and the bottom bar. */
@media (max-width: 1023px) {
  .shell {
    flex-direction: column;
  }

  .shell__main {
    padding: var(--tc-space-6) var(--tc-gutter-mobile) var(--tc-space-8);
  }

  .sidenav {
    display: none;
  }

  .topbar {
    display: flex;
  }

  .tabbar {
    display: grid;
  }
}

/*
 * Screen header: the title on the left in the brand typeface, the small
 * counter and the main action on the right. Same place and shape everywhere.
 */
.page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--tc-space-4) var(--tc-space-6);
  margin-bottom: var(--tc-space-10);
}

.page-header__crumbs,
.page-header__inner {
  width: 100%;
}

.page-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--tc-space-3) var(--tc-space-6);
}

.page-header__identity {
  display: flex;
  align-items: center;
  gap: var(--tc-space-4);
  min-width: 0;
  margin-right: auto;
}

.page-header__photo {
  width: 72px;
  height: 96px;
  border-radius: var(--tc-radius-photo);
  object-fit: cover;
  background: var(--tc-surface);
  flex: none;
}

.page-header__title {
  display: flex;
  align-items: flex-start;
  gap: var(--tc-space-3);
  font-family: var(--tc-font-display);
  font-size: var(--tc-title-lg);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: var(--tc-tracking-display);
  text-wrap: balance;
}

/* How many, small and up top: a datum of the title, not another title. */
.page-header__counter {
  margin-top: 0.5rem;
  font-family: var(--tc-font-ui);
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--tc-muted);
}

.page-header--person .page-header__title {
  font-size: var(--tc-title-xl);
}

.page-header__subtitle {
  margin-top: var(--tc-space-2);
  font-size: var(--tc-text-sm);
  color: var(--tc-muted);
}

.page-header__states {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tc-space-2);
  margin-top: var(--tc-space-2);
}

.page-header__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--tc-space-3);
}

/* At 64px a two-long-word title no longer fits a mobile screen, and splitting
   «Proyectos» in half is not an option. */
@media (max-width: 1023px) {
  .page-header__title,
  .page-header--person .page-header__title {
    font-size: var(--tc-title-md);
  }
}

/* Breadcrumbs: the separator is not a text character, so it is neither read
   aloud nor selected when copying. */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--tc-space-2);
  margin-bottom: var(--tc-space-3);
  font-size: var(--tc-text-sm);
  color: var(--tc-muted);

  & a {
    color: inherit;
  }

  & li + li::before {
    content: '/';
    margin-right: var(--tc-space-2);
    opacity: 0.5;
  }

  & li {
    display: flex;
    align-items: center;
  }
}

/* Pinning the filters up top on a narrow screen only hides the results: there
   they stack one after another. */
@media (max-width: 1023px) {
  .filters {
    position: static;
  }
}

/*
 * The notices. They drop from the top centre of the work area, above
 * everything, and clear themselves; the text always has an icon, since colour
 * alone says nothing.
 */
.toasts {
  position: fixed;
  top: var(--tc-space-4);
  left: 50%;
  translate: -50% 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--tc-space-2);
  width: max-content;
  max-width: min(32rem, calc(100vw - 2rem));
  /* Empty, it does not cover what is below, which is always there for the screen
     reader. */
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--tc-space-2);
  padding: var(--tc-space-3) var(--tc-space-5);
  border-radius: var(--tc-radius-pill);
  background: var(--tc-ok);
  color: var(--tc-surface);
  font-size: var(--tc-text-md);
  font-weight: 500;
  box-shadow: var(--tc-shadow-pop);
  pointer-events: auto;
  animation: tc-drop var(--tc-dur-enter) var(--tc-ease) backwards;

  & svg {
    width: 18px;
    height: 18px;
    flex: none;
  }
}

.toast--danger,
.toast--error {
  background: var(--tc-danger);
}

.toast--warning {
  background: var(--tc-warn);
}

/* The exit has its own animation, not the entrance reversed: just flipping the
   direction of one that already finished does not restart it, and the notice
   would stay put forever. */
@keyframes tc-leave {
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.toast--leaving {
  animation: tc-leave var(--tc-dur-exit) var(--tc-ease) forwards;
}

/*
 * A section label within a screen. Lowercase: in Spanish small caps swallow
 * the accents, and «Gestión de imágenes» uppercase reads worse than in
 * regular.
 */

.sidebar__note {
  font-size: var(--tc-text-sm);
  color: var(--tc-muted);
  margin-bottom: 0.4rem;
}

.name-list {
  margin-bottom: 0.75rem;
  font-size: var(--tc-text-md);

  & li + li {
    margin-top: 0.15rem;
  }
}

/* A create form need not fill the screen: with a short line it reads top to
   bottom without losing your place. */
.narrow-form {
  max-width: 32rem;
}


/* ==========================================================================
   Controls
   ========================================================================== */

/*
 * Fields. All the same height with the same border, a mid grey not a light
 * one: a border you cannot see delimits nothing.
 */
.input,
.textarea,
.select select {
  min-height: var(--tc-target);
  border: 1px solid var(--tc-field-border);
  border-radius: var(--tc-radius-field);
  background: var(--tc-surface);
  box-shadow: none;
  font-size: var(--tc-text-md);
}

/* Below 16px, iPhone Safari zooms the page when a field is focused and leaves
   it off-centre. On mobile 16 wins. */
@media (max-width: 1023px) {
  .input,
  .textarea,
  .select select {
    font-size: 16px;
  }
}

.select::after {
  border-color: var(--tc-ink);
}

/* The base kills the field outline on focus. This rule restores it just as
   strong: a field with no ring does not say where you are. */
.input:focus-visible,
.textarea:focus-visible,
.select select:focus-visible,
.button:focus-visible,
.pagination-link:focus-visible {
  outline: var(--tc-focus);
  outline-offset: 2px;
}

/* A red border cannot be the only thing saying a field is wrong: the message
   goes below, and the field links it with aria-describedby. */
.input[aria-invalid='true'],
.textarea[aria-invalid='true'],
.select select[aria-invalid='true'] {
  border-width: 2px;
  border-color: var(--tc-danger);
}

.label {
  font-size: var(--tc-text-sm);
  font-weight: 500;
}

/* The label for one bound of a range: it sits under the filter name, so it
   weighs less than it. */
.label--tiny {
  font-size: var(--tc-text-xs);
  font-weight: 400;
  color: var(--tc-muted);
}

.help {
  font-size: var(--tc-text-sm);
  color: var(--tc-muted);
}

.help.is-danger {
  display: flex;
  align-items: center;
  gap: var(--tc-space-1);
  color: var(--tc-danger);
}

/* The native file picker comes out looking however each browser draws it and
   clashes beside the other fields. */
input[type='file'] {
  width: 100%;
  font-size: var(--tc-text-sm);

  &::file-selector-button {
    margin-right: var(--tc-space-3);
    min-height: 36px;
    padding: 0 var(--tc-space-4);
    border: 1px solid var(--tc-field-border);
    border-radius: var(--tc-radius-pill);
    background: var(--tc-surface);
    font-family: inherit;
    font-size: inherit;
    font-weight: 500;
    cursor: pointer;
  }

  &::file-selector-button:hover {
    background: var(--tc-chip);
  }
}

/* A long text box need not be tall: these hold a line or two and stretch on
   their own if needed. */
.textarea:not([rows]) {
  min-height: 5.5rem;
  resize: vertical;
}

/*
 * Buttons. The primary is black and there is one per screen; the rest are
 * white outlined. Without that difference, five identical buttons force you to
 * read them all to find the one that does what you came for.
 */
.button {
  min-height: var(--tc-target);
  padding-inline: var(--tc-space-5);
  border: 1px solid var(--tc-field-border);
  border-radius: var(--tc-radius-pill);
  background: var(--tc-surface);
  box-shadow: none;
  color: var(--tc-ink);
  font-size: var(--tc-text-md);
  font-weight: 500;

  &:hover:not([disabled]) {
    background: var(--tc-chip);
    border-color: var(--tc-ink);
  }
}

.button.is-primary,
.button.is-link {
  border-color: var(--tc-ink);
  background: var(--tc-ink);
  color: var(--tc-surface);

  &:hover:not([disabled]) {
    background: #000;
    border-color: #000;
  }

  /* A disabled button is still the same button, only dimmed: painting it another
     colour makes it something else. */
  &[disabled] {
    background: var(--tc-ink);
    border-color: var(--tc-ink);
  }
}

.button[disabled] {
  background: var(--tc-surface);
  border-color: var(--tc-field-border);
}

.button.is-danger.is-light {
  border-color: #e9c3ba;
  background: #fbedea;
  color: var(--tc-danger);

  &:hover:not([disabled]) {
    background: var(--tc-danger-bg);
    border-color: var(--tc-danger);
  }
}

/* On desktop under 44px is accepted for what accompanies and does not decide:
   pagination, ordering and view switchers. */
.button.is-small {
  min-height: 40px;
  padding-inline: var(--tc-space-4);
  font-size: var(--tc-text-sm);
}

/*
 * Icons. ux-icons inlines them as SVG in the HTML, so they inherit the text
 * colour and there is no icon font to load.
 */
.button svg,
.row-actions svg,
.icon svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

/* An icon inside a field is decoration: what it says is already in the
   placeholder and the label. */
.control.has-icons-left .icon {
  color: var(--tc-muted);
}

.button svg + span {
  margin-left: 0.4em;
}

/* A group of buttons in an action bar: all the same height and spacing,
   whether they fall on one line or two. */
.buttons-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--tc-space-2);
}

/*
 * Chips. They state a status, always with text: the colour repeats what it
 * says, never replaces it. Coral is the customer's favourite only.
 */
.tag {
  height: 26px;
  padding-inline: var(--tc-space-3);
  border-radius: var(--tc-radius-pill);
  background: var(--tc-chip);
  color: var(--tc-muted);
  font-size: var(--tc-text-sm);
  font-weight: 500;
}

.tag.is-success,
.tag.is-success.is-light {
  background: var(--tc-ok-bg);
  color: var(--tc-ok);
}

.tag.is-warning,
.tag.is-warning.is-light {
  background: var(--tc-warn-bg);
  color: var(--tc-warn);
}

.tag.is-danger,
.tag.is-danger.is-light {
  background: var(--tc-danger-bg);
  color: var(--tc-danger);
}

.tag.is-primary {
  background: var(--tc-ink);
  color: var(--tc-surface);
}

.tag.is-favourite {
  background: var(--tc-coral);
  color: var(--tc-ink);
}

/*
 * Switch. A button inside a form, not a JavaScript checkbox: that way it
 * really changes state even if the script does not load. It carries
 * role="switch" and the label outside, visible, because colour alone does not
 * say whether it is on.
 */
.switch-field {
  display: inline-flex;
  align-items: center;
  gap: var(--tc-space-3);
  font-size: var(--tc-text-sm);
}

.switch {
  position: relative;
  width: 48px;
  height: 28px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: var(--tc-radius-pill);
  background: var(--tc-switch-off);
  cursor: pointer;
  transition: background-color var(--tc-dur-base) var(--tc-ease);

  &[aria-checked='true'] {
    background: var(--tc-ok);
  }

  &::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: var(--tc-radius-pill);
    background: var(--tc-surface);
    box-shadow: 0 1px 2px rgb(0 0 0 / 25%);
    transition: left var(--tc-dur-base) var(--tc-ease);
  }

  &[aria-checked='true']::after {
    left: 23px;
  }
}

/*
 * Dialogs. They use the native element, which already brings trapped focus,
 * the Escape key and the backdrop.
 */
dialog {
  width: min(560px, calc(100vw - 2rem));
  padding: var(--tc-space-8);
  border: 0;
  border-radius: var(--tc-radius-dialog);
  background: var(--tc-surface);
  color: var(--tc-ink);
  box-shadow: var(--tc-shadow-dialog);

  &[open] {
    animation: tc-rise var(--tc-dur-enter) var(--tc-ease) 60ms backwards;
  }

  &::backdrop {
    background: rgb(23 20 15 / 45%);
    animation: tc-fade var(--tc-dur-enter) var(--tc-ease) backwards;
  }
}

.dialog__title {
  font-family: var(--tc-font-display);
  font-size: var(--tc-title-md);
  font-weight: 400;
  line-height: 1;
  letter-spacing: var(--tc-tracking-display);
  margin-bottom: var(--tc-space-2);
  padding-right: var(--tc-space-12);
}

.dialog__close {
  position: absolute;
  top: var(--tc-space-6);
  right: var(--tc-space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--tc-target);
  height: var(--tc-target);
  border-radius: var(--tc-radius-pill);
  background: var(--tc-blush);
  color: var(--tc-ink);
  text-decoration: none;

  & svg {
    width: 20px;
    height: 20px;
  }

  &:hover {
    background: var(--tc-chip);
  }
}

/* Name and surname each want half; on mobile two do not fit. */
.dialog__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--tc-space-4);

  @media (max-width: 599px) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.dialog__form {
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-4);
  margin-top: var(--tc-space-6);

  & .field {
    margin-bottom: 0;
  }
}

.dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--tc-space-3);
  margin-top: var(--tc-space-4);
}

/* A listing's search bar: the field rules and what is beside it adjusts. */
.search-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.search-bar__field {
  flex: 1 1 18rem;
  max-width: 32rem;
}

.search-bar__option {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--tc-text-md);
  white-space: nowrap;
}


/* ==========================================================================
   Tables
   ========================================================================== */

/*
 * No full grid: vertical lines split columns that air already splits, and all
 * they add is noise over the data. The horizontal line stays, which is what
 * helps follow the row.
 */
.data-table {
  width: 100%;
  font-size: var(--tc-text-md);

  & th,
  & td {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid var(--tc-line);
    vertical-align: middle;
  }

  /* The header is not painted: tall and small type already sets it apart from
     the data, and a fill over the row competes with it. */
  & thead th {
    border-bottom-color: var(--tc-ink);
    color: var(--tc-muted);
    font-size: var(--tc-text-xs);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
  }

  & tbody tr:hover {
    background: var(--tc-chip);
  }

  /* Inside a table no underline is needed: the column already says what each
     datum is, and three underlined columns bury the data in decoration. */
  & :where(a) {
    text-decoration: none;
  }

  & a:hover {
    text-decoration: underline;
    text-decoration-color: var(--tc-coral-strong);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.18em;
  }

  & th.is-centred,
  & td.is-centred {
    text-align: center;
  }

  /* Numbers compare at a glance when they end aligned. */
  & td.is-numeric,
  & th.is-numeric {
    text-align: right;
    font-variant-numeric: tabular-nums;
  }
}

/* A datum kept in case it is needed, not to be read: the id. */
.muted {
  color: var(--tc-muted);
}

.table__empty {
  padding-block: 1.5rem;
  text-align: center;
  color: var(--tc-muted);
}

/* A row's action buttons: all the same height, spaced, and not breaking the
   row when the name beside them is long. */
.row-actions {
  display: flex;
  gap: 0.35rem;
  justify-content: flex-end;
}

/* The actions column fits its buttons and does not split them across two
   lines; what gives is the name column, which can. */
td:has(.row-actions),
th.actions-header {
  white-space: nowrap;
  width: 1%;
  text-align: right;
}

.row-actions .button,
td form .button {
  white-space: nowrap;
}

td form {
  display: inline-flex;
}

/*
 * A profile's data list. Key above and value below read as one column of
 * running text; in two columns the key is the guide and the value is what you
 * look for.
 */
/* Key and value in two pairs per row: stacked they read as running prose, and
   in a single pair the card grew twice as tall. */
.pairs {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px var(--tc-space-2);
  min-width: 0;
  font-size: var(--tc-text-sm);
}

.pairs__key {
  color: var(--tc-muted);
}

.pairs__value {
  min-width: 0;
  color: var(--tc-ink);
  overflow-wrap: anywhere;
}


/*
 * An eight-column table does not fit a mobile. Rather than cut columns —which
 * loses data— the table scrolls sideways inside its box, with its own bar, and
 * the page stays put.
 */
.table-scroll {
  /* Positioned on purpose: the table holds screen-reader texts placed
     absolutely, and with no containing block here they hang off the document and
     give the page a width it does not have. */
  position: relative;
  overflow-x: auto;
  margin-bottom: var(--tc-space-4);

  /* Reachable by keyboard, or the scrollable content is unreachable without a
     mouse. */
  &:focus-visible {
    outline: var(--tc-focus);
    outline-offset: 2px;
  }
}


/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-block: 1rem;

  & .pagination-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
  }

  & .pagination-link {
    min-width: 2.25em;
    height: 2.25em;
    padding-inline: 0.5em;
    border: 1px solid var(--tc-line);
    border-radius: var(--tc-radius-field);
    color: inherit;
    background: #fff;
    font-size: var(--tc-text-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  & .pagination-link.is-current {
    border-color: var(--tc-ink);
    background: var(--tc-ink);
    color: #fff;
    font-weight: 700;
  }

  & .pagination-link:hover:not(.is-current):not([aria-disabled]) {
    border-color: var(--tc-ink);
    background: var(--tc-chip);
  }

  /* The end arrows cannot be pressed but still hold their place: without it the
     row shifts on reaching the first or last page. */
  & .pagination-link[aria-disabled] {
    color: var(--tc-muted);
    background: var(--tc-chip);
    cursor: default;
  }

  & .pagination-ellipsis {
    padding-inline: 0.25em;
    color: var(--tc-muted);
  }
}

.pagination__count {
  font-size: var(--tc-text-md);
  color: var(--tc-muted);
}

.pagination__arrow {
  font-size: 1.1rem;
  line-height: 1;
}


/* ==========================================================================
   Profile listing
   ========================================================================== */

/*
 * The browser lays out the grid: as many 200px columns as fit. With the
 * sidebar there are five at 1440 and two on mobile, without a single @media.
 */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  gap: var(--tc-space-8) var(--tc-space-5);
  margin-bottom: var(--tc-space-8);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-3);
  min-width: 0;
}

/* The photo in 3:4 and cropped, like a book's: that way every face lands at
   the same height and the grid reads at a glance. */
.card__frame {
  position: relative;
  aspect-ratio: var(--tc-photo-ratio);
  border-radius: var(--tc-radius-photo);
  overflow: hidden;
  background: var(--tc-line);
  /* The selection ring grows inward, so it does not move the grid. */
  box-shadow: inset 0 0 0 0 var(--tc-ink);
  transition: box-shadow var(--tc-dur-base) var(--tc-ease);
}

.card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale var(--tc-dur-photo) var(--tc-ease);
}

.card:hover .card__photo {
  scale: 1.03;
}

.card--inactive .card__photo {
  filter: grayscale(1);
  opacity: 0.75;
}

/* The hit area reaches 44px even though the checkbox is 22, and sits in front
   of the link that covers the card. */
.card__check {
  position: absolute;
  z-index: 2;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  margin: 11px;
  accent-color: var(--tc-ink);
  cursor: pointer;
  /* A white halo: without it the checkbox vanishes over a light photo. */
  box-shadow: 0 0 0 2px var(--tc-surface);
  border-radius: 2px;
}

.card:has(.card__check:checked) .card__frame {
  box-shadow: inset 0 0 0 3px var(--tc-ink);
}

.card:has(.card__check:focus-visible) .card__frame {
  outline: var(--tc-focus);
  outline-offset: 2px;
}

/* Tabbing to the name, what gets marked is the whole card. */
.card:has(.card__name a:focus-visible) {
  outline: var(--tc-focus);
  outline-offset: 4px;
}

.card__photos {
  position: absolute;
  top: var(--tc-space-3);
  right: var(--tc-space-3);
  padding: 3px var(--tc-space-2);
  border-radius: var(--tc-radius-pill);
  background: rgb(23 20 15 / 78%);
  color: var(--tc-surface);
  font-size: var(--tc-text-xs);
}

.card__badge {
  position: absolute;
  left: var(--tc-space-3);
  bottom: var(--tc-space-3);
  padding: var(--tc-space-1) var(--tc-space-3);
  border-radius: var(--tc-radius-pill);
  font-size: var(--tc-text-xs);
  font-weight: 500;
}

.card__badge--warn {
  background: var(--tc-warn-bg);
  color: var(--tc-warn);
}

.card__badge--off {
  background: var(--tc-chip);
  color: var(--tc-muted);
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.card__name {
  font-size: var(--tc-text-md);
  font-weight: 600;
  line-height: 1.25;

  & a {
    color: inherit;
    text-decoration: none;
  }

  & a:hover {
    text-decoration: underline;
    text-decoration-color: var(--tc-coral);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.18em;
  }

  /* The link stretches across the whole card, photo included. */
  & a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
  }
}

.card__measures {
  font-size: var(--tc-text-sm);
  color: var(--tc-ink-2);
}

.card__tags {
  font-size: var(--tc-text-sm);
  color: var(--tc-muted);

  &:empty {
    display: none;
  }
}

/*
 * The same card laid in a row. It serves to compare measurements top to
 * bottom, which in a grid fall in different columns. The cells are a grid, not
 * a flex, so every row's figures start in the same place.
 */
.cards--list {
  grid-template-columns: 1fr;
  gap: 0;

  & .card {
    display: grid;
    grid-template-columns: 54px minmax(10rem, 1.2fr) 13rem minmax(8rem, 1fr);
    align-items: center;
    gap: var(--tc-space-4);
    padding: var(--tc-space-2) 0;
    border-bottom: 1px solid var(--tc-line);
  }

  & .card__frame {
    width: 54px;
  }

  & .card__check {
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    margin: 0;
  }

  & .card__photos,
  & .card__badge {
    display: none;
  }

  /* The data block disappears as a box and its three texts become cells of the
     row. */
  & .card__body {
    display: contents;
  }

  & .card__measures,
  & .card__tags {
    text-align: right;
  }
}

/* On mobile the list's four columns do not fit: the photo stays, with the name
   and measurements below. */
@media (max-width: 1023px) {
  .cards--list .card {
    grid-template-columns: 54px minmax(0, 1fr);
    row-gap: 0;
  }

  .cards--list .card__name,
  .cards--list .card__measures,
  .cards--list .card__tags {
    grid-column: 2;
    text-align: left;
  }
}

/* Results header: how many on the left and the tools that do not filter on the
   right. */
.results {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--tc-space-3);
  margin-bottom: var(--tc-space-5);
  padding-top: var(--tc-space-4);
  border-top: 1px solid var(--tc-line);
}

.results__count {
  font-size: var(--tc-text-md);
  color: var(--tc-muted);

  & strong {
    color: var(--tc-ink);
    font-weight: 600;
  }
}

.results__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--tc-space-2);
}

.viewswitch {
  display: flex;
  border: 1px solid var(--tc-field-border);
  border-radius: var(--tc-radius-pill);
  overflow: hidden;
}

.viewswitch__option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  color: var(--tc-ink);
  text-decoration: none;

  & svg {
    width: 16px;
    height: 16px;
  }

  &[aria-current='true'] {
    background: var(--tc-ink);
    color: var(--tc-surface);
  }
}

/*
 * Marked bar. Pinned at the bottom over the grid, and only appears when
 * something is marked. In the HTML it sits right after the filters, which is
 * where tabbing passes; where it shows is decided by this rule.
 */
.marked {
  position: fixed;
  bottom: var(--tc-space-6);
  left: calc(50% + var(--tc-sidebar) / 2);
  translate: -50% 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--tc-space-2) var(--tc-space-3);
  width: min(880px, calc(100% - var(--tc-sidebar) - 2 * var(--tc-gutter-desktop)));
  padding: 10px 10px 10px var(--tc-space-4);
  border-radius: var(--tc-radius-pill);
  background: var(--tc-ink);
  color: var(--tc-surface);
  box-shadow: var(--tc-shadow-bar);
  animation: tc-rise var(--tc-dur-enter) var(--tc-ease) backwards;

  & .select {
    flex: 0 1 auto;
    min-width: 0;
  }

  & .select select {
    max-width: 180px;
    border: 0;
    border-radius: var(--tc-radius-pill);
    background: #2c2822;
    color: var(--tc-surface);
    font-size: var(--tc-text-sm);
  }

  & .select::after {
    border-color: var(--tc-surface);
  }

  & .link-button {
    color: inherit;
  }
}

@media (max-width: 1023px) {
  .marked {
    left: 50%;
    width: calc(100% - 2 * var(--tc-gutter-mobile));
    /* Above the tab bar, not below. */
    bottom: calc(var(--tc-tabbar) + var(--tc-space-3));
    border-radius: var(--tc-radius-dialog);
    padding: var(--tc-space-3);
  }

  /* Without this the buttons refuse to shrink and spill off the bar to the
     left. */
  .marked > *,
  .marked .select select {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
  }

  .marked__to {
    margin-left: 0;
  }
}

/* The controller hides it while nobody is marked. */
.marked:not(.marked--on) {
  display: none;
}

.marked__count {
  font-size: var(--tc-text-md);
  white-space: nowrap;

  & strong {
    color: inherit;
    font-weight: 600;
  }
}

.marked__to {
  margin-left: auto;
  font-size: var(--tc-text-sm);
  color: var(--tc-line);
  white-space: nowrap;
}

.marked__add {
  border-color: var(--tc-surface);
  background: var(--tc-surface);
  color: var(--tc-ink);
  font-size: var(--tc-text-sm);
  font-weight: 600;
  white-space: nowrap;
  padding-inline: var(--tc-space-4);

  &[disabled] {
    background: var(--tc-surface);
    border-color: var(--tc-surface);
  }
}

.marked__all {
  border-color: #57504a;
  background: transparent;
  color: var(--tc-surface);
  font-size: var(--tc-text-sm);
  white-space: nowrap;
  padding-inline: var(--tc-space-3);

  &:hover:not([disabled]) {
    background: #2c2822;
    border-color: var(--tc-surface);
  }
}

/* With the bar in place, pagination needs room or it ends up under it. */
body:has(.marked--on) .pagination-bar {
  margin-bottom: var(--tc-space-16);
}


/* ==========================================================================
   Filters
   ========================================================================== */

.filters {
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-3);
  margin-bottom: var(--tc-space-6);
}

/* The row is the panels' anchor: they open below, full width, and do not push
   the grid down. */
.filters__row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--tc-space-3);
}

.searchbox {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--tc-space-3);
  height: var(--tc-target);
  padding-inline: var(--tc-space-4);
  border: 1px solid var(--tc-field-border);
  border-radius: var(--tc-radius-pill);
  background: var(--tc-surface);
  color: var(--tc-muted);

  & svg {
    width: 18px;
    height: 18px;
    flex: none;
  }

  /* The ring goes on the container: the field has no border of its own to mark. */
  &:focus-within {
    outline: var(--tc-focus);
    outline-offset: 2px;
  }

  & input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--tc-ink);
    font-size: var(--tc-text-md);
  }
}

/* Not just another filter: it says which set the others run over, so it drops
   to its own line instead of competing with the pills for space. */
.filters__inactive {
  display: flex;
  align-items: center;
  gap: var(--tc-space-2);
  order: 1;
  flex-basis: 100%;
  height: var(--tc-target);
  font-size: var(--tc-text-md);
  white-space: nowrap;
}

/* A wrapper only so the groups can move to the mobile sheet in one go; in the
   row it must not count as a box. */
.filters__groups {
  display: contents;
}

.filter-group {
  position: static;
}

/* The pill is the <summary>: its default triangle is removed and it is given
   the look of a button. */
.pill {
  display: flex;
  align-items: center;
  gap: var(--tc-space-2);
  height: var(--tc-target);
  padding-inline: var(--tc-space-4);
  border: 1px solid var(--tc-field-border);
  border-radius: var(--tc-radius-pill);
  background: var(--tc-surface);
  font-size: var(--tc-text-md);
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
  transition: background-color var(--tc-dur-base) var(--tc-ease),
              color var(--tc-dur-base) var(--tc-ease);

  &::-webkit-details-marker {
    display: none;
  }

  & svg {
    width: 14px;
    height: 14px;
    transition: rotate var(--tc-dur-base) var(--tc-ease);
  }

  &:hover {
    background: var(--tc-chip);
  }
}

.filter-group[open] > .pill {
  background: var(--tc-ink);
  border-color: var(--tc-ink);
  color: var(--tc-surface);

  & svg {
    rotate: 180deg;
  }
}

.pill__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding-inline: 6px;
  border-radius: var(--tc-radius-pill);
  background: var(--tc-ink);
  color: var(--tc-surface);
  font-variant-numeric: var(--tc-numbers);
  font-size: var(--tc-text-xs);
}

.filter-group[open] > .pill > .pill__count {
  background: var(--tc-surface);
  color: var(--tc-ink);
}

.filter-group__panel {
  position: absolute;
  top: calc(100% + var(--tc-space-2));
  left: 0;
  right: 0;
  z-index: 15;
  padding: var(--tc-space-6);
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius-panel);
  background: var(--tc-surface);
  box-shadow: var(--tc-shadow-pop);
  animation: tc-drop var(--tc-dur-enter) var(--tc-ease) backwards;
}

.filter-group__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: var(--tc-space-5);
}

.filter-group__grid--tight {
  gap: var(--tc-space-2) var(--tc-space-5);
}

.filter-group__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--tc-space-5);
}

/*
 * The mobile sheet: the five groups together, each with its title, and a
 * single apply button at the bottom. The groups are the row's own <details>,
 * which the controller drops in here open and without their mutual exclusion.
 */
.filter-sheet {
  /* Full screen: twenty-one filters do not fit in half and leave the dialog's
     foot fighting the tab bar. */
  inset: 0;
  width: auto;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border-radius: 0;

  /* The column only when open: giving it a display here would topple the
     browser rule that hides a closed dialog. */
  &[open] {
    display: flex;
    flex-direction: column;
    animation: tc-sheet var(--tc-dur-sheet) var(--tc-ease);
  }

  & .filter-group__panel {
    position: static;
    inset: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    animation: none;
  }

  /* With all open, the pill stops being a button and becomes the block's title. */
  & .filter-group[open] > .pill {
    height: auto;
    padding: 0;
    border: 0;
    background: none;
    color: var(--tc-ink);
    font-family: var(--tc-font-display);
    font-size: var(--tc-text-lg);
    letter-spacing: var(--tc-tracking-display);
    cursor: default;

    & > svg {
      display: none;
    }
  }

  & .filter-group {
    display: flex;
    flex-direction: column;
    gap: var(--tc-space-3);
  }

  /* Apply sits at the foot of the sheet, one for all the groups. */
  & .filter-group__actions {
    display: none;
  }

  /* First in the sheet, as in the panel: it decides which set the other filters
     run over. */
  & .filters__inactive {
    order: -1;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding-bottom: var(--tc-space-4);
    border-bottom: 1px solid var(--tc-line);
  }

  & [data-autosubmit-target='submit'] {
    display: none;
  }
}

.filter-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--tc-space-3);
  padding: var(--tc-space-5) var(--tc-space-5) var(--tc-space-3);
  border-bottom: 1px solid var(--tc-line);
}

.filter-sheet__title {
  margin: 0;
  font-family: var(--tc-font-display);
  font-size: var(--tc-title-sm);
  font-weight: 400;
  letter-spacing: var(--tc-tracking-display);
}

.filter-sheet__body {
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-6);
  padding: var(--tc-space-5);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.filter-sheet__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--tc-space-3);
  padding: var(--tc-space-4) var(--tc-space-5);
  border-top: 1px solid var(--tc-line);
  background: var(--tc-surface);
}

@media (max-width: 1023px) {
  /* With the sheet in place, the pills are redundant: the top button opens them
     all at once. Without JavaScript there is no class and they stay as they were. */
  .filters--sheet > .filters__row > .filters__groups {
    display: none;
  }

  .filter-group__panel {
    position: fixed;
    /* Above the tab bar, not below: the apply button must be visible without
       scrolling the sheet. */
    inset: auto 0 var(--tc-tabbar) 0;
    max-height: 85dvh;
    overflow-y: auto;
    border-radius: var(--tc-radius-dialog) var(--tc-radius-dialog) 0 0;
    animation: tc-sheet var(--tc-dur-sheet) var(--tc-ease);
  }

  .filter-group__actions {
    position: sticky;
    bottom: 0;
    margin-top: var(--tc-space-4);
    padding-top: var(--tc-space-4);
    background: var(--tc-surface);
  }

  /* Two columns of faces on mobile: one leaves the screen at one photo per
     swipe. The list view stays one row per profile. */
  .cards {
    grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr));
    gap: var(--tc-space-5) var(--tc-space-3);
  }

  .cards--list {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* What is set, spelled out with its cross to remove them one by one. */
.filters__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--tc-space-2);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--tc-space-1);
  height: 32px;
  padding: 0 var(--tc-space-1) 0 var(--tc-space-3);
  border-radius: var(--tc-radius-pill);
  background: var(--tc-chip);
  font-size: var(--tc-text-sm);
  animation: tc-fade var(--tc-dur-base) var(--tc-ease) backwards;
}

.chip__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--tc-radius-pill);
  color: inherit;
  text-decoration: none;

  & svg {
    width: 12px;
    height: 12px;
  }

  &:hover {
    background: rgb(23 20 15 / 10%);
  }
}

/* An action that is not the screen's main one and wants no button weight. */
.link-button {
  height: 32px;
  padding-inline: var(--tc-space-2);
  border: 0;
  background: transparent;
  color: inherit;
  font-size: var(--tc-text-sm);
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/*
 * Tom Select wearing Bulma's skin. It comes with its grey theme by default and
 * clashes beside a Bulma input; this matches border, radius, focus and colours
 * without touching the package.
 */
/* The class is repeated to match the weight of .ts-wrapper.single .ts-control,
   which brings its own gradient, shadow and border grey. */
.ts-wrapper.ts-wrapper .ts-control {
  min-height: var(--tc-target);
  padding: 6px 10px;
  border: 1px solid var(--tc-field-border);
  border-radius: var(--tc-radius-field);
  background: var(--tc-surface);
  background-image: none;
  box-shadow: none;
  font-size: var(--tc-text-md);
}

/* Tom Select's default triangle beside Bulma's arrow shows; this is the same
   chevron Bulma draws in its selects, rotated. */
.ts-wrapper.single .ts-control::after,
.ts-wrapper.single.dropdown-active .ts-control::after {
  width: 0.5em;
  height: 0.5em;
  margin-top: -0.375em;
  right: 1.1em;
  border: 2px solid var(--tc-ink);
  border-top: 0;
  border-left: 0;
  border-radius: 1px;
  rotate: 45deg;
  background: none;
}

.ts-wrapper.single.dropdown-active .ts-control::after {
  margin-top: -0.125em;
  rotate: 225deg;
}

.ts-wrapper.focus .ts-control,
.ts-wrapper .ts-control:focus-within {
  outline: var(--tc-focus);
  outline-offset: 2px;
}

.ts-wrapper.disabled .ts-control {
  background: var(--tc-chip);
}

.ts-dropdown {
  margin-top: 2px;
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius-field);
  box-shadow: var(--tc-shadow-pop);
}

.ts-dropdown .active {
  background: var(--tc-blush);
  color: var(--tc-ink);
}

.ts-dropdown .optgroup-header {
  font-size: var(--tc-text-xs);
  font-weight: 600;
  color: var(--tc-muted);
}

/* The chosen value, looking like a Bulma tag: Tom Select's theme paints it
   blue and embossed, unlike anything else on the screen. */
.ts-wrapper.multi .ts-control > .item {
  margin: 1px 2px 1px 0;
  padding: 2px 10px;
  border: 0;
  border-radius: var(--tc-radius-pill);
  background: var(--tc-chip);
  background-image: none;
  color: var(--tc-ink);
  font-size: var(--tc-text-sm);
  text-shadow: none;
  box-shadow: none;
}

.ts-wrapper.multi .ts-control > .item.active {
  background: var(--tc-coral);
  background-image: none;
  color: var(--tc-ink);
}

/*
 * A two-handle range with two <input type="range"> over the same track. Native
 * ones cannot do this, but stacked they can: the track is painted once and only
 * each one's handle stays live.
 */
.range__handles {
  position: relative;
  height: 1.5rem;
  margin-bottom: 0.4rem;
  display: none;
}

.range--with-handles .range__handles {
  display: block;
}

/* The track, and over it the chosen span. */
.range__handles::before,
.range__handles::after {
  content: '';
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  height: 4px;
  border-radius: 2px;
}

.range__handles::before {
  left: 0;
  right: 0;
  background: var(--tc-line);
}

.range__handles::after {
  left: var(--from, 0%);
  right: calc(100% - var(--to, 100%));
  background: var(--tc-ink);
}

.range--unset .range__handles::after {
  background: var(--tc-line);
}

.range--unset .range__handles input[type='range']::-webkit-slider-thumb {
  background: var(--tc-muted);
}

.range--unset .range__handles input[type='range']::-moz-range-thumb {
  background: var(--tc-muted);
}

.range__handles input[type='range'] {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  background: none;
  appearance: none;
  /* The track does not catch the mouse; only the handles do. */
  pointer-events: none;
}

.range__handles input[type='range']::-webkit-slider-thumb {
  pointer-events: auto;
  appearance: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--tc-ink);
  border-radius: 50%;
  background: var(--tc-surface);
  box-shadow: 0 1px 3px rgb(0 0 0 / 20%);
  cursor: grab;
}

.range__handles input[type='range']::-moz-range-thumb {
  pointer-events: auto;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--tc-ink);
  border-radius: 50%;
  background: var(--tc-surface);
  box-shadow: 0 1px 3px rgb(0 0 0 / 20%);
  cursor: grab;
}


/* ==========================================================================
   Profile detail
   ========================================================================== */

/*
 * Two bands: the person up top —their large face and who they are— and the
 * form below. Before, the form started on the first screenful and the face was
 * a thumbnail.
 */
.profile-top {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: var(--tc-space-12);
  padding-bottom: var(--tc-space-12);
  border-bottom: 1px solid var(--tc-line);
}

.profile-photos {
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-4);
  min-width: 0;
}

.profile-cover {
  position: relative;
  aspect-ratio: var(--tc-photo-ratio);
  /* Without a cap, on a wide screen the cover eats the whole screenful. */
  max-height: 520px;
  align-self: flex-start;
  border-radius: var(--tc-radius-photo);
  overflow: hidden;
  background: var(--tc-line);

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Whoever views the profile must know which photo ends up in the PDF. */
.profile-cover__badge {
  position: absolute;
  top: var(--tc-space-3);
  left: var(--tc-space-3);
  padding: 3px var(--tc-space-2);
  border-radius: var(--tc-radius-pill);
  background: rgb(23 20 15 / 78%);
  color: var(--tc-surface);
  font-size: var(--tc-text-xs);
}

.profile-identity {
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-4);
  min-width: 0;
}

.profile-identity__states {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tc-space-2);
}

.profile-identity__name {
  font-family: var(--tc-font-display);
  font-size: var(--tc-title-xl);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: var(--tc-tracking-display);
  margin-bottom: calc(-1 * var(--tc-space-2));
  text-wrap: balance;
}

.profile-identity__who {
  color: var(--tc-muted);
}

.profile-identity__label {
  font-size: var(--tc-text-sm);
  font-weight: 600;
  margin-bottom: calc(-1 * var(--tc-space-2));
}

/* The eight measurements in a grid and in fixed-width figures: the table
   looked at first to decide whether to keep them on the list. */
.measures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius-panel);
  overflow: hidden;
}

.measures__cell {
  padding: var(--tc-space-3) var(--tc-space-4);
  border-right: 1px solid var(--tc-line);
  border-bottom: 1px solid var(--tc-line);

  & dt {
    font-size: var(--tc-text-xs);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tc-muted);
  }

  & dd {
    font-size: var(--tc-text-lg);
  }
}

.does {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tc-space-2);
  list-style: none;
}

.does__item {
  display: inline-flex;
  align-items: center;
  gap: var(--tc-space-2);
  height: 32px;
  padding-inline: var(--tc-space-3);
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius-pill);
  font-size: var(--tc-text-sm);

  & svg {
    width: 14px;
    height: 14px;
    color: var(--tc-ok);
  }
}

/* The projects block uses the brand blush: not a datum of the person, but what
   the team does with them. */
.profile-projects {
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-3);
  padding: var(--tc-space-5);
  border-radius: var(--tc-radius-panel);
  background: var(--tc-blush);
}

.profile-projects__add {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--tc-space-2);

  & .select {
    flex: 1 1 14rem;
  }

  & .select select {
    width: 100%;
  }
}

.profile-projects__label {
  font-size: var(--tc-text-sm);
  font-weight: 600;
}

/* Within the add row, the label takes its own line. */
.profile-projects__add > .profile-projects__label {
  flex: 0 0 100%;
}

.profile-projects__list {
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-2);
  list-style: none;

  & li {
    display: flex;
    align-items: center;
    gap: var(--tc-space-2);
    min-height: 32px;
  }

  & li > a {
    margin-right: auto;
  }
}

/*
 * The photos: a grid of faces with their buttons below. Up and down stay even
 * where dragging works, because dragging is no use with the keyboard.
 */
.photo-manager__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--tc-space-2);
}

.photo-manager__title {
  font-size: var(--tc-text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.photo-manager__count {
  margin-right: auto;
  font-size: var(--tc-text-sm);
  color: var(--tc-muted);
}

.photo-manager {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: var(--tc-space-2);
  list-style: none;
}

.photo-manager__photo {
  & a {
    position: relative;
    display: block;
  }

  & img {
    width: 100%;
    aspect-ratio: var(--tc-photo-ratio);
    object-fit: cover;
    background: var(--tc-line);
    border-radius: var(--tc-radius-photo);
  }
}

.photo-manager__number {
  position: absolute;
  top: 2px;
  left: 2px;
  min-width: 18px;
  padding-inline: 4px;
  border-radius: 3px;
  background: rgb(23 20 15 / 78%);
  color: var(--tc-surface);
  font-size: var(--tc-text-xs);
  text-align: center;
}

.photo-manager__actions {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 2px;
}

/* Only once the controller has attached: without JavaScript there is nothing
   to drag and the cursor must not promise it. */
.is-draggable .photo-manager__photo {
  cursor: grab;
}

.photo-manager__photo.is-dragging {
  opacity: 0.4;
}

.photo-upload {
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-2);
  align-items: flex-start;
  padding: var(--tc-space-4);
  border: 1px dashed var(--tc-field-border);
  border-radius: var(--tc-radius-panel);
}

/*
 * The form, in four blocks and three columns. The save bar stays pinned at the
 * bottom: with thirty-five fields, the button cannot be thirty away from where
 * you type.
 */
.profile-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: var(--tc-space-12);
  padding-top: var(--tc-space-12);
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-10);
}

.block-title {
  font-family: var(--tc-font-display);
  font-size: var(--tc-title-sm);
  font-weight: 400;
  letter-spacing: var(--tc-tracking-display);
  margin-bottom: var(--tc-space-4);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: var(--tc-space-4);

  & > .field {
    margin-bottom: 0;
  }
}

.field-grid--checks {
  align-items: end;
}

.form-bar {
  position: sticky;
  bottom: 0;
  /* Above the fields scrolling under it (Bulma lifts controls up to 4, Tom
     Select to 1), below an open Tom Select dropdown (10). */
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  gap: var(--tc-space-3);
  padding: var(--tc-space-4) 0;
  border-top: 1px solid var(--tc-line);
  background: var(--tc-paper);
}

.profile-bottom__rail {
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-5);
  min-width: 0;
}

.switch-field--block {
  display: flex;
  align-items: flex-start;
  gap: var(--tc-space-4);
  padding-bottom: var(--tc-space-4);
  border-bottom: 1px solid var(--tc-line);
}

.switch-field__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: var(--tc-text-md);

  & strong {
    color: inherit;
    font-weight: 500;
  }

  & .muted {
    font-size: var(--tc-text-sm);
  }
}

.danger-panel {
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-3);
  align-items: flex-start;
  padding: var(--tc-space-5);
  border: 1px solid #e9c3ba;
  border-radius: var(--tc-radius-panel);
  background: var(--tc-danger-bg);
  font-size: var(--tc-text-sm);
}

.danger-panel__title {
  font-size: var(--tc-text-md);
  font-weight: 600;
  color: var(--tc-danger);
}

/* A button that is only its icon: square, no fill, with the text inside for
   whoever cannot see it. */
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: var(--tc-radius-field);
  background: transparent;
  color: var(--tc-muted);
  cursor: pointer;

  & svg {
    width: 15px;
    height: 15px;
  }

  &:hover:not([disabled]) {
    background: var(--tc-chip);
    color: var(--tc-ink);
  }

  &[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
  }
}

.icon-button--danger:hover:not([disabled]) {
  background: var(--tc-danger-bg);
  color: var(--tc-danger);
}

.muted {
  color: var(--tc-muted);
  font-size: var(--tc-text-sm);
}

/* A notice within the page, not the one dropping from above: it says something
   that stays true while the screen is looked at. */
.notice {
  display: flex;
  align-items: center;
  gap: var(--tc-space-2);
  padding: var(--tc-space-3) var(--tc-space-4);
  border-radius: var(--tc-radius-panel);
  background: var(--tc-chip);
  font-size: var(--tc-text-sm);

  & svg {
    width: 18px;
    height: 18px;
    flex: none;
  }
}

.notice--warn,
.notice--warning {
  background: var(--tc-warn-bg);
  color: var(--tc-warn);
}

.notice--danger,
.notice--error {
  background: var(--tc-danger-bg);
  color: var(--tc-danger);
}

.notice--success {
  background: var(--tc-ok-bg);
  color: var(--tc-ok);
}

@media (max-width: 1023px) {
  .profile-top,
  .profile-bottom {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--tc-space-8);
  }

  .profile-identity__name {
    font-size: var(--tc-title-md);
  }

  /* The cover goes full-bleed: on a 390 screen the two margins eat a tenth of
     the one large photo there is. */
  .profile-cover {
    width: calc(100% + 2 * var(--tc-gutter-mobile));
    max-height: none;
    margin-inline: calc(-1 * var(--tc-gutter-mobile));
    border-radius: 0;
  }

  /* Eight measurements in four columns at 390px split the words in half: they
     drop to two. */
  .measures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ==========================================================================
   Projects and project
   ========================================================================== */

/* The listing's face mosaic: three small photos joined, just enough to
   recognise what the project is without opening it. */
.mosaic-cell {
  width: 1%;
  padding-right: 0;
}

.mosaic {
  display: flex;
  gap: 2px;

  /* The width is fixed, not a max: the table cell narrows to its content, and an
     elastic width leaves the mosaic at nothing. */
  & img {
    flex: none;
    width: 26px;
    max-width: none;
    aspect-ratio: var(--tc-photo-ratio);
    object-fit: cover;
    border-radius: 2px;
    background: var(--tc-line);
  }
}

/* The name is the row's hit target: at 17px tall it falls below the 24 WCAG
   2.2 asks for when it has another target beside it. */
.data-table__strong {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  font-weight: 600;
}

/* Three states in one control: what is not chosen stays clickable and looks
   it. */
.segmented {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px;
  border: 1px solid var(--tc-field-border);
  border-radius: var(--tc-radius-pill);
  background: var(--tc-surface);
}

.segmented__option {
  display: flex;
  align-items: center;
  height: 36px;
  padding-inline: var(--tc-space-4);
  border-radius: var(--tc-radius-pill);
  color: var(--tc-ink);
  font-size: var(--tc-text-sm);
  text-decoration: none;
  white-space: nowrap;

  &[aria-current='true'] {
    background: var(--tc-ink);
    color: var(--tc-surface);
    font-weight: 500;
  }
}

.searchbox-form {
  display: flex;
  flex: 1 1 260px;
  min-width: 0;
  gap: var(--tc-space-3);
}

/*
 * The project page: faces on the left, on the right what you do with them
 * —share, download, close—, which before was mixed in with the profiles in the
 * same column.
 */
.project {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: var(--tc-space-12);
}

.project__main {
  min-width: 0;
}

.project__rail {
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-5);
  min-width: 0;
}

/* The pencil opens the field where the title is; closed it takes no room. */
.rename {
  position: relative;

  & > summary {
    list-style: none;
    cursor: pointer;
  }

  & > summary::-webkit-details-marker {
    display: none;
  }

  &[open] > summary {
    background: var(--tc-chip);
  }
}

.rename__form {
  position: absolute;
  top: calc(100% + var(--tc-space-2));
  left: 0;
  z-index: 15;
  display: flex;
  align-items: flex-end;
  gap: var(--tc-space-3);
  width: max-content;
  max-width: min(32rem, 90vw);
  padding: var(--tc-space-4);
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius-panel);
  background: var(--tc-surface);
  box-shadow: var(--tc-shadow-pop);
  animation: tc-drop var(--tc-dur-enter) var(--tc-ease) backwards;

  & .field {
    flex: 1 1 18rem;
    margin-bottom: 0;
  }
}

.page-header__titleline {
  display: flex;
  align-items: flex-start;
  gap: var(--tc-space-3);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--tc-space-5);
  margin-bottom: var(--tc-space-5);
  border-bottom: 1px solid var(--tc-line);
}

.tabs__tab {
  display: flex;
  align-items: center;
  gap: var(--tc-space-2);
  min-height: var(--tc-target);
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  color: var(--tc-muted);
  font-size: var(--tc-text-md);
  text-decoration: none;
  transition: color var(--tc-dur-base) var(--tc-ease),
              border-color var(--tc-dur-base) var(--tc-ease);

  &[aria-current='true'] {
    border-bottom-color: var(--tc-ink);
    color: var(--tc-ink);
    font-weight: 500;
  }
}

.tabs__count {
  color: var(--tc-muted);
  font-size: var(--tc-text-sm);
}

.tabs .viewswitch {
  margin-left: auto;
  margin-bottom: var(--tc-space-2);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: var(--tc-space-8) var(--tc-space-5);
  margin-bottom: var(--tc-space-8);
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-2);
  min-width: 0;
  animation: tc-fade 250ms ease-out backwards;
}

.project-card__frame {
  position: relative;
  aspect-ratio: var(--tc-photo-ratio);
  border-radius: var(--tc-radius-photo);
  overflow: hidden;
  background: var(--tc-line);

  & a {
    display: block;
    height: 100%;
  }
}

.project-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale var(--tc-dur-photo) var(--tc-ease);
}

.project-card:hover .project-card__photo {
  scale: 1.03;
}

/* Coral is the favourite only, always with black on top. */
.project-card__badge {
  position: absolute;
  left: var(--tc-space-2);
  bottom: var(--tc-space-2);
  padding: var(--tc-space-1) var(--tc-space-3);
  border-radius: var(--tc-radius-pill);
  background: var(--tc-coral);
  color: var(--tc-ink);
  font-size: var(--tc-text-xs);
  font-weight: 500;
}

.project-card__fav {
  position: absolute;
  top: var(--tc-space-2);
  right: var(--tc-space-2);
}

.heart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--tc-radius-pill);
  background: var(--tc-surface);
  color: var(--tc-muted);
  cursor: pointer;
  box-shadow: 0 1px 3px rgb(0 0 0 / 20%);

  & svg {
    width: 18px;
    height: 18px;
  }

  &[aria-pressed='true'] {
    color: var(--tc-coral-strong);
  }

  /* The beat only on press: fifty hearts beating on load say nothing. */
  &:active svg {
    animation: tc-beat var(--tc-dur-emphasis) var(--tc-ease);
  }
}

.project-card__name {
  font-size: var(--tc-text-md);
  font-weight: 600;
  line-height: 1.25;

  & a {
    color: inherit;
    text-decoration: none;
  }

  & a:hover {
    text-decoration: underline;
    text-decoration-color: var(--tc-coral);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.18em;
  }
}

.project-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--tc-space-1);
  margin-top: var(--tc-space-1);

  & .button {
    min-height: 36px;
    padding-inline: var(--tc-space-3);
    font-size: var(--tc-text-sm);
  }

  & .icon-button {
    width: 36px;
    height: 36px;
    border: 1px solid var(--tc-field-border);
    border-radius: var(--tc-radius-pill);
  }
}

/* In list, the same card in a row: it serves to compare measurements top to
   bottom. */
.project-grid--list {
  grid-template-columns: 1fr;
  gap: 0;

  & .project-card {
    display: grid;
    grid-template-columns: 64px minmax(10rem, 1fr) minmax(14rem, 1.4fr) auto;
    align-items: center;
    gap: var(--tc-space-4);
    padding: var(--tc-space-2) 0;
    border-bottom: 1px solid var(--tc-line);
  }

  & .project-card__frame {
    width: 64px;
  }

  & .project-card__badge,
  & .project-card__fav {
    position: static;
  }

  & .pairs {
    grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
  }
}

/* In grid the card is 220px: two pairs per row only fit when the column has
   room. */
@media (min-width: 1280px) {
  .project-grid:not(.project-grid--list) .pairs {
    grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
  }
}

/*
 * The right-hand panels. Share uses the blush because it is what goes out of
 * Tropical to the world.
 */
.panel {
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-3);
  padding: var(--tc-space-5);
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius-panel);
  background: var(--tc-surface);
}

.panel--blush {
  border-color: transparent;
  background: var(--tc-blush);
}

.panel__title {
  font-family: var(--tc-font-display);
  font-size: var(--tc-title-sm);
  font-weight: 400;
  letter-spacing: var(--tc-tracking-display);
}

.panel__label {
  font-size: var(--tc-text-sm);
  font-weight: 600;
}

.panel__label--wide {
  flex: 0 0 100%;
}

.panel__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--tc-space-2);

  & .field {
    flex: 1 1 10rem;
    margin-bottom: 0;
  }

  & .select,
  & .select select {
    width: 100%;
  }

  & .select {
    flex: 1 1 10rem;
  }
}

.panel__list {
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-2);
  list-style: none;

  & li {
    display: flex;
    align-items: center;
    gap: var(--tc-space-2);
  }

  & li > a {
    margin-right: auto;
  }
}

.downloads {
  display: flex;
  flex-direction: column;
  list-style: none;

  & a {
    display: flex;
    align-items: center;
    gap: var(--tc-space-3);
    padding: var(--tc-space-3) 0;
    border-bottom: 1px solid var(--tc-line);
    color: inherit;
    text-decoration: none;
  }

  & li:last-child a {
    border-bottom: 0;
  }

  & a:hover {
    color: var(--tc-coral-strong);
  }

  & svg {
    width: 18px;
    height: 18px;
    flex: none;
  }
}

.downloads__text {
  flex: 1;
  display: flex;
  flex-direction: column;

  & strong {
    color: inherit;
    font-size: var(--tc-text-md);
    font-weight: 500;
  }
}

.downloads__kind {
  font-size: var(--tc-text-xs);
  color: var(--tc-muted);
}

/* The link copied and sent to the customer: in a separate, breakable box,
   because it is long and cannot blow out the panel's width. */
.share-link {
  display: flex;
  gap: var(--tc-space-2);

  & .input {
    flex: 1;
    min-width: 0;
    font-size: var(--tc-text-sm);
  }

  & .button {
    flex: none;
  }
}

@media (max-width: 1023px) {
  .project {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--tc-space-8);
  }

  /*
   * On mobile there are no two views: the grid card leaves one photo per
   * swipe and the measurements do not fit below. One row per profile, photo on
   * the left and everything else stacked to its right.
   */
  .project-grid,
  .project-grid--list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .project-grid .project-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    /* The last row takes the spare space beside the photo; otherwise it is shared
       across all and the name ends up far from the measurements. */
    grid-template-rows: min-content min-content 1fr;
    align-items: start;
    row-gap: var(--tc-space-1);
    column-gap: var(--tc-space-4);
    padding: var(--tc-space-4) 0;
    border-bottom: 1px solid var(--tc-line);
  }

  .project-grid .project-card__frame {
    grid-row: 1 / -1;
    width: 112px;
  }

  .project-grid .project-card > *:not(.project-card__frame) {
    grid-column: 2;
  }

  .project-grid .project-card__badge,
  .project-grid .project-card__fav {
    position: static;
  }

  .project-grid .pairs {
    grid-template-columns: auto minmax(0, 1fr);
  }

  /* With a single view, the switcher switches nothing. */
  .project .viewswitch {
    display: none;
  }

  /* The three tabs do not fit in 390px: they scroll sideways instead of breaking
     into two lines. */
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tabs__tab {
    white-space: nowrap;
  }

  /* The card's four buttons do not fit a mobile row. */
  .project-card__actions {
    flex-wrap: wrap;
  }

  .project-card__actions .button {
    padding-inline: var(--tc-space-2);
  }
}


/* ==========================================================================
   What the customer sees
   ========================================================================== */

.lookbook__header {
  margin-bottom: var(--tc-space-6);
  padding-bottom: var(--tc-space-5);
  border-bottom: 1px solid var(--tc-ink);
}

.lookbook__kicker {
  font-size: var(--tc-text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tc-muted);
}

.lookbook__title {
  font-family: var(--tc-font-display);
  font-size: var(--tc-title-lg);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: var(--tc-tracking-display);
  margin-block: var(--tc-space-2) var(--tc-space-4);
  text-wrap: balance;
}

.lookbook__intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--tc-space-4);

  & p {
    max-width: 44ch;
  }
}

.lookbook {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: var(--tc-space-10) var(--tc-space-6);
  margin-block: var(--tc-space-6) var(--tc-space-16);
}

.lookbook__card {
  display: flex;
  flex-direction: column;
  gap: var(--tc-space-2);
  min-width: 0;
}

.lookbook__frame {
  position: relative;
  aspect-ratio: var(--tc-photo-ratio);
  border-radius: var(--tc-radius-photo);
  overflow: hidden;
  background: var(--tc-line);
  box-shadow: inset 0 0 0 0 var(--tc-coral);
  transition: box-shadow var(--tc-dur-base) var(--tc-ease);

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.lookbook__card--fav .lookbook__frame {
  box-shadow: inset 0 0 0 3px var(--tc-coral);
}

/* The faces overlap a little: a stack, not a row, so it reads as «a few»
   without having to count them. */
.faces-stack {
  display: flex;
  flex: none;

  & img {
    width: 36px;
    height: 36px;
    margin-right: -8px;
    border-radius: var(--tc-radius-pill);
    object-fit: cover;
    box-shadow: 0 0 0 2px var(--tc-ink);
    background: var(--tc-ink-2);
    animation: tc-pop var(--tc-dur-emphasis) var(--tc-ease) backwards;
  }

  & img:nth-child(2) { animation-delay: 60ms }
  & img:nth-child(3) { animation-delay: 120ms }
}

.lookbook__like {
  position: absolute;
  right: var(--tc-space-3);
  bottom: var(--tc-space-3);
}

/* The button says «Me gusta», not just a heart: a lone icon leaves it unclear
   whether it marks or informs. */
.like {
  display: flex;
  align-items: center;
  gap: var(--tc-space-2);
  height: 40px;
  padding-inline: var(--tc-space-4);
  border: 0;
  border-radius: var(--tc-radius-pill);
  background: var(--tc-surface);
  color: var(--tc-ink);
  font-family: inherit;
  font-size: var(--tc-text-sm);
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgb(0 0 0 / 18%);

  & svg {
    width: 16px;
    height: 16px;
  }

  &:active svg {
    animation: tc-beat var(--tc-dur-emphasis) var(--tc-ease);
  }
}

.like--on {
  background: var(--tc-coral);
  color: var(--tc-ink);
}

.lookbook__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--tc-space-3);
}

.lookbook__name {
  font-family: var(--tc-font-display);
  font-size: var(--tc-title-sm);
  font-weight: 400;
  letter-spacing: var(--tc-tracking-display);
  line-height: 1;
}


/* ==========================================================================
   Customers
   ========================================================================== */

/* The initials stand in for a face where there is no photo: a customer is not
   someone you photograph, but the row needs a visual anchor all the same. */
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--tc-radius-pill);
  background: var(--tc-blush);
  color: var(--tc-ink-2);
  font-size: var(--tc-text-sm);
  font-weight: 600;
}

.avatar--big {
  width: 84px;
  height: 84px;
  flex: none;
  font-size: var(--tc-title-sm);
  font-weight: 400;
  font-family: var(--tc-font-display);
}

.customer-header {
  display: flex;
  align-items: center;
  gap: var(--tc-space-5);
  padding-bottom: var(--tc-space-8);
  border-bottom: 1px solid var(--tc-line);
}

.shared-projects {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin-bottom: var(--tc-space-6);

  & li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--tc-space-3);
    padding: var(--tc-space-3) 0;
    border-bottom: 1px solid var(--tc-line);
  }
}

.shared-projects__name {
  flex: 1 1 14rem;
  display: flex;
  flex-direction: column;
  color: inherit;
  font-weight: 600;
  text-decoration: none;

  & .muted {
    font-weight: 400;
  }
}


/* ==========================================================================
   Home
   ========================================================================== */

.section-head {
  display: flex;
  padding-bottom: var(--tc-space-3);
  border-bottom: 1px solid var(--tc-ink);
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--tc-space-4);

  & .block-title {
    margin-bottom: 0;
  }
}

.open-projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--tc-space-8) var(--tc-space-6);
  margin-top: var(--tc-space-6);
}

/*
 * A project is recognised by the faces inside it before its name, so the card
 * opens with four and is clickable whole.
 */
.open-project {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--tc-space-1);
  color: inherit;
  text-decoration: none;
  animation: tc-rise 500ms var(--tc-ease) backwards;
  animation-delay: calc(var(--i, 0) * 60ms);

  &:hover .open-project__name {
    text-decoration: underline;
    text-decoration-color: var(--tc-coral-strong);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.18em;
  }

  & .tag {
    margin-top: var(--tc-space-2);
  }
}

.open-project__faces {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  width: 100%;
  margin-bottom: var(--tc-space-3);
  overflow: hidden;
  border-radius: var(--tc-radius-photo);

  & img {
    width: 100%;
    aspect-ratio: var(--tc-photo-ratio);
    object-fit: cover;
    background: var(--tc-line);
  }

  &:empty {
    aspect-ratio: 3 / 1;
    background: var(--tc-line);
  }
}

.open-project__name {
  font-family: var(--tc-font-display);
  font-size: var(--tc-title-sm);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: var(--tc-tracking-display);
  text-wrap: balance;
}

.open-project__note {
  font-size: var(--tc-text-sm);
  color: var(--tc-muted);

  &:empty {
    display: none;
  }
}
